Skip to main content

update a cloud assembly

Select

SaaS
Customer Managed

update a cloud assembly

Request Body
  • assembly object

    Id and name of clould assembly to update

  • id int32
  • name string
  • ruleGroupsOperationType string

    Possible values: [OVERWRITE, ADD, MODIFY, DELETE]

    Default value: OVERWRITE

    Specifies the operation to be performed on ruleGroups list

  • ruleGroups object[]
  • matchRule MatchRule

    Possible values: [ALL, ANY]

    Enum which specifies the whether to match all rules or any of the rules

  • guestCredentialAssocId int32

    Credential association ID given to link entity with credential id.

  • guestCredentials object
  • userName string
  • password string
  • existingCredential object
  • credentialId int32
  • credentialName string
  • rules object[]
  • name string

    name of the VM to be added as content

  • type string

    Possible values: [NONE, SERVER, RES_POOL, VAPP, DATACENTER, FOLDER, CLUSTER, DATASTORE, DATASTORE_CLUSTER, VM, VM_NAME, VM_GUEST_OS, VM_GUEST_HOST_NAME, CLUSTER_SHARED_VOLUMES, LOCAL_DISK, CLUSTER_DISK, UNPROTECTED_VMS, ROOT, FILE_SERVER, SMB_SHARE, TYPES_FOLDER, VM_FOLDER, SERVER_FOLDER, TEMPLATE_FOLDER, STORAGE_REPOSITORY_FOLDER, VAPPFOLDER, DATACENTER_FOLDER, CLUSTER_FOLDER, VM_POWER_STATE, VM_NOTES, VM_CUSTOM_ATTRIBUTE, NETWORK, USER, VM_TEMPLATE, TAG, TAG_CATEGORY, SUBCLIENT, CLIENT_GROUP, PROTECTION_DOMAIN, CONSISTENCY_GROUP, INSTANCE_SIZE, ORGANIZATION, IMAGES, STORAGE_POLICY, DATABASE, TABLE, PROJECT, SELECTOR, MANAGED_BY, REPLICATION_MODE, METADATATAG, CATALOG, VAPPTEMPLATE, VOLUME, VM_BADGE]

  • value string

    value for the few type of VM Content like powerstate

  • condition RuleOperationType

    Possible values: [CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, ENDS_WITH, EQUALS, STARTS_WITH]

    Operation type for VM rules/filters

  • GUID string

    GUID of the entity to be added as content

  • displayName string

    The display name of the entity to be added

  • filterRuleGroupsOperationType string

    Possible values: [OVERWRITE, ADD, MODIFY, DELETE]

    Default value: OVERWRITE

    Specifies the operation to be performed on filter ruleGroups list

  • filterRuleGroups object[]
  • matchRule MatchRule

    Possible values: [ALL, ANY]

    Enum which specifies the whether to match all rules or any of the rules

  • guestCredentialAssocId int32

    Credential association ID given to link entity with credential id.

  • guestCredentials object
  • userName string
  • password string
  • existingCredential object
  • credentialId int32
  • credentialName string
  • rules object[]
  • name string

    name of the VM to be added as content

  • type string

    Possible values: [NONE, SERVER, RES_POOL, VAPP, DATACENTER, FOLDER, CLUSTER, DATASTORE, DATASTORE_CLUSTER, VM, VM_NAME, VM_GUEST_OS, VM_GUEST_HOST_NAME, CLUSTER_SHARED_VOLUMES, LOCAL_DISK, CLUSTER_DISK, UNPROTECTED_VMS, ROOT, FILE_SERVER, SMB_SHARE, TYPES_FOLDER, VM_FOLDER, SERVER_FOLDER, TEMPLATE_FOLDER, STORAGE_REPOSITORY_FOLDER, VAPPFOLDER, DATACENTER_FOLDER, CLUSTER_FOLDER, VM_POWER_STATE, VM_NOTES, VM_CUSTOM_ATTRIBUTE, NETWORK, USER, VM_TEMPLATE, TAG, TAG_CATEGORY, SUBCLIENT, CLIENT_GROUP, PROTECTION_DOMAIN, CONSISTENCY_GROUP, INSTANCE_SIZE, ORGANIZATION, IMAGES, STORAGE_POLICY, DATABASE, TABLE, PROJECT, SELECTOR, MANAGED_BY, REPLICATION_MODE, METADATATAG, CATALOG, VAPPTEMPLATE, VOLUME, VM_BADGE]

  • value string

    value for the few type of VM Content like powerstate

  • condition RuleOperationType

    Possible values: [CONTAINS, DOES_NOT_CONTAIN, DOES_NOT_EQUAL, ENDS_WITH, EQUALS, STARTS_WITH]

    Operation type for VM rules/filters

  • GUID string

    GUID of the entity to be added as content

  • displayName string

    The display name of the entity to be added

  • workloadsOperationType string

    Possible values: [OVERWRITE, ADD, MODIFY, DELETE]

    Default value: OVERWRITE

    Specifies the operation to be performed on workload list

  • workloads object[]
  • id int32
  • name string
  • solutionsOperationType string

    Possible values: [OVERWRITE, ADD, MODIFY, DELETE]

    Default value: OVERWRITE

    Specifies the operation to be performed on solution list

  • solutions object[]
  • id int32
  • name string
  • filterWorkloadsOperationType string

    Possible values: [OVERWRITE, ADD, MODIFY, DELETE]

    Default value: OVERWRITE

    Specifies the operation to be performed on solution list

  • filterWorkloads object[]
  • id int32
  • name string
  • plan object
  • id int32
  • name string
  • cloudAccountsOperationType string

    Possible values: [OVERWRITE, ADD, MODIFY, DELETE]

    Default value: OVERWRITE

    Specifies the operation to be performed on solution list

  • cloudAccounts object[]

    List of cloud accounts

  • name string

    cloud account name

  • id string

    cloud account id

  • uuid string

    The globally unique identifier for the account

  • email string

    email for cloud account

  • 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

Responses

Success


Schema
  • id int32
  • name string
PUT /v4/cloud/assemblies/:assemblyid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"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"
}'