Freigeben über


Microsoft.RecoveryServices Vaults/backupFabrics/backupProtectionIntent 2021-12-01

Bicep-Ressourcendefinition

Der Tresor/backupFabrics/backupProtectionIntent-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent-Ressource zu erstellen, fügen Sie der Vorlage die folgende Bicep hinzu.

resource symbolicname 'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-12-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  eTag: 'string'
  properties: {
    backupManagementType: 'string'
    itemId: 'string'
    policyId: 'string'
    protectionState: 'string'
    sourceResourceId: 'string'
    protectionIntentItemType: 'string'
    // For remaining properties, see ProtectionIntent objects
  }
}

ProtectionIntent-Objekte

Legen Sie die protectionIntentItemType-Eigenschaft fest, um den Objekttyp anzugeben.

Verwenden Sie für AzureResourceItem-:

  protectionIntentItemType: 'AzureResourceItem'
  friendlyName: 'string'

Verwenden Sie für AzureWorkloadContainerAutoProtectionIntent:

  protectionIntentItemType: 'AzureWorkloadContainerAutoProtectionIntent'

Verwenden Sie für AzureWorkloadSQLAutoProtectionIntent:

  protectionIntentItemType: 'AzureWorkloadSQLAutoProtectionIntent'
  workloadItemType: 'string'

Eigenschaftswerte

vaults/backupFabrics/backupProtectionIntent

Name Beschreibung Wert
Name Der Ressourcenname

Erfahren Sie, wie Sie Namen und Typen für untergeordnete Ressourcen in Bicep-festlegen.
Zeichenfolge (erforderlich)
Ort Ressourcenspeicherort. Schnur
Schilder Ressourcentags. Wörterbuch der Tagnamen und -werte. Siehe Tags in Vorlagen
Elternteil In Bicep können Sie die übergeordnete Ressource für eine untergeordnete Ressource angeben. Sie müssen diese Eigenschaft nur hinzufügen, wenn die untergeordnete Ressource außerhalb der übergeordneten Ressource deklariert wird.

Weitere Informationen finden Sie unter Untergeordnete Ressource außerhalb der übergeordneten Ressource.
Symbolischer Name für Ressource vom Typ: backupFabrics
eTag Optionales ETag. Schnur
Eigenschaften ProtectionIntentResource-Eigenschaften ProtectionIntent-

ProtectionIntent

Name Beschreibung Wert
backupManagementType Typ der Sicherungsverwaltung für das gesicherte Element. "AzureBackupServer"
"AzureIaasVM"
'AzureSql'
"AzureStorage"
"AzureWorkload"
'DPM'
'DefaultBackup'
'Ungültig'
"MAB"
itemId ID des Elements, das geschützt wird, im Falle von Azure Vm ist es ProtectedItemId Schnur
policyId ID der Sicherungsrichtlinie, mit der dieses Element gesichert wird. Schnur
protectionState Sicherungsstatus dieses Sicherungselements. 'Ungültig'
'NotProtected'
"Geschützt"
"Schützen"
"ProtectionFailed"
sourceResourceId ARM-ID der zu sichernden Ressource. Schnur
protectionIntentItemType Festlegen des Objekttyps AzureResourceItem-
AzureWorkloadContainerAutoProtectionIntent-
AzureWorkloadSQLAutoProtectionIntent (erforderlich)

AzureResourceProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. 'AzureResourceItem' (erforderlich)
friendlyName Anzeigename des virtuellen Computers, der durch dieses Sicherungselement dargestellt wird. Schnur

AzureWorkloadContainerAutoProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureWorkloadContainerAutoProtectionIntent" (erforderlich)

AzureWorkloadSQLAutoProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureWorkloadSQLAutoProtectionIntent" (erforderlich)
workloadItemType Workload-Elementtyp des Elements, für das die Absicht festgelegt werden soll 'Ungültig'
'SAPAseDatabase'
'SAPAseSystem'
'SAPHanaDatabase'
'SAPHanaSystem'
'SQLDataBase'
'SQLInstance'

ARM-Vorlagenressourcendefinition

Der Tresor/backupFabrics/backupProtectionIntent-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent-Ressource zu erstellen, fügen Sie der Vorlage den folgenden JSON-Code hinzu.

{
  "type": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent",
  "apiVersion": "2021-12-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "eTag": "string",
  "properties": {
    "backupManagementType": "string",
    "itemId": "string",
    "policyId": "string",
    "protectionState": "string",
    "sourceResourceId": "string",
    "protectionIntentItemType": "string"
    // For remaining properties, see ProtectionIntent objects
  }
}

ProtectionIntent-Objekte

Legen Sie die protectionIntentItemType-Eigenschaft fest, um den Objekttyp anzugeben.

Verwenden Sie für AzureResourceItem-:

  "protectionIntentItemType": "AzureResourceItem",
  "friendlyName": "string"

Verwenden Sie für AzureWorkloadContainerAutoProtectionIntent:

  "protectionIntentItemType": "AzureWorkloadContainerAutoProtectionIntent"

Verwenden Sie für AzureWorkloadSQLAutoProtectionIntent:

  "protectionIntentItemType": "AzureWorkloadSQLAutoProtectionIntent",
  "workloadItemType": "string"

Eigenschaftswerte

vaults/backupFabrics/backupProtectionIntent

Name Beschreibung Wert
Art Der Ressourcentyp 'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent'
apiVersion Die Ressourcen-API-Version '2021-12-01'
Name Der Ressourcenname

Erfahren Sie, wie Sie Namen und Typen für untergeordnete Ressourcen in JSON ARM-Vorlagenfestlegen.
Zeichenfolge (erforderlich)
Ort Ressourcenspeicherort. Schnur
Schilder Ressourcentags. Wörterbuch der Tagnamen und -werte. Siehe Tags in Vorlagen
eTag Optionales ETag. Schnur
Eigenschaften ProtectionIntentResource-Eigenschaften ProtectionIntent-

ProtectionIntent

Name Beschreibung Wert
backupManagementType Typ der Sicherungsverwaltung für das gesicherte Element. "AzureBackupServer"
"AzureIaasVM"
'AzureSql'
"AzureStorage"
"AzureWorkload"
'DPM'
'DefaultBackup'
'Ungültig'
"MAB"
itemId ID des Elements, das geschützt wird, im Falle von Azure Vm ist es ProtectedItemId Schnur
policyId ID der Sicherungsrichtlinie, mit der dieses Element gesichert wird. Schnur
protectionState Sicherungsstatus dieses Sicherungselements. 'Ungültig'
'NotProtected'
"Geschützt"
"Schützen"
"ProtectionFailed"
sourceResourceId ARM-ID der zu sichernden Ressource. Schnur
protectionIntentItemType Festlegen des Objekttyps AzureResourceItem-
AzureWorkloadContainerAutoProtectionIntent-
AzureWorkloadSQLAutoProtectionIntent (erforderlich)

AzureResourceProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. 'AzureResourceItem' (erforderlich)
friendlyName Anzeigename des virtuellen Computers, der durch dieses Sicherungselement dargestellt wird. Schnur

AzureWorkloadContainerAutoProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureWorkloadContainerAutoProtectionIntent" (erforderlich)

AzureWorkloadSQLAutoProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureWorkloadSQLAutoProtectionIntent" (erforderlich)
workloadItemType Workload-Elementtyp des Elements, für das die Absicht festgelegt werden soll 'Ungültig'
'SAPAseDatabase'
'SAPAseSystem'
'SAPHanaDatabase'
'SAPHanaSystem'
'SQLDataBase'
'SQLInstance'

Terraform -Ressourcendefinition (AzAPI-Anbieter)

Der Tresor/backupFabrics/backupProtectionIntent-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

  • Ressourcengruppen

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent-Ressource zu erstellen, fügen Sie Ihrer Vorlage die folgende Terraform hinzu.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-12-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      backupManagementType = "string"
      itemId = "string"
      policyId = "string"
      protectionState = "string"
      sourceResourceId = "string"
      protectionIntentItemType = "string"
      // For remaining properties, see ProtectionIntent objects
    }
    eTag = "string"
  })
}

ProtectionIntent-Objekte

Legen Sie die protectionIntentItemType-Eigenschaft fest, um den Objekttyp anzugeben.

Verwenden Sie für AzureResourceItem-:

  protectionIntentItemType = "AzureResourceItem"
  friendlyName = "string"

Verwenden Sie für AzureWorkloadContainerAutoProtectionIntent:

  protectionIntentItemType = "AzureWorkloadContainerAutoProtectionIntent"

Verwenden Sie für AzureWorkloadSQLAutoProtectionIntent:

  protectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent"
  workloadItemType = "string"

Eigenschaftswerte

vaults/backupFabrics/backupProtectionIntent

Name Beschreibung Wert
Art Der Ressourcentyp "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-12-01"
Name Der Ressourcenname Zeichenfolge (erforderlich)
Ort Ressourcenspeicherort. Schnur
parent_id Die ID der Ressource, die das übergeordnete Element für diese Ressource ist. ID für Ressource des Typs: backupFabrics
Schilder Ressourcentags. Wörterbuch der Tagnamen und -werte.
eTag Optionales ETag. Schnur
Eigenschaften ProtectionIntentResource-Eigenschaften ProtectionIntent-

ProtectionIntent

Name Beschreibung Wert
backupManagementType Typ der Sicherungsverwaltung für das gesicherte Element. "AzureBackupServer"
"AzureIaasVM"
"AzureSql"
"AzureStorage"
"AzureWorkload"
"DPM"
"DefaultBackup"
"Ungültig"
"MAB"
itemId ID des Elements, das geschützt wird, im Falle von Azure Vm ist es ProtectedItemId Schnur
policyId ID der Sicherungsrichtlinie, mit der dieses Element gesichert wird. Schnur
protectionState Sicherungsstatus dieses Sicherungselements. "Ungültig"
"NotProtected"
"Geschützt"
"Schützen"
"ProtectionFailed"
sourceResourceId ARM-ID der zu sichernden Ressource. Schnur
protectionIntentItemType Festlegen des Objekttyps AzureResourceItem-
AzureWorkloadContainerAutoProtectionIntent-
AzureWorkloadSQLAutoProtectionIntent (erforderlich)

AzureResourceProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureResourceItem" (erforderlich)
friendlyName Anzeigename des virtuellen Computers, der durch dieses Sicherungselement dargestellt wird. Schnur

AzureWorkloadContainerAutoProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureWorkloadContainerAutoProtectionIntent" (erforderlich)

AzureWorkloadSQLAutoProtectionIntent

Name Beschreibung Wert
protectionIntentItemType Backup ProtectionIntent-Typ. "AzureWorkloadSQLAutoProtectionIntent" (erforderlich)
workloadItemType Workload-Elementtyp des Elements, für das die Absicht festgelegt werden soll "Ungültig"
"SAPAseDatabase"
"SAPAseSystem"
"SAPHanaDatabase"
"SAPHanaSystem"
"SQLDataBase"
"SQLInstance"