diff --git a/custom-words.txt b/custom-words.txt index 53405d698af7..696f675df758 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2142,4 +2142,9 @@ FSLogix privatelinkservice natgateway Ruleproperties -kibana \ No newline at end of file +defanged +testfailover +Orignal +Onprem +targetv +Seleted \ No newline at end of file diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Create.json index b164884e693d..98a130114f2a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Create.json @@ -56,8 +56,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } }, diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Get.json index c3f3d4e984d6..52057f2d053e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Get.json @@ -35,8 +35,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_List.json index 7d9eada08cd8..8c5bfaf6cc58 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_List.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_List.json @@ -34,8 +34,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } ] diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json index e6a3bc47a563..59e917b43c4a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json @@ -36,8 +36,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } ] diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Migrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Migrate.json index e261698d1b54..28559e7e12bf 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Migrate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Migrate.json @@ -43,8 +43,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } }, diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Resync.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Resync.json new file mode 100644 index 000000000000..96b402c9b804 --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Resync.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2021-02-10", + "migrationItemName": "virtualmachine1", + "protectionContainerName": "vmwareContainer1", + "fabricName": "vmwarefabric1", + "resourceName": "migrationvault", + "resourceGroupName": "resourcegroup1", + "subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef", + "input": { + "properties": { + "providerSpecificDetails": { + "instanceType": "VMwareCbt", + "skipCbtReset": "true" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1", + "name": "virtualmachine1", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems", + "properties": { + "machineName": "vm-0520-2", + "migrationState": "Replicating", + "migrationStateDescription": "Ready to migrate", + "testMigrateState": "None", + "testMigrateStateDescription": "None", + "policyFriendlyName": "vmwarepolicy1", + "policyId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationPolicies/vmwarepolicy1", + "allowedOperations": [ + "Migrate", + "DisableMigration", + "TestMigrate", + "TestMigrateCleanup" + ], + "currentJob": { + "jobName": "None", + "jobId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationJobs/None", + "startTime": "2017-04-26T06:37:50.8082715Z" + }, + "providerSpecificDetails": { + "instanceType": "VMwareCbt" + } + } + } + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrate.json index 2c4ef8a7228c..be29373efd3d 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrate.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrate.json @@ -44,8 +44,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } }, diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json index f6d6247191e2..638dedfb1ca5 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_TestMigrateCleanup.json @@ -40,8 +40,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } }, diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Update.json index 95a0992f792d..75c1de3bc58f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationMigrationItems_Update.json @@ -42,8 +42,7 @@ }, "providerSpecificDetails": { "instanceType": "VMwareCbt" - }, - "recoveryServicesProviderId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationRecoveryServicesProviders/45b55118-f42d-505f-8bde-f3745258171f" + } } } }, diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_FailoverCancel.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_FailoverCancel.json new file mode 100644 index 000000000000..1440c9eb2bee --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_FailoverCancel.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2021-02-10", + "replicatedProtectedItemName": "f8491e4f-817a-40dd-a90c-af773978c75b", + "protectionContainerName": "cloud_6d224fc6-f326-5d35-96de-fbf51efb3179", + "fabricName": "cloud1", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a" + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "name": "f8491e4f-817a-40dd-a90c-af773978c75b", + "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems", + "properties": { + "friendlyName": "vm1", + "protectedItemType": "", + "protectableItemId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectableItems/f8491e4f-817a-40dd-a90c-af773978c75b", + "recoveryServicesProviderId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationRecoveryServicesProviders/241641e6-ee7b-4ee4-8141-821fadda43fa", + "primaryFabricFriendlyName": "cloud1", + "recoveryFabricFriendlyName": "cloud1", + "recoveryFabricId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1", + "primaryProtectionContainerFriendlyName": "cloud1", + "recoveryProtectionContainerFriendlyName": "cloud1", + "protectionState": "Protected", + "protectionStateDescription": "Protected", + "activeLocation": "Primary", + "testFailoverState": "None", + "testFailoverStateDescription": "None", + "allowedOperations": [ + "PlannedFailover", + "DisableProtection" + ], + "replicationHealth": "Normal", + "policyId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/protectionprofile1", + "policyFriendlyName": "protectionprofile1", + "lastSuccessfulFailoverTime": "2021-02-24T06:37:23.1578655Z", + "lastSuccessfulTestFailoverTime": "1601-01-01T00:00:00.0000000Z", + "currentScenario": { + "scenarioName": "None", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/None", + "startTime": "2021-02-24T07:17:23.1358752Z" + }, + "failoverRecoveryPointId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b/recoveryPoints/b22134ea-620c-474b-9fa5-3c1cb47708e3", + "providerSpecificDetails": { + "instanceType": "InMageRcmFailback" + }, + "recoveryContainerId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179" + } + } + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Reprotect.json index 1c1b0dbc174e..d69f6dab853e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Reprotect.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Reprotect.json @@ -7,7 +7,7 @@ "resourceName": "vault1", "resourceGroupName": "resourceGroupPS1", "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", - "rrInput": { + "reprotectInput": { "properties": { "failoverDirection": "PrimaryToRecovery", "providerSpecificDetails": { diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_TestFailover.json index 64eb69ec6748..79850c137e57 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_TestFailover.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_TestFailover.json @@ -7,12 +7,11 @@ "resourceName": "vault1", "resourceGroupName": "resourceGroupPS1", "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", - "failoverInput": { + "testfailoverInput": { "properties": { "failoverDirection": "PrimaryToRecovery", "networkType": "VmNetworkAsInput", "networkId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/siterecoveryProd1/providers/Microsoft.Network/virtualNetworks/vnetavrai", - "skipTestFailoverCleanup": "false", "providerSpecificDetails": { "instanceType": "HyperVReplicaAzure" } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Update.json index d909e00064ee..b3c6c0659a8a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectedItems_Update.json @@ -15,8 +15,15 @@ "vmNics": [ { "nicId": "TWljcm9zb2Z0OkY4NDkxRTRGLTgxN0EtNDBERC1BOTBDLUFGNzczOTc4Qzc1Qlw3NjAwMzMxRS03NDk4LTQ0QTQtQjdDNy0xQjY1NkJDREQ1MkQ=", - "recoveryVMSubnetName": "Subnet1", - "selectionType": "SelectedByUser" + "selectionType": "SelectedByUser", + "ipConfigs": [ + { + "ipConfigName": "ipconfig1", + "isPrimary": true, + "recoverySubnetName": "subnet1", + "recoveryStaticIPAddress": "10.0.2.46" + } + ] } ], "licenseType": "WindowsServer", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectionIntents_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectionIntents_Create.json index ea0d2f2991e1..1236a844c6cb 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectionIntents_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationProtectionIntents_Create.json @@ -30,7 +30,8 @@ "jobId": "/Subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/a2acl-rg-vault-prod-gip-ccy/providers/Microsoft.RecoveryServices/vaults/a2acl-vault-prod-gip-ccy/replicationJobs/02004ea7-d498-4bb4-bdeb-cdb611706867", "jobState": "InProgress", "providerSpecificDetails": { - "instanceType": "A2A" + "instanceType": "A2A", + "recoveryAvailabilityType": "Single" } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationRecoveryPlans_FailoverCancel.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationRecoveryPlans_FailoverCancel.json new file mode 100644 index 000000000000..8025104ea215 --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationRecoveryPlans_FailoverCancel.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2021-02-10", + "resourceName": "vault1", + "resourceGroupName": "resourceGroupPS1", + "subscriptionId": "c183865e-6077-46f2-a3b1-deb0f4f4650a", + "recoveryPlanName": "RPtest1" + }, + "responses": { + "200": { + "body": { + "id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationRecoveryPlans/RPtest1", + "name": "RPtest1", + "type": "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans", + "properties": { + "friendlyName": "RPtest1", + "primaryFabricId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1", + "primaryFabricFriendlyName": "cloud1", + "recoveryFabricId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1", + "recoveryFabricFriendlyName": "cloud1", + "failoverDeploymentModel": "ResourceManager", + "replicationProviders": [ + "InMageRcmFailback" + ], + "allowedOperations": [ + "PlannedFailover" + ], + "lastPlannedFailoverTime": "2021-02-24T07:33:49.1372448Z", + "lastTestFailoverTime": "1601-01-01T00:00:00.0000000Z", + "currentScenario": { + "scenarioName": "CancelFailover", + "jobId": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationJobs/5276a7bc-12a3-43a1-bc53-9bf80e0be87b", + "startTime": "2021-02-24T08:52:42.1587592Z" + }, + "currentScenarioStatus": "Succeeded", + "currentScenarioStatusDescription": "Completed", + "groups": [] + } + } + }, + "202": {} + } +} diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Create.json index ef172d895b2a..c63c9af31c78 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Create.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "vCenterName": "esx-78", + "vcenterName": "esx-78", "fabricName": "MadhaviFabric", "api-version": "2021-02-10", "resourceName": "MadhaviVault", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Delete.json index 46dfe1d12c91..b7880053dff6 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Delete.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "vCenterName": "esx-78", + "vcenterName": "esx-78", "fabricName": "MadhaviFabric", "api-version": "2021-02-10", "resourceName": "MadhaviVault", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Get.json index 811f5b9a2b65..3a2928042471 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Get.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "vCenterName": "esx-78", + "vcenterName": "esx-78", "fabricName": "MadhaviFabric", "api-version": "2021-02-10", "resourceName": "MadhaviVault", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Update.json index 96a33536a7b7..c4e89a5301d8 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Update.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/examples/ReplicationvCenters_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "vCenterName": "esx-78", + "vcenterName": "esx-78", "fabricName": "MadhaviFabric", "api-version": "2021-02-10", "resourceName": "MadhaviVault", diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/service.json index 9fe0c9a98d7e..7a5e0c03073a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/service.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2021-02-10/service.json @@ -18,7 +18,7 @@ "application/json" ], "paths": { - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations": { "get": { "tags": [ "Operations" @@ -58,7 +58,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings": { "get": { "tags": [ "ReplicationAlertSettings" @@ -101,7 +101,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}": { "get": { "tags": [ "ReplicationAlertSettings" @@ -198,6 +198,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Configures email notifications for this vault.": { "$ref": "./examples/ReplicationAlertSettings_Create.json" @@ -205,7 +206,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults": { "get": { "tags": [ "ReplicationEligibilityResults" @@ -249,7 +250,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default": { "get": { "tags": [ "ReplicationEligibilityResults" @@ -293,7 +294,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents": { "get": { "tags": [ "ReplicationEvents" @@ -344,7 +345,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}": { "get": { "tags": [ "ReplicationEvents" @@ -391,12 +392,12 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics": { "get": { "tags": [ "ReplicationFabrics" ], - "summary": "Gets the list of ASR fabrics", + "summary": "Gets the list of ASR fabrics.", "description": "Gets a list of the Azure Site Recovery fabrics in the vault.", "operationId": "ReplicationFabrics_List", "produces": [ @@ -428,13 +429,13 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "Gets the list of ASR fabrics": { + "Gets the list of ASR fabrics.": { "$ref": "./examples/ReplicationFabrics_List.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}": { "get": { "tags": [ "ReplicationFabrics" @@ -464,6 +465,13 @@ "description": "Fabric name.", "required": true, "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" } ], "responses": { @@ -474,6 +482,7 @@ } } }, + "x-ms-odata": "#/definitions/FabricQueryParameter", "x-ms-examples": { "Gets the details of an ASR fabric.": { "$ref": "./examples/ReplicationFabrics_Get.json" @@ -485,7 +494,7 @@ "ReplicationFabrics" ], "summary": "Creates an Azure Site Recovery fabric.", - "description": "The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site)", + "description": "The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).", "operationId": "ReplicationFabrics_Create", "consumes": [ "application/json" @@ -548,9 +557,6 @@ "summary": "Purges the site.", "description": "The operation to purge(force delete) an Azure Site Recovery fabric.", "operationId": "ReplicationFabrics_Purge", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -588,7 +594,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency": { "post": { "tags": [ "ReplicationFabrics" @@ -639,7 +645,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad": { "post": { "tags": [ "ReplicationFabrics" @@ -647,9 +653,6 @@ "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" @@ -687,7 +690,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway": { "post": { "tags": [ "ReplicationFabrics" @@ -750,7 +753,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove": { "post": { "tags": [ "ReplicationFabrics" @@ -758,9 +761,6 @@ "summary": "Deletes the site.", "description": "The operation to delete or remove an Azure Site Recovery fabric.", "operationId": "ReplicationFabrics_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -777,7 +777,7 @@ { "name": "fabricName", "in": "path", - "description": "ASR fabric to delete", + "description": "ASR fabric to delete.", "required": true, "type": "string" } @@ -798,7 +798,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate": { "post": { "tags": [ "ReplicationFabrics" @@ -861,13 +861,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks": { "get": { "tags": [ "ReplicationLogicalNetworks" ], "summary": "Gets the list of logical networks under a fabric.", - "description": "Lists all the logical networks of the Azure Site Recovery fabric", + "description": "Lists all the logical networks of the Azure Site Recovery fabric.", "operationId": "ReplicationLogicalNetworks_ListByReplicationFabrics", "produces": [ "application/json" @@ -911,7 +911,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}": { "get": { "tags": [ "ReplicationLogicalNetworks" @@ -965,7 +965,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks": { "get": { "tags": [ "ReplicationNetworks" @@ -992,7 +992,7 @@ { "name": "fabricName", "in": "path", - "description": "Fabric name", + "description": "Fabric name.", "required": true, "type": "string" } @@ -1015,7 +1015,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}": { "get": { "tags": [ "ReplicationNetworks" @@ -1069,7 +1069,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings": { "get": { "tags": [ "ReplicationNetworkMappings" @@ -1126,13 +1126,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}": { "get": { "tags": [ "ReplicationNetworkMappings" ], "summary": "Gets network mapping by name.", - "description": "Gets the details of an ASR network mapping", + "description": "Gets the details of an ASR network mapping.", "operationId": "ReplicationNetworkMappings_Get", "produces": [ "application/json" @@ -1268,9 +1268,6 @@ "summary": "Delete network mapping.", "description": "The operation to delete a network mapping.", "operationId": "ReplicationNetworkMappings_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -1397,7 +1394,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers": { "get": { "tags": [ "ReplicationProtectionContainers" @@ -1447,7 +1444,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}": { "get": { "tags": [ "ReplicationProtectionContainers" @@ -1569,13 +1566,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem": { "post": { "tags": [ "ReplicationProtectionContainers" ], "summary": "Adds a protectable item to the replication protection container.", - "description": "The operation to a add a protectable item to a protection container(Add physical server.)", + "description": "The operation to a add a protectable item to a protection container(Add physical server).", "operationId": "ReplicationProtectionContainers_DiscoverProtectableItem", "consumes": [ "application/json" @@ -1639,7 +1636,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove": { "post": { "tags": [ "ReplicationProtectionContainers" @@ -1647,9 +1644,6 @@ "summary": "Removes a protection container.", "description": "Operation to remove a protection container.", "operationId": "ReplicationProtectionContainers_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -1694,7 +1688,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems": { "get": { "tags": [ "ReplicationMigrationItems" @@ -1731,6 +1725,27 @@ "description": "Protection container name.", "required": true, "type": "string" + }, + { + "name": "skipToken", + "in": "query", + "description": "The pagination token.", + "required": false, + "type": "string" + }, + { + "name": "takeToken", + "in": "query", + "description": "The page size.", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" } ], "responses": { @@ -1744,6 +1759,7 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, + "x-ms-odata": "#/definitions/MigrationItemsQueryParameter", "x-ms-examples": { "Gets the list of migration items in the protection container.": { "$ref": "./examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json" @@ -1751,7 +1767,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}": { "get": { "tags": [ "ReplicationMigrationItems" @@ -1892,9 +1908,6 @@ "summary": "Delete the migration item.", "description": "The operation to delete an ASR migration item.", "operationId": "ReplicationMigrationItems_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -2028,7 +2041,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate": { "post": { "tags": [ "ReplicationMigrationItems" @@ -2105,7 +2118,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints": { "get": { "tags": [ "MigrationRecoveryPoints" @@ -2168,7 +2181,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}": { "get": { "tags": [ "MigrationRecoveryPoints" @@ -2235,7 +2248,84 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resync": { + "post": { + "tags": [ + "ReplicationMigrationItems" + ], + "summary": "Resynchronizes replication.", + "description": "The operation to resynchronize replication of an ASR migration item.", + "operationId": "ReplicationMigrationItems_Resync", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Fabric name.", + "required": true, + "type": "string" + }, + { + "name": "protectionContainerName", + "in": "path", + "description": "Protection container name.", + "required": true, + "type": "string" + }, + { + "name": "migrationItemName", + "in": "path", + "description": "Migration item name.", + "required": true, + "type": "string" + }, + { + "name": "input", + "in": "body", + "description": "Resync input.", + "required": true, + "schema": { + "$ref": "#/definitions/ResyncInput" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrationItem" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Resynchronizes replication.": { + "$ref": "./examples/ReplicationMigrationItems_Resync.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate": { "post": { "tags": [ "ReplicationMigrationItems" @@ -2312,7 +2402,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup": { "post": { "tags": [ "ReplicationMigrationItems" @@ -2389,7 +2479,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems": { "get": { "tags": [ "ReplicationProtectableItems" @@ -2433,6 +2523,20 @@ "description": "OData filter options.", "required": false, "type": "string" + }, + { + "name": "$take", + "in": "query", + "description": "take OData query parameter.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "skipToken OData query parameter.", + "required": false, + "type": "string" } ], "responses": { @@ -2454,7 +2558,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}": { "get": { "tags": [ "ReplicationProtectableItems" @@ -2515,7 +2619,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems": { "get": { "tags": [ "ReplicationProtectedItems" @@ -2572,7 +2676,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}": { "get": { "tags": [ "ReplicationProtectedItems" @@ -2714,9 +2818,6 @@ "summary": "Purges protection.", "description": "The operation to delete or purge a replication protected item. This operation will force delete the replication protected item. Use the remove operation on replication protected item to perform a clean disable replication for the item.", "operationId": "ReplicationProtectedItems_Purge", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -2771,7 +2872,7 @@ "tags": [ "ReplicationProtectedItems" ], - "summary": "Updates protection.", + "summary": "Updates the replication protected item settings.", "description": "The operation to update the recovery settings of an ASR replication protected item.", "operationId": "ReplicationProtectedItems_Update", "consumes": [ @@ -2837,13 +2938,13 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Updates protection.": { + "Updates the replication protected Item settings.": { "$ref": "./examples/ReplicationProtectedItems_Update.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks": { "post": { "tags": [ "ReplicationProtectedItems" @@ -2920,7 +3021,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint": { "post": { "tags": [ "ReplicationProtectedItems" @@ -2964,7 +3065,7 @@ { "name": "replicatedProtectedItemName", "in": "path", - "description": "The replicated protected item's name.", + "description": "The replicated protected item name.", "required": true, "type": "string" }, @@ -2997,12 +3098,77 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCancel": { + "post": { + "tags": [ + "ReplicationProtectedItems" + ], + "summary": "Execute cancel failover.", + "description": "Operation to cancel the failover of the replication protected item.", + "operationId": "ReplicationProtectedItems_FailoverCancel", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Unique fabric name.", + "required": true, + "type": "string" + }, + { + "name": "protectionContainerName", + "in": "path", + "description": "Protection container name.", + "required": true, + "type": "string" + }, + { + "name": "replicatedProtectedItemName", + "in": "path", + "description": "Replication protected item name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ReplicationProtectedItem" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Execute cancel failover.": { + "$ref": "./examples/ReplicationProtectedItems_FailoverCancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit": { "post": { "tags": [ "ReplicationProtectedItems" ], - "summary": "Execute commit failover", + "summary": "Execute commit failover.", "description": "Operation to commit the failover of the replication protected item.", "operationId": "ReplicationProtectedItems_FailoverCommit", "produces": [ @@ -3056,18 +3222,18 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Execute commit failover": { + "Execute commit failover.": { "$ref": "./examples/ReplicationProtectedItems_FailoverCommit.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover": { "post": { "tags": [ "ReplicationProtectedItems" ], - "summary": "Execute planned failover", + "summary": "Execute planned failover.", "description": "Operation to initiate a planned failover of the replication protected item.", "operationId": "ReplicationProtectedItems_PlannedFailover", "consumes": [ @@ -3113,7 +3279,7 @@ { "name": "failoverInput", "in": "body", - "description": "Disable protection input.", + "description": "Planned failover input.", "required": true, "schema": { "$ref": "#/definitions/PlannedFailoverInput" @@ -3133,18 +3299,18 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Execute planned failover": { + "Execute planned failover.": { "$ref": "./examples/ReplicationProtectedItems_PlannedFailover.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints": { "get": { "tags": [ "RecoveryPoints" ], - "summary": "Get recovery points for a replication protected item.", + "summary": "Gets the list of recovery points for a replication protected item.", "description": "Lists the available recovery points for a replication protected item.", "operationId": "RecoveryPoints_ListByReplicationProtectedItems", "produces": [ @@ -3180,7 +3346,7 @@ { "name": "replicatedProtectedItemName", "in": "path", - "description": "The replication protected item's name.", + "description": "The replication protected item name.", "required": true, "type": "string" } @@ -3197,18 +3363,18 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "Get recovery points for a replication protected item.": { + "Gets the list of recovery points for a replication protected item.": { "$ref": "./examples/RecoveryPoints_ListByReplicationProtectedItems.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}": { "get": { "tags": [ "RecoveryPoints" ], - "summary": "Get a recovery point.", + "summary": "Gets a recovery point.", "description": "Get the details of specified recovery point.", "operationId": "RecoveryPoints_Get", "produces": [ @@ -3244,7 +3410,7 @@ { "name": "replicatedProtectedItemName", "in": "path", - "description": "The replication protected item's name.", + "description": "The replication protected item name.", "required": true, "type": "string" }, @@ -3265,13 +3431,13 @@ } }, "x-ms-examples": { - "Get a recovery point.": { + "Gets a recovery point.": { "$ref": "./examples/RecoveryPoints_Get.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove": { "post": { "tags": [ "ReplicationProtectedItems" @@ -3282,9 +3448,6 @@ "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -3345,7 +3508,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks": { "post": { "tags": [ "ReplicationProtectedItems" @@ -3422,7 +3585,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication": { "post": { "tags": [ "ReplicationProtectedItems" @@ -3487,12 +3650,12 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect": { "post": { "tags": [ "ReplicationProtectedItems" ], - "summary": "Execute Reverse Replication\\Reprotect", + "summary": "Execute Reverse Replication\\Reprotect.", "description": "Operation to reprotect or reverse replicate a failed over replication protected item.", "operationId": "ReplicationProtectedItems_Reprotect", "consumes": [ @@ -3536,9 +3699,9 @@ "type": "string" }, { - "name": "rrInput", + "name": "reprotectInput", "in": "body", - "description": "Disable protection input.", + "description": "Reverse replication input.", "required": true, "schema": { "$ref": "#/definitions/ReverseReplicationInput" @@ -3558,13 +3721,13 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Execute Reverse Replication\\Reprotect": { + "Execute Reverse Replication\\Reprotect.": { "$ref": "./examples/ReplicationProtectedItems_Reprotect.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/ResolveHealthErrors": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/resolveHealthErrors": { "post": { "tags": [ "ReplicationProtectedItems" @@ -3641,7 +3804,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes": { "get": { "tags": [ "TargetComputeSizes" @@ -3705,12 +3868,12 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover": { "post": { "tags": [ "ReplicationProtectedItems" ], - "summary": "Execute test failover", + "summary": "Execute test failover.", "description": "Operation to perform a test failover of the replication protected item.", "operationId": "ReplicationProtectedItems_TestFailover", "consumes": [ @@ -3754,7 +3917,7 @@ "type": "string" }, { - "name": "failoverInput", + "name": "testfailoverInput", "in": "body", "description": "Test failover input.", "required": true, @@ -3776,13 +3939,13 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Execute test failover": { + "Execute test failover.": { "$ref": "./examples/ReplicationProtectedItems_TestFailover.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup": { "post": { "tags": [ "ReplicationProtectedItems" @@ -3859,12 +4022,12 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover": { "post": { "tags": [ "ReplicationProtectedItems" ], - "summary": "Execute unplanned failover", + "summary": "Execute unplanned failover.", "description": "Operation to initiate a failover of the replication protected item.", "operationId": "ReplicationProtectedItems_UnplannedFailover", "consumes": [ @@ -3910,7 +4073,7 @@ { "name": "failoverInput", "in": "body", - "description": "Disable protection input.", + "description": "Failover input.", "required": true, "schema": { "$ref": "#/definitions/UnplannedFailoverInput" @@ -3930,13 +4093,13 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Execute unplanned failover": { + "Execute unplanned failover.": { "$ref": "./examples/ReplicationProtectedItems_UnplannedFailover.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService": { "post": { "tags": [ "ReplicationProtectedItems" @@ -4013,7 +4176,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings": { "get": { "tags": [ "ReplicationProtectionContainerMappings" @@ -4070,14 +4233,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}": { "get": { "tags": [ - "ReplicationProtectionIntents" + "ReplicationProtectionContainerMappings" ], - "summary": "Gets the list of replication protection intent objects.", - "description": "Gets the list of ASR replication protection intent objects in the vault.", - "operationId": "ReplicationProtectionIntents_List", + "summary": "Gets a protection container mapping.", + "description": "Gets the details of a protection container mapping.", + "operationId": "ReplicationProtectionContainerMappings_Get", "produces": [ "application/json" ], @@ -4093,34 +4256,53 @@ }, { "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Fabric name.", + "required": true, + "type": "string" + }, + { + "name": "protectionContainerName", + "in": "path", + "description": "Protection container name.", + "required": true, + "type": "string" + }, + { + "name": "mappingName", + "in": "path", + "description": "Protection Container mapping name.", + "required": true, + "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ReplicationProtectionIntentCollection" + "$ref": "#/definitions/ProtectionContainerMapping" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Gets the list of replication protection intent objects.": { - "$ref": "./examples/ReplicationProtectionIntents_List.json" + "Gets a protection container mapping.": { + "$ref": "./examples/ReplicationProtectionContainerMappings_Get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}": { - "get": { + }, + "put": { "tags": [ - "ReplicationProtectionIntent" + "ReplicationProtectionContainerMappings" + ], + "summary": "Create protection container mapping.", + "description": "The operation to create a protection container mapping.", + "operationId": "ReplicationProtectionContainerMappings_Create", + "consumes": [ + "application/json" ], - "summary": "Gets the details of a Replication protection intent item.", - "description": "Gets the details of an ASR replication protection intent.", - "operationId": "ReplicationProtectionIntents_Get", "produces": [ "application/json" ], @@ -4138,175 +4320,9 @@ "$ref": "#/parameters/SubscriptionId" }, { - "name": "intentObjectName", + "name": "fabricName", "in": "path", - "description": "Replication protection intent name.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ReplicationProtectionIntent" - } - } - }, - "x-ms-examples": { - "Gets the details of a Replication protection intent item.": { - "$ref": "./examples/ReplicationProtectionIntents_Get.json" - } - } - }, - "put": { - "tags": [ - "ReplicationProtectionIntent" - ], - "summary": "Create protection intent Resource.", - "description": "The operation to create an ASR replication protection intent item.", - "operationId": "ReplicationProtectionIntents_Create", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/ResourceName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "intentObjectName", - "in": "path", - "description": "A name for the replication protection item.", - "required": true, - "type": "string" - }, - { - "name": "input", - "in": "body", - "description": "Create Protection Intent Input.", - "required": true, - "schema": { - "$ref": "#/definitions/CreateProtectionIntentInput" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ReplicationProtectionIntent" - } - } - }, - "x-ms-examples": { - "Create protection intent Resource.": { - "$ref": "./examples/ReplicationProtectionIntents_Create.json" - } - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}": { - "get": { - "tags": [ - "ReplicationProtectionContainerMappings" - ], - "summary": "Gets a protection container mapping/", - "description": "Gets the details of a protection container mapping.", - "operationId": "ReplicationProtectionContainerMappings_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/ResourceName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "Fabric name.", - "required": true, - "type": "string" - }, - { - "name": "protectionContainerName", - "in": "path", - "description": "Protection container name.", - "required": true, - "type": "string" - }, - { - "name": "mappingName", - "in": "path", - "description": "Protection Container mapping name.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectionContainerMapping" - } - } - }, - "x-ms-examples": { - "Gets a protection container mapping/": { - "$ref": "./examples/ReplicationProtectionContainerMappings_Get.json" - } - } - }, - "put": { - "tags": [ - "ReplicationProtectionContainerMappings" - ], - "summary": "Create protection container mapping.", - "description": "The operation to create a protection container mapping.", - "operationId": "ReplicationProtectionContainerMappings_Create", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/ResourceName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "Fabric name.", + "description": "Fabric name.", "required": true, "type": "string" }, @@ -4357,11 +4373,8 @@ "ReplicationProtectionContainerMappings" ], "summary": "Purge protection container mapping.", - "description": "The operation to purge(force delete) a protection container mapping", + "description": "The operation to purge(force delete) a protection container mapping.", "operationId": "ReplicationProtectionContainerMappings_Purge", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -4488,7 +4501,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove": { "post": { "tags": [ "ReplicationProtectionContainerMappings" @@ -4499,9 +4512,6 @@ "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -4562,7 +4572,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection": { "post": { "tags": [ "ReplicationProtectionContainers" @@ -4632,7 +4642,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders": { "get": { "tags": [ "ReplicationRecoveryServicesProviders" @@ -4659,7 +4669,7 @@ { "name": "fabricName", "in": "path", - "description": "Fabric name", + "description": "Fabric name.", "required": true, "type": "string" } @@ -4682,7 +4692,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}": { "get": { "tags": [ "ReplicationRecoveryServicesProviders" @@ -4716,7 +4726,7 @@ { "name": "providerName", "in": "path", - "description": "Recovery services provider name", + "description": "Recovery services provider name.", "required": true, "type": "string" } @@ -4807,12 +4817,9 @@ "tags": [ "ReplicationRecoveryServicesProviders" ], - "summary": "Purges recovery service provider from fabric", + "summary": "Purges recovery service provider from fabric.", "description": "The operation to purge(force delete) a recovery services provider from the vault.", "operationId": "ReplicationRecoveryServicesProviders_Purge", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -4851,13 +4858,13 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Purges recovery service provider from fabric": { + "Purges recovery service provider from fabric.": { "$ref": "./examples/ReplicationRecoveryServicesProviders_Purge.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider": { "post": { "tags": [ "ReplicationRecoveryServicesProviders" @@ -4915,17 +4922,14 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove": { "post": { "tags": [ "ReplicationRecoveryServicesProviders" ], "summary": "Deletes provider from fabric. Note: Deleting provider for any fabric other than SingleHost is unsupported. To maintain backward compatibility for released clients the object \"deleteRspInput\" is used (if the object is empty we assume that it is old client and continue the old behavior).", - "description": "The operation to removes/delete(unregister) a recovery services provider from the vault", + "description": "The operation to removes/delete(unregister) a recovery services provider from the vault.", "operationId": "ReplicationRecoveryServicesProviders_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -4970,7 +4974,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications": { "get": { "tags": [ "ReplicationStorageClassifications" @@ -5020,7 +5024,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}": { "get": { "tags": [ "ReplicationStorageClassifications" @@ -5074,7 +5078,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings": { "get": { "tags": [ "ReplicationStorageClassificationMappings" @@ -5131,7 +5135,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}": { "get": { "tags": [ "ReplicationStorageClassificationMappings" @@ -5273,9 +5277,6 @@ "summary": "Delete a storage classification mapping.", "description": "The operation to delete a storage classification mapping.", "operationId": "ReplicationStorageClassificationMappings_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -5327,7 +5328,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters": { "get": { "tags": [ "ReplicationvCenters" @@ -5377,13 +5378,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vcenterName}": { "get": { "tags": [ "ReplicationvCenters" ], "summary": "Gets the details of a vCenter.", - "description": "Gets the details of a registered vCenter server(Add vCenter server.)", + "description": "Gets the details of a registered vCenter server(Add vCenter server).", "operationId": "ReplicationvCenters_Get", "produces": [ "application/json" @@ -5409,9 +5410,9 @@ "type": "string" }, { - "name": "vCenterName", + "name": "vcenterName", "in": "path", - "description": "vCenter name.", + "description": "vcenter name.", "required": true, "type": "string" } @@ -5464,9 +5465,9 @@ "type": "string" }, { - "name": "vCenterName", + "name": "vcenterName", "in": "path", - "description": "vCenter name.", + "description": "vcenter name.", "required": true, "type": "string" }, @@ -5502,12 +5503,9 @@ "tags": [ "ReplicationvCenters" ], - "summary": "Remove vCenter operation.", + "summary": "Remove vcenter operation.", "description": "The operation to remove(unregister) a registered vCenter server from the vault.", "operationId": "ReplicationvCenters_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -5529,9 +5527,9 @@ "type": "string" }, { - "name": "vCenterName", + "name": "vcenterName", "in": "path", - "description": "vCenter name.", + "description": "vcenter name.", "required": true, "type": "string" } @@ -5585,9 +5583,9 @@ "type": "string" }, { - "name": "vCenterName", + "name": "vcenterName", "in": "path", - "description": "vCenter name", + "description": "vcenter name.", "required": true, "type": "string" }, @@ -5620,7 +5618,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs": { "get": { "tags": [ "ReplicationJobs" @@ -5671,7 +5669,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}": { "get": { "tags": [ "ReplicationJobs" @@ -5698,7 +5696,7 @@ { "name": "jobName", "in": "path", - "description": "Job identifier", + "description": "Job identifier.", "required": true, "type": "string" } @@ -5718,7 +5716,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/cancel": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/cancel": { "post": { "tags": [ "ReplicationJobs" @@ -5769,7 +5767,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/restart": { "post": { "tags": [ "ReplicationJobs" @@ -5820,13 +5818,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/resume": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/resume": { "post": { "tags": [ "ReplicationJobs" ], "summary": "Resumes the specified job.", - "description": "The operation to resume an Azure Site Recovery job", + "description": "The operation to resume an Azure Site Recovery job.", "operationId": "ReplicationJobs_Resume", "consumes": [ "application/json" @@ -5883,7 +5881,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/export": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/export": { "post": { "tags": [ "ReplicationJobs" @@ -5939,7 +5937,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems": { "get": { "tags": [ "ReplicationMigrationItems" @@ -5969,6 +5967,13 @@ "required": false, "type": "string" }, + { + "name": "takeToken", + "in": "query", + "description": "The page size.", + "required": false, + "type": "string" + }, { "name": "$filter", "in": "query", @@ -5996,7 +6001,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings": { "get": { "tags": [ "ReplicationNetworkMappings" @@ -6039,13 +6044,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworks": { "get": { "tags": [ "ReplicationNetworks" ], "summary": "Gets the list of networks. View-only API.", - "description": "Lists the networks available in a vault", + "description": "Lists the networks available in a vault.", "operationId": "ReplicationNetworks_List", "produces": [ "application/json" @@ -6082,12 +6087,12 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies": { "get": { "tags": [ "ReplicationPolicies" ], - "summary": "Gets the list of replication policies", + "summary": "Gets the list of replication policies.", "description": "Lists the replication policies for a vault.", "operationId": "ReplicationPolicies_List", "produces": [ @@ -6119,13 +6124,13 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "Gets the list of replication policies": { + "Gets the list of replication policies.": { "$ref": "./examples/ReplicationPolicies_List.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}": { "get": { "tags": [ "ReplicationPolicies" @@ -6176,7 +6181,7 @@ "ReplicationPolicies" ], "summary": "Creates the policy.", - "description": "The operation to create a replication policy", + "description": "The operation to create a replication policy.", "operationId": "ReplicationPolicies_Create", "consumes": [ "application/json" @@ -6200,14 +6205,14 @@ { "name": "policyName", "in": "path", - "description": "Replication policy name", + "description": "Replication policy name.", "required": true, "type": "string" }, { "name": "input", "in": "body", - "description": "Create policy input", + "description": "Create policy input.", "required": true, "schema": { "$ref": "#/definitions/CreatePolicyInput" @@ -6239,9 +6244,6 @@ "summary": "Delete the policy.", "description": "The operation to delete a replication policy.", "operationId": "ReplicationPolicies_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -6314,7 +6316,7 @@ { "name": "input", "in": "body", - "description": "Update Policy Input", + "description": "Update Policy Input.", "required": true, "schema": { "$ref": "#/definitions/UpdatePolicyInput" @@ -6340,7 +6342,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems": { "get": { "tags": [ "ReplicationProtectedItems" @@ -6367,7 +6369,7 @@ { "name": "skipToken", "in": "query", - "description": "The pagination token. Possible values: \"FabricId\" or \"FabricId_CloudId\" or null", + "description": "The pagination token. Possible values: \"FabricId\" or \"FabricId_CloudId\" or null.", "required": false, "type": "string" }, @@ -6398,7 +6400,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings": { "get": { "tags": [ "ReplicationProtectionContainerMappings" @@ -6441,7 +6443,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers": { "get": { "tags": [ "ReplicationProtectionContainers" @@ -6484,14 +6486,14 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents": { "get": { "tags": [ - "ReplicationRecoveryPlans" + "ReplicationProtectionIntents" ], - "summary": "Gets the list of recovery plans.", - "description": "Lists the recovery plans in the vault.", - "operationId": "ReplicationRecoveryPlans_List", + "summary": "Gets the list of replication protection intent objects.", + "description": "Gets the list of ASR replication protection intent objects in the vault.", + "operationId": "ReplicationProtectionIntents_List", "produces": [ "application/json" ], @@ -6507,13 +6509,27 @@ }, { "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "skipToken", + "in": "query", + "description": "The pagination token.", + "required": false, + "type": "string" + }, + { + "name": "takeToken", + "in": "query", + "description": "The page size.", + "required": false, + "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RecoveryPlanCollection" + "$ref": "#/definitions/ReplicationProtectionIntentCollection" } } }, @@ -6521,20 +6537,20 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "Gets the list of recovery plans.": { - "$ref": "./examples/ReplicationRecoveryPlans_List.json" + "Gets the list of replication protection intent objects.": { + "$ref": "./examples/ReplicationProtectionIntents_List.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionIntents/{intentObjectName}": { "get": { "tags": [ - "ReplicationRecoveryPlans" + "ReplicationProtectionIntents" ], - "summary": "Gets the requested recovery plan.", - "description": "Gets the details of the recovery plan.", - "operationId": "ReplicationRecoveryPlans_Get", + "summary": "Gets the details of a Replication protection intent item.", + "description": "Gets the details of an ASR replication protection intent.", + "operationId": "ReplicationProtectionIntents_Get", "produces": [ "application/json" ], @@ -6552,9 +6568,9 @@ "$ref": "#/parameters/SubscriptionId" }, { - "name": "recoveryPlanName", + "name": "intentObjectName", "in": "path", - "description": "Name of the recovery plan.", + "description": "Replication protection intent name.", "required": true, "type": "string" } @@ -6563,23 +6579,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RecoveryPlan" + "$ref": "#/definitions/ReplicationProtectionIntent" } } }, "x-ms-examples": { - "Gets the requested recovery plan.": { - "$ref": "./examples/ReplicationRecoveryPlans_Get.json" + "Gets the details of a Replication protection intent item.": { + "$ref": "./examples/ReplicationProtectionIntents_Get.json" } } }, "put": { "tags": [ - "ReplicationRecoveryPlans" + "ReplicationProtectionIntents" ], - "summary": "Creates a recovery plan with the given details.", - "description": "The operation to create a recovery plan.", - "operationId": "ReplicationRecoveryPlans_Create", + "summary": "Create protection intent Resource.", + "description": "The operation to create an ASR replication protection intent item.", + "operationId": "ReplicationProtectionIntents_Create", "consumes": [ "application/json" ], @@ -6600,19 +6616,19 @@ "$ref": "#/parameters/SubscriptionId" }, { - "name": "recoveryPlanName", + "name": "intentObjectName", "in": "path", - "description": "Recovery plan name.", + "description": "A name for the replication protection item.", "required": true, "type": "string" }, { "name": "input", "in": "body", - "description": "Recovery Plan creation input.", + "description": "Create Protection Intent Input.", "required": true, "schema": { - "$ref": "#/definitions/CreateRecoveryPlanInput" + "$ref": "#/definitions/CreateProtectionIntentInput" } } ], @@ -6620,11 +6636,159 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RecoveryPlan" + "$ref": "#/definitions/ReplicationProtectionIntent" } - }, - "202": { - "description": "Accepted" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create protection intent Resource.": { + "$ref": "./examples/ReplicationProtectionIntents_Create.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans": { + "get": { + "tags": [ + "ReplicationRecoveryPlans" + ], + "summary": "Gets the list of recovery plans.", + "description": "Lists the recovery plans in the vault.", + "operationId": "ReplicationRecoveryPlans_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoveryPlanCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of recovery plans.": { + "$ref": "./examples/ReplicationRecoveryPlans_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}": { + "get": { + "tags": [ + "ReplicationRecoveryPlans" + ], + "summary": "Gets the requested recovery plan.", + "description": "Gets the details of the recovery plan.", + "operationId": "ReplicationRecoveryPlans_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "recoveryPlanName", + "in": "path", + "description": "Name of the recovery plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoveryPlan" + } + } + }, + "x-ms-examples": { + "Gets the requested recovery plan.": { + "$ref": "./examples/ReplicationRecoveryPlans_Get.json" + } + } + }, + "put": { + "tags": [ + "ReplicationRecoveryPlans" + ], + "summary": "Creates a recovery plan with the given details.", + "description": "The operation to create a recovery plan.", + "operationId": "ReplicationRecoveryPlans_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "recoveryPlanName", + "in": "path", + "description": "Recovery plan name.", + "required": true, + "type": "string" + }, + { + "name": "input", + "in": "body", + "description": "Recovery Plan creation input.", + "required": true, + "schema": { + "$ref": "#/definitions/CreateRecoveryPlanInput" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoveryPlan" + } + }, + "202": { + "description": "Accepted" } }, "x-ms-long-running-operation": true, @@ -6641,9 +6805,6 @@ "summary": "Deletes the specified recovery plan.", "description": "Delete a recovery plan.", "operationId": "ReplicationRecoveryPlans_Delete", - "produces": [ - "application/json" - ], "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -6716,7 +6877,7 @@ { "name": "input", "in": "body", - "description": "Update recovery plan input", + "description": "Update recovery plan input.", "required": true, "schema": { "$ref": "#/definitions/UpdateRecoveryPlanInput" @@ -6742,13 +6903,64 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCommit": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCancel": { + "post": { + "tags": [ + "ReplicationRecoveryPlans" + ], + "summary": "Execute cancel failover of the recovery plan.", + "description": "The operation to cancel the failover of a recovery plan.", + "operationId": "ReplicationRecoveryPlans_FailoverCancel", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/ResourceName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "recoveryPlanName", + "in": "path", + "description": "Recovery plan name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RecoveryPlan" + } + }, + "202": { + "description": "Accepted" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Execute cancel failover of the recovery plan.": { + "$ref": "./examples/ReplicationRecoveryPlans_FailoverCancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCommit": { "post": { "tags": [ "ReplicationRecoveryPlans" ], "summary": "Execute commit failover of the recovery plan.", - "description": "The operation to commit the fail over of a recovery plan.", + "description": "The operation to commit the failover of a recovery plan.", "operationId": "ReplicationRecoveryPlans_FailoverCommit", "produces": [ "application/json" @@ -6793,7 +7005,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/plannedFailover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/plannedFailover": { "post": { "tags": [ "ReplicationRecoveryPlans" @@ -6856,7 +7068,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/reProtect": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/reProtect": { "post": { "tags": [ "ReplicationRecoveryPlans" @@ -6907,7 +7119,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailover": { "post": { "tags": [ "ReplicationRecoveryPlans" @@ -6944,7 +7156,7 @@ { "name": "input", "in": "body", - "description": "Failover input.", + "description": "Recovery plan test failover input.", "required": true, "schema": { "$ref": "#/definitions/RecoveryPlanTestFailoverInput" @@ -6970,7 +7182,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailoverCleanup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailoverCleanup": { "post": { "tags": [ "ReplicationRecoveryPlans" @@ -7007,7 +7219,7 @@ { "name": "input", "in": "body", - "description": "Test failover cleanup input.", + "description": "Recovery plan test failover cleanup input.", "required": true, "schema": { "$ref": "#/definitions/RecoveryPlanTestFailoverCleanupInput" @@ -7033,13 +7245,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/unplannedFailover": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/unplannedFailover": { "post": { "tags": [ "ReplicationRecoveryPlans" ], "summary": "Execute unplanned failover of the recovery plan.", - "description": "The operation to start the failover of a recovery plan.", + "description": "The operation to start the unplanned failover of a recovery plan.", "operationId": "ReplicationRecoveryPlans_UnplannedFailover", "consumes": [ "application/json" @@ -7070,7 +7282,7 @@ { "name": "input", "in": "body", - "description": "Failover input.", + "description": "Recovery plan unplanned failover input.", "required": true, "schema": { "$ref": "#/definitions/RecoveryPlanUnplannedFailoverInput" @@ -7096,13 +7308,13 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders": { "get": { "tags": [ "ReplicationRecoveryServicesProviders" ], "summary": "Gets the list of registered recovery services providers in the vault. This is a view only api.", - "description": "Lists the registered recovery services providers in the vault", + "description": "Lists the registered recovery services providers in the vault.", "operationId": "ReplicationRecoveryServicesProviders_List", "produces": [ "application/json" @@ -7139,7 +7351,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings": { "get": { "tags": [ "ReplicationStorageClassificationMappings" @@ -7182,7 +7394,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications": { "get": { "tags": [ "ReplicationStorageClassifications" @@ -7225,12 +7437,12 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems": { "get": { "tags": [ "SupportedOperatingSystems" ], - "summary": "Gets the data of supported OSes by SRS.", + "summary": "Gets the data of supported operating systems by SRS.", "operationId": "SupportedOperatingSystems_Get", "produces": [ "application/json" @@ -7247,6 +7459,13 @@ }, { "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "instanceType", + "in": "query", + "description": "The instance type.", + "required": false, + "type": "string" } ], "responses": { @@ -7258,13 +7477,13 @@ } }, "x-ms-examples": { - "Gets the data of supported OSes by SRS.": { + "Gets the data of supported operating systems by SRS.": { "$ref": "./examples/SupportedOperatingSystems_Get.json" } } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth": { "get": { "tags": [ "ReplicationVaultHealth" @@ -7304,7 +7523,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth/default/refresh": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth/default/refresh": { "post": { "tags": [ "ReplicationVaultHealth" @@ -7347,7 +7566,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings": { "get": { "tags": [ "ReplicationVaultSetting" @@ -7390,7 +7609,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}": { "get": { "tags": [ "ReplicationVaultSetting" @@ -7487,6 +7706,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-examples": { "Updates vault setting. A vault setting object is a singleton per vault and it is always present by default.": { "$ref": "./examples/ReplicationVaultSetting_Create.json" @@ -7494,7 +7714,7 @@ } } }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationvCenters": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationvCenters": { "get": { "tags": [ "ReplicationvCenters" @@ -7567,6 +7787,9 @@ }, "A2AApplyRecoveryPointInput": { "description": "ApplyRecoveryPoint input specific to A2A provider.", + "required": [ + "instanceType" + ], "type": "object", "allOf": [ { @@ -7711,6 +7934,10 @@ "$ref": "#/definitions/A2AProtectionIntentManagedDiskInputDetails" } }, + "vmOSManagedDisk": { + "$ref": "#/definitions/A2AProtectionIntentOSManagedDiskInputDetails", + "description": "The vm os managed disk input." + }, "multiVmGroupName": { "description": "The multi vm group name.", "type": "string" @@ -7734,8 +7961,33 @@ }, "x-ms-discriminator-value": "A2A" }, - "A2AEnableProtectionInput": { - "description": "A2A enable protection input.", + "A2ACrossClusterMigrationApplyRecoveryPointInput": { + "description": "ApplyRecoveryPoint input specific to A2ACrossClusterMigration provider.", + "required": [ + "instanceType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ApplyRecoveryPointProviderSpecificInput" + } + ], + "properties": {}, + "x-ms-discriminator-value": "A2ACrossClusterMigration" + }, + "A2ACrossClusterMigrationContainerCreationInput": { + "description": "A2ACrossClusterMigration cloud creation input.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationProviderSpecificContainerCreationInput" + } + ], + "properties": {}, + "x-ms-discriminator-value": "A2ACrossClusterMigration" + }, + "A2ACrossClusterMigrationEnableProtectionInput": { + "description": "A2A Cross-Cluster Migration enable protection input.", "type": "object", "allOf": [ { @@ -7750,12 +8002,82 @@ "recoveryContainerId": { "description": "The recovery container Id.", "type": "string" - }, - "recoveryResourceGroupId": { - "description": "The recovery resource group Id. Valid for V2 scenarios.", + } + }, + "x-ms-discriminator-value": "A2ACrossClusterMigration" + }, + "A2ACrossClusterMigrationPolicyCreationInput": { + "description": "A2A Cross-Cluster Migration Policy creation input.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyProviderSpecificInput" + } + ], + "properties": {}, + "x-ms-discriminator-value": "A2ACrossClusterMigration" + }, + "A2ACrossClusterMigrationReplicationDetails": { + "description": "A2A provider specific settings.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationProviderSpecificSettings" + } + ], + "properties": { + "fabricObjectId": { + "description": "The fabric specific object Id of the virtual machine.", "type": "string" }, - "recoveryCloudServiceId": { + "primaryFabricLocation": { + "description": "Primary fabric location.", + "type": "string" + }, + "osType": { + "description": "The type of operating system.", + "type": "string" + }, + "vmProtectionState": { + "description": "The protection state for the vm.", + "type": "string" + }, + "vmProtectionStateDescription": { + "description": "The protection state description for the vm.", + "type": "string" + }, + "lifecycleId": { + "description": "An id associated with the PE that survives actions like switch protection which change the backing PE/CPE objects internally.The lifecycle id gets carried forward to have a link/continuity in being able to have an Id that denotes the \"same\" protected item even though other internal Ids/ARM Id might be changing.", + "type": "string" + } + }, + "x-ms-discriminator-value": "A2ACrossClusterMigration" + }, + "A2AEnableProtectionInput": { + "description": "A2A enable protection input.", + "required": [ + "fabricObjectId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EnableProtectionProviderSpecificInput" + } + ], + "properties": { + "fabricObjectId": { + "description": "The fabric specific object Id of the virtual machine.", + "type": "string" + }, + "recoveryContainerId": { + "description": "The recovery container Id.", + "type": "string" + }, + "recoveryResourceGroupId": { + "description": "The recovery resource group Id. Valid for V2 scenarios.", + "type": "string" + }, + "recoveryCloudServiceId": { "description": "The recovery cloud service Id. Valid for V1 scenarios.", "type": "string" }, @@ -7781,17 +8103,33 @@ "$ref": "#/definitions/A2AVmManagedDiskInputDetails" } }, + "autoProtectionOfDataDisk": { + "description": "A value indicating whether the auto protection is enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoProtectionOfDataDisk", + "modelAsString": true + } + }, "multiVmGroupName": { "description": "The multi vm group name.", "type": "string" }, + "multiVmGroupId": { + "description": "The multi vm group id.", + "type": "string" + }, "recoveryBootDiagStorageAccountId": { "description": "The boot diagnostic storage account.", "type": "string" }, "diskEncryptionInfo": { "$ref": "#/definitions/DiskEncryptionInfo", - "description": "The recovery disk encryption information." + "description": "The recovery disk encryption information (for two pass flows)." }, "recoveryAvailabilityZone": { "description": "The recovery availability zone.", @@ -7804,6 +8142,10 @@ "recoverySubnetName": { "description": "The recovery subnet name.", "type": "string" + }, + "recoveryVirtualMachineScaleSetId": { + "description": "The virtual machine scale set Id.", + "type": "string" } }, "x-ms-discriminator-value": "A2A" @@ -7844,26 +8186,6 @@ }, "x-ms-discriminator-value": "A2A" }, - "A2AFailoverProviderInput": { - "description": "A2A provider specific input for failover.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProviderSpecificFailoverInput" - } - ], - "properties": { - "recoveryPointId": { - "description": "The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.", - "type": "string" - }, - "cloudServiceCreationOption": { - "description": "A value indicating whether to use recovery cloud service for TFO or not.", - "type": "string" - } - }, - "x-ms-discriminator-value": "A2A" - }, "A2APolicyCreationInput": { "description": "A2A Policy creation input.", "required": [ @@ -8036,6 +8358,14 @@ "kekKeyVaultArmId": { "description": "The KeyVault resource id for key (KEK).", "type": "string" + }, + "failoverDiskName": { + "description": "The failover name for the managed disk.", + "type": "string" + }, + "tfoDiskName": { + "description": "The test failover name for the managed disk.", + "type": "string" } } }, @@ -8059,6 +8389,10 @@ "description": "Recovery replica disk Arm Id.", "type": "string" }, + "recoveryOrignalTargetDiskId": { + "description": "Recovery original target disk Arm Id.", + "type": "string" + }, "recoveryReplicaDiskAccountType": { "description": "The replica disk type. Its an optional value and will be same as source disk type if not user provided.", "type": "string" @@ -8071,6 +8405,10 @@ "description": "The recovery disk encryption set Id.", "type": "string" }, + "primaryDiskEncryptionSetId": { + "description": "The primary disk encryption set Id.", + "type": "string" + }, "diskName": { "description": "The disk name.", "type": "string" @@ -8193,7 +8531,7 @@ "x-ms-discriminator-value": "A2A" }, "A2AProtectionIntentDiskInputDetails": { - "description": "Azure VM disk input details.", + "description": "Azure VM unmanaged disk input details.", "required": [ "diskUri" ], @@ -8250,6 +8588,36 @@ } } }, + "A2AProtectionIntentOSManagedDiskInputDetails": { + "description": "Azure VM OS managed disk input details.", + "type": "object", + "properties": { + "primaryStagingStorageAccountCustomInput": { + "$ref": "#/definitions/StorageAccountCustomDetails", + "description": "The primary staging storage account input." + }, + "recoveryResourceGroupCustomInput": { + "$ref": "#/definitions/RecoveryResourceGroupCustomDetails", + "description": "The recovery resource group input." + }, + "recoveryReplicaDiskAccountType": { + "description": "The replica disk type. Its an optional value and will be same as source disk type if not user provided.", + "type": "string" + }, + "recoveryTargetDiskAccountType": { + "description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.", + "type": "string" + }, + "recoveryDiskEncryptionSetId": { + "description": "The recovery disk encryption set Id.", + "type": "string" + }, + "diskEncryptionInfo": { + "$ref": "#/definitions/DiskEncryptionInfo", + "description": "The recovery disk encryption information (for one / single pass flows)." + } + } + }, "A2ARecoveryPointDetails": { "description": "A2A provider specific recovery point details.", "type": "object", @@ -8320,23 +8688,23 @@ "description": "The fabric specific object Id of the virtual machine.", "type": "string" }, - "initialPrimaryFabricLocation": { - "description": "The initial primary fabric location.", + "initialPrimaryZone": { + "description": "The initial primary availability zone.", "type": "string", "readOnly": true }, - "initialRecoveryFabricLocation": { - "description": "The initial recovery fabric location.", + "initialPrimaryFabricLocation": { + "description": "The initial primary fabric location.", "type": "string", "readOnly": true }, - "initialPrimaryZone": { - "description": "The initial primary availability zone.", + "initialRecoveryZone": { + "description": "The initial recovery availability zone.", "type": "string", "readOnly": true }, - "initialRecoveryZone": { - "description": "The initial recovery availability zone.", + "initialRecoveryFabricLocation": { + "description": "The initial recovery fabric location.", "type": "string", "readOnly": true }, @@ -8458,10 +8826,25 @@ "description": "The agent version.", "type": "string" }, + "agentExpiryDate": { + "format": "date-time", + "description": "Agent expiry date.", + "type": "string" + }, "isReplicationAgentUpdateRequired": { "description": "A value indicating whether replication agent update is required.", "type": "boolean" }, + "agentCertificateExpiryDate": { + "format": "date-time", + "description": "Agent certificate expiry date.", + "type": "string", + "readOnly": true + }, + "isReplicationAgentCertificateUpdateRequired": { + "description": "A value indicating whether agent certificate update is required.", + "type": "boolean" + }, "recoveryFabricObjectId": { "description": "The recovery fabric object Id.", "type": "string" @@ -8492,6 +8875,10 @@ "description": "The time (in UTC) when the last RPO value was calculated by Protection Service.", "type": "string" }, + "primaryAvailabilityZone": { + "description": "The primary availability zone.", + "type": "string" + }, "recoveryAvailabilityZone": { "description": "The recovery availability zone.", "type": "string" @@ -8511,18 +8898,42 @@ } }, "tfoAzureVMName": { - "description": "The test failover VM name.", + "description": "The test failover vm name.", "type": "string" }, + "recoveryAzureGeneration": { + "description": "The recovery azure generation.", + "type": "string", + "readOnly": true + }, "recoveryProximityPlacementGroupId": { "description": "The recovery proximity placement group Id.", "type": "string" + }, + "autoProtectionOfDataDisk": { + "description": "A value indicating whether the auto protection is enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoProtectionOfDataDisk", + "modelAsString": true + } + }, + "recoveryVirtualMachineScaleSetId": { + "description": "The recovery virtual machine scale set id.", + "type": "string" } }, "x-ms-discriminator-value": "A2A" }, "A2AReplicationIntentDetails": { "description": "A2A provider specific settings.", + "required": [ + "recoveryAvailabilityType" + ], "type": "object", "allOf": [ { @@ -8534,10 +8945,6 @@ "description": "The fabric specific object Id of the virtual machine.", "type": "string" }, - "policyId": { - "description": "The ID of Policy governing this PE.", - "type": "string" - }, "primaryLocation": { "description": "The primary location for the virtual machine.", "type": "string" @@ -8550,57 +8957,45 @@ "description": "The recovery subscription Id of the virtual machine.", "type": "string" }, - "primaryFabricFriendlyName": { - "description": "The recovery fabric Name.", - "type": "string" - }, - "recoveryFabricFriendlyName": { - "description": "The recovery fabric Name.", - "type": "string" - }, - "primaryContainerFriendlyName": { - "description": "The primary container Name.", - "type": "string" - }, - "recoveryContainerFriendlyName": { - "description": "The recovery container Name.", - "type": "string" - }, - "recoveryAvailabilityType": { - "description": "The recovery availability type of the virtual machine.", - "type": "string" - }, "vmDisks": { "description": "The list of vm disk details.", "type": "array", "items": { - "$ref": "#/definitions/A2AVmDiskDetails" + "$ref": "#/definitions/A2AProtectionIntentDiskInputDetails" } }, "vmManagedDisks": { "description": "The list of vm managed disk details.", "type": "array", "items": { - "$ref": "#/definitions/A2AVmManagedDiskDetails" + "$ref": "#/definitions/A2AProtectionIntentManagedDiskInputDetails" } }, "recoveryResourceGroupId": { "description": "The recovery resource group id.", "type": "string" }, - "recoveryAvailabilitySetId": { - "description": "The recovery availability set Id.", - "type": "string" + "protectionProfile": { + "$ref": "#/definitions/ProtectionProfileCustomDetails", + "description": "The protection profile custom details." }, - "recoveryVirtualNetworkId": { - "description": "The recovery virtual network Id.", - "type": "string" + "primaryStagingStorageAccount": { + "$ref": "#/definitions/StorageAccountCustomDetails", + "description": "The primary staging storage account details." }, - "recoveryProximityPlacementGroupId": { - "description": "The recovery proximity placement group custom details.", - "type": "string" + "recoveryAvailabilitySet": { + "$ref": "#/definitions/RecoveryAvailabilitySetCustomDetails", + "description": "The recovery availability set details." + }, + "recoveryVirtualNetwork": { + "$ref": "#/definitions/RecoveryVirtualNetworkCustomDetails", + "description": "The recovery virtual network details." }, - "autoProtectionOfDataDiskStatus": { + "recoveryProximityPlacementGroup": { + "$ref": "#/definitions/RecoveryProximityPlacementGroupCustomDetails", + "description": "The recovery proximity placement group custom details." + }, + "autoProtectionOfDataDisk": { "description": "A value indicating whether the auto protection is enabled.", "enum": [ "Disabled", @@ -8608,7 +9003,7 @@ ], "type": "string", "x-ms-enum": { - "name": "AutoProtectionOfDataDiskStatus", + "name": "AutoProtectionOfDataDisk", "modelAsString": true } }, @@ -8620,9 +9015,9 @@ "description": "The multi vm group id.", "type": "string" }, - "recoveryBootDiagStorageAccountId": { - "description": "The boot diagnostic storage account.", - "type": "string" + "recoveryBootDiagStorageAccount": { + "$ref": "#/definitions/StorageAccountCustomDetails", + "description": "The boot diagnostic storage account." }, "diskEncryptionInfo": { "$ref": "#/definitions/DiskEncryptionInfo", @@ -8631,6 +9026,10 @@ "recoveryAvailabilityZone": { "description": "The recovery availability zone.", "type": "string" + }, + "recoveryAvailabilityType": { + "description": "The recovery availability type of the virtual machine.", + "type": "string" } }, "x-ms-discriminator-value": "A2A" @@ -8713,10 +9112,6 @@ "description": "The recovery availability set.", "type": "string" }, - "recoveryProximityPlacementGroupId": { - "description": "The recovery proximity placement group Id.", - "type": "string" - }, "policyId": { "description": "The Policy Id.", "type": "string" @@ -8725,6 +9120,18 @@ "description": "The boot diagnostic storage account.", "type": "string" }, + "recoveryAvailabilityZone": { + "description": "The recovery availability zone.", + "type": "string" + }, + "recoveryProximityPlacementGroupId": { + "description": "The recovery proximity placement group Id.", + "type": "string" + }, + "recoveryVirtualMachineScaleSetId": { + "description": "The virtual machine scale set id.", + "type": "string" + }, "diskEncryptionInfo": { "$ref": "#/definitions/DiskEncryptionInfo", "description": "The recovery disk encryption information." @@ -8780,6 +9187,18 @@ "format": "int32", "description": "The source lun Id for the data disk.", "type": "integer" + }, + "diskAutoProtectionStatus": { + "description": "A value indicating whether the disk auto protection is enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoProtectionOfDataDisk", + "modelAsString": true + } } } }, @@ -8843,19 +9262,28 @@ "$ref": "#/definitions/DiskEncryptionInfo", "description": "The recovery os disk encryption information." }, + "tfoAzureVMName": { + "description": "The user given name for Test Failover VM.", + "type": "string" + }, "recoveryProximityPlacementGroupId": { "description": "The recovery proximity placement group Id.", "type": "string" }, - "tfoAzureVMName": { - "description": "The user given name for test failover VM.", + "recoveryVirtualMachineScaleSetId": { + "description": "The recovery virtual machine scale set Id.", "type": "string" } }, "x-ms-discriminator-value": "A2A" }, - "A2AVmDiskDetails": { - "description": "Azure VM disk details.", + "A2AVmDiskInputDetails": { + "description": "A2A disk input details.", + "required": [ + "diskUri", + "recoveryAzureStorageAccountId", + "primaryStagingAzureStorageAccountId" + ], "type": "object", "properties": { "diskUri": { @@ -8872,60 +9300,13 @@ } } }, - "A2AVmDiskInputDetails": { - "description": "Azure VM disk input details.", - "type": "object", - "properties": { - "diskUri": { - "description": "The disk Uri.", - "type": "string" - }, - "recoveryAzureStorageAccountId": { - "description": "The recovery VHD storage account Id.", - "type": "string" - }, - "primaryStagingAzureStorageAccountId": { - "description": "The primary staging storage account Id.", - "type": "string" - } - } - }, - "A2AVmManagedDiskDetails": { - "description": "Azure VM managed disk input details.", - "type": "object", - "properties": { - "diskId": { - "description": "The disk Id.", - "type": "string" - }, - "primaryStagingAzureStorageAccountId": { - "description": "The primary staging storage account Arm Id.", - "type": "string" - }, - "recoveryResourceGroupId": { - "description": "The target resource group Arm Id.", - "type": "string" - }, - "recoveryReplicaDiskAccountType": { - "description": "The replica disk type.", - "type": "string" - }, - "recoveryTargetDiskAccountType": { - "description": "The target disk type after failover.", - "type": "string" - }, - "recoveryDiskEncryptionSetId": { - "description": "The recovery disk encryption set Id.", - "type": "string" - }, - "diskEncryptionInfo": { - "$ref": "#/definitions/DiskEncryptionInfo", - "description": "The recovery disk encryption information (for one / single pass flows)." - } - } - }, - "A2AVmManagedDiskInputDetails": { - "description": "Azure VM managed disk input details.", + "A2AVmManagedDiskInputDetails": { + "description": "A2A managed disk input details.", + "required": [ + "diskId", + "primaryStagingAzureStorageAccountId", + "recoveryResourceGroupId" + ], "type": "object", "properties": { "diskId": { @@ -8959,7 +9340,7 @@ } }, "A2AVmManagedDiskUpdateDetails": { - "description": "Azure VM managed disk update input details.", + "description": "A2A Vm managed disk update details.", "type": "object", "properties": { "diskId": { @@ -8976,7 +9357,7 @@ }, "diskEncryptionInfo": { "$ref": "#/definitions/DiskEncryptionInfo", - "description": "The recovery disk encryption information (for one / single pass flows)." + "description": "The recovery os disk encryption information." }, "failoverDiskName": { "description": "The target disk name for unplanned failover operation.", @@ -8988,6 +9369,20 @@ } } }, + "A2AZoneDetails": { + "description": "Zone details data.", + "type": "object", + "properties": { + "source": { + "description": "Source zone info.", + "type": "string" + }, + "target": { + "description": "The target zone info.", + "type": "string" + } + } + }, "AddDisksInput": { "description": "Input for add disk(s) operation.", "type": "object", @@ -9000,6 +9395,9 @@ }, "AddDisksInputProperties": { "description": "Add Disks input properties.", + "required": [ + "providerSpecificDetails" + ], "type": "object", "properties": { "providerSpecificDetails": { @@ -9049,6 +9447,10 @@ "description": "The Id of the machine where the provider is getting added.", "type": "string" }, + "biosId": { + "description": "The Bios Id of the machine.", + "type": "string" + }, "authenticationIdentityInput": { "$ref": "#/definitions/IdentityProviderInput", "description": "The identity provider input for DRA authentication." @@ -9124,7 +9526,7 @@ "readOnly": true }, "disks": { - "description": "The details of agent disks.", + "description": "The disks.", "type": "array", "items": { "$ref": "#/definitions/AgentDiskDetails" @@ -9221,6 +9623,9 @@ }, "ApplyRecoveryPointInput": { "description": "Input to apply recovery point.", + "required": [ + "properties" + ], "type": "object", "properties": { "properties": { @@ -9231,6 +9636,9 @@ }, "ApplyRecoveryPointInputProperties": { "description": "Input properties to apply recovery point.", + "required": [ + "providerSpecificDetails" + ], "type": "object", "properties": { "recoveryPointId": { @@ -9245,6 +9653,9 @@ }, "ApplyRecoveryPointProviderSpecificInput": { "description": "Provider specific input for apply recovery point.", + "required": [ + "instanceType" + ], "type": "object", "properties": { "instanceType": { @@ -9410,12 +9821,22 @@ "items": { "type": "string" } + }, + "zones": { + "description": "The zones.", + "type": "array", + "items": { + "$ref": "#/definitions/A2AZoneDetails" + } } }, "x-ms-discriminator-value": "Azure" }, "AzureToAzureCreateNetworkMappingInput": { "description": "Create network mappings input properties/behavior specific to Azure to Azure Network mapping.", + "required": [ + "primaryNetworkId" + ], "type": "object", "allOf": [ { @@ -9606,6 +10027,9 @@ }, "CreateNetworkMappingInput": { "description": "Create network mappings input.", + "required": [ + "properties" + ], "type": "object", "properties": { "properties": { @@ -9616,6 +10040,9 @@ }, "CreateNetworkMappingInputProperties": { "description": "Common input details for network mapping operation.", + "required": [ + "recoveryNetworkId" + ], "type": "object", "properties": { "recoveryFabricName": { @@ -9719,7 +10146,7 @@ "properties": { "providerSpecificDetails": { "$ref": "#/definitions/CreateProtectionIntentProviderSpecificDetails", - "description": "The ReplicationProviderInput. For A2A provider, it will be A2ACreateProtectionIntentInput object. For other providers, it can be null." + "description": "The ReplicationProviderInput. For A2A provider, it will be A2ACreateProtectionIntentInput object." } } }, @@ -9786,7 +10213,6 @@ }, "providerSpecificInput": { "description": "The provider specific input.", - "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/RecoveryPlanProviderSpecificInput" @@ -9800,16 +10226,19 @@ "properties": { "jobName": { "description": "The job name.", - "type": "string" + "type": "string", + "readOnly": true }, "jobId": { "description": "The ARM Id of the job being executed.", - "type": "string" + "type": "string", + "readOnly": true }, "startTime": { "format": "date-time", "description": "The start time of the job.", - "type": "string" + "type": "string", + "readOnly": true } } }, @@ -9833,7 +10262,7 @@ } }, "DataStore": { - "description": "The data store details of the MT.", + "description": "The datastore details of the MT.", "type": "object", "properties": { "symbolicName": { @@ -9860,6 +10289,9 @@ }, "DisableProtectionInput": { "description": "Disable protection input.", + "required": [ + "properties" + ], "type": "object", "properties": { "properties": { @@ -9930,7 +10362,7 @@ } }, "DiskDetails": { - "description": "On-prem disk details data.", + "description": "Onprem disk details data.", "type": "object", "properties": { "maxSizeMB": { @@ -9971,11 +10403,11 @@ "type": "object", "properties": { "secretIdentifier": { - "description": "The secret URL / identifier.", + "description": "The secret url / identifier.", "type": "string" }, "keyVaultResourceArmId": { - "description": "The KeyVault resource ARM Id for secret.", + "description": "The KeyVault resource ARM id for secret.", "type": "string" } } @@ -9999,19 +10431,19 @@ "type": "object", "properties": { "provider": { - "description": "The provider. The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with \"Microsoft\" for 1st party services. e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute.\"", + "description": "The provider. The localized friendly form of the resource provider name - it is expected to also include the publisher/company responsible. It should use Title Casing and begin with \"Microsoft\" for 1st party services. e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute.\".", "type": "string" }, "resource": { - "description": "The resource. The localized friendly form of the resource related to this action/operation – it should match the public documentation for the resource provider. It should use Title Casing. This value should be unique for a particular URL type (e.g. nested types should *not* reuse their parent’s display.resource field). e.g. \"Virtual Machines\" or \"Scheduler Job Collections\", or \"Virtual Machine VM Sizes\" or \"Scheduler Jobs\"", + "description": "The resource. The localized friendly form of the resource related to this action/operation - it should match the public documentation for the resource provider. It should use Title Casing. This value should be unique for a particular URL type (e.g. nested types should *not* reuse their parent's display.resource field). e.g. \"Virtual Machines\" or \"Scheduler Job Collections\", or \"Virtual Machine VM Sizes\" or \"Scheduler Jobs\".", "type": "string" }, "operation": { - "description": "The operation. The localized friendly name for the operation, as it should be shown to the user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing. Prescriptive guidance: Read Create or Update Delete 'ActionName'", + "description": "The operation. The localized friendly name for the operation, as it should be shown to the user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing. Prescriptive guidance: Read Create or Update Delete 'ActionName'.", "type": "string" }, "description": { - "description": "The description. The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise – it will be used in tool tips and detailed views. Prescriptive guidance for namespaces: Read any 'display.provider' resource Create or Update any 'display.provider' resource Delete any 'display.provider' resource Perform any other action on any 'display.provider' resource Prescriptive guidance for namespaces: Read any 'display.resource' Create or Update any 'display.resource' Delete any 'display.resource' 'ActionName' any 'display.resources'", + "description": "The description. The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise - it will be used in tool tips and detailed views. Prescriptive guidance for namespaces: Read any 'display.provider' resource Create or Update any 'display.provider' resource Delete any 'display.provider' resource Perform any other action on any 'display.provider' resource Prescriptive guidance for namespaces: Read any 'display.resource' Create or Update any 'display.resource' Delete any 'display.resource' 'ActionName' any 'display.resources'.", "type": "string" } } @@ -10030,8 +10462,13 @@ "type": "string", "readOnly": true }, + "biosId": { + "description": "The DRA Bios Id.", + "type": "string", + "readOnly": true + }, "version": { - "description": "The DRA version.", + "description": "The version.", "type": "string", "readOnly": true }, @@ -10042,7 +10479,7 @@ "readOnly": true }, "health": { - "description": "The health of the DRA.", + "description": "The health.", "enum": [ "None", "Normal", @@ -10221,6 +10658,10 @@ "description": "The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).", "type": "string" }, + "affectedObjectCorrelationId": { + "description": "The affected object correlationId for the event.", + "type": "string" + }, "severity": { "description": "The severity of the event.", "type": "string" @@ -10287,6 +10728,10 @@ "description": "The affected object name of the events to be queried.", "type": "string" }, + "affectedObjectCorrelationId": { + "description": "The affected object correlationId for the events to be queried.", + "type": "string" + }, "startTime": { "format": "date-time", "description": "The start time of the time range within which the events are to be queried.", @@ -10473,7 +10918,7 @@ } }, "FabricCreationInput": { - "description": "Site details provided during the time of site creation", + "description": "Site details provided during the time of site creation.", "type": "object", "properties": { "properties": { @@ -10483,7 +10928,7 @@ } }, "FabricCreationInputProperties": { - "description": "Properties of site details provided during the time of site creation", + "description": "Properties of site details provided during the time of site creation.", "type": "object", "properties": { "customDetails": { @@ -10533,12 +10978,42 @@ } } }, + "FabricQueryParameter": { + "description": "Query parameter to get fabric.", + "type": "object", + "properties": { + "zoneToZoneMappings": { + "description": "A value indicating whether the zone to zone mappings are to be returned.", + "type": "string" + }, + "fetchAgentDetails": { + "description": "A value indicating whether the agent details are to be fetched.", + "type": "string" + }, + "biosId": { + "description": "The BIOS Id to be used for fetching agent details.", + "type": "string" + }, + "fqdn": { + "description": "The FQDN to be used for fetching agent details.", + "type": "string" + }, + "discoveryType": { + "description": "The type of the discovered machine to be used for fetching agent details.", + "type": "string" + }, + "osType": { + "description": "The OS type to be used for fetching agent details.", + "type": "string" + } + } + }, "FabricReplicationGroupTaskDetails": { "description": "This class represents the fabric replication group task details.", "type": "object", "allOf": [ { - "$ref": "#/definitions/TaskTypeDetails" + "$ref": "#/definitions/JobTaskDetails" } ], "properties": { @@ -10549,10 +11024,6 @@ "skippedReasonString": { "description": "The skipped reason string.", "type": "string" - }, - "jobTask": { - "$ref": "#/definitions/JobEntity", - "description": "The job entity." } }, "x-ms-discriminator-value": "FabricReplicationGroupTaskDetails" @@ -10655,7 +11126,7 @@ } }, "updateType": { - "description": "A value for failover type. It can be systemlevel/serverlevel", + "description": "A value for failover type. It can be systemlevel/serverlevel.", "type": "string" } } @@ -10722,7 +11193,7 @@ "discriminator": "instanceType" }, "HealthError": { - "description": "Health Error", + "description": "Health Error.", "type": "object", "properties": { "innerHealthErrors": { @@ -10770,7 +11241,7 @@ }, "creationTimeUtc": { "format": "date-time", - "description": "Error creation time (UTC)", + "description": "Error creation time (UTC).", "type": "string" }, "recoveryProviderErrorMessage": { @@ -10816,7 +11287,11 @@ "Configuration", "FabricInfrastructure", "VersionExpiry", - "AgentAutoUpdate" + "AgentAutoUpdateInfra", + "AgentAutoUpdateArtifactDeleted", + "AgentAutoUpdateRunAsAccount", + "AgentAutoUpdateRunAsAccountExpiry", + "AgentAutoUpdateRunAsAccountExpired" ], "type": "string", "x-ms-enum": { @@ -10859,6 +11334,27 @@ } } }, + "HyperVHostDetails": { + "description": "Hyper-V host details.", + "type": "object", + "properties": { + "id": { + "description": "The Hyper-V host Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Hyper-V host name.", + "type": "string", + "readOnly": true + }, + "marsAgentVersion": { + "description": "The Mars agent version.", + "type": "string", + "readOnly": true + } + } + }, "HyperVReplica2012EventDetails": { "description": "Model class for event details of a HyperVReplica E2E event.", "type": "object", @@ -10917,6 +11413,9 @@ }, "HyperVReplicaAzureApplyRecoveryPointInput": { "description": "ApplyRecoveryPoint input specific to HyperVReplicaAzure provider.", + "required": [ + "instanceType" + ], "type": "object", "allOf": [ { @@ -10924,10 +11423,6 @@ } ], "properties": { - "vaultLocation": { - "description": "The vault location where the recovery Vm resides.", - "type": "string" - }, "primaryKekCertificatePfx": { "description": "The primary kek certificate pfx.", "type": "string" @@ -10939,8 +11434,39 @@ }, "x-ms-discriminator-value": "HyperVReplicaAzure" }, + "HyperVReplicaAzureDiskInputDetails": { + "description": "Disk input details.", + "type": "object", + "properties": { + "diskId": { + "description": "The DiskId.", + "type": "string" + }, + "logStorageAccountId": { + "description": "The LogStorageAccountId.", + "type": "string" + }, + "diskType": { + "description": "The DiskType.", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ], + "type": "string", + "x-ms-enum": { + "name": "DiskAccountType", + "modelAsString": true + } + }, + "diskEncryptionSetId": { + "description": "The DiskEncryptionSet ARM ID.", + "type": "string" + } + } + }, "HyperVReplicaAzureEnableProtectionInput": { - "description": "Azure specific enable protection input.", + "description": "HyperVReplicaAzure specific enable protection input.", "type": "object", "allOf": [ { @@ -10949,23 +11475,23 @@ ], "properties": { "hvHostVmId": { - "description": "The Hyper-V host Vm Id.", + "description": "The Hyper-V host VM Id.", "type": "string" }, "vmName": { - "description": "The Vm Name.", + "description": "The VM Name.", "type": "string" }, "osType": { - "description": "The OS type associated with vm.", + "description": "The OS type associated with VM.", "type": "string" }, "vhdId": { - "description": "The OS disk VHD id associated with vm.", + "description": "The OS disk VHD id associated with VM.", "type": "string" }, "targetStorageAccountId": { - "description": "The storage account name.", + "description": "The storage account Id.", "type": "string" }, "targetAzureNetworkId": { @@ -10977,11 +11503,11 @@ "type": "string" }, "enableRdpOnTargetOption": { - "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.", + "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.", "type": "string" }, "targetAzureVmName": { - "description": "The target azure Vm Name.", + "description": "The target azure VM Name.", "type": "string" }, "logStorageAccountId": { @@ -10989,7 +11515,7 @@ "type": "string" }, "disksToInclude": { - "description": "The list of VHD IDs of disks to be protected.", + "description": "The list of VHD Ids of disks to be protected.", "type": "array", "items": { "type": "string" @@ -11007,86 +11533,191 @@ "description": "A value indicating whether managed disks should be used during failover.", "type": "string" }, + "targetAvailabilitySetId": { + "description": "The target availability set ARM Id for resource manager deployment.", + "type": "string" + }, "targetAvailabilityZone": { "description": "The target availability zone.", "type": "string" }, - "targetProximityPlacementGroupId": { - "description": "The proximity placement group ARM Id.", - "type": "string" + "licenseType": { + "description": "License type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ], + "type": "string", + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true + } }, - "targetAvailabilitySetId": { - "description": "The availability set ARM Id.", - "type": "string" + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlServerLicenseType", + "modelAsString": true + } }, "targetVmSize": { "description": "The target VM size.", "type": "string" - } - }, - "x-ms-discriminator-value": "HyperVReplicaAzure" - }, - "HyperVReplicaAzureEventDetails": { - "description": "Model class for event details of a HyperVReplica E2A event.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EventProviderSpecificDetails" - } - ], - "properties": { - "containerName": { - "description": "The container friendly name.", - "type": "string" - }, - "fabricName": { - "description": "The fabric friendly name.", - "type": "string" }, - "remoteContainerName": { - "description": "The remote container name.", - "type": "string" - } - }, - "x-ms-discriminator-value": "HyperVReplicaAzure" - }, - "HyperVReplicaAzureFailbackProviderInput": { - "description": "HvrA provider specific input for failback.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProviderSpecificFailoverInput" - } - ], - "properties": { - "dataSyncOption": { - "description": "Data sync option.", + "targetProximityPlacementGroupId": { + "description": "The proximity placement group ARM Id.", "type": "string" }, - "recoveryVmCreationOption": { - "description": "ALR options to create alternate recovery.", + "useManagedDisksForReplication": { + "description": "A value indicating whether managed disks should be used during replication.", "type": "string" }, - "providerIdForAlternateRecovery": { - "description": "Provider ID for alternate location", + "diskType": { + "description": "The DiskType.", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ], + "type": "string", + "x-ms-enum": { + "name": "DiskAccountType", + "modelAsString": true + } + }, + "disksToIncludeForManagedDisks": { + "description": "The disks to include list for managed disks.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVReplicaAzureDiskInputDetails" + } + }, + "diskEncryptionSetId": { + "description": "The DiskEncryptionSet ARM Id.", + "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "seedManagedDiskTags": { + "description": "The tags for the seed managed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetManagedDiskTags": { + "description": "The tags for the target managed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "HyperVReplicaAzure" + }, + "HyperVReplicaAzureEventDetails": { + "description": "Model class for event details of a HyperVReplica E2A event.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventProviderSpecificDetails" + } + ], + "properties": { + "containerName": { + "description": "The container friendly name.", + "type": "string" + }, + "fabricName": { + "description": "The fabric friendly name.", + "type": "string" + }, + "remoteContainerName": { + "description": "The remote container name.", "type": "string" } }, - "x-ms-discriminator-value": "HyperVReplicaAzureFailback" + "x-ms-discriminator-value": "HyperVReplicaAzure" }, - "HyperVReplicaAzureFailoverProviderInput": { - "description": "HvrA provider specific input for failover.", + "HyperVReplicaAzureFailbackProviderInput": { + "description": "HyperVReplicaAzureFailback specific planned failover input.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ProviderSpecificFailoverInput" + "$ref": "#/definitions/PlannedFailoverProviderSpecificFailoverInput" } ], "properties": { - "vaultLocation": { - "description": "Location of the vault.", + "dataSyncOption": { + "description": "Data sync option.", + "type": "string" + }, + "recoveryVmCreationOption": { + "description": "ALR options to create alternate recovery.", + "type": "string" + }, + "providerIdForAlternateRecovery": { + "description": "Provider Id for alternate location.", + "type": "string" + } + }, + "x-ms-discriminator-value": "HyperVReplicaAzureFailback" + }, + "HyperVReplicaAzureManagedDiskDetails": { + "description": "Hyper-V Managed disk details.", + "type": "object", + "properties": { + "diskId": { + "description": "The disk Id.", + "type": "string" + }, + "seedManagedDiskId": { + "description": "Seed managed disk Id.", + "type": "string" + }, + "replicaDiskType": { + "description": "The replica disk type.", "type": "string" }, + "diskEncryptionSetId": { + "description": "The disk encryption set ARM Id.", + "type": "string" + } + } + }, + "HyperVReplicaAzurePlannedFailoverProviderInput": { + "description": "HyperVReplicaAzure specific planned failover input.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverProviderSpecificFailoverInput" + } + ], + "properties": { "primaryKekCertificatePfx": { "description": "Primary kek certificate pfx.", "type": "string" @@ -11276,7 +11907,7 @@ "type": "integer" }, "enableRdpOnTargetOption": { - "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.", + "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.", "type": "string" }, "recoveryAzureResourceGroupId": { @@ -11302,6 +11933,51 @@ "licenseType": { "description": "License Type of the VM to be used.", "type": "string" + }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "type": "string" + }, + "lastRecoveryPointReceived": { + "format": "date-time", + "description": "The last recovery point received time.", + "type": "string", + "readOnly": true + }, + "targetVmTags": { + "description": "The target VM tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "seedManagedDiskTags": { + "description": "The tags for the seed managed disks.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetManagedDiskTags": { + "description": "The tags for the target managed disks.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "protectedManagedDisks": { + "description": "The list of protected managed disks.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVReplicaAzureManagedDiskDetails" + } } }, "x-ms-discriminator-value": "HyperVReplicaAzure" @@ -11351,10 +12027,6 @@ } ], "properties": { - "vaultLocation": { - "description": "Location of the vault.", - "type": "string" - }, "primaryKekCertificatePfx": { "description": "Primary kek certificate pfx.", "type": "string" @@ -11379,10 +12051,6 @@ } ], "properties": { - "vaultLocation": { - "description": "Location of the vault.", - "type": "string" - }, "primaryKekCertificatePfx": { "description": "Primary kek certificate pfx.", "type": "string" @@ -11433,6 +12101,44 @@ "targetAvailabilityZone": { "description": "The target availability zone.", "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetManagedDiskTags": { + "description": "The tags for the target managed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlServerLicenseType", + "modelAsString": true + } } }, "x-ms-discriminator-value": "HyperVReplicaAzure" @@ -11515,7 +12221,7 @@ "type": "integer" }, "replicaDeletionOption": { - "description": "A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud", + "description": "A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud.", "type": "string" } }, @@ -11634,7 +12340,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/PolicyProviderSpecificInput" + "$ref": "#/definitions/HyperVReplicaPolicyInput" } ], "properties": { @@ -11642,50 +12348,6 @@ "format": "int32", "description": "A value indicating the replication interval.", "type": "integer" - }, - "recoveryPoints": { - "format": "int32", - "description": "A value indicating the number of recovery points.", - "type": "integer" - }, - "applicationConsistentSnapshotFrequencyInHours": { - "format": "int32", - "description": "A value indicating the application consistent frequency.", - "type": "integer" - }, - "compression": { - "description": "A value indicating whether compression has to be enabled.", - "type": "string" - }, - "initialReplicationMethod": { - "description": "A value indicating whether IR is online.", - "type": "string" - }, - "onlineReplicationStartTime": { - "description": "A value indicating the online IR start time.", - "type": "string" - }, - "offlineReplicationImportPath": { - "description": "A value indicating the offline IR import path.", - "type": "string" - }, - "offlineReplicationExportPath": { - "description": "A value indicating the offline IR export path.", - "type": "string" - }, - "replicationPort": { - "format": "int32", - "description": "A value indicating the recovery HTTPS port.", - "type": "integer" - }, - "allowedAuthenticationType": { - "format": "int32", - "description": "A value indicating the authentication type.", - "type": "integer" - }, - "replicaDeletion": { - "description": "A value indicating whether the VM has to be auto deleted.", - "type": "string" } }, "x-ms-discriminator-value": "HyperVReplica2012R2" @@ -11847,6 +12509,7 @@ "type": "string" } }, + "discriminator": "instanceType", "x-ms-discriminator-value": "HyperVReplica2012" }, "HyperVReplicaReplicationDetails": { @@ -11904,7 +12567,15 @@ "$ref": "#/definitions/FabricSpecificDetails" } ], - "properties": {}, + "properties": { + "hyperVHosts": { + "description": "The list of Hyper-V hosts associated with the fabric.", + "type": "array", + "items": { + "$ref": "#/definitions/HyperVHostDetails" + } + } + }, "x-ms-discriminator-value": "HyperVSite" }, "HyperVVirtualMachineDetails": { @@ -11936,7 +12607,7 @@ } }, "hasPhysicalDisk": { - "description": "A value indicating whether the VM has a physical disk attached. String value of {SrsDataContract.PresenceStatus} enum.", + "description": "A value indicating whether the VM has a physical disk attached. String value of SrsDataContract.PresenceStatus enum.", "enum": [ "Unknown", "Present", @@ -11949,7 +12620,7 @@ } }, "hasFibreChannelAdapter": { - "description": "A value indicating whether the VM has a fibre channel adapter attached. String value of {SrsDataContract.PresenceStatus} enum.", + "description": "A value indicating whether the VM has a fibre channel adapter attached. String value of SrsDataContract.PresenceStatus enum.", "enum": [ "Unknown", "Present", @@ -11962,7 +12633,7 @@ } }, "hasSharedVhd": { - "description": "A value indicating whether the VM has a shared VHD attached. String value of {SrsDataContract.PresenceStatus} enum.", + "description": "A value indicating whether the VM has a shared VHD attached. String value of SrsDataContract.PresenceStatus enum.", "enum": [ "Unknown", "Present", @@ -11975,6 +12646,7 @@ } } }, + "discriminator": "instanceType", "x-ms-discriminator-value": "HyperVVirtualMachine" }, "IdentityProviderDetails": { @@ -12120,54 +12792,18 @@ } } }, - "InMageAgentVersionDetails": { - "description": "InMage agent version details.", - "type": "object", - "properties": { - "postUpdateRebootStatus": { - "description": "A value indicating whether reboot is required after update is applied.", - "type": "string" - }, - "version": { - "description": "The agent version.", - "type": "string" - }, - "expiryDate": { - "format": "date-time", - "description": "Version expiry date.", - "type": "string" - }, - "status": { - "description": "A value indicating whether security update required.", - "enum": [ - "Supported", - "NotSupported", - "Deprecated", - "UpdateRequired", - "SecurityUpdateRequired" - ], - "type": "string", - "x-ms-enum": { - "name": "AgentVersionStatus", - "modelAsString": true - } - } - } - }, "InMageAzureV2ApplyRecoveryPointInput": { "description": "ApplyRecoveryPoint input specific to InMageAzureV2 provider.", + "required": [ + "instanceType" + ], "type": "object", "allOf": [ { "$ref": "#/definitions/ApplyRecoveryPointProviderSpecificInput" } ], - "properties": { - "vaultLocation": { - "description": "The vault location where the recovery Vm resides.", - "type": "string" - } - }, + "properties": {}, "x-ms-discriminator-value": "InMageAzureV2" }, "InMageAzureV2DiskInputDetails": { @@ -12219,7 +12855,7 @@ "type": "string" }, "storageAccountId": { - "description": "The storage account name.", + "description": "The storage account Id.", "type": "string" }, "runAsAccountId": { @@ -12227,11 +12863,11 @@ "type": "string" }, "multiVmGroupId": { - "description": "The multi vm group Id.", + "description": "The multi VM group Id.", "type": "string" }, "multiVmGroupName": { - "description": "The multi vm group name.", + "description": "The multi VM group name.", "type": "string" }, "disksToInclude": { @@ -12250,11 +12886,11 @@ "type": "string" }, "enableRdpOnTargetOption": { - "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.", + "description": "The selected option to enable RDP\\SSH on target VM after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.", "type": "string" }, "targetAzureVmName": { - "description": "The target azure Vm Name.", + "description": "The target azure VM Name.", "type": "string" }, "logStorageAccountId": { @@ -12282,8 +12918,8 @@ "modelAsString": true } }, - "diskEncryptionSetId": { - "description": "The DiskEncryptionSet ARM ID.", + "targetAvailabilitySetId": { + "description": "The target availability set ARM Id for resource manager deployment.", "type": "string" }, "targetAvailabilityZone": { @@ -12294,13 +12930,72 @@ "description": "The proximity placement group ARM Id.", "type": "string" }, - "targetAvailabilitySetId": { - "description": "The availability set ARM Id.", - "type": "string" + "licenseType": { + "description": "License type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ], + "type": "string", + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true + } + }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlServerLicenseType", + "modelAsString": true + } }, "targetVmSize": { "description": "The target VM size.", "type": "string" + }, + "diskEncryptionSetId": { + "description": "The DiskEncryptionSet ARM Id.", + "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "seedManagedDiskTags": { + "description": "The tags for the seed managed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetManagedDiskTags": { + "description": "The tags for the target managed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "x-ms-discriminator-value": "InMageAzureV2" @@ -12315,7 +13010,7 @@ ], "properties": { "eventType": { - "description": "InMage Event type. Takes one of the values of {InMageDataContract.InMageMonitoringEventType}.", + "description": "InMage Event type. Takes one of the values of InMageDataContract.InMageMonitoringEventType.", "type": "string" }, "category": { @@ -12345,26 +13040,6 @@ }, "x-ms-discriminator-value": "InMageAzureV2" }, - "InMageAzureV2FailoverProviderInput": { - "description": "InMageAzureV2 provider specific input for failover.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProviderSpecificFailoverInput" - } - ], - "properties": { - "vaultLocation": { - "description": "Location of the vault.", - "type": "string" - }, - "recoveryPointId": { - "description": "The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.", - "type": "string" - } - }, - "x-ms-discriminator-value": "InMageAzureV2" - }, "InMageAzureV2ManagedDiskDetails": { "description": "InMageAzureV2 Managed disk details.", "type": "object", @@ -12380,6 +13055,10 @@ "replicaDiskType": { "description": "The replica disk type.", "type": "string" + }, + "diskEncryptionSetId": { + "description": "The DiskEncryptionSet ARM ID.", + "type": "string" } } }, @@ -12538,6 +13217,39 @@ "format": "date-time", "description": "The last RPO calculated time.", "type": "string" + }, + "resyncProcessedBytes": { + "format": "int64", + "description": "The resync processed bytes.", + "type": "integer" + }, + "resyncTotalTransferredBytes": { + "format": "int64", + "description": "The resync total transferred bytes.", + "type": "integer" + }, + "resyncLast15MinutesTransferredBytes": { + "format": "int64", + "description": "The resync last 15 minutes transferred bytes.", + "type": "integer" + }, + "resyncLastDataTransferTimeUTC": { + "format": "date-time", + "description": "The last data transfer time in UTC.", + "type": "string" + }, + "resyncStartTime": { + "format": "date-time", + "description": "The resync start time.", + "type": "string" + }, + "progressHealth": { + "description": "The Progress Health.", + "type": "string" + }, + "progressStatus": { + "description": "The Progress Status.", + "type": "string" } } }, @@ -12558,7 +13270,7 @@ "x-ms-discriminator-value": "InMageAzureV2" }, "InMageAzureV2ReplicationDetails": { - "description": "InMageAzureV2 provider specific settings", + "description": "InMageAzureV2 provider specific settings.", "type": "object", "allOf": [ { @@ -12642,8 +13354,7 @@ }, "processServerName": { "description": "The process server name.", - "type": "string", - "readOnly": true + "type": "string" }, "multiVmGroupId": { "description": "The multi vm group Id.", @@ -12741,11 +13452,11 @@ "type": "string" }, "enableRdpOnTargetOption": { - "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.", + "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.", "type": "string" }, "datastores": { - "description": "The data stores of the on-premise machine. Value can be list of strings that contain data store names.", + "description": "The datastores of the on-premise machine. Value can be list of strings that contain datastore names.", "type": "array", "items": { "type": "string" @@ -12779,6 +13490,10 @@ "description": "License Type of the VM to be used.", "type": "string" }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "type": "string" + }, "validationErrors": { "description": "The validation errors of the on-premise machine Value can be list of validation errors.", "type": "array", @@ -12810,6 +13525,61 @@ "items": { "$ref": "#/definitions/InMageAzureV2ManagedDiskDetails" } + }, + "lastRecoveryPointReceived": { + "format": "date-time", + "description": "The last recovery point received time.", + "type": "string", + "readOnly": true + }, + "firmwareType": { + "description": "The firmware type of this protected item.", + "type": "string" + }, + "azureVmGeneration": { + "description": "The target generation for this protected item.", + "type": "string" + }, + "isAdditionalStatsAvailable": { + "description": "A value indicating whether additional IR stats are available or not.", + "type": "boolean" + }, + "totalDataTransferred": { + "format": "int64", + "description": "The total transferred data in bytes.", + "type": "integer" + }, + "totalProgressHealth": { + "description": "The progress health.", + "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "seedManagedDiskTags": { + "description": "The tags for the seed managed disks.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetManagedDiskTags": { + "description": "The tags for the target managed disks.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "x-ms-discriminator-value": "InMageAzureV2" @@ -12866,10 +13636,6 @@ } ], "properties": { - "vaultLocation": { - "description": "Location of the vault.", - "type": "string" - }, "recoveryPointId": { "description": "The recovery point id to be passed to test failover to a particular recovery point. In case of latest recovery point, null should be passed.", "type": "string" @@ -12886,10 +13652,6 @@ } ], "properties": { - "vaultLocation": { - "description": "Location of the vault.", - "type": "string" - }, "recoveryPointId": { "description": "The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.", "type": "string" @@ -12925,6 +13687,44 @@ "targetAvailabilityZone": { "description": "The target availability zone.", "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetManagedDiskTags": { + "description": "The tags for the target managed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlServerLicenseType", + "modelAsString": true + } } }, "x-ms-discriminator-value": "InMageAzureV2" @@ -12977,7 +13777,7 @@ "x-ms-discriminator-value": "InMage" }, "InMageDiskDetails": { - "description": "VMware/Physical specific Disk Details", + "description": "VMware/Physical specific Disk Details.", "type": "object", "properties": { "diskId": { @@ -13056,7 +13856,7 @@ ], "properties": { "vmFriendlyName": { - "description": "The Vm Name.", + "description": "The VM Name.", "type": "string" }, "masterTargetId": { @@ -13076,15 +13876,15 @@ "type": "string" }, "multiVmGroupId": { - "description": "The multi vm group Id.", + "description": "The multi VM group Id.", "type": "string" }, "multiVmGroupName": { - "description": "The multi vm group name.", + "description": "The multi VM group name.", "type": "string" }, "datastoreName": { - "description": "The target data store name.", + "description": "The target datastore name.", "type": "string" }, "diskExclusionInput": { @@ -13101,35 +13901,6 @@ }, "x-ms-discriminator-value": "InMage" }, - "InMageFailoverProviderInput": { - "description": "Provider specific input for InMage failover.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProviderSpecificFailoverInput" - } - ], - "properties": { - "recoveryPointType": { - "description": "The recovery point type. Values from LatestTime, LatestTag or Custom. In the case of custom, the recovery point provided by RecoveryPointId will be used. In the other two cases, recovery point id will be ignored.", - "enum": [ - "LatestTime", - "LatestTag", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "RecoveryPointType", - "modelAsString": true - } - }, - "recoveryPointId": { - "description": "The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.", - "type": "string" - } - }, - "x-ms-discriminator-value": "InMage" - }, "InMagePolicyDetails": { "description": "InMage specific protection profile details.", "type": "object", @@ -13275,6 +14046,39 @@ "format": "date-time", "description": "The last RPO calculated time.", "type": "string" + }, + "resyncProcessedBytes": { + "format": "int64", + "description": "The resync processed bytes.", + "type": "integer" + }, + "resyncTotalTransferredBytes": { + "format": "int64", + "description": "The resync total transferred bytes.", + "type": "integer" + }, + "resyncLast15MinutesTransferredBytes": { + "format": "int64", + "description": "The resync last 15 minutes transferred bytes.", + "type": "integer" + }, + "resyncLastDataTransferTimeUTC": { + "format": "date-time", + "description": "The last data transfer time in UTC.", + "type": "string" + }, + "resyncStartTime": { + "format": "date-time", + "description": "The resync start time.", + "type": "string" + }, + "progressHealth": { + "description": "The Progress Health.", + "type": "string" + }, + "progressStatus": { + "description": "The Progress Status.", + "type": "string" } } }, @@ -13322,6 +14126,10 @@ }, "InMageRcmApplyRecoveryPointInput": { "description": "ApplyRecoveryPoint input specific to InMageRcm provider.", + "required": [ + "recoveryPointId", + "instanceType" + ], "type": "object", "allOf": [ { @@ -13338,6 +14146,11 @@ }, "InMageRcmDiskInput": { "description": "InMageRcm disk input.", + "required": [ + "diskId", + "logStorageAccountId", + "diskType" + ], "type": "object", "properties": { "diskId": { @@ -13362,13 +14175,17 @@ } }, "diskEncryptionSetId": { - "description": "The disk encryption set ARM Id.", + "description": "The DiskEncryptionSet ARM Id.", "type": "string" } } }, "InMageRcmDisksDefaultInput": { "description": "InMageRcm disk input.", + "required": [ + "logStorageAccountId", + "diskType" + ], "type": "object", "properties": { "logStorageAccountId": { @@ -13389,13 +14206,18 @@ } }, "diskEncryptionSetId": { - "description": "The disk encryption set ARM Id.", + "description": "The DiskEncryptionSet ARM Id.", "type": "string" } } }, "InMageRcmEnableProtectionInput": { "description": "InMageRcm specific enable protection input.", + "required": [ + "fabricDiscoveryMachineId", + "targetResourceGroupId", + "processServerId" + ], "type": "object", "allOf": [ { @@ -13504,140 +14326,692 @@ "description": "The protected item name.", "type": "string", "readOnly": true - } - }, - "x-ms-discriminator-value": "InMageRcm" - }, - "InMageRcmFabricCreationInput": { - "description": "InMageRcm fabric provider specific settings.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/FabricSpecificCreationInput" - } - ], - "properties": { - "vmwareSiteId": { - "description": "The ARM Id of the VMware site.", - "type": "string" }, - "physicalSiteId": { - "description": "The ARM Id of the physical site.", - "type": "string" + "vmName": { + "description": "The protected item name.", + "type": "string", + "readOnly": true }, - "sourceAgentIdentity": { - "$ref": "#/definitions/IdentityProviderInput", + "latestAgentVersion": { + "description": "The latest agent version.", + "type": "string", + "readOnly": true + }, + "jobId": { + "description": "The job Id.", + "type": "string", + "readOnly": true + }, + "fabricName": { + "description": "The fabric name.", + "type": "string", + "readOnly": true + }, + "applianceName": { + "description": "The appliance name.", + "type": "string", + "readOnly": true + }, + "serverType": { + "description": "The server type.", + "type": "string", + "readOnly": true + }, + "componentDisplayName": { + "description": "The component display name.", + "type": "string", + "readOnly": true + } + }, + "x-ms-discriminator-value": "InMageRcm" + }, + "InMageRcmFabricCreationInput": { + "description": "InMageRcm fabric provider specific settings.", + "required": [ + "vmwareSiteId", + "physicalSiteId", + "sourceAgentIdentity" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricSpecificCreationInput" + } + ], + "properties": { + "vmwareSiteId": { + "description": "The ARM Id of the VMware site.", + "type": "string" + }, + "physicalSiteId": { + "description": "The ARM Id of the physical site.", + "type": "string" + }, + "sourceAgentIdentity": { + "$ref": "#/definitions/IdentityProviderInput", "description": "The identity provider input for source agent authentication." + } + }, + "x-ms-discriminator-value": "InMageRcm" + }, + "InMageRcmFabricSpecificDetails": { + "description": "InMageRcm fabric specific details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FabricSpecificDetails" + } + ], + "properties": { + "vmwareSiteId": { + "description": "The ARM Id of the VMware site.", + "type": "string", + "readOnly": true + }, + "physicalSiteId": { + "description": "The ARM Id of the physical site.", + "type": "string", + "readOnly": true + }, + "serviceEndpoint": { + "description": "The service endpoint.", + "type": "string", + "readOnly": true + }, + "serviceResourceId": { + "description": "The service resource Id.", + "type": "string", + "readOnly": true + }, + "serviceContainerId": { + "description": "The service container Id.", + "type": "string", + "readOnly": true + }, + "dataPlaneUri": { + "description": "The data plane Uri.", + "type": "string", + "readOnly": true + }, + "controlPlaneUri": { + "description": "The control plane Uri.", + "type": "string", + "readOnly": true + }, + "processServers": { + "description": "The list of process servers.", + "type": "array", + "items": { + "$ref": "#/definitions/ProcessServerDetails" + }, + "readOnly": true + }, + "rcmProxies": { + "description": "The list of RCM proxies.", + "type": "array", + "items": { + "$ref": "#/definitions/RcmProxyDetails" + }, + "readOnly": true + }, + "pushInstallers": { + "description": "The list of push installers.", + "type": "array", + "items": { + "$ref": "#/definitions/PushInstallerDetails" + }, + "readOnly": true + }, + "replicationAgents": { + "description": "The list of replication agents.", + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationAgentDetails" + }, + "readOnly": true + }, + "reprotectAgents": { + "description": "The list of reprotect agents.", + "type": "array", + "items": { + "$ref": "#/definitions/ReprotectAgentDetails" + }, + "readOnly": true + }, + "marsAgents": { + "description": "The list of Mars agents.", + "type": "array", + "items": { + "$ref": "#/definitions/MarsAgentDetails" + }, + "readOnly": true + }, + "dras": { + "description": "The list of DRAs.", + "type": "array", + "items": { + "$ref": "#/definitions/DraDetails" + }, + "readOnly": true + }, + "agentDetails": { + "description": "The list of agent details.", + "type": "array", + "items": { + "$ref": "#/definitions/AgentDetails" + }, + "readOnly": true + } + }, + "x-ms-discriminator-value": "InMageRcm" + }, + "InMageRcmFailbackEventDetails": { + "description": "Event details for InMageRcmFailback provider.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventProviderSpecificDetails" + } + ], + "properties": { + "protectedItemName": { + "description": "The protected item name.", + "type": "string", + "readOnly": true + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, + "InMageRcmFailbackMobilityAgentDetails": { + "description": "InMageRcmFailback mobility agent details.", + "type": "object", + "properties": { + "version": { + "description": "The agent version.", + "type": "string", + "readOnly": true + }, + "latestVersion": { + "description": "The latest agent version available.", + "type": "string", + "readOnly": true + }, + "driverVersion": { + "description": "The driver version.", + "type": "string", + "readOnly": true + }, + "latestUpgradableVersionWithoutReboot": { + "description": "The latest upgradeable version available without reboot.", + "type": "string", + "readOnly": true + }, + "agentVersionExpiryDate": { + "format": "date-time", + "description": "The agent version expiry date.", + "type": "string", + "readOnly": true + }, + "driverVersionExpiryDate": { + "format": "date-time", + "description": "The driver version expiry date.", + "type": "string", + "readOnly": true + }, + "lastHeartbeatUtc": { + "format": "date-time", + "description": "The time of the last heartbeat received from the agent.", + "type": "string", + "readOnly": true + }, + "reasonsBlockingUpgrade": { + "description": "The whether update is possible or not.", + "type": "array", + "items": { + "enum": [ + "AlreadyOnLatestVersion", + "RebootRequired", + "AgentNoHeartbeat", + "RcmProxyNoHeartbeat", + "ProcessServerNoHeartbeat", + "IncompatibleApplianceVersion", + "NotProtected", + "UnsupportedProtectionScenario", + "DistroIsNotReported", + "DistroNotSupportedForUpgrade", + "MissingUpgradePath", + "InvalidAgentVersion", + "InvalidDriverVersion", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "AgentUpgradeBlockedReason", + "modelAsString": true + } + }, + "readOnly": true + }, + "isUpgradeable": { + "description": "A value indicating whether agent is upgradeable or not.", + "type": "string", + "readOnly": true + } + } + }, + "InMageRcmFailbackNicDetails": { + "description": "InMageRcmFailback NIC details.", + "type": "object", + "properties": { + "macAddress": { + "description": "The mac address.", + "type": "string", + "readOnly": true + }, + "networkName": { + "description": "The network name.", + "type": "string", + "readOnly": true + }, + "adapterType": { + "description": "The adapter type.", + "type": "string", + "readOnly": true + }, + "sourceIpAddress": { + "description": "The IP address.", + "type": "string", + "readOnly": true + } + } + }, + "InMageRcmFailbackPlannedFailoverProviderInput": { + "description": "Provider specific input for InMageRcmFailback failover.", + "required": [ + "recoveryPointType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PlannedFailoverProviderSpecificFailoverInput" + } + ], + "properties": { + "recoveryPointType": { + "description": "The recovery point type.", + "enum": [ + "ApplicationConsistent", + "CrashConsistent" + ], + "type": "string", + "x-ms-enum": { + "name": "InMageRcmFailbackRecoveryPointType", + "modelAsString": true + } + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, + "InMageRcmFailbackPolicyCreationInput": { + "description": "InMageRcmFailback policy creation input.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyProviderSpecificInput" + } + ], + "properties": { + "crashConsistentFrequencyInMinutes": { + "format": "int32", + "description": "The crash consistent snapshot frequency (in minutes).", + "type": "integer" + }, + "appConsistentFrequencyInMinutes": { + "format": "int32", + "description": "The app consistent snapshot frequency (in minutes).", + "type": "integer" + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, + "InMageRcmFailbackPolicyDetails": { + "description": "InMageRcm failback specific policy details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PolicyProviderSpecificDetails" + } + ], + "properties": { + "appConsistentFrequencyInMinutes": { + "format": "int32", + "description": "The app consistent snapshot frequency in minutes.", + "type": "integer" + }, + "crashConsistentFrequencyInMinutes": { + "format": "int32", + "description": "The crash consistent snapshot frequency in minutes.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, + "InMageRcmFailbackProtectedDiskDetails": { + "description": "InMageRcmFailback protected disk details.", + "type": "object", + "properties": { + "diskId": { + "description": "The disk Id (reported by source agent).", + "type": "string", + "readOnly": true + }, + "diskName": { + "description": "The disk name.", + "type": "string", + "readOnly": true + }, + "isOSDisk": { + "description": "A value indicating whether the disk is the OS disk.", + "type": "string", + "readOnly": true + }, + "capacityInBytes": { + "format": "int64", + "description": "The disk capacity in bytes.", + "type": "integer", + "readOnly": true + }, + "diskUuid": { + "description": "The disk Uuid (reported by vCenter).", + "type": "string", + "readOnly": true + }, + "dataPendingInLogDataStoreInMB": { + "format": "double", + "description": "The data pending in log data store in MB.", + "type": "number", + "readOnly": true + }, + "dataPendingAtSourceAgentInMB": { + "format": "double", + "description": "The data pending at source agent in MB.", + "type": "number", + "readOnly": true + }, + "isInitialReplicationComplete": { + "description": "A value indicating whether initial replication is complete or not.", + "type": "string", + "readOnly": true + }, + "irDetails": { + "$ref": "#/definitions/InMageRcmFailbackSyncDetails", + "description": "The initial replication details." + }, + "resyncDetails": { + "$ref": "#/definitions/InMageRcmFailbackSyncDetails", + "description": "The resync details." + }, + "lastSyncTime": { + "format": "date-time", + "description": "The last sync time.", + "type": "string", + "readOnly": true + } + } + }, + "InMageRcmFailbackReplicationDetails": { + "description": "InMageRcmFailback provider specific details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationProviderSpecificSettings" + } + ], + "properties": { + "internalIdentifier": { + "description": "The virtual machine internal identifier.", + "type": "string", + "readOnly": true + }, + "azureVirtualMachineId": { + "description": "The ARM Id of the azure VM.", + "type": "string", + "readOnly": true + }, + "multiVmGroupName": { + "description": "The multi VM group name.", + "type": "string", + "readOnly": true + }, + "reprotectAgentId": { + "description": "The reprotect agent Id.", + "type": "string", + "readOnly": true + }, + "reprotectAgentName": { + "description": "The reprotect agent name.", + "type": "string", + "readOnly": true }, - "authCertificate": { - "description": "The certificate to be used for AAD authentication.", - "type": "string" - } - }, - "x-ms-discriminator-value": "InMageRcm" - }, - "InMageRcmFabricSpecificDetails": { - "description": "InMageRcm fabric specific details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/FabricSpecificDetails" - } - ], - "properties": { - "vmwareSiteId": { - "description": "The ARM Id of the VMware site.", + "osType": { + "description": "The type of the OS on the VM.", "type": "string", "readOnly": true }, - "physicalSiteId": { - "description": "The ARM Id of the physical site.", + "logStorageAccountId": { + "description": "The log storage account ARM Id.", "type": "string", "readOnly": true }, - "serviceEndpoint": { - "description": "The service endpoint.", + "targetvCenterId": { + "description": "The target vCenter Id.", "type": "string", "readOnly": true }, - "serviceResourceId": { - "description": "The service resource Id.", + "targetDataStoreName": { + "description": "The target datastore name.", "type": "string", "readOnly": true }, - "serviceContainerId": { - "description": "The service container Id.", + "targetVmName": { + "description": "The target VM name.", "type": "string", "readOnly": true }, - "dataPlaneUri": { - "description": "The data plane Uri.", + "initialReplicationProgressPercentage": { + "format": "int32", + "description": "The initial replication progress percentage.", + "type": "integer", + "readOnly": true + }, + "initialReplicationProcessedBytes": { + "format": "int64", + "description": "The initial replication processed bytes. This includes sum of total bytes transferred and matched bytes on all selected disks in source VM.", + "type": "integer", + "readOnly": true + }, + "initialReplicationTransferredBytes": { + "format": "int64", + "description": "The initial replication transferred bytes from source VM to target for all selected disks on source VM.", + "type": "integer", + "readOnly": true + }, + "initialReplicationProgressHealth": { + "description": "The initial replication progress health.", + "enum": [ + "None", + "InProgress", + "SlowProgress", + "NoProgress" + ], "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VmReplicationProgressHealth", + "modelAsString": true + } + }, + "resyncProgressPercentage": { + "format": "int32", + "description": "The resync progress percentage.", + "type": "integer", "readOnly": true }, - "controlPlaneUri": { - "description": "The control plane Uri.", + "resyncProcessedBytes": { + "format": "int64", + "description": "The resync processed bytes. This includes sum of total bytes transferred and matched bytes on all selected disks in source VM.", + "type": "integer", + "readOnly": true + }, + "resyncTransferredBytes": { + "format": "int64", + "description": "The resync transferred bytes from source VM to target for all selected disks on source VM.", + "type": "integer", + "readOnly": true + }, + "resyncProgressHealth": { + "description": "The resync progress health.", + "enum": [ + "None", + "InProgress", + "SlowProgress", + "NoProgress" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VmReplicationProgressHealth", + "modelAsString": true + } + }, + "resyncRequired": { + "description": "A value indicating whether resync is required.", "type": "string", "readOnly": true }, - "processServers": { - "description": "The list of process servers.", + "resyncState": { + "description": "The resync state.", + "enum": [ + "None", + "PreparedForResynchronization", + "StartedResynchronization" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ResyncState", + "modelAsString": true + } + }, + "protectedDisks": { + "description": "The list of protected disks.", "type": "array", "items": { - "$ref": "#/definitions/ProcessServerDetails" - }, - "readOnly": true + "$ref": "#/definitions/InMageRcmFailbackProtectedDiskDetails" + } }, - "rcmProxies": { - "description": "The list of RCM proxies.", + "mobilityAgentDetails": { + "$ref": "#/definitions/InMageRcmFailbackMobilityAgentDetails", + "description": "The mobility agent information." + }, + "vmNics": { + "description": "The network details.", "type": "array", "items": { - "$ref": "#/definitions/RcmProxyDetails" - }, + "$ref": "#/definitions/InMageRcmFailbackNicDetails" + } + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, + "InMageRcmFailbackReprotectInput": { + "description": "InMageRcmFailback specific provider input.", + "required": [ + "processServerId", + "policyId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReverseReplicationProviderSpecificInput" + } + ], + "properties": { + "processServerId": { + "description": "The process server Id.", + "type": "string" + }, + "runAsAccountId": { + "description": "The run as account Id.", + "type": "string" + }, + "policyId": { + "description": "The Policy Id.", + "type": "string" + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, + "InMageRcmFailbackSyncDetails": { + "description": "InMageRcmFailback disk level sync details.", + "type": "object", + "properties": { + "progressHealth": { + "description": "The progress health.", + "enum": [ + "None", + "InProgress", + "SlowProgress", + "NoProgress", + "Queued" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DiskReplicationProgressHealth", + "modelAsString": true + } + }, + "transferredBytes": { + "format": "int64", + "description": "The transferred bytes from source VM to azure for the disk.", + "type": "integer", "readOnly": true }, - "pushInstallers": { - "description": "The list of push installers.", - "type": "array", - "items": { - "$ref": "#/definitions/PushInstallerDetails" - }, + "last15MinutesTransferredBytes": { + "format": "int64", + "description": "The bytes transferred in last 15 minutes from source VM to target.", + "type": "integer", "readOnly": true }, - "replicationAgents": { - "description": "The list of replication agents.", - "type": "array", - "items": { - "$ref": "#/definitions/ReplicationAgentDetails" - }, + "lastDataTransferTimeUtc": { + "description": "The time of the last data transfer from source VM to target.", + "type": "string", "readOnly": true }, - "reprotectAgents": { - "description": "The list of reprotect agents.", - "type": "array", - "items": { - "$ref": "#/definitions/ReprotectAgentDetails" - }, + "processedBytes": { + "format": "int64", + "description": "The total processed bytes. This includes bytes that are transferred from source VM to target and matched bytes.", + "type": "integer", "readOnly": true }, - "dras": { - "description": "The list of DRAs.", - "type": "array", - "items": { - "$ref": "#/definitions/DraDetails" - }, + "startTime": { + "description": "The start time.", + "type": "string", "readOnly": true }, - "agentDetails": { - "description": "The list of agent details.", - "type": "array", - "items": { - "$ref": "#/definitions/AgentDetails" - }, + "lastRefreshTime": { + "description": "The last refresh time.", + "type": "string", + "readOnly": true + }, + "progressPercentage": { + "format": "int32", + "description": "Progress in percentage. Progress percentage is calculated based on processed bytes.", + "type": "integer", "readOnly": true } - }, - "x-ms-discriminator-value": "InMageRcm" + } }, "InMageRcmLastAgentUpgradeErrorDetails": { "description": "InMageRcm last source agent upgrade error details.", @@ -13695,6 +15069,11 @@ "type": "string", "readOnly": true }, + "latestAgentReleaseDate": { + "description": "The latest agent version release date.", + "type": "string", + "readOnly": true + }, "driverVersion": { "description": "The driver version.", "type": "string", @@ -13769,13 +15148,11 @@ }, "isPrimaryNic": { "description": "A value indicating whether this is the primary NIC.", - "type": "string", - "readOnly": true + "type": "string" }, "isSelectedForFailover": { "description": "A value indicating whether this NIC is selected for failover.", - "type": "string", - "readOnly": true + "type": "string" }, "sourceIPAddress": { "description": "The source IP address.", @@ -13807,8 +15184,7 @@ }, "targetIPAddress": { "description": "The target IP address.", - "type": "string", - "readOnly": true + "type": "string" }, "targetIPAddressType": { "description": "The target IP address type.", @@ -13817,7 +15193,6 @@ "Static" ], "type": "string", - "readOnly": true, "x-ms-enum": { "name": "EthernetAddressType", "modelAsString": true @@ -13825,18 +15200,15 @@ }, "targetSubnetName": { "description": "Target subnet name.", - "type": "string", - "readOnly": true + "type": "string" }, "testSubnetName": { "description": "Test subnet name.", - "type": "string", - "readOnly": true + "type": "string" }, "testIPAddress": { "description": "The test IP address.", - "type": "string", - "readOnly": true + "type": "string" }, "testIPAddressType": { "description": "The test IP address type.", @@ -13845,7 +15217,6 @@ "Static" ], "type": "string", - "readOnly": true, "x-ms-enum": { "name": "EthernetAddressType", "modelAsString": true @@ -13855,6 +15226,10 @@ }, "InMageRcmNicInput": { "description": "InMageRcm NIC input.", + "required": [ + "nicId", + "isPrimaryNic" + ], "type": "object", "properties": { "nicId": { @@ -13930,25 +15305,21 @@ "recoveryPointHistoryInMinutes": { "format": "int32", "description": "The duration in minutes until which the recovery points need to be stored.", - "type": "integer", - "readOnly": true + "type": "integer" }, "appConsistentFrequencyInMinutes": { "format": "int32", "description": "The app consistent snapshot frequency in minutes.", - "type": "integer", - "readOnly": true + "type": "integer" }, "crashConsistentFrequencyInMinutes": { "format": "int32", "description": "The crash consistent snapshot frequency in minutes.", - "type": "integer", - "readOnly": true + "type": "integer" }, "enableMultiVmSync": { "description": "A value indicating whether multi-VM sync has to be enabled.", - "type": "string", - "readOnly": true + "type": "string" } }, "x-ms-discriminator-value": "InMageRcm" @@ -13984,7 +15355,7 @@ "readOnly": true }, "diskEncryptionSetId": { - "description": "The disk encryption set ARM Id.", + "description": "The DiskEncryptionSet ARM Id.", "type": "string", "readOnly": true }, @@ -14006,14 +15377,55 @@ "StandardSSD_LRS" ], "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DiskAccountType", - "modelAsString": true - } + "x-ms-enum": { + "name": "DiskAccountType", + "modelAsString": true + } + }, + "dataPendingInLogDataStoreInMB": { + "format": "double", + "description": "The data pending in log data store in MB.", + "type": "number", + "readOnly": true + }, + "dataPendingAtSourceAgentInMB": { + "format": "double", + "description": "The data pending at source agent in MB.", + "type": "number", + "readOnly": true + }, + "isInitialReplicationComplete": { + "description": "A value indicating whether initial replication is complete or not.", + "type": "string", + "readOnly": true + }, + "irDetails": { + "$ref": "#/definitions/InMageRcmSyncDetails", + "description": "The initial replication details." + }, + "resyncDetails": { + "$ref": "#/definitions/InMageRcmSyncDetails", + "description": "The resync details." } } }, + "InMageRcmProtectionContainerMappingDetails": { + "description": "InMageRcm provider specific container mapping details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainerMappingProviderSpecificDetails" + } + ], + "properties": { + "enableAgentAutoUpgrade": { + "description": "A value indicating whether the flag for enable agent auto upgrade.", + "type": "string", + "readOnly": true + } + }, + "x-ms-discriminator-value": "InMageRcm" + }, "InMageRcmRecoveryPointDetails": { "description": "InMageRcm provider specific recovery point details.", "type": "object", @@ -14097,6 +15509,11 @@ "type": "string", "readOnly": true }, + "primaryNicIpAddress": { + "description": "The IP address of the primary network interface.", + "type": "string", + "readOnly": true + }, "targetGeneration": { "description": "The target generation.", "type": "string", @@ -14104,53 +15521,47 @@ }, "licenseType": { "description": "License Type of the VM to be used.", - "type": "string", - "readOnly": true + "type": "string" }, "targetVmName": { "description": "Target VM name.", - "type": "string", - "readOnly": true + "type": "string" }, "targetVmSize": { "description": "The target VM size.", - "type": "string", - "readOnly": true + "type": "string" }, "targetResourceGroupId": { "description": "The target resource group Id.", - "type": "string", - "readOnly": true + "type": "string" + }, + "targetLocation": { + "description": "The target location.", + "type": "string" }, "targetAvailabilitySetId": { "description": "The target availability set Id.", - "type": "string", - "readOnly": true + "type": "string" }, "targetAvailabilityZone": { "description": "The target availability zone.", - "type": "string", - "readOnly": true + "type": "string" }, "targetProximityPlacementGroupId": { "description": "The target proximity placement group Id.", - "type": "string", - "readOnly": true + "type": "string" }, "targetBootDiagnosticsStorageAccountId": { "description": "The target boot diagnostics storage account ARM Id.", - "type": "string", - "readOnly": true + "type": "string" }, "targetNetworkId": { "description": "The target network Id.", - "type": "string", - "readOnly": true + "type": "string" }, "testNetworkId": { "description": "The test network Id.", - "type": "string", - "readOnly": true + "type": "string" }, "failoverRecoveryPointId": { "description": "The recovery point Id to which the VM was failed over.", @@ -14198,6 +15609,21 @@ "type": "integer", "readOnly": true }, + "initialReplicationProgressHealth": { + "description": "The initial replication progress health.", + "enum": [ + "None", + "InProgress", + "SlowProgress", + "NoProgress" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VmReplicationProgressHealth", + "modelAsString": true + } + }, "resyncProgressPercentage": { "format": "int32", "description": "The resync progress percentage. This is calculated based on total bytes processed for all disks in the source VM.", @@ -14216,6 +15642,21 @@ "type": "integer", "readOnly": true }, + "resyncProgressHealth": { + "description": "The resync progress health.", + "enum": [ + "None", + "InProgress", + "SlowProgress", + "NoProgress" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "VmReplicationProgressHealth", + "modelAsString": true + } + }, "resyncRequired": { "description": "A value indicating whether resync is required.", "type": "string", @@ -14255,15 +15696,19 @@ "type": "string", "readOnly": true }, - "lastAgentUpgradeFailedJobId": { - "description": "The last agent upgrade failed or cancelled job Id.", + "agentUpgradeJobId": { + "description": "The agent upgrade job Id.", + "type": "string", + "readOnly": true + }, + "agentUpgradeAttemptToVersion": { + "description": "The agent version to which last agent upgrade was attempted.", "type": "string", "readOnly": true }, "protectedDisks": { "description": "The list of protected disks.", "type": "array", - "readOnly": true, "items": { "$ref": "#/definitions/InMageRcmProtectedDiskDetails" } @@ -14275,13 +15720,11 @@ }, "mobilityAgentDetails": { "$ref": "#/definitions/InMageRcmMobilityAgentDetails", - "description": "The mobility agent information.", - "readOnly": true + "description": "The mobility agent information." }, "lastAgentUpgradeErrorDetails": { "description": "The last agent upgrade error information.", "type": "array", - "readOnly": true, "items": { "$ref": "#/definitions/InMageRcmLastAgentUpgradeErrorDetails" } @@ -14289,7 +15732,6 @@ "agentUpgradeBlockingErrorDetails": { "description": "The agent upgrade blocking error information.", "type": "array", - "readOnly": true, "items": { "$ref": "#/definitions/InMageRcmAgentUpgradeBlockingErrorDetails" } @@ -14297,7 +15739,6 @@ "vmNics": { "description": "The network details.", "type": "array", - "readOnly": true, "items": { "$ref": "#/definitions/InMageRcmNicDetails" } @@ -14305,6 +15746,100 @@ }, "x-ms-discriminator-value": "InMageRcm" }, + "InMageRcmReprotectInput": { + "description": "InMageRcm specific provider input.", + "required": [ + "reprotectAgentId", + "datastoreName", + "logStorageAccountId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReverseReplicationProviderSpecificInput" + } + ], + "properties": { + "reprotectAgentId": { + "description": "The reprotect agent Id.", + "type": "string" + }, + "datastoreName": { + "description": "The target datastore name.", + "type": "string" + }, + "logStorageAccountId": { + "description": "The log storage account ARM Id.", + "type": "string" + }, + "policyId": { + "description": "The Policy Id.", + "type": "string" + } + }, + "x-ms-discriminator-value": "InMageRcm" + }, + "InMageRcmSyncDetails": { + "description": "InMageRcm disk level sync details.", + "type": "object", + "properties": { + "progressHealth": { + "description": "The progress health.", + "enum": [ + "None", + "InProgress", + "SlowProgress", + "NoProgress", + "Queued" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DiskReplicationProgressHealth", + "modelAsString": true + } + }, + "transferredBytes": { + "format": "int64", + "description": "The transferred bytes from source VM to azure for the disk.", + "type": "integer", + "readOnly": true + }, + "last15MinutesTransferredBytes": { + "format": "int64", + "description": "The bytes transferred in last 15 minutes from source VM to azure.", + "type": "integer", + "readOnly": true + }, + "lastDataTransferTimeUtc": { + "description": "The time of the last data transfer from source VM to azure.", + "type": "string", + "readOnly": true + }, + "processedBytes": { + "format": "int64", + "description": "The total processed bytes. This includes bytes that are transferred from source VM to azure and matched bytes.", + "type": "integer", + "readOnly": true + }, + "startTime": { + "description": "The start time.", + "type": "string", + "readOnly": true + }, + "lastRefreshTime": { + "description": "The last refresh time.", + "type": "string", + "readOnly": true + }, + "progressPercentage": { + "format": "int32", + "description": "Progress in percentage. Progress percentage is calculated based on processed bytes.", + "type": "integer", + "readOnly": true + } + } + }, "InMageRcmTestFailoverInput": { "description": "InMageRcm provider specific input for test failover.", "type": "object", @@ -14327,6 +15862,9 @@ }, "InMageRcmUnplannedFailoverInput": { "description": "InMageRcm provider specific input for unplanned failover.", + "required": [ + "performShutdown" + ], "type": "object", "allOf": [ { @@ -14345,6 +15883,25 @@ }, "x-ms-discriminator-value": "InMageRcm" }, + "InMageRcmUpdateContainerMappingInput": { + "description": "InMageRcm update protection container mapping.", + "required": [ + "enableAgentAutoUpgrade" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ReplicationProviderSpecificUpdateContainerMappingInput" + } + ], + "properties": { + "enableAgentAutoUpgrade": { + "description": "A value indicating whether agent auto upgrade has to be enabled.", + "type": "string" + } + }, + "x-ms-discriminator-value": "InMageRcm" + }, "InMageRcmUpdateReplicationProtectedItemInput": { "description": "InMageRcm provider specific input to update replication protected item.", "type": "object", @@ -14415,7 +15972,7 @@ "x-ms-discriminator-value": "InMageRcm" }, "InMageReplicationDetails": { - "description": "InMage provider specific settings", + "description": "InMage provider specific settings.", "type": "object", "allOf": [ { @@ -14459,7 +16016,7 @@ }, "resyncDetails": { "$ref": "#/definitions/InitialReplicationDetails", - "description": "The resync details of the machine" + "description": "The resync details of the machine." }, "retentionWindowStart": { "format": "date-time", @@ -14566,14 +16123,14 @@ "type": "string" }, "datastores": { - "description": "The data stores of the on-premise machine Value can be list of strings that contain data store names", + "description": "The datastores of the on-premise machine Value can be list of strings that contain datastore names.", "type": "array", "items": { "type": "string" } }, "validationErrors": { - "description": "The validation errors of the on-premise machine Value can be list of validation errors", + "description": "The validation errors of the on-premise machine Value can be list of validation errors.", "type": "array", "items": { "$ref": "#/definitions/HealthError" @@ -14596,6 +16153,19 @@ "osVersion": { "description": "The OS Version of the protected item.", "type": "string" + }, + "isAdditionalStatsAvailable": { + "description": "A value indicating whether additional IR stats are available or not.", + "type": "boolean" + }, + "totalDataTransferred": { + "format": "int64", + "description": "The total transferred data in bytes.", + "type": "integer" + }, + "totalProgressHealth": { + "description": "The progress health.", + "type": "string" } }, "x-ms-discriminator-value": "InMage" @@ -14632,7 +16202,7 @@ "type": "string" }, "datastoreName": { - "description": "The target data store name.", + "description": "The target datastore name.", "type": "string" }, "diskExclusionInput": { @@ -14767,7 +16337,7 @@ }, "creationTimeUtc": { "format": "date-time", - "description": "Error creation time (UTC)", + "description": "Error creation time (UTC).", "type": "string" }, "recoveryProviderErrorMessage": { @@ -14777,51 +16347,41 @@ "entityId": { "description": "ID of the entity.", "type": "string" + }, + "errorId": { + "description": "The health error unique id.", + "type": "string" + }, + "customerResolvability": { + "description": "Value indicating whether the health error is customer resolvable.", + "enum": [ + "Allowed", + "NotAllowed" + ], + "type": "string", + "x-ms-enum": { + "name": "HealthErrorCustomerResolvability", + "modelAsString": true + } } } }, "InputEndpoint": { - "description": "Azure VM input endpoint details.", "type": "object", "properties": { "endpointName": { - "description": "The input endpoint name.", "type": "string" }, "privatePort": { "format": "int32", - "description": "The input endpoint private port.", "type": "integer" }, "publicPort": { "format": "int32", - "description": "The input endpoint public port.", "type": "integer" }, "protocol": { - "description": "The input endpoint protocol.", - "type": "string" - } - } - }, - "IPConfig": { - "description": "IP configuration details.", - "type": "object", - "properties": { - "staticIPAddress": { - "description": "The static IP address of the IP configuration.", - "type": "string" - }, - "publicIpAddressId": { - "description": "The Id of the public IP address associated with the IP configuration.", "type": "string" - }, - "lBBackendAddressPoolIds": { - "description": "The backend address pools associated with the IP configuration.", - "type": "array", - "items": { - "type": "string" - } } } }, @@ -14997,7 +16557,7 @@ "type": "string" }, "targetInstanceType": { - "description": "The type of the affected object which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class.", + "description": "The type of the affected object which is of Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class.", "type": "string" }, "customDetails": { @@ -15015,7 +16575,7 @@ "type": "string" }, "endTime": { - "description": "Date time to get jobs up to.", + "description": "Date time to get jobs upto.", "type": "string" }, "fabricId": { @@ -15029,6 +16589,28 @@ "jobStatus": { "description": "The states of the job to be filtered can be in.", "type": "string" + }, + "jobOutputType": { + "description": "The output type of the jobs.", + "enum": [ + "Json", + "Xml", + "Excel" + ], + "type": "string", + "x-ms-enum": { + "name": "ExportJobOutputSerializationType", + "modelAsString": true + } + }, + "jobName": { + "description": "The job Name.", + "type": "string" + }, + "timezoneOffset": { + "format": "double", + "description": "The timezone offset for the location of the request (in minutes).", + "type": "number" } } }, @@ -15074,6 +16656,7 @@ "description": "The job entity." } }, + "discriminator": "instanceType", "x-ms-discriminator-value": "JobTaskDetails" }, "KeyEncryptionKeyInfo": { @@ -15161,12 +16744,77 @@ "description": "The instructions.", "type": "string" }, - "observation": { - "description": "The observation.", - "type": "string" + "observation": { + "description": "The observation.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ManualActionTaskDetails" + }, + "MarsAgentDetails": { + "description": "Mars agent details.", + "type": "object", + "properties": { + "id": { + "description": "The Mars agent Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Mars agent name.", + "type": "string", + "readOnly": true + }, + "biosId": { + "description": "The Mars agent Bios Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectId": { + "description": "The fabric object Id.", + "type": "string", + "readOnly": true + }, + "fqdn": { + "description": "The Mars agent Fqdn.", + "type": "string", + "readOnly": true + }, + "version": { + "description": "The version.", + "type": "string", + "readOnly": true + }, + "lastHeartbeatUtc": { + "format": "date-time", + "description": "The last heartbeat received from the Mars agent.", + "type": "string", + "readOnly": true + }, + "health": { + "description": "The health of the Mars agent.", + "enum": [ + "None", + "Normal", + "Warning", + "Critical" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProtectionHealth", + "modelAsString": true + } + }, + "healthErrors": { + "description": "The health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthError" + }, + "readOnly": true } - }, - "x-ms-discriminator-value": "ManualActionTaskDetails" + } }, "MasterTargetServer": { "description": "Details of a Master Target Server.", @@ -15198,7 +16846,7 @@ "type": "string" }, "versionStatus": { - "description": "Version status", + "description": "Version status.", "type": "string" }, "retentionVolumes": { @@ -15353,11 +17001,6 @@ "type": "string", "readOnly": true }, - "recoveryServicesProviderId": { - "description": "The recovery services provider ARM Id.", - "type": "string", - "readOnly": true - }, "migrationState": { "description": "The migration status.", "enum": [ @@ -15385,6 +17028,17 @@ "type": "string", "readOnly": true }, + "lastTestMigrationTime": { + "format": "date-time", + "description": "The last test migration time.", + "type": "string", + "readOnly": true + }, + "lastTestMigrationStatus": { + "description": "The status of the last test migration.", + "type": "string", + "readOnly": true + }, "testMigrateState": { "description": "The test migrate state.", "enum": [ @@ -15408,8 +17062,18 @@ }, "health": { "description": "The consolidated health.", + "enum": [ + "None", + "Normal", + "Warning", + "Critical" + ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": { + "name": "ProtectionHealth", + "modelAsString": true + } }, "healthErrors": { "description": "The list of health errors.", @@ -15420,14 +17084,15 @@ "readOnly": true }, "allowedOperations": { - "description": "The allowed operations on the migration item, based on the current migration state of the item.", + "description": "The allowed operations on the migration item based on the current migration state of the item.", "type": "array", "items": { "enum": [ "DisableMigration", "TestMigrate", "TestMigrateCleanup", - "Migrate" + "Migrate", + "StartResync" ], "type": "string", "x-ms-enum": { @@ -15442,6 +17107,11 @@ "description": "The current job details.", "readOnly": true }, + "eventCorrelationId": { + "description": "The correlation Id for events associated with this migration item.", + "type": "string", + "readOnly": true + }, "providerSpecificDetails": { "$ref": "#/definitions/MigrationProviderSpecificSettings", "description": "The migration provider custom settings." @@ -15456,6 +17126,10 @@ "description": "The source fabric name filter.", "type": "string" }, + "sourceContainerName": { + "description": "The source container name filter.", + "type": "string" + }, "instanceType": { "description": "The replication provider type.", "type": "string" @@ -15669,7 +17343,7 @@ } }, "NetworkProperties": { - "description": "Network Properties", + "description": "Network Properties.", "type": "object", "properties": { "fabricType": { @@ -15760,25 +17434,20 @@ }, "x-ms-discriminator-value": "New" }, - "Object": { - "description": "Base of all objects.", - "type": "object", - "properties": {} - }, "OperationsDiscovery": { "description": "Operations discovery class.", "type": "object", "properties": { "name": { - "description": "Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include: * Microsoft.Compute/virtualMachine/capture/action * Microsoft.Compute/virtualMachine/restart/action * Microsoft.Compute/virtualMachine/write * Microsoft.Compute/virtualMachine/read * Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used. As a note: all resource providers would need to include the \"{Resource Provider Namespace}/register/action\" operation in their response. This API is used to register for their service, and should include details about the operation (e.g. a localized name for the resource provider + any special considerations like PII release)", + "description": "Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include: * Microsoft.Compute/virtualMachine/capture/action * Microsoft.Compute/virtualMachine/restart/action * Microsoft.Compute/virtualMachine/write * Microsoft.Compute/virtualMachine/read * Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used. As a note: all resource providers would need to include the \"{Resource Provider Namespace}/register/action\" operation in their response. This API is used to register for their service, and should include details about the operation (e.g. a localized name for the resource provider + any special considerations like PII release).", "type": "string" }, "display": { "$ref": "#/definitions/Display", - "description": "Object type" + "description": "Object type." }, "origin": { - "description": "Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is \"user,system\"", + "description": "Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is \"user,system\".", "type": "string" }, "properties": { @@ -15866,7 +17535,7 @@ "type": "string" }, "servicePack": { - "description": "Service pack.", + "description": "The service pack.", "type": "string" } } @@ -15877,7 +17546,7 @@ "properties": { "properties": { "$ref": "#/definitions/PlannedFailoverInputProperties", - "description": "Planned failover input properties" + "description": "Planned failover input properties." } } }, @@ -15890,11 +17559,22 @@ "type": "string" }, "providerSpecificDetails": { - "$ref": "#/definitions/ProviderSpecificFailoverInput", - "description": "Provider specific settings" + "$ref": "#/definitions/PlannedFailoverProviderSpecificFailoverInput", + "description": "Provider specific settings." } } }, + "PlannedFailoverProviderSpecificFailoverInput": { + "description": "Provider specific failover input.", + "type": "object", + "properties": { + "instanceType": { + "description": "The class type.", + "type": "string" + } + }, + "discriminator": "instanceType" + }, "Policy": { "description": "Protection profile details.", "type": "object", @@ -15954,7 +17634,7 @@ "discriminator": "instanceType" }, "PolicyProviderSpecificInput": { - "description": "Base class for provider specific input", + "description": "Base class for provider specific input.", "type": "object", "properties": { "instanceType": { @@ -15994,7 +17674,7 @@ "type": "string" }, "versionStatus": { - "description": "Version status", + "description": "Version status.", "type": "string" }, "mobilityServiceUpdates": { @@ -16164,8 +17844,23 @@ "type": "string", "readOnly": true }, + "biosId": { + "description": "The process server Bios Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectId": { + "description": "The fabric object Id.", + "type": "string", + "readOnly": true + }, + "fqdn": { + "description": "The process server Fqdn.", + "type": "string", + "readOnly": true + }, "version": { - "description": "The process server version.", + "description": "The version.", "type": "string", "readOnly": true }, @@ -16241,6 +17936,87 @@ "type": "number", "readOnly": true }, + "throughputStatus": { + "description": "The throughput status.", + "enum": [ + "Healthy", + "Warning", + "Critical", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "RcmComponentStatus", + "modelAsString": true + } + }, + "systemLoad": { + "format": "int64", + "description": "The system load.", + "type": "integer", + "readOnly": true + }, + "systemLoadStatus": { + "description": "The system load status.", + "enum": [ + "Healthy", + "Warning", + "Critical", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "RcmComponentStatus", + "modelAsString": true + } + }, + "diskUsageStatus": { + "description": "The disk usage status.", + "enum": [ + "Healthy", + "Warning", + "Critical", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "RcmComponentStatus", + "modelAsString": true + } + }, + "memoryUsageStatus": { + "description": "The memory usage status.", + "enum": [ + "Healthy", + "Warning", + "Critical", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "RcmComponentStatus", + "modelAsString": true + } + }, + "processorUsageStatus": { + "description": "The processor usage status.", + "enum": [ + "Healthy", + "Warning", + "Critical", + "Unknown" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "RcmComponentStatus", + "modelAsString": true + } + }, "health": { "description": "The health of the process server.", "enum": [ @@ -16282,7 +18058,7 @@ } }, "ProtectableItem": { - "description": "Replication protected item", + "description": "Replication protected item.", "type": "object", "allOf": [ { @@ -16394,6 +18170,10 @@ "name": "MultiVmGroupCreateOption", "modelAsString": true } + }, + "processServerId": { + "description": "The process server Id filter.", + "type": "string" } } }, @@ -16504,7 +18284,7 @@ "type": "string" }, "state": { - "description": "Association Status", + "description": "Association Status.", "type": "string" }, "sourceProtectionContainerFriendlyName": { @@ -16555,7 +18335,7 @@ }, "protectedItemCount": { "format": "int32", - "description": "Number of protected PEs", + "description": "Number of protected PEs.", "type": "integer" }, "pairingStatus": { @@ -16610,17 +18390,6 @@ } } }, - "ProviderSpecificFailoverInput": { - "description": "Provider specific failover input.", - "type": "object", - "properties": { - "instanceType": { - "description": "The class type.", - "type": "string" - } - }, - "discriminator": "instanceType" - }, "ProviderSpecificRecoveryPointDetails": { "description": "Replication provider specific recovery point details.", "type": "object", @@ -16633,50 +18402,6 @@ }, "discriminator": "instanceType" }, - "RcmAzureMigrationPolicyDetails": { - "description": "RCM based Azure migration specific policy details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PolicyProviderSpecificDetails" - } - ], - "properties": { - "recoveryPointThresholdInMinutes": { - "format": "int32", - "description": "The recovery point threshold in minutes.", - "type": "integer" - }, - "recoveryPointHistory": { - "format": "int32", - "description": "The duration in minutes until which the recovery points need to be stored.", - "type": "integer" - }, - "appConsistentFrequencyInMinutes": { - "format": "int32", - "description": "The app consistent snapshot frequency in minutes.", - "type": "integer" - }, - "multiVmSyncStatus": { - "description": "A value indicating whether multi-VM sync has to be enabled.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MultiVmSyncStatus", - "modelAsString": true - } - }, - "crashConsistentFrequencyInMinutes": { - "format": "int32", - "description": "The crash consistent snapshot frequency in minutes.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "RcmAzureMigration" - }, "PushInstallerDetails": { "description": "Push installer details.", "type": "object", @@ -16691,8 +18416,23 @@ "type": "string", "readOnly": true }, + "biosId": { + "description": "The push installer Bios Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectId": { + "description": "The fabric object Id.", + "type": "string", + "readOnly": true + }, + "fqdn": { + "description": "The push installer Fqdn.", + "type": "string", + "readOnly": true + }, "version": { - "description": "The push installer version.", + "description": "The version.", "type": "string", "readOnly": true }, @@ -16741,8 +18481,23 @@ "type": "string", "readOnly": true }, + "biosId": { + "description": "The RCM proxy Bios Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectId": { + "description": "The fabric object Id.", + "type": "string", + "readOnly": true + }, + "fqdn": { + "description": "The RCM proxy Fqdn.", + "type": "string", + "readOnly": true + }, "version": { - "description": "The RCM proxy version.", + "description": "The version.", "type": "string", "readOnly": true }, @@ -16803,6 +18558,26 @@ } } }, + "RecoveryPlanA2ADetails": { + "description": "Recovery plan A2A specific details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RecoveryPlanProviderSpecificDetails" + } + ], + "properties": { + "primaryZone": { + "description": "The primary zone.", + "type": "string" + }, + "recoveryZone": { + "description": "The recovery zone.", + "type": "string" + } + }, + "x-ms-discriminator-value": "A2A" + }, "RecoveryPlanA2AFailoverInput": { "description": "Recovery plan A2A failover input.", "required": [ @@ -16848,26 +18623,6 @@ }, "x-ms-discriminator-value": "A2A" }, - "RecoveryPlanA2ADetails": { - "description": "Recovery plan A2A specific details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RecoveryPlanProviderSpecificDetails" - } - ], - "properties": { - "primaryZone": { - "description": "The primary zone.", - "type": "string" - }, - "recoveryZone": { - "description": "The recovery zone.", - "type": "string" - } - }, - "x-ms-discriminator-value": "A2A" - }, "RecoveryPlanA2AInput": { "description": "Recovery plan A2A input.", "type": "object", @@ -16916,6 +18671,7 @@ "TestFailoverCleanup", "Failback", "FinalizeFailback", + "CancelFailover", "ChangePit", "RepairReplication", "SwitchProtection", @@ -17078,6 +18834,7 @@ "type": "string" } }, + "discriminator": "instanceType", "x-ms-discriminator-value": "RecoveryPlanGroupTaskDetails" }, "RecoveryPlanHyperVReplicaAzureFailbackInput": { @@ -17129,10 +18886,6 @@ } ], "properties": { - "vaultLocation": { - "description": "The vault location.", - "type": "string" - }, "primaryKekCertificatePfx": { "description": "The primary KEK certificate PFX.", "type": "string" @@ -17160,7 +18913,6 @@ "RecoveryPlanInMageAzureV2FailoverInput": { "description": "Recovery plan InMageAzureV2 failover input.", "required": [ - "vaultLocation", "recoveryPointType" ], "type": "object", @@ -17170,10 +18922,6 @@ } ], "properties": { - "vaultLocation": { - "description": "The vault location.", - "type": "string" - }, "recoveryPointType": { "description": "The recovery point type.", "enum": [ @@ -17223,8 +18971,42 @@ }, "x-ms-discriminator-value": "InMage" }, + "RecoveryPlanInMageRcmFailbackFailoverInput": { + "description": "Recovery plan InMageRcmFailback failover input.", + "required": [ + "recoveryPointType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RecoveryPlanProviderSpecificFailoverInput" + } + ], + "properties": { + "recoveryPointType": { + "description": "The recovery point type.", + "enum": [ + "ApplicationConsistent", + "CrashConsistent" + ], + "type": "string", + "x-ms-enum": { + "name": "InMageRcmFailbackRecoveryPointType", + "modelAsString": true + } + }, + "useMultiVmSyncPoint": { + "description": "A value indicating whether multi VM sync enabled VMs should use multi VM sync points for failover.", + "type": "string" + } + }, + "x-ms-discriminator-value": "InMageRcmFailback" + }, "RecoveryPlanInMageRcmFailoverInput": { "description": "Recovery plan InMageRcm failover input.", + "required": [ + "recoveryPointType" + ], "type": "object", "allOf": [ { @@ -17311,7 +19093,7 @@ } }, "RecoveryPlanProperties": { - "description": "Recovery plan custom details.", + "description": "Recovery plan properties.", "type": "object", "properties": { "friendlyName": { @@ -17388,12 +19170,10 @@ }, "providerSpecificDetails": { "description": "The provider id and provider specific details.", - "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/RecoveryPlanProviderSpecificDetails" - }, - "readOnly": true + } } } }, @@ -17423,24 +19203,25 @@ }, "discriminator": "instanceType" }, - "RecoveryPlanProviderSpecificInput": { - "description": "Recovery plan provider specific input base class.", + "RecoveryPlanProviderSpecificFailoverInput": { + "description": "Recovery plan provider specific failover input.", "type": "object", "properties": { "instanceType": { - "description": "Gets the Instance type.", + "description": "The class type.", "type": "string" } }, "discriminator": "instanceType" }, - "RecoveryPlanProviderSpecificFailoverInput": { - "description": "Recovery plan provider specific failover input base class.", + "RecoveryPlanProviderSpecificInput": { + "description": "Recovery plan provider specific input base class.", "type": "object", "properties": { "instanceType": { - "description": "The class type.", - "type": "string" + "description": "Gets the Instance type.", + "type": "string", + "readOnly": true } }, "discriminator": "instanceType" @@ -17486,23 +19267,10 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/GroupTaskDetails" + "$ref": "#/definitions/RecoveryPlanGroupTaskDetails" } ], - "properties": { - "name": { - "description": "The name.", - "type": "string" - }, - "groupId": { - "description": "The group identifier.", - "type": "string" - }, - "rpGroupType": { - "description": "The group type.", - "type": "string" - } - }, + "properties": {}, "x-ms-discriminator-value": "RecoveryPlanShutdownGroupTaskDetails" }, "RecoveryPlanTestFailoverCleanupInput": { @@ -17524,6 +19292,7 @@ "properties": { "comments": { "description": "The test failover cleanup comments.", + "maxLength": 1024, "type": "string" } } @@ -17569,12 +19338,9 @@ "description": "The Id of the network to be used for test failover.", "type": "string" }, - "skipTestFailoverCleanup": { - "description": "A value indicating whether the test failover cleanup is to be skipped.", - "type": "string" - }, "providerSpecificDetails": { "description": "The provider specific properties.", + "maxLength": 1, "type": "array", "items": { "$ref": "#/definitions/RecoveryPlanProviderSpecificFailoverInput" @@ -17629,6 +19395,7 @@ }, "providerSpecificDetails": { "description": "The provider specific properties.", + "maxLength": 1, "type": "array", "items": { "$ref": "#/definitions/RecoveryPlanProviderSpecificFailoverInput" @@ -17637,7 +19404,7 @@ } }, "RecoveryPoint": { - "description": "Base class representing a recovery point.", + "description": "Recovery point.", "type": "object", "allOf": [ { @@ -17647,7 +19414,7 @@ "properties": { "properties": { "$ref": "#/definitions/RecoveryPointProperties", - "description": "Recovery point related data." + "description": "The recovery point properties." } } }, @@ -17806,6 +19573,18 @@ "description": "The DRA Id.", "type": "string" }, + "machineId": { + "description": "The machine Id.", + "type": "string" + }, + "machineName": { + "description": "The machine name.", + "type": "string" + }, + "biosId": { + "description": "The Bios Id.", + "type": "string" + }, "authenticationIdentityDetails": { "$ref": "#/definitions/IdentityProviderDetails", "description": "The authentication identity details." @@ -17814,6 +19593,10 @@ "$ref": "#/definitions/IdentityProviderDetails", "description": "The resource access identity details." }, + "dataPlaneAuthenticationIdentityDetails": { + "$ref": "#/definitions/IdentityProviderDetails", + "description": "The data plane authentication identity details." + }, "providerVersionDetails": { "$ref": "#/definitions/VersionDetails", "description": "The provider version details." @@ -17916,8 +19699,23 @@ "type": "string", "readOnly": true }, + "biosId": { + "description": "The replication agent Bios Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectId": { + "description": "The fabric object Id.", + "type": "string", + "readOnly": true + }, + "fqdn": { + "description": "The replication agent Fqdn.", + "type": "string", + "readOnly": true + }, "version": { - "description": "The replication agent version.", + "description": "The version.", "type": "string", "readOnly": true }, @@ -17984,7 +19782,6 @@ "properties": { "value": { "description": "The replication eligibility results details.", - "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/ReplicationEligibilityResults" @@ -17998,28 +19795,23 @@ "properties": { "code": { "description": "The error code.", - "type": "string", - "readOnly": true + "type": "string" }, "message": { "description": "The error message.", - "type": "string", - "readOnly": true + "type": "string" }, "possibleCauses": { "description": "The possible causes.", - "type": "string", - "readOnly": true + "type": "string" }, "recommendedAction": { "description": "The recommended action.", - "type": "string", - "readOnly": true + "type": "string" }, "status": { "description": "The error status.", - "type": "string", - "readOnly": true + "type": "string" } } }, @@ -18029,12 +19821,10 @@ "properties": { "clientRequestId": { "description": "The client request Id.", - "type": "string", - "readOnly": true + "type": "string" }, "errors": { "description": "The error details.", - "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/ReplicationEligibilityResultsErrorInfo" @@ -18043,7 +19833,7 @@ } }, "ReplicationGroupDetails": { - "description": "Replication group details. This will be used in case of San and Wvr.", + "description": "Replication group details. This will be used in case of San.", "type": "object", "allOf": [ { @@ -18204,11 +19994,16 @@ "recoveryContainerId": { "description": "The recovery container Id.", "type": "string" + }, + "eventCorrelationId": { + "description": "The correlation Id for events associated with this protected item.", + "type": "string" } } }, "ReplicationProtectionIntent": { "description": "Replication protection intent.", + "type": "object", "allOf": [ { "$ref": "#/definitions/Resource" @@ -18353,6 +20148,21 @@ "type": "string", "readOnly": true }, + "biosId": { + "description": "The reprotect agent Bios Id.", + "type": "string", + "readOnly": true + }, + "fabricObjectId": { + "description": "The fabric object Id.", + "type": "string", + "readOnly": true + }, + "fqdn": { + "description": "The reprotect agent Fqdn.", + "type": "string", + "readOnly": true + }, "version": { "description": "The version.", "type": "string", @@ -18462,6 +20272,14 @@ "items": { "$ref": "#/definitions/HealthErrorSummary" } + }, + "categorizedResourceCounts": { + "description": "The categorized resource counts.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } } } }, @@ -18485,6 +20303,46 @@ } } }, + "ResyncInput": { + "description": "Resync input.", + "required": [ + "properties" + ], + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ResyncInputProperties", + "description": "Resync input properties." + } + } + }, + "ResyncInputProperties": { + "description": "Resync input properties.", + "required": [ + "providerSpecificDetails" + ], + "type": "object", + "properties": { + "providerSpecificDetails": { + "$ref": "#/definitions/ResyncProviderSpecificInput", + "description": "The provider specific details." + } + } + }, + "ResyncProviderSpecificInput": { + "description": "Resync provider specific input.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "The class type.", + "type": "string" + } + }, + "discriminator": "instanceType" + }, "RetentionVolume": { "description": "The retention details of the MT.", "type": "object", @@ -18516,7 +20374,7 @@ "properties": { "properties": { "$ref": "#/definitions/ReverseReplicationInputProperties", - "description": "Reverse replication properties" + "description": "Reverse replication properties." } } }, @@ -18545,108 +20403,171 @@ }, "discriminator": "instanceType" }, - "RoleAssignment": { - "description": "Azure role assignment details.", + "RunAsAccount": { + "description": "CS Accounts Details.", "type": "object", "properties": { - "id": { - "description": "The ARM Id of the role assignment.", + "accountId": { + "description": "The CS RunAs account Id.", + "type": "string" + }, + "accountName": { + "description": "The CS RunAs account name.", + "type": "string" + } + } + }, + "ScriptActionTaskDetails": { + "description": "This class represents the script action task details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TaskTypeDetails" + } + ], + "properties": { + "name": { + "description": "The name.", + "type": "string" + }, + "path": { + "description": "The path.", + "type": "string" + }, + "output": { + "description": "The output.", "type": "string" }, - "name": { - "description": "The name of the role assignment.", + "isPrimarySideScript": { + "description": "A value indicating whether it is a primary side script or not.", + "type": "boolean" + } + }, + "x-ms-discriminator-value": "ScriptActionTaskDetails" + }, + "ServiceError": { + "description": "ASR error model.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error message.", + "type": "string" + }, + "possibleCauses": { + "description": "Possible causes of error.", + "type": "string" + }, + "recommendedAction": { + "description": "Recommended action to resolve error.", + "type": "string" + }, + "activityId": { + "description": "Activity Id.", + "type": "string" + } + } + }, + "IPConfigDetails": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "isPrimary": { + "type": "boolean" + }, + "subnetName": { + "type": "string" + }, + "staticIPAddress": { + "type": "string" + }, + "ipAddressType": { + "type": "string" + }, + "isSeletedForFailover": { + "type": "boolean" + }, + "recoverySubnetName": { + "type": "string" + }, + "recoveryStaticIPAddress": { + "type": "string" + }, + "recoveryIPAddressType": { + "type": "string" + }, + "recoveryPublicIPAddressId": { + "type": "string" + }, + "recoveryLBBackendAddressPoolIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "tfoSubnetName": { "type": "string" }, - "scope": { - "description": "Role assignment scope.", + "tfoStaticIPAddress": { "type": "string" }, - "principalId": { - "description": "Principal Id.", + "tfoPublicIPAddressId": { "type": "string" }, - "roleDefinitionId": { - "description": "Role definition id.", - "type": "string" + "tfoLBBackendAddressPoolIds": { + "type": "array", + "items": { + "type": "string" + } } } }, - "RunAsAccount": { - "description": "CS Accounts Details.", + "IPConfigInputDetails": { "type": "object", "properties": { - "accountId": { - "description": "The CS RunAs account Id.", + "ipConfigName": { "type": "string" }, - "accountName": { - "description": "The CS RunAs account name.", - "type": "string" - } - } - }, - "SanEnableProtectionInput": { - "description": "San enable protection provider specific input.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EnableProtectionProviderSpecificInput" - } - ], - "properties": {}, - "x-ms-discriminator-value": "San" - }, - "ScriptActionTaskDetails": { - "description": "This class represents the script action task details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskTypeDetails" - } - ], - "properties": { - "name": { - "description": "The name.", - "type": "string" + "isPrimary": { + "type": "boolean" }, - "path": { - "description": "The path.", - "type": "string" + "isSeletedForFailover": { + "type": "boolean" }, - "output": { - "description": "The output.", + "recoverySubnetName": { "type": "string" }, - "isPrimarySideScript": { - "description": "A value indicating whether it is a primary side script or not.", - "type": "boolean" - } - }, - "x-ms-discriminator-value": "ScriptActionTaskDetails" - }, - "ServiceError": { - "description": "ASR error model", - "type": "object", - "properties": { - "code": { - "description": "Error code.", + "recoveryStaticIPAddress": { "type": "string" }, - "message": { - "description": "Error message.", + "recoveryPublicIPAddressId": { "type": "string" }, - "possibleCauses": { - "description": "Possible causes of error.", + "recoveryLBBackendAddressPoolIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "tfoSubnetName": { "type": "string" }, - "recommendedAction": { - "description": "Recommended action to resolve error.", + "tfoStaticIPAddress": { "type": "string" }, - "activityId": { - "description": "Activity Id.", + "tfoPublicIPAddressId": { "type": "string" + }, + "tfoLBBackendAddressPoolIds": { + "type": "array", + "items": { + "type": "string" + } } } }, @@ -18787,7 +20708,7 @@ } }, "SupportedOperatingSystems": { - "description": "Response object for supported operating systems API.", + "description": "Supported operating systems.", "type": "object", "allOf": [ { @@ -18797,12 +20718,12 @@ "properties": { "properties": { "$ref": "#/definitions/SupportedOSProperties", - "description": "Properties model for supported OS API." + "description": "The supported operating systems properties." } } }, "SupportedOSDetails": { - "description": "Supported Operating system details.", + "description": "Supported operating system details.", "type": "object", "properties": { "osName": { @@ -18814,7 +20735,7 @@ "type": "string" }, "osVersions": { - "description": "List of version for OS.", + "description": "The list of version for operating system.", "type": "array", "items": { "$ref": "#/definitions/OSVersionWrapper" @@ -18823,11 +20744,11 @@ } }, "SupportedOSProperties": { - "description": "Properties model for supported OS API.", + "description": "Supported operating systems properties.", "type": "object", "properties": { "supportedOsList": { - "description": "The supported OS List.", + "description": "The supported operating systems property list.", "type": "array", "items": { "$ref": "#/definitions/SupportedOSProperty" @@ -18836,16 +20757,15 @@ } }, "SupportedOSProperty": { - "description": "Property object for supported OS api.", + "description": "Supported operating systems property.", "type": "object", "properties": { "instanceType": { - "description": "Gets the replication provider type.", - "type": "string", - "readOnly": true + "description": "The replication provider type.", + "type": "string" }, "supportedOs": { - "description": "List of supported OS.", + "description": "The list of supported operating systems.", "type": "array", "items": { "$ref": "#/definitions/SupportedOSDetails" @@ -18859,7 +20779,7 @@ "properties": { "properties": { "$ref": "#/definitions/SwitchProtectionInputProperties", - "description": "Switch protection properties" + "description": "Switch protection properties." } } }, @@ -18997,8 +20917,7 @@ "type": "array", "items": { "type": "string" - }, - "readOnly": true + } } } }, @@ -19032,17 +20951,21 @@ "properties": { "comments": { "description": "Test failover cleanup comments.", + "maxLength": 1024, "type": "string" } } }, "TestFailoverInput": { "description": "Input definition for test failover.", + "required": [ + "properties" + ], "type": "object", "properties": { "properties": { "$ref": "#/definitions/TestFailoverInputProperties", - "description": "test failover input properties" + "description": "Test failover input properties." } } }, @@ -19059,16 +20982,12 @@ "type": "string" }, "networkId": { - "description": "The id of the network to be used for test failover", - "type": "string" - }, - "skipTestFailoverCleanup": { - "description": "A value indicating whether the test failover cleanup is to be skipped.", + "description": "The id of the network to be used for test failover.", "type": "string" }, "providerSpecificDetails": { "$ref": "#/definitions/TestFailoverProviderSpecificInput", - "description": "Provider specific settings" + "description": "Provider specific settings." } } }, @@ -19141,6 +21060,7 @@ "properties": { "comments": { "description": "Test migrate cleanup comments.", + "maxLength": 1024, "type": "string" } } @@ -19187,6 +21107,9 @@ }, "UnplannedFailoverInput": { "description": "Input definition for unplanned failover.", + "required": [ + "properties" + ], "type": "object", "properties": { "properties": { @@ -19204,12 +21127,12 @@ "type": "string" }, "sourceSiteOperations": { - "description": "Source site operations status", + "description": "Source site operations status.", "type": "string" }, "providerSpecificDetails": { "$ref": "#/definitions/UnplannedFailoverProviderSpecificInput", - "description": "Provider specific settings" + "description": "Provider specific settings." } } }, @@ -19384,11 +21307,11 @@ "type": "object", "properties": { "recoveryAzureVMName": { - "description": "Target azure VM name given by the user.", + "description": "Target Azure VM name given by the user.", "type": "string" }, "recoveryAzureVMSize": { - "description": "Target Azure Vm size.", + "description": "Target Azure VM size.", "type": "string" }, "selectedRecoveryAzureNetworkId": { @@ -19404,11 +21327,11 @@ "type": "string" }, "enableRdpOnTargetOption": { - "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.", + "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum.", "type": "string" }, "vmNics": { - "description": "The list of vm nic details.", + "description": "The list of VM nic details.", "type": "array", "items": { "$ref": "#/definitions/VMNicInputDetails" @@ -19428,7 +21351,7 @@ } }, "recoveryAvailabilitySetId": { - "description": "The target availability set id.", + "description": "The target availability set Id.", "type": "string" }, "providerSpecificDetails": { @@ -19713,7 +21636,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/TaskTypeDetails" + "$ref": "#/definitions/JobTaskDetails" } ], "properties": { @@ -19724,10 +21647,6 @@ "skippedReasonString": { "description": "The skipped reason string.", "type": "string" - }, - "jobTask": { - "$ref": "#/definitions/JobEntity", - "description": "The job entity." } }, "x-ms-discriminator-value": "VirtualMachineTaskDetails" @@ -19814,69 +21733,10 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ConfigurationSettings" + "$ref": "#/definitions/HyperVVirtualMachineDetails" } ], - "properties": { - "sourceItemId": { - "description": "The source id of the object.", - "type": "string" - }, - "generation": { - "description": "The id of the object in fabric.", - "type": "string" - }, - "osDetails": { - "$ref": "#/definitions/OSDetails", - "description": "The Last replication time." - }, - "diskDetails": { - "description": "The Last successful failover time.", - "type": "array", - "items": { - "$ref": "#/definitions/DiskDetails" - } - }, - "hasPhysicalDisk": { - "description": "A value indicating whether the VM has a physical disk attached. String value of {SrsDataContract.PresenceStatus} enum.", - "enum": [ - "Unknown", - "Present", - "NotPresent" - ], - "type": "string", - "x-ms-enum": { - "name": "PresenceStatus", - "modelAsString": true - } - }, - "hasFibreChannelAdapter": { - "description": "A value indicating whether the VM has a fibre channel adapter attached. String value of {SrsDataContract.PresenceStatus} enum.", - "enum": [ - "Unknown", - "Present", - "NotPresent" - ], - "type": "string", - "x-ms-enum": { - "name": "PresenceStatus", - "modelAsString": true - } - }, - "hasSharedVhd": { - "description": "A value indicating whether the VM has a shared VHD attached. String value of {SrsDataContract.PresenceStatus} enum.", - "enum": [ - "Unknown", - "Present", - "NotPresent" - ], - "type": "string", - "x-ms-enum": { - "name": "PresenceStatus", - "modelAsString": true - } - } - }, + "properties": {}, "x-ms-discriminator-value": "VmmVirtualMachine" }, "VMNicDetails": { @@ -19895,10 +21755,6 @@ "description": "The source nic ARM Id.", "type": "string" }, - "vMSubnetName": { - "description": "VM subnet name.", - "type": "string" - }, "vMNetworkName": { "description": "VM network name.", "type": "string" @@ -19907,45 +21763,21 @@ "description": "Recovery VM network Id.", "type": "string" }, - "recoveryVMSubnetName": { - "description": "Recovery VM subnet name.", - "type": "string" - }, - "ipAddressType": { - "description": "Ip address type.", - "type": "string" - }, - "primaryNicStaticIPAddress": { - "description": "Primary nic static IP address.", - "type": "string" - }, - "replicaNicStaticIPAddress": { - "description": "Replica nic static IP address.", - "type": "string" + "ipConfigs": { + "description": "The IP configurations of the NIC.", + "type": "array", + "items": { + "$ref": "#/definitions/IPConfigDetails" + } }, "selectionType": { "description": "Selection type for failover.", "type": "string" }, - "recoveryNicIpAddressType": { - "description": "IP allocation type for recovery VM.", - "type": "string" - }, - "recoveryPublicIpAddressId": { - "description": "The id of the public IP address resource associated with the NIC.", - "type": "string" - }, "recoveryNetworkSecurityGroupId": { "description": "The id of the NSG associated with the NIC.", "type": "string" }, - "recoveryLBBackendAddressPoolIds": { - "description": "The target backend address pools for the NIC.", - "type": "array", - "items": { - "type": "string" - } - }, "enableAcceleratedNetworkingOnRecovery": { "description": "A value indicating whether the NIC has accelerated networking enabled.", "type": "boolean" @@ -19954,25 +21786,14 @@ "description": "The network to be used by NIC during test failover.", "type": "string" }, - "tfoVMSubnetName": { - "description": "The subnet to be used by NIC during test failover.", - "type": "string" - }, "tfoNetworkSecurityGroupId": { "description": "The NSG to be used by NIC during test failover.", "type": "string" }, "enableAcceleratedNetworkingOnTfo": { - "description": "Whether the test failover NIC has accelerated networking enabled.", + "description": "Whether the TFO NIC has accelerated networking enabled.", "type": "boolean" }, - "tfoIPConfigs": { - "description": "The IP configurations to be used by NIC during test failover.", - "type": "array", - "items": { - "$ref": "#/definitions/IPConfig" - } - }, "recoveryNicName": { "description": "The name of the NIC to be used when creating target NICs.", "type": "string" @@ -19983,8 +21804,7 @@ }, "reuseExistingNic": { "description": "A value indicating whether an existing NIC is allowed to be reused during failover subject to availability.", - "type": "boolean", - "default": false + "type": "boolean" }, "tfoRecoveryNicName": { "description": "The name of the NIC to be used when creating target NICs in TFO.", @@ -19996,8 +21816,7 @@ }, "tfoReuseExistingNic": { "description": "A value indicating whether an existing NIC is allowed to be reused during test failover subject to availability.", - "type": "boolean", - "default": false + "type": "boolean" } } }, @@ -20009,41 +21828,25 @@ "description": "The nic Id.", "type": "string" }, - "recoveryVMSubnetName": { - "description": "Recovery VM subnet name.", - "type": "string" - }, - "replicaNicStaticIPAddress": { - "description": "Replica nic static IP address.", - "type": "string" + "ipConfigs": { + "description": "The IP configurations to be used by NIC during test failover and failover.", + "type": "array", + "items": { + "$ref": "#/definitions/IPConfigInputDetails" + } }, "selectionType": { "description": "Selection type for failover.", "type": "string" }, - "recoveryPublicIpAddressId": { - "description": "The id of the public IP address resource associated with the NIC.", - "type": "string" - }, "recoveryNetworkSecurityGroupId": { "description": "The id of the NSG associated with the NIC.", "type": "string" }, - "recoveryLBBackendAddressPoolIds": { - "description": "The target backend address pools for the NIC.", - "type": "array", - "items": { - "type": "string" - } - }, "enableAcceleratedNetworkingOnRecovery": { "description": "Whether the NIC has accelerated networking enabled.", "type": "boolean" }, - "tfoVMSubnetName": { - "description": "The subnet to be used by NIC during test failover.", - "type": "string" - }, "tfoNetworkSecurityGroupId": { "description": "The NSG to be used by NIC during test failover.", "type": "string" @@ -20052,14 +21855,6 @@ "description": "Whether the test NIC has accelerated networking enabled.", "type": "boolean" }, - "tfoIPConfigs": { - "description": "The IP configurations to be used by NIC during test failover.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/IPConfig" - } - }, "recoveryNicName": { "description": "The name of the NIC to be used when creating target NICs.", "type": "string" @@ -20070,8 +21865,7 @@ }, "reuseExistingNic": { "description": "A value indicating whether an existing NIC is allowed to be reused during failover subject to availability.", - "type": "boolean", - "default": false + "type": "boolean" }, "tfoNicName": { "description": "The name of the NIC to be used when creating target NICs in TFO.", @@ -20083,8 +21877,7 @@ }, "tfoReuseExistingNic": { "description": "A value indicating whether an existing NIC is allowed to be reused during test failover subject to availability.", - "type": "boolean", - "default": false + "type": "boolean" } } }, @@ -20121,7 +21914,7 @@ } ], "properties": {}, - "x-ms-discriminator-value": "6c7da455-506f-43ff-a16a-8eb101aebb70" + "x-ms-discriminator-value": "VMwareCbt" }, "VMwareCbtContainerMappingInput": { "description": "VMwareCbt container mapping input.", @@ -20181,18 +21974,6 @@ "description": "The disk Id.", "type": "string" }, - "isOSDisk": { - "description": "A value indicating whether the disk is the OS disk.", - "type": "string" - }, - "logStorageAccountId": { - "description": "The log storage account ARM Id.", - "type": "string" - }, - "logStorageAccountSasSecretName": { - "description": "The key vault secret name of the log storage account.", - "type": "string" - }, "diskType": { "description": "The disk type.", "enum": [ @@ -20205,6 +21986,22 @@ "name": "DiskAccountType", "modelAsString": true } + }, + "isOSDisk": { + "description": "A value indicating whether the disk is the OS disk.", + "type": "string" + }, + "logStorageAccountId": { + "description": "The log storage account ARM Id.", + "type": "string" + }, + "logStorageAccountSasSecretName": { + "description": "The key vault secret name of the log storage account.", + "type": "string" + }, + "diskEncryptionSetId": { + "description": "The DiskEncryptionSet ARM Id.", + "type": "string" } } }, @@ -20232,6 +22029,7 @@ }, "disksToInclude": { "description": "The disks to include list.", + "minLength": 1, "type": "array", "items": { "$ref": "#/definitions/VMwareCbtDiskInput" @@ -20250,12 +22048,26 @@ "modelAsString": true } }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlServerLicenseType", + "modelAsString": true + } + }, "dataMoverRunAsAccountId": { - "description": "The data mover RunAs account Id.", + "description": "The data mover run as account Id.", "type": "string" }, "snapshotRunAsAccountId": { - "description": "The snapshot RunAs account Id.", + "description": "The snapshot run as account Id.", "type": "string" }, "targetVmName": { @@ -20282,9 +22094,70 @@ "description": "The target availability set ARM Id.", "type": "string" }, + "targetAvailabilityZone": { + "description": "The target availability zone.", + "type": "string" + }, + "targetProximityPlacementGroupId": { + "description": "The target proximity placement group ARM Id.", + "type": "string" + }, "targetBootDiagnosticsStorageAccountId": { "description": "The target boot diagnostics storage account ARM Id.", "type": "string" + }, + "performAutoResync": { + "description": "A value indicating whether auto resync is to be done.", + "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "seedDiskTags": { + "description": "The tags for the seed disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetDiskTags": { + "description": "The tags for the target disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "VMwareCbt" + }, + "VMwareCbtEventDetails": { + "description": "Event details for VMwareCbt provider.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventProviderSpecificDetails" + } + ], + "properties": { + "migrationItemName": { + "description": "The migration item name.", + "type": "string", + "readOnly": true } }, "x-ms-discriminator-value": "VMwareCbt" @@ -20310,7 +22183,7 @@ "x-ms-discriminator-value": "VMwareCbt" }, "VMwareCbtMigrationDetails": { - "description": "VMwareCbt provider specific settings", + "description": "VMwareCbt provider specific settings.", "type": "object", "allOf": [ { @@ -20328,17 +22201,31 @@ "type": "string", "readOnly": true }, + "firmwareType": { + "description": "The firmware type.", + "type": "string", + "readOnly": true + }, + "targetGeneration": { + "description": "The target generation.", + "type": "string", + "readOnly": true + }, "licenseType": { "description": "License Type of the VM to be used.", "type": "string" }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "type": "string" + }, "dataMoverRunAsAccountId": { - "description": "The data mover RunAs account Id.", + "description": "The data mover run as account Id.", "type": "string", "readOnly": true }, "snapshotRunAsAccountId": { - "description": "The snapshot RunAs account Id.", + "description": "The snapshot run as account Id.", "type": "string", "readOnly": true }, @@ -20363,10 +22250,25 @@ "description": "The target availability set Id.", "type": "string" }, + "targetAvailabilityZone": { + "description": "The target availability zone.", + "type": "string" + }, + "targetProximityPlacementGroupId": { + "description": "The target proximity placement group Id.", + "type": "string" + }, "targetBootDiagnosticsStorageAccountId": { "description": "The target boot diagnostics storage account ARM Id.", "type": "string" }, + "targetVmTags": { + "description": "The target VM tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "protectedDisks": { "description": "The list of protected disks.", "type": "array", @@ -20385,6 +22287,13 @@ "$ref": "#/definitions/VMwareCbtNicDetails" } }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "migrationRecoveryPointId": { "description": "The recovery point Id to which the VM was migrated.", "type": "string", @@ -20395,6 +22304,78 @@ "description": "The last recovery point received time.", "type": "string", "readOnly": true + }, + "lastRecoveryPointId": { + "description": "The last recovery point Id.", + "type": "string", + "readOnly": true + }, + "initialSeedingProgressPercentage": { + "format": "int32", + "description": "The initial seeding progress percentage.", + "type": "integer", + "readOnly": true + }, + "migrationProgressPercentage": { + "format": "int32", + "description": "The migration progress percentage.", + "type": "integer", + "readOnly": true + }, + "resyncProgressPercentage": { + "format": "int32", + "description": "The resync progress percentage.", + "type": "integer", + "readOnly": true + }, + "initialSeedingRetryCount": { + "format": "int64", + "description": "The initial seeding retry count.", + "type": "integer", + "readOnly": true + }, + "resyncRetryCount": { + "format": "int64", + "description": "The resync retry count.", + "type": "integer", + "readOnly": true + }, + "resyncRequired": { + "description": "A value indicating whether resync is required.", + "type": "string", + "readOnly": true + }, + "resyncState": { + "description": "The resync state.", + "enum": [ + "None", + "PreparedForResynchronization", + "StartedResynchronization" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ResyncState", + "modelAsString": true + } + }, + "performAutoResync": { + "description": "A value indicating whether auto resync is to be done.", + "type": "string" + }, + "seedDiskTags": { + "description": "The tags for the seed disks.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetDiskTags": { + "description": "The tags for the target disks.", + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "x-ms-discriminator-value": "VMwareCbt" @@ -20455,6 +22436,10 @@ "description": "Target subnet name.", "type": "string" }, + "targetNicName": { + "description": "Target NIC name.", + "type": "string" + }, "isSelectedForMigration": { "description": "A value indicating whether this NIC is selected for migration.", "type": "string" @@ -20488,6 +22473,10 @@ "isSelectedForMigration": { "description": "A value indicating whether this NIC is selected for migration.", "type": "string" + }, + "targetNicName": { + "description": "Target NIC name.", + "type": "string" } } }, @@ -20559,6 +22548,19 @@ "type": "string", "readOnly": true }, + "diskType": { + "description": "The disk type.", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ], + "type": "string", + "x-ms-enum": { + "name": "DiskAccountType", + "modelAsString": true + } + }, "diskPath": { "description": "The disk path.", "type": "string", @@ -20585,6 +22587,11 @@ "type": "string", "readOnly": true }, + "diskEncryptionSetId": { + "description": "The DiskEncryptionSet ARM Id.", + "type": "string", + "readOnly": true + }, "seedManagedDiskId": { "description": "The ARM Id of the seed managed disk.", "type": "string", @@ -20595,18 +22602,9 @@ "type": "string", "readOnly": true }, - "diskType": { - "description": "The disk type.", - "enum": [ - "Standard_LRS", - "Premium_LRS", - "StandardSSD_LRS" - ], - "type": "string", - "x-ms-enum": { - "name": "DiskType", - "modelAsString": true - } + "targetDiskName": { + "description": "The name for the target managed disk.", + "type": "string" } } }, @@ -20652,6 +22650,26 @@ }, "x-ms-discriminator-value": "VMwareCbt" }, + "VMwareCbtResyncInput": { + "description": "VMwareCbt specific resync input.", + "required": [ + "skipCbtReset", + "instanceType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResyncProviderSpecificInput" + } + ], + "properties": { + "skipCbtReset": { + "description": "A value indicating whether CBT is to be reset.", + "type": "string" + } + }, + "x-ms-discriminator-value": "VMwareCbt" + }, "VMwareCbtTestMigrateInput": { "description": "VMwareCbt specific test migrate input.", "required": [ @@ -20677,6 +22695,23 @@ }, "x-ms-discriminator-value": "VMwareCbt" }, + "VMwareCbtUpdateDiskInput": { + "description": "VMwareCbt disk input for update.", + "required": [ + "diskId" + ], + "type": "object", + "properties": { + "diskId": { + "description": "The disk Id.", + "type": "string" + }, + "targetDiskName": { + "description": "The target disk name.", + "type": "string" + } + } + }, "VMwareCbtUpdateMigrationItemInput": { "description": "VMwareCbt specific update migration item input.", "type": "object", @@ -20702,6 +22737,14 @@ "description": "The target availability set ARM Id.", "type": "string" }, + "targetAvailabilityZone": { + "description": "The target availability zone.", + "type": "string" + }, + "targetProximityPlacementGroupId": { + "description": "The target proximity placement group ARM Id.", + "type": "string" + }, "targetBootDiagnosticsStorageAccountId": { "description": "The target boot diagnostics storage account ARM Id.", "type": "string" @@ -20712,11 +22755,20 @@ }, "vmNics": { "description": "The list of NIC details.", + "minLength": 1, "type": "array", "items": { "$ref": "#/definitions/VMwareCbtNicInput" } }, + "vmDisks": { + "description": "The list of disk update properties.", + "minLength": 1, + "type": "array", + "items": { + "$ref": "#/definitions/VMwareCbtUpdateDiskInput" + } + }, "licenseType": { "description": "The license type.", "enum": [ @@ -20729,6 +22781,48 @@ "name": "LicenseType", "modelAsString": true } + }, + "sqlServerLicenseType": { + "description": "The SQL Server license type.", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ], + "type": "string", + "x-ms-enum": { + "name": "SqlServerLicenseType", + "modelAsString": true + } + }, + "performAutoResync": { + "description": "A value indicating whether auto resync is to be done.", + "type": "string" + }, + "targetVmTags": { + "description": "The target VM tags.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetDiskTags": { + "description": "The tags for the target disks.", + "maxLength": 49, + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "targetNicTags": { + "description": "The tags for the target NICs.", + "maxLength": 50, + "type": "object", + "additionalProperties": { + "type": "string" + } } }, "x-ms-discriminator-value": "VMwareCbt" @@ -20861,7 +22955,7 @@ "type": "string" }, "versionStatus": { - "description": "Version status", + "description": "Version status.", "type": "string" }, "sslCertExpiryDate": { @@ -20893,7 +22987,6 @@ "VMwareV2FabricCreationInput": { "description": "VMwareV2 fabric provider specific settings.", "required": [ - "vmwareSiteId", "migrationSolutionId" ], "type": "object", @@ -20907,6 +23000,10 @@ "description": "The ARM Id of the VMware site.", "type": "string" }, + "physicalSiteId": { + "description": "The ARM Id of the physical site.", + "type": "string" + }, "migrationSolutionId": { "description": "The ARM Id of the migration solution.", "type": "string" @@ -20928,6 +23025,11 @@ "type": "string", "readOnly": true }, + "physicalSiteId": { + "description": "The ARM Id of the physical site.", + "type": "string", + "readOnly": true + }, "migrationSolutionId": { "description": "The Migration solution ARM Id.", "type": "string", @@ -20942,12 +23044,25 @@ "description": "The service resource Id.", "type": "string", "readOnly": true + }, + "serviceContainerId": { + "description": "The service container Id.", + "type": "string", + "readOnly": true + }, + "processServers": { + "description": "The list of process servers.", + "type": "array", + "items": { + "$ref": "#/definitions/ProcessServerDetails" + }, + "readOnly": true } }, "x-ms-discriminator-value": "VMwareV2" }, "VMwareVirtualMachineDetails": { - "description": "VMware provider specific settings", + "description": "VMware provider specific settings.", "type": "object", "allOf": [ { @@ -21018,16 +23133,16 @@ "in": "path", "description": "The name of the resource group where the recovery services vault is present.", "required": true, - "x-ms-parameter-location": "client", - "type": "string" + "type": "string", + "x-ms-parameter-location": "client" }, "ResourceName": { "name": "resourceName", "in": "path", "description": "The name of the recovery services vault.", "required": true, - "x-ms-parameter-location": "client", - "type": "string" + "type": "string", + "x-ms-parameter-location": "client" }, "ApiVersion": { "name": "api-version", @@ -21039,13 +23154,13 @@ }, "securityDefinitions": { "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account." - } + }, + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow" } }, "security": [ @@ -21054,5 +23169,6 @@ "user_impersonation" ] } - ] + ], + "tags": [] } diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md b/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md index 4e9dff193db3..d92947fadb6e 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md @@ -6,6 +6,7 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: + - tag: schema-recoveryservices-2021-02-10 - tag: schema-recoveryservices-2018-07-10 - tag: schema-recoveryservices-2018-01-10 - tag: schema-recoveryservices-2016-08-10 @@ -14,6 +15,17 @@ batch: Please also specify `--azureresourceschema-folder=`. +### Tag: schema-recoveryservices-2021-02-10 and azureresourceschema + +``` yaml $(tag) == 'schema-recoveryservices-2021-02-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.RecoveryServices/stable/2021-02-10/service.json + +``` + ### Tag: schema-recoveryservices-2018-07-10 and azureresourceschema ``` yaml $(tag) == 'schema-recoveryservices-2018-07-10' && $(azureresourceschema) diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.go.md b/specification/recoveryservicessiterecovery/resource-manager/readme.go.md index e6d7500824d8..d103728be65a 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.go.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.go.md @@ -13,11 +13,21 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2021-02 - tag: package-2018-07 - tag: package-2018-01 - tag: package-2016-08 ``` +### Tag: package-2021-02 and go + +These settings apply only when `--tag=package-2021-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2021-02' && $(go) +output-folder: $(go-sdk-folder)/services/recoveryservices/mgmt/2021-02-10/$(namespace) +``` + ### Tag: package-2018-07 and go These settings apply only when `--tag=package-2018-07 --go` is specified on the command line. diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index 67390f8243b7..845024beff2b 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -39,7 +39,7 @@ These are the global settings for the RecoveryServicesSiteRecovery API. ``` yaml openapi-type: arm -tag: package-2018-07 +tag: package-2021-02 directive: - where: @@ -49,6 +49,15 @@ directive: ``` +### Tag: package-2021-02 + +These settings apply only when `--tag=package-2021-02` is specified on the command line. + +```yaml $(tag) == 'package-2021-02' +input-file: + - Microsoft.RecoveryServices/stable/2021-02-10/service.json +``` + ### Tag: package-2018-07 These settings apply only when `--tag=package-2018-07` is specified on the command line.