update a cloud assembly
Select
update a cloud assembly
- application/json
Request Body
assembly object
- ruleGroupsOperationType string
Possible values: [
OVERWRITE
,ADD
,MODIFY
,DELETE
]Default value:
OVERWRITE
Specifies the operation to be performed on ruleGroups list
ruleGroups object[]
- filterRuleGroupsOperationType string
Possible values: [
OVERWRITE
,ADD
,MODIFY
,DELETE
]Default value:
OVERWRITE
Specifies the operation to be performed on filter ruleGroups list
filterRuleGroups object[]
- workloadsOperationType string
Possible values: [
OVERWRITE
,ADD
,MODIFY
,DELETE
]Default value:
OVERWRITE
Specifies the operation to be performed on workload list
workloads object[]
- solutionsOperationType string
Possible values: [
OVERWRITE
,ADD
,MODIFY
,DELETE
]Default value:
OVERWRITE
Specifies the operation to be performed on solution list
solutions object[]
- filterWorkloadsOperationType string
Possible values: [
OVERWRITE
,ADD
,MODIFY
,DELETE
]Default value:
OVERWRITE
Specifies the operation to be performed on solution list
filterWorkloads object[]
plan object
- cloudAccountsOperationType string
Possible values: [
OVERWRITE
,ADD
,MODIFY
,DELETE
]Default value:
OVERWRITE
Specifies the operation to be performed on solution list
cloudAccounts object[]
- type string
Possible values: [
NONE
,VMW
,MICROSOFT
,XEN_SERVER
,AMAZON
,AZURE
,REDHAT
,AZURE_V2
,SCVMM
,NUTANIX
,ORACLE_VM
,DOCKER
,OPENSTACK
,ORACLE_CLOUD
,FUSIONCOMPUTE
,VCLOUD
,GOOGLE_CLOUD
,AZURE_STACK
,ALIBABA_CLOUD
,ORACLE_CLOUD_INFRASTRUCTURE
,KUBERNETES
,REDHAT_OPENSHIFT
,MONGODB_ATLAS
,PROXMOX
,KUBERNETES_AKS
,AZURE_STACK_HCI
,KUBERNETES_EKS
,MORPHEUS
]Type of vendor
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Internal Server Error
- 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
}
PUT /v4/cloud/assemblies/:assemblyid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/cloud/assemblies/:assemblyId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"assembly": {
"id": 0,
"name": "string"
},
"ruleGroupsOperationType": "OVERWRITE",
"ruleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"filterRuleGroupsOperationType": "OVERWRITE",
"filterRuleGroups": [
{
"matchRule": "ALL",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
},
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
],
"workloadsOperationType": "OVERWRITE",
"workloads": [
{
"id": 0,
"name": "string"
}
],
"solutionsOperationType": "OVERWRITE",
"solutions": [
{
"id": 0,
"name": "string"
}
],
"filterWorkloadsOperationType": "OVERWRITE",
"filterWorkloads": [
{
"id": 0,
"name": "string"
}
],
"plan": {
"id": 0,
"name": "string"
},
"cloudAccountsOperationType": "OVERWRITE",
"cloudAccounts": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"type": "NONE"
}'