다음을 통해 공유


ExpressRouteGatewaysOperationsExtensions.CreateOrUpdateAsync 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> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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