Aracılığıyla paylaş


ExpressRouteGatewaysOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a ExpressRoute gateway in a specified resource group.

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

Parameters

operations
IExpressRouteGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRouteGatewayName
String

The name of the ExpressRoute gateway.

putExpressRouteGatewayParameters
ExpressRouteGateway

Parameters required in an ExpressRoute gateway PUT operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to