Share via


SecurityPartnerProviderCollection.CreateOrUpdate 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: 2024-03-01
  • Resource: SecurityPartnerProviderResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.SecurityPartnerProviderResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string securityPartnerProviderName, Azure.ResourceManager.Network.SecurityPartnerProviderData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Network.SecurityPartnerProviderData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.SecurityPartnerProviderResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Network.SecurityPartnerProviderData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.SecurityPartnerProviderResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, securityPartnerProviderName As String, data As SecurityPartnerProviderData, Optional cancellationToken As CancellationToken = Nothing) As 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