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..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 @@ -38,7 +38,6 @@ } } }, - "deprecated": false, "x-ms-pageable": { "nextLinkName": "nextLink", "itemName": "value" 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..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 @@ -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,19 +2133,64 @@ } } }, - "deprecated": false, "x-ms-examples": { "Get Vault Storage Configuration": { "$ref": "./examples/Common/BackupStorageConfig_Get.json" } } }, - "patch": { + "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" + ], + "description": "Updates vault storage model type.", + "operationId": "BackupResourceStorageConfigs_Patch", "parameters": [ { "$ref": "#/parameters/ApiVersion" @@ -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,6 +3419,42 @@ } } }, + "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", "type": "object", @@ -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, specifically encapsulates 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, specifically encapsulates 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": { @@ -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": "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" } } @@ -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": { @@ -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 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": { @@ -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", @@ -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", @@ -5895,7 +5829,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -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", @@ -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": { @@ -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" } } @@ -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..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 @@ -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" @@ -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": { @@ -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": { @@ -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": { @@ -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", @@ -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": { @@ -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": { @@ -3983,7 +3889,8 @@ "GenericDataSource", "SQLDataBase", "AzureFileShare", - "SAPHanaDatabase" + "SAPHanaDatabase", + "SAPAseDatabase" ], "type": "string", "x-ms-enum": { @@ -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": { @@ -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" } } @@ -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": {