共用方式為


IGatewayOperations.BeginResizeAsync Method

Definition

The Begin Resize Virtual network Gateway operation resizes an existing gateway to a different GatewaySKU.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginResizeAsync (string networkName, Microsoft.WindowsAzure.Management.Network.Models.ResizeGatewayParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginResizeAsync : string * Microsoft.WindowsAzure.Management.Network.Models.ResizeGatewayParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function BeginResizeAsync (networkName As String, parameters As ResizeGatewayParameters, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)

Parameters

networkName
String

The name of the virtual network for this gateway.

parameters
ResizeGatewayParameters

Parameters supplied to the Begin Resize Virtual Network Gateway operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response including an HTTP status code and request ID.

Applies to