[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Create
DescriptionCreates a site MetaData
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v2/sitegeometadata
Request Body
Request Body
{
"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: APJ , EU , UK , US
string
regionName
Optional
Region names
string as date-time
updatedAt
Optional
Time when site was updated
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
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: APJ , EU , UK , US
string
regionName
Optional
Region names
string as date-time
updatedAt
Optional
Time when site was updated
Errors
ErrorResponse
400
Bad Request
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
412
Precondition Failed
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"geographicLocationName":"US,EU,APJ","regionName":"westus2,japaneast"}' https://cloud.vmwarehorizon.com/portal/v2/sitegeometadata
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: siteAllowedRegionMetaData
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen