Create a Cloud Config Subclient
Select
SaaS
Customer Managed
Create a Cloud Config Subclient. This subclient is used to protect the cloud config files.
- application/json
Request Body
- name string required
Subclient name
hypervisor object required
plan object required
content object
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- subclientId int32
- warningCode int32
- errorCode int32
- errorMessage string
Response message
- warningMessage string
Response message
{
"subclientId": 0,
"warningCode": 0,
"errorCode": 0,
"errorMessage": "string",
"warningMessage": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/cloud/cloudconfig/subclient
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"hypervisor": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
}
}
}'