Azure DataProtection Backup Instance Disk

This page shows how to write Terraform and Azure Resource Manager for DataProtection Backup Instance Disk and write them securely.

azurerm_data_protection_backup_instance_disk (Terraform)

The Backup Instance Disk in DataProtection can be configured in Terraform with the resource name azurerm_data_protection_backup_instance_disk. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • name - (Required) The name which should be used for this Backup Instance Disk. Changing this forces a new Backup Instance Disk to be created.

  • location - (Required) The Azure Region where the Backup Instance Disk should exist. Changing this forces a new Backup Instance Disk to be created.

  • vault_id - (Required) The ID of the Backup Vault within which the Backup Instance Disk should exist. Changing this forces a new Backup Instance Disk to be created.

  • disk_id - (Required) The ID of the source Disk. Changing this forces a new Backup Instance Disk to be created.

  • snapshot_resource_group_name - (Required) The name of the Resource Group where snapshots are stored. Changing this forces a new Backup Instance Disk to be created.

  • backup_policy_id - (Required) The ID of the Backup Policy.

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Backup Instance Disk.

Explanation in Terraform Registry

Manages a Backup Instance to back up Disk.

Microsoft.DataProtection/backupVaults/backupInstances (Azure Resource Manager)

The backupVaults/backupInstances in Microsoft.DataProtection can be configured in Azure Resource Manager with the resource name Microsoft.DataProtection/backupVaults/backupInstances. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • apiVersion required - string
  • name required - string

    The name of the backup instance

  • properties required
      • datasourceAuthCredentials optional
        • dataSourceInfo required
            • datasourceType optional - string

              DatasourceType of the resource.

            • objectType optional - string

              Type of Datasource object, used to initialize the right inherited type

            • resourceID required - string

              Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.

            • resourceLocation optional - string

              Location of datasource.

            • resourceName optional - string

              Unique identifier of the resource in the context of parent.

            • resourceType optional - string

              Resource Type of Datasource.

            • resourceUri optional - string

              Uri of the resource.

        • dataSourceSetInfo optional
            • datasourceType optional - string

              DatasourceType of the resource.

            • objectType optional - string

              Type of Datasource object, used to initialize the right inherited type

            • resourceID required - string

              Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.

            • resourceLocation optional - string

              Location of datasource.

            • resourceName optional - string

              Unique identifier of the resource in the context of parent.

            • resourceType optional - string

              Resource Type of Datasource.

            • resourceUri optional - string

              Uri of the resource.

        • friendlyName optional - string

          Gets or sets the Backup Instance friendly name.

        • objectType required - string
        • policyInfo required
            • policyId required - string
            • policyParameters optional
                • dataStoreParametersList optional array
                    • dataStoreType required - string

                      type of datastore; Operational/Vault/Archive.

    • systemData optional
        • createdAt optional - string

          The timestamp of resource creation (UTC).

        • createdBy optional - string

          The identity that created the resource.

        • createdByType optional - string

          The type of identity that created the resource.

        • lastModifiedAt optional - string

          The type of identity that last modified the resource.

        • lastModifiedBy optional - string

          The identity that last modified the resource.

        • lastModifiedByType optional - string

          The type of identity that last modified the resource.

    • type required - string

    Frequently asked questions

    What is Azure DataProtection Backup Instance Disk?

    Azure DataProtection Backup Instance Disk is a resource for DataProtection of Microsoft Azure. Settings can be wrote in Terraform.