Dpp Resource Guard Proxy - Create Or Update

Creates or Updates a ResourceGuardProxy

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}?api-version=2026-07-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

resourceGuardProxyName
path True

string

pattern: ^[A-Za-z0-9]*$

name of the resource guard proxy

subscriptionId
path True

string (uuid)

The ID of the target subscription. The value must be an UUID.

vaultName
path True

string

The name of the backup vault.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Request Body

Name Type Description
properties

ResourceGuardProxyBase

ResourceGuardProxyBaseResource properties

Responses

Name Type Description
200 OK

ResourceGuardProxyBaseResource

Resource 'ResourceGuardProxyBaseResource' update operation succeeded

Other Status Codes

CloudError

An unexpected error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Create ResourceGuardProxy

Sample request

PUT https://management.azure.com/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample?api-version=2026-07-01

{
  "properties": {
    "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource"
  }
}

Sample response

{
  "name": "swaggerExample",
  "type": "Microsoft.DataProtection/vaults/backupResourceGuardProxies",
  "id": "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupResourceGuardProxies/swaggerExample",
  "properties": {
    "description": "Please take JIT access before performing any of the critical operation",
    "lastUpdatedTime": "2022-09-16T11:44:37.6130487Z",
    "resourceGuardOperationDetails": [
      {
        "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default",
        "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupInstances/delete"
      },
      {
        "defaultResourceRequest": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteResourceGuardProxyRequests/default",
        "vaultCriticalOperation": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete"
      }
    ],
    "resourceGuardResourceId": "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource"
  }
}

Definitions

Name Description
CloudError

An error response from Azure Backup.

createdByType

The type of identity that created the resource.

Error

The resource management error response.

ErrorAdditionalInfo

The resource management error additional info.

ResourceGuardOperationDetail

VaultCritical Operation protected by a resource guard

ResourceGuardProxyBase

ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource

ResourceGuardProxyBaseResource

ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs

systemData

Metadata pertaining to creation and last modification of the resource.

CloudError

An error response from Azure Backup.

Name Type Description
error

Error

The resource management error response.

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

Error

The resource management error response.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

Error[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ResourceGuardOperationDetail

VaultCritical Operation protected by a resource guard

Name Type Description
defaultResourceRequest

string

vaultCriticalOperation

string

ResourceGuardProxyBase

ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource

Name Type Description
description

string

lastUpdatedTime

string

resourceGuardOperationDetails

ResourceGuardOperationDetail[]

VaultCritical Operation protected by a resource guard

resourceGuardResourceId

string

ResourceGuardProxyBaseResource

ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs

Name Type Description
id

string (arm-id)

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

The name of the resource

properties

ResourceGuardProxyBase

ResourceGuardProxyBaseResource properties

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.