Update Custom Datacenter
Update a custom datacenter
Update a custom datacenter
Request
URI
PUT
https://{api_host}/suite-api/api/resources/customdatacenters
COPY
Request Body
Custom datacenter
custom-datacenter
of type(s)
application/json
Required
Show optional properties
{
"childResourceIds": [
{}
],
"name": "string"
}
"{\n \"id\" : \"9454dd8a-1505-4a32-96e0-1d93405651e5\",\n \"name\" : \"custom datacenter\",\n \"description\" : \"custom datacenter description\",\n \"childResourceIds\" : [ \"f1f26a23-e930-4b1f-aafd-84fca7da8dbb\", \"fc3316bb-938c-4eff-9049-d0e642db7ad2\" ]\n}"
array of
string
childResourceIds
Required
Constraints:
minItems: 1
Resource IDs included in custom datacenter
string
description
Optional
Description of custom datacenter
string As uuid
As uuid
id
Optional
Identifier of custom datacenter
string
name
Required
Constraints:
minLength: 1
Name of custom datacenter
Responses
200
Updated custom datacenter
Returns
custom-datacenter
of type(s)
application/json
"{\n \"id\" : \"9454dd8a-1505-4a32-96e0-1d93405651e5\",\n \"name\" : \"custom datacenter\",\n \"description\" : \"custom datacenter description\",\n \"childResourceIds\" : [ \"f1f26a23-e930-4b1f-aafd-84fca7da8dbb\", \"fc3316bb-938c-4eff-9049-d0e642db7ad2\" ]\n}"
array of
string
childResourceIds
Required
Constraints:
minItems: 1
Resource IDs included in custom datacenter
string
description
Optional
Description of custom datacenter
string As uuid
As uuid
id
Optional
Identifier of custom datacenter
string
name
Required
Constraints:
minLength: 1
Name of custom datacenter
409
There are conflicting clusters
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"childResourceIds":["string"],"name":"string"}' https://{api_host}/suite-api/api/resources/customdatacenters
Resources Operations
GET
Get Resources
PUT
Update Resource
POST
Create Resource Using Adapter Kind
POST
Create Resource Using Adapter Instance
DELETE
Delete Resources
POST
Get Resources Relationships
DELETE
Delete Custom Datacenters
GET
Get Custom Datacenters
POST
Create Custom Datacenter
PUT
Update Custom Datacenter
GET
Get Custom Datacenter
GET
Get Custom Groups
POST
Create Custom Group
PUT
Modify Custom Group
GET
Get Group Types
POST
Add Group Type
DELETE
Delete Group Type
DELETE
Delete Custom Group
GET
Get Custom Group
GET
Get Custom Group Members
DELETE
Unmark Resources As Being Maintained
PUT
Mark Resources As Being Maintained
PUT
Start Monitoring Resources
Deprecated
PUT
Stop Monitoring Resources
Deprecated
GET
Get Custom Profiles
POST
Create Custom Profile
PUT
Modify Custom Profile
DELETE
Delete Custom Profile
GET
Get Custom Profile
GET
Get Resource Properties List
POST
Add Resources Properties
POST
Add Resources Properties Using Adapter Kind
POST
Query Latest Properties Of Resources
POST
Get Matching Resources
GET
Get Stat Keys Of Resources
GET
Get Stats Of Resources
POST
Add Stats For Resources
POST
Add Stats For Resources Using Push Adapter Kind
POST
Get Stats And DT For Resources
GET
Get Latest Stats Of Resources
POST
Query Latest Stats Of Resources
POST
Get Stats For Resources
GET
Get Top N Stats Of Resources