IGatewayOperations.GetIPsecParametersAsync 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 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.