IGatewayOperations.BeginResizeAsync Method (String, ResizeGatewayParameters, CancellationToken)
The Begin Resize Virtual network Gateway operation resizes an existing gateway to a different GatewaySKU.
Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Syntax
Task<GatewayOperationResponse> BeginResizeAsync(
string networkName,
ResizeGatewayParameters parameters,
CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginResizeAsync(
String^ networkName,
ResizeGatewayParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginResizeAsync :
networkName:string *
parameters:ResizeGatewayParameters *
cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginResizeAsync (
networkName As String,
parameters As ResizeGatewayParameters,
cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)
Parameters
networkName
Type: System.StringThe name of the virtual network for this gateway.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.ResizeGatewayParametersParameters supplied to the Begin Resize Virtual Network Gateway operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top