Skip to content

Commit 8a0313b

Browse files
Merge pull request #271588 from AbhishekMallick-MS/Apr-9-2024-Freshness
Freshness - Create or update RSV via REST API
2 parents da0c18a + 27f7ec4 commit 8a0313b

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

articles/backup/backup-azure-arm-userestapi-createorupdatevault.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
---
2-
title: Create Recovery Services vaults using REST API
2+
title: Create Recovery Services vaults using REST API for Azure Backup
33
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
67
ms.assetid: e54750b4-4518-4262-8f23-ca2f0c7c0439
78
author: AbhishekMallick-MS
89
ms.author: v-abhmallick
10+
ms.custom: engagement-fy24
911
---
10-
# Create Azure Recovery Services vault using REST API
12+
# Create Azure Recovery Services vault using REST API for Azure Backup
1113

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).
1315

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:
1523

1624
```http
1725
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
4654

4755
## Example request body
4856

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`.
5058

5159
```json
5260
{
@@ -71,7 +79,7 @@ For more information about REST API responses, see [Process the response message
7179

7280
### Example response
7381

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*:
7583

7684
```json
7785
{

0 commit comments

Comments
 (0)