Show / Hide Table of Contents

Class GetConnections

Inheritance
System.Object
GetConnections
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Vpn
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetConnections

Methods

View Source

InvokeAsync(GetConnectionsArgs, InvokeOptions)

The VPN connections data source lists lots of VPN connections resource information owned by an Alicloud account.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var foo = Output.Create(AliCloud.Vpn.GetConnections.InvokeAsync(new AliCloud.Vpn.GetConnectionsArgs
    {
        CustomerGatewayId = "fake-cgw-id",
        Ids = 
        {
            "fake-conn-id",
        },
        OutputFile = "/tmp/vpnconn",
        VpnGatewayId = "fake-vpn-id",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetConnectionsResult> InvokeAsync(GetConnectionsArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetConnectionsArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetConnectionsResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.