Vaults - Create Or Update
Creates or updates a Recovery Services vault.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}?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 Vault |
|
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 | Required | Type | Description |
|---|---|---|---|
| location | True |
string |
The geo-location where the resource lives |
| etag |
string |
etag for the resource. |
|
| identity |
Identity for the resource. |
||
| properties |
Properties of the vault. |
||
| sku |
Identifies the unique system identifier for each Azure resource. |
||
| tags |
object |
Resource tags. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Resource 'Vault' update operation succeeded |
|
| 201 Created |
Resource 'Vault' create operation succeeded Headers
|
|
| 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
Create or Update Recovery Services vault
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "SystemAssigned"
},
"location": "West US",
"properties": {
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247",
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b"
},
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "RS0",
"tier": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247",
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b"
},
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "RS0",
"tier": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Create or Update Vault performing critical operation With MUA
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {}
}
},
"location": "West US",
"properties": {
"encryption": {
"infrastructureEncryption": "Enabled",
"kekIdentity": {
"userAssignedIdentity": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi"
},
"keyVaultProperties": {
"keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3"
}
},
"publicNetworkAccess": "Enabled",
"resourceGuardOperationRequests": [
"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/ankurResourceGuard1/providers/Microsoft.DataProtection/resourceGuards/ResourceGuard38-1/modifyEncryptionSettings/default"
]
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {
"clientId": "fbe75b66-01c5-4f87-a220-233af3270436",
"principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9219"
}
}
},
"location": "westus",
"properties": {
"encryption": {
"infrastructureEncryption": "Enabled",
"kekIdentity": {
"useSystemAssignedIdentity": false,
"userAssignedIdentity": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi"
},
"keyVaultProperties": {
"keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3"
}
},
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Azure-AsyncOperation: /subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2015-03-15
Retry-After: 10
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {}
}
},
"location": "westus",
"properties": {
"encryption": {
"infrastructureEncryption": "Enabled",
"kekIdentity": {
"useSystemAssignedIdentity": false,
"userAssignedIdentity": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi"
},
"keyVaultProperties": {
"keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3"
}
},
"provisioningState": "Provisioning",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Create or Update Vault with CustomerManagedKeys
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {}
}
},
"location": "West US",
"properties": {
"encryption": {
"infrastructureEncryption": "Enabled",
"kekIdentity": {
"userAssignedIdentity": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi"
},
"keyVaultProperties": {
"keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3"
}
},
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {
"clientId": "fbe75b66-01c5-4f87-a220-233af3270436",
"principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9219"
}
}
},
"location": "westus",
"properties": {
"encryption": {
"infrastructureEncryption": "Enabled",
"kekIdentity": {
"useSystemAssignedIdentity": false,
"userAssignedIdentity": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi"
},
"keyVaultProperties": {
"keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3"
}
},
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Azure-AsyncOperation: /subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2015-03-15
Retry-After: 10
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {}
}
},
"location": "westus",
"properties": {
"encryption": {
"infrastructureEncryption": "Enabled",
"kekIdentity": {
"useSystemAssignedIdentity": false,
"userAssignedIdentity": "/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi"
},
"keyVaultProperties": {
"keyUri": "https://cmk2xkv.vault.azure.net/keys/Key1/0767b348bb1a4c07baa6c4ec0055d2b3"
}
},
"provisioningState": "Provisioning",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Create or Update Vault With Monitoring Setting
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "SystemAssigned"
},
"location": "West US",
"properties": {
"monitoringSettings": {
"azureMonitorAlertSettings": {
"alertsForAllFailoverIssues": "Disabled",
"alertsForAllJobFailures": "Enabled",
"alertsForAllReplicationIssues": "Enabled"
},
"classicAlertSettings": {
"alertsForCriticalOperations": "Disabled",
"emailNotificationsForSiteRecovery": "Enabled"
}
},
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247",
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b"
},
"location": "westus",
"properties": {
"monitoringSettings": {
"azureMonitorAlertSettings": {
"alertsForAllFailoverIssues": "Disabled",
"alertsForAllJobFailures": "Enabled",
"alertsForAllReplicationIssues": "Enabled"
},
"classicAlertSettings": {
"alertsForCriticalOperations": "Disabled",
"emailNotificationsForSiteRecovery": "Enabled"
}
},
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "RS0",
"tier": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247",
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b"
},
"location": "westus",
"properties": {
"monitoringSettings": {
"azureMonitorAlertSettings": {
"alertsForAllFailoverIssues": "Disabled",
"alertsForAllJobFailures": "Enabled",
"alertsForAllReplicationIssues": "Enabled"
},
"classicAlertSettings": {
"alertsForCriticalOperations": "Disabled",
"emailNotificationsForSiteRecovery": "Enabled"
}
},
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "RS0",
"tier": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Create or Update Vault With Redundancy Setting
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "SystemAssigned"
},
"location": "West US",
"properties": {
"publicNetworkAccess": "Enabled",
"redundancySettings": {
"crossRegionRestore": "Enabled",
"standardTierStorageRedundancy": "GeoRedundant"
}
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247",
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b"
},
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled",
"redundancySettings": {
"crossRegionRestore": "Enabled",
"standardTierStorageRedundancy": "GeoRedundant"
}
},
"sku": {
"name": "RS0",
"tier": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "3137d6c7-5d6c-411c-b934-7a2a729ee247",
"tenantId": "d676e86e-2206-4a7c-999c-ece52c144b5b"
},
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled",
"redundancySettings": {
"crossRegionRestore": "Enabled",
"standardTierStorageRedundancy": "GeoRedundant"
}
},
"sku": {
"name": "RS0",
"tier": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Create or Update Vault with Source scan configuration
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "SystemAssigned"
},
"location": "West US",
"properties": {
"publicNetworkAccess": "Enabled",
"securitySettings": {
"sourceScanConfiguration": {
"sourceScanIdentity": {
"operationIdentityType": "SystemAssigned"
},
"state": "Enabled"
}
}
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2025-02-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "1be097b0-eb5e-4927-bac2-b24ee8716f64",
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
},
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled",
"securitySettings": {
"sourceScanConfiguration": {
"sourceScanIdentity": {
"operationIdentityType": "SystemAssigned"
},
"state": "Enabled"
}
}
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Azure-AsyncOperation: /subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2015-03-15
Retry-After: 10
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "SystemAssigned",
"principalId": "1be097b0-eb5e-4927-bac2-b24ee8716f64",
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
},
"location": "westus",
"properties": {
"provisioningState": "Provisioning",
"publicNetworkAccess": "Enabled",
"securitySettings": {
"sourceScanConfiguration": {
"sourceScanIdentity": {
"operationIdentityType": "SystemAssigned"
},
"state": "Enabled"
}
}
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Create or Update Vault with User Assigned Identity
Sample request
PUT https://management.azure.com/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample?api-version=2025-08-01
{
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {}
}
},
"location": "West US",
"properties": {
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
}
}
Sample response
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {
"clientId": "fbe75b66-01c5-4f87-a220-233af3270436",
"principalId": "075a0ca6-43f6-4434-9abf-c9b1b79f9219"
}
}
},
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Azure-AsyncOperation: /subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample/operationStatus/YWUzNDFkMzQtZmM5OS00MmUyLWEzNDMtZGJkMDIxZjlmZjgzOzdmYzBiMzhmLTc2NmItNDM5NS05OWQ1LTVmOGEzNzg4MWQzNA==?api-version=2015-03-15
Retry-After: 10
{
"name": "swaggerExample",
"type": "Microsoft.RecoveryServices/vaults",
"etag": "W/\"datetime'2017-12-15T12%3A36%3A51.68Z'\"",
"id": "/subscriptions/77777777-b0c6-47a2-b37c-d8e65a629c18/resourceGroups/Default-RecoveryServices-ResourceGroup/providers/Microsoft.RecoveryServices/vaults/swaggerExample",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/85bf5e8c-3084-4f42-add2-746ebb7e97b2/resourcegroups/defaultrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplemsi": {}
}
},
"location": "westus",
"properties": {
"provisioningState": "Provisioning",
"publicNetworkAccess": "Enabled"
},
"sku": {
"name": "Standard"
},
"tags": {
"TestUpdatedKey": "TestUpdatedValue"
}
}
Definitions
| Name | Description |
|---|---|
|
Alerts |
|
|
Associated |
Identity details to be used for an operation |
|
Azure |
Settings for Azure Monitor based alerts |
|
Backup |
Backup storage version |
|
BCDRSecurity |
Security levels of Recovery Services Vault for business continuity and disaster recovery |
|
Classic |
Settings for classic alerts |
|
Cloud |
An error response from Azure Backup. |
|
Cmk |
The details of the identity used for CMK |
|
Cmk |
The properties of the Key Vault which hosts CMK |
|
created |
The type of identity that created the resource. |
|
Cross |
Flag to show if Cross Region Restore is enabled on the Vault or not |
|
Cross |
Settings for Cross Subscription Restore Settings |
|
Cross |
|
|
Enhanced |
|
| Error |
The resource management error response. |
|
Error |
The resource management error additional info. |
|
Identity |
Identity for the resource. |
|
Identity |
Identity type that should be used for an operation. |
|
Immutability |
Immutability Settings of vault |
|
Immutability |
|
|
Infrastructure |
Enabling/Disabling the Double Encryption state |
|
Monitoring |
Monitoring Settings of the vault |
|
Multi |
MUA Settings of vault |
|
Private |
The Private Endpoint network resource that is linked to the Private Endpoint connection. |
|
Private |
Private Endpoint Connection Response Properties. |
|
Private |
Gets or sets the status. |
|
Private |
Information to be stored in Vault properties as an element of privateEndpointConnections List. |
|
Private |
Gets or sets private link service connection state. |
|
Provisioning |
Gets or sets provisioning state of the private endpoint connection. |
|
Public |
property to enable or disable resource provider inbound network traffic from public clients |
|
Resource |
The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. |
|
Resource |
The State of the Resource after the move operation |
|
Restore |
Restore Settings of the vault |
|
Secure |
Secure Score of Recovery Services Vault |
|
Security |
Security Settings of the vault |
| Sku |
Identifies the unique system identifier for each Azure resource. |
|
Sku |
Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig |
|
Soft |
Soft delete Settings of vault |
|
Soft |
|
|
Source |
Source scan configuration of vault |
|
Standard |
The storage redundancy setting of a vault |
| State | |
|
system |
Metadata pertaining to creation and last modification of the resource. |
|
Trigger |
The way the vault upgrade was triggered. |
|
Upgrade |
Details for upgrading vault. |
|
User |
A resource identity that is managed by the user of the service. |
| Vault |
Resource information, as returned by the resource provider. |
|
Vault |
Private endpoint state for backup. |
|
Vault |
Properties of the vault. |
|
Vault |
Customer Managed Key details of the resource. |
|
Vault |
The details of the latest move operation performed on the Azure Resource |
|
Vault |
The redundancy Settings of a Vault |
|
Vault |
Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery |
|
Vault |
Status of the vault upgrade operation. |
AlertsState
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
AssociatedIdentity
Identity details to be used for an operation
| Name | Type | Description |
|---|---|---|
| operationIdentityType |
Identity type that should be used for an operation. |
|
| userAssignedIdentity |
string |
User assigned identity to be used for an operation if operationIdentityType is UserAssigned. |
AzureMonitorAlertSettings
Settings for Azure Monitor based alerts
| Name | Type | Description |
|---|---|---|
| alertsForAllFailoverIssues | ||
| alertsForAllJobFailures | ||
| alertsForAllReplicationIssues |
BackupStorageVersion
Backup storage version
| Value | Description |
|---|---|
| V1 | |
| V2 | |
| Unassigned |
BCDRSecurityLevel
Security levels of Recovery Services Vault for business continuity and disaster recovery
| Value | Description |
|---|---|
| Poor | |
| Fair | |
| Good | |
| Excellent |
ClassicAlertSettings
Settings for classic alerts
| Name | Type | Description |
|---|---|---|
| alertsForCriticalOperations | ||
| emailNotificationsForSiteRecovery |
CloudError
An error response from Azure Backup.
| Name | Type | Description |
|---|---|---|
| error |
The resource management error response. |
CmkKekIdentity
The details of the identity used for CMK
| Name | Type | Description |
|---|---|---|
| useSystemAssignedIdentity |
boolean |
Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field |
| userAssignedIdentity |
string |
The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned |
CmkKeyVaultProperties
The properties of the Key Vault which hosts CMK
| Name | Type | Description |
|---|---|---|
| keyUri |
string |
The key uri of the Customer Managed Key |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
CrossRegionRestore
Flag to show if Cross Region Restore is enabled on the Vault or not
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
CrossSubscriptionRestoreSettings
Settings for Cross Subscription Restore Settings
| Name | Type | Description |
|---|---|---|
| crossSubscriptionRestoreState |
CrossSubscriptionRestoreState
| Value | Description |
|---|---|
| Enabled | |
| Disabled | |
| PermanentlyDisabled |
EnhancedSecurityState
| Value | Description |
|---|---|
| Invalid | |
| Enabled | |
| Disabled | |
| AlwaysON |
Error
The resource management error response.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
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. |
IdentityData
Identity for the resource.
| Name | Type | Description |
|---|---|---|
| principalId |
string |
The principal ID of resource identity. |
| tenantId |
string |
The tenant ID of resource. |
| type |
The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. |
|
| userAssignedIdentities |
<string,
User |
The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |
IdentityType
Identity type that should be used for an operation.
| Value | Description |
|---|---|
| SystemAssigned | |
| UserAssigned |
ImmutabilitySettings
Immutability Settings of vault
| Name | Type | Description |
|---|---|---|
| state |
ImmutabilityState
| Value | Description |
|---|---|
| Disabled | |
| Unlocked | |
| Locked |
InfrastructureEncryptionState
Enabling/Disabling the Double Encryption state
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
MonitoringSettings
Monitoring Settings of the vault
| Name | Type | Description |
|---|---|---|
| azureMonitorAlertSettings |
Settings for Azure Monitor based alerts |
|
| classicAlertSettings |
Settings for classic alerts |
MultiUserAuthorization
MUA Settings of vault
| Value | Description |
|---|---|
| Invalid | |
| Enabled | |
| Disabled |
PrivateEndpoint
The Private Endpoint network resource that is linked to the Private Endpoint connection.
| Name | Type | Description |
|---|---|---|
| id |
string |
Gets or sets id. |
PrivateEndpointConnection
Private Endpoint Connection Response Properties.
| Name | Type | Description |
|---|---|---|
| groupIds |
Group Ids for the Private Endpoint |
|
| privateEndpoint |
The Private Endpoint network resource that is linked to the Private Endpoint connection. |
|
| privateLinkServiceConnectionState |
Gets or sets private link service connection state. |
|
| provisioningState |
Gets or sets provisioning state of the private endpoint connection. |
PrivateEndpointConnectionStatus
Gets or sets the status.
| Value | Description |
|---|---|
| Pending | |
| Approved | |
| Rejected | |
| Disconnected |
PrivateEndpointConnectionVaultProperties
Information to be stored in Vault properties as an element of privateEndpointConnections List.
| Name | Type | Description |
|---|---|---|
| id |
string |
Format of id subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}. |
| location |
string |
The location of the private Endpoint connection |
| name |
string |
The name of the private Endpoint Connection |
| properties |
Private Endpoint Connection Response Properties. |
|
| type |
string |
The type, which will be of the format, Microsoft.RecoveryServices/vaults/privateEndpointConnections |
PrivateLinkServiceConnectionState
Gets or sets private link service connection state.
| Name | Type | Description |
|---|---|---|
| actionsRequired |
string |
Gets or sets actions required. |
| description |
string |
Gets or sets description. |
| status |
Gets or sets the status. |
ProvisioningState
Gets or sets provisioning state of the private endpoint connection.
| Value | Description |
|---|---|
| Succeeded | |
| Deleting | |
| Failed | |
| Pending |
PublicNetworkAccess
property to enable or disable resource provider inbound network traffic from public clients
| Value | Description |
|---|---|
| Enabled | |
| Disabled |
ResourceIdentityType
The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities.
| Value | Description |
|---|---|
| SystemAssigned | |
| None | |
| UserAssigned | |
| SystemAssigned, UserAssigned |
ResourceMoveState
The State of the Resource after the move operation
| Value | Description |
|---|---|
| Unknown | |
| InProgress | |
| PrepareFailed | |
| CommitFailed | |
| PrepareTimedout | |
| CommitTimedout | |
| MoveSucceeded | |
| Failure | |
| CriticalFailure | |
| PartialSuccess |
RestoreSettings
Restore Settings of the vault
| Name | Type | Description |
|---|---|---|
| crossSubscriptionRestoreSettings |
Settings for CrossSubscriptionRestore |
SecureScoreLevel
Secure Score of Recovery Services Vault
| Value | Description |
|---|---|
| None | |
| Minimum | |
| Adequate | |
| Maximum |
SecuritySettings
Security Settings of the vault
| Name | Type | Description |
|---|---|---|
| immutabilitySettings |
Immutability Settings of a vault |
|
| multiUserAuthorization |
MUA Settings of a vault |
|
| softDeleteSettings |
Soft delete Settings of a vault |
|
| sourceScanConfiguration |
Source scan configuration of vault |
Sku
Identifies the unique system identifier for each Azure resource.
| Name | Type | Description |
|---|---|---|
| capacity |
string |
The sku capacity |
| family |
string |
The sku family |
| name |
Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig |
|
| size |
string |
The sku size |
| tier |
string |
The Sku tier. |
SkuName
Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig
| Value | Description |
|---|---|
| Standard | |
| RS0 |
SoftDeleteSettings
Soft delete Settings of vault
| Name | Type | Description |
|---|---|---|
| enhancedSecurityState | ||
| softDeleteRetentionPeriodInDays |
integer (int32) |
Soft delete retention period in days |
| softDeleteState |
SoftDeleteState
| Value | Description |
|---|---|
| Invalid | |
| Enabled | |
| Disabled | |
| AlwaysON |
SourceScanConfiguration
Source scan configuration of vault
| Name | Type | Description |
|---|---|---|
| sourceScanIdentity |
Identity details to be used for an operation |
|
| state |
StandardTierStorageRedundancy
The storage redundancy setting of a vault
| Value | Description |
|---|---|
| Invalid | |
| LocallyRedundant | |
| GeoRedundant | |
| ZoneRedundant |
State
| Value | Description |
|---|---|
| Invalid | |
| Enabled | |
| Disabled |
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. |
TriggerType
The way the vault upgrade was triggered.
| Value | Description |
|---|---|
| UserTriggered | |
| ForcedUpgrade |
UpgradeDetails
Details for upgrading vault.
| Name | Type | Description |
|---|---|---|
| endTimeUtc |
string (date-time) |
UTC time at which the upgrade operation has ended. |
| lastUpdatedTimeUtc |
string (date-time) |
UTC time at which the upgrade operation status was last updated. |
| message |
string |
Message to the user containing information about the upgrade operation. |
| operationId |
string |
ID of the vault upgrade operation. |
| previousResourceId |
string |
Resource ID of the vault before the upgrade. |
| startTimeUtc |
string (date-time) |
UTC time at which the upgrade operation has started. |
| status |
Status of the vault upgrade operation. |
|
| triggerType |
The way the vault upgrade was triggered. |
|
| upgradedResourceId |
string |
Resource ID of the upgraded vault. |
UserIdentity
A resource identity that is managed by the user of the service.
| Name | Type | Description |
|---|---|---|
| clientId |
string |
The client ID of the user-assigned identity. |
| principalId |
string |
The principal ID of the user-assigned identity. |
Vault
Resource information, as returned by the resource provider.
| Name | Type | Description |
|---|---|---|
| etag |
string |
etag for the resource. |
| id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| identity |
Identity for the resource. |
|
| location |
string |
The geo-location where the resource lives |
| name |
string |
The name of the resource |
| properties |
Properties of the vault. |
|
| sku |
Identifies the unique system identifier for each Azure resource. |
|
| 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" |
VaultPrivateEndpointState
Private endpoint state for backup.
| Value | Description |
|---|---|
| None | |
| Enabled |
VaultProperties
Properties of the vault.
| Name | Type | Description |
|---|---|---|
| backupStorageVersion |
Backup storage version |
|
| bcdrSecurityLevel |
Security levels of Recovery Services Vault for business continuity and disaster recovery |
|
| encryption |
Customer Managed Key details of the resource. |
|
| monitoringSettings |
Monitoring Settings of the vault |
|
| moveDetails |
The details of the latest move operation performed on the Azure Resource |
|
| moveState |
The State of the Resource after the move operation |
|
| privateEndpointConnections |
List of private endpoint connection. |
|
| privateEndpointStateForBackup |
Private endpoint state for backup. |
|
| privateEndpointStateForSiteRecovery |
Private endpoint state for site recovery. |
|
| provisioningState |
string |
Provisioning State. |
| publicNetworkAccess |
property to enable or disable resource provider inbound network traffic from public clients |
|
| redundancySettings |
The redundancy Settings of a Vault |
|
| resourceGuardOperationRequests |
string[] |
ResourceGuardOperationRequests on which LAC check will be performed |
| restoreSettings |
Restore Settings of the vault |
|
| secureScore |
Secure Score of Recovery Services Vault |
|
| securitySettings |
Security Settings of the vault |
|
| upgradeDetails |
Details for upgrading vault. |
VaultPropertiesEncryption
Customer Managed Key details of the resource.
| Name | Type | Description |
|---|---|---|
| infrastructureEncryption |
Enabling/Disabling the Double Encryption state |
|
| kekIdentity |
The details of the identity used for CMK |
|
| keyVaultProperties |
The properties of the Key Vault which hosts CMK |
VaultPropertiesMoveDetails
The details of the latest move operation performed on the Azure Resource
| Name | Type | Description |
|---|---|---|
| completionTimeUtc |
string (date-time) |
End Time of the Resource Move Operation |
| operationId |
string |
OperationId of the Resource Move Operation |
| sourceResourceId |
string |
Source Resource of the Resource Move Operation |
| startTimeUtc |
string (date-time) |
Start Time of the Resource Move Operation |
| targetResourceId |
string |
Target Resource of the Resource Move Operation |
VaultPropertiesRedundancySettings
The redundancy Settings of a Vault
| Name | Type | Description |
|---|---|---|
| crossRegionRestore |
Flag to show if Cross Region Restore is enabled on the Vault or not |
|
| standardTierStorageRedundancy |
The storage redundancy setting of a vault |
VaultSubResourceType
Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery
| Value | Description |
|---|---|
| AzureBackup | |
| AzureBackup_secondary | |
| AzureSiteRecovery |
VaultUpgradeState
Status of the vault upgrade operation.
| Value | Description |
|---|---|
| Unknown | |
| InProgress | |
| Upgraded | |
| Failed |