GatewayOperationsExtensions.GetSharedKeyV2Async 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse> GetSharedKeyV2Async (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, string connectedentityId);
static member GetSharedKeyV2Async : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetSharedKeyResponse>
<Extension()>
Public Function GetSharedKeyV2Async (operations As IGatewayOperations, gatewayId As String, connectedentityId As String) As Task(Of 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.