[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Get Compatible Subnets

Description

Gets a customer’s compatible subnets for account linking

Request

Request

URL

URL


get
https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/compatible-subnets
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


Query Parameters

Query Parameters

boolean
forceRefresh Optional

When true, forces the mappings for datacenters to be refreshed for the connected account.


string
instanceType Optional

The server instance type to be used.


string
linkedAccountId Required

The linked connected account identifier


integer
numOfHosts Optional

The number of hosts


string
region Optional

The region of the cloud resources to work in


string
sddc Optional

sddc


string
sddcType Optional

The sddc type to be used. (1NODE, SingleAZ, MultiAZ)


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AwsCompatibleSubnets of type(s) application/json
{
	"customer_available_zones": [
		"string"
	],
	"vpc_map": {
		"key": {
			"cidr_block": "string",
			"description": "string",
			"subnets": [
				{
					"availability_zone": "string",
					"availability_zone_id": "string",
					"compatible": false,
					"connected_account_id": "string",
					"name": "string",
					"note": "string",
					"region_name": "string",
					"subnet_cidr_block": "string",
					"subnet_id": "string",
					"vpc_cidr_block": "string",
					"vpc_id": "string"
				}
			],
			"vpc_id": "string"
		}
	}
}
array of string
customer_available_zones Optional

vpc_map Optional
Errors

Errors

401

Unauthorized


403

Forbidden

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-OrgsOrgAccountLinkCompatibleSubnetsGet -Org "MyOrg" -LinkedAccountId "MyLinkedAccountId" -Region "MyRegion" -Sddc "MySddc" -ForceRefresh $true -InstanceType "MyInstanceType" -SddcType "MySddcType" -NumOfHosts 56

cURL Command

curl https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/compatible-subnets?linkedAccountId=string
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: compatible-subnets
x-vmw-vapi-methodname: get


Feedback

Was this page helpful?