Update protection Group
Update protection Group
- application/json
Request Body
protectionGroup object
Id and name of protection group 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 MatchRule requiredPossible values: [
ALL,ANY]Enum which specifies the whether to match all rules or any of the rules
rules object[] required
type string requiredPossible values: [
NONE,TAG,TAG_CATEGORY,REGION,ALL,RESOURCE]Type of rule
condition RuleOperationType requiredPossible values: [
CONTAINS,DOES_NOT_CONTAIN,DOES_NOT_EQUAL,ENDS_WITH,EQUALS,STARTS_WITH]Operation type for VM rules/filters
name string requiredName of the rule (region name, tag name, or resource name)
value stringValue identifier (ID for regions/tags, or resource value or guid)
displayName stringHuman-readable display name
description stringDescription of the rule
resourceType RuleResourceTypesPossible values: [
NONE,AZURE_VIRTUAL_MACHINE,AZURE_VM_SCALE_SET,AZURE_KUBERNETES_SERVICE,AZURE_STORAGE_ACCOUNT,AZURE_BLOB_STORAGE,AZURE_FILE_STORAGE,AZURE_QUEUE_STORAGE,AZURE_TABLE_STORAGE,AZURE_COSMOS_DB_ACCOUNT,AZURE_COSMOS_DB_SQL_ACCOUNT,AZURE_COSMOS_DB_MONGODB_RU_ACCOUNT,AZURE_COSMOS_DB_CASSANDRA_RU_ACCOUNT,AZURE_COSMOS_DB_GREMLIN_ACCOUNT,AZURE_COSMOS_DB_TABLE_ACCOUNT,AZURE_SQL_DATABASE,AZURE_POSTGRESQL_SERVER,AZURE_MY_SQL_SERVER,AZURE_MY_SQL_SERVER_FLEXIBLE,AZURE_POSTGRESQL_SERVER_FLEXIBLE,AMAZON_EC2_VIRTUAL_MACHINE,AMAZON_S3_STORAGE,AMAZON_RDS,AMAZON_DYNAMO_DB,AMAZON_DOCUMENT_DB,M365_ONE_DRIVE_APP,M365_EXCHANGE_APP,M365_TEAMS_APP,M365_SHAREPOINT_APP,AMAZON_ELASTIC_KUBERNETES_SERVICE,AMAZON_FSX_FILE_SYSTEM,GOOGLE_CLOUD_VIRTUAL_MACHINE,GOOGLE_CLOUD_SQL_DATABASE,GOOGLE_CLOUD_BIG_QUERY_DATABASE,GOOGLE_CLOUD_ALLOY_DB_DATABASE,GOOGLE_CLOUD_FILE_STORAGE,GOOGLE_CLOUD_SPANNER,AZURE_DATA_LAKE_STORAGE,AMAZON_RDS_MARIA_DB,AMAZON_RDS_MY_SQL_DB,AMAZON_RDS_SQL_SERVER_DB,AMAZON_RDS_POSTGRESQL_DB,AMAZON_AURORA_MY_SQL_DB,AMAZON_AURORA_POSTGRESQL_DB,AMAZON_REDSHIFT,AMAZON_RDS_ORACLE_DB,AMAZON_RDS_DB2_DB,AMAZON_ELASTIC_FILE_SYSTEM]description string- filterContentOperationType string
Possible values: [
OVERWRITE,ADD,MODIFY,DELETE]Default value:
OVERWRITESpecifies the operation to be performed on filter ruleGroups list
filterContent object[]
matchRule MatchRule requiredPossible values: [
ALL,ANY]Enum which specifies the whether to match all rules or any of the rules
rules object[] required
type string requiredPossible values: [
NONE,TAG,TAG_CATEGORY,REGION,ALL,RESOURCE]Type of rule
condition RuleOperationType requiredPossible values: [
CONTAINS,DOES_NOT_CONTAIN,DOES_NOT_EQUAL,ENDS_WITH,EQUALS,STARTS_WITH]Operation type for VM rules/filters
name string requiredName of the rule (region name, tag name, or resource name)
value stringValue identifier (ID for regions/tags, or resource value or guid)
displayName stringHuman-readable display name
description stringDescription of the rule
resourceType RuleResourceTypesPossible values: [
NONE,AZURE_VIRTUAL_MACHINE,AZURE_VM_SCALE_SET,AZURE_KUBERNETES_SERVICE,AZURE_STORAGE_ACCOUNT,AZURE_BLOB_STORAGE,AZURE_FILE_STORAGE,AZURE_QUEUE_STORAGE,AZURE_TABLE_STORAGE,AZURE_COSMOS_DB_ACCOUNT,AZURE_COSMOS_DB_SQL_ACCOUNT,AZURE_COSMOS_DB_MONGODB_RU_ACCOUNT,AZURE_COSMOS_DB_CASSANDRA_RU_ACCOUNT,AZURE_COSMOS_DB_GREMLIN_ACCOUNT,AZURE_COSMOS_DB_TABLE_ACCOUNT,AZURE_SQL_DATABASE,AZURE_POSTGRESQL_SERVER,AZURE_MY_SQL_SERVER,AZURE_MY_SQL_SERVER_FLEXIBLE,AZURE_POSTGRESQL_SERVER_FLEXIBLE,AMAZON_EC2_VIRTUAL_MACHINE,AMAZON_S3_STORAGE,AMAZON_RDS,AMAZON_DYNAMO_DB,AMAZON_DOCUMENT_DB,M365_ONE_DRIVE_APP,M365_EXCHANGE_APP,M365_TEAMS_APP,M365_SHAREPOINT_APP,AMAZON_ELASTIC_KUBERNETES_SERVICE,AMAZON_FSX_FILE_SYSTEM,GOOGLE_CLOUD_VIRTUAL_MACHINE,GOOGLE_CLOUD_SQL_DATABASE,GOOGLE_CLOUD_BIG_QUERY_DATABASE,GOOGLE_CLOUD_ALLOY_DB_DATABASE,GOOGLE_CLOUD_FILE_STORAGE,GOOGLE_CLOUD_SPANNER,AZURE_DATA_LAKE_STORAGE,AMAZON_RDS_MARIA_DB,AMAZON_RDS_MY_SQL_DB,AMAZON_RDS_SQL_SERVER_DB,AMAZON_RDS_POSTGRESQL_DB,AMAZON_AURORA_MY_SQL_DB,AMAZON_AURORA_POSTGRESQL_DB,AMAZON_REDSHIFT,AMAZON_RDS_ORACLE_DB,AMAZON_RDS_DB2_DB,AMAZON_ELASTIC_FILE_SYSTEM]description stringworkloads object[]
solution object
solution details
id int32name stringworkload object
workload details
id int32name stringworkloadOptions object
credential object
id int32name stringisRapidRecovery booleanisLongTermRetention booleancommonOption object
Common workload options
credential object
Credential entity for workload access
id int32name stringsnapshotResourceGroup stringResource group for snapshot operations
dbOption object
Database workload options
isRapidRecovery booleanEnable rapid recovery for database backups
isLongTermRetention booleanEnable long-term retention for database backups
filterWorkloads object[]
solution object
solution details
id int32name stringworkload object
workload details
id int32name stringworkloadOptions object
credential object
id int32name stringisRapidRecovery booleanisLongTermRetention booleancommonOption object
Common workload options
credential object
Credential entity for workload access
id int32name stringsnapshotResourceGroup stringResource group for snapshot operations
dbOption object
Database workload options
isRapidRecovery booleanEnable rapid recovery for database backups
isLongTermRetention booleanEnable long-term retention for database backups
plan 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
- allCloudAccounts boolean
- 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,NEXAVM,INCUS]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
deleteActions object
When a protection group is deleted, specify what actions should be taken regarding the entities that were created by the protection group
deconfigureResources booleanDo you want to deconfigure resources created by protection group
decoupleResources booleanDo you want to disassociate accounts from Protection Group and backup keep running
- newName string
New name for protection Group
- 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
}