Commvault.ContentStore cloudAccounts/protectionGroups

Bicep resource definition

The cloudAccounts/protectionGroups resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Commvault.ContentStore/cloudAccounts/protectionGroups resource, add the following Bicep to your template.

resource symbolicname 'Commvault.ContentStore/cloudAccounts/protectionGroups@2026-10-15-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    dataSourceType: 'AzureVM'
    plan: 'string'
    resources: {
      manual: [
        'string'
      ]
      matchRules: {
        matchType: 'string'
        rules: [
          {
            operator: 'string'
            property: 'string'
            value: 'string'
          }
        ]
      }
    }
  }
}

Property Values

Commvault.ContentStore/cloudAccounts/protectionGroups

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 50
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_\-.: ]*$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: cloudAccounts
properties The resource-specific properties for this resource. ProtectionGroupProperties

ProtectionGroupProperties

Name Description Value
dataSourceType The datasource type of Commvault Protection Group 'AzureVM' (required)
plan The Commvault Plan to be associated with the Protection Group string (required)
resources The resources to be protected under Protection Group ProtectionGroupResources (required)

ProtectionGroupResources

Name Description Value
manual The items to be protected under Protection Group string[]
matchRules Rules to match resources ProtectionGroupResourcesMatchRules

ProtectionGroupResourcesMatchRules

Name Description Value
matchType match Type all or any 'all'
'any' (required)
rules rules to match Rule[] (required)

Rule

Name Description Value
operator property of the rule 'contains'
'doesNotContains'
'doesNotEqual'
'endsWith'
'equals'
'startsWith' (required)
property property of the rule 'name'
'region'
'resourceGroup'
'status'
'tagName'
'tagValue' (required)
value property of the rule string (required)

ARM template resource definition

The cloudAccounts/protectionGroups resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Commvault.ContentStore/cloudAccounts/protectionGroups resource, add the following JSON to your template.

{
  "type": "Commvault.ContentStore/cloudAccounts/protectionGroups",
  "apiVersion": "2026-10-15-preview",
  "name": "string",
  "properties": {
    "dataSourceType": "AzureVM",
    "plan": "string",
    "resources": {
      "manual": [ "string" ],
      "matchRules": {
        "matchType": "string",
        "rules": [
          {
            "operator": "string",
            "property": "string",
            "value": "string"
          }
        ]
      }
    }
  }
}

Property Values

Commvault.ContentStore/cloudAccounts/protectionGroups

Name Description Value
apiVersion The api version '2026-10-15-preview'
name The resource name string

Constraints:
Min length = 1
Max length = 50
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_\-.: ]*$ (required)
properties The resource-specific properties for this resource. ProtectionGroupProperties
type The resource type 'Commvault.ContentStore/cloudAccounts/protectionGroups'

ProtectionGroupProperties

Name Description Value
dataSourceType The datasource type of Commvault Protection Group 'AzureVM' (required)
plan The Commvault Plan to be associated with the Protection Group string (required)
resources The resources to be protected under Protection Group ProtectionGroupResources (required)

ProtectionGroupResources

Name Description Value
manual The items to be protected under Protection Group string[]
matchRules Rules to match resources ProtectionGroupResourcesMatchRules

ProtectionGroupResourcesMatchRules

Name Description Value
matchType match Type all or any 'all'
'any' (required)
rules rules to match Rule[] (required)

Rule

Name Description Value
operator property of the rule 'contains'
'doesNotContains'
'doesNotEqual'
'endsWith'
'equals'
'startsWith' (required)
property property of the rule 'name'
'region'
'resourceGroup'
'status'
'tagName'
'tagValue' (required)
value property of the rule string (required)

Terraform (AzAPI provider) resource definition

The cloudAccounts/protectionGroups resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Resource format

To create a Commvault.ContentStore/cloudAccounts/protectionGroups resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Commvault.ContentStore/cloudAccounts/protectionGroups@2026-10-15-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      dataSourceType = "AzureVM"
      plan = "string"
      resources = {
        manual = [
          "string"
        ]
        matchRules = {
          matchType = "string"
          rules = [
            {
              operator = "string"
              property = "string"
              value = "string"
            }
          ]
        }
      }
    }
  }
}

Property Values

Commvault.ContentStore/cloudAccounts/protectionGroups

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 50
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_\-.: ]*$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: cloudAccounts
properties The resource-specific properties for this resource. ProtectionGroupProperties
type The resource type "Commvault.ContentStore/cloudAccounts/protectionGroups@2026-10-15-preview"

ProtectionGroupProperties

Name Description Value
dataSourceType The datasource type of Commvault Protection Group 'AzureVM' (required)
plan The Commvault Plan to be associated with the Protection Group string (required)
resources The resources to be protected under Protection Group ProtectionGroupResources (required)

ProtectionGroupResources

Name Description Value
manual The items to be protected under Protection Group string[]
matchRules Rules to match resources ProtectionGroupResourcesMatchRules

ProtectionGroupResourcesMatchRules

Name Description Value
matchType match Type all or any 'all'
'any' (required)
rules rules to match Rule[] (required)

Rule

Name Description Value
operator property of the rule 'contains'
'doesNotContains'
'doesNotEqual'
'endsWith'
'equals'
'startsWith' (required)
property property of the rule 'name'
'region'
'resourceGroup'
'status'
'tagName'
'tagValue' (required)
value property of the rule string (required)