cloudamqp.getAccountVpcs
Use this data source to retrieve basic information about all standalone VPCs available for an account. Uses the included apikey in provider configuration to determine which account to read from.
Attributes reference
All attributes reference are computed
id
- The identifier for this data source. Set tona
since there is no unique identifier.vpcs
- An array of VPCs. Eachvpcs
block consists of the fields documented below.
The vpcs
block consist of
id
- The VPC identifier.name
- The VPC instance name.region
- The region the VPC is hosted in.subnet
- The VPC subnet.tags
- Optional tags set for the VPC.vpc_name
- VPC name given when hosted at the cloud provider.
Dependency
This data source depends on apikey set in the provider configuration.
Using getAccountVpcs
function getAccountVpcs(opts?: InvokeOptions): Promise<GetAccountVpcsResult>
def get_account_vpcs(opts: Optional[InvokeOptions] = None) -> GetAccountVpcsResult
func GetAccountVpcs(ctx *Context, opts ...InvokeOption) (*GetAccountVpcsResult, error)
> Note: This function is named GetAccountVpcs
in the Go SDK.
public static class GetAccountVpcs
{
public static Task<GetAccountVpcsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountVpcsResult> getAccountVpcs(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudamqp:index/getAccountVpcs:getAccountVpcs
arguments:
# arguments dictionary
getAccountVpcs Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Vpcs
List<Pulumi.
Cloud Amqp. Outputs. Get Account Vpcs Vpc>
- Id string
The provider-assigned unique ID for this managed resource.
- Vpcs
[]Get
Account Vpcs Vpc
- id String
The provider-assigned unique ID for this managed resource.
- vpcs
List<Get
Account Vpcs Vpc>
- id string
The provider-assigned unique ID for this managed resource.
- vpcs
Get
Account Vpcs Vpc[]
- id str
The provider-assigned unique ID for this managed resource.
- vpcs
Sequence[Get
Account Vpcs Vpc]
- id String
The provider-assigned unique ID for this managed resource.
- vpcs List<Property Map>
Supporting Types
GetAccountVpcsVpc
Package Details
- Repository
- CloudAMQP pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
cloudamqp
Terraform Provider.