From 2cdd6262920323a17fff934759972ef0c41cc331 Mon Sep 17 00:00:00 2001 From: Amit Bhat Date: Tue, 27 Jun 2017 13:30:28 +0530 Subject: [PATCH] Adding migrate to AAD api spec. --- .../ReplicationFabrics_MigrateToAad.json | 15 ++++++ .../2016-08-10/swagger/service.json | 48 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json b/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json new file mode 100644 index 000000000000..281a86b008a2 --- /dev/null +++ b/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_MigrateToAad.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "fabricName": "cloud1", + "api-version": "2016-08-10", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" + }, + "responses": { + "202": { + }, + "204": { + } + } +} diff --git a/arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json b/arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json index 1baf77e97fd0..2c66beb6d660 100644 --- a/arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json +++ b/arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json @@ -234,6 +234,54 @@ } } }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad": { + "post": { + "tags": [ + "ReplicationFabrics" + ], + "summary": "Migrates the site to AAD.", + "description": "The operation to migrate an Azure Site Recovery fabric to AAD.", + "operationId": "ReplicationFabrics_MigrateToAad", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "ASR fabric to migrate.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Migrates the site to AAD.": { + "$ref": "../examples/ReplicationFabrics_MigrateToAad.json" + } + } + } + }, "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate": { "post": { "tags": [