Backup Resource Vault Configs - Update
Updates vault security config.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig?api-version=2025-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
vault
|
path | True |
string |
The name of the VaultResource |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Header
| Name | Required | Type | Description |
|---|---|---|---|
| x-ms-authorization-auxiliary |
string |
Request Body
| Name | Type | Description |
|---|---|---|
| eTag |
string |
Optional ETag. |
| location |
string |
The geo-location where the resource lives |
| properties |
BackupResourceVaultConfigResource properties |
|
| tags |
object |
Resource tags. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Azure operation completed successfully. |
|
| Other Status Codes |
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
Update Vault Security Config
Sample request
PATCH https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig?api-version=2025-08-01
{
"properties": {
"enhancedSecurityState": "Enabled"
}
}
Sample response
{
"name": "vaultconfig",
"type": "Microsoft.RecoveryServices/vaults/backupconfig",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig",
"properties": {
"enhancedSecurityState": "Enabled"
}
}
Definitions
| Name | Description |
|---|---|
|
Backup |
Backup resource vault config details. |
|
Backup |
Backup resource vault config details. |
|
created |
The type of identity that created the resource. |
|
Enhanced |
Enabled or Disabled. |
|
Error |
Error Detail class which encapsulates Code, Message and Recommendations. |
|
Error |
Error response |
|
Soft |
Soft Delete feature state |
|
Storage |
Storage type |
|
Storage |
Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. |
|
system |
Metadata pertaining to creation and last modification of the resource. |
BackupResourceVaultConfig
Backup resource vault config details.
| Name | Type | Description |
|---|---|---|
| enhancedSecurityState |
Enabled or Disabled. |
|
| isSoftDeleteFeatureStateEditable |
boolean |
This flag is no longer in use. Please use 'softDeleteFeatureState' to set the soft delete state for the vault |
| resourceGuardOperationRequests |
string[] |
ResourceGuard Operation Requests |
| softDeleteFeatureState |
Soft Delete feature state |
|
| softDeleteRetentionPeriodInDays |
integer (int32) |
Soft delete retention period in days |
| storageModelType |
Storage type. |
|
| storageType |
Storage type. |
|
| storageTypeState |
Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked. |
BackupResourceVaultConfigResource
Backup resource vault config details.
| Name | Type | Description |
|---|---|---|
| eTag |
string |
Optional ETag. |
| id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
string |
The geo-location where the resource lives |
| name |
string |
The name of the resource |
| properties |
BackupResourceVaultConfigResource properties |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| tags |
object |
Resource tags. |
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
EnhancedSecurityState
Enabled or Disabled.
| Value | Description |
|---|---|
| Invalid | |
| Enabled | |
| Disabled |
ErrorDetail
Error Detail class which encapsulates Code, Message and Recommendations.
| Name | Type | Description |
|---|---|---|
| code |
string |
Error code. |
| message |
string |
Error Message related to the Code. |
| recommendations |
string[] |
List of recommendation strings. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
SoftDeleteFeatureState
Soft Delete feature state
| Value | Description |
|---|---|
| Invalid | |
| Enabled | |
| Disabled | |
| AlwaysON |
StorageType
Storage type
| Value | Description |
|---|---|
| Invalid | |
| GeoRedundant | |
| LocallyRedundant | |
| ZoneRedundant | |
| ReadAccessGeoZoneRedundant |
StorageTypeState
Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.
| Value | Description |
|---|---|
| Invalid | |
| Locked | |
| Unlocked |
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 |
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 |
The type of identity that last modified the resource. |