Create a protection rules
Select
Create a protection rules
- application/json
Request Body
- name string
Name of protection rules
cloudConnection object
Details of clould connection
id int32name stringcontent 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
contentFilter 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 stringcloudAccounts 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
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
- 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
- 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
}