Share via


DelegationSettingsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or Update Delegation settings.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.PortalDelegationSettings> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.ApiManagement.Models.PortalDelegationSettings parameters, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IDelegationSettingsOperations * string * string * Microsoft.Azure.Management.ApiManagement.Models.PortalDelegationSettings * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.PortalDelegationSettings>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDelegationSettingsOperations, resourceGroupName As String, serviceName As String, parameters As PortalDelegationSettings, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PortalDelegationSettings)

Parameters

operations
IDelegationSettingsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

parameters
PortalDelegationSettings

Create or update parameters.

ifMatch
String

ETag of the Entity. Not required when creating an entity, but required when updating an entity.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to