Dela via


Microsoft.DataProtection resourceGuards 2022-09-01-preview

Bicep resource definition

The resourceGuards 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 Microsoft.DataProtection/resourceGuards resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DataProtection/resourceGuards@2022-09-01-preview' = {
  eTag: 'string'
  identity: {
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    vaultCriticalOperationExclusionList: [
      'string'
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

DppIdentityDetails

Name Description Value
type The identityType which can be either SystemAssigned or None string

DppTrackedResourceTags

Name Description Value

Microsoft.DataProtection/resourceGuards

Name Description Value
eTag Optional ETag. string
identity Input Managed Identity Details DppIdentityDetails
location Resource location. string
name The resource name string (required)
properties ResourceGuardResource properties ResourceGuard
tags Resource tags Dictionary of tag names and values. See Tags in templates

ResourceGuard

Name Description Value
vaultCriticalOperationExclusionList List of critical operations which are not protected by this resourceGuard string[]

ARM template resource definition

The resourceGuards 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 Microsoft.DataProtection/resourceGuards resource, add the following JSON to your template.

{
  "type": "Microsoft.DataProtection/resourceGuards",
  "apiVersion": "2022-09-01-preview",
  "name": "string",
  "eTag": "string",
  "identity": {
    "type": "string"
  },
  "location": "string",
  "properties": {
    "vaultCriticalOperationExclusionList": [ "string" ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

DppIdentityDetails

Name Description Value
type The identityType which can be either SystemAssigned or None string

DppTrackedResourceTags

Name Description Value

Microsoft.DataProtection/resourceGuards

Name Description Value
apiVersion The api version '2022-09-01-preview'
eTag Optional ETag. string
identity Input Managed Identity Details DppIdentityDetails
location Resource location. string
name The resource name string (required)
properties ResourceGuardResource properties ResourceGuard
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.DataProtection/resourceGuards'

ResourceGuard

Name Description Value
vaultCriticalOperationExclusionList List of critical operations which are not protected by this resourceGuard string[]

Användningsexempel

Terraform (AzAPI provider) resource definition

The resourceGuards 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 Microsoft.DataProtection/resourceGuards resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataProtection/resourceGuards@2022-09-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    eTag = "string"
    properties = {
      vaultCriticalOperationExclusionList = [
        "string"
      ]
    }
  }
}

Property Values

DppIdentityDetails

Name Description Value
type The identityType which can be either SystemAssigned or None string

DppTrackedResourceTags

Name Description Value

Microsoft.DataProtection/resourceGuards

Name Description Value
eTag Optional ETag. string
identity Input Managed Identity Details DppIdentityDetails
location Resource location. string
name The resource name string (required)
properties ResourceGuardResource properties ResourceGuard
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.DataProtection/resourceGuards@2022-09-01-preview"

ResourceGuard

Name Description Value
vaultCriticalOperationExclusionList List of critical operations which are not protected by this resourceGuard string[]