List Aws Subnets

List Aws Subnets

Returns a list of subnets

Request
URI
GET
https://nsxmanager.your.domain/api/v1/csm/aws-subnets
COPY
Query Parameters
string
account_id
Required

Identifier for account based on which subnets are to be filtered

string
availability_zone_name
Required

Identifier for availability zone based on which subnets are to be filtered

string
cursor
Optional

Opaque cursor to be used for getting next page of records (supplied by current result page)

string
included_fields
Optional

Comma separated list of fields that should be included to result of query

integer
page_size
Optional

Maximum number of results to return in this page (server may return fewer)

string
region_name
Required

Identifier for region based on which subnets are to be filtered

boolean
sort_ascending
Optional

sort_ascending

string
sort_by
Optional

Field by which records are sorted

string
vpc_id
Required

Identifier for vpc based on which subnets are to be filtered


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns AwsSubnetListResult of type(s) application/json
This response body class contains all of the following: ListResult , InlineAwsSubnetListResult1
{
    "_self": {
        "rel": "string"
    },
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "cursor": "string",
    "sort_ascending": false,
    "sort_by": "string",
    "result_count": 0,
    "results": [
        {
            "_self": {
                "rel": "string"
            },
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "_last_sync_time": 0,
            "display_name": "string",
            "description": "string",
            "resource_type": "string",
            "tags": [
                {
                    "scope": "string",
                    "tag": "string"
                }
            ],
            "vpc_id": "string",
            "cidr": "string",
            "id": "string",
            "availability_zone": "string"
        }
    ]
}

400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404
Returns NotFound of type(s) application/json
Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure