Share via


ExpressRoutePortAuthorizationsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

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

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

Parameters

operations
IExpressRoutePortAuthorizationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRoutePortName
String

The name of the express route port.

authorizationName
String

The name of the authorization.

authorizationParameters
ExpressRoutePortAuthorization

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to