Skip to main content

Retrieve VPCs

GET /vsa/metadata/vpcs

Retrieves VPCs.

Parameters

Name Type In Required Description

region

string

query

False

roleArn

string

query

False

cloudProviderAccountId

string

query

False

Error

Status: Default, Default response
Name Type Required Description

cidrBlock

string

True

VPC Classless Inter-Domain Routing (CIDR) block

default

boolean

True

Indicates whether the VPC is the default

securityGroups

array[SecurityGroupResponse]

True

Security groups associated with the VPC

state

string

True

The state of the VPC

subnets

array[SubnetResponse]

True

Subnets associated with the VPC

tags

array[VpcTagResponse]

True

VPC tags

tenancy

string

True

Tenancy configuration for the VPC

vpcId

string

True

The VPC identifier

Definitions

See Definitions

SecurityGroupResponse

Name Type Required Description

description

string

True

Description

name

string

True

Specifies the name

securityGroupId

string

True

Security group ID

SubnetResponse

Name Type Required Description

availabilityZone

string

True

Availability zone

availableIps

integer

True

The number of available IP addresses on the subnet

cidr

string

True

CIDR

minimumRequiredIps

integer

True

The minimum required IP addresses for the Cloud Volumes ONTAP create operation

  • format: int32

outpostArn

string

False

The ARN of the outpost

subnetId

string

True

Subnet ID

subnetName

string

False

Subnet name

VpcTagResponse

Name Type Required Description

key

string

True

VPC tag key

value

string

True

VPC tag value