From 97c181ad47b931a15bb039f85904300528ccb6d0 Mon Sep 17 00:00:00 2001 From: Mehak M Date: Wed, 2 Jan 2019 17:54:55 +0530 Subject: [PATCH 1/7] Generating latest spec --- .../stable/2016-08-10/operations.json | 3 +- .../stable/2016-12-01/bms.json | 591 ++- .../Common/BackupStorageConfig_Put.json | 31 + .../stable/2017-07-01/bms.json | 285 +- .../stable/2017-09-01/bms.json | 3408 +++++++++++++++++ .../resource-manager/readme.md | 1 + 6 files changed, 3800 insertions(+), 519 deletions(-) create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json create mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json index 458e5bb952b9..cb3acf76800b 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json @@ -38,7 +38,6 @@ } } }, - "deprecated": false, "x-ms-pageable": { "nextLinkName": "nextLink", "itemName": "value" @@ -120,7 +119,7 @@ "type": "object", "properties": { "value": { - "description": "List of available operations.", + "description": "List of available operationss.", "type": "array", "items": { "$ref": "#/definitions/ClientDiscoveryValueForSingleApi" diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json index 77db7348d5d7..573ffae7d771 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json @@ -50,7 +50,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Vault Security Config": { "$ref": "./examples/Common/BackupResourceVaultConfigs_Get.json" @@ -97,7 +96,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Update Vault Security Config": { "$ref": "./examples/Common/BackupResourceVaultConfigs_Patch.json" @@ -151,7 +149,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSBackupEnginesQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -216,7 +213,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSBackupEngineQueryObject", "x-ms-examples": { "Get Dpm/AzureBackupServer/Lajolla Backup Engine Details": { @@ -271,7 +267,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Azure Vm Discovery Operation Result": { "$ref": "./examples/Common/RefreshContainers_OperationResults.json" @@ -305,7 +300,6 @@ { "name": "fabricName", "in": "path", - "description": "Fabric name associated with the container.", "required": true, "type": "string" }, @@ -325,7 +319,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSContainerQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -383,7 +376,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Protection Container Details": { "$ref": "./examples/AzureWorkload/ProtectionContainers_Get.json" @@ -394,7 +386,7 @@ "tags": [ "ProtectionContainers" ], - "description": "Registers the container with Recovery Services vault.\r\n This is an asynchronous operation. To track the operation status, use location header to call get latest status of\r\n the operation.", + "description": "Registers the container with Recovery Services vault.\r\nThis is an asynchronous operation. To track the operation status, use location header to call get latest status of\r\nthe operation.", "operationId": "ProtectionContainers_Register", "produces": [ "application/json" @@ -447,7 +439,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "RegisterAzure Storage ProtectionContainers": { "$ref": "./examples/AzureStorage/ProtectionContainers_Register.json" @@ -458,7 +449,7 @@ "tags": [ "ProtectionContainers" ], - "description": "Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine\r\n whether the backend service has finished processing the request, call Get Container Operation Result API.", + "description": "Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine\r\nwhether the backend service has finished processing the request, call Get Container Operation Result API.", "operationId": "ProtectionContainers_Unregister", "produces": [ "application/json" @@ -499,7 +490,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Unregister Protection Container": { "$ref": "./examples/AzureWorkload/ProtectionContainers_Unregister.json" @@ -558,7 +548,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSContainersInquiryQueryObject", "x-ms-examples": { "Inquire Azure Storage Protection Containers": { @@ -572,7 +561,7 @@ "tags": [ "BackupWorkloadItems" ], - "description": "Provides a pageable list of workload item of a specific container according to the query filter and the pagination\r\n parameters.", + "description": "Provides a pageable list of workload item of a specific container according to the query filter and the pagination\r\nparameters.", "operationId": "BackupWorkloadItems_List", "produces": [ "application/json" @@ -627,7 +616,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSWorkloadItemQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -698,7 +686,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Get Azure Storage Protection Container Operation Result": { "$ref": "./examples/AzureStorage/ProtectionContainers_Inquire_Result.json" @@ -711,7 +698,7 @@ "tags": [ "ProtectedItems" ], - "description": "Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,\r\n call the GetItemOperationResult API.", + "description": "Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,\r\ncall the GetItemOperationResult API.", "operationId": "ProtectedItems_Get", "produces": [ "application/json" @@ -766,7 +753,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/GetProtectedItemQueryObject", "x-ms-examples": { "Get Protected Classic Virtual Machine Details": { @@ -781,7 +767,7 @@ "tags": [ "ProtectedItems" ], - "description": "Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an\r\n asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.", + "description": "Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an\r\nasynchronous operation. To know the status of the operation, call the GetItemOperationResult API.", "operationId": "ProtectedItems_CreateOrUpdate", "produces": [ "application/json" @@ -841,7 +827,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Enable Protection on Azure IaasVm": { "$ref": "./examples/AzureIaasVm/ConfigureProtection.json" @@ -855,7 +840,7 @@ "tags": [ "ProtectedItems" ], - "description": "Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the\r\n request, call the GetItemOperationResult API.", + "description": "Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the\r\nrequest, call the GetItemOperationResult API.", "operationId": "ProtectedItems_Delete", "produces": [ "application/json" @@ -903,7 +888,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Delete Protection from Azure Virtual Machine": { "$ref": "./examples/Common/ProtectedItem_Delete.json" @@ -916,7 +900,7 @@ "tags": [ "Backups" ], - "description": "Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the\r\n operation, call GetProtectedItemOperationResult API.", + "description": "Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the\r\noperation, call GetProtectedItemOperationResult API.", "operationId": "Backups_Trigger", "produces": [ "application/json" @@ -970,7 +954,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Trigger Backup": { "$ref": "./examples/Common/TriggerBackup_Post.json" @@ -1044,7 +1027,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Get Operation Results of Protected Vm": { "$ref": "./examples/AzureIaasVm/ProtectedItemOperationResults.json" @@ -1057,7 +1039,7 @@ "tags": [ "ProtectedItemOperationStatuses" ], - "description": "Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed\r\n or failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations\r\n create jobs. This method returns the list of jobs associated with the operation.", + "description": "Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed\r\nor failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations\r\ncreate jobs. This method returns the list of jobs associated with the operation.", "operationId": "ProtectedItemOperationStatuses_Get", "produces": [ "application/json" @@ -1112,7 +1094,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Operation Status of Protected Vm": { "$ref": "./examples/AzureIaasVm/ProtectedItemOperationStatus.json" @@ -1180,7 +1161,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSRPQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1197,7 +1177,7 @@ "tags": [ "RecoveryPoints" ], - "description": "Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation.\r\n To know the status of the operation, call the GetProtectedItemOperationResult API.", + "description": "Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation.\r\nTo know the status of the operation, call the GetProtectedItemOperationResult API.", "operationId": "RecoveryPoints_Get", "produces": [ "application/json" @@ -1252,7 +1232,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Azure Vm Recovery Point Details": { "$ref": "./examples/AzureIaasVm/RecoveryPoints_Get.json" @@ -1265,7 +1244,7 @@ "tags": [ "ItemLevelRecoveryConnections" ], - "description": "Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file\r\n explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of\r\n provisioning, call GetProtectedItemOperationResult API.", + "description": "Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file\r\nexplorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of\r\nprovisioning, call GetProtectedItemOperationResult API.", "operationId": "ItemLevelRecoveryConnections_Provision", "produces": [ "application/json" @@ -1307,7 +1286,7 @@ { "name": "recoveryPointId", "in": "path", - "description": "Recovery point ID which represents backed up data. iSCSI connection will be provisioned\r\n for this backed up data.", + "description": "Recovery point ID which represents backed up data. iSCSI connection will be provisioned\r\nfor this backed up data.", "required": true, "type": "string" }, @@ -1326,7 +1305,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Provision Instant Item Level Recovery for Azure Vm": { "$ref": "./examples/AzureIaasVm/Provision_Ilr.json" @@ -1339,7 +1317,7 @@ "tags": [ "Restores" ], - "description": "Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use\r\n GetProtectedItemOperationResult API.", + "description": "Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use\r\nGetProtectedItemOperationResult API.", "operationId": "Restores_Trigger", "produces": [ "application/json" @@ -1400,7 +1378,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Restore to New Azure IaasVm": { "$ref": "./examples/AzureIaasVm/TriggerRestore_ALR.json" @@ -1416,7 +1393,7 @@ "tags": [ "ItemLevelRecoveryConnections" ], - "description": "Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer\r\n displaying all recoverable files and folders. This is an asynchronous operation.", + "description": "Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer\r\ndisplaying all recoverable files and folders. This is an asynchronous operation.", "operationId": "ItemLevelRecoveryConnections_Revoke", "produces": [ "application/json" @@ -1458,7 +1435,7 @@ { "name": "recoveryPointId", "in": "path", - "description": "Recovery point ID which represents backed up data. iSCSI connection will be revoked for\r\n this backed up data.", + "description": "Recovery point ID which represents backed up data. iSCSI connection will be revoked for\r\nthis backed up data.", "required": true, "type": "string" } @@ -1468,7 +1445,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Revoke Instant Item Level Recovery for Azure Vm": { "$ref": "./examples/AzureIaasVm/Revoke_Ilr.json" @@ -1481,7 +1457,7 @@ "tags": [ "ProtectionContainers" ], - "description": "Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an\r\n asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.", + "description": "Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an\r\nasynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.", "operationId": "ProtectionContainers_Refresh", "produces": [ "application/json" @@ -1519,7 +1495,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSRefreshContainersQueryObject", "x-ms-examples": { "Trigger Azure Vm Discovery": { @@ -1533,7 +1508,7 @@ "tags": [ "JobCancellations" ], - "description": "Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call\r\n GetCancelOperationResult API.", + "description": "Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call\r\nGetCancelOperationResult API.", "operationId": "JobCancellations_Trigger", "produces": [ "application/json" @@ -1564,7 +1539,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Cancel Job": { "$ref": "./examples/Common/TriggerCancelJob.json" @@ -1577,7 +1551,7 @@ "tags": [ "JobOperationResults" ], - "description": "Fetches the result of any operation.\r\n the operation.", + "description": "Fetches the result of any operation.\r\nthe operation.", "operationId": "JobOperationResults_Get", "produces": [ "application/json" @@ -1621,7 +1595,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Cancel Job Operation Result": { "$ref": "./examples/Common/CancelJobOperationResult.json" @@ -1634,7 +1607,7 @@ "tags": [ "BackupOperationResults" ], - "description": "Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the\r\n status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On\r\n successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is\r\n part of the Location header of the operation response.", + "description": "Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the\r\nstatus code in the response would be Accepted. It will continue to be in this state till it reaches completion. On\r\nsuccessful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is\r\npart of the Location header of the operation response.", "operationId": "BackupOperationResults_Get", "produces": [ "application/json" @@ -1671,7 +1644,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Get Result for Protected Item Delete Operation": { "$ref": "./examples/Common/ProtectedItem_Delete_OperationResult.json" @@ -1684,7 +1656,7 @@ "tags": [ "BackupOperationStatuses" ], - "description": "Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed\r\n or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations\r\n create jobs. This method returns the list of jobs when the operation is complete.", + "description": "Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed\r\nor failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations\r\ncreate jobs. This method returns the list of jobs when the operation is complete.", "operationId": "BackupOperationStatuses_Get", "produces": [ "application/json" @@ -1718,7 +1690,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Protected Item Delete Operation Status": { "$ref": "./examples/Common/ProtectedItem_Delete_OperationStatus.json" @@ -1731,7 +1702,7 @@ "tags": [ "ProtectionPolicies" ], - "description": "Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous\r\n operation. Status of the operation can be fetched using GetPolicyOperationResult API.", + "description": "Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous\r\noperation. Status of the operation can be fetched using GetPolicyOperationResult API.", "operationId": "ProtectionPolicies_Get", "produces": [ "application/json" @@ -1765,7 +1736,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Azure IaasVm Protection Policy Details": { "$ref": "./examples/AzureIaasVm/ProtectionPolicies_Get.json" @@ -1776,7 +1746,7 @@ "tags": [ "ProtectionPolicies" ], - "description": "Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched\r\n using GetPolicyOperationResult API.", + "description": "Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched\r\nusing GetPolicyOperationResult API.", "operationId": "ProtectionPolicies_CreateOrUpdate", "produces": [ "application/json" @@ -1822,7 +1792,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-examples": { "Create or Update Simple Azure Vm Protection Policy": { "$ref": "./examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json" @@ -1839,7 +1808,7 @@ "tags": [ "ProtectionPolicies" ], - "description": "Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the\r\n operation can be fetched using GetPolicyOperationResult API.", + "description": "Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the\r\noperation can be fetched using GetPolicyOperationResult API.", "operationId": "ProtectionPolicies_Delete", "produces": [ "application/json" @@ -1873,7 +1842,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Delete Azure Vm Protection Policy": { "$ref": "./examples/AzureIaasVm/ProtectionPolicies_Delete.json" @@ -1927,7 +1895,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Protection Policy Operation Results": { "$ref": "./examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json" @@ -1940,7 +1907,7 @@ "tags": [ "ProtectionPolicyOperationStatuses" ], - "description": "Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed\r\n or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations\r\n create jobs. This method returns the list of jobs associated with operation.", + "description": "Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed\r\nor failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations\r\ncreate jobs. This method returns the list of jobs associated with operation.", "operationId": "ProtectionPolicyOperationStatuses_Get", "produces": [ "application/json" @@ -1981,7 +1948,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Protection Policy Operation Status": { "$ref": "./examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json" @@ -1994,7 +1960,7 @@ "tags": [ "BackupProtectableItems" ], - "description": "Provides a pageable list of protectable objects within your subscription according to the query filter and the\r\n pagination parameters.", + "description": "Provides a pageable list of protectable objects within your subscription according to the query filter and the\r\npagination parameters.", "operationId": "BackupProtectableItems_List", "produces": [ "application/json" @@ -2035,7 +2001,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSPOQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -2086,7 +2051,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSContainerQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -2130,7 +2094,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Vault Security Pin": { "$ref": "./examples/Common/BackupSecurityPin_Get.json" @@ -2170,13 +2133,58 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Vault Storage Configuration": { "$ref": "./examples/Common/BackupStorageConfig_Get.json" } } }, + "put": { + "tags": [ + "BackupResourceStorageConfigs" + ], + "description": "Updates vault storage model type.", + "operationId": "BackupResourceStorageConfigs_Update", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "parameters", + "in": "body", + "description": "Vault storage config request", + "required": true, + "schema": { + "$ref": "#/definitions/BackupResourceConfigResource" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupResourceConfigResource" + } + } + }, + "x-ms-examples": { + "Update Vault Storage Configuration": { + "$ref": "./examples/Common/BackupStorageConfig_Put.json" + } + } + }, "patch": { "tags": [ "BackupResourceStorageConfigs" @@ -2211,7 +2219,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Update Vault Storage Configuration": { "$ref": "./examples/Common/BackupStorageConfig_Patch.json" @@ -2226,47 +2233,9 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProtectionContainer" + "$ref": "#/definitions/DpmContainer" } ], - "properties": { - "canReRegister": { - "description": "Specifies whether the container is re-registrable.", - "type": "boolean" - }, - "containerId": { - "description": "ID of container.", - "type": "string" - }, - "protectedItemCount": { - "format": "int64", - "description": "Number of protected items in the BackupEngine", - "type": "integer" - }, - "dpmAgentVersion": { - "description": "Backup engine Agent version", - "type": "string" - }, - "dpmServers": { - "description": "List of BackupEngines protecting the container", - "type": "array", - "items": { - "type": "string" - } - }, - "upgradeAvailable": { - "description": "To check if upgrade available", - "type": "boolean" - }, - "protectionStatus": { - "description": "Protection status of the container.", - "type": "string" - }, - "extendedInfo": { - "$ref": "#/definitions/DPMContainerExtendedInfo", - "description": "Extended Info of the container." - } - }, "x-ms-discriminator-value": "AzureBackupServerContainer" }, "AzureBackupServerEngine": { @@ -2437,7 +2406,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -2482,7 +2452,8 @@ "description": "Contains Url to the snapshot of fileshare, if applicable", "type": "string" } - } + }, + "x-ms-discriminator-value": "AzureFileShareRecoveryPoint" }, "AzureFileShareRestoreRequest": { "description": "AzureFileShare Restore Request", @@ -2940,15 +2911,16 @@ }, "subinquireditemcount": { "format": "int32", - "description": "For instance or AG, indicates number of DBs present", + "description": "For instance or AG, indicates number of DB's present", "type": "integer" }, "subWorkloadItemCount": { "format": "int32", - "description": "For instance or AG, indicates number of DBs to be protected", + "description": "For instance or AG, indicates number of DB's to be protected", "type": "integer" } - } + }, + "x-ms-discriminator-value": "AzureVmWorkloadItem" }, "AzureVmWorkloadProtectableItem": { "description": "Azure VM workload-specific protectable item.", @@ -2964,7 +2936,7 @@ "type": "string" }, "parentUniqueName": { - "description": "Parent Unique Name is added to provide the service formatted URI Name of the Parent\r\n Only Applicable for data bases where the parent would be either Instance or a SQL AG.", + "description": "Parent Unique Name is added to provide the service formatted URI Name of the Parent\r\nOnly Applicable for data bases where the parent would be either Instance or a SQL AG.", "type": "string" }, "serverName": { @@ -2981,19 +2953,20 @@ }, "subinquireditemcount": { "format": "int32", - "description": "For instance or AG, indicates number of DBs present", + "description": "For instance or AG, indicates number of DB's present", "type": "integer" }, "subprotectableitemcount": { "format": "int32", - "description": "For instance or AG, indicates number of DBs to be protected", + "description": "For instance or AG, indicates number of DB's to be protected", "type": "integer" }, "prebackupvalidation": { "$ref": "#/definitions/PreBackupValidation", "description": "Pre-backup validation for protectable objects" } - } + }, + "x-ms-discriminator-value": "AzureVmWorkloadProtectableItem" }, "AzureVmWorkloadProtectedItem": { "description": "Azure VM workload-specific protected item.", @@ -3086,7 +3059,8 @@ "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", "description": "Additional information for this backup item." } - } + }, + "x-ms-discriminator-value": "AzureVmWorkloadProtectedItem" }, "AzureVmWorkloadProtectedItemExtendedInfo": { "description": "Additional information on Azure Workload for SQL specific backup item.", @@ -3133,7 +3107,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -3155,8 +3130,58 @@ }, "x-ms-discriminator-value": "AzureWorkload" }, + "AzureVmWorkloadSAPAseDatabaseProtectableItem": { + "description": "Azure VM workload-specific protectable item representing SAP ASE Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectableItem" + } + ], + "x-ms-discriminator-value": "SAPAseDatabase" + }, + "AzureVmWorkloadSAPAseDatabaseProtectedItem": { + "description": "Azure VM workload-specific protected item representing SAP ASE Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" + } + ], + "x-ms-discriminator-value": "AzureVmWorkloadSAPAseDatabase" + }, + "AzureVmWorkloadSAPAseDatabaseWorkloadItem": { + "description": "Azure VM workload-specific workload item representing SAP ASE Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadItem" + } + ], + "x-ms-discriminator-value": "SAPAseDatabase" + }, + "AzureVmWorkloadSAPAseSystemProtectableItem": { + "description": "Azure VM workload-specific protectable item representing SAP ASE System.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectableItem" + } + ], + "x-ms-discriminator-value": "SAPAseSystem" + }, + "AzureVmWorkloadSAPAseSystemWorkloadItem": { + "description": "Azure VM workload-specific workload item representing SAP ASE System.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadItem" + } + ], + "x-ms-discriminator-value": "SAPAseSystem" + }, "AzureVmWorkloadSAPHanaDatabaseProtectableItem": { - "description": "Azure VM workload-specific protectable item representing SAP Hana Database.", + "description": "Azure VM workload-specific protectable item representing SAP HANA Database.", "type": "object", "allOf": [ { @@ -3166,7 +3191,7 @@ "x-ms-discriminator-value": "SAPHanaDatabase" }, "AzureVmWorkloadSAPHanaDatabaseProtectedItem": { - "description": "Azure VM workload-specific protected item representing SAP Hana Database.", + "description": "Azure VM workload-specific protected item representing SAP HANA Database.", "type": "object", "allOf": [ { @@ -3176,7 +3201,7 @@ "x-ms-discriminator-value": "AzureVmWorkloadSAPHanaDatabase" }, "AzureVmWorkloadSAPHanaDatabaseWorkloadItem": { - "description": "Azure VM workload-specific workload item representing SAP Hana Database.", + "description": "Azure VM workload-specific workload item representing SAP HANA Database.", "type": "object", "allOf": [ { @@ -3186,7 +3211,7 @@ "x-ms-discriminator-value": "SAPHanaDatabase" }, "AzureVmWorkloadSAPHanaSystemProtectableItem": { - "description": "Azure VM workload-specific protectable item representing SAP Hana System.", + "description": "Azure VM workload-specific protectable item representing SAP HANA System.", "type": "object", "allOf": [ { @@ -3196,7 +3221,7 @@ "x-ms-discriminator-value": "SAPHanaSystem" }, "AzureVmWorkloadSAPHanaSystemWorkloadItem": { - "description": "Azure VM workload-specific workload item representing SAP Hana System.", + "description": "Azure VM workload-specific workload item representing SAP HANA System.", "type": "object", "allOf": [ { @@ -3230,93 +3255,9 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProtectedItem" + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" } ], - "properties": { - "friendlyName": { - "description": "Friendly name of the DB represented by this backup item.", - "type": "string" - }, - "serverName": { - "description": "Host/Cluster Name for instance or AG", - "type": "string" - }, - "parentName": { - "description": "Parent name of the DB such as Instance or Availability Group.", - "type": "string" - }, - "parentType": { - "description": "Parent type of DB, SQLAG or StandAlone", - "type": "string" - }, - "protectionStatus": { - "description": "Backup status of this backup item.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of this backup item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionState", - "modelAsString": true - } - }, - "lastBackupStatus": { - "description": "Last backup operation status. Possible values: Healthy, Unhealthy.", - "enum": [ - "Invalid", - "Healthy", - "Unhealthy", - "IRPending" - ], - "type": "string", - "x-ms-enum": { - "name": "LastBackupStatus", - "modelAsString": true - } - }, - "lastBackupTime": { - "format": "date-time", - "description": "Timestamp of the last backup operation on this backup item.", - "type": "string" - }, - "lastBackupErrorDetail": { - "$ref": "#/definitions/ErrorDetail", - "description": "Error details in last backup" - }, - "protectedItemDataSourceId": { - "description": "Data ID of the protected item.", - "type": "string" - }, - "protectedItemHealthStatus": { - "description": "Health status of the backup item, evaluated based on last heartbeat received", - "enum": [ - "Invalid", - "Healthy", - "Unhealthy", - "NotReachable", - "IRPending" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectedItemHealthStatus", - "modelAsString": true - } - }, - "extendedInfo": { - "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", - "description": "Additional information for this backup item." - } - }, "x-ms-discriminator-value": "AzureVmWorkloadSQLDatabase" }, "AzureVmWorkloadSQLDatabaseWorkloadItem": { @@ -3432,16 +3373,30 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { "name": "WorkloadType", "modelAsString": true } + }, + "operationType": { + "description": "Re-Do Operation", + "enum": [ + "Invalid", + "Register", + "Reregister" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationType", + "modelAsString": true + } } }, - "x-ms-discriminator-value": "AzureWorkloadBackupRequest" + "x-ms-discriminator-value": "AzureWorkloadContainer" }, "AzureWorkloadContainerExtendedInfo": { "description": "Extended information of the container.", @@ -3464,8 +3419,44 @@ } } }, + "AzureWorkloadPointInTimeRecoveryPoint": { + "description": "Recovery point specific to PointInTime", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureWorkloadRecoveryPoint" + } + ], + "properties": { + "timeRanges": { + "description": "List of log ranges", + "type": "array", + "items": { + "$ref": "#/definitions/PointInTimeRange" + } + } + }, + "x-ms-discriminator-value": "AzureWorkloadPointInTimeRecoveryPoint" + }, + "AzureWorkloadPointInTimeRestoreRequest": { + "description": "AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureWorkloadRestoreRequest" + } + ], + "properties": { + "pointInTime": { + "format": "date-time", + "description": "PointInTime value", + "type": "string" + } + }, + "x-ms-discriminator-value": "AzureWorkloadPointInTimeRestoreRequest" + }, "AzureWorkloadRecoveryPoint": { - "description": "Workload specific recovery point, specifically encapsulates full/diff recovery point", + "description": "Workload specific recoverypoint, specifcally encaspulates full/diff recoverypoint", "type": "object", "allOf": [ { @@ -3475,7 +3466,7 @@ "properties": { "recoveryPointTimeInUTC": { "format": "date-time", - "description": "UTC time at which recovery point was created", + "description": "UTC time at which recoverypoint was created", "type": "string" }, "type": { @@ -3528,6 +3519,10 @@ "additionalProperties": { "type": "string" } + }, + "targetInfo": { + "$ref": "#/definitions/TargetRestoreInfo", + "description": "Details of target database" } }, "x-ms-discriminator-value": "AzureWorkloadRestoreRequest" @@ -3537,18 +3532,9 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/AzureWorkloadSAPHanaRecoveryPoint" + "$ref": "#/definitions/AzureWorkloadPointInTimeRecoveryPoint" } ], - "properties": { - "timeRanges": { - "description": "List of log ranges", - "type": "array", - "items": { - "$ref": "#/definitions/PointInTimeRange" - } - } - }, "x-ms-discriminator-value": "AzureWorkloadSAPHanaPointInTimeRecoveryPoint" }, "AzureWorkloadSAPHanaPointInTimeRestoreRequest": { @@ -3569,34 +3555,13 @@ "x-ms-discriminator-value": "AzureWorkloadSAPHanaPointInTimeRestoreRequest" }, "AzureWorkloadSAPHanaRecoveryPoint": { - "description": "SAPHana specific recovery point, specifically encapsulates full/diff recovery points", + "description": "SAPHana specific recoverypoint, specifcally encaspulates full/diff recoverypoints", "type": "object", "allOf": [ { - "$ref": "#/definitions/RecoveryPoint" + "$ref": "#/definitions/AzureWorkloadRecoveryPoint" } ], - "properties": { - "recoveryPointTimeInUTC": { - "format": "date-time", - "description": "UTC time at which recovery point was created", - "type": "string" - }, - "type": { - "description": "Type of restore point", - "enum": [ - "Invalid", - "Full", - "Log", - "Differential" - ], - "type": "string", - "x-ms-enum": { - "name": "RestorePointType", - "modelAsString": true - } - } - }, "x-ms-discriminator-value": "AzureWorkloadSAPHanaRecoveryPoint" }, "AzureWorkloadSAPHanaRestoreRequest": { @@ -3604,40 +3569,9 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/RestoreRequest" + "$ref": "#/definitions/AzureWorkloadRestoreRequest" } ], - "properties": { - "targetInfo": { - "$ref": "#/definitions/TargetRestoreInfo", - "description": "Details of target database" - }, - "recoveryType": { - "description": "OLR/ALR, RestoreDisks is invalid option", - "enum": [ - "Invalid", - "OriginalLocation", - "AlternateLocation", - "RestoreDisks" - ], - "type": "string", - "x-ms-enum": { - "name": "RecoveryType", - "modelAsString": true - } - }, - "sourceResourceId": { - "description": "Fully qualified ARM ID of the VM on which workload that was running is being recovered.", - "type": "string" - }, - "propertyBag": { - "description": "Workload specific property bag.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, "x-ms-discriminator-value": "AzureWorkloadSAPHanaRestoreRequest" }, "AzureWorkloadSQLPointInTimeRecoveryPoint": { @@ -3677,7 +3611,7 @@ "x-ms-discriminator-value": "AzureWorkloadSQLPointInTimeRestoreRequest" }, "AzureWorkloadSQLRecoveryPoint": { - "description": "SQL specific recovery point, specifically encapsulates full/diff recovery point along with extended info", + "description": "SQL specific recoverypoint, specifcally encaspulates full/diff recoverypoint alongwith extended info", "type": "object", "allOf": [ { @@ -3687,7 +3621,7 @@ "properties": { "extendedInfo": { "$ref": "#/definitions/AzureWorkloadSQLRecoveryPointExtendedInfo", - "description": "Extended Info that provides data directory details. Will be populated in two cases:\r\n When a specific recovery point is accessed using GetRecoveryPoint\r\n Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter" + "description": "Extended Info that provides data directory details. Will be populated in two cases:\r\nWhen a specific recovery point is accessed using GetRecoveryPoint\r\nOr when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter" } }, "x-ms-discriminator-value": "AzureWorkloadSQLRecoveryPoint" @@ -3727,10 +3661,6 @@ "description": "SQL specific property where user can chose to set no-recovery when restore operation is tried", "type": "boolean" }, - "targetInfo": { - "$ref": "#/definitions/TargetRestoreInfo", - "description": "Details of target database" - }, "alternateDirectoryPaths": { "description": "Data directory details", "type": "array", @@ -3819,7 +3749,7 @@ }, "extendedInfo": { "$ref": "#/definitions/BackupEngineExtendedInfo", - "description": "Extended info of the backup engine" + "description": "Extended info of the backupengine" } }, "discriminator": "backupEngineType" @@ -3881,12 +3811,12 @@ }, "usedDiskSpace": { "format": "double", - "description": "Disk space used in the backup engine.", + "description": "Diskspace used in the backup engine.", "type": "number" }, "availableDiskSpace": { "format": "double", - "description": "Disk space currently available in the backup engine.", + "description": "Diskspace currently available in the backup engine.", "type": "number" }, "refreshedAt": { @@ -3909,7 +3839,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -4061,7 +3991,7 @@ } }, "BEKDetails": { - "description": "BEK is bitlocker encryption key.", + "description": "BEK is bitlocker encrpytion key.", "type": "object", "properties": { "secretUrl": { @@ -4229,7 +4159,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -4278,7 +4209,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -4391,7 +4323,9 @@ "SQLInstance", "SQLDataBase", "SAPHanaSystem", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseSystem", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -4415,7 +4349,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -4461,7 +4396,7 @@ "type": "string" }, "scriptNameSuffix": { - "description": "Mandator suffix that should be added to the name of script that is given for download to user.\r\n If its null or empty then , ignore it.", + "description": "Mandator suffix that should be added to the name of script that is given for download to user.\r\nIf its null or empty then , ignore it.", "type": "string" } } @@ -4543,7 +4478,7 @@ "type": "string" }, "status": { - "description": "Status of this Node.\r\n Failed | Succeeded", + "description": "Status of this Node.\r\nFailed | Succeeded", "type": "string" }, "errorDetail": { @@ -4639,7 +4574,7 @@ "type": "string" }, "protectionState": { - "description": "Protection state of the backup engine", + "description": "Protection state of the backupengine", "enum": [ "Invalid", "IRPending", @@ -5024,7 +4959,8 @@ "description": "Fully qualified ARM ID of the virtual machine.", "type": "string" } - } + }, + "x-ms-discriminator-value": "IaaSVMProtectableItem" }, "IaasVMRecoveryPoint": { "description": "IaaS VM workload specific backup copy.", @@ -5122,11 +5058,11 @@ "type": "string" }, "targetVirtualMachineId": { - "description": "This is the complete ARM Id of the VM that will be created.\r\n For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}", + "description": "This is the complete ARM Id of the VM that will be created.\r\nFor e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}", "type": "string" }, "targetResourceGroupId": { - "description": "This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts.\r\n For e.g. /subscriptions/{subId}/resourcegroups/{rg}", + "description": "This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts.\r\nFor e.g. /subscriptions/{subId}/resourcegroups/{rg}", "type": "string" }, "storageAccountId": { @@ -5134,15 +5070,15 @@ "type": "string" }, "virtualNetworkId": { - "description": "This is the virtual network Id of the vnet that will be attached to the virtual machine.\r\n User will be validated for join action permissions in the linked access.", + "description": "This is the virtual network Id of the vnet that will be attached to the virtual machine.\r\nUser will be validated for join action permissions in the linked access.", "type": "string" }, "subnetId": { - "description": "Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be\r\n {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent\r\n the subnet.", + "description": "Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be\r\n{VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent\r\nthe subnet.", "type": "string" }, "targetDomainNameId": { - "description": "Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic\r\n Virtual Machines.", + "description": "Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic\r\nVirtual Machines.", "type": "string" }, "region": { @@ -5154,7 +5090,7 @@ "type": "string" }, "createNewCloudService": { - "description": "Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same\r\n cloud service as it was at the time of backup.", + "description": "Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same\r\ncloud service as it was at the time of backup.", "type": "boolean" }, "originalStorageAccountOption": { @@ -5176,7 +5112,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -5201,7 +5137,7 @@ "type": "object", "properties": { "status": { - "description": "Inquiry Status for this container such as\r\n InProgress | Failed | Succeeded", + "description": "Inquiry Status for this container such as\r\nInProgress | Failed | Succeeded", "type": "string" }, "errorDetail": { @@ -5209,7 +5145,7 @@ "description": "Error Details if the Status is non-success." }, "inquiryDetails": { - "description": "Inquiry Details which will have workload specific details.\r\n For e.g. - For SQL and oracle this will contain different details.", + "description": "Inquiry Details which will have workload specific details.\r\nFor e.g. - For SQL and oracle this will contain different details.", "type": "array", "items": { "$ref": "#/definitions/WorkloadInquiryDetails" @@ -5263,7 +5199,7 @@ } }, "KeyAndSecretDetails": { - "description": "BEK is bitlocker key.\r\n KEK is encryption key for BEK\r\n If the VM was encrypted then we will store following details :\r\n 1. Secret(BEK) - Url + Backup Data + vaultId.\r\n 2. Key(KEK) - Url + Backup Data + vaultId.\r\n 3. EncryptionMechanism\r\n BEK and KEK can potentially have different vault ids.", + "description": "BEK is bitlocker key.\r\nKEK is encryption key for BEK\r\nIf the VM was encrypted then we will store follwing details :\r\n1. Secret(BEK) - Url + Backup Data + vaultId.\r\n2. Key(KEK) - Url + Backup Data + vaultId.\r\n3. EncryptionMechanism\r\nBEK and KEK can potentiallty have different vault ids.", "type": "object", "properties": { "kekDetails": { @@ -5272,7 +5208,7 @@ }, "bekDetails": { "$ref": "#/definitions/BEKDetails", - "description": "BEK is bitlocker encryption key." + "description": "BEK is bitlocker encrpytion key." }, "encryptionMechanism": { "description": "Encryption mechanism: None/ SinglePass/ DoublePass", @@ -5332,7 +5268,8 @@ { "$ref": "#/definitions/SchedulePolicy" } - ] + ], + "x-ms-discriminator-value": "LongTermSchedulePolicy" }, "MabContainer": { "description": "Container with items backed up using MAB backup engine.", @@ -5404,7 +5341,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -5576,10 +5514,6 @@ } } }, - "Object": { - "description": "Base of all objects.", - "type": "object" - }, "OperationStatus": { "description": "Operation status.", "type": "object", @@ -5649,7 +5583,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -5765,7 +5699,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup management for the container.", + "description": "Type of backup managemenent for the container.", "enum": [ "Invalid", "AzureIaasVM", @@ -5784,7 +5718,7 @@ } }, "protectableContainerType": { - "description": "Type of the container. The value of this property for\r\n 1. Compute Azure VM is Microsoft.Compute/virtualMachines\r\n 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines", + "description": "Type of the container. The value of this property for\r\n1. Compute Azure VM is Microsoft.Compute/virtualMachines\r\n2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines", "enum": [ "Invalid", "Unknown", @@ -5861,7 +5795,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup management for the backed up item.", + "description": "Type of backup managemenent for the backed up item.", "enum": [ "Invalid", "AzureIaasVM", @@ -5895,7 +5829,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -5963,7 +5898,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup management for the container.", + "description": "Type of backup managemenent for the container.", "enum": [ "Invalid", "AzureIaasVM", @@ -5990,7 +5925,7 @@ "type": "string" }, "containerType": { - "description": "Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.\r\n Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is\r\n Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload\r\n Backup is VMAppContainer", + "description": "Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.\r\nClassic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is\r\nWindows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload\r\nBackup is VMAppContainer", "enum": [ "Invalid", "Unknown", @@ -6062,7 +5997,7 @@ "type": "integer" }, "backupManagementType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -6090,7 +6025,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -6234,7 +6169,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -6260,7 +6195,7 @@ "properties": { "count": { "format": "int32", - "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\n For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.", + "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.", "type": "integer" }, "durationType": { @@ -6288,7 +6223,7 @@ "type": "object", "properties": { "retentionPolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -6302,7 +6237,7 @@ "type": "object", "properties": { "schedulePolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -6321,7 +6256,7 @@ "type": "boolean" }, "isCompression": { - "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\n will be deprecated once clients upgrade to consider this flag.", + "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.", "type": "boolean" } } @@ -6654,7 +6589,7 @@ "type": "object", "properties": { "backupManagementType": { - "description": "Type of backup management to backup an item.", + "description": "Type of backup managemenent to backup an item.", "type": "string" }, "workloadType": { @@ -6724,7 +6659,7 @@ "type": "object", "properties": { "backupManagementType": { - "description": "Type of backup management to backup an item.", + "description": "Type of backup managemenent to backup an item.", "type": "string" }, "workloadType": { @@ -6868,16 +6803,16 @@ "in": "path", "description": "The name of the resource group where the recovery services vault is present.", "required": true, - "x-ms-parameter-location": "method", - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" }, "VaultName": { "name": "vaultName", "in": "path", "description": "The name of the recovery services vault.", "required": true, - "x-ms-parameter-location": "method", - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" }, "ApiVersion": { "name": "api-version", diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json new file mode 100644 index 000000000000..7adaa9e34cfb --- /dev/null +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/examples/Common/BackupStorageConfig_Put.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "PythonSDKBackupTestRg", + "vaultName": "PySDKBackupTestRsVault", + "api-version": "2016-12-01", + "parameters": { + "properties": { + "storageType": "LocallyRedundant", + "storageTypeState": "Unlocked" + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PythonSDKBackupTestRg/providers/Microsoft.RecoveryServices/vaults/PySDKBackupTestRsVault/backupstorageconfig/vaultstorageconfig", + "name": "vaultstorageconfig", + "type": "Microsoft.RecoveryServices/vaults/backupstorageconfig", + "properties": { + "storageModelType": "LocallyRedundant", + "storageType": "LocallyRedundant", + "dedupState": "Disabled", + "xcoolState": "Disabled", + "storageTypeState": "Unlocked" + } + } + } + } +} \ No newline at end of file diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json index 05b64e835732..69577f50d8db 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json @@ -23,7 +23,7 @@ "tags": [ "ProtectionIntent" ], - "summary": "It will validate followings\r\n 1. Vault capacity\r\n 2. VM is already protected\r\n 3. Any VM related configuration passed in properties.", + "summary": "It will validate followings\r\n1. Vault capacity\r\n2. VM is already protected\r\n3. Any VM related configuration passed in properties.", "operationId": "ProtectionIntent_Validate", "produces": [ "application/json" @@ -56,7 +56,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Validate Enable Protection on Azure Vm": { "$ref": "./examples/AzureIaasVm/ProtectionIntent_Validate.json" @@ -102,7 +101,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Azure Virtual Machine Backup Status": { "$ref": "./examples/AzureIaasVm/GetBackupStatus.json" @@ -148,7 +146,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Check Azure Vm Backup Feature Support": { "$ref": "./examples/AzureIaasVm/BackupFeature_Validate.json" @@ -161,7 +158,7 @@ "tags": [ "ProtectionIntent" ], - "description": "Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,\r\n call the GetItemOperationResult API.", + "description": "Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,\r\ncall the GetItemOperationResult API.", "operationId": "ProtectionIntent_Get", "produces": [ "application/json" @@ -202,7 +199,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get ProtectionIntent for an item": { "$ref": "./examples/AzureWorkload/BackupProtectionIntent_Get.json" @@ -263,7 +259,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Create or Update Azure Vm Protection Intent": { "$ref": "./examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json" @@ -312,7 +307,6 @@ "description": "NoContent" } }, - "deprecated": false, "x-ms-examples": { "Delete Protection intent from item": { "$ref": "./examples/AzureWorkload/BackupProtectionIntent_Delete.json" @@ -366,7 +360,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/JobQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -389,7 +382,7 @@ "tags": [ "JobDetails" ], - "description": "Gets extended information associated with the job.", + "description": "Gets exteded information associated with the job.", "operationId": "JobDetails_Get", "produces": [ "application/json" @@ -423,7 +416,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Job Details": { "$ref": "./examples/Common/GetJobDetails.json" @@ -436,7 +428,7 @@ "tags": [ "ExportJobsOperationResults" ], - "description": "Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also\r\n contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.", + "description": "Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also\r\ncontains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.", "operationId": "ExportJobsOperationResults_Get", "produces": [ "application/json" @@ -476,7 +468,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Export Jobs Operation Results": { "$ref": "./examples/Common/ExportJobsOperationResult.json" @@ -520,7 +511,6 @@ "description": "Accepted" } }, - "deprecated": false, "x-ms-odata": "#/definitions/JobQueryObject", "x-ms-examples": { "Export Jobs": { @@ -534,7 +524,7 @@ "tags": [ "BackupPolicies" ], - "description": "Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch\r\n scoped results.", + "description": "Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch\r\nscoped results.", "operationId": "BackupPolicies_List", "produces": [ "application/json" @@ -568,7 +558,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/ProtectionPolicyQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -629,7 +618,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/ProtectedItemQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -687,7 +675,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/ProtectionIntentQueryObject", "x-ms-pageable": { "nextLinkName": "nextLink" @@ -745,7 +732,6 @@ } } }, - "deprecated": false, "x-ms-odata": "#/definitions/BMSBackupSummariesQueryObject", "x-ms-pageable": { "nextLinkName": null @@ -801,7 +787,6 @@ } } }, - "deprecated": false, "x-ms-examples": { "Validate Operation": { "$ref": "./examples/AzureIaasVm/ValidateOperation_RestoreDisk.json" @@ -929,7 +914,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -1094,7 +1080,7 @@ } }, "AzureIaaSVMJob": { - "description": "Azure IaaS VM workload-specific job object.", + "description": "Azure IaaS VM workload-specifc job object.", "type": "object", "allOf": [ { @@ -1218,7 +1204,7 @@ "type": "number" }, "taskExecutionDetails": { - "description": "Details about execution of the task.\r\n eg: number of bytes transferred etc", + "description": "Details about execution of the task.\r\neg: number of bytes transfered etc", "type": "string" } } @@ -1519,7 +1505,8 @@ "$ref": "#/definitions/AzureStorageJobExtendedInfo", "description": "Additional information about the job." } - } + }, + "x-ms-discriminator-value": "AzureStorageJob" }, "AzureStorageJobExtendedInfo": { "description": "Azure Storage workload-specific additional information for job.", @@ -1691,7 +1678,8 @@ "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", "description": "Additional information for this backup item." } - } + }, + "x-ms-discriminator-value": "AzureVmWorkloadProtectedItem" }, "AzureVmWorkloadProtectedItemExtendedInfo": { "description": "Additional information on Azure Workload for SQL specific backup item.", @@ -1738,7 +1726,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -1760,8 +1749,18 @@ }, "x-ms-discriminator-value": "AzureWorkload" }, + "AzureVmWorkloadSAPAseDatabaseProtectedItem": { + "description": "Azure VM workload-specific protected item representing SAP ASE Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" + } + ], + "x-ms-discriminator-value": "AzureVmWorkloadSAPAseDatabase" + }, "AzureVmWorkloadSAPHanaDatabaseProtectedItem": { - "description": "Azure VM workload-specific protected item representing SAP Hana Database.", + "description": "Azure VM workload-specific protected item representing SAP HANA Database.", "type": "object", "allOf": [ { @@ -1775,93 +1774,9 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/ProtectedItem" + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" } ], - "properties": { - "friendlyName": { - "description": "Friendly name of the DB represented by this backup item.", - "type": "string" - }, - "serverName": { - "description": "Host/Cluster Name for instance or AG", - "type": "string" - }, - "parentName": { - "description": "Parent name of the DB such as Instance or Availability Group.", - "type": "string" - }, - "parentType": { - "description": "Parent type of DB, SQLAG or StandAlone", - "type": "string" - }, - "protectionStatus": { - "description": "Backup status of this backup item.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of this backup item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionState", - "modelAsString": true - } - }, - "lastBackupStatus": { - "description": "Last backup operation status. Possible values: Healthy, Unhealthy.", - "enum": [ - "Invalid", - "Healthy", - "Unhealthy", - "IRPending" - ], - "type": "string", - "x-ms-enum": { - "name": "LastBackupStatus", - "modelAsString": true - } - }, - "lastBackupTime": { - "format": "date-time", - "description": "Timestamp of the last backup operation on this backup item.", - "type": "string" - }, - "lastBackupErrorDetail": { - "$ref": "#/definitions/ErrorDetail", - "description": "Error details in last backup" - }, - "protectedItemDataSourceId": { - "description": "Data ID of the protected item.", - "type": "string" - }, - "protectedItemHealthStatus": { - "description": "Health status of the backup item, evaluated based on last heartbeat received", - "enum": [ - "Invalid", - "Healthy", - "Unhealthy", - "NotReachable", - "IRPending" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectedItemHealthStatus", - "modelAsString": true - } - }, - "extendedInfo": { - "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", - "description": "Additional information for this backup item." - } - }, "x-ms-discriminator-value": "AzureVmWorkloadSQLDatabase" }, "AzureWorkloadAutoProtectionIntent": { @@ -1949,7 +1864,8 @@ "$ref": "#/definitions/AzureWorkloadJobExtendedInfo", "description": "Additional information about the job." } - } + }, + "x-ms-discriminator-value": "AzureWorkloadJob" }, "AzureWorkloadJobExtendedInfo": { "description": "Azure VM workload-specific additional information for job.", @@ -1989,6 +1905,23 @@ } } }, + "AzureWorkloadPointInTimeRestoreRequest": { + "description": "AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log restore", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureWorkloadRestoreRequest" + } + ], + "properties": { + "pointInTime": { + "format": "date-time", + "description": "PointInTime value", + "type": "string" + } + }, + "x-ms-discriminator-value": "AzureWorkloadPointInTimeRestoreRequest" + }, "AzureWorkloadRestoreRequest": { "description": "AzureWorkload-specific restore.", "type": "object", @@ -2022,6 +1955,10 @@ "additionalProperties": { "type": "string" } + }, + "targetInfo": { + "$ref": "#/definitions/TargetRestoreInfo", + "description": "Details of target database" } }, "x-ms-discriminator-value": "AzureWorkloadRestoreRequest" @@ -2048,40 +1985,9 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/RestoreRequest" + "$ref": "#/definitions/AzureWorkloadRestoreRequest" } ], - "properties": { - "targetInfo": { - "$ref": "#/definitions/TargetRestoreInfo", - "description": "Details of target database" - }, - "recoveryType": { - "description": "OLR/ALR, RestoreDisks is invalid option", - "enum": [ - "Invalid", - "OriginalLocation", - "AlternateLocation", - "RestoreDisks" - ], - "type": "string", - "x-ms-enum": { - "name": "RecoveryType", - "modelAsString": true - } - }, - "sourceResourceId": { - "description": "Fully qualified ARM ID of the VM on which workload that was running is being recovered.", - "type": "string" - }, - "propertyBag": { - "description": "Workload specific property bag.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, "x-ms-discriminator-value": "AzureWorkloadSAPHanaRestoreRequest" }, "AzureWorkloadSQLAutoProtectionIntent": { @@ -2100,7 +2006,9 @@ "SQLInstance", "SQLDataBase", "SAPHanaSystem", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseSystem", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -2145,10 +2053,6 @@ "description": "SQL specific property where user can chose to set no-recovery when restore operation is tried", "type": "boolean" }, - "targetInfo": { - "$ref": "#/definitions/TargetRestoreInfo", - "description": "Details of target database" - }, "alternateDirectoryPaths": { "description": "Data directory details", "type": "array", @@ -2237,7 +2141,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -2395,7 +2300,7 @@ } }, "DpmJob": { - "description": "DPM workload-specific job object.", + "description": "DPM workload-specifc job object.", "type": "object", "allOf": [ { @@ -2525,7 +2430,7 @@ "type": "string" }, "protectionState": { - "description": "Protection state of the backup engine", + "description": "Protection state of the backupengine", "enum": [ "Invalid", "IRPending", @@ -2811,11 +2716,11 @@ "type": "string" }, "targetVirtualMachineId": { - "description": "This is the complete ARM Id of the VM that will be created.\r\n For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}", + "description": "This is the complete ARM Id of the VM that will be created.\r\nFor e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}", "type": "string" }, "targetResourceGroupId": { - "description": "This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts.\r\n For e.g. /subscriptions/{subId}/resourcegroups/{rg}", + "description": "This is the ARM Id of the resource group that you want to create for this Virtual machine and other artifacts.\r\nFor e.g. /subscriptions/{subId}/resourcegroups/{rg}", "type": "string" }, "storageAccountId": { @@ -2823,15 +2728,15 @@ "type": "string" }, "virtualNetworkId": { - "description": "This is the virtual network Id of the vnet that will be attached to the virtual machine.\r\n User will be validated for join action permissions in the linked access.", + "description": "This is the virtual network Id of the vnet that will be attached to the virtual machine.\r\nUser will be validated for join action permissions in the linked access.", "type": "string" }, "subnetId": { - "description": "Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be\r\n {VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent\r\n the subnet.", + "description": "Subnet ID, is the subnet ID associated with the to be restored VM. For Classic VMs it would be\r\n{VnetID}/Subnet/{SubnetName} and, for the Azure Resource Manager VMs it would be ARM resource ID used to represent\r\nthe subnet.", "type": "string" }, "targetDomainNameId": { - "description": "Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic\r\n Virtual Machines.", + "description": "Fully qualified ARM ID of the domain name to be associated to the VM being restored. This applies only to Classic\r\nVirtual Machines.", "type": "string" }, "region": { @@ -2843,7 +2748,7 @@ "type": "string" }, "createNewCloudService": { - "description": "Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same\r\n cloud service as it was at the time of backup.", + "description": "Should a new cloud service be created while restoring the VM. If this is false, VM will be restored to the same\r\ncloud service as it was at the time of backup.", "type": "boolean" }, "originalStorageAccountOption": { @@ -2910,7 +2815,7 @@ "type": "string" }, "jobType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -2938,7 +2843,7 @@ } }, "backupManagementType": { - "description": "Type of backup management for the job.", + "description": "Type of backup managmenent for the job.", "enum": [ "Invalid", "AzureIaasVM", @@ -3074,7 +2979,8 @@ { "$ref": "#/definitions/SchedulePolicy" } - ] + ], + "x-ms-discriminator-value": "LongTermSchedulePolicy" }, "MabErrorInfo": { "description": "MAB workload-specific error information.", @@ -3230,7 +3136,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -3378,10 +3285,6 @@ } } }, - "Object": { - "description": "Base of all objects.", - "type": "object" - }, "OperationResultInfo": { "description": "Operation result info.", "type": "object", @@ -3409,7 +3312,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -3503,7 +3406,7 @@ } }, "PreValidateEnableBackupRequest": { - "description": "Contract to validate if backup can be enabled on the given resource in a given vault and given configuration.\r\n It will validate followings\r\n 1. Vault capacity\r\n 2. VM is already protected\r\n 3. Any VM related configuration passed in properties.", + "description": "Contract to validate if backup can be enabled on the given resource in a given vault and given configuration.\r\nIt will validate followings\r\n1. Vault capacity\r\n2. VM is already protected\r\n3. Any VM related configuration passed in properties.", "type": "object", "properties": { "resourceType": { @@ -3522,7 +3425,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -3570,7 +3474,7 @@ "type": "string" }, "containerName": { - "description": "Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required\r\n for portal", + "description": "Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required\r\nfor portal", "type": "string" }, "protectedItemName": { @@ -3588,7 +3492,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup management for the backed up item.", + "description": "Type of backup managemenent for the backed up item.", "enum": [ "Invalid", "AzureIaasVM", @@ -3622,7 +3526,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -3720,7 +3625,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -3795,7 +3701,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup management for the backed up item.", + "description": "Type of backup managemenent for the backed up item.", "enum": [ "Invalid", "AzureIaasVM", @@ -3934,7 +3840,7 @@ "type": "integer" }, "backupManagementType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -3983,7 +3889,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -4098,7 +4005,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -4110,7 +4017,7 @@ "properties": { "count": { "format": "int32", - "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\n For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.", + "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.", "type": "integer" }, "durationType": { @@ -4138,7 +4045,7 @@ "type": "object", "properties": { "retentionPolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -4152,7 +4059,7 @@ "type": "object", "properties": { "schedulePolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -4171,7 +4078,7 @@ "type": "boolean" }, "isCompression": { - "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\n will be deprecated once clients upgrade to consider this flag.", + "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.", "type": "boolean" } } @@ -4369,7 +4276,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", "type": "string" } }, @@ -4574,8 +4481,8 @@ "in": "path", "description": "Azure region to hit Api", "required": true, - "x-ms-parameter-location": "method", - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" }, "ApiVersion": { "name": "api-version", @@ -4589,16 +4496,16 @@ "in": "path", "description": "The name of the resource group where the recovery services vault is present.", "required": true, - "x-ms-parameter-location": "method", - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" }, "VaultName": { "name": "vaultName", "in": "path", "description": "The name of the recovery services vault.", "required": true, - "x-ms-parameter-location": "method", - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" } }, "securityDefinitions": { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json new file mode 100644 index 000000000000..f2a1232ae130 --- /dev/null +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json @@ -0,0 +1,3408 @@ +{ + "swagger": "2.0", + "info": { + "version": "2017-09-01", + "title": "RecoveryServicesBackupClient", + "x-ms-code-generation-settings": { + "internalConstructors": false + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics": { + "get": { + "tags": [ + "BackupFabrics" + ], + "description": "Retruns backup fabrics registered to Recovery Services Vault. Returns a pageable list of fabrics.", + "operationId": "BackupFabrics_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "skipToken Filter.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GenericBackupFabricResourceList" + } + } + }, + "x-ms-odata": "#/definitions/BMSBackupFabricsQueryObject", + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}": { + "get": { + "tags": [ + "BackupFabrics" + ], + "description": "Returns backup fabric registered to Recovery Services Vault.", + "operationId": "BackupFabrics_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Name of the backup backup fabric.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "skipToken Filter.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GenericBackupFabricResource" + } + } + }, + "x-ms-odata": "#/definitions/BMSBackupFabricQueryObject" + }, + "put": { + "tags": [ + "BackupFabrics" + ], + "description": "Create or Update the backup fabric in Recovery Services Vault", + "operationId": "BackupFabrics_CreateOrUpdate", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Name of the backup backup fabric.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "fabric resource item", + "required": true, + "schema": { + "$ref": "#/definitions/GenericBackupFabricResource" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GenericBackupFabricResource" + } + } + } + }, + "delete": { + "tags": [ + "BackupFabrics" + ], + "description": "Deletes the backup fabric in Recovery Services Vault", + "operationId": "BackupFabrics_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Name of the backup backup fabric.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + } + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies": { + "get": { + "tags": [ + "ScopedBackupPolicies" + ], + "description": "Lists of backup policies associated with Recovery Services Vault.\r\nAPI provides pagination parameters to fetch scoped results.", + "operationId": "ScopedBackupPolicies_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProtectionPolicyResourceList" + } + } + }, + "x-ms-odata": "#/definitions/ProtectionPolicyQueryObject", + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}": { + "get": { + "tags": [ + "ScopedProtectionPolicies" + ], + "description": "Provides the details of the backup policies associated to Recovery Services Vault.\r\nThis is an asynchronous operation. Status of the operation can be fetched using\r\nGetScopedPolicyOperationResult API.", + "operationId": "ScopedProtectionPolicies_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "policyName", + "in": "path", + "description": "Backup policy information to be fetched.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProtectionPolicyResource" + } + } + } + }, + "put": { + "tags": [ + "ScopedProtectionPolicies" + ], + "description": "Creates or modifies a backup policy. This is an asynchronous operation. Status of the\r\noperation can be fetched using GetScopedPolicyOperationResult API.", + "operationId": "ScopedProtectionPolicies_CreateOrUpdate", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "policyName", + "in": "path", + "description": "Backup policy to be created.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "resource backup policy", + "required": true, + "schema": { + "$ref": "#/definitions/ProtectionPolicyResource" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProtectionPolicyResource" + } + }, + "202": { + "description": "Accepted" + } + } + }, + "delete": { + "tags": [ + "ScopedProtectionPolicies" + ], + "description": "Deletes specified backup policy from your Backup Fabric. This is an asynchronous operation.\r\nStatus of the operation can be fetched using GetScopedPolicyOperationResult API.", + "operationId": "ScopedProtectionPolicies_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "policyName", + "in": "path", + "description": "Backup policy to be deleted.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "NoContent" + } + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}/operationResults/{operationId}": { + "get": { + "tags": [ + "ScopedProtectionPolicyOperationResults" + ], + "description": "Provides the result of an operation.", + "operationId": "ScopedProtectionPolicyOperationResults_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "policyName", + "in": "path", + "description": "Backup policy name whose operation's result needs to be fetched.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "Operation ID which represents the operation whose result needs to be fetched.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProtectionPolicyResource" + } + }, + "202": { + "description": "Accepted" + } + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}/operations/{operationId}": { + "get": { + "tags": [ + "ScopedProtectionPolicyOperationStatuses" + ], + "description": "Provides the status of the asynchronous operations like backup, restore. The status can\r\nbe in progress, completed or failed. You can refer to the Operation Status enum for all\r\nthe possible states of an operation. Some operations create jobs. This method returns the\r\nlist of jobs associated with operation.", + "operationId": "ScopedProtectionPolicyOperationStatuses_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "", + "required": true, + "type": "string" + }, + { + "name": "policyName", + "in": "path", + "description": "Backup policy name whose operation's status needs to be fetched.", + "required": true, + "type": "string" + }, + { + "name": "operationId", + "in": "path", + "description": "Operation ID which represents an operation whose status needs to be fetched.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + } + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers": { + "get": { + "tags": [ + "BackupProtectionContainersInFabric" + ], + "description": "Lists the containers registered to a backup fabric.", + "operationId": "BackupProtectionContainersInFabric_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProtectionContainerResourceList" + } + } + }, + "x-ms-odata": "#/definitions/BMSContainerQueryObject", + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems": { + "get": { + "tags": [ + "BackupProtectedItemsInContainer" + ], + "description": "Provides a pageable list of all items that are backed up within a container.", + "operationId": "BackupProtectedItemsInContainer_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" + }, + { + "name": "$skipToken", + "in": "query", + "description": "skipToken Filter.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ProtectedItemResourceList" + } + } + }, + "x-ms-odata": "#/definitions/ProtectedItemQueryObject", + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/restoreAccess": { + "post": { + "tags": [ + "ProtectionContainers" + ], + "description": "Grants restore access to container.", + "operationId": "ProtectionContainers_AccessRestore", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/VaultName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "fabricName", + "in": "path", + "description": "Fabric name associated the container.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "Name of the container for which access is required", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "restore access request", + "required": true, + "schema": { + "$ref": "#/definitions/GenericRestoreAccessRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GenericRestoreAccessResponse" + } + } + } + } + } + }, + "definitions": { + "AzureBackupServerContainer": { + "description": "AzureBackupServer (DPMVenus) workload-specific protection container.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DpmContainer" + } + ], + "x-ms-discriminator-value": "AzureBackupServerContainer" + }, + "AzureFileshareProtectedItem": { + "description": "Azure File Share workload-specific backup item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "friendlyName": { + "description": "Friendly name of the fileshare represented by this backup item.", + "type": "string" + }, + "protectionStatus": { + "description": "Backup status of this backup item.", + "type": "string" + }, + "protectionState": { + "description": "Backup state of this backup item.", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true + } + }, + "healthStatus": { + "description": "backups running status for this backup item.", + "enum": [ + "Passed", + "ActionRequired", + "ActionSuggested", + "Invalid" + ], + "type": "string", + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "lastBackupStatus": { + "description": "Last backup operation status. Possible values: Healthy, Unhealthy.", + "type": "string" + }, + "lastBackupTime": { + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item.", + "type": "string" + }, + "extendedInfo": { + "$ref": "#/definitions/AzureFileshareProtectedItemExtendedInfo", + "description": "Additional information with this backup item." + } + }, + "x-ms-discriminator-value": "AzureFileShareProtectedItem" + }, + "AzureFileshareProtectedItemExtendedInfo": { + "description": "Additional information about Azure File Share backup item.", + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "format": "date-time", + "description": "The oldest backup copy available for this item in the service.", + "type": "string" + }, + "recoveryPointCount": { + "format": "int32", + "description": "Number of available backup copies associated with this backup item.", + "type": "integer" + }, + "policyState": { + "description": "Indicates consistency of policy object and policy applied to this backup item.", + "type": "string" + } + } + }, + "AzureFileShareProtectionPolicy": { + "description": "AzureStorage backup policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + } + ], + "properties": { + "workLoadType": { + "description": "Type of workload for the backup management", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadType", + "modelAsString": true + } + }, + "schedulePolicy": { + "$ref": "#/definitions/SchedulePolicy", + "description": "Backup schedule specified as part of backup policy." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "Retention policy with the details on backup copy retention ranges." + }, + "timeZone": { + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", + "type": "string" + } + }, + "x-ms-discriminator-value": "AzureStorage" + }, + "AzureIaaSClassicComputeVMContainer": { + "description": "IaaS VM workload-specific backup item representing a classic virtual machine.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IaaSVMContainer" + } + ], + "x-ms-discriminator-value": "Microsoft.ClassicCompute/virtualMachines" + }, + "AzureIaaSClassicComputeVMProtectedItem": { + "description": "IaaS VM workload-specific backup item representing the Classic Compute VM.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureIaaSVMProtectedItem" + } + ], + "x-ms-discriminator-value": "Microsoft.ClassicCompute/virtualMachines" + }, + "AzureIaaSComputeVMContainer": { + "description": "IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IaaSVMContainer" + } + ], + "x-ms-discriminator-value": "Microsoft.Compute/virtualMachines" + }, + "AzureIaaSComputeVMProtectedItem": { + "description": "IaaS VM workload-specific backup item representing the Azure Resource Manager VM.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureIaaSVMProtectedItem" + } + ], + "x-ms-discriminator-value": "Microsoft.Compute/virtualMachines" + }, + "AzureIaaSVMHealthDetails": { + "description": "Azure IaaS VM workload-specific Health Details.", + "type": "object", + "properties": { + "code": { + "format": "int32", + "description": "Health Code", + "type": "integer" + }, + "title": { + "description": "Health Title", + "type": "string" + }, + "message": { + "description": "Health Message", + "type": "string" + }, + "recommendations": { + "description": "Health Recommended Actions", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AzureIaaSVMProtectedItem": { + "description": "IaaS VM workload-specific backup item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "friendlyName": { + "description": "Friendly name of the VM represented by this backup item.", + "type": "string" + }, + "virtualMachineId": { + "description": "Fully qualified ARM ID of the virtual machine represented by this item.", + "type": "string" + }, + "protectionStatus": { + "description": "Backup status of this backup item.", + "type": "string" + }, + "protectionState": { + "description": "Backup state of this backup item.", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true + } + }, + "healthStatus": { + "description": "Health status of protected item", + "enum": [ + "Passed", + "ActionRequired", + "ActionSuggested", + "Invalid" + ], + "type": "string", + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "healthDetails": { + "description": "Health details on this backup item.", + "type": "array", + "items": { + "$ref": "#/definitions/AzureIaaSVMHealthDetails" + } + }, + "lastBackupStatus": { + "description": "Last backup operation status.", + "type": "string" + }, + "lastBackupTime": { + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item.", + "type": "string" + }, + "protectedItemDataId": { + "description": "Data ID of the protected item.", + "type": "string" + }, + "extendedInfo": { + "$ref": "#/definitions/AzureIaaSVMProtectedItemExtendedInfo", + "description": "Additional information for this backup item." + } + }, + "x-ms-discriminator-value": "AzureIaaSVMProtectedItem" + }, + "AzureIaaSVMProtectedItemExtendedInfo": { + "description": "Additional information on Azure IaaS VM specific backup item.", + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "format": "date-time", + "description": "The oldest backup copy available for this backup item.", + "type": "string" + }, + "recoveryPointCount": { + "format": "int32", + "description": "Number of backup copies available for this backup item.", + "type": "integer" + }, + "policyInconsistent": { + "description": "Specifies if backup policy associated with the backup item is inconsistent.", + "type": "boolean" + } + } + }, + "AzureIaaSVMProtectionPolicy": { + "description": "IaaS VM workload-specific backup policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + } + ], + "properties": { + "schedulePolicy": { + "$ref": "#/definitions/SchedulePolicy", + "description": "Backup schedule specified as part of backup policy." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "Retention policy with the details on backup copy retention ranges." + }, + "instantRpRetentionRangeInDays": { + "format": "int32", + "description": "Instant RP retention policy range in days", + "type": "integer" + }, + "timeZone": { + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", + "type": "string" + } + }, + "x-ms-discriminator-value": "AzureIaasVM" + }, + "AzureSQLAGWorkloadContainerProtectionContainer": { + "description": "Container for SQL workloads under SQL Availability Group.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureWorkloadContainer" + } + ], + "x-ms-discriminator-value": "SQLAGWorkLoadContainer" + }, + "AzureSqlContainer": { + "description": "Azure Sql workload-specific container.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "x-ms-discriminator-value": "AzureSqlContainer" + }, + "AzureSqlProtectedItem": { + "description": "Azure SQL workload-specific backup item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "protectedItemDataId": { + "description": "Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.", + "type": "string" + }, + "protectionState": { + "description": "Backup state of the backed up item.", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectedItemState", + "modelAsString": true + } + }, + "extendedInfo": { + "$ref": "#/definitions/AzureSqlProtectedItemExtendedInfo", + "description": "Additional information for this backup item." + } + }, + "x-ms-discriminator-value": "Microsoft.Sql/servers/databases" + }, + "AzureSqlProtectedItemExtendedInfo": { + "description": "Additional information on Azure Sql specific protected item.", + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "format": "date-time", + "description": "The oldest backup copy available for this item in the service.", + "type": "string" + }, + "recoveryPointCount": { + "format": "int32", + "description": "Number of available backup copies associated with this backup item.", + "type": "integer" + }, + "policyState": { + "description": "State of the backup policy associated with this backup item.", + "type": "string" + } + } + }, + "AzureSqlProtectionPolicy": { + "description": "Azure SQL workload-specific backup policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + } + ], + "properties": { + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "Retention policy details." + } + }, + "x-ms-discriminator-value": "AzureSql" + }, + "AzureStorageContainer": { + "description": "Azure Storage Account workload-specific container.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "properties": { + "sourceResourceId": { + "description": "Fully qualified ARM url.", + "type": "string" + }, + "storageAccountVersion": { + "description": "Storage account version.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group name of Recovery Services Vault.", + "type": "string" + }, + "protectedItemCount": { + "format": "int64", + "description": "Number of items backed up in this container.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "StorageContainer" + }, + "AzureVMAppContainerProtectionContainer": { + "description": "Container for SQL workloads under Azure Virtual Machines.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureWorkloadContainer" + } + ], + "x-ms-discriminator-value": "VMAppContainer" + }, + "AzureVmWorkloadProtectedItem": { + "description": "Azure VM workload-specific protected item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "friendlyName": { + "description": "Friendly name of the DB represented by this backup item.", + "type": "string" + }, + "serverName": { + "description": "Host/Cluster Name for instance or AG", + "type": "string" + }, + "parentName": { + "description": "Parent name of the DB such as Instance or Availability Group.", + "type": "string" + }, + "parentType": { + "description": "Parent type of protected item, example: for a DB, standalone server or distributed", + "type": "string" + }, + "protectionStatus": { + "description": "Backup status of this backup item.", + "type": "string" + }, + "protectionState": { + "description": "Backup state of this backup item.", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true + } + }, + "lastBackupStatus": { + "description": "Last backup operation status. Possible values: Healthy, Unhealthy.", + "enum": [ + "Invalid", + "Healthy", + "Unhealthy", + "IRPending" + ], + "type": "string", + "x-ms-enum": { + "name": "LastBackupStatus", + "modelAsString": true + } + }, + "lastBackupTime": { + "format": "date-time", + "description": "Timestamp of the last backup operation on this backup item.", + "type": "string" + }, + "lastBackupErrorDetail": { + "$ref": "#/definitions/ErrorDetail", + "description": "Error details in last backup" + }, + "protectedItemDataSourceId": { + "description": "Data ID of the protected item.", + "type": "string" + }, + "protectedItemHealthStatus": { + "description": "Health status of the backup item, evaluated based on last heartbeat received", + "enum": [ + "Invalid", + "Healthy", + "Unhealthy", + "NotReachable", + "IRPending" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectedItemHealthStatus", + "modelAsString": true + } + }, + "extendedInfo": { + "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", + "description": "Additional information for this backup item." + } + }, + "x-ms-discriminator-value": "AzureVmWorkloadProtectedItem" + }, + "AzureVmWorkloadProtectedItemExtendedInfo": { + "description": "Additional information on Azure Workload for SQL specific backup item.", + "type": "object", + "properties": { + "oldestRecoveryPoint": { + "format": "date-time", + "description": "The oldest backup copy available for this backup item.", + "type": "string" + }, + "recoveryPointCount": { + "format": "int32", + "description": "Number of backup copies available for this backup item.", + "type": "integer" + }, + "policyState": { + "description": "Indicates consistency of policy object and policy applied to this backup item.", + "type": "string" + } + } + }, + "AzureVmWorkloadProtectionPolicy": { + "description": "Azure VM (Mercury) workload-specific backup policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + } + ], + "properties": { + "workLoadType": { + "description": "Type of workload for the backup management", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadType", + "modelAsString": true + } + }, + "settings": { + "$ref": "#/definitions/Settings", + "description": "Common settings for the backup management" + }, + "subProtectionPolicy": { + "description": "List of sub-protection policies which includes schedule and retention", + "type": "array", + "items": { + "$ref": "#/definitions/SubProtectionPolicy" + } + } + }, + "x-ms-discriminator-value": "AzureWorkload" + }, + "AzureVmWorkloadSAPAseDatabaseProtectedItem": { + "description": "Azure VM workload-specific protected item representing SAP ASE Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" + } + ], + "x-ms-discriminator-value": "AzureVmWorkloadSAPAseDatabase" + }, + "AzureVmWorkloadSAPHanaDatabaseProtectedItem": { + "description": "Azure VM workload-specific protected item representing SAP HANA Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" + } + ], + "x-ms-discriminator-value": "AzureVmWorkloadSAPHanaDatabase" + }, + "AzureVmWorkloadSQLDatabaseProtectedItem": { + "description": "Azure VM workload-specific protected item representing SQL Database.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureVmWorkloadProtectedItem" + } + ], + "x-ms-discriminator-value": "AzureVmWorkloadSQLDatabase" + }, + "AzureWorkloadContainer": { + "description": "Container for the workloads running inside Azure Compute or Classic Compute.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "properties": { + "sourceResourceId": { + "description": "ARM ID of the virtual machine represented by this Azure Workload Container", + "type": "string" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "Time stamp when this container was updated.", + "type": "string" + }, + "extendedInfo": { + "$ref": "#/definitions/AzureWorkloadContainerExtendedInfo", + "description": "Additional details of a workload container." + }, + "workloadType": { + "description": "Workload type for which registration was sent.", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadType", + "modelAsString": true + } + }, + "operationType": { + "description": "Re-Do Operation", + "enum": [ + "Invalid", + "Register", + "Reregister" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationType", + "modelAsString": true + } + } + }, + "x-ms-discriminator-value": "AzureWorkloadContainer" + }, + "AzureWorkloadContainerExtendedInfo": { + "description": "Extended information of the container.", + "type": "object", + "properties": { + "hostServerName": { + "description": "Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.", + "type": "string" + }, + "inquiryInfo": { + "$ref": "#/definitions/InquiryInfo", + "description": "Inquiry Status for the container." + }, + "nodesList": { + "description": "List of the nodes in case of distributed container.", + "type": "array", + "items": { + "$ref": "#/definitions/DistributedNodesInfo" + } + } + } + }, + "BMSBackupFabricQueryObject": { + "description": "Query parameters to fetch list of backup fabric.", + "type": "object", + "properties": { + "expand": { + "description": "attribute to add extended info", + "type": "string" + } + } + }, + "BMSBackupFabricsQueryObject": { + "description": "Query parameters to fetch list of backup fabrics.", + "type": "object", + "properties": { + "backupManagementType": { + "description": "Backup management type for the backup fabric.", + "type": "string" + }, + "friendlyName": { + "description": "Friendly name of the backup fabric.", + "type": "string" + }, + "expand": { + "description": "Attribute to add extended info.", + "type": "string" + } + } + }, + "BMSContainerQueryObject": { + "description": "The query filters that can be used with the list containers API.", + "required": [ + "backupManagementType" + ], + "type": "object", + "properties": { + "backupManagementType": { + "description": "Backup management type for this container.", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupManagementType", + "modelAsString": true + } + }, + "containerType": { + "description": "Type of container for filter", + "enum": [ + "Invalid", + "Unknown", + "IaasVMContainer", + "IaasVMServiceContainer", + "DPMContainer", + "AzureBackupServerContainer", + "MABContainer", + "Cluster", + "AzureSqlContainer", + "Windows", + "VCenter", + "VMAppContainer", + "SQLAGWorkLoadContainer", + "StorageContainer", + "GenericContainer" + ], + "type": "string", + "x-ms-enum": { + "name": "ContainerType", + "modelAsString": true + } + }, + "backupEngineName": { + "description": "Backup engine name", + "type": "string" + }, + "fabricName": { + "description": "Fabric name for filter", + "type": "string" + }, + "status": { + "description": "Status of registration of this container with the Recovery Services Vault.", + "type": "string" + }, + "friendlyName": { + "description": "Friendly name of this container.", + "type": "string" + } + } + }, + "ClientScriptForConnect": { + "description": "Client script details for file / folder restore.", + "type": "object", + "properties": { + "scriptContent": { + "description": "File content of the client script for file / folder restore.", + "type": "string" + }, + "scriptExtension": { + "description": "File extension of the client script for file / folder restore - .ps1 , .sh , etc.", + "type": "string" + }, + "osType": { + "description": "OS type - Windows, Linux etc. for which this file / folder restore client script works.", + "type": "string" + }, + "url": { + "description": "URL of Executable from where to source the content. If this is not null then ScriptContent should not be used", + "type": "string" + }, + "scriptNameSuffix": { + "description": "Mandator suffix that should be added to the name of script that is given for download to user.\r\nIf its null or empty then , ignore it.", + "type": "string" + } + } + }, + "ContainerIdentityInfo": { + "description": "Container identity information", + "type": "object", + "properties": { + "uniqueName": { + "description": "Unique name of the container", + "type": "string" + }, + "aadTenantId": { + "description": "Protection container identity - AAD Tenant", + "type": "string" + }, + "servicePrincipalClientId": { + "description": "Protection container identity - AAD Service Principal", + "type": "string" + }, + "audience": { + "description": "Protection container identity - Audience", + "type": "string" + } + } + }, + "DailyRetentionFormat": { + "description": "Daily retention format.", + "type": "object", + "properties": { + "daysOfTheMonth": { + "description": "List of days of the month.", + "type": "array", + "items": { + "$ref": "#/definitions/Day" + } + } + } + }, + "DailyRetentionSchedule": { + "description": "Daily retention schedule.", + "type": "object", + "properties": { + "retentionTimes": { + "description": "Retention times of retention policy.", + "type": "array", + "items": { + "format": "date-time", + "type": "string" + } + }, + "retentionDuration": { + "$ref": "#/definitions/RetentionDuration", + "description": "Retention duration of retention Policy." + } + } + }, + "Day": { + "description": "Day of the week.", + "type": "object", + "properties": { + "date": { + "format": "int32", + "description": "Date of the month", + "type": "integer" + }, + "isLast": { + "description": "Whether Date is last date of month", + "type": "boolean" + } + } + }, + "DistributedNodesInfo": { + "description": "This is used to represent the various nodes of the distributed container.", + "type": "object", + "properties": { + "nodeName": { + "description": "Name of the node under a distributed container.", + "type": "string" + }, + "status": { + "description": "Status of this Node.\r\nFailed | Succeeded", + "type": "string" + }, + "errorDetail": { + "$ref": "#/definitions/ErrorDetail", + "description": "Error Details if the Status is non-success." + } + } + }, + "DpmContainer": { + "description": "DPM workload-specific protection container.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "properties": { + "canReRegister": { + "description": "Specifies whether the container is re-registrable.", + "type": "boolean" + }, + "containerId": { + "description": "ID of container.", + "type": "string" + }, + "protectedItemCount": { + "format": "int64", + "description": "Number of protected items in the BackupEngine", + "type": "integer" + }, + "dpmAgentVersion": { + "description": "Backup engine Agent version", + "type": "string" + }, + "dpmServers": { + "description": "List of BackupEngines protecting the container", + "type": "array", + "items": { + "type": "string" + } + }, + "upgradeAvailable": { + "description": "To check if upgrade available", + "type": "boolean" + }, + "protectionStatus": { + "description": "Protection status of the container.", + "type": "string" + }, + "extendedInfo": { + "$ref": "#/definitions/DPMContainerExtendedInfo", + "description": "Extended Info of the container." + } + }, + "x-ms-discriminator-value": "DPMContainer" + }, + "DPMContainerExtendedInfo": { + "description": "Additional information of the DPMContainer.", + "type": "object", + "properties": { + "lastRefreshedAt": { + "format": "date-time", + "description": "Last refresh time of the DPMContainer.", + "type": "string" + } + } + }, + "DPMProtectedItem": { + "description": "Additional information on Backup engine specific backup item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "friendlyName": { + "description": "Friendly name of the managed item", + "type": "string" + }, + "backupEngineName": { + "description": "Backup Management server protecting this backup item", + "type": "string" + }, + "protectionState": { + "description": "Protection state of the backupengine", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectedItemState", + "modelAsString": true + } + }, + "isScheduledForDeferredDelete": { + "description": "To check if backup item is scheduled for deferred delete", + "type": "boolean" + }, + "extendedInfo": { + "$ref": "#/definitions/DPMProtectedItemExtendedInfo", + "description": "Extended info of the backup item." + } + }, + "x-ms-discriminator-value": "DPMProtectedItem" + }, + "DPMProtectedItemExtendedInfo": { + "description": "Additional information of DPM Protected item.", + "type": "object", + "properties": { + "protectableObjectLoadPath": { + "description": "Attribute to provide information on various DBs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "protected": { + "description": "To check if backup item is disk protected.", + "type": "boolean" + }, + "isPresentOnCloud": { + "description": "To check if backup item is cloud protected.", + "type": "boolean" + }, + "lastBackupStatus": { + "description": "Last backup status information on backup item.", + "type": "string" + }, + "lastRefreshedAt": { + "format": "date-time", + "description": "Last refresh time on backup item.", + "type": "string" + }, + "oldestRecoveryPoint": { + "format": "date-time", + "description": "Oldest cloud recovery point time.", + "type": "string" + }, + "recoveryPointCount": { + "format": "int32", + "description": "cloud recovery point count.", + "type": "integer" + }, + "onPremiseOldestRecoveryPoint": { + "format": "date-time", + "description": "Oldest disk recovery point time.", + "type": "string" + }, + "onPremiseLatestRecoveryPoint": { + "format": "date-time", + "description": "latest disk recovery point time.", + "type": "string" + }, + "onPremiseRecoveryPointCount": { + "format": "int32", + "description": "disk recovery point count.", + "type": "integer" + }, + "isCollocated": { + "description": "To check if backup item is collocated.", + "type": "boolean" + }, + "protectionGroupName": { + "description": "Protection group name of the backup item.", + "type": "string" + }, + "diskStorageUsedInBytes": { + "description": "Used Disk storage in bytes.", + "type": "string" + }, + "totalDiskStorageSizeInBytes": { + "description": "total Disk storage in bytes.", + "type": "string" + } + } + }, + "ErrorDetail": { + "description": "Error Detail class which encapsulates Code, Message and Recommendations.", + "type": "object", + "properties": { + "code": { + "description": "Error code.", + "type": "string" + }, + "message": { + "description": "Error Message related to the Code.", + "type": "string" + }, + "recommendations": { + "description": "List of recommendation strings.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "GenericBackupFabric": { + "description": "The generic backup fabric class.", + "type": "object", + "properties": { + "friendlyName": { + "description": "Friendly name of the backup fabric.", + "type": "string" + }, + "backupManagementType": { + "description": "Type of backup management for the backup fabric.", + "type": "string" + }, + "version": { + "description": "Version of the backup fabric.", + "type": "string" + } + }, + "discriminator": "backupManagementType" + }, + "GenericBackupFabricResource": { + "description": "The generic backup fabric class.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/GenericBackupFabric", + "description": "GenericBackupFabricResource properties" + } + } + }, + "GenericBackupFabricResourceList": { + "description": "List of GenericBackupFabric resources", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceList" + } + ], + "properties": { + "value": { + "description": "List of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/GenericBackupFabricResource" + } + } + } + }, + "GenericContainer": { + "description": "Base class for generic container of backup items", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "properties": { + "fabricName": { + "description": "Name of the container's fabric", + "type": "string" + }, + "extendedInformation": { + "$ref": "#/definitions/GenericContainerExtendedInfo", + "description": "Extended information (not returned in List container API calls)" + } + }, + "x-ms-discriminator-value": "GenericContainer" + }, + "GenericContainerExtendedInfo": { + "description": "Container extended information", + "type": "object", + "properties": { + "rawCertData": { + "description": "Public key of container cert", + "type": "string" + }, + "containerIdentityInfo": { + "$ref": "#/definitions/ContainerIdentityInfo", + "description": "Container identity information" + }, + "serviceEndpoints": { + "description": "Azure Backup Service Endpoints for the container", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "GenericProtectedItem": { + "description": "Base class for backup items.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "friendlyName": { + "description": "Friendly name of the container.", + "type": "string" + }, + "policyState": { + "description": "Indicates consistency of policy object and policy applied to this backup item.", + "type": "string" + }, + "protectionState": { + "description": "Backup state of this backup item.", + "enum": [ + "Invalid", + "IRPending", + "Protected", + "ProtectionError", + "ProtectionStopped", + "ProtectionPaused" + ], + "type": "string", + "x-ms-enum": { + "name": "ProtectionState", + "modelAsString": true + } + }, + "protectedItemId": { + "format": "int64", + "description": "Data Plane Service ID of the protected item.", + "type": "integer" + }, + "sourceAssociations": { + "description": "Loosely coupled (type, value) associations (example - parent of a protected item)", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "fabricName": { + "description": "Name of this backup item's fabric.", + "type": "string" + } + }, + "x-ms-discriminator-value": "GenericProtectedItem" + }, + "GenericProtectionPolicy": { + "description": "Azure VM (Mercury) workload-specific backup policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + } + ], + "properties": { + "subProtectionPolicy": { + "description": "List of sub-protection policies which includes schedule and retention", + "type": "array", + "items": { + "$ref": "#/definitions/SubProtectionPolicy" + } + }, + "timeZone": { + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", + "type": "string" + }, + "fabricName": { + "description": "Name of this policy's fabric.", + "type": "string" + } + }, + "x-ms-discriminator-value": "GenericProtectionPolicy" + }, + "GenericRestoreAccessRequest": { + "description": "Generic class for restore access request.", + "type": "object", + "properties": { + "protectionContainerId": { + "description": "ARM ResourceId of container that will gain access to container request in uri.", + "type": "string" + }, + "duration": { + "format": "duration", + "description": "Duration for which the access has been requested.", + "type": "string" + } + } + }, + "GenericRestoreAccessResponse": { + "description": "Generic class for restore access response.", + "type": "object", + "properties": { + "serviceEndpoints": { + "description": "Azure Backup Service Endpoints of the container in grant access request URL", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "expiryTime": { + "format": "date-time", + "description": "Time till which access has been granted.", + "type": "string" + } + } + }, + "IaaSVMContainer": { + "description": "IaaS VM workload-specific container.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "properties": { + "virtualMachineId": { + "description": "Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.", + "type": "string" + }, + "virtualMachineVersion": { + "description": "Specifies whether the container represents a Classic or an Azure Resource Manager VM.", + "type": "string" + }, + "resourceGroup": { + "description": "Resource group name of Recovery Services Vault.", + "type": "string" + } + }, + "x-ms-discriminator-value": "IaaSVMContainer" + }, + "InquiryInfo": { + "description": "Details about inquired protectable items under a given container.", + "type": "object", + "properties": { + "status": { + "description": "Inquiry Status for this container such as\r\nInProgress | Failed | Succeeded", + "type": "string" + }, + "errorDetail": { + "$ref": "#/definitions/ErrorDetail", + "description": "Error Details if the Status is non-success." + }, + "inquiryDetails": { + "description": "Inquiry Details which will have workload specific details.\r\nFor e.g. - For SQL and oracle this will contain different details.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkloadInquiryDetails" + } + } + } + }, + "InquiryValidation": { + "description": "Validation for inquired protectable items under a given container.", + "type": "object", + "properties": { + "status": { + "description": "Status for the Inquiry Validation.", + "type": "string" + }, + "errorDetail": { + "$ref": "#/definitions/ErrorDetail", + "description": "Error Detail in case the status is non-success." + } + } + }, + "InstantItemRecoveryTarget": { + "description": "Target details for file / folder restore.", + "type": "object", + "properties": { + "clientScripts": { + "description": "List of client scripts.", + "type": "array", + "items": { + "$ref": "#/definitions/ClientScriptForConnect" + } + } + } + }, + "LogSchedulePolicy": { + "description": "Log policy schedule.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + } + ], + "properties": { + "scheduleFrequencyInMins": { + "format": "int32", + "description": "Frequency of the log schedule operation of this policy in minutes.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "LogSchedulePolicy" + }, + "LongTermRetentionPolicy": { + "description": "Long term retention policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + } + ], + "properties": { + "dailySchedule": { + "$ref": "#/definitions/DailyRetentionSchedule", + "description": "Daily retention schedule of the protection policy." + }, + "weeklySchedule": { + "$ref": "#/definitions/WeeklyRetentionSchedule", + "description": "Weekly retention schedule of the protection policy." + }, + "monthlySchedule": { + "$ref": "#/definitions/MonthlyRetentionSchedule", + "description": "Monthly retention schedule of the protection policy." + }, + "yearlySchedule": { + "$ref": "#/definitions/YearlyRetentionSchedule", + "description": "Yearly retention schedule of the protection policy." + } + }, + "x-ms-discriminator-value": "LongTermRetentionPolicy" + }, + "LongTermSchedulePolicy": { + "description": "Long term policy schedule.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + } + ], + "x-ms-discriminator-value": "LongTermSchedulePolicy" + }, + "MabContainer": { + "description": "Container with items backed up using MAB backup engine.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionContainer" + } + ], + "properties": { + "canReRegister": { + "description": "Can the container be registered one more time.", + "type": "boolean" + }, + "containerId": { + "format": "int64", + "description": "ContainerID represents the container.", + "type": "integer" + }, + "protectedItemCount": { + "format": "int64", + "description": "Number of items backed up in this container.", + "type": "integer" + }, + "agentVersion": { + "description": "Agent version of this container.", + "type": "string" + }, + "extendedInfo": { + "$ref": "#/definitions/MabContainerExtendedInfo", + "description": "Additional information for this container" + }, + "mabContainerHealthDetails": { + "description": "Health details on this mab container.", + "type": "array", + "items": { + "$ref": "#/definitions/MABContainerHealthDetails" + } + }, + "containerHealthState": { + "description": "Health state of mab container.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Windows" + }, + "MabContainerExtendedInfo": { + "description": "Additional information of the container.", + "type": "object", + "properties": { + "lastRefreshedAt": { + "format": "date-time", + "description": "Time stamp when this container was refreshed.", + "type": "string" + }, + "backupItemType": { + "description": "Type of backup items associated with this container.", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupItemType", + "modelAsString": true + } + }, + "backupItems": { + "description": "List of backup items associated with this container.", + "type": "array", + "items": { + "type": "string" + } + }, + "policyName": { + "description": "Backup policy associated with this container.", + "type": "string" + }, + "lastBackupStatus": { + "description": "Latest backup status of this container.", + "type": "string" + } + } + }, + "MABContainerHealthDetails": { + "description": "MAB workload-specific Health Details.", + "type": "object", + "properties": { + "code": { + "format": "int32", + "description": "Health Code", + "type": "integer" + }, + "title": { + "description": "Health Title", + "type": "string" + }, + "message": { + "description": "Health Message", + "type": "string" + }, + "recommendations": { + "description": "Health Recommended Actions", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "MabFileFolderProtectedItem": { + "description": "MAB workload-specific backup item.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectedItem" + } + ], + "properties": { + "friendlyName": { + "description": "Friendly name of this backup item.", + "type": "string" + }, + "computerName": { + "description": "Name of the computer associated with this backup item.", + "type": "string" + }, + "lastBackupStatus": { + "description": "Status of last backup operation.", + "type": "string" + }, + "protectionState": { + "description": "Protected, ProtectionStopped, IRPending or ProtectionError", + "type": "string" + }, + "isScheduledForDeferredDelete": { + "description": "Specifies if the item is scheduled for deferred deletion.", + "type": "boolean" + }, + "deferredDeleteSyncTimeInUTC": { + "format": "int64", + "description": "Sync time for deferred deletion.", + "type": "integer" + }, + "extendedInfo": { + "$ref": "#/definitions/MabFileFolderProtectedItemExtendedInfo", + "description": "Additional information with this backup item." + } + }, + "x-ms-discriminator-value": "MabFileFolderProtectedItem" + }, + "MabFileFolderProtectedItemExtendedInfo": { + "description": "Additional information on the backed up item.", + "type": "object", + "properties": { + "lastRefreshedAt": { + "format": "date-time", + "description": "Last time when the agent data synced to service.", + "type": "string" + }, + "oldestRecoveryPoint": { + "format": "date-time", + "description": "The oldest backup copy available.", + "type": "string" + }, + "recoveryPointCount": { + "format": "int32", + "description": "Number of backup copies associated with the backup item.", + "type": "integer" + } + } + }, + "MabProtectionPolicy": { + "description": "Mab container-specific backup policy.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProtectionPolicy" + } + ], + "properties": { + "schedulePolicy": { + "$ref": "#/definitions/SchedulePolicy", + "description": "Backup schedule of backup policy." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "Retention policy details." + } + }, + "x-ms-discriminator-value": "MAB" + }, + "MonthlyRetentionSchedule": { + "description": "Monthly retention schedule.", + "type": "object", + "properties": { + "retentionScheduleFormatType": { + "description": "Retention schedule format type for monthly retention policy.", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ], + "type": "string", + "x-ms-enum": { + "name": "RetentionScheduleFormat", + "modelAsString": true + } + }, + "retentionScheduleDaily": { + "$ref": "#/definitions/DailyRetentionFormat", + "description": "Daily retention format for monthly retention policy." + }, + "retentionScheduleWeekly": { + "$ref": "#/definitions/WeeklyRetentionFormat", + "description": "Weekly retention format for monthly retention policy." + }, + "retentionTimes": { + "description": "Retention times of retention policy.", + "type": "array", + "items": { + "format": "date-time", + "type": "string" + } + }, + "retentionDuration": { + "$ref": "#/definitions/RetentionDuration", + "description": "Retention duration of retention Policy." + } + } + }, + "OperationStatus": { + "description": "Operation status.", + "type": "object", + "properties": { + "id": { + "description": "ID of the operation.", + "type": "string" + }, + "name": { + "description": "Name of the operation.", + "type": "string" + }, + "status": { + "description": "Operation status.", + "enum": [ + "Invalid", + "InProgress", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatusValues", + "modelAsString": true + } + }, + "startTime": { + "format": "date-time", + "description": "Operation start time. Format: ISO-8601.", + "type": "string" + }, + "endTime": { + "format": "date-time", + "description": "Operation end time. Format: ISO-8601.", + "type": "string" + }, + "error": { + "$ref": "#/definitions/OperationStatusError", + "description": "Error information related to this operation." + }, + "properties": { + "$ref": "#/definitions/OperationStatusExtendedInfo", + "description": "Additional information associated with this operation." + } + } + }, + "OperationStatusError": { + "description": "Error information associated with operation status call.", + "type": "object", + "properties": { + "code": { + "description": "Error code of the operation failure.", + "type": "string" + }, + "message": { + "description": "Error message displayed if the operation failure.", + "type": "string" + } + } + }, + "OperationStatusExtendedInfo": { + "description": "Base class for additional information of operation status.", + "required": [ + "objectType" + ], + "type": "object", + "properties": { + "objectType": { + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "type": "string" + } + }, + "discriminator": "objectType" + }, + "OperationStatusJobExtendedInfo": { + "description": "Operation status job extended info.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OperationStatusExtendedInfo" + } + ], + "properties": { + "jobId": { + "description": "ID of the job created for this protected item.", + "type": "string" + } + }, + "x-ms-discriminator-value": "OperationStatusJobExtendedInfo" + }, + "OperationStatusJobsExtendedInfo": { + "description": "Operation status extended info for list of jobs.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OperationStatusExtendedInfo" + } + ], + "properties": { + "jobIds": { + "description": "IDs of the jobs created for the protected item.", + "type": "array", + "items": { + "type": "string" + } + }, + "failedJobsError": { + "description": "Stores all the failed jobs along with the corresponding error codes.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "OperationStatusJobsExtendedInfo" + }, + "OperationStatusProvisionILRExtendedInfo": { + "description": "Operation status extended info for ILR provision action.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OperationStatusExtendedInfo" + } + ], + "properties": { + "recoveryTarget": { + "$ref": "#/definitions/InstantItemRecoveryTarget", + "description": "Target details for file / folder restore." + } + }, + "x-ms-discriminator-value": "OperationStatusProvisionILRExtendedInfo" + }, + "ProtectedItem": { + "description": "Base class for backup items.", + "type": "object", + "properties": { + "protectedItemType": { + "description": "backup item type.", + "type": "string" + }, + "backupManagementType": { + "description": "Type of backup managemenent for the backed up item.", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupManagementType", + "modelAsString": true + } + }, + "workloadType": { + "description": "Type of workload this item represents.", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "DataSourceType", + "modelAsString": true + } + }, + "containerName": { + "description": "Unique name of container", + "type": "string" + }, + "sourceResourceId": { + "description": "ARM ID of the resource to be backed up.", + "type": "string" + }, + "policyId": { + "description": "ID of the backup policy with which this item is backed up.", + "type": "string" + }, + "lastRecoveryPoint": { + "format": "date-time", + "description": "Timestamp when the last (latest) backup copy was created for this backup item.", + "type": "string" + }, + "backupSetName": { + "description": "Name of the backup set the backup item belongs to", + "type": "string" + }, + "createMode": { + "description": "Create mode to indicate recovery of existing soft deleted data source or creation of new data source.", + "enum": [ + "Invalid", + "Default", + "Recover" + ], + "type": "string", + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": true + } + } + }, + "discriminator": "protectedItemType" + }, + "ProtectedItemQueryObject": { + "description": "Filters to list backup items.", + "type": "object", + "properties": { + "healthState": { + "description": "Health State for the backed up item.", + "enum": [ + "Passed", + "ActionRequired", + "ActionSuggested", + "Invalid" + ], + "type": "string", + "x-ms-enum": { + "name": "HealthState", + "modelAsString": true + } + }, + "backupManagementType": { + "description": "Backup management type for the backed up item.", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupManagementType", + "modelAsString": true + } + }, + "itemType": { + "description": "Type of workload this item represents.", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "DataSourceType", + "modelAsString": true + } + }, + "policyName": { + "description": "Backup policy name associated with the backup item.", + "type": "string" + }, + "containerName": { + "description": "Name of the container.", + "type": "string" + }, + "backupEngineName": { + "description": "Backup Engine name", + "type": "string" + }, + "friendlyName": { + "description": "Friendly name of protected item", + "type": "string" + }, + "fabricName": { + "description": "Name of the fabric.", + "type": "string" + }, + "backupSetName": { + "description": "Name of the backup set.", + "type": "string" + } + } + }, + "ProtectedItemResource": { + "description": "Base class for backup items.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProtectedItem", + "description": "ProtectedItemResource properties" + } + } + }, + "ProtectedItemResourceList": { + "description": "List of ProtectedItem resources", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceList" + } + ], + "properties": { + "value": { + "description": "List of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProtectedItemResource" + } + } + } + }, + "ProtectionContainer": { + "description": "Base class for container with backup items. Containers with specific workloads are derived from this class.", + "type": "object", + "properties": { + "friendlyName": { + "description": "Friendly name of the container.", + "type": "string" + }, + "backupManagementType": { + "description": "Type of backup managemenent for the container.", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupManagementType", + "modelAsString": true + } + }, + "registrationStatus": { + "description": "Status of registration of the container with the Recovery Services Vault.", + "type": "string" + }, + "healthStatus": { + "description": "Status of health of the container.", + "type": "string" + }, + "containerType": { + "description": "Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.\r\nClassic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is\r\nWindows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload\r\nBackup is VMAppContainer", + "enum": [ + "Invalid", + "Unknown", + "IaasVMContainer", + "IaasVMServiceContainer", + "DPMContainer", + "AzureBackupServerContainer", + "MABContainer", + "Cluster", + "AzureSqlContainer", + "Windows", + "VCenter", + "VMAppContainer", + "SQLAGWorkLoadContainer", + "StorageContainer", + "GenericContainer" + ], + "type": "string", + "x-ms-enum": { + "name": "ContainerType", + "modelAsString": true + } + } + }, + "discriminator": "containerType" + }, + "ProtectionContainerResource": { + "description": "Base class for container with backup items. Containers with specific workloads are derived from this class.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProtectionContainer", + "description": "ProtectionContainerResource properties" + } + } + }, + "ProtectionContainerResourceList": { + "description": "List of ProtectionContainer resources", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceList" + } + ], + "properties": { + "value": { + "description": "List of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProtectionContainerResource" + } + } + } + }, + "ProtectionPolicy": { + "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.", + "required": [ + "backupManagementType" + ], + "type": "object", + "properties": { + "protectedItemsCount": { + "format": "int32", + "description": "Number of items associated with this policy.", + "type": "integer" + }, + "backupManagementType": { + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "type": "string" + } + }, + "discriminator": "backupManagementType" + }, + "ProtectionPolicyQueryObject": { + "description": "Filters the list backup policies API.", + "type": "object", + "properties": { + "backupManagementType": { + "description": "Backup management type for the backup policy.", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupManagementType", + "modelAsString": true + } + }, + "fabricName": { + "description": "Fabric name for filter", + "type": "string" + }, + "workloadType": { + "description": "Workload type for the backup policy.", + "enum": [ + "Invalid", + "VM", + "FileFolder", + "AzureSqlDb", + "SQLDB", + "Exchange", + "Sharepoint", + "VMwareVM", + "SystemState", + "Client", + "GenericDataSource", + "SQLDataBase", + "AzureFileShare", + "SAPHanaDatabase", + "SAPAseDatabase" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadType", + "modelAsString": true + } + } + } + }, + "ProtectionPolicyResource": { + "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ProtectionPolicy", + "description": "ProtectionPolicyResource properties" + } + } + }, + "ProtectionPolicyResourceList": { + "description": "List of ProtectionPolicy resources", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceList" + } + ], + "properties": { + "value": { + "description": "List of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProtectionPolicyResource" + } + } + } + }, + "Resource": { + "description": "ARM Resource.", + "type": "object", + "properties": { + "id": { + "description": "Resource Id represents the complete path to the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Resource name associated with the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Resource location.", + "type": "string" + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "eTag": { + "description": "Optional ETag.", + "type": "string" + } + }, + "x-ms-azure-resource": true + }, + "ResourceList": { + "description": "Base for all lists of resources.", + "type": "object", + "properties": { + "nextLink": { + "description": "The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.", + "type": "string" + } + } + }, + "RetentionDuration": { + "description": "Retention duration.", + "type": "object", + "properties": { + "count": { + "format": "int32", + "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.", + "type": "integer" + }, + "durationType": { + "description": "Retention duration type of retention policy.", + "enum": [ + "Invalid", + "Days", + "Weeks", + "Months", + "Years" + ], + "type": "string", + "x-ms-enum": { + "name": "RetentionDurationType", + "modelAsString": true + } + } + } + }, + "RetentionPolicy": { + "description": "Base class for retention policy.", + "required": [ + "retentionPolicyType" + ], + "type": "object", + "properties": { + "retentionPolicyType": { + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "type": "string" + } + }, + "discriminator": "retentionPolicyType" + }, + "SchedulePolicy": { + "description": "Base class for backup schedule.", + "required": [ + "schedulePolicyType" + ], + "type": "object", + "properties": { + "schedulePolicyType": { + "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "type": "string" + } + }, + "discriminator": "schedulePolicyType" + }, + "Settings": { + "description": "Common settings field for backup management", + "type": "object", + "properties": { + "timeZone": { + "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", + "type": "string" + }, + "issqlcompression": { + "description": "SQL compression flag", + "type": "boolean" + }, + "isCompression": { + "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.", + "type": "boolean" + } + } + }, + "SimpleRetentionPolicy": { + "description": "Simple policy retention.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + } + ], + "properties": { + "retentionDuration": { + "$ref": "#/definitions/RetentionDuration", + "description": "Retention duration of the protection policy." + } + }, + "x-ms-discriminator-value": "SimpleRetentionPolicy" + }, + "SimpleSchedulePolicy": { + "description": "Simple policy schedule.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SchedulePolicy" + } + ], + "properties": { + "scheduleRunFrequency": { + "description": "Frequency of the schedule operation of this policy.", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ], + "type": "string", + "x-ms-enum": { + "name": "ScheduleRunType", + "modelAsString": true + } + }, + "scheduleRunDays": { + "description": "List of days of week this schedule has to be run.", + "type": "array", + "items": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string", + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false + } + } + }, + "scheduleRunTimes": { + "description": "List of times of day this schedule has to be run.", + "type": "array", + "items": { + "format": "date-time", + "type": "string" + } + }, + "scheduleWeeklyFrequency": { + "format": "int32", + "description": "At every number weeks this schedule has to be run.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "SimpleSchedulePolicy" + }, + "SubProtectionPolicy": { + "description": "Sub-protection policy which includes schedule and retention", + "type": "object", + "properties": { + "policyType": { + "description": "Type of backup policy type", + "enum": [ + "Invalid", + "Full", + "Differential", + "Log", + "CopyOnlyFull" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyType", + "modelAsString": true + } + }, + "schedulePolicy": { + "$ref": "#/definitions/SchedulePolicy", + "description": "Backup schedule specified as part of backup policy." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "Retention policy with the details on backup copy retention ranges." + } + } + }, + "WeeklyRetentionFormat": { + "description": "Weekly retention format.", + "type": "object", + "properties": { + "daysOfTheWeek": { + "description": "List of days of the week.", + "type": "array", + "items": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string", + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false + } + } + }, + "weeksOfTheMonth": { + "description": "List of weeks of month.", + "type": "array", + "items": { + "enum": [ + "First", + "Second", + "Third", + "Fourth", + "Last", + "Invalid" + ], + "type": "string", + "x-ms-enum": { + "name": "WeekOfMonth", + "modelAsString": false + } + } + } + } + }, + "WeeklyRetentionSchedule": { + "description": "Weekly retention schedule.", + "type": "object", + "properties": { + "daysOfTheWeek": { + "description": "List of days of week for weekly retention policy.", + "type": "array", + "items": { + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string", + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": false + } + } + }, + "retentionTimes": { + "description": "Retention times of retention policy.", + "type": "array", + "items": { + "format": "date-time", + "type": "string" + } + }, + "retentionDuration": { + "$ref": "#/definitions/RetentionDuration", + "description": "Retention duration of retention Policy." + } + } + }, + "WorkloadInquiryDetails": { + "description": "Details of an inquired protectable item.", + "type": "object", + "properties": { + "type": { + "description": "Type of the Workload such as SQL, Oracle etc.", + "type": "string" + }, + "itemCount": { + "format": "int64", + "description": "Contains the protectable item Count inside this Container.", + "type": "integer" + }, + "inquiryValidation": { + "$ref": "#/definitions/InquiryValidation", + "description": "Inquiry validation such as permissions and other backup validations." + } + } + }, + "YearlyRetentionSchedule": { + "description": "Yearly retention schedule.", + "type": "object", + "properties": { + "retentionScheduleFormatType": { + "description": "Retention schedule format for yearly retention policy.", + "enum": [ + "Invalid", + "Daily", + "Weekly" + ], + "type": "string", + "x-ms-enum": { + "name": "RetentionScheduleFormat", + "modelAsString": true + } + }, + "monthsOfYear": { + "description": "List of months of year of yearly retention policy.", + "type": "array", + "items": { + "enum": [ + "Invalid", + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ], + "type": "string", + "x-ms-enum": { + "name": "MonthOfYear", + "modelAsString": false + } + } + }, + "retentionScheduleDaily": { + "$ref": "#/definitions/DailyRetentionFormat", + "description": "Daily retention format for yearly retention policy." + }, + "retentionScheduleWeekly": { + "$ref": "#/definitions/WeeklyRetentionFormat", + "description": "Weekly retention format for yearly retention policy." + }, + "retentionTimes": { + "description": "Retention times of retention policy.", + "type": "array", + "items": { + "format": "date-time", + "type": "string" + } + }, + "retentionDuration": { + "$ref": "#/definitions/RetentionDuration", + "description": "Retention duration of retention Policy." + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription Id.", + "required": true, + "type": "string" + }, + "ResourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group where the recovery services vault is present.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "VaultName": { + "name": "vaultName", + "in": "path", + "description": "The name of the recovery services vault.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ApiVersion": { + "name": "api-version", + "in": "query", + "description": "Client Api Version.", + "required": true, + "type": "string" + } + }, + "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." + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index d410c097801a..80ccb174e8da 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -52,6 +52,7 @@ These settings apply only when `--tag=package-2017-07` is specified on the comma ``` yaml $(tag) == 'package-2017-07' input-file: +- Microsoft.RecoveryServices/stable/2017-09-01/bms.json - Microsoft.RecoveryServices/stable/2017-07-01/bms.json - Microsoft.RecoveryServices/stable/2016-12-01/bms.json - Microsoft.RecoveryServices/stable/2016-08-10/operations.json From 424001e3653bf7ff244f357c943c32980e7860ee Mon Sep 17 00:00:00 2001 From: Mehak M Date: Tue, 8 Jan 2019 14:31:24 +0530 Subject: [PATCH 2/7] Changing the operationIdin 2016-12-01 bms.json --- .../Microsoft.RecoveryServices/stable/2016-12-01/bms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json index 573ffae7d771..1196392509cf 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json @@ -2190,7 +2190,7 @@ "BackupResourceStorageConfigs" ], "description": "Updates vault storage model type.", - "operationId": "BackupResourceStorageConfigs_Update", + "operationId": "BackupResourceStorageConfig_Update", "parameters": [ { "$ref": "#/parameters/ApiVersion" From acb8728938d79f932ad2a9f32f517f8975c0f6f8 Mon Sep 17 00:00:00 2001 From: Mehak M Date: Tue, 8 Jan 2019 19:51:00 +0530 Subject: [PATCH 3/7] Updating operationIdin 2016-12-01 bms.json --- .../Microsoft.RecoveryServices/stable/2016-12-01/bms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json index 1196392509cf..cc544e812bdc 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json @@ -2190,7 +2190,7 @@ "BackupResourceStorageConfigs" ], "description": "Updates vault storage model type.", - "operationId": "BackupResourceStorageConfig_Update", + "operationId": "BackupResourceStorageConfigs_Patch", "parameters": [ { "$ref": "#/parameters/ApiVersion" From 29bec153b8ce07d20202302d301f7c8f52f7ae19 Mon Sep 17 00:00:00 2001 From: Mehak M Date: Wed, 9 Jan 2019 18:28:35 +0530 Subject: [PATCH 4/7] Modifying Readme --- .../stable/2017-09-01/bms.json | 3408 ----------------- .../resource-manager/readme.md | 1 - 2 files changed, 3409 deletions(-) delete mode 100644 specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json deleted file mode 100644 index f2a1232ae130..000000000000 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-09-01/bms.json +++ /dev/null @@ -1,3408 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2017-09-01", - "title": "RecoveryServicesBackupClient", - "x-ms-code-generation-settings": { - "internalConstructors": false - } - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics": { - "get": { - "tags": [ - "BackupFabrics" - ], - "description": "Retruns backup fabrics registered to Recovery Services Vault. Returns a pageable list of fabrics.", - "operationId": "BackupFabrics_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "$filter", - "in": "query", - "description": "OData filter options.", - "required": false, - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "description": "skipToken Filter.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GenericBackupFabricResourceList" - } - } - }, - "x-ms-odata": "#/definitions/BMSBackupFabricsQueryObject", - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}": { - "get": { - "tags": [ - "BackupFabrics" - ], - "description": "Returns backup fabric registered to Recovery Services Vault.", - "operationId": "BackupFabrics_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "Name of the backup backup fabric.", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "OData filter options.", - "required": false, - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "description": "skipToken Filter.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GenericBackupFabricResource" - } - } - }, - "x-ms-odata": "#/definitions/BMSBackupFabricQueryObject" - }, - "put": { - "tags": [ - "BackupFabrics" - ], - "description": "Create or Update the backup fabric in Recovery Services Vault", - "operationId": "BackupFabrics_CreateOrUpdate", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "Name of the backup backup fabric.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "fabric resource item", - "required": true, - "schema": { - "$ref": "#/definitions/GenericBackupFabricResource" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GenericBackupFabricResource" - } - } - } - }, - "delete": { - "tags": [ - "BackupFabrics" - ], - "description": "Deletes the backup fabric in Recovery Services Vault", - "operationId": "BackupFabrics_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "Name of the backup backup fabric.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - } - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies": { - "get": { - "tags": [ - "ScopedBackupPolicies" - ], - "description": "Lists of backup policies associated with Recovery Services Vault.\r\nAPI provides pagination parameters to fetch scoped results.", - "operationId": "ScopedBackupPolicies_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "OData filter options.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectionPolicyResourceList" - } - } - }, - "x-ms-odata": "#/definitions/ProtectionPolicyQueryObject", - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}": { - "get": { - "tags": [ - "ScopedProtectionPolicies" - ], - "description": "Provides the details of the backup policies associated to Recovery Services Vault.\r\nThis is an asynchronous operation. Status of the operation can be fetched using\r\nGetScopedPolicyOperationResult API.", - "operationId": "ScopedProtectionPolicies_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "", - "required": true, - "type": "string" - }, - { - "name": "policyName", - "in": "path", - "description": "Backup policy information to be fetched.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectionPolicyResource" - } - } - } - }, - "put": { - "tags": [ - "ScopedProtectionPolicies" - ], - "description": "Creates or modifies a backup policy. This is an asynchronous operation. Status of the\r\noperation can be fetched using GetScopedPolicyOperationResult API.", - "operationId": "ScopedProtectionPolicies_CreateOrUpdate", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "", - "required": true, - "type": "string" - }, - { - "name": "policyName", - "in": "path", - "description": "Backup policy to be created.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "resource backup policy", - "required": true, - "schema": { - "$ref": "#/definitions/ProtectionPolicyResource" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectionPolicyResource" - } - }, - "202": { - "description": "Accepted" - } - } - }, - "delete": { - "tags": [ - "ScopedProtectionPolicies" - ], - "description": "Deletes specified backup policy from your Backup Fabric. This is an asynchronous operation.\r\nStatus of the operation can be fetched using GetScopedPolicyOperationResult API.", - "operationId": "ScopedProtectionPolicies_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "", - "required": true, - "type": "string" - }, - { - "name": "policyName", - "in": "path", - "description": "Backup policy to be deleted.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - } - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}/operationResults/{operationId}": { - "get": { - "tags": [ - "ScopedProtectionPolicyOperationResults" - ], - "description": "Provides the result of an operation.", - "operationId": "ScopedProtectionPolicyOperationResults_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "", - "required": true, - "type": "string" - }, - { - "name": "policyName", - "in": "path", - "description": "Backup policy name whose operation's result needs to be fetched.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "Operation ID which represents the operation whose result needs to be fetched.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectionPolicyResource" - } - }, - "202": { - "description": "Accepted" - } - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}/operations/{operationId}": { - "get": { - "tags": [ - "ScopedProtectionPolicyOperationStatuses" - ], - "description": "Provides the status of the asynchronous operations like backup, restore. The status can\r\nbe in progress, completed or failed. You can refer to the Operation Status enum for all\r\nthe possible states of an operation. Some operations create jobs. This method returns the\r\nlist of jobs associated with operation.", - "operationId": "ScopedProtectionPolicyOperationStatuses_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "", - "required": true, - "type": "string" - }, - { - "name": "policyName", - "in": "path", - "description": "Backup policy name whose operation's status needs to be fetched.", - "required": true, - "type": "string" - }, - { - "name": "operationId", - "in": "path", - "description": "Operation ID which represents an operation whose status needs to be fetched.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationStatus" - } - } - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers": { - "get": { - "tags": [ - "BackupProtectionContainersInFabric" - ], - "description": "Lists the containers registered to a backup fabric.", - "operationId": "BackupProtectionContainersInFabric_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "OData filter options.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectionContainerResourceList" - } - } - }, - "x-ms-odata": "#/definitions/BMSContainerQueryObject", - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems": { - "get": { - "tags": [ - "BackupProtectedItemsInContainer" - ], - "description": "Provides a pageable list of all items that are backed up within a container.", - "operationId": "BackupProtectedItemsInContainer_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "OData filter options.", - "required": false, - "type": "string" - }, - { - "name": "$skipToken", - "in": "query", - "description": "skipToken Filter.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ProtectedItemResourceList" - } - } - }, - "x-ms-odata": "#/definitions/ProtectedItemQueryObject", - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/restoreAccess": { - "post": { - "tags": [ - "ProtectionContainers" - ], - "description": "Grants restore access to container.", - "operationId": "ProtectionContainers_AccessRestore", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - }, - { - "$ref": "#/parameters/VaultName" - }, - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "name": "fabricName", - "in": "path", - "description": "Fabric name associated the container.", - "required": true, - "type": "string" - }, - { - "name": "containerName", - "in": "path", - "description": "Name of the container for which access is required", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "restore access request", - "required": true, - "schema": { - "$ref": "#/definitions/GenericRestoreAccessRequest" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GenericRestoreAccessResponse" - } - } - } - } - } - }, - "definitions": { - "AzureBackupServerContainer": { - "description": "AzureBackupServer (DPMVenus) workload-specific protection container.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DpmContainer" - } - ], - "x-ms-discriminator-value": "AzureBackupServerContainer" - }, - "AzureFileshareProtectedItem": { - "description": "Azure File Share workload-specific backup item.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "friendlyName": { - "description": "Friendly name of the fileshare represented by this backup item.", - "type": "string" - }, - "protectionStatus": { - "description": "Backup status of this backup item.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of this backup item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionState", - "modelAsString": true - } - }, - "healthStatus": { - "description": "backups running status for this backup item.", - "enum": [ - "Passed", - "ActionRequired", - "ActionSuggested", - "Invalid" - ], - "type": "string", - "x-ms-enum": { - "name": "HealthStatus", - "modelAsString": true - } - }, - "lastBackupStatus": { - "description": "Last backup operation status. Possible values: Healthy, Unhealthy.", - "type": "string" - }, - "lastBackupTime": { - "format": "date-time", - "description": "Timestamp of the last backup operation on this backup item.", - "type": "string" - }, - "extendedInfo": { - "$ref": "#/definitions/AzureFileshareProtectedItemExtendedInfo", - "description": "Additional information with this backup item." - } - }, - "x-ms-discriminator-value": "AzureFileShareProtectedItem" - }, - "AzureFileshareProtectedItemExtendedInfo": { - "description": "Additional information about Azure File Share backup item.", - "type": "object", - "properties": { - "oldestRecoveryPoint": { - "format": "date-time", - "description": "The oldest backup copy available for this item in the service.", - "type": "string" - }, - "recoveryPointCount": { - "format": "int32", - "description": "Number of available backup copies associated with this backup item.", - "type": "integer" - }, - "policyState": { - "description": "Indicates consistency of policy object and policy applied to this backup item.", - "type": "string" - } - } - }, - "AzureFileShareProtectionPolicy": { - "description": "AzureStorage backup policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionPolicy" - } - ], - "properties": { - "workLoadType": { - "description": "Type of workload for the backup management", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkloadType", - "modelAsString": true - } - }, - "schedulePolicy": { - "$ref": "#/definitions/SchedulePolicy", - "description": "Backup schedule specified as part of backup policy." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "Retention policy with the details on backup copy retention ranges." - }, - "timeZone": { - "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", - "type": "string" - } - }, - "x-ms-discriminator-value": "AzureStorage" - }, - "AzureIaaSClassicComputeVMContainer": { - "description": "IaaS VM workload-specific backup item representing a classic virtual machine.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IaaSVMContainer" - } - ], - "x-ms-discriminator-value": "Microsoft.ClassicCompute/virtualMachines" - }, - "AzureIaaSClassicComputeVMProtectedItem": { - "description": "IaaS VM workload-specific backup item representing the Classic Compute VM.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureIaaSVMProtectedItem" - } - ], - "x-ms-discriminator-value": "Microsoft.ClassicCompute/virtualMachines" - }, - "AzureIaaSComputeVMContainer": { - "description": "IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IaaSVMContainer" - } - ], - "x-ms-discriminator-value": "Microsoft.Compute/virtualMachines" - }, - "AzureIaaSComputeVMProtectedItem": { - "description": "IaaS VM workload-specific backup item representing the Azure Resource Manager VM.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureIaaSVMProtectedItem" - } - ], - "x-ms-discriminator-value": "Microsoft.Compute/virtualMachines" - }, - "AzureIaaSVMHealthDetails": { - "description": "Azure IaaS VM workload-specific Health Details.", - "type": "object", - "properties": { - "code": { - "format": "int32", - "description": "Health Code", - "type": "integer" - }, - "title": { - "description": "Health Title", - "type": "string" - }, - "message": { - "description": "Health Message", - "type": "string" - }, - "recommendations": { - "description": "Health Recommended Actions", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AzureIaaSVMProtectedItem": { - "description": "IaaS VM workload-specific backup item.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "friendlyName": { - "description": "Friendly name of the VM represented by this backup item.", - "type": "string" - }, - "virtualMachineId": { - "description": "Fully qualified ARM ID of the virtual machine represented by this item.", - "type": "string" - }, - "protectionStatus": { - "description": "Backup status of this backup item.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of this backup item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionState", - "modelAsString": true - } - }, - "healthStatus": { - "description": "Health status of protected item", - "enum": [ - "Passed", - "ActionRequired", - "ActionSuggested", - "Invalid" - ], - "type": "string", - "x-ms-enum": { - "name": "HealthStatus", - "modelAsString": true - } - }, - "healthDetails": { - "description": "Health details on this backup item.", - "type": "array", - "items": { - "$ref": "#/definitions/AzureIaaSVMHealthDetails" - } - }, - "lastBackupStatus": { - "description": "Last backup operation status.", - "type": "string" - }, - "lastBackupTime": { - "format": "date-time", - "description": "Timestamp of the last backup operation on this backup item.", - "type": "string" - }, - "protectedItemDataId": { - "description": "Data ID of the protected item.", - "type": "string" - }, - "extendedInfo": { - "$ref": "#/definitions/AzureIaaSVMProtectedItemExtendedInfo", - "description": "Additional information for this backup item." - } - }, - "x-ms-discriminator-value": "AzureIaaSVMProtectedItem" - }, - "AzureIaaSVMProtectedItemExtendedInfo": { - "description": "Additional information on Azure IaaS VM specific backup item.", - "type": "object", - "properties": { - "oldestRecoveryPoint": { - "format": "date-time", - "description": "The oldest backup copy available for this backup item.", - "type": "string" - }, - "recoveryPointCount": { - "format": "int32", - "description": "Number of backup copies available for this backup item.", - "type": "integer" - }, - "policyInconsistent": { - "description": "Specifies if backup policy associated with the backup item is inconsistent.", - "type": "boolean" - } - } - }, - "AzureIaaSVMProtectionPolicy": { - "description": "IaaS VM workload-specific backup policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionPolicy" - } - ], - "properties": { - "schedulePolicy": { - "$ref": "#/definitions/SchedulePolicy", - "description": "Backup schedule specified as part of backup policy." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "Retention policy with the details on backup copy retention ranges." - }, - "instantRpRetentionRangeInDays": { - "format": "int32", - "description": "Instant RP retention policy range in days", - "type": "integer" - }, - "timeZone": { - "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", - "type": "string" - } - }, - "x-ms-discriminator-value": "AzureIaasVM" - }, - "AzureSQLAGWorkloadContainerProtectionContainer": { - "description": "Container for SQL workloads under SQL Availability Group.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureWorkloadContainer" - } - ], - "x-ms-discriminator-value": "SQLAGWorkLoadContainer" - }, - "AzureSqlContainer": { - "description": "Azure Sql workload-specific container.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "x-ms-discriminator-value": "AzureSqlContainer" - }, - "AzureSqlProtectedItem": { - "description": "Azure SQL workload-specific backup item.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "protectedItemDataId": { - "description": "Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of the backed up item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectedItemState", - "modelAsString": true - } - }, - "extendedInfo": { - "$ref": "#/definitions/AzureSqlProtectedItemExtendedInfo", - "description": "Additional information for this backup item." - } - }, - "x-ms-discriminator-value": "Microsoft.Sql/servers/databases" - }, - "AzureSqlProtectedItemExtendedInfo": { - "description": "Additional information on Azure Sql specific protected item.", - "type": "object", - "properties": { - "oldestRecoveryPoint": { - "format": "date-time", - "description": "The oldest backup copy available for this item in the service.", - "type": "string" - }, - "recoveryPointCount": { - "format": "int32", - "description": "Number of available backup copies associated with this backup item.", - "type": "integer" - }, - "policyState": { - "description": "State of the backup policy associated with this backup item.", - "type": "string" - } - } - }, - "AzureSqlProtectionPolicy": { - "description": "Azure SQL workload-specific backup policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionPolicy" - } - ], - "properties": { - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "Retention policy details." - } - }, - "x-ms-discriminator-value": "AzureSql" - }, - "AzureStorageContainer": { - "description": "Azure Storage Account workload-specific container.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "properties": { - "sourceResourceId": { - "description": "Fully qualified ARM url.", - "type": "string" - }, - "storageAccountVersion": { - "description": "Storage account version.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group name of Recovery Services Vault.", - "type": "string" - }, - "protectedItemCount": { - "format": "int64", - "description": "Number of items backed up in this container.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "StorageContainer" - }, - "AzureVMAppContainerProtectionContainer": { - "description": "Container for SQL workloads under Azure Virtual Machines.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureWorkloadContainer" - } - ], - "x-ms-discriminator-value": "VMAppContainer" - }, - "AzureVmWorkloadProtectedItem": { - "description": "Azure VM workload-specific protected item.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "friendlyName": { - "description": "Friendly name of the DB represented by this backup item.", - "type": "string" - }, - "serverName": { - "description": "Host/Cluster Name for instance or AG", - "type": "string" - }, - "parentName": { - "description": "Parent name of the DB such as Instance or Availability Group.", - "type": "string" - }, - "parentType": { - "description": "Parent type of protected item, example: for a DB, standalone server or distributed", - "type": "string" - }, - "protectionStatus": { - "description": "Backup status of this backup item.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of this backup item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionState", - "modelAsString": true - } - }, - "lastBackupStatus": { - "description": "Last backup operation status. Possible values: Healthy, Unhealthy.", - "enum": [ - "Invalid", - "Healthy", - "Unhealthy", - "IRPending" - ], - "type": "string", - "x-ms-enum": { - "name": "LastBackupStatus", - "modelAsString": true - } - }, - "lastBackupTime": { - "format": "date-time", - "description": "Timestamp of the last backup operation on this backup item.", - "type": "string" - }, - "lastBackupErrorDetail": { - "$ref": "#/definitions/ErrorDetail", - "description": "Error details in last backup" - }, - "protectedItemDataSourceId": { - "description": "Data ID of the protected item.", - "type": "string" - }, - "protectedItemHealthStatus": { - "description": "Health status of the backup item, evaluated based on last heartbeat received", - "enum": [ - "Invalid", - "Healthy", - "Unhealthy", - "NotReachable", - "IRPending" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectedItemHealthStatus", - "modelAsString": true - } - }, - "extendedInfo": { - "$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo", - "description": "Additional information for this backup item." - } - }, - "x-ms-discriminator-value": "AzureVmWorkloadProtectedItem" - }, - "AzureVmWorkloadProtectedItemExtendedInfo": { - "description": "Additional information on Azure Workload for SQL specific backup item.", - "type": "object", - "properties": { - "oldestRecoveryPoint": { - "format": "date-time", - "description": "The oldest backup copy available for this backup item.", - "type": "string" - }, - "recoveryPointCount": { - "format": "int32", - "description": "Number of backup copies available for this backup item.", - "type": "integer" - }, - "policyState": { - "description": "Indicates consistency of policy object and policy applied to this backup item.", - "type": "string" - } - } - }, - "AzureVmWorkloadProtectionPolicy": { - "description": "Azure VM (Mercury) workload-specific backup policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionPolicy" - } - ], - "properties": { - "workLoadType": { - "description": "Type of workload for the backup management", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkloadType", - "modelAsString": true - } - }, - "settings": { - "$ref": "#/definitions/Settings", - "description": "Common settings for the backup management" - }, - "subProtectionPolicy": { - "description": "List of sub-protection policies which includes schedule and retention", - "type": "array", - "items": { - "$ref": "#/definitions/SubProtectionPolicy" - } - } - }, - "x-ms-discriminator-value": "AzureWorkload" - }, - "AzureVmWorkloadSAPAseDatabaseProtectedItem": { - "description": "Azure VM workload-specific protected item representing SAP ASE Database.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureVmWorkloadProtectedItem" - } - ], - "x-ms-discriminator-value": "AzureVmWorkloadSAPAseDatabase" - }, - "AzureVmWorkloadSAPHanaDatabaseProtectedItem": { - "description": "Azure VM workload-specific protected item representing SAP HANA Database.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureVmWorkloadProtectedItem" - } - ], - "x-ms-discriminator-value": "AzureVmWorkloadSAPHanaDatabase" - }, - "AzureVmWorkloadSQLDatabaseProtectedItem": { - "description": "Azure VM workload-specific protected item representing SQL Database.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureVmWorkloadProtectedItem" - } - ], - "x-ms-discriminator-value": "AzureVmWorkloadSQLDatabase" - }, - "AzureWorkloadContainer": { - "description": "Container for the workloads running inside Azure Compute or Classic Compute.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "properties": { - "sourceResourceId": { - "description": "ARM ID of the virtual machine represented by this Azure Workload Container", - "type": "string" - }, - "lastUpdatedTime": { - "format": "date-time", - "description": "Time stamp when this container was updated.", - "type": "string" - }, - "extendedInfo": { - "$ref": "#/definitions/AzureWorkloadContainerExtendedInfo", - "description": "Additional details of a workload container." - }, - "workloadType": { - "description": "Workload type for which registration was sent.", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkloadType", - "modelAsString": true - } - }, - "operationType": { - "description": "Re-Do Operation", - "enum": [ - "Invalid", - "Register", - "Reregister" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationType", - "modelAsString": true - } - } - }, - "x-ms-discriminator-value": "AzureWorkloadContainer" - }, - "AzureWorkloadContainerExtendedInfo": { - "description": "Extended information of the container.", - "type": "object", - "properties": { - "hostServerName": { - "description": "Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.", - "type": "string" - }, - "inquiryInfo": { - "$ref": "#/definitions/InquiryInfo", - "description": "Inquiry Status for the container." - }, - "nodesList": { - "description": "List of the nodes in case of distributed container.", - "type": "array", - "items": { - "$ref": "#/definitions/DistributedNodesInfo" - } - } - } - }, - "BMSBackupFabricQueryObject": { - "description": "Query parameters to fetch list of backup fabric.", - "type": "object", - "properties": { - "expand": { - "description": "attribute to add extended info", - "type": "string" - } - } - }, - "BMSBackupFabricsQueryObject": { - "description": "Query parameters to fetch list of backup fabrics.", - "type": "object", - "properties": { - "backupManagementType": { - "description": "Backup management type for the backup fabric.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of the backup fabric.", - "type": "string" - }, - "expand": { - "description": "Attribute to add extended info.", - "type": "string" - } - } - }, - "BMSContainerQueryObject": { - "description": "The query filters that can be used with the list containers API.", - "required": [ - "backupManagementType" - ], - "type": "object", - "properties": { - "backupManagementType": { - "description": "Backup management type for this container.", - "enum": [ - "Invalid", - "AzureIaasVM", - "MAB", - "DPM", - "AzureBackupServer", - "AzureSql", - "AzureStorage", - "AzureWorkload", - "DefaultBackup" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupManagementType", - "modelAsString": true - } - }, - "containerType": { - "description": "Type of container for filter", - "enum": [ - "Invalid", - "Unknown", - "IaasVMContainer", - "IaasVMServiceContainer", - "DPMContainer", - "AzureBackupServerContainer", - "MABContainer", - "Cluster", - "AzureSqlContainer", - "Windows", - "VCenter", - "VMAppContainer", - "SQLAGWorkLoadContainer", - "StorageContainer", - "GenericContainer" - ], - "type": "string", - "x-ms-enum": { - "name": "ContainerType", - "modelAsString": true - } - }, - "backupEngineName": { - "description": "Backup engine name", - "type": "string" - }, - "fabricName": { - "description": "Fabric name for filter", - "type": "string" - }, - "status": { - "description": "Status of registration of this container with the Recovery Services Vault.", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of this container.", - "type": "string" - } - } - }, - "ClientScriptForConnect": { - "description": "Client script details for file / folder restore.", - "type": "object", - "properties": { - "scriptContent": { - "description": "File content of the client script for file / folder restore.", - "type": "string" - }, - "scriptExtension": { - "description": "File extension of the client script for file / folder restore - .ps1 , .sh , etc.", - "type": "string" - }, - "osType": { - "description": "OS type - Windows, Linux etc. for which this file / folder restore client script works.", - "type": "string" - }, - "url": { - "description": "URL of Executable from where to source the content. If this is not null then ScriptContent should not be used", - "type": "string" - }, - "scriptNameSuffix": { - "description": "Mandator suffix that should be added to the name of script that is given for download to user.\r\nIf its null or empty then , ignore it.", - "type": "string" - } - } - }, - "ContainerIdentityInfo": { - "description": "Container identity information", - "type": "object", - "properties": { - "uniqueName": { - "description": "Unique name of the container", - "type": "string" - }, - "aadTenantId": { - "description": "Protection container identity - AAD Tenant", - "type": "string" - }, - "servicePrincipalClientId": { - "description": "Protection container identity - AAD Service Principal", - "type": "string" - }, - "audience": { - "description": "Protection container identity - Audience", - "type": "string" - } - } - }, - "DailyRetentionFormat": { - "description": "Daily retention format.", - "type": "object", - "properties": { - "daysOfTheMonth": { - "description": "List of days of the month.", - "type": "array", - "items": { - "$ref": "#/definitions/Day" - } - } - } - }, - "DailyRetentionSchedule": { - "description": "Daily retention schedule.", - "type": "object", - "properties": { - "retentionTimes": { - "description": "Retention times of retention policy.", - "type": "array", - "items": { - "format": "date-time", - "type": "string" - } - }, - "retentionDuration": { - "$ref": "#/definitions/RetentionDuration", - "description": "Retention duration of retention Policy." - } - } - }, - "Day": { - "description": "Day of the week.", - "type": "object", - "properties": { - "date": { - "format": "int32", - "description": "Date of the month", - "type": "integer" - }, - "isLast": { - "description": "Whether Date is last date of month", - "type": "boolean" - } - } - }, - "DistributedNodesInfo": { - "description": "This is used to represent the various nodes of the distributed container.", - "type": "object", - "properties": { - "nodeName": { - "description": "Name of the node under a distributed container.", - "type": "string" - }, - "status": { - "description": "Status of this Node.\r\nFailed | Succeeded", - "type": "string" - }, - "errorDetail": { - "$ref": "#/definitions/ErrorDetail", - "description": "Error Details if the Status is non-success." - } - } - }, - "DpmContainer": { - "description": "DPM workload-specific protection container.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "properties": { - "canReRegister": { - "description": "Specifies whether the container is re-registrable.", - "type": "boolean" - }, - "containerId": { - "description": "ID of container.", - "type": "string" - }, - "protectedItemCount": { - "format": "int64", - "description": "Number of protected items in the BackupEngine", - "type": "integer" - }, - "dpmAgentVersion": { - "description": "Backup engine Agent version", - "type": "string" - }, - "dpmServers": { - "description": "List of BackupEngines protecting the container", - "type": "array", - "items": { - "type": "string" - } - }, - "upgradeAvailable": { - "description": "To check if upgrade available", - "type": "boolean" - }, - "protectionStatus": { - "description": "Protection status of the container.", - "type": "string" - }, - "extendedInfo": { - "$ref": "#/definitions/DPMContainerExtendedInfo", - "description": "Extended Info of the container." - } - }, - "x-ms-discriminator-value": "DPMContainer" - }, - "DPMContainerExtendedInfo": { - "description": "Additional information of the DPMContainer.", - "type": "object", - "properties": { - "lastRefreshedAt": { - "format": "date-time", - "description": "Last refresh time of the DPMContainer.", - "type": "string" - } - } - }, - "DPMProtectedItem": { - "description": "Additional information on Backup engine specific backup item.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "friendlyName": { - "description": "Friendly name of the managed item", - "type": "string" - }, - "backupEngineName": { - "description": "Backup Management server protecting this backup item", - "type": "string" - }, - "protectionState": { - "description": "Protection state of the backupengine", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectedItemState", - "modelAsString": true - } - }, - "isScheduledForDeferredDelete": { - "description": "To check if backup item is scheduled for deferred delete", - "type": "boolean" - }, - "extendedInfo": { - "$ref": "#/definitions/DPMProtectedItemExtendedInfo", - "description": "Extended info of the backup item." - } - }, - "x-ms-discriminator-value": "DPMProtectedItem" - }, - "DPMProtectedItemExtendedInfo": { - "description": "Additional information of DPM Protected item.", - "type": "object", - "properties": { - "protectableObjectLoadPath": { - "description": "Attribute to provide information on various DBs.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "protected": { - "description": "To check if backup item is disk protected.", - "type": "boolean" - }, - "isPresentOnCloud": { - "description": "To check if backup item is cloud protected.", - "type": "boolean" - }, - "lastBackupStatus": { - "description": "Last backup status information on backup item.", - "type": "string" - }, - "lastRefreshedAt": { - "format": "date-time", - "description": "Last refresh time on backup item.", - "type": "string" - }, - "oldestRecoveryPoint": { - "format": "date-time", - "description": "Oldest cloud recovery point time.", - "type": "string" - }, - "recoveryPointCount": { - "format": "int32", - "description": "cloud recovery point count.", - "type": "integer" - }, - "onPremiseOldestRecoveryPoint": { - "format": "date-time", - "description": "Oldest disk recovery point time.", - "type": "string" - }, - "onPremiseLatestRecoveryPoint": { - "format": "date-time", - "description": "latest disk recovery point time.", - "type": "string" - }, - "onPremiseRecoveryPointCount": { - "format": "int32", - "description": "disk recovery point count.", - "type": "integer" - }, - "isCollocated": { - "description": "To check if backup item is collocated.", - "type": "boolean" - }, - "protectionGroupName": { - "description": "Protection group name of the backup item.", - "type": "string" - }, - "diskStorageUsedInBytes": { - "description": "Used Disk storage in bytes.", - "type": "string" - }, - "totalDiskStorageSizeInBytes": { - "description": "total Disk storage in bytes.", - "type": "string" - } - } - }, - "ErrorDetail": { - "description": "Error Detail class which encapsulates Code, Message and Recommendations.", - "type": "object", - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error Message related to the Code.", - "type": "string" - }, - "recommendations": { - "description": "List of recommendation strings.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "GenericBackupFabric": { - "description": "The generic backup fabric class.", - "type": "object", - "properties": { - "friendlyName": { - "description": "Friendly name of the backup fabric.", - "type": "string" - }, - "backupManagementType": { - "description": "Type of backup management for the backup fabric.", - "type": "string" - }, - "version": { - "description": "Version of the backup fabric.", - "type": "string" - } - }, - "discriminator": "backupManagementType" - }, - "GenericBackupFabricResource": { - "description": "The generic backup fabric class.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/GenericBackupFabric", - "description": "GenericBackupFabricResource properties" - } - } - }, - "GenericBackupFabricResourceList": { - "description": "List of GenericBackupFabric resources", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceList" - } - ], - "properties": { - "value": { - "description": "List of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/GenericBackupFabricResource" - } - } - } - }, - "GenericContainer": { - "description": "Base class for generic container of backup items", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "properties": { - "fabricName": { - "description": "Name of the container's fabric", - "type": "string" - }, - "extendedInformation": { - "$ref": "#/definitions/GenericContainerExtendedInfo", - "description": "Extended information (not returned in List container API calls)" - } - }, - "x-ms-discriminator-value": "GenericContainer" - }, - "GenericContainerExtendedInfo": { - "description": "Container extended information", - "type": "object", - "properties": { - "rawCertData": { - "description": "Public key of container cert", - "type": "string" - }, - "containerIdentityInfo": { - "$ref": "#/definitions/ContainerIdentityInfo", - "description": "Container identity information" - }, - "serviceEndpoints": { - "description": "Azure Backup Service Endpoints for the container", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "GenericProtectedItem": { - "description": "Base class for backup items.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "friendlyName": { - "description": "Friendly name of the container.", - "type": "string" - }, - "policyState": { - "description": "Indicates consistency of policy object and policy applied to this backup item.", - "type": "string" - }, - "protectionState": { - "description": "Backup state of this backup item.", - "enum": [ - "Invalid", - "IRPending", - "Protected", - "ProtectionError", - "ProtectionStopped", - "ProtectionPaused" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionState", - "modelAsString": true - } - }, - "protectedItemId": { - "format": "int64", - "description": "Data Plane Service ID of the protected item.", - "type": "integer" - }, - "sourceAssociations": { - "description": "Loosely coupled (type, value) associations (example - parent of a protected item)", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "fabricName": { - "description": "Name of this backup item's fabric.", - "type": "string" - } - }, - "x-ms-discriminator-value": "GenericProtectedItem" - }, - "GenericProtectionPolicy": { - "description": "Azure VM (Mercury) workload-specific backup policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionPolicy" - } - ], - "properties": { - "subProtectionPolicy": { - "description": "List of sub-protection policies which includes schedule and retention", - "type": "array", - "items": { - "$ref": "#/definitions/SubProtectionPolicy" - } - }, - "timeZone": { - "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", - "type": "string" - }, - "fabricName": { - "description": "Name of this policy's fabric.", - "type": "string" - } - }, - "x-ms-discriminator-value": "GenericProtectionPolicy" - }, - "GenericRestoreAccessRequest": { - "description": "Generic class for restore access request.", - "type": "object", - "properties": { - "protectionContainerId": { - "description": "ARM ResourceId of container that will gain access to container request in uri.", - "type": "string" - }, - "duration": { - "format": "duration", - "description": "Duration for which the access has been requested.", - "type": "string" - } - } - }, - "GenericRestoreAccessResponse": { - "description": "Generic class for restore access response.", - "type": "object", - "properties": { - "serviceEndpoints": { - "description": "Azure Backup Service Endpoints of the container in grant access request URL", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "expiryTime": { - "format": "date-time", - "description": "Time till which access has been granted.", - "type": "string" - } - } - }, - "IaaSVMContainer": { - "description": "IaaS VM workload-specific container.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "properties": { - "virtualMachineId": { - "description": "Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.", - "type": "string" - }, - "virtualMachineVersion": { - "description": "Specifies whether the container represents a Classic or an Azure Resource Manager VM.", - "type": "string" - }, - "resourceGroup": { - "description": "Resource group name of Recovery Services Vault.", - "type": "string" - } - }, - "x-ms-discriminator-value": "IaaSVMContainer" - }, - "InquiryInfo": { - "description": "Details about inquired protectable items under a given container.", - "type": "object", - "properties": { - "status": { - "description": "Inquiry Status for this container such as\r\nInProgress | Failed | Succeeded", - "type": "string" - }, - "errorDetail": { - "$ref": "#/definitions/ErrorDetail", - "description": "Error Details if the Status is non-success." - }, - "inquiryDetails": { - "description": "Inquiry Details which will have workload specific details.\r\nFor e.g. - For SQL and oracle this will contain different details.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkloadInquiryDetails" - } - } - } - }, - "InquiryValidation": { - "description": "Validation for inquired protectable items under a given container.", - "type": "object", - "properties": { - "status": { - "description": "Status for the Inquiry Validation.", - "type": "string" - }, - "errorDetail": { - "$ref": "#/definitions/ErrorDetail", - "description": "Error Detail in case the status is non-success." - } - } - }, - "InstantItemRecoveryTarget": { - "description": "Target details for file / folder restore.", - "type": "object", - "properties": { - "clientScripts": { - "description": "List of client scripts.", - "type": "array", - "items": { - "$ref": "#/definitions/ClientScriptForConnect" - } - } - } - }, - "LogSchedulePolicy": { - "description": "Log policy schedule.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SchedulePolicy" - } - ], - "properties": { - "scheduleFrequencyInMins": { - "format": "int32", - "description": "Frequency of the log schedule operation of this policy in minutes.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "LogSchedulePolicy" - }, - "LongTermRetentionPolicy": { - "description": "Long term retention policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RetentionPolicy" - } - ], - "properties": { - "dailySchedule": { - "$ref": "#/definitions/DailyRetentionSchedule", - "description": "Daily retention schedule of the protection policy." - }, - "weeklySchedule": { - "$ref": "#/definitions/WeeklyRetentionSchedule", - "description": "Weekly retention schedule of the protection policy." - }, - "monthlySchedule": { - "$ref": "#/definitions/MonthlyRetentionSchedule", - "description": "Monthly retention schedule of the protection policy." - }, - "yearlySchedule": { - "$ref": "#/definitions/YearlyRetentionSchedule", - "description": "Yearly retention schedule of the protection policy." - } - }, - "x-ms-discriminator-value": "LongTermRetentionPolicy" - }, - "LongTermSchedulePolicy": { - "description": "Long term policy schedule.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SchedulePolicy" - } - ], - "x-ms-discriminator-value": "LongTermSchedulePolicy" - }, - "MabContainer": { - "description": "Container with items backed up using MAB backup engine.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionContainer" - } - ], - "properties": { - "canReRegister": { - "description": "Can the container be registered one more time.", - "type": "boolean" - }, - "containerId": { - "format": "int64", - "description": "ContainerID represents the container.", - "type": "integer" - }, - "protectedItemCount": { - "format": "int64", - "description": "Number of items backed up in this container.", - "type": "integer" - }, - "agentVersion": { - "description": "Agent version of this container.", - "type": "string" - }, - "extendedInfo": { - "$ref": "#/definitions/MabContainerExtendedInfo", - "description": "Additional information for this container" - }, - "mabContainerHealthDetails": { - "description": "Health details on this mab container.", - "type": "array", - "items": { - "$ref": "#/definitions/MABContainerHealthDetails" - } - }, - "containerHealthState": { - "description": "Health state of mab container.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Windows" - }, - "MabContainerExtendedInfo": { - "description": "Additional information of the container.", - "type": "object", - "properties": { - "lastRefreshedAt": { - "format": "date-time", - "description": "Time stamp when this container was refreshed.", - "type": "string" - }, - "backupItemType": { - "description": "Type of backup items associated with this container.", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupItemType", - "modelAsString": true - } - }, - "backupItems": { - "description": "List of backup items associated with this container.", - "type": "array", - "items": { - "type": "string" - } - }, - "policyName": { - "description": "Backup policy associated with this container.", - "type": "string" - }, - "lastBackupStatus": { - "description": "Latest backup status of this container.", - "type": "string" - } - } - }, - "MABContainerHealthDetails": { - "description": "MAB workload-specific Health Details.", - "type": "object", - "properties": { - "code": { - "format": "int32", - "description": "Health Code", - "type": "integer" - }, - "title": { - "description": "Health Title", - "type": "string" - }, - "message": { - "description": "Health Message", - "type": "string" - }, - "recommendations": { - "description": "Health Recommended Actions", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "MabFileFolderProtectedItem": { - "description": "MAB workload-specific backup item.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectedItem" - } - ], - "properties": { - "friendlyName": { - "description": "Friendly name of this backup item.", - "type": "string" - }, - "computerName": { - "description": "Name of the computer associated with this backup item.", - "type": "string" - }, - "lastBackupStatus": { - "description": "Status of last backup operation.", - "type": "string" - }, - "protectionState": { - "description": "Protected, ProtectionStopped, IRPending or ProtectionError", - "type": "string" - }, - "isScheduledForDeferredDelete": { - "description": "Specifies if the item is scheduled for deferred deletion.", - "type": "boolean" - }, - "deferredDeleteSyncTimeInUTC": { - "format": "int64", - "description": "Sync time for deferred deletion.", - "type": "integer" - }, - "extendedInfo": { - "$ref": "#/definitions/MabFileFolderProtectedItemExtendedInfo", - "description": "Additional information with this backup item." - } - }, - "x-ms-discriminator-value": "MabFileFolderProtectedItem" - }, - "MabFileFolderProtectedItemExtendedInfo": { - "description": "Additional information on the backed up item.", - "type": "object", - "properties": { - "lastRefreshedAt": { - "format": "date-time", - "description": "Last time when the agent data synced to service.", - "type": "string" - }, - "oldestRecoveryPoint": { - "format": "date-time", - "description": "The oldest backup copy available.", - "type": "string" - }, - "recoveryPointCount": { - "format": "int32", - "description": "Number of backup copies associated with the backup item.", - "type": "integer" - } - } - }, - "MabProtectionPolicy": { - "description": "Mab container-specific backup policy.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProtectionPolicy" - } - ], - "properties": { - "schedulePolicy": { - "$ref": "#/definitions/SchedulePolicy", - "description": "Backup schedule of backup policy." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "Retention policy details." - } - }, - "x-ms-discriminator-value": "MAB" - }, - "MonthlyRetentionSchedule": { - "description": "Monthly retention schedule.", - "type": "object", - "properties": { - "retentionScheduleFormatType": { - "description": "Retention schedule format type for monthly retention policy.", - "enum": [ - "Invalid", - "Daily", - "Weekly" - ], - "type": "string", - "x-ms-enum": { - "name": "RetentionScheduleFormat", - "modelAsString": true - } - }, - "retentionScheduleDaily": { - "$ref": "#/definitions/DailyRetentionFormat", - "description": "Daily retention format for monthly retention policy." - }, - "retentionScheduleWeekly": { - "$ref": "#/definitions/WeeklyRetentionFormat", - "description": "Weekly retention format for monthly retention policy." - }, - "retentionTimes": { - "description": "Retention times of retention policy.", - "type": "array", - "items": { - "format": "date-time", - "type": "string" - } - }, - "retentionDuration": { - "$ref": "#/definitions/RetentionDuration", - "description": "Retention duration of retention Policy." - } - } - }, - "OperationStatus": { - "description": "Operation status.", - "type": "object", - "properties": { - "id": { - "description": "ID of the operation.", - "type": "string" - }, - "name": { - "description": "Name of the operation.", - "type": "string" - }, - "status": { - "description": "Operation status.", - "enum": [ - "Invalid", - "InProgress", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatusValues", - "modelAsString": true - } - }, - "startTime": { - "format": "date-time", - "description": "Operation start time. Format: ISO-8601.", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "Operation end time. Format: ISO-8601.", - "type": "string" - }, - "error": { - "$ref": "#/definitions/OperationStatusError", - "description": "Error information related to this operation." - }, - "properties": { - "$ref": "#/definitions/OperationStatusExtendedInfo", - "description": "Additional information associated with this operation." - } - } - }, - "OperationStatusError": { - "description": "Error information associated with operation status call.", - "type": "object", - "properties": { - "code": { - "description": "Error code of the operation failure.", - "type": "string" - }, - "message": { - "description": "Error message displayed if the operation failure.", - "type": "string" - } - } - }, - "OperationStatusExtendedInfo": { - "description": "Base class for additional information of operation status.", - "required": [ - "objectType" - ], - "type": "object", - "properties": { - "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", - "type": "string" - } - }, - "discriminator": "objectType" - }, - "OperationStatusJobExtendedInfo": { - "description": "Operation status job extended info.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OperationStatusExtendedInfo" - } - ], - "properties": { - "jobId": { - "description": "ID of the job created for this protected item.", - "type": "string" - } - }, - "x-ms-discriminator-value": "OperationStatusJobExtendedInfo" - }, - "OperationStatusJobsExtendedInfo": { - "description": "Operation status extended info for list of jobs.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OperationStatusExtendedInfo" - } - ], - "properties": { - "jobIds": { - "description": "IDs of the jobs created for the protected item.", - "type": "array", - "items": { - "type": "string" - } - }, - "failedJobsError": { - "description": "Stores all the failed jobs along with the corresponding error codes.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-discriminator-value": "OperationStatusJobsExtendedInfo" - }, - "OperationStatusProvisionILRExtendedInfo": { - "description": "Operation status extended info for ILR provision action.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OperationStatusExtendedInfo" - } - ], - "properties": { - "recoveryTarget": { - "$ref": "#/definitions/InstantItemRecoveryTarget", - "description": "Target details for file / folder restore." - } - }, - "x-ms-discriminator-value": "OperationStatusProvisionILRExtendedInfo" - }, - "ProtectedItem": { - "description": "Base class for backup items.", - "type": "object", - "properties": { - "protectedItemType": { - "description": "backup item type.", - "type": "string" - }, - "backupManagementType": { - "description": "Type of backup managemenent for the backed up item.", - "enum": [ - "Invalid", - "AzureIaasVM", - "MAB", - "DPM", - "AzureBackupServer", - "AzureSql", - "AzureStorage", - "AzureWorkload", - "DefaultBackup" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupManagementType", - "modelAsString": true - } - }, - "workloadType": { - "description": "Type of workload this item represents.", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "DataSourceType", - "modelAsString": true - } - }, - "containerName": { - "description": "Unique name of container", - "type": "string" - }, - "sourceResourceId": { - "description": "ARM ID of the resource to be backed up.", - "type": "string" - }, - "policyId": { - "description": "ID of the backup policy with which this item is backed up.", - "type": "string" - }, - "lastRecoveryPoint": { - "format": "date-time", - "description": "Timestamp when the last (latest) backup copy was created for this backup item.", - "type": "string" - }, - "backupSetName": { - "description": "Name of the backup set the backup item belongs to", - "type": "string" - }, - "createMode": { - "description": "Create mode to indicate recovery of existing soft deleted data source or creation of new data source.", - "enum": [ - "Invalid", - "Default", - "Recover" - ], - "type": "string", - "x-ms-enum": { - "name": "CreateMode", - "modelAsString": true - } - } - }, - "discriminator": "protectedItemType" - }, - "ProtectedItemQueryObject": { - "description": "Filters to list backup items.", - "type": "object", - "properties": { - "healthState": { - "description": "Health State for the backed up item.", - "enum": [ - "Passed", - "ActionRequired", - "ActionSuggested", - "Invalid" - ], - "type": "string", - "x-ms-enum": { - "name": "HealthState", - "modelAsString": true - } - }, - "backupManagementType": { - "description": "Backup management type for the backed up item.", - "enum": [ - "Invalid", - "AzureIaasVM", - "MAB", - "DPM", - "AzureBackupServer", - "AzureSql", - "AzureStorage", - "AzureWorkload", - "DefaultBackup" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupManagementType", - "modelAsString": true - } - }, - "itemType": { - "description": "Type of workload this item represents.", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "DataSourceType", - "modelAsString": true - } - }, - "policyName": { - "description": "Backup policy name associated with the backup item.", - "type": "string" - }, - "containerName": { - "description": "Name of the container.", - "type": "string" - }, - "backupEngineName": { - "description": "Backup Engine name", - "type": "string" - }, - "friendlyName": { - "description": "Friendly name of protected item", - "type": "string" - }, - "fabricName": { - "description": "Name of the fabric.", - "type": "string" - }, - "backupSetName": { - "description": "Name of the backup set.", - "type": "string" - } - } - }, - "ProtectedItemResource": { - "description": "Base class for backup items.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ProtectedItem", - "description": "ProtectedItemResource properties" - } - } - }, - "ProtectedItemResourceList": { - "description": "List of ProtectedItem resources", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceList" - } - ], - "properties": { - "value": { - "description": "List of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProtectedItemResource" - } - } - } - }, - "ProtectionContainer": { - "description": "Base class for container with backup items. Containers with specific workloads are derived from this class.", - "type": "object", - "properties": { - "friendlyName": { - "description": "Friendly name of the container.", - "type": "string" - }, - "backupManagementType": { - "description": "Type of backup managemenent for the container.", - "enum": [ - "Invalid", - "AzureIaasVM", - "MAB", - "DPM", - "AzureBackupServer", - "AzureSql", - "AzureStorage", - "AzureWorkload", - "DefaultBackup" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupManagementType", - "modelAsString": true - } - }, - "registrationStatus": { - "description": "Status of registration of the container with the Recovery Services Vault.", - "type": "string" - }, - "healthStatus": { - "description": "Status of health of the container.", - "type": "string" - }, - "containerType": { - "description": "Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.\r\nClassic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is\r\nWindows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload\r\nBackup is VMAppContainer", - "enum": [ - "Invalid", - "Unknown", - "IaasVMContainer", - "IaasVMServiceContainer", - "DPMContainer", - "AzureBackupServerContainer", - "MABContainer", - "Cluster", - "AzureSqlContainer", - "Windows", - "VCenter", - "VMAppContainer", - "SQLAGWorkLoadContainer", - "StorageContainer", - "GenericContainer" - ], - "type": "string", - "x-ms-enum": { - "name": "ContainerType", - "modelAsString": true - } - } - }, - "discriminator": "containerType" - }, - "ProtectionContainerResource": { - "description": "Base class for container with backup items. Containers with specific workloads are derived from this class.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ProtectionContainer", - "description": "ProtectionContainerResource properties" - } - } - }, - "ProtectionContainerResourceList": { - "description": "List of ProtectionContainer resources", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceList" - } - ], - "properties": { - "value": { - "description": "List of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProtectionContainerResource" - } - } - } - }, - "ProtectionPolicy": { - "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.", - "required": [ - "backupManagementType" - ], - "type": "object", - "properties": { - "protectedItemsCount": { - "format": "int32", - "description": "Number of items associated with this policy.", - "type": "integer" - }, - "backupManagementType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", - "type": "string" - } - }, - "discriminator": "backupManagementType" - }, - "ProtectionPolicyQueryObject": { - "description": "Filters the list backup policies API.", - "type": "object", - "properties": { - "backupManagementType": { - "description": "Backup management type for the backup policy.", - "enum": [ - "Invalid", - "AzureIaasVM", - "MAB", - "DPM", - "AzureBackupServer", - "AzureSql", - "AzureStorage", - "AzureWorkload", - "DefaultBackup" - ], - "type": "string", - "x-ms-enum": { - "name": "BackupManagementType", - "modelAsString": true - } - }, - "fabricName": { - "description": "Fabric name for filter", - "type": "string" - }, - "workloadType": { - "description": "Workload type for the backup policy.", - "enum": [ - "Invalid", - "VM", - "FileFolder", - "AzureSqlDb", - "SQLDB", - "Exchange", - "Sharepoint", - "VMwareVM", - "SystemState", - "Client", - "GenericDataSource", - "SQLDataBase", - "AzureFileShare", - "SAPHanaDatabase", - "SAPAseDatabase" - ], - "type": "string", - "x-ms-enum": { - "name": "WorkloadType", - "modelAsString": true - } - } - } - }, - "ProtectionPolicyResource": { - "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ProtectionPolicy", - "description": "ProtectionPolicyResource properties" - } - } - }, - "ProtectionPolicyResourceList": { - "description": "List of ProtectionPolicy resources", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceList" - } - ], - "properties": { - "value": { - "description": "List of resources.", - "type": "array", - "items": { - "$ref": "#/definitions/ProtectionPolicyResource" - } - } - } - }, - "Resource": { - "description": "ARM Resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource Id represents the complete path to the resource.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource name associated with the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...", - "type": "string", - "readOnly": true - }, - "location": { - "description": "Resource location.", - "type": "string" - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "eTag": { - "description": "Optional ETag.", - "type": "string" - } - }, - "x-ms-azure-resource": true - }, - "ResourceList": { - "description": "Base for all lists of resources.", - "type": "object", - "properties": { - "nextLink": { - "description": "The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.", - "type": "string" - } - } - }, - "RetentionDuration": { - "description": "Retention duration.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.", - "type": "integer" - }, - "durationType": { - "description": "Retention duration type of retention policy.", - "enum": [ - "Invalid", - "Days", - "Weeks", - "Months", - "Years" - ], - "type": "string", - "x-ms-enum": { - "name": "RetentionDurationType", - "modelAsString": true - } - } - } - }, - "RetentionPolicy": { - "description": "Base class for retention policy.", - "required": [ - "retentionPolicyType" - ], - "type": "object", - "properties": { - "retentionPolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", - "type": "string" - } - }, - "discriminator": "retentionPolicyType" - }, - "SchedulePolicy": { - "description": "Base class for backup schedule.", - "required": [ - "schedulePolicyType" - ], - "type": "object", - "properties": { - "schedulePolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", - "type": "string" - } - }, - "discriminator": "schedulePolicyType" - }, - "Settings": { - "description": "Common settings field for backup management", - "type": "object", - "properties": { - "timeZone": { - "description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".", - "type": "string" - }, - "issqlcompression": { - "description": "SQL compression flag", - "type": "boolean" - }, - "isCompression": { - "description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.", - "type": "boolean" - } - } - }, - "SimpleRetentionPolicy": { - "description": "Simple policy retention.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RetentionPolicy" - } - ], - "properties": { - "retentionDuration": { - "$ref": "#/definitions/RetentionDuration", - "description": "Retention duration of the protection policy." - } - }, - "x-ms-discriminator-value": "SimpleRetentionPolicy" - }, - "SimpleSchedulePolicy": { - "description": "Simple policy schedule.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SchedulePolicy" - } - ], - "properties": { - "scheduleRunFrequency": { - "description": "Frequency of the schedule operation of this policy.", - "enum": [ - "Invalid", - "Daily", - "Weekly" - ], - "type": "string", - "x-ms-enum": { - "name": "ScheduleRunType", - "modelAsString": true - } - }, - "scheduleRunDays": { - "description": "List of days of week this schedule has to be run.", - "type": "array", - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string", - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": false - } - } - }, - "scheduleRunTimes": { - "description": "List of times of day this schedule has to be run.", - "type": "array", - "items": { - "format": "date-time", - "type": "string" - } - }, - "scheduleWeeklyFrequency": { - "format": "int32", - "description": "At every number weeks this schedule has to be run.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "SimpleSchedulePolicy" - }, - "SubProtectionPolicy": { - "description": "Sub-protection policy which includes schedule and retention", - "type": "object", - "properties": { - "policyType": { - "description": "Type of backup policy type", - "enum": [ - "Invalid", - "Full", - "Differential", - "Log", - "CopyOnlyFull" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyType", - "modelAsString": true - } - }, - "schedulePolicy": { - "$ref": "#/definitions/SchedulePolicy", - "description": "Backup schedule specified as part of backup policy." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "Retention policy with the details on backup copy retention ranges." - } - } - }, - "WeeklyRetentionFormat": { - "description": "Weekly retention format.", - "type": "object", - "properties": { - "daysOfTheWeek": { - "description": "List of days of the week.", - "type": "array", - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string", - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": false - } - } - }, - "weeksOfTheMonth": { - "description": "List of weeks of month.", - "type": "array", - "items": { - "enum": [ - "First", - "Second", - "Third", - "Fourth", - "Last", - "Invalid" - ], - "type": "string", - "x-ms-enum": { - "name": "WeekOfMonth", - "modelAsString": false - } - } - } - } - }, - "WeeklyRetentionSchedule": { - "description": "Weekly retention schedule.", - "type": "object", - "properties": { - "daysOfTheWeek": { - "description": "List of days of week for weekly retention policy.", - "type": "array", - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string", - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": false - } - } - }, - "retentionTimes": { - "description": "Retention times of retention policy.", - "type": "array", - "items": { - "format": "date-time", - "type": "string" - } - }, - "retentionDuration": { - "$ref": "#/definitions/RetentionDuration", - "description": "Retention duration of retention Policy." - } - } - }, - "WorkloadInquiryDetails": { - "description": "Details of an inquired protectable item.", - "type": "object", - "properties": { - "type": { - "description": "Type of the Workload such as SQL, Oracle etc.", - "type": "string" - }, - "itemCount": { - "format": "int64", - "description": "Contains the protectable item Count inside this Container.", - "type": "integer" - }, - "inquiryValidation": { - "$ref": "#/definitions/InquiryValidation", - "description": "Inquiry validation such as permissions and other backup validations." - } - } - }, - "YearlyRetentionSchedule": { - "description": "Yearly retention schedule.", - "type": "object", - "properties": { - "retentionScheduleFormatType": { - "description": "Retention schedule format for yearly retention policy.", - "enum": [ - "Invalid", - "Daily", - "Weekly" - ], - "type": "string", - "x-ms-enum": { - "name": "RetentionScheduleFormat", - "modelAsString": true - } - }, - "monthsOfYear": { - "description": "List of months of year of yearly retention policy.", - "type": "array", - "items": { - "enum": [ - "Invalid", - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December" - ], - "type": "string", - "x-ms-enum": { - "name": "MonthOfYear", - "modelAsString": false - } - } - }, - "retentionScheduleDaily": { - "$ref": "#/definitions/DailyRetentionFormat", - "description": "Daily retention format for yearly retention policy." - }, - "retentionScheduleWeekly": { - "$ref": "#/definitions/WeeklyRetentionFormat", - "description": "Weekly retention format for yearly retention policy." - }, - "retentionTimes": { - "description": "Retention times of retention policy.", - "type": "array", - "items": { - "format": "date-time", - "type": "string" - } - }, - "retentionDuration": { - "$ref": "#/definitions/RetentionDuration", - "description": "Retention duration of retention Policy." - } - } - } - }, - "parameters": { - "SubscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription Id.", - "required": true, - "type": "string" - }, - "ResourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group where the recovery services vault is present.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "VaultName": { - "name": "vaultName", - "in": "path", - "description": "The name of the recovery services vault.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ApiVersion": { - "name": "api-version", - "in": "query", - "description": "Client Api Version.", - "required": true, - "type": "string" - } - }, - "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." - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} \ No newline at end of file diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 80ccb174e8da..d410c097801a 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -52,7 +52,6 @@ These settings apply only when `--tag=package-2017-07` is specified on the comma ``` yaml $(tag) == 'package-2017-07' input-file: -- Microsoft.RecoveryServices/stable/2017-09-01/bms.json - Microsoft.RecoveryServices/stable/2017-07-01/bms.json - Microsoft.RecoveryServices/stable/2016-12-01/bms.json - Microsoft.RecoveryServices/stable/2016-08-10/operations.json From 73ef9e0ee567ba8e2ca1c3b246396b648fdcfe3b Mon Sep 17 00:00:00 2001 From: Mehak M Date: Wed, 16 Jan 2019 18:08:31 +0530 Subject: [PATCH 5/7] Correcting the spellings --- .../stable/2016-08-10/operations.json | 2 +- .../stable/2016-12-01/bms.json | 42 +++++++++---------- .../stable/2017-07-01/bms.json | 28 ++++++------- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json index cb3acf76800b..543b6c97cda4 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-08-10/operations.json @@ -119,7 +119,7 @@ "type": "object", "properties": { "value": { - "description": "List of available operationss.", + "description": "List of available operations.", "type": "array", "items": { "$ref": "#/definitions/ClientDiscoveryValueForSingleApi" diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json index cc544e812bdc..70a9cb242676 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json @@ -2190,7 +2190,7 @@ "BackupResourceStorageConfigs" ], "description": "Updates vault storage model type.", - "operationId": "BackupResourceStorageConfigs_Patch", + "operationId": "BackupResourceStorageConfigs_Update", "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -3456,7 +3456,7 @@ "x-ms-discriminator-value": "AzureWorkloadPointInTimeRestoreRequest" }, "AzureWorkloadRecoveryPoint": { - "description": "Workload specific recoverypoint, specifcally encaspulates full/diff recoverypoint", + "description": "Workload specific recovery point, specifically encapsulates full/diff recovery point", "type": "object", "allOf": [ { @@ -3555,7 +3555,7 @@ "x-ms-discriminator-value": "AzureWorkloadSAPHanaPointInTimeRestoreRequest" }, "AzureWorkloadSAPHanaRecoveryPoint": { - "description": "SAPHana specific recoverypoint, specifcally encaspulates full/diff recoverypoints", + "description": "SAPHana specific recoverypoint, specifically encapsulates full/diff recoverypoints", "type": "object", "allOf": [ { @@ -3611,7 +3611,7 @@ "x-ms-discriminator-value": "AzureWorkloadSQLPointInTimeRestoreRequest" }, "AzureWorkloadSQLRecoveryPoint": { - "description": "SQL specific recoverypoint, specifcally encaspulates full/diff recoverypoint alongwith extended info", + "description": "SQL specific recoverypoint, specifically encapsulates full/diff recoverypoint alongwith extended info", "type": "object", "allOf": [ { @@ -3839,7 +3839,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -3991,7 +3991,7 @@ } }, "BEKDetails": { - "description": "BEK is bitlocker encrpytion key.", + "description": "BEK is bitlocker encryption key.", "type": "object", "properties": { "secretUrl": { @@ -4396,7 +4396,7 @@ "type": "string" }, "scriptNameSuffix": { - "description": "Mandator suffix that should be added to the name of script that is given for download to user.\r\nIf its null or empty then , ignore it.", + "description": "Mandatory suffix that should be added to the name of script that is given for download to user.\r\nIf its null or empty then , ignore it.", "type": "string" } } @@ -5112,7 +5112,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -5199,7 +5199,7 @@ } }, "KeyAndSecretDetails": { - "description": "BEK is bitlocker key.\r\nKEK is encryption key for BEK\r\nIf the VM was encrypted then we will store follwing details :\r\n1. Secret(BEK) - Url + Backup Data + vaultId.\r\n2. Key(KEK) - Url + Backup Data + vaultId.\r\n3. EncryptionMechanism\r\nBEK and KEK can potentiallty have different vault ids.", + "description": "BEK is bitlocker key.\r\nKEK is encryption key for BEK\r\nIf the VM was encrypted then we will store following details :\r\n1. Secret(BEK) - Url + Backup Data + vaultId.\r\n2. Key(KEK) - Url + Backup Data + vaultId.\r\n3. EncryptionMechanism\r\nBEK and KEK can potentiallty have different vault ids.", "type": "object", "properties": { "kekDetails": { @@ -5208,7 +5208,7 @@ }, "bekDetails": { "$ref": "#/definitions/BEKDetails", - "description": "BEK is bitlocker encrpytion key." + "description": "BEK is bitlocker encryption key." }, "encryptionMechanism": { "description": "Encryption mechanism: None/ SinglePass/ DoublePass", @@ -5583,7 +5583,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -5699,7 +5699,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup managemenent for the container.", + "description": "Type of backup management for the container.", "enum": [ "Invalid", "AzureIaasVM", @@ -5795,7 +5795,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup managemenent for the backed up item.", + "description": "Type of backup management for the backed up item.", "enum": [ "Invalid", "AzureIaasVM", @@ -5898,7 +5898,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup managemenent for the container.", + "description": "Type of backup management for the container.", "enum": [ "Invalid", "AzureIaasVM", @@ -5997,7 +5997,7 @@ "type": "integer" }, "backupManagementType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -6025,7 +6025,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -6169,7 +6169,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -6223,7 +6223,7 @@ "type": "object", "properties": { "retentionPolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -6237,7 +6237,7 @@ "type": "object", "properties": { "schedulePolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -6589,7 +6589,7 @@ "type": "object", "properties": { "backupManagementType": { - "description": "Type of backup managemenent to backup an item.", + "description": "Type of backup management to backup an item.", "type": "string" }, "workloadType": { @@ -6659,7 +6659,7 @@ "type": "object", "properties": { "backupManagementType": { - "description": "Type of backup managemenent to backup an item.", + "description": "Type of backup management to backup an item.", "type": "string" }, "workloadType": { diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json index 69577f50d8db..6016fefcd741 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json @@ -382,7 +382,7 @@ "tags": [ "JobDetails" ], - "description": "Gets exteded information associated with the job.", + "description": "Gets extended information associated with the job.", "operationId": "JobDetails_Get", "produces": [ "application/json" @@ -514,7 +514,7 @@ "x-ms-odata": "#/definitions/JobQueryObject", "x-ms-examples": { "Export Jobs": { - "$ref": "./examples/Common/TriggerExportJobs.json" + "$ref": "./examples/Common/TriggerExoprtJobs.json" } } } @@ -1080,7 +1080,7 @@ } }, "AzureIaaSVMJob": { - "description": "Azure IaaS VM workload-specifc job object.", + "description": "Azure IaaS VM workload-specific job object.", "type": "object", "allOf": [ { @@ -2300,7 +2300,7 @@ } }, "DpmJob": { - "description": "DPM workload-specifc job object.", + "description": "DPM workload-specific job object.", "type": "object", "allOf": [ { @@ -2815,7 +2815,7 @@ "type": "string" }, "jobType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -2843,7 +2843,7 @@ } }, "backupManagementType": { - "description": "Type of backup managmenent for the job.", + "description": "Type of backup management for the job.", "enum": [ "Invalid", "AzureIaasVM", @@ -3312,7 +3312,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -3492,7 +3492,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup managemenent for the backed up item.", + "description": "Type of backup management for the backed up item.", "enum": [ "Invalid", "AzureIaasVM", @@ -3701,7 +3701,7 @@ "type": "string" }, "backupManagementType": { - "description": "Type of backup managemenent for the backed up item.", + "description": "Type of backup management for the backed up item.", "enum": [ "Invalid", "AzureIaasVM", @@ -3840,7 +3840,7 @@ "type": "integer" }, "backupManagementType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -4005,7 +4005,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -4045,7 +4045,7 @@ "type": "object", "properties": { "retentionPolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -4059,7 +4059,7 @@ "type": "object", "properties": { "schedulePolicyType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, @@ -4276,7 +4276,7 @@ "type": "object", "properties": { "objectType": { - "description": "This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types.", + "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.", "type": "string" } }, From f863d5e04544fc1082c125f354fd36b119b27436 Mon Sep 17 00:00:00 2001 From: Mehak M Date: Wed, 16 Jan 2019 18:39:10 +0530 Subject: [PATCH 6/7] Spell Check --- .../Microsoft.RecoveryServices/stable/2017-07-01/bms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json index 6016fefcd741..863bca22387d 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2017-07-01/bms.json @@ -514,7 +514,7 @@ "x-ms-odata": "#/definitions/JobQueryObject", "x-ms-examples": { "Export Jobs": { - "$ref": "./examples/Common/TriggerExoprtJobs.json" + "$ref": "./examples/Common/TriggerExportJobs.json" } } } From b4544cbdc4750cc7d8353ec244fe62728bc41799 Mon Sep 17 00:00:00 2001 From: Mehak M Date: Wed, 16 Jan 2019 18:48:09 +0530 Subject: [PATCH 7/7] Spell check --- .../Microsoft.RecoveryServices/stable/2016-12-01/bms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json index 70a9cb242676..b1bcfc36498b 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2016-12-01/bms.json @@ -2190,7 +2190,7 @@ "BackupResourceStorageConfigs" ], "description": "Updates vault storage model type.", - "operationId": "BackupResourceStorageConfigs_Update", + "operationId": "BackupResourceStorageConfigs_Patch", "parameters": [ { "$ref": "#/parameters/ApiVersion"