共用方式為


GatewayOperationsExtensions.BeginResizeVirtualNetworkGatewayAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginResizeVirtualNetworkGatewayAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, Microsoft.WindowsAzure.Management.Network.Models.ResizeGatewayParameters parameters);
static member BeginResizeVirtualNetworkGatewayAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.ResizeGatewayParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function BeginResizeVirtualNetworkGatewayAsync (operations As IGatewayOperations, gatewayId As String, parameters As ResizeGatewayParameters) As Task(Of GatewayOperationResponse)

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

gatewayId
String

Required. The virtual network for this gateway id.

parameters
ResizeGatewayParameters

Required. Parameters supplied to the Begin Resize Virtual Network Gateway operation.

Returns

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

Applies to