[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Create Bulk Site Geo Graphic Region
DescriptionCreates a site MetaData
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v2/sitegeometadata/{siteGeographicLoc}
Path Parameters
Path Parameters
string
siteGeographicLoc
Required
siteGeographicLoc
Request Body
Request Body
{
"siteAllowedToAdd": [
{
"regionName": "westus2,japaneast",
"regionPoint": {
"x": 0,
"y": 0
}
}
],
"siteAllowedToRemove": [
{
"regionName": "westus2,japaneast",
"regionPoint": {
"x": 0,
"y": 0
}
}
]
}
array of
AllowedSiteMetaDataRequest
siteAllowedToAdd
Optional
List of site geo graphic meta data to be added
array of
AllowedSiteMetaDataRequest
siteAllowedToRemove
Optional
List of site geo graphic meta data to be removed
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
204 No Content returns
array
of
SiteAllowedRegionMetaData
of type */*
{
"createdAt": "string",
"geographicLocationName": "US,EU,APJ",
"regionName": "westus2,japaneast",
"updatedAt": "string"
}
string as date-time
createdAt
Optional
Time when site was created
string
geographicLocationName
Optional
Geographic location
Possible values are: APJ , EU , UK , US
string
regionName
Optional
Region names
string as date-time
updatedAt
Optional
Time when site was updated
Errors
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
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: siteAllowedMetadataPatch
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen