GatewayOperationsExtensions.BeginResetSharedKey Method

Initiates the reset of the shared key on the Virtual Network Gateway.

Namespace: Microsoft.WindowsAzure.Management.VirtualNetworks
Assembly: Microsoft.WindowsAzure.Management.VirtualNetworks (in Microsoft.WindowsAzure.Management.VirtualNetworks.dll)

Dim operations As IGatewayOperations
Dim virtualNetworkName As String
Dim localNetworkName As String
Dim parameters As GatewayResetSharedKeyParameters
Dim returnValue As GatewayOperationResponse

returnValue = GatewayOperationsExtensions.BeginResetSharedKey(operations, virtualNetworkName, localNetworkName, parameters)

public static GatewayOperationResponse BeginResetSharedKey (
	IGatewayOperations operations,
	string virtualNetworkName,
	string localNetworkName,
	GatewayResetSharedKeyParameters parameters
/** @attribute ExtensionAttribute() */ 
public static GatewayOperationResponse BeginResetSharedKey (
	IGatewayOperations operations, 
	String virtualNetworkName, 
	String localNetworkName, 
	GatewayResetSharedKeyParameters parameters
public static function BeginResetSharedKey (
	operations : IGatewayOperations, 
	virtualNetworkName : String, 
	localNetworkName : String, 
	parameters : GatewayResetSharedKeyParameters
) : GatewayOperationResponse



The IGatewayOperations object that specifies the Virtual Network Gateway operations.


The name of the Virtual Network.


The name of the local network.


The GatewayResetSharedKeyParameters object that contains the parameters that are used to reset shared key.

Return Value

An GatewayOperationResponse object that includes an HTTP status code and request ID.

For more information about resetting the shared key, see Reset Virtual Network Gateway Shared Key.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms