You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-arm-userestapi-createorupdatevault.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,25 @@
1
1
---
2
-
title: Create Recovery Services vaults using REST API
2
+
title: Create Recovery Services vaults using REST API for Azure Backup
3
3
description: In this article, learn how to manage backup and restore operations of Azure VM Backup using REST API.
4
-
ms.topic: conceptual
5
-
ms.date: 08/21/2018
4
+
ms.service: backup
5
+
ms.topic: how-to
6
+
ms.date: 04/09/2024
6
7
ms.assetid: e54750b4-4518-4262-8f23-ca2f0c7c0439
7
8
author: AbhishekMallick-MS
8
9
ms.author: v-abhmallick
10
+
ms.custom: engagement-fy24
9
11
---
10
-
# Create Azure Recovery Services vault using REST API
12
+
# Create Azure Recovery Services vault using REST API for Azure Backup
11
13
12
-
The steps to create an Azure Recovery Services vault using REST API are outlined in [create vault REST API](/rest/api/recoveryservices/vaults/createorupdate) documentation. Let's use this document as a reference to create a vault called "testVault" in "West US".
14
+
This article describes how to create Azure Recovery Services vault using REST API. To create the vault using the Azure portal, see [this article](backup-create-recovery-services-vault.md#create-a-recovery-services-vault).
13
15
14
-
To create or update an Azure Recovery Services vault, use the following *PUT* operation.
16
+
A Recovery Services vault is a storage entity in Azure that houses data. The data is typically copies of data, or configuration information for virtual machines (VMs), workloads, servers, or workstations. You can use Recovery Services vaults to hold backup data for various Azure services such as IaaS VMs (Linux or Windows) and SQL Server in Azure VMs. Recovery Services vaults support System Center DPM, Windows Server, Azure Backup Server, and more. Recovery Services vaults make it easy to organize your backup data, while minimizing management overhead.
17
+
18
+
## Before you start
19
+
20
+
The creation of an Azure Recovery Services vault using REST API is outlined in [create vault REST API](/rest/api/recoveryservices/vaults/createorupdate) article. Let's use this article as a reference to create a vault named `testVault` in `West US`.
21
+
22
+
To create or update an Azure Recovery Services vault, use the following *PUT* operation:
15
23
16
24
```http
17
25
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}?api-version=2016-06-01
@@ -46,7 +54,7 @@ Note that vault name and resource group name are provided in the PUT URI. The re
46
54
47
55
## Example request body
48
56
49
-
The following example body is used to create a vault in "West US". Specify the location. The SKU is always "Standard".
57
+
The following example body is used to create a vault in `West US`. Specify the location. The SKU is always `Standard`.
50
58
51
59
```json
52
60
{
@@ -71,7 +79,7 @@ For more information about REST API responses, see [Process the response message
71
79
72
80
### Example response
73
81
74
-
A condensed *201 Created* response from the previous example request body shows an *id* has been assigned and the *provisioningState* is *Succeeded*:
82
+
A condensed *201 Created* response from the previous example request body shows an *ID* has been assigned and the *provisioningState* is *Succeeded*:
0 commit comments