共用方式為


IGatewayOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetIPsecParametersResponse> GetIPsecParametersAsync (string networkName, string localNetworkName, System.Threading.CancellationToken cancellationToken);
abstract member GetIPsecParametersAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetIPsecParametersResponse>
Public Function GetIPsecParametersAsync (networkName As String, localNetworkName As String, cancellationToken As CancellationToken) As Task(Of GatewayGetIPsecParametersResponse)

Parameters

networkName
String

The name of the virtual network for this gateway.

localNetworkName
String

The name of the local network.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to