Class GetCustomerGateways
Inheritance
System.Object
GetCustomerGateways
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 GetCustomerGateways
Methods
View SourceInvokeAsync(GetCustomerGatewaysArgs, InvokeOptions)
The VPN customers gateways data source lists a number of VPN customer gateways 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.GetCustomerGateways.InvokeAsync(new AliCloud.Vpn.GetCustomerGatewaysArgs
{
Ids =
{
"fake-id1",
"fake-id2",
},
NameRegex = "testAcc*",
OutputFile = "/tmp/cgws",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetCustomerGatewaysResult> InvokeAsync(GetCustomerGatewaysArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomerGatewaysArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetCustomerGatewaysResult> |