SecurityPartnerProviderCollection.CreateOrUpdateAsync Method

Definition

Creates or updates the specified Security Partner Provider.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}
  • Operation Id: SecurityPartnerProviders_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: SecurityPartnerProviderResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.SecurityPartnerProviderResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string securityPartnerProviderName, Azure.ResourceManager.Network.SecurityPartnerProviderData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Network.SecurityPartnerProviderData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.SecurityPartnerProviderResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Network.SecurityPartnerProviderData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.SecurityPartnerProviderResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, securityPartnerProviderName As String, data As SecurityPartnerProviderData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SecurityPartnerProviderResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

securityPartnerProviderName
String

The name of the Security Partner Provider.

data
SecurityPartnerProviderData

Parameters supplied to the create or update Security Partner Provider operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

securityPartnerProviderName is an empty string, and was expected to be non-empty.

securityPartnerProviderName or data is null.

Applies to