update protection rules
Select
update protection rules
- application/json
Request Body
protectionRule object
Id and name of protection rule to update
id int32name string- contentOperationType string
Possible values: [
OVERWRITE,ADD,MODIFY,DELETE]Default value:
OVERWRITESpecifies the operation to be performed on ruleGroups list
content object[]
matchRule MatchRulePossible values: [
ALL,ANY]Enum which specifies the whether to match all rules or any of the rules
guestCredentialAssocId int32Credential association ID given to link entity with credential id.
guestCredentials object
userName stringpassword stringexistingCredential object
credentialId int32credentialName stringrules object[]
name stringname of the VM to be added as content
type stringPossible 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 stringvalue for the few type of VM Content like powerstate
condition RuleOperationTypePossible values: [
CONTAINS,DOES_NOT_CONTAIN,DOES_NOT_EQUAL,ENDS_WITH,EQUALS,STARTS_WITH]Operation type for VM rules/filters
GUID stringGUID of the entity to be added as content
displayName stringThe display name of the entity to be added
description stringDescription of the rule
description stringDescription of the rule group
- filterContentOperationType string
Possible values: [
OVERWRITE,ADD,MODIFY,DELETE]Default value:
OVERWRITESpecifies the operation to be performed on filter ruleGroups list
filterContent object[]
matchRule MatchRulePossible values: [
ALL,ANY]Enum which specifies the whether to match all rules or any of the rules
guestCredentialAssocId int32Credential association ID given to link entity with credential id.
guestCredentials object
userName stringpassword stringexistingCredential object
credentialId int32credentialName stringrules object[]
name stringname of the VM to be added as content
type stringPossible 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 stringvalue for the few type of VM Content like powerstate
condition RuleOperationTypePossible values: [
CONTAINS,DOES_NOT_CONTAIN,DOES_NOT_EQUAL,ENDS_WITH,EQUALS,STARTS_WITH]Operation type for VM rules/filters
GUID stringGUID of the entity to be added as content
displayName stringThe display name of the entity to be added
description stringDescription of the rule
description stringDescription of the rule group
workloads object[]
solution object
solution details
id int32name stringworkload object
workload details
id int32name stringworkloadOptions object
credential object
id int32name stringisRapidRecovery booleanisLongTermRetention booleanfilterWorkloads object[]
solution object
solution details
id int32name stringworkload object
workload details
id int32name stringworkloadOptions object
credential object
id int32name stringisRapidRecovery booleanisLongTermRetention booleanplan object
id int32name string- cloudAccountsOperationType string
Possible values: [
OVERWRITE,ADD,MODIFY,DELETE]Default value:
OVERWRITESpecifies the operation to be performed on solution list
cloudAccounts object[]
List of cloud accounts
name stringcloud account name
id stringcloud account id
uuid stringThe globally unique identifier for the account
email stringemail 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,KUBERNETES_GKE,KUBERNETES_OKE,NUTANIX_PRISM_CENTRAL,APACHE_CLOUDSTACK,VMWARE_CLOUD_FOUNDATION]Type of vendor
awsAccountDiscoveryDetails object
Particulars required to create hypervisors corresponding to accounts in the organization
roleNameWithPath stringName of IAM role to assume to access accounts in the organization
backupServiceAccountId stringId of the account that hosts the Commvault backup infrastructure
accountAccessNodes object[]List of servers and server groups to use to access the onboarded accounts
- 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
}