共用方式為


IGatewayOperations.BeginResetSharedKeyAsync Method

Definition

The Begin Reset Virtual Network Gateway Shared Key operation resets the shared key on the virtual network gateway for the specified virtual network connection to the specified local network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154114.aspx for more information)

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

Parameters

networkName
String

The name of the virtual network for this gateway.

localNetworkName
String

The name of the local network.

parameters
GatewayResetSharedKeyParameters

Parameters supplied to the Begin Virtual Network Gateway Reset Shared Key request.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to