DscpConfigurationOperationsExtensions.BeginCreateOrUpdateAsync(IDscpConfigurationOperations, String, String, DscpConfiguration, CancellationToken) Method

Definition

Creates or updates a DSCP Configuration.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.DscpConfiguration> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IDscpConfigurationOperations operations, string resourceGroupName, string dscpConfigurationName, Microsoft.Azure.Management.Network.Models.DscpConfiguration parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Network.IDscpConfigurationOperations * string * string * Microsoft.Azure.Management.Network.Models.DscpConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.DscpConfiguration>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IDscpConfigurationOperations, resourceGroupName As String, dscpConfigurationName As String, parameters As DscpConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DscpConfiguration)

Parameters

operations
IDscpConfigurationOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

dscpConfigurationName
System.String

The name of the resource.

parameters
DscpConfiguration

Parameters supplied to the create or update dscp configuration operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DscpConfiguration>

Applies to