@azure/arm-dataprotection 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +1 -1
  3. package/dist/index.js +536 -979
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/backupInstancesAdhocBackupSample.js +1 -1
  8. package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.js +1 -1
  9. package/dist-esm/samples-dev/backupInstancesDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.js +1 -1
  11. package/dist-esm/samples-dev/backupInstancesGetSample.js +1 -1
  12. package/dist-esm/samples-dev/backupInstancesListSample.js +1 -1
  13. package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.js +1 -1
  14. package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.js +1 -1
  15. package/dist-esm/samples-dev/backupInstancesStopProtectionSample.js +1 -1
  16. package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.js +1 -1
  17. package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.js +1 -1
  18. package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.js +1 -1
  19. package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.js +3 -3
  20. package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.js +1 -1
  21. package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.js +1 -1
  22. package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/backupPoliciesGetSample.js +1 -1
  25. package/dist-esm/samples-dev/backupPoliciesListSample.js +1 -1
  26. package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.js +1 -1
  27. package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.js +1 -1
  28. package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.js +2 -2
  29. package/dist-esm/samples-dev/backupVaultsDeleteSample.js +2 -2
  30. package/dist-esm/samples-dev/backupVaultsDeleteSample.js.map +1 -1
  31. package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.js +1 -1
  32. package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.js +1 -1
  33. package/dist-esm/samples-dev/backupVaultsGetSample.js +2 -2
  34. package/dist-esm/samples-dev/backupVaultsUpdateSample.js +1 -1
  35. package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.js +1 -1
  36. package/dist-esm/samples-dev/dataProtectionOperationsListSample.js +1 -1
  37. package/dist-esm/samples-dev/deletedBackupInstancesGetSample.js +1 -1
  38. package/dist-esm/samples-dev/deletedBackupInstancesListSample.js +1 -1
  39. package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.js +1 -1
  40. package/dist-esm/samples-dev/exportJobsOperationResultGetSample.js +1 -1
  41. package/dist-esm/samples-dev/exportJobsTriggerSample.js +1 -1
  42. package/dist-esm/samples-dev/jobsGetSample.js +1 -1
  43. package/dist-esm/samples-dev/jobsListSample.js +1 -1
  44. package/dist-esm/samples-dev/operationResultGetSample.js +1 -1
  45. package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.js +1 -1
  46. package/dist-esm/samples-dev/operationStatusGetSample.js +1 -1
  47. package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.js +1 -1
  48. package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
  49. package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
  50. package/dist-esm/samples-dev/resourceGuardsDeleteSample.js +1 -1
  51. package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.js +1 -1
  52. package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.js +1 -1
  53. package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.js +1 -1
  54. package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.js +1 -1
  55. package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.js +1 -1
  56. package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.js +1 -1
  57. package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.js +1 -1
  58. package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.js +1 -1
  59. package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.js +1 -1
  60. package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.js +1 -1
  61. package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.js +1 -1
  62. package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.js +1 -1
  63. package/dist-esm/samples-dev/resourceGuardsGetSample.js +1 -1
  64. package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.js +1 -1
  65. package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.js +1 -1
  66. package/dist-esm/samples-dev/resourceGuardsPatchSample.js +1 -1
  67. package/dist-esm/samples-dev/resourceGuardsPatchSample.js.map +1 -1
  68. package/dist-esm/samples-dev/resourceGuardsPutSample.js +1 -1
  69. package/dist-esm/samples-dev/restorableTimeRangesFindSample.js +1 -1
  70. package/dist-esm/src/dataProtectionClient.d.ts +2 -4
  71. package/dist-esm/src/dataProtectionClient.d.ts.map +1 -1
  72. package/dist-esm/src/dataProtectionClient.js +4 -6
  73. package/dist-esm/src/dataProtectionClient.js.map +1 -1
  74. package/dist-esm/src/models/index.d.ts +86 -121
  75. package/dist-esm/src/models/index.d.ts.map +1 -1
  76. package/dist-esm/src/models/index.js +14 -16
  77. package/dist-esm/src/models/index.js.map +1 -1
  78. package/dist-esm/src/models/mappers.d.ts +6 -8
  79. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  80. package/dist-esm/src/models/mappers.js +119 -171
  81. package/dist-esm/src/models/mappers.js.map +1 -1
  82. package/dist-esm/src/models/parameters.d.ts +1 -4
  83. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  84. package/dist-esm/src/models/parameters.js +11 -31
  85. package/dist-esm/src/models/parameters.js.map +1 -1
  86. package/dist-esm/src/operations/backupInstances.d.ts +53 -53
  87. package/dist-esm/src/operations/backupInstances.js +53 -53
  88. package/dist-esm/src/operations/backupPolicies.d.ts +6 -6
  89. package/dist-esm/src/operations/backupPolicies.js +6 -6
  90. package/dist-esm/src/operations/backupVaultOperationResults.d.ts +1 -1
  91. package/dist-esm/src/operations/backupVaultOperationResults.js +1 -1
  92. package/dist-esm/src/operations/backupVaults.d.ts +18 -11
  93. package/dist-esm/src/operations/backupVaults.d.ts.map +1 -1
  94. package/dist-esm/src/operations/backupVaults.js +55 -12
  95. package/dist-esm/src/operations/backupVaults.js.map +1 -1
  96. package/dist-esm/src/operations/deletedBackupInstances.d.ts +6 -6
  97. package/dist-esm/src/operations/deletedBackupInstances.js +6 -6
  98. package/dist-esm/src/operations/exportJobs.d.ts +2 -2
  99. package/dist-esm/src/operations/exportJobs.js +2 -2
  100. package/dist-esm/src/operations/exportJobsOperationResult.d.ts +1 -1
  101. package/dist-esm/src/operations/exportJobsOperationResult.js +1 -1
  102. package/dist-esm/src/operations/index.d.ts +0 -2
  103. package/dist-esm/src/operations/index.d.ts.map +1 -1
  104. package/dist-esm/src/operations/index.js +0 -2
  105. package/dist-esm/src/operations/index.js.map +1 -1
  106. package/dist-esm/src/operations/jobs.d.ts +4 -4
  107. package/dist-esm/src/operations/jobs.js +4 -4
  108. package/dist-esm/src/operations/operationStatusBackupVaultContext.d.ts +1 -1
  109. package/dist-esm/src/operations/operationStatusBackupVaultContext.js +1 -1
  110. package/dist-esm/src/operations/operationStatusResourceGroupContext.d.ts +1 -1
  111. package/dist-esm/src/operations/operationStatusResourceGroupContext.js +1 -1
  112. package/dist-esm/src/operations/recoveryPoints.d.ts +8 -8
  113. package/dist-esm/src/operations/recoveryPoints.js +8 -8
  114. package/dist-esm/src/operations/resourceGuards.d.ts +33 -33
  115. package/dist-esm/src/operations/resourceGuards.d.ts.map +1 -1
  116. package/dist-esm/src/operations/resourceGuards.js +35 -32
  117. package/dist-esm/src/operations/resourceGuards.js.map +1 -1
  118. package/dist-esm/src/operations/restorableTimeRanges.d.ts +2 -2
  119. package/dist-esm/src/operations/restorableTimeRanges.js +2 -2
  120. package/dist-esm/src/operationsInterfaces/backupInstances.d.ts +51 -51
  121. package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts +4 -4
  122. package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.d.ts +1 -1
  123. package/dist-esm/src/operationsInterfaces/backupVaults.d.ts +16 -9
  124. package/dist-esm/src/operationsInterfaces/backupVaults.d.ts.map +1 -1
  125. package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts +4 -4
  126. package/dist-esm/src/operationsInterfaces/exportJobs.d.ts +2 -2
  127. package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.d.ts +1 -1
  128. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
  129. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  130. package/dist-esm/src/operationsInterfaces/index.js +0 -2
  131. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  132. package/dist-esm/src/operationsInterfaces/jobs.d.ts +2 -2
  133. package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.d.ts +1 -1
  134. package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.d.ts +1 -1
  135. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +4 -4
  136. package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts +19 -19
  137. package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/restorableTimeRanges.d.ts +2 -2
  139. package/dist-esm/test/dataprotection_operations_test.spec.js +3 -3
  140. package/dist-esm/test/dataprotection_operations_test.spec.js.map +1 -1
  141. package/package.json +5 -5
  142. package/review/arm-dataprotection.api.md +54 -146
  143. package/src/dataProtectionClient.ts +5 -15
  144. package/src/models/index.ts +93 -146
  145. package/src/models/mappers.ts +129 -185
  146. package/src/models/parameters.ts +12 -36
  147. package/src/operations/backupInstances.ts +53 -53
  148. package/src/operations/backupPolicies.ts +6 -6
  149. package/src/operations/backupVaultOperationResults.ts +1 -1
  150. package/src/operations/backupVaults.ts +79 -13
  151. package/src/operations/deletedBackupInstances.ts +6 -6
  152. package/src/operations/exportJobs.ts +2 -2
  153. package/src/operations/exportJobsOperationResult.ts +1 -1
  154. package/src/operations/index.ts +0 -2
  155. package/src/operations/jobs.ts +4 -4
  156. package/src/operations/operationStatusBackupVaultContext.ts +1 -1
  157. package/src/operations/operationStatusResourceGroupContext.ts +1 -1
  158. package/src/operations/recoveryPoints.ts +8 -8
  159. package/src/operations/resourceGuards.ts +37 -34
  160. package/src/operations/restorableTimeRanges.ts +2 -2
  161. package/src/operationsInterfaces/backupInstances.ts +51 -51
  162. package/src/operationsInterfaces/backupPolicies.ts +4 -4
  163. package/src/operationsInterfaces/backupVaultOperationResults.ts +1 -1
  164. package/src/operationsInterfaces/backupVaults.ts +20 -9
  165. package/src/operationsInterfaces/deletedBackupInstances.ts +4 -4
  166. package/src/operationsInterfaces/exportJobs.ts +2 -2
  167. package/src/operationsInterfaces/exportJobsOperationResult.ts +1 -1
  168. package/src/operationsInterfaces/index.ts +0 -2
  169. package/src/operationsInterfaces/jobs.ts +2 -2
  170. package/src/operationsInterfaces/operationStatusBackupVaultContext.ts +1 -1
  171. package/src/operationsInterfaces/operationStatusResourceGroupContext.ts +1 -1
  172. package/src/operationsInterfaces/recoveryPoints.ts +4 -4
  173. package/src/operationsInterfaces/resourceGuards.ts +19 -19
  174. package/src/operationsInterfaces/restorableTimeRanges.ts +2 -2
  175. package/types/arm-dataprotection.d.ts +207 -304
  176. package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts +0 -2
  177. package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts.map +0 -1
  178. package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js +0 -52
  179. package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js.map +0 -1
  180. package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts +0 -2
  181. package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts.map +0 -1
  182. package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js +0 -40
  183. package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js.map +0 -1
  184. package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts +0 -2
  185. package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts.map +0 -1
  186. package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js +0 -40
  187. package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js.map +0 -1
  188. package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts +0 -2
  189. package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts.map +0 -1
  190. package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js +0 -53
  191. package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js.map +0 -1
  192. package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts +0 -2
  193. package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts.map +0 -1
  194. package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js +0 -45
  195. package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js.map +0 -1
  196. package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts +0 -2
  197. package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts.map +0 -1
  198. package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js +0 -46
  199. package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js.map +0 -1
  200. package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts +0 -35
  201. package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts.map +0 -1
  202. package/dist-esm/src/operations/backupInstancesExtensionRouting.js +0 -134
  203. package/dist-esm/src/operations/backupInstancesExtensionRouting.js.map +0 -1
  204. package/dist-esm/src/operations/dppResourceGuardProxy.d.ts +0 -66
  205. package/dist-esm/src/operations/dppResourceGuardProxy.d.ts.map +0 -1
  206. package/dist-esm/src/operations/dppResourceGuardProxy.js +0 -287
  207. package/dist-esm/src/operations/dppResourceGuardProxy.js.map +0 -1
  208. package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts +0 -12
  209. package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts.map +0 -1
  210. package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js +0 -9
  211. package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js.map +0 -1
  212. package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts +0 -42
  213. package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts.map +0 -1
  214. package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js +0 -9
  215. package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js.map +0 -1
  216. package/src/operations/backupInstancesExtensionRouting.ts +0 -161
  217. package/src/operations/dppResourceGuardProxy.ts +0 -383
  218. package/src/operationsInterfaces/backupInstancesExtensionRouting.ts +0 -27
  219. package/src/operationsInterfaces/dppResourceGuardProxy.ts +0 -88
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
17
17
  *
18
18
  * @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/ListDeleteResourceGuardProxyRequests.json
20
20
  */
21
21
  function listOperationsRequestObject() {
22
22
  var e_1, _a;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
17
17
  *
18
18
  * @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/ListDisableSoftDeleteRequests.json
20
20
  */
21
21
  function listOperationsRequestObject() {
22
22
  var e_1, _a;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns ResourceGuards collection belonging to a ResourceGroup.
17
17
  *
18
18
  * @summary Returns ResourceGuards collection belonging to a ResourceGroup.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetResourceGuardsInResourceGroup.json
20
20
  */
21
21
  function getResourceGuardsInResourceGroup() {
22
22
  var e_1, _a;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns ResourceGuards collection belonging to a subscription.
17
17
  *
18
18
  * @summary Returns ResourceGuards collection belonging to a subscription.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/GetResourceGuardsInSubscription.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetResourceGuardsInSubscription.json
20
20
  */
21
21
  function getResourceGuardsInSubscription() {
22
22
  var e_1, _a;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns a ResourceGuard belonging to a resource group.
17
17
  *
18
18
  * @summary Returns a ResourceGuard belonging to a resource group.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/GetResourceGuard.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetResourceGuard.json
20
20
  */
21
21
  function getResourceGuard() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
17
17
  *
18
18
  * @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/ListUpdateProtectedItemRequests.json
20
20
  */
21
21
  function listOperationsRequestObject() {
22
22
  var e_1, _a;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
17
17
  *
18
18
  * @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/ListUpdateProtectionPolicyRequests.json
20
20
  */
21
21
  function listOperationsRequestObject() {
22
22
  var e_1, _a;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
17
17
  *
18
18
  * @summary Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/PatchResourceGuard.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/PatchResourceGuard.json
20
20
  */
21
21
  function patchResourceGuard() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"resourceGuardsPatchSample.js","sourceRoot":"","sources":["../../samples-dev/resourceGuardsPatchSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,qBAAqB,CAAC;QACxE,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;QAC5C,MAAM,UAAU,GAA8B,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EA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AAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAC9C,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates a ResourceGuard resource belonging to a resource group.
17
17
  *
18
18
  * @summary Creates or updates a ResourceGuard resource belonging to a resource group.
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardCRUD/PutResourceGuard.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/PutResourceGuard.json
20
20
  */
21
21
  function createResourceGuard() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to
17
17
  *
18
18
  * @summary
19
- * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/BackupInstanceOperations/FindRestorableTimeRanges.json
19
+ * x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/FindRestorableTimeRanges.json
20
20
  */
21
21
  function findRestorableTimeRanges() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { BackupVaults, OperationResult, OperationStatus, OperationStatusBackupVaultContext, OperationStatusResourceGroupContext, BackupVaultOperationResults, DataProtection, DataProtectionOperations, BackupPolicies, BackupInstances, BackupInstancesExtensionRouting, RecoveryPoints, Jobs, RestorableTimeRanges, ExportJobs, ExportJobsOperationResult, DeletedBackupInstances, ResourceGuards, DppResourceGuardProxy } from "./operationsInterfaces";
3
+ import { BackupVaults, OperationResult, OperationStatus, OperationStatusBackupVaultContext, OperationStatusResourceGroupContext, BackupVaultOperationResults, DataProtection, DataProtectionOperations, BackupPolicies, BackupInstances, RecoveryPoints, Jobs, RestorableTimeRanges, ExportJobs, ExportJobsOperationResult, DeletedBackupInstances, ResourceGuards } from "./operationsInterfaces";
4
4
  import { DataProtectionClientOptionalParams } from "./models";
5
5
  export declare class DataProtectionClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -9,7 +9,7 @@ export declare class DataProtectionClient extends coreClient.ServiceClient {
9
9
  /**
10
10
  * Initializes a new instance of the DataProtectionClient class.
11
11
  * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId The subscription Id.
12
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
13
13
  * @param options The parameter options
14
14
  */
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataProtectionClientOptionalParams);
@@ -25,7 +25,6 @@ export declare class DataProtectionClient extends coreClient.ServiceClient {
25
25
  dataProtectionOperations: DataProtectionOperations;
26
26
  backupPolicies: BackupPolicies;
27
27
  backupInstances: BackupInstances;
28
- backupInstancesExtensionRouting: BackupInstancesExtensionRouting;
29
28
  recoveryPoints: RecoveryPoints;
30
29
  jobs: Jobs;
31
30
  restorableTimeRanges: RestorableTimeRanges;
@@ -33,6 +32,5 @@ export declare class DataProtectionClient extends coreClient.ServiceClient {
33
32
  exportJobsOperationResult: ExportJobsOperationResult;
34
33
  deletedBackupInstances: DeletedBackupInstances;
35
34
  resourceGuards: ResourceGuards;
36
- dppResourceGuardProxy: DppResourceGuardProxy;
37
35
  }
38
36
  //# sourceMappingURL=dataProtectionClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataProtectionClient.d.ts","sourceRoot":"","sources":["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,EAAE,eAAe,CAAC;IACjC,cAAc,EAAE,cAAc,CAAC;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,UAAU,EAAE,UAAU,CAAC;IACvB,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,cAAc,EAAE,cAAc,CAAC;CAChC"}
@@ -8,12 +8,12 @@
8
8
  import { __awaiter } from "tslib";
9
9
  import * as coreClient from "@azure/core-client";
10
10
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { BackupVaultsImpl, OperationResultImpl, OperationStatusImpl, OperationStatusBackupVaultContextImpl, OperationStatusResourceGroupContextImpl, BackupVaultOperationResultsImpl, DataProtectionImpl, DataProtectionOperationsImpl, BackupPoliciesImpl, BackupInstancesImpl, BackupInstancesExtensionRoutingImpl, RecoveryPointsImpl, JobsImpl, RestorableTimeRangesImpl, ExportJobsImpl, ExportJobsOperationResultImpl, DeletedBackupInstancesImpl, ResourceGuardsImpl, DppResourceGuardProxyImpl } from "./operations";
11
+ import { BackupVaultsImpl, OperationResultImpl, OperationStatusImpl, OperationStatusBackupVaultContextImpl, OperationStatusResourceGroupContextImpl, BackupVaultOperationResultsImpl, DataProtectionImpl, DataProtectionOperationsImpl, BackupPoliciesImpl, BackupInstancesImpl, RecoveryPointsImpl, JobsImpl, RestorableTimeRangesImpl, ExportJobsImpl, ExportJobsOperationResultImpl, DeletedBackupInstancesImpl, ResourceGuardsImpl } from "./operations";
12
12
  export class DataProtectionClient extends coreClient.ServiceClient {
13
13
  /**
14
14
  * Initializes a new instance of the DataProtectionClient class.
15
15
  * @param credentials Subscription credentials which uniquely identify client subscription.
16
- * @param subscriptionId The subscription Id.
16
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
17
17
  * @param options The parameter options
18
18
  */
19
19
  constructor(credentials, subscriptionId, options) {
@@ -32,7 +32,7 @@ export class DataProtectionClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials
34
34
  };
35
- const packageDetails = `azsdk-js-arm-dataprotection/1.0.0-beta.1`;
35
+ const packageDetails = `azsdk-js-arm-dataprotection/1.0.0-beta.2`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -65,7 +65,7 @@ export class DataProtectionClient extends coreClient.ServiceClient {
65
65
  this.subscriptionId = subscriptionId;
66
66
  // Assigning values to Constant parameters
67
67
  this.$host = options.$host || "https://management.azure.com";
68
- this.apiVersion = options.apiVersion || "2022-11-01-preview";
68
+ this.apiVersion = options.apiVersion || "2023-01-01";
69
69
  this.backupVaults = new BackupVaultsImpl(this);
70
70
  this.operationResult = new OperationResultImpl(this);
71
71
  this.operationStatus = new OperationStatusImpl(this);
@@ -76,7 +76,6 @@ export class DataProtectionClient extends coreClient.ServiceClient {
76
76
  this.dataProtectionOperations = new DataProtectionOperationsImpl(this);
77
77
  this.backupPolicies = new BackupPoliciesImpl(this);
78
78
  this.backupInstances = new BackupInstancesImpl(this);
79
- this.backupInstancesExtensionRouting = new BackupInstancesExtensionRoutingImpl(this);
80
79
  this.recoveryPoints = new RecoveryPointsImpl(this);
81
80
  this.jobs = new JobsImpl(this);
82
81
  this.restorableTimeRanges = new RestorableTimeRangesImpl(this);
@@ -84,7 +83,6 @@ export class DataProtectionClient extends coreClient.ServiceClient {
84
83
  this.exportJobsOperationResult = new ExportJobsOperationResultImpl(this);
85
84
  this.deletedBackupInstances = new DeletedBackupInstancesImpl(this);
86
85
  this.resourceGuards = new ResourceGuardsImpl(this);
87
- this.dppResourceGuardProxy = new DppResourceGuardProxyImpl(this);
88
86
  this.addCustomApiVersionPolicy(options.apiVersion);
89
87
  }
90
88
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -1 +1 @@
1
- {"version":3,"file":"dataProt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rD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE;YACf,OAAO;SACR;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YACxB,WAAW,CACf,OAAwB,EACxB,IAAiB;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;wBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;6BACpC;iCAAM;gCACL,OAAO,IAAI,CAAC;6BACb;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAmBF"}
@@ -45,6 +45,8 @@ export interface BackupVault {
45
45
  * NOTE: This property will not be serialized. It can only be populated by the server.
46
46
  */
47
47
  readonly isVaultProtectedByResourceGuard?: boolean;
48
+ /** Feature Settings */
49
+ featureSettings?: FeatureSettings;
48
50
  }
49
51
  /** Monitoring Settings */
50
52
  export interface MonitoringSettings {
@@ -94,7 +96,32 @@ export interface StorageSetting {
94
96
  /** Gets or sets the type. */
95
97
  type?: StorageSettingTypes;
96
98
  }
97
- export interface DppTrackedResource {
99
+ /** Class containing feature settings of vault */
100
+ export interface FeatureSettings {
101
+ /** CrossSubscriptionRestore Settings */
102
+ crossSubscriptionRestoreSettings?: CrossSubscriptionRestoreSettings;
103
+ }
104
+ /** CrossSubscriptionRestore Settings */
105
+ export interface CrossSubscriptionRestoreSettings {
106
+ /** CrossSubscriptionRestore state */
107
+ state?: CrossSubscriptionRestoreState;
108
+ }
109
+ /** Identity details */
110
+ export interface DppIdentityDetails {
111
+ /**
112
+ * The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
+ */
115
+ readonly principalId?: string;
116
+ /**
117
+ * A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
+ */
120
+ readonly tenantId?: string;
121
+ /** The identityType which can be either SystemAssigned or None */
122
+ type?: string;
123
+ }
124
+ export interface DppBaseTrackedResource {
98
125
  /** Optional ETag. */
99
126
  eTag?: string;
100
127
  /**
@@ -102,8 +129,6 @@ export interface DppTrackedResource {
102
129
  * NOTE: This property will not be serialized. It can only be populated by the server.
103
130
  */
104
131
  readonly id?: string;
105
- /** Input Managed Identity Details */
106
- identity?: DppIdentityDetails;
107
132
  /** Resource location. */
108
133
  location?: string;
109
134
  /**
@@ -126,21 +151,6 @@ export interface DppTrackedResource {
126
151
  */
127
152
  readonly systemData?: SystemData;
128
153
  }
129
- /** Identity details */
130
- export interface DppIdentityDetails {
131
- /**
132
- * The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
133
- * NOTE: This property will not be serialized. It can only be populated by the server.
134
- */
135
- readonly principalId?: string;
136
- /**
137
- * A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
138
- * NOTE: This property will not be serialized. It can only be populated by the server.
139
- */
140
- readonly tenantId?: string;
141
- /** The identityType which can be either SystemAssigned or None */
142
- type?: string;
143
- }
144
154
  /** Metadata pertaining to creation and last modification of the resource. */
145
155
  export interface SystemData {
146
156
  /** The identity that created the resource. */
@@ -153,7 +163,7 @@ export interface SystemData {
153
163
  lastModifiedBy?: string;
154
164
  /** The type of identity that last modified the resource. */
155
165
  lastModifiedByType?: CreatedByType;
156
- /** The type of identity that last modified the resource. */
166
+ /** The timestamp of resource last modification (UTC) */
157
167
  lastModifiedAt?: Date;
158
168
  }
159
169
  /** ListResource */
@@ -248,6 +258,8 @@ export interface PatchBackupVaultInput {
248
258
  monitoringSettings?: MonitoringSettings;
249
259
  /** Security Settings */
250
260
  securitySettings?: SecuritySettings;
261
+ /** Feature Settings */
262
+ featureSettings?: FeatureSettings;
251
263
  }
252
264
  /** CheckNameAvailability Request */
253
265
  export interface CheckNameAvailabilityRequest {
@@ -803,7 +815,7 @@ export interface ResourceGuard {
803
815
  * Provisioning state of the BackupVault resource
804
816
  * NOTE: This property will not be serialized. It can only be populated by the server.
805
817
  */
806
- readonly provisioningState?: ResourceGuardProvisioningState;
818
+ readonly provisioningState?: ProvisioningState;
807
819
  /**
808
820
  * This flag indicates whether auto approval is allowed or not.
809
821
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -839,6 +851,13 @@ export interface DppTrackedResourceList {
839
851
  /** The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. */
840
852
  nextLink?: string;
841
853
  }
854
+ /** Patch Request content for Microsoft.DataProtection Resource Guard resources */
855
+ export interface PatchResourceGuardInput {
856
+ /** Resource Guard tags. */
857
+ tags?: {
858
+ [propertyName: string]: string;
859
+ };
860
+ }
842
861
  /** Base for all lists of V2 resources. */
843
862
  export interface DppBaseResourceList {
844
863
  /** List of Dpp resources. */
@@ -864,26 +883,6 @@ export interface DppBaseResource {
864
883
  */
865
884
  readonly type?: string;
866
885
  }
867
- export interface ResourceGuardProxyBase {
868
- resourceGuardResourceId?: string;
869
- resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
870
- lastUpdatedTime?: string;
871
- description?: string;
872
- }
873
- export interface ResourceGuardOperationDetail {
874
- vaultCriticalOperation?: string;
875
- defaultResourceRequest?: string;
876
- }
877
- /** Request body of unlock delete API. */
878
- export interface UnlockDeleteRequest {
879
- resourceGuardOperationRequests?: string[];
880
- resourceToBeDeleted?: string;
881
- }
882
- /** Response of Unlock Delete API. */
883
- export interface UnlockDeleteResponse {
884
- /** This is the time when unlock delete privileges will get expired. */
885
- unlockDeleteExpiryTime?: string;
886
- }
887
886
  /** Delete Option */
888
887
  export interface DeleteOption {
889
888
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1038,6 +1037,12 @@ export interface TargetDetails {
1038
1037
  restoreTargetLocationType: RestoreTargetLocationType;
1039
1038
  /** Url denoting the restore destination. It can point to container / file share etc */
1040
1039
  url: string;
1040
+ /**
1041
+ * Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share
1042
+ * This is optional if the target subscription can be identified with the URL field. If not
1043
+ * then this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states
1044
+ */
1045
+ targetResourceArmId?: string;
1041
1046
  }
1042
1047
  /** Tagging criteria */
1043
1048
  export interface TaggingCriteria {
@@ -1059,12 +1064,11 @@ export interface SecretStoreResource {
1059
1064
  /** Gets or sets value stored in secret store resource */
1060
1065
  value?: string;
1061
1066
  }
1062
- /** Backup Vault Resource */
1063
- export interface BackupVaultResource extends DppTrackedResource {
1064
- /** BackupVaultResource properties */
1065
- properties: BackupVault;
1067
+ export interface DppTrackedResource extends DppBaseTrackedResource {
1068
+ /** Input Managed Identity Details */
1069
+ identity?: DppIdentityDetails;
1066
1070
  }
1067
- export interface ResourceGuardResource extends DppTrackedResource {
1071
+ export interface ResourceGuardResource extends DppBaseTrackedResource {
1068
1072
  /** ResourceGuardResource properties */
1069
1073
  properties?: ResourceGuard;
1070
1074
  }
@@ -1098,11 +1102,6 @@ export interface DeletedBackupInstanceResourceList extends DppResourceList {
1098
1102
  /** List of resources. */
1099
1103
  value?: DeletedBackupInstanceResource[];
1100
1104
  }
1101
- /** List of ResourceGuardProxyBase resources */
1102
- export interface ResourceGuardProxyBaseResourceList extends DppResourceList {
1103
- /** List of resources. */
1104
- value?: ResourceGuardProxyBaseResource[];
1105
- }
1106
1105
  /** Operation Job Extended Info */
1107
1106
  export interface OperationJobExtendedInfo extends OperationExtendedInfo {
1108
1107
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1160,10 +1159,6 @@ export interface DeletedBackupInstanceResource extends DppResource {
1160
1159
  /** DeletedBackupInstanceResource properties */
1161
1160
  properties?: DeletedBackupInstance;
1162
1161
  }
1163
- export interface ResourceGuardProxyBaseResource extends DppResource {
1164
- /** ResourceGuardProxyBaseResource properties */
1165
- properties?: ResourceGuardProxyBase;
1166
- }
1167
1162
  /** Deleted Backup Instance */
1168
1163
  export interface DeletedBackupInstance extends BackupInstance {
1169
1164
  /**
@@ -1230,6 +1225,8 @@ export interface AzureBackupDiscreteRecoveryPoint extends AzureBackupRecoveryPoi
1230
1225
  recoveryPointType?: string;
1231
1226
  retentionTagName?: string;
1232
1227
  retentionTagVersion?: string;
1228
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
1229
+ readonly expiryTime?: Date;
1233
1230
  }
1234
1231
  /** Azure backup recoveryPoint based restore request */
1235
1232
  export interface AzureBackupRecoveryPointBasedRestoreRequest extends AzureBackupRestoreRequest {
@@ -1422,7 +1419,7 @@ export interface KubernetesClusterRestoreCriteria extends ItemLevelRestoreCriter
1422
1419
  excludedResourceTypes?: string[];
1423
1420
  /** Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. */
1424
1421
  labelSelectors?: string[];
1425
- /** Gets or sets the PV Restore Mode property. This property sets whether volumes needs to be restored. */
1422
+ /** Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored. */
1426
1423
  persistentVolumeRestoreMode?: PersistentVolumeRestoreMode;
1427
1424
  /** Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. */
1428
1425
  conflictPolicy?: ExistingResourcePolicy;
@@ -1431,6 +1428,11 @@ export interface KubernetesClusterRestoreCriteria extends ItemLevelRestoreCriter
1431
1428
  [propertyName: string]: string;
1432
1429
  };
1433
1430
  }
1431
+ /** Backup Vault Resource */
1432
+ export interface BackupVaultResource extends DppTrackedResource {
1433
+ /** BackupVaultResource properties */
1434
+ properties: BackupVault;
1435
+ }
1434
1436
  /** AzureBackup Restore with Rehydration Request */
1435
1437
  export interface AzureBackupRestoreWithRehydrationRequest extends AzureBackupRecoveryPointBasedRestoreRequest {
1436
1438
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1694,8 +1696,8 @@ export declare type ImmutabilityState = string;
1694
1696
  export declare enum KnownStorageSettingStoreTypes {
1695
1697
  /** ArchiveStore */
1696
1698
  ArchiveStore = "ArchiveStore",
1697
- /** SnapshotStore */
1698
- SnapshotStore = "SnapshotStore",
1699
+ /** OperationalStore */
1700
+ OperationalStore = "OperationalStore",
1699
1701
  /** VaultStore */
1700
1702
  VaultStore = "VaultStore"
1701
1703
  }
@@ -1705,7 +1707,7 @@ export declare enum KnownStorageSettingStoreTypes {
1705
1707
  * this enum contains the known values that the service supports.
1706
1708
  * ### Known values supported by the service
1707
1709
  * **ArchiveStore** \
1708
- * **SnapshotStore** \
1710
+ * **OperationalStore** \
1709
1711
  * **VaultStore**
1710
1712
  */
1711
1713
  export declare type StorageSettingStoreTypes = string;
@@ -1728,6 +1730,25 @@ export declare enum KnownStorageSettingTypes {
1728
1730
  * **ZoneRedundant**
1729
1731
  */
1730
1732
  export declare type StorageSettingTypes = string;
1733
+ /** Known values of {@link CrossSubscriptionRestoreState} that the service accepts. */
1734
+ export declare enum KnownCrossSubscriptionRestoreState {
1735
+ /** Disabled */
1736
+ Disabled = "Disabled",
1737
+ /** PermanentlyDisabled */
1738
+ PermanentlyDisabled = "PermanentlyDisabled",
1739
+ /** Enabled */
1740
+ Enabled = "Enabled"
1741
+ }
1742
+ /**
1743
+ * Defines values for CrossSubscriptionRestoreState. \
1744
+ * {@link KnownCrossSubscriptionRestoreState} can be used interchangeably with CrossSubscriptionRestoreState,
1745
+ * this enum contains the known values that the service supports.
1746
+ * ### Known values supported by the service
1747
+ * **Disabled** \
1748
+ * **PermanentlyDisabled** \
1749
+ * **Enabled**
1750
+ */
1751
+ export declare type CrossSubscriptionRestoreState = string;
1731
1752
  /** Known values of {@link CreatedByType} that the service accepts. */
1732
1753
  export declare enum KnownCreatedByType {
1733
1754
  /** User */
@@ -1897,6 +1918,8 @@ export declare enum KnownSourceDataStoreType {
1897
1918
  ArchiveStore = "ArchiveStore",
1898
1919
  /** SnapshotStore */
1899
1920
  SnapshotStore = "SnapshotStore",
1921
+ /** OperationalStore */
1922
+ OperationalStore = "OperationalStore",
1900
1923
  /** VaultStore */
1901
1924
  VaultStore = "VaultStore"
1902
1925
  }
@@ -1907,6 +1930,7 @@ export declare enum KnownSourceDataStoreType {
1907
1930
  * ### Known values supported by the service
1908
1931
  * **ArchiveStore** \
1909
1932
  * **SnapshotStore** \
1933
+ * **OperationalStore** \
1910
1934
  * **VaultStore**
1911
1935
  */
1912
1936
  export declare type SourceDataStoreType = string;
@@ -1945,31 +1969,6 @@ export declare enum KnownRestoreSourceDataStoreType {
1945
1969
  * **ArchiveStore**
1946
1970
  */
1947
1971
  export declare type RestoreSourceDataStoreType = string;
1948
- /** Known values of {@link ResourceGuardProvisioningState} that the service accepts. */
1949
- export declare enum KnownResourceGuardProvisioningState {
1950
- /** Failed */
1951
- Failed = "Failed",
1952
- /** Provisioning */
1953
- Provisioning = "Provisioning",
1954
- /** Succeeded */
1955
- Succeeded = "Succeeded",
1956
- /** Unknown */
1957
- Unknown = "Unknown",
1958
- /** Updating */
1959
- Updating = "Updating"
1960
- }
1961
- /**
1962
- * Defines values for ResourceGuardProvisioningState. \
1963
- * {@link KnownResourceGuardProvisioningState} can be used interchangeably with ResourceGuardProvisioningState,
1964
- * this enum contains the known values that the service supports.
1965
- * ### Known values supported by the service
1966
- * **Failed** \
1967
- * **Provisioning** \
1968
- * **Succeeded** \
1969
- * **Unknown** \
1970
- * **Updating**
1971
- */
1972
- export declare type ResourceGuardProvisioningState = string;
1973
1972
  /** Known values of {@link RehydrationStatus} that the service accepts. */
1974
1973
  export declare enum KnownRehydrationStatus {
1975
1974
  /** CreateINProgress */
@@ -2259,6 +2258,10 @@ export interface BackupVaultsCreateOrUpdateOptionalParams extends coreClient.Ope
2259
2258
  export declare type BackupVaultsCreateOrUpdateResponse = BackupVaultResource;
2260
2259
  /** Optional parameters. */
2261
2260
  export interface BackupVaultsDeleteOptionalParams extends coreClient.OperationOptions {
2261
+ /** Delay to wait until next poll, in milliseconds. */
2262
+ updateIntervalInMs?: number;
2263
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2264
+ resumeFrom?: string;
2262
2265
  }
2263
2266
  /** Optional parameters. */
2264
2267
  export interface BackupVaultsUpdateOptionalParams extends coreClient.OperationOptions {
@@ -2464,16 +2467,6 @@ export interface BackupInstancesListNextOptionalParams extends coreClient.Operat
2464
2467
  /** Contains response data for the listNext operation. */
2465
2468
  export declare type BackupInstancesListNextResponse = BackupInstanceResourceList;
2466
2469
  /** Optional parameters. */
2467
- export interface BackupInstancesExtensionRoutingListOptionalParams extends coreClient.OperationOptions {
2468
- }
2469
- /** Contains response data for the list operation. */
2470
- export declare type BackupInstancesExtensionRoutingListResponse = BackupInstanceResourceList;
2471
- /** Optional parameters. */
2472
- export interface BackupInstancesExtensionRoutingListNextOptionalParams extends coreClient.OperationOptions {
2473
- }
2474
- /** Contains response data for the listNext operation. */
2475
- export declare type BackupInstancesExtensionRoutingListNextResponse = BackupInstanceResourceList;
2476
- /** Optional parameters. */
2477
2470
  export interface RecoveryPointsListOptionalParams extends coreClient.OperationOptions {
2478
2471
  /** OData filter options. */
2479
2472
  filter?: string;
@@ -2677,34 +2670,6 @@ export interface ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextOptional
2677
2670
  /** Contains response data for the getUpdateProtectedItemRequestsObjectsNext operation. */
2678
2671
  export declare type ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextResponse = DppBaseResourceList;
2679
2672
  /** Optional parameters. */
2680
- export interface DppResourceGuardProxyListOptionalParams extends coreClient.OperationOptions {
2681
- }
2682
- /** Contains response data for the list operation. */
2683
- export declare type DppResourceGuardProxyListResponse = ResourceGuardProxyBaseResourceList;
2684
- /** Optional parameters. */
2685
- export interface DppResourceGuardProxyGetOptionalParams extends coreClient.OperationOptions {
2686
- }
2687
- /** Contains response data for the get operation. */
2688
- export declare type DppResourceGuardProxyGetResponse = ResourceGuardProxyBaseResource;
2689
- /** Optional parameters. */
2690
- export interface DppResourceGuardProxyPutOptionalParams extends coreClient.OperationOptions {
2691
- }
2692
- /** Contains response data for the put operation. */
2693
- export declare type DppResourceGuardProxyPutResponse = ResourceGuardProxyBaseResource;
2694
- /** Optional parameters. */
2695
- export interface DppResourceGuardProxyDeleteOptionalParams extends coreClient.OperationOptions {
2696
- }
2697
- /** Optional parameters. */
2698
- export interface DppResourceGuardProxyUnlockDeleteOptionalParams extends coreClient.OperationOptions {
2699
- }
2700
- /** Contains response data for the unlockDelete operation. */
2701
- export declare type DppResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
2702
- /** Optional parameters. */
2703
- export interface DppResourceGuardProxyListNextOptionalParams extends coreClient.OperationOptions {
2704
- }
2705
- /** Contains response data for the listNext operation. */
2706
- export declare type DppResourceGuardProxyListNextResponse = ResourceGuardProxyBaseResourceList;
2707
- /** Optional parameters. */
2708
2673
  export interface DataProtectionClientOptionalParams extends coreClient.ServiceClientOptions {
2709
2674
  /** server parameter */
2710
2675
  $host?: string;