Share via


IGatewayOperations.GetIPsecParametersAsync Method (String, String, CancellationToken)

 

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.

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

Task<GatewayGetIPsecParametersResponse> GetIPsecParametersAsync(
    string networkName,
    string localNetworkName,
    CancellationToken cancellationToken
)
Task<GatewayGetIPsecParametersResponse^>^ GetIPsecParametersAsync(
    String^ networkName,
    String^ localNetworkName,
    CancellationToken cancellationToken
)
abstract GetIPsecParametersAsync : 
        networkName:string *
        localNetworkName:string *
        cancellationToken:CancellationToken -> Task<GatewayGetIPsecParametersResponse>
Function GetIPsecParametersAsync (
    networkName As String,
    localNetworkName As String,
    cancellationToken As CancellationToken
) As Task(Of GatewayGetIPsecParametersResponse)

Parameters

  • networkName
    Type: System.String

    The name of the virtual network for this gateway.

  • localNetworkName
    Type: System.String

    The name of the local network.

Return Value

Type: System.Threading.Tasks.Task<GatewayGetIPsecParametersResponse>

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

See Also

IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace

Return to top