Share via


ExpressRouteCircuitAuthorizationsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an authorization in the specified express route circuit.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteCircuitAuthorizationInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IExpressRouteCircuitAuthorizationsOperations operations, string resourceGroupName, string circuitName, string authorizationName, Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteCircuitAuthorizationInner authorizationParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IExpressRouteCircuitAuthorizationsOperations * string * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteCircuitAuthorizationInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteCircuitAuthorizationInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IExpressRouteCircuitAuthorizationsOperations, resourceGroupName As String, circuitName As String, authorizationName As String, authorizationParameters As ExpressRouteCircuitAuthorizationInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteCircuitAuthorizationInner)

Parameters

operations
IExpressRouteCircuitAuthorizationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

circuitName
String

The name of the express route circuit.

authorizationName
String

The name of the authorization.

authorizationParameters
ExpressRouteCircuitAuthorizationInner

Parameters supplied to the create or update express route circuit authorization operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to