GatewayOperationsExtensions.GetSharedKey Method (IGatewayOperations, String, String)
The Get Virtual Network Gateway Shared Key operation gets 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/jj154122.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
<ExtensionAttribute> Public Shared Function GetSharedKey ( operations As IGatewayOperations, networkName As String, localNetworkName As String ) As GatewayGetSharedKeyResponse
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Network.IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- networkName
-
Type:
System.String
Required. The name of the virtual network for this gateway.
- localNetworkName
-
Type:
System.String
Required. The name of the local network.
Return Value
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponseThe response to the get shared key request.
Show: