GatewayOperationsExtensions.GetSharedKeyV2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Get Virtual Network Gateway Shared Key V2 operation gets the shared key used between the gateway and customer vpn.
public static Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse GetSharedKeyV2 (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, string connectedentityId);
static member GetSharedKeyV2 : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string -> Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse
<Extension()>
Public Function GetSharedKeyV2 (operations As IGatewayOperations, gatewayId As String, connectedentityId As String) As GatewayGetSharedKeyResponse
Parameters
- operations
- IGatewayOperations
Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
- gatewayId
- String
Required. The virtual network for this gateway Id.
- connectedentityId
- String
Required. The connected entity Id.
Returns
The response to the get shared key request.