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

Create

Description

Creates a site MetaData

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/portal/v2/sitegeometadata
Copy

Request Body

Request Body

SiteAllowedRegionMetaData of mimetype application/json Required

siteAllowedRegionMetaData

{
    "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

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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: APJEUUKUS


string
regionName Optional

Region names


string as date-time
updatedAt Optional

Time when site was updated

Errors

Errors

ErrorResponse
400

Bad Request


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
412

Precondition Failed

Code Samples

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

Vendor Extensions

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


Feedback

Was this page helpful?