@azure/arm-recoveryservicesbackup 10.0.0-alpha.20221214.1 → 10.0.0

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 (203) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/LICENSE +1 -1
  3. package/dist/index.js +615 -220
  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/backupEnginesGetSample.js +12 -4
  8. package/dist-esm/samples-dev/backupEnginesGetSample.js.map +1 -1
  9. package/dist-esm/samples-dev/backupEnginesListSample.js +12 -4
  10. package/dist-esm/samples-dev/backupEnginesListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/backupJobsListSample.js +22 -12
  12. package/dist-esm/samples-dev/backupJobsListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/backupOperationResultsGetSample.js +13 -4
  14. package/dist-esm/samples-dev/backupOperationResultsGetSample.js.map +1 -1
  15. package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +13 -4
  16. package/dist-esm/samples-dev/backupOperationStatusesGetSample.js.map +1 -1
  17. package/dist-esm/samples-dev/backupPoliciesListSample.js +22 -12
  18. package/dist-esm/samples-dev/backupPoliciesListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/backupProtectableItemsListSample.js +12 -4
  20. package/dist-esm/samples-dev/backupProtectableItemsListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/backupProtectedItemsListSample.js +12 -4
  22. package/dist-esm/samples-dev/backupProtectedItemsListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/backupProtectionContainersListSample.js +12 -4
  24. package/dist-esm/samples-dev/backupProtectionContainersListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/backupProtectionIntentListSample.js +12 -4
  26. package/dist-esm/samples-dev/backupProtectionIntentListSample.js.map +1 -1
  27. package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +12 -4
  28. package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js.map +1 -1
  29. package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +12 -4
  30. package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js.map +1 -1
  31. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +13 -4
  32. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js.map +1 -1
  33. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +13 -4
  34. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js.map +1 -1
  35. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +13 -4
  36. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +12 -4
  38. package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js.map +1 -1
  39. package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +12 -4
  40. package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js.map +1 -1
  41. package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +12 -4
  42. package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js.map +1 -1
  43. package/dist-esm/samples-dev/backupStatusGetSample.js +11 -3
  44. package/dist-esm/samples-dev/backupStatusGetSample.js.map +1 -1
  45. package/dist-esm/samples-dev/backupUsageSummariesListSample.js +17 -8
  46. package/dist-esm/samples-dev/backupUsageSummariesListSample.js.map +1 -1
  47. package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +12 -4
  48. package/dist-esm/samples-dev/backupWorkloadItemsListSample.js.map +1 -1
  49. package/dist-esm/samples-dev/backupsTriggerSample.js +12 -4
  50. package/dist-esm/samples-dev/backupsTriggerSample.js.map +1 -1
  51. package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +12 -4
  52. package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js.map +1 -1
  53. package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +12 -4
  54. package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js.map +1 -1
  55. package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +12 -4
  56. package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js.map +1 -1
  57. package/dist-esm/samples-dev/deletedProtectionContainersListSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/deletedProtectionContainersListSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +55 -0
  60. package/dist-esm/samples-dev/deletedProtectionContainersListSample.js.map +1 -0
  61. package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +12 -4
  62. package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js.map +1 -1
  63. package/dist-esm/samples-dev/featureSupportValidateSample.js +11 -3
  64. package/dist-esm/samples-dev/featureSupportValidateSample.js.map +1 -1
  65. package/dist-esm/samples-dev/getOperationStatusSample.js +12 -4
  66. package/dist-esm/samples-dev/getOperationStatusSample.js.map +1 -1
  67. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +13 -4
  68. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js.map +1 -1
  69. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +13 -4
  70. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js.map +1 -1
  71. package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +12 -4
  72. package/dist-esm/samples-dev/jobCancellationsTriggerSample.js.map +1 -1
  73. package/dist-esm/samples-dev/jobDetailsGetSample.js +12 -4
  74. package/dist-esm/samples-dev/jobDetailsGetSample.js.map +1 -1
  75. package/dist-esm/samples-dev/jobOperationResultsGetSample.js +12 -4
  76. package/dist-esm/samples-dev/jobOperationResultsGetSample.js.map +1 -1
  77. package/dist-esm/samples-dev/jobsExportSample.js +12 -4
  78. package/dist-esm/samples-dev/jobsExportSample.js.map +1 -1
  79. package/dist-esm/samples-dev/moveRecoveryPointSample.js +12 -4
  80. package/dist-esm/samples-dev/moveRecoveryPointSample.js.map +1 -1
  81. package/dist-esm/samples-dev/operationValidateSample.js +17 -8
  82. package/dist-esm/samples-dev/operationValidateSample.js.map +1 -1
  83. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  84. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  85. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +12 -4
  86. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -1
  87. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +12 -4
  88. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js.map +1 -1
  89. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +12 -4
  90. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js.map +1 -1
  91. package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +12 -4
  92. package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js.map +1 -1
  93. package/dist-esm/samples-dev/protectableContainersListSample.js +12 -4
  94. package/dist-esm/samples-dev/protectableContainersListSample.js.map +1 -1
  95. package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +12 -4
  96. package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js.map +1 -1
  97. package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +12 -4
  98. package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js.map +1 -1
  99. package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +17 -8
  100. package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/protectedItemsDeleteSample.js +13 -4
  102. package/dist-esm/samples-dev/protectedItemsDeleteSample.js.map +1 -1
  103. package/dist-esm/samples-dev/protectedItemsGetSample.js +19 -8
  104. package/dist-esm/samples-dev/protectedItemsGetSample.js.map +1 -1
  105. package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +12 -4
  106. package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js.map +1 -1
  107. package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +12 -4
  108. package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js.map +1 -1
  109. package/dist-esm/samples-dev/protectionContainersGetSample.js +12 -4
  110. package/dist-esm/samples-dev/protectionContainersGetSample.js.map +1 -1
  111. package/dist-esm/samples-dev/protectionContainersInquireSample.js +12 -4
  112. package/dist-esm/samples-dev/protectionContainersInquireSample.js.map +1 -1
  113. package/dist-esm/samples-dev/protectionContainersRefreshSample.js +12 -4
  114. package/dist-esm/samples-dev/protectionContainersRefreshSample.js.map +1 -1
  115. package/dist-esm/samples-dev/protectionContainersRegisterSample.js +12 -4
  116. package/dist-esm/samples-dev/protectionContainersRegisterSample.js.map +1 -1
  117. package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +12 -4
  118. package/dist-esm/samples-dev/protectionContainersUnregisterSample.js.map +1 -1
  119. package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +12 -4
  120. package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js.map +1 -1
  121. package/dist-esm/samples-dev/protectionIntentDeleteSample.js +12 -4
  122. package/dist-esm/samples-dev/protectionIntentDeleteSample.js.map +1 -1
  123. package/dist-esm/samples-dev/protectionIntentGetSample.js +12 -4
  124. package/dist-esm/samples-dev/protectionIntentGetSample.js.map +1 -1
  125. package/dist-esm/samples-dev/protectionIntentValidateSample.js +11 -3
  126. package/dist-esm/samples-dev/protectionIntentValidateSample.js.map +1 -1
  127. package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +42 -28
  128. package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js.map +1 -1
  129. package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +12 -4
  130. package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js.map +1 -1
  131. package/dist-esm/samples-dev/protectionPoliciesGetSample.js +17 -8
  132. package/dist-esm/samples-dev/protectionPoliciesGetSample.js.map +1 -1
  133. package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +12 -4
  134. package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js.map +1 -1
  135. package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +12 -4
  136. package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js.map +1 -1
  137. package/dist-esm/samples-dev/recoveryPointsGetSample.js +12 -4
  138. package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +1 -1
  139. package/dist-esm/samples-dev/recoveryPointsListSample.js +12 -4
  140. package/dist-esm/samples-dev/recoveryPointsListSample.js.map +1 -1
  141. package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +12 -4
  142. package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js.map +1 -1
  143. package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +13 -4
  144. package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js.map +1 -1
  145. package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +13 -4
  146. package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js.map +1 -1
  147. package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +13 -4
  148. package/dist-esm/samples-dev/resourceGuardProxyGetSample.js.map +1 -1
  149. package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +13 -6
  150. package/dist-esm/samples-dev/resourceGuardProxyPutSample.js.map +1 -1
  151. package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +13 -4
  152. package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js.map +1 -1
  153. package/dist-esm/samples-dev/restoresTriggerSample.js +37 -24
  154. package/dist-esm/samples-dev/restoresTriggerSample.js.map +1 -1
  155. package/dist-esm/samples-dev/securityPiNsGetSample.js +12 -4
  156. package/dist-esm/samples-dev/securityPiNsGetSample.js.map +1 -1
  157. package/dist-esm/samples-dev/validateOperationResultsGetSample.js +12 -4
  158. package/dist-esm/samples-dev/validateOperationResultsGetSample.js.map +1 -1
  159. package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +12 -4
  160. package/dist-esm/samples-dev/validateOperationStatusesGetSample.js.map +1 -1
  161. package/dist-esm/samples-dev/validateOperationTriggerSample.js +12 -4
  162. package/dist-esm/samples-dev/validateOperationTriggerSample.js.map +1 -1
  163. package/dist-esm/src/models/index.d.ts +317 -136
  164. package/dist-esm/src/models/index.d.ts.map +1 -1
  165. package/dist-esm/src/models/index.js +90 -54
  166. package/dist-esm/src/models/index.js.map +1 -1
  167. package/dist-esm/src/models/mappers.d.ts +8 -0
  168. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  169. package/dist-esm/src/models/mappers.js +209 -2
  170. package/dist-esm/src/models/mappers.js.map +1 -1
  171. package/dist-esm/src/models/parameters.js +1 -1
  172. package/dist-esm/src/operations/deletedProtectionContainers.d.ts +41 -0
  173. package/dist-esm/src/operations/deletedProtectionContainers.d.ts.map +1 -0
  174. package/dist-esm/src/operations/deletedProtectionContainers.js +151 -0
  175. package/dist-esm/src/operations/deletedProtectionContainers.js.map +1 -0
  176. package/dist-esm/src/operations/index.d.ts +1 -0
  177. package/dist-esm/src/operations/index.d.ts.map +1 -1
  178. package/dist-esm/src/operations/index.js +1 -0
  179. package/dist-esm/src/operations/index.js.map +1 -1
  180. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.d.ts +14 -0
  181. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  185. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  186. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  187. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  188. package/dist-esm/src/recoveryServicesBackupClient.d.ts +2 -1
  189. package/dist-esm/src/recoveryServicesBackupClient.d.ts.map +1 -1
  190. package/dist-esm/src/recoveryServicesBackupClient.js +3 -2
  191. package/dist-esm/src/recoveryServicesBackupClient.js.map +1 -1
  192. package/package.json +6 -5
  193. package/review/arm-recoveryservicesbackup.api.md +116 -22
  194. package/src/models/index.ts +353 -134
  195. package/src/models/mappers.ts +228 -2
  196. package/src/models/parameters.ts +1 -1
  197. package/src/operations/deletedProtectionContainers.ts +198 -0
  198. package/src/operations/index.ts +1 -0
  199. package/src/operationsInterfaces/deletedProtectionContainers.ts +30 -0
  200. package/src/operationsInterfaces/index.ts +1 -0
  201. package/src/recoveryServicesBackupClient.ts +7 -1
  202. package/types/arm-recoveryservicesbackup.d.ts +262 -56
  203. package/types/tsdoc-metadata.json +1 -1
@@ -10,19 +10,23 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
15
17
  call the GetItemOperationResult API.
16
18
  *
17
19
  * @summary Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
18
20
  call the GetItemOperationResult API.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
20
22
  */
21
23
  function getProtectedClassicVirtualMachineDetails() {
22
24
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
25
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
26
+ "00000000-0000-0000-0000-000000000000";
24
27
  const vaultName = "PySDKBackupTestRsVault";
25
- const resourceGroupName = "PythonSDKBackupTestRg";
28
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] ||
29
+ "PythonSDKBackupTestRg";
26
30
  const fabricName = "Azure";
27
31
  const containerName = "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1";
28
32
  const protectedItemName = "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1";
@@ -32,20 +36,21 @@ function getProtectedClassicVirtualMachineDetails() {
32
36
  console.log(result);
33
37
  });
34
38
  }
35
- getProtectedClassicVirtualMachineDetails().catch(console.error);
36
39
  /**
37
40
  * This sample demonstrates how to Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
38
41
  call the GetItemOperationResult API.
39
42
  *
40
43
  * @summary Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
41
44
  call the GetItemOperationResult API.
42
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
45
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
43
46
  */
44
47
  function getProtectedVirtualMachineDetails() {
45
48
  return __awaiter(this, void 0, void 0, function* () {
46
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
49
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
50
+ "00000000-0000-0000-0000-000000000000";
47
51
  const vaultName = "PySDKBackupTestRsVault";
48
- const resourceGroupName = "PythonSDKBackupTestRg";
52
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] ||
53
+ "PythonSDKBackupTestRg";
49
54
  const fabricName = "Azure";
50
55
  const containerName = "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1";
51
56
  const protectedItemName = "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1";
@@ -55,5 +60,11 @@ function getProtectedVirtualMachineDetails() {
55
60
  console.log(result);
56
61
  });
57
62
  }
58
- getProtectedVirtualMachineDetails().catch(console.error);
63
+ function main() {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ getProtectedClassicVirtualMachineDetails();
66
+ getProtectedVirtualMachineDetails();
67
+ });
68
+ }
69
+ main().catch(console.error);
59
70
  //# sourceMappingURL=protectedItemsGetSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectedItemsGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectedItemsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;GAOG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,wBAAwB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,oDAAoD,CAAC;QAC3E,MAAM,iBAAiB,GAAG,uCAAuC,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wCAAwC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAEhE;;;;;;;GAOG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,wBAAwB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,sDAAsD,CAAC;QAC7E,MAAM,iBAAiB,GAAG,yCAAyC,CAAC;QACpE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iCAAiC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectedItemsGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectedItemsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;;;GAOG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,wBAAwB,CAAC;QAC3C,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC;YACpD,uBAAuB,CAAC;QAC1B,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,oDAAoD,CAAC;QAC3E,MAAM,iBAAiB,GAAG,uCAAuC,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;;;GAOG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,wBAAwB,CAAC;QAC3C,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC;YACpD,uBAAuB,CAAC;QAC1B,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,sDAAsD,CAAC;QAC7E,MAAM,iBAAiB,GAAG,yCAAyC,CAAC;QACpE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;QAC3C,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,17 +10,20 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Fetches the result of any operation on the container.
15
17
  *
16
18
  * @summary Fetches the result of any operation on the container.
17
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json
18
20
  */
19
21
  function getAzureStorageProtectionContainerOperationResult() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const vaultName = "testvault";
23
- const resourceGroupName = "test-rg";
26
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "test-rg";
24
27
  const fabricName = "Azure";
25
28
  const containerName = "VMAppContainer;Compute;testRG;testSQL";
26
29
  const operationId = "00000000-0000-0000-0000-000000000000";
@@ -30,5 +33,10 @@ function getAzureStorageProtectionContainerOperationResult() {
30
33
  console.log(result);
31
34
  });
32
35
  }
33
- getAzureStorageProtectionContainerOperationResult().catch(console.error);
36
+ function main() {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ getAzureStorageProtectionContainerOperationResult();
39
+ });
40
+ }
41
+ main().catch(console.error);
34
42
  //# sourceMappingURL=protectionContainerOperationResultsGetSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainerOperationResultsGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainerOperationResultsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iDAAiD;;QAC9D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,uCAAuC,CAAC;QAC9D,MAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mCAAmC,CAAC,GAAG,CACjE,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iDAAiD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainerOperationResultsGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainerOperationResultsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iDAAiD;;QAC9D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,SAAS,CAAC;QACpE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,uCAAuC,CAAC;QAC9D,MAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mCAAmC,CAAC,GAAG,CACjE,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iDAAiD,EAAE,CAAC;IACtD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,17 +10,20 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Provides the result of the refresh operation triggered by the BeginRefresh operation.
15
17
  *
16
18
  * @summary Provides the result of the refresh operation triggered by the BeginRefresh operation.
17
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/RefreshContainers_OperationResults.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/Common/RefreshContainers_OperationResults.json
18
20
  */
19
21
  function azureVMDiscoveryOperationResult() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const vaultName = "NetSDKTestRsVault";
23
- const resourceGroupName = "SwaggerTestRg";
26
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "SwaggerTestRg";
24
27
  const fabricName = "Azure";
25
28
  const operationId = "00000000-0000-0000-0000-000000000000";
26
29
  const credential = new DefaultAzureCredential();
@@ -29,5 +32,10 @@ function azureVMDiscoveryOperationResult() {
29
32
  console.log(result);
30
33
  });
31
34
  }
32
- azureVMDiscoveryOperationResult().catch(console.error);
35
+ function main() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ azureVMDiscoveryOperationResult();
38
+ });
39
+ }
40
+ main().catch(console.error);
33
41
  //# sourceMappingURL=protectionContainerRefreshOperationResultsGetSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainerRefreshOperationResultsGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainerRefreshOperationResultsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,mBAAmB,CAAC;QACtC,MAAM,iBAAiB,GAAG,eAAe,CAAC;QAC1C,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0CAA0C,CAAC,GAAG,CACxE,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainerRefreshOperationResultsGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainerRefreshOperationResultsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,mBAAmB,CAAC;QACtC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,eAAe,CAAC;QAC1E,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0CAA0C,CAAC,GAAG,CACxE,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,17 +10,20 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Gets details of the specific container registered to your Recovery Services Vault.
15
17
  *
16
18
  * @summary Gets details of the specific container registered to your Recovery Services Vault.
17
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/ProtectionContainers_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureWorkload/ProtectionContainers_Get.json
18
20
  */
19
21
  function getProtectionContainerDetails() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const vaultName = "testVault";
23
- const resourceGroupName = "testRg";
26
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "testRg";
24
27
  const fabricName = "Azure";
25
28
  const containerName = "VMAppContainer;Compute;testRG;testSQL";
26
29
  const credential = new DefaultAzureCredential();
@@ -29,5 +32,10 @@ function getProtectionContainerDetails() {
29
32
  console.log(result);
30
33
  });
31
34
  }
32
- getProtectionContainerDetails().catch(console.error);
35
+ function main() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ getProtectionContainerDetails();
38
+ });
39
+ }
40
+ main().catch(console.error);
33
41
  //# sourceMappingURL=protectionContainersGetSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainersGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,uCAAuC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAClD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainersGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,QAAQ,CAAC;QACnE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,uCAAuC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAClD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,17 +10,20 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to This is an async operation and the results should be tracked using location header or Azure-async-url.
15
17
  *
16
18
  * @summary This is an async operation and the results should be tracked using location header or Azure-async-url.
17
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionContainers_Inquire.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureStorage/ProtectionContainers_Inquire.json
18
20
  */
19
21
  function inquireAzureStorageProtectionContainers() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const vaultName = "testvault";
23
- const resourceGroupName = "test-rg";
26
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "test-rg";
24
27
  const fabricName = "Azure";
25
28
  const containerName = "storagecontainer;Storage;test-rg;teststorage";
26
29
  const credential = new DefaultAzureCredential();
@@ -29,5 +32,10 @@ function inquireAzureStorageProtectionContainers() {
29
32
  console.log(result);
30
33
  });
31
34
  }
32
- inquireAzureStorageProtectionContainers().catch(console.error);
35
+ function main() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ inquireAzureStorageProtectionContainers();
38
+ });
39
+ }
40
+ main().catch(console.error);
33
41
  //# sourceMappingURL=protectionContainersInquireSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainersInquireSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersInquireSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,8CAA8C,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,OAAO,CACtD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainersInquireSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersInquireSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,SAAS,CAAC;QACpE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,8CAA8C,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,OAAO,CACtD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,19 +10,22 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an
15
17
  asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
16
18
  *
17
19
  * @summary Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an
18
20
  asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/RefreshContainers.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/Common/RefreshContainers.json
20
22
  */
21
23
  function triggerAzureVMDiscovery() {
22
24
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
25
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
26
+ "00000000-0000-0000-0000-000000000000";
24
27
  const vaultName = "NetSDKTestRsVault";
25
- const resourceGroupName = "SwaggerTestRg";
28
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "SwaggerTestRg";
26
29
  const fabricName = "Azure";
27
30
  const credential = new DefaultAzureCredential();
28
31
  const client = new RecoveryServicesBackupClient(credential, subscriptionId);
@@ -30,5 +33,10 @@ function triggerAzureVMDiscovery() {
30
33
  console.log(result);
31
34
  });
32
35
  }
33
- triggerAzureVMDiscovery().catch(console.error);
36
+ function main() {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ triggerAzureVMDiscovery();
39
+ });
40
+ }
41
+ main().catch(console.error);
34
42
  //# sourceMappingURL=protectionContainersRefreshSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainersRefreshSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersRefreshSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;GAOG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,mBAAmB,CAAC;QACtC,MAAM,iBAAiB,GAAG,eAAe,CAAC;QAC1C,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,OAAO,CACtD,SAAS,EACT,iBAAiB,EACjB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainersRefreshSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersRefreshSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;;;GAOG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,mBAAmB,CAAC;QACtC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,eAAe,CAAC;QAC1E,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,OAAO,CACtD,SAAS,EACT,iBAAiB,EACjB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Registers the container with Recovery Services vault.
15
17
  This is an asynchronous operation. To track the operation status, use location header to call get latest status of
@@ -18,13 +20,14 @@ the operation.
18
20
  * @summary Registers the container with Recovery Services vault.
19
21
  This is an asynchronous operation. To track the operation status, use location header to call get latest status of
20
22
  the operation.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionContainers_Register.json
23
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureStorage/ProtectionContainers_Register.json
22
24
  */
23
25
  function registerAzureStorageProtectionContainers() {
24
26
  return __awaiter(this, void 0, void 0, function* () {
25
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
27
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
28
+ "00000000-0000-0000-0000-000000000000";
26
29
  const vaultName = "swaggertestvault";
27
- const resourceGroupName = "SwaggerTestRg";
30
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "SwaggerTestRg";
28
31
  const fabricName = "Azure";
29
32
  const containerName = "StorageContainer;Storage;SwaggerTestRg;swaggertestsa";
30
33
  const parameters = {
@@ -42,5 +45,10 @@ function registerAzureStorageProtectionContainers() {
42
45
  console.log(result);
43
46
  });
44
47
  }
45
- registerAzureStorageProtectionContainers().catch(console.error);
48
+ function main() {
49
+ return __awaiter(this, void 0, void 0, function* () {
50
+ registerAzureStorageProtectionContainers();
51
+ });
52
+ }
53
+ main().catch(console.error);
46
54
  //# sourceMappingURL=protectionContainersRegisterSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainersRegisterSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersRegisterSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;;;GASG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,kBAAkB,CAAC;QACrC,MAAM,iBAAiB,GAAG,eAAe,CAAC;QAC1C,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,sDAAsD,CAAC;QAC7E,MAAM,UAAU,GAAgC;YAC9C,UAAU,EAAE;gBACV,yBAAyB,EAAE,SAAS;gBACpC,oBAAoB,EAAE,cAAc;gBACpC,aAAa,EAAE,kBAAkB;gBACjC,YAAY,EAAE,eAAe;gBAC7B,gBAAgB,EACd,4IAA4I;aAC/I;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,QAAQ,CACvD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wCAAwC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainersRegisterSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersRegisterSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;;;;;GASG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,kBAAkB,CAAC;QACrC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,eAAe,CAAC;QAC1E,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,sDAAsD,CAAC;QAC7E,MAAM,UAAU,GAAgC;YAC9C,UAAU,EAAE;gBACV,yBAAyB,EAAE,SAAS;gBACpC,oBAAoB,EAAE,cAAc;gBACpC,aAAa,EAAE,kBAAkB;gBACjC,YAAY,EAAE,eAAe;gBAC7B,gBAAgB,EACd,4IAA4I;aAC/I;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,QAAQ,CACvD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;IAC7C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,19 +10,22 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine
15
17
  whether the backend service has finished processing the request, call Get Container Operation Result API.
16
18
  *
17
19
  * @summary Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine
18
20
  whether the backend service has finished processing the request, call Get Container Operation Result API.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/ProtectionContainers_Unregister.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureWorkload/ProtectionContainers_Unregister.json
20
22
  */
21
23
  function unregisterProtectionContainer() {
22
24
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
25
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
26
+ "00000000-0000-0000-0000-000000000000";
24
27
  const vaultName = "testVault";
25
- const resourceGroupName = "testRg";
28
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "testRg";
26
29
  const fabricName = "Azure";
27
30
  const containerName = "storagecontainer;Storage;test-rg;teststorage";
28
31
  const credential = new DefaultAzureCredential();
@@ -31,5 +34,10 @@ function unregisterProtectionContainer() {
31
34
  console.log(result);
32
35
  });
33
36
  }
34
- unregisterProtectionContainer().catch(console.error);
37
+ function main() {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ unregisterProtectionContainer();
40
+ });
41
+ }
42
+ main().catch(console.error);
35
43
  //# sourceMappingURL=protectionContainersUnregisterSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionContainersUnregisterSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersUnregisterSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;GAOG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,8CAA8C,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,UAAU,CACzD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionContainersUnregisterSample.js","sourceRoot":"","sources":["../../samples-dev/protectionContainersUnregisterSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;;;GAOG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,QAAQ,CAAC;QACnE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,aAAa,GAAG,8CAA8C,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,UAAU,CACzD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,17 +10,20 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Create Intent for Enabling backup of an item. This is a synchronous operation.
15
17
  *
16
18
  * @summary Create Intent for Enabling backup of an item. This is a synchronous operation.
17
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
18
20
  */
19
21
  function createOrUpdateAzureVMProtectionIntent() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const vaultName = "myVault";
23
- const resourceGroupName = "myRG";
26
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "myRG";
24
27
  const fabricName = "Azure";
25
28
  const intentObjectName = "vm;iaasvmcontainerv2;chamsrgtest;chamscandel";
26
29
  const parameters = {
@@ -36,5 +39,10 @@ function createOrUpdateAzureVMProtectionIntent() {
36
39
  console.log(result);
37
40
  });
38
41
  }
39
- createOrUpdateAzureVMProtectionIntent().catch(console.error);
42
+ function main() {
43
+ return __awaiter(this, void 0, void 0, function* () {
44
+ createOrUpdateAzureVMProtectionIntent();
45
+ });
46
+ }
47
+ main().catch(console.error);
40
48
  //# sourceMappingURL=protectionIntentCreateOrUpdateSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionIntentCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,SAAS,CAAC;QAC5B,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,gBAAgB,GAAG,8CAA8C,CAAC;QACxE,MAAM,UAAU,GAA6B;YAC3C,UAAU,EAAE;gBACV,QAAQ,EACN,qJAAqJ;gBACvJ,wBAAwB,EAAE,mBAAmB;gBAC7C,gBAAgB,EACd,wIAAwI;aAC3I;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,cAAc,CACnE,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qCAAqC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionIntentCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,SAAS,CAAC;QAC5B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,MAAM,CAAC;QACjE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,gBAAgB,GAAG,8CAA8C,CAAC;QACxE,MAAM,UAAU,GAA6B;YAC3C,UAAU,EAAE;gBACV,QAAQ,EACN,qJAAqJ;gBACvJ,wBAAwB,EAAE,mBAAmB;gBAC7C,gBAAgB,EACd,wIAAwI;aAC3I;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,cAAc,CACnE,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qCAAqC,EAAE,CAAC;IAC1C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,17 +10,20 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Used to remove intent from an item
15
17
  *
16
18
  * @summary Used to remove intent from an item
17
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json
18
20
  */
19
21
  function deleteProtectionIntentFromItem() {
20
22
  return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
24
+ "00000000-0000-0000-0000-000000000000";
22
25
  const vaultName = "myVault";
23
- const resourceGroupName = "myRG";
26
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "myRG";
24
27
  const fabricName = "Azure";
25
28
  const intentObjectName = "249D9B07-D2EF-4202-AA64-65F35418564E";
26
29
  const credential = new DefaultAzureCredential();
@@ -29,5 +32,10 @@ function deleteProtectionIntentFromItem() {
29
32
  console.log(result);
30
33
  });
31
34
  }
32
- deleteProtectionIntentFromItem().catch(console.error);
35
+ function main() {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ deleteProtectionIntentFromItem();
38
+ });
39
+ }
40
+ main().catch(console.error);
33
41
  //# sourceMappingURL=protectionIntentDeleteSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionIntentDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,SAAS,CAAC;QAC5B,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAC3D,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionIntentDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,SAAS,CAAC;QAC5B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,MAAM,CAAC;QACjE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAC3D,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,19 +10,22 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,
15
17
  call the GetItemOperationResult API.
16
18
  *
17
19
  * @summary Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,
18
20
  call the GetItemOperationResult API.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/BackupProtectionIntent_Get.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureWorkload/BackupProtectionIntent_Get.json
20
22
  */
21
23
  function getProtectionIntentForAnItem() {
22
24
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
25
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
26
+ "00000000-0000-0000-0000-000000000000";
24
27
  const vaultName = "myVault";
25
- const resourceGroupName = "myRG";
28
+ const resourceGroupName = process.env["RECOVERYSERVICESBACKUP_RESOURCE_GROUP"] || "myRG";
26
29
  const fabricName = "Azure";
27
30
  const intentObjectName = "249D9B07-D2EF-4202-AA64-65F35418564E";
28
31
  const credential = new DefaultAzureCredential();
@@ -31,5 +34,10 @@ function getProtectionIntentForAnItem() {
31
34
  console.log(result);
32
35
  });
33
36
  }
34
- getProtectionIntentForAnItem().catch(console.error);
37
+ function main() {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ getProtectionIntentForAnItem();
40
+ });
41
+ }
42
+ main().catch(console.error);
35
43
  //# sourceMappingURL=protectionIntentGetSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionIntentGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;GAOG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,SAAS,CAAC;QAC5B,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,CACxD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionIntentGetSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;;;GAOG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,SAAS,CAAC;QAC5B,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,MAAM,CAAC;QACjE,MAAM,UAAU,GAAG,OAAO,CAAC;QAC3B,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,CACxD,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4BAA4B,EAAE,CAAC;IACjC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -10,6 +10,8 @@ import { __awaiter } from "tslib";
10
10
  // Licensed under the MIT License.
11
11
  import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
13
15
  /**
14
16
  * This sample demonstrates how to It will validate followings
15
17
  1. Vault capacity
@@ -20,11 +22,12 @@ import { DefaultAzureCredential } from "@azure/identity";
20
22
  1. Vault capacity
21
23
  2. VM is already protected
22
24
  3. Any VM related configuration passed in properties.
23
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionIntent_Validate.json
25
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/AzureIaasVm/ProtectionIntent_Validate.json
24
26
  */
25
27
  function validateEnableProtectionOnAzureVM() {
26
28
  return __awaiter(this, void 0, void 0, function* () {
27
- const subscriptionId = "00000000-0000-0000-0000-000000000000";
29
+ const subscriptionId = process.env["RECOVERYSERVICESBACKUP_SUBSCRIPTION_ID"] ||
30
+ "00000000-0000-0000-0000-000000000000";
28
31
  const azureRegion = "southeastasia";
29
32
  const parameters = {
30
33
  properties: "",
@@ -38,5 +41,10 @@ function validateEnableProtectionOnAzureVM() {
38
41
  console.log(result);
39
42
  });
40
43
  }
41
- validateEnableProtectionOnAzureVM().catch(console.error);
44
+ function main() {
45
+ return __awaiter(this, void 0, void 0, function* () {
46
+ validateEnableProtectionOnAzureVM();
47
+ });
48
+ }
49
+ main().catch(console.error);
42
50
  //# sourceMappingURL=protectionIntentValidateSample.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"protectionIntentValidateSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentValidateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,UAAU,GAAmC;YACjD,UAAU,EAAE,EAAE;YACd,UAAU,EACR,sIAAsI;YACxI,YAAY,EAAE,IAAI;YAClB,OAAO,EACL,6HAA6H;SAChI,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,QAAQ,CAC7D,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iCAAiC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"protectionIntentValidateSample.js","sourceRoot":"","sources":["../../samples-dev/protectionIntentValidateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;;;;;;;GAWG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,UAAU,GAAmC;YACjD,UAAU,EAAE,EAAE;YACd,UAAU,EACR,sIAAsI;YACxI,YAAY,EAAE,IAAI;YAClB,OAAO,EACL,6HAA6H;SAChI,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,QAAQ,CAC7D,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}