Skip to content

awsCloudAccountListVpcs

Retrieves a list of virtual private clouds (VPCs) in the specific cloud account.

Arguments

Argument Type Description
cloudAccountUuid (required) UUID! The ID of the cloud account.
feature (required) CloudAccountFeature! A cloud account feature of Rubrik Security Cloud.
region (required) AwsRegion! AWS region argument for archival use case.

Returns

AwsCloudAccountListVpcResponse!

Sample

query AwsCloudAccountListVpcs($cloudAccountUuid: UUID!, $feature: CloudAccountFeature!, $region: AwsRegion!) {
  awsCloudAccountListVpcs(
    cloudAccountUuid: $cloudAccountUuid
    feature: $feature
    region: $region
  )
}
{
  "cloudAccountUuid": "00000000-0000-0000-0000-000000000000",
  "feature": "ALL",
  "region": "AF_SOUTH_1"
}
{
  "data": {
    "awsCloudAccountListVpcs": {
      "result": [
        {
          "id": "example-string",
          "name": "example-string",
          "vpcId": "example-string"
        }
      ]
    }
  }
}