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

Modify By ID

Description

Updates an existing DEM Setting record with new values.

Request

Request

URL

URL


put
https://cloud.vmwarehorizon.com/admin/v1/dem-settings/{id}
Copy

Path Parameters

Path Parameters

string
id Required

DEM Setting ID


Request Body

Request Body

DEMSettingTO of mimetype application/json Required

newDemSetting

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

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

201 Created

Created


Response Body

Response Body

202 Accepted

Returns DEMSettingTO of type */*

Accepted the request to update existing 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


ErrorResponse
404

Not Found


ErrorResponse
409

DEM setting cannot be updated


ErrorResponse
500

Internal Server Error

Code Samples

Code Samples

cURL Command

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

Vendor Extensions

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


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

Was this page helpful?