共用方式為


GatewayOperationsExtensions.GetIPsecParametersAsync Method

Definition

The Get IPsec Parameters operation gets the IPsec parameters that have been set for the connection between the provided virtual network gateway and the provided local network site.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetIPsecParametersResponse> GetIPsecParametersAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, string localNetworkName);
static member GetIPsecParametersAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetIPsecParametersResponse>
<Extension()>
Public Function GetIPsecParametersAsync (operations As IGatewayOperations, networkName As String, localNetworkName As String) As Task(Of GatewayGetIPsecParametersResponse)

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.

Returns

The response that will be returned from a GetIPsecParameters request. This contains the IPsec parameters for the specified connection.

Applies to