ExpressRouteCircuitAuthorizationsOperations.StartCreateOrUpdateAsync(String, String, String, ExpressRouteCircuitAuthorization, CancellationToken) Method

Definition

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

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation> StartCreateOrUpdateAsync (string resourceGroupName, string circuitName, string authorizationName, Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization authorizationParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateAsync : string * string * string * Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation>
override this.StartCreateOrUpdateAsync : string * string * string * Azure.ResourceManager.Network.Models.ExpressRouteCircuitAuthorization * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation>
Public Overridable Function StartCreateOrUpdateAsync (resourceGroupName As String, circuitName As String, authorizationName As String, authorizationParameters As ExpressRouteCircuitAuthorization, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation)

Parameters

resourceGroupName
System.String

The name of the resource group.

circuitName
System.String

The name of the express route circuit.

authorizationName
System.String

The name of the authorization.

authorizationParameters
ExpressRouteCircuitAuthorization

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

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<ExpressRouteCircuitAuthorizationsCreateOrUpdateOperation>

Exceptions

System.ArgumentNullException

resourceGroupName, circuitName, authorizationName, or authorizationParameters is null.

Applies to