共用方式為


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.Fluent.Models.ExpressRouteGatewayInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.IExpressRouteGatewaysOperations operations, string resourceGroupName, string expressRouteGatewayName, Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner putExpressRouteGatewayParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.IExpressRouteGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRouteGatewayInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IExpressRouteGatewaysOperations, resourceGroupName As String, expressRouteGatewayName As String, putExpressRouteGatewayParameters As ExpressRouteGatewayInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteGatewayInner)

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
ExpressRouteGatewayInner

Parameters required in an ExpressRoute gateway PUT operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to