Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
- Latest
- 2025-08-01
- 2025-02-28-preview
- 2025-02-01
- 2025-01-01
- 2024-11-01-preview
- 2024-10-01
- 2024-07-30-preview
- 2024-04-30-preview
- 2024-04-01
- 2024-02-01
- 2024-01-01
- 2023-08-01
- 2023-06-01
- 2023-04-01
- 2023-02-01
- 2023-01-01
- 2022-10-01
- 2022-09-30-preview
- 2022-09-01-preview
- 2022-06-01-preview
- 2022-04-01
- 2022-03-01
- 2022-02-01
- 2022-01-01
- 2021-12-01
- 2021-10-01
- 2021-08-01
- 2021-07-01
- 2021-02-01-preview
Bicep resource definition
The vaults/backupResourceGuardProxies 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.RecoveryServices/vaults/backupResourceGuardProxies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.RecoveryServices/vaults/backupResourceGuardProxies@2024-02-01' = {
parent: resourceSymbolicName
eTag: 'string'
location: 'string'
name: 'string'
properties: {
description: 'string'
lastUpdatedTime: 'string'
resourceGuardOperationDetails: [
{
defaultResourceRequest: 'string'
vaultCriticalOperation: 'string'
}
]
resourceGuardResourceId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.RecoveryServices/vaults/backupResourceGuardProxies
| Name | Description | Value |
|---|---|---|
| eTag | Optional ETag. | string |
| location | Resource location. | string |
| name | The resource name | string (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: vaults |
| properties | ResourceGuardProxyBaseResource properties | ResourceGuardProxyBase |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ResourceGuardOperationDetail
| Name | Description | Value |
|---|---|---|
| defaultResourceRequest | string | |
| vaultCriticalOperation | string |
ResourceGuardProxyBase
| Name | Description | Value |
|---|---|---|
| description | string | |
| lastUpdatedTime | string | |
| resourceGuardOperationDetails | ResourceGuardOperationDetail[] | |
| resourceGuardResourceId | string (required) |
ResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The vaults/backupResourceGuardProxies 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.RecoveryServices/vaults/backupResourceGuardProxies resource, add the following JSON to your template.
{
"type": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies",
"apiVersion": "2024-02-01",
"name": "string",
"eTag": "string",
"location": "string",
"properties": {
"description": "string",
"lastUpdatedTime": "string",
"resourceGuardOperationDetails": [
{
"defaultResourceRequest": "string",
"vaultCriticalOperation": "string"
}
],
"resourceGuardResourceId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.RecoveryServices/vaults/backupResourceGuardProxies
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2024-02-01' |
| eTag | Optional ETag. | string |
| location | Resource location. | string |
| name | The resource name | string (required) |
| properties | ResourceGuardProxyBaseResource properties | ResourceGuardProxyBase |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.RecoveryServices/vaults/backupResourceGuardProxies' |
ResourceGuardOperationDetail
| Name | Description | Value |
|---|---|---|
| defaultResourceRequest | string | |
| vaultCriticalOperation | string |
ResourceGuardProxyBase
| Name | Description | Value |
|---|---|---|
| description | string | |
| lastUpdatedTime | string | |
| resourceGuardOperationDetails | ResourceGuardOperationDetail[] | |
| resourceGuardResourceId | string (required) |
ResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The vaults/backupResourceGuardProxies 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.RecoveryServices/vaults/backupResourceGuardProxies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies@2024-02-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
eTag = "string"
properties = {
description = "string"
lastUpdatedTime = "string"
resourceGuardOperationDetails = [
{
defaultResourceRequest = "string"
vaultCriticalOperation = "string"
}
]
resourceGuardResourceId = "string"
}
}
}
Property Values
Microsoft.RecoveryServices/vaults/backupResourceGuardProxies
| Name | Description | Value |
|---|---|---|
| eTag | Optional ETag. | string |
| location | Resource location. | string |
| name | The resource name | string (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: vaults |
| properties | ResourceGuardProxyBaseResource properties | ResourceGuardProxyBase |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies@2024-02-01" |
ResourceGuardOperationDetail
| Name | Description | Value |
|---|---|---|
| defaultResourceRequest | string | |
| vaultCriticalOperation | string |
ResourceGuardProxyBase
| Name | Description | Value |
|---|---|---|
| description | string | |
| lastUpdatedTime | string | |
| resourceGuardOperationDetails | ResourceGuardOperationDetail[] | |
| resourceGuardResourceId | string (required) |
ResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform Samples
A basic example of deploying association of a Resource Guard and Recovery Services Vault.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "vault" {
type = "Microsoft.RecoveryServices/vaults@2022-10-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
publicNetworkAccess = "Enabled"
}
sku = {
name = "Standard"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "resourceGuard" {
type = "Microsoft.DataProtection/resourceGuards@2022-04-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
vaultCriticalOperationExclusionList = [
]
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "backupResourceGuardProxy" {
type = "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies@2023-02-01"
parent_id = azapi_resource.vault.id
name = var.resource_name
body = {
properties = {
resourceGuardResourceId = azapi_resource.resourceGuard.id
}
type = "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies"
}
schema_validation_enabled = false
response_export_values = ["*"]
}