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

Create

Description

Create a new DEM Setting record

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/admin/v1/dem-settings
Copy

Request Body

Request Body

DEMSettingCreateTO of mimetype application/json Required

demSetting

{
    "configFilePath": "\\\\FileServer\\DEMConfig$\\general",
    "name": "DEM 1",
    "orgId": "0123456789"
}
string
configFilePath Optional

Dynamic Environment Manager configuration fileshare path


string
name Optional

DEM Setting name


string
orgId Optional

Org ID that owns this record

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns DEMSettingTO of type */*

Successfully created DEM Setting record

{
    "configFilePath": "\\\\FileServer\\DEMConfig$\\general",
    "id": "0123456789",
    "location": "US",
    "name": "DEM 1",
    "orgId": "0123456789"
}
integer as int64
associatedTemplateCount Optional

Number of Pools using this DEM Setting


string
configFilePath Optional

Dynamic Environment Manager configuration fileshare path


string as date-time
createdAt Optional

Record creation timestamp


string
id Optional

Unique record ID


string
location Optional

location


string
name Optional

DEM Setting name


string
orgId Optional

Org ID that owns this record


string
syncStatus Optional

Synchronization status of the DEM setting

Possible values are: SYNC_COMPLETESYNC_ERRORSYNC_PENDING


string as date-time
updatedAt Optional

Record update timestamp


integer as int64
version Optional

Record version (internal)

Errors

Errors

ErrorResponse
400

Bad Request


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


404

Not Found


ErrorResponse
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"configFilePath":"\\\\FileServer\\DEMConfig$\\general","name":"DEM 1","orgId":"0123456789"}' https://cloud.vmwarehorizon.com/admin/v1/dem-settings
Vendor Extensions

Vendor Extensions

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


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

Was this page helpful?