Udostępnij za pośrednictwem


GatewayOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginResetSharedKeyAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, string localNetworkName, Microsoft.WindowsAzure.Management.Network.Models.GatewayResetSharedKeyParameters parameters);
static member BeginResetSharedKeyAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewayResetSharedKeyParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function BeginResetSharedKeyAsync (operations As IGatewayOperations, networkName As String, localNetworkName As String, parameters As GatewayResetSharedKeyParameters) As Task(Of GatewayOperationResponse)

Parameters

operations
IGatewayOperations

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

networkName
String

Required. The name of the virtual network for this gateway.

localNetworkName
String

Required. The name of the local network.

parameters
GatewayResetSharedKeyParameters

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

Returns

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

Applies to