Share via


Microsoft.DataProtection resourceGuards 2022-09-01-preview

Definizione di risorsa Bicep

Il tipo di risorsa resourceGuards può essere distribuito in:

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere Log delle modifiche.

Formato di risorsa

Per creare una risorsa Microsoft.DataProtection/resourceGuards, aggiungere il bicep seguente al modello.

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

Valori delle proprietà

resourceGuards

Nome Descrizione valore
name Nome della risorsa stringa (obbligatorio)
posizione Percorso della risorsa. string
tags Tag delle risorse. Dizionario di nomi e valori di tag. Vedere Tag nei modelli
eTag ETag facoltativo. string
identity Dettagli identità gestita di input DppIdentityDetails
properties Proprietà ResourceGuardResource ResourceGuard

DppIdentityDetails

Nome Descrizione Valore
tipo IdentityType che può essere SystemAssigned o None string

ResourceGuard

Nome Descrizione Valore
vaultCriticalOperationExclusionList Elenco di operazioni critiche che non sono protette da questo resourceGuard string[]

Definizione di risorsa del modello di Resource Manager

Il tipo di risorsa resourceGuards può essere distribuito in:

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere Log delle modifiche.

Formato di risorsa

Per creare una risorsa Microsoft.DataProtection/resourceGuards, aggiungere il codice JSON seguente al modello.

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

Valori delle proprietà

resourceGuards

Nome Descrizione Valore
tipo Tipo di risorsa 'Microsoft.DataProtection/resourceGuards'
apiVersion Versione dell'API della risorsa '2022-09-01-preview'
name Nome della risorsa stringa (obbligatorio)
posizione Percorso della risorsa. string
tags Tag delle risorse. Dizionario di nomi e valori di tag. Vedere Tag nei modelli
eTag ETag facoltativo. string
identity Dettagli identità gestita di input DppIdentityDetails
properties Proprietà ResourceGuardResource ResourceGuard

DppIdentityDetails

Nome Descrizione Valore
tipo IdentityType che può essere SystemAssigned o None string

ResourceGuard

Nome Descrizione Valore
vaultCriticalOperationExclusionList Elenco di operazioni critiche che non sono protette da questo resourceGuard string[]

Definizione della risorsa Terraform (provider AzAPI)

Il tipo di risorsa resourceGuards può essere distribuito in:

  • Gruppi di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato di risorsa

Per creare una risorsa Microsoft.DataProtection/resourceGuards, aggiungere il codice Terraform seguente al modello.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataProtection/resourceGuards@2022-09-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
  }
  body = jsonencode({
    properties = {
      vaultCriticalOperationExclusionList = [
        "string"
      ]
    }
    eTag = "string"
  })
}

Valori delle proprietà

resourceGuards

Nome Descrizione Valore
tipo Tipo di risorsa "Microsoft.DataProtection/resourceGuards@2022-09-01-preview"
name Nome della risorsa stringa (obbligatoria)
posizione Percorso della risorsa. string
parent_id Per distribuire in un gruppo di risorse, usare l'ID del gruppo di risorse. stringa (obbligatoria)
tags Tag di risorse. Dizionario dei nomi e dei valori dei tag.
eTag ETag facoltativo. string
identity Dettagli dell'identità gestita di input DppIdentityDetails
properties Proprietà ResourceGuardResource ResourceGuard

DppIdentityDetails

Nome Descrizione Valore
tipo IdentityType che può essere SystemAssigned o None string

ResourceGuard

Nome Descrizione Valore
vaultCriticalOperationExclusionList Elenco di operazioni critiche che non sono protette da questo resourceGuard string[]