[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Create Bulk Site Geo Graphic Region

Description

Creates a site MetaData

Request

Request

URL

URL


patch
https://cloud.vmwarehorizon.com/portal/v2/sitegeometadata/{siteGeographicLoc}
Copy

Path Parameters

Path Parameters

string
siteGeographicLoc Required

siteGeographicLoc


Request Body

Request Body

AllowedSitePatchRequest of mimetype application/json Required

siteAllowedMetadataPatch

{
	"siteAllowedToAdd": [
		{
			"regionName": "westus2,japaneast",
			"regionPoint": {
				"x": 0,
				"y": 0
			}
		}
	],
	"siteAllowedToRemove": [
		{
			"regionName": "westus2,japaneast",
			"regionPoint": {
				"x": 0,
				"y": 0
			}
		}
	]
}
siteAllowedToAdd Optional

List of site geo graphic meta data to be added


siteAllowedToRemove Optional

List of site geo graphic meta data to be removed

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of SiteAllowedRegionMetaData of type */*
{
    "geographicLocationName": "US,EU,APJ",
    "regionName": "westus2,japaneast"
}
string as date-time
createdAt Optional

Time when site was created


string
geographicLocationName Optional

Geographic location

Possible values are: APJEUUKUS


string
regionName Optional

Region names


string as date-time
updatedAt Optional

Time when site was updated

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


412

Precondition Failed

Code Samples

Code Samples

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{"siteAllowedToAdd":[{"regionName":"westus2,japaneast","regionPoint":{"x":0,"y":0}}],"siteAllowedToRemove":[{"regionName":"westus2,japaneast","regionPoint":{"x":0,"y":0}}]}' https://cloud.vmwarehorizon.com/portal/v2/sitegeometadata/{siteGeographicLoc}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: siteAllowedMetadataPatch


Feedback

Was this page helpful?