Post Compatible Subnets Async

Post Compatible Subnets Async

Sets which subnet to use to link accounts and finishes the linking process via a task

Request
URI
POST
https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/compatible-subnets-async
COPY
Path Parameters
string
org
Required

Organization identifier


Request Body

The subnet chosen by the customer

AwsSubnet of type(s) application/json
Required
{
    "connected_account_id": "string",
    "region_name": "string",
    "availability_zone": "string",
    "subnet_id": "string",
    "subnet_cidr_block": "string",
    "is_compatible": false,
    "vpc_id": "string",
    "vpc_cidr_block": "string",
    "name": "string"
}
string
connected_account_id
Optional

The connected account ID this subnet is accessible through. This is an internal ID formatted as a UUID specific to Skyscraper.

string
region_name
Optional

The region this subnet is in, usually in the form of country code, general location, and a number (ex. us-west-2).

string
availability_zone
Optional

The availability zone this subnet is in, which should be the region name plus one extra letter (ex. us-west-2a).

string
subnet_id
Optional

The subnet ID in AWS, provided in the form 'subnet-######'.

string
subnet_cidr_block
Optional

The CIDR block of the subnet, in the form of '#.#.#.#/#'.

boolean
is_compatible
Optional

Flag indicating whether this subnet is compatible. If true, this is a valid choice for the customer to deploy a SDDC in.

string
vpc_id
Optional

The VPC ID the subnet resides in within AWS. Tends to be 'vpc-#######'.

string
vpc_cidr_block
Optional

The CIDR block of the VPC, in the form of '#.#.#.#/#'.

string
name
Optional

Optional field (may not be provided by AWS), indicates the found name tag for the subnet.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Task of type(s) application/json
This response body class contains all of the following: AbstractEntity
{
    "updated": "string",
    "user_id": "string",
    "updated_by_user_id": "string",
    "created": "string",
    "version": 5,
    "updated_by_user_name": "string",
    "user_name": "string",
    "id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
    "status": "string",
    "localized_error_message": "string",
    "resource_id": "string",
    "parent_task_id": "string",
    "task_version": "string",
    "correlation_id": "string",
    "start_resource_entity_version": 0,
    "customer_error_message": "string",
    "sub_status": "string",
    "task_type": "string",
    "start_time": "string",
    "task_progress_phases": [
        {
            "id": "string",
            "name": "string",
            "progress_percent": 0
        }
    ],
    "error_message": "string",
    "org_id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
    "end_resource_entity_version": 5,
    "service_errors": [
        {
            "default_message": "string",
            "original_service": "string",
            "localized_message": "string",
            "original_service_error_code": "string"
        }
    ],
    "org_type": "string",
    "estimated_remaining_minutes": 4,
    "progress_percent": 75,
    "phase_in_progress": "string",
    "resource_type": "string",
    "end_time": "string"
}

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure