Create cleanroom target
Select
SaaS
Customer Managed
Create cleanroom target for automation of resources
- application/json
Request Body
- name string
Name of the target
- vendor string
Possible values: [
NONE
,AZURE_V2
,AMAZON
]The vendor where the target needs to be created
hypervisor object required
accessNode object
region object required
Responses
- 200
- 400
- 409
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Conflict
- 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 /cleanroom/target
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Cleanroom/Target' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"vendor": "NONE",
"hypervisor": {
"entity": {
"id": 0,
"name": "string"
},
"optionsAzure": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "AZURE_V2",
"useManagedIdentity": false,
"subscriptionId": "string"
},
"optionsAmazon": {
"name": "string",
"skipCredentialValidation": false,
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
}
],
"credentials": {
"id": 0,
"name": "string"
},
"etcdProtection": {
"enabled": true,
"plan": {
"id": 0,
"name": "string"
}
},
"planEntity": {
"id": 0,
"name": "string"
},
"enableCloudConfigProtection": false,
"workloadType": "string",
"workloadRegion": {
"id": 0,
"name": "string"
},
"hypervisorType": "Amazon",
"accessKey": "string",
"RoleARN": "string",
"secretKey": "string",
"Region": "string",
"useIamRole": true,
"enableAWSAdminAccount": true,
"useServiceAccount": "string",
"useHostedInfrastructure": true
}
},
"accessNode": {
"id": 0,
"name": "string",
"displayName": "string",
"type": 0
},
"region": {
"guid": "string",
"name": "string"
}
}'