@azure/arm-recoveryservicesbackup 10.1.1-alpha.20230823.1 → 11.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 (100) hide show
  1. package/CHANGELOG.md +24 -8
  2. package/dist/index.js +108 -38
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/backupEnginesGetSample.js +1 -1
  7. package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
  8. package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
  9. package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
  11. package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
  12. package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
  13. package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
  14. package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
  15. package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
  16. package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
  17. package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
  18. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
  19. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
  20. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
  21. package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
  22. package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
  23. package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
  24. package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
  25. package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
  26. package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
  27. package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
  28. package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
  29. package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
  30. package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
  31. package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
  32. package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
  33. package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
  34. package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
  35. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
  36. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
  37. package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
  38. package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
  39. package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
  40. package/dist-esm/samples-dev/jobsExportSample.js +1 -1
  41. package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
  42. package/dist-esm/samples-dev/operationValidateSample.js +2 -2
  43. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  44. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
  46. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +2 -1
  47. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js.map +1 -1
  48. package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +1 -1
  49. package/dist-esm/samples-dev/protectableContainersListSample.js +1 -1
  50. package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +1 -1
  51. package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +1 -1
  52. package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +2 -2
  53. package/dist-esm/samples-dev/protectedItemsDeleteSample.js +1 -1
  54. package/dist-esm/samples-dev/protectedItemsGetSample.js +2 -2
  55. package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +1 -1
  56. package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +1 -1
  57. package/dist-esm/samples-dev/protectionContainersGetSample.js +1 -1
  58. package/dist-esm/samples-dev/protectionContainersInquireSample.js +1 -1
  59. package/dist-esm/samples-dev/protectionContainersRefreshSample.js +1 -1
  60. package/dist-esm/samples-dev/protectionContainersRegisterSample.js +1 -1
  61. package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +1 -1
  62. package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +1 -1
  63. package/dist-esm/samples-dev/protectionIntentDeleteSample.js +1 -1
  64. package/dist-esm/samples-dev/protectionIntentGetSample.js +1 -1
  65. package/dist-esm/samples-dev/protectionIntentValidateSample.js +1 -1
  66. package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +7 -7
  67. package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +1 -1
  68. package/dist-esm/samples-dev/protectionPoliciesGetSample.js +2 -2
  69. package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +1 -1
  70. package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +1 -1
  71. package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
  72. package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
  73. package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +1 -1
  74. package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +1 -1
  75. package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +1 -1
  76. package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +1 -1
  77. package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +1 -1
  78. package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +1 -1
  79. package/dist-esm/samples-dev/restoresTriggerSample.js +6 -6
  80. package/dist-esm/samples-dev/securityPiNsGetSample.js +1 -1
  81. package/dist-esm/samples-dev/validateOperationResultsGetSample.js +1 -1
  82. package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
  83. package/dist-esm/samples-dev/validateOperationTriggerSample.js +1 -1
  84. package/dist-esm/src/models/index.d.ts +60 -21
  85. package/dist-esm/src/models/index.d.ts.map +1 -1
  86. package/dist-esm/src/models/index.js +12 -0
  87. package/dist-esm/src/models/index.js.map +1 -1
  88. package/dist-esm/src/models/mappers.d.ts +3 -3
  89. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  90. package/dist-esm/src/models/mappers.js +91 -33
  91. package/dist-esm/src/models/mappers.js.map +1 -1
  92. package/dist-esm/src/models/parameters.js +1 -1
  93. package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
  94. package/package.json +4 -4
  95. package/review/arm-recoveryservicesbackup.api.md +25 -7
  96. package/src/models/index.ts +63 -22
  97. package/src/models/mappers.ts +95 -34
  98. package/src/models/parameters.ts +1 -1
  99. package/src/recoveryServicesBackupClient.ts +2 -2
  100. package/types/arm-recoveryservicesbackup.d.ts +52 -11
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns backup management server registered to Recovery Services Vault.
17
17
  *
18
18
  * @summary Returns backup management server registered to Recovery Services Vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Dpm/BackupEngines_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Dpm/BackupEngines_Get.json
20
20
  */
21
21
  function getDpmOrAzureBackupServerOrLajollaBackupEngineDetails() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
17
17
  *
18
18
  * @summary Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Dpm/BackupEngines_List.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Dpm/BackupEngines_List.json
20
20
  */
21
21
  function listDpmOrAzureBackupServerOrLajollaBackupEngines() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Provides a pageable list of jobs.
17
17
  *
18
18
  * @summary Provides a pageable list of jobs.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ListJobs.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ListJobs.json
20
20
  */
21
21
  function listAllJobs() {
22
22
  var _a, e_1, _b, _c;
@@ -55,7 +55,7 @@ function listAllJobs() {
55
55
  * This sample demonstrates how to Provides a pageable list of jobs.
56
56
  *
57
57
  * @summary Provides a pageable list of jobs.
58
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ListJobsWithAllSupportedFilters.json
58
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ListJobsWithAllSupportedFilters.json
59
59
  */
60
60
  function listJobsWithFilters() {
61
61
  var _a, e_2, _b, _c;
@@ -96,7 +96,7 @@ function listJobsWithFilters() {
96
96
  * This sample demonstrates how to Provides a pageable list of jobs.
97
97
  *
98
98
  * @summary Provides a pageable list of jobs.
99
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
99
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
100
100
  */
101
101
  function listJobsWithTimeFilter() {
102
102
  var _a, e_3, _b, _c;
@@ -22,7 +22,7 @@ part of the Location header of the operation response.
22
22
  status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On
23
23
  successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is
24
24
  part of the Location header of the operation response.
25
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ProtectedItem_Delete_OperationResult.json
25
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ProtectedItem_Delete_OperationResult.json
26
26
  */
27
27
  function getResultForProtectedItemDeleteOperation() {
28
28
  return __awaiter(this, void 0, void 0, function* () {
@@ -20,7 +20,7 @@ create jobs. This method returns the list of jobs when the operation is complete
20
20
  * @summary Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed
21
21
  or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations
22
22
  create jobs. This method returns the list of jobs when the operation is complete.
23
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ProtectedItem_Delete_OperationStatus.json
23
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ProtectedItem_Delete_OperationStatus.json
24
24
  */
25
25
  function getProtectedItemDeleteOperationStatus() {
26
26
  return __awaiter(this, void 0, void 0, function* () {
@@ -18,7 +18,7 @@ scoped results.
18
18
  *
19
19
  * @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
20
20
  scoped results.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupPolicies_List.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupPolicies_List.json
22
22
  */
23
23
  function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM() {
24
24
  var _a, e_1, _b, _c;
@@ -61,7 +61,7 @@ scoped results.
61
61
  *
62
62
  * @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
63
63
  scoped results.
64
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/V2Policy/v2-List-Policies.json
64
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/V2Policy/v2-List-Policies.json
65
65
  */
66
66
  function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVMWithBothV1AndV2Policies() {
67
67
  var _a, e_2, _b, _c;
@@ -104,7 +104,7 @@ scoped results.
104
104
  *
105
105
  * @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
106
106
  scoped results.
107
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/BackupPolicies_List.json
107
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/BackupPolicies_List.json
108
108
  */
109
109
  function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload() {
110
110
  var _a, e_3, _b, _c;
@@ -18,7 +18,7 @@ pagination parameters.
18
18
  *
19
19
  * @summary Provides a pageable list of protectable objects within your subscription according to the query filter and the
20
20
  pagination parameters.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupProtectableItems_List.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupProtectableItems_List.json
22
22
  */
23
23
  function listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM() {
24
24
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Provides a pageable list of all items that are backed up within a vault.
17
17
  *
18
18
  * @summary Provides a pageable list of all items that are backed up within a vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupProtectedItems_List.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupProtectedItems_List.json
20
20
  */
21
21
  function listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the containers registered to Recovery Services Vault.
17
17
  *
18
18
  * @summary Lists the containers registered to Recovery Services Vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/ProtectionContainers_List.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectionContainers_List.json
20
20
  */
21
21
  function listBackupProtectionContainers() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Provides a pageable list of all intents that are present within a vault.
17
17
  *
18
18
  * @summary Provides a pageable list of all intents that are present within a vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/BackupProtectionIntent_List.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/BackupProtectionIntent_List.json
20
20
  */
21
21
  function listProtectionIntentWithBackupManagementTypeFilter() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches Vault Encryption config.
17
17
  *
18
18
  * @summary Fetches Vault Encryption config.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/BackupResourceEncryptionConfig_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/BackupResourceEncryptionConfig_Get.json
20
20
  */
21
21
  function getVaultEncryptionConfiguration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates Vault encryption config.
17
17
  *
18
18
  * @summary Updates Vault encryption config.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/BackupResourceEncryptionConfig_Put.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/BackupResourceEncryptionConfig_Put.json
20
20
  */
21
21
  function updateVaultEncryptionConfiguration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches resource storage config.
17
17
  *
18
18
  * @summary Fetches resource storage config.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupStorageConfig_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupStorageConfig_Get.json
20
20
  */
21
21
  function getVaultStorageConfiguration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates vault storage model type.
17
17
  *
18
18
  * @summary Updates vault storage model type.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupStorageConfig_Patch.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupStorageConfig_Patch.json
20
20
  */
21
21
  function updateVaultStorageConfiguration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates vault storage model type.
17
17
  *
18
18
  * @summary Updates vault storage model type.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupStorageConfig_Put.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupStorageConfig_Put.json
20
20
  */
21
21
  function updateVaultStorageConfiguration() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches resource vault config.
17
17
  *
18
18
  * @summary Fetches resource vault config.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupResourceVaultConfigs_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupResourceVaultConfigs_Get.json
20
20
  */
21
21
  function getVaultSecurityConfig() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates vault security config.
17
17
  *
18
18
  * @summary Updates vault security config.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupResourceVaultConfigs_Put.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupResourceVaultConfigs_Put.json
20
20
  */
21
21
  function updateVaultSecurityConfig() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates vault security config.
17
17
  *
18
18
  * @summary Updates vault security config.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupResourceVaultConfigs_Patch.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupResourceVaultConfigs_Patch.json
20
20
  */
21
21
  function updateVaultSecurityConfig() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the container backup status
17
17
  *
18
18
  * @summary Get the container backup status
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/GetBackupStatus.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/GetBackupStatus.json
20
20
  */
21
21
  function getAzureVirtualMachineBackupStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches the backup management usage summaries of the vault.
17
17
  *
18
18
  * @summary Fetches the backup management usage summaries of the vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json
20
20
  */
21
21
  function getProtectedContainersUsagesSummary() {
22
22
  var _a, e_1, _b, _c;
@@ -57,7 +57,7 @@ function getProtectedContainersUsagesSummary() {
57
57
  * This sample demonstrates how to Fetches the backup management usage summaries of the vault.
58
58
  *
59
59
  * @summary Fetches the backup management usage summaries of the vault.
60
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json
60
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json
61
61
  */
62
62
  function getProtectedItemsUsagesSummary() {
63
63
  var _a, e_2, _b, _c;
@@ -18,7 +18,7 @@ parameters.
18
18
  *
19
19
  * @summary Provides a pageable list of workload item of a specific container according to the query filter and the pagination
20
20
  parameters.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/BackupWorkloadItems_List.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/BackupWorkloadItems_List.json
22
22
  */
23
23
  function listWorkloadItemsInContainer() {
24
24
  var _a, e_1, _b, _c;
@@ -18,7 +18,7 @@ operation, call GetProtectedItemOperationResult API.
18
18
  *
19
19
  * @summary Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the
20
20
  operation, call GetProtectedItemOperationResult API.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/TriggerBackup_Post.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/TriggerBackup_Post.json
22
22
  */
23
23
  function triggerBackup() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches Operation Result for Prepare Data Move
17
17
  *
18
18
  * @summary Fetches Operation Result for Prepare Data Move
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/BackupDataMove/PrepareDataMoveOperationResult_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/BackupDataMove/PrepareDataMoveOperationResult_Get.json
20
20
  */
21
21
  function getOperationResultForPrepareDataMove() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Prepares source vault for Data Move operation
17
17
  *
18
18
  * @summary Prepares source vault for Data Move operation
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/BackupDataMove/PrepareDataMove_Post.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/BackupDataMove/PrepareDataMove_Post.json
20
20
  */
21
21
  function prepareDataMove() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Triggers Data Move Operation on target vault
17
17
  *
18
18
  * @summary Triggers Data Move Operation on target vault
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/BackupDataMove/TriggerDataMove_Post.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/BackupDataMove/TriggerDataMove_Post.json
20
20
  */
21
21
  function triggerDataMove() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the soft deleted containers registered to Recovery Services Vault.
17
17
  *
18
18
  * @summary Lists the soft deleted containers registered to Recovery Services Vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/SoftDeletedContainers_List.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/SoftDeletedContainers_List.json
20
20
  */
21
21
  function listBackupProtectionContainers() {
22
22
  var _a, e_1, _b, _c;
@@ -18,7 +18,7 @@ contains URL of a Blob and a SAS key to access the same. The blob contains expor
18
18
  *
19
19
  * @summary Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also
20
20
  contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ExportJobsOperationResult.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ExportJobsOperationResult.json
22
22
  */
23
23
  function exportJobsOperationResults() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to It will validate if given feature with resource properties is supported in service
17
17
  *
18
18
  * @summary It will validate if given feature with resource properties is supported in service
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupFeature_Validate.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupFeature_Validate.json
20
20
  */
21
21
  function checkAzureVMBackupFeatureSupport() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches operation status for data move operation on vault
17
17
  *
18
18
  * @summary Fetches operation status for data move operation on vault
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/BackupDataMove/BackupDataMoveOperationStatus_Get.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/BackupDataMove/BackupDataMoveOperationStatus_Get.json
20
20
  */
21
21
  function getOperationStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -20,7 +20,7 @@ provisioning, call GetProtectedItemOperationResult API.
20
20
  * @summary Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file
21
21
  explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of
22
22
  provisioning, call GetProtectedItemOperationResult API.
23
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/Provision_Ilr.json
23
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/Provision_Ilr.json
24
24
  */
25
25
  function provisionInstantItemLevelRecoveryForAzureVM() {
26
26
  return __awaiter(this, void 0, void 0, function* () {
@@ -18,7 +18,7 @@ displaying all recoverable files and folders. This is an asynchronous operation.
18
18
  *
19
19
  * @summary Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer
20
20
  displaying all recoverable files and folders. This is an asynchronous operation.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/Revoke_Ilr.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/Revoke_Ilr.json
22
22
  */
23
23
  function revokeInstantItemLevelRecoveryForAzureVM() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -18,7 +18,7 @@ GetCancelOperationResult API.
18
18
  *
19
19
  * @summary Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call
20
20
  GetCancelOperationResult API.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/TriggerCancelJob.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/TriggerCancelJob.json
22
22
  */
23
23
  function cancelJob() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets extended information associated with the job.
17
17
  *
18
18
  * @summary Gets extended information associated with the job.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/GetJobDetails.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/GetJobDetails.json
20
20
  */
21
21
  function getJobDetails() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches the result of any operation.
17
17
  *
18
18
  * @summary Fetches the result of any operation.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/CancelJobOperationResult.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/CancelJobOperationResult.json
20
20
  */
21
21
  function cancelJobOperationResult() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Triggers export of jobs specified by filters and returns an OperationID to track.
17
17
  *
18
18
  * @summary Triggers export of jobs specified by filters and returns an OperationID to track.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/TriggerExportJobs.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/TriggerExportJobs.json
20
20
  */
21
21
  function exportJobs() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Move recovery point from one datastore to another store.
17
17
  *
18
18
  * @summary Move recovery point from one datastore to another store.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/TriggerRecoveryPointMove_Post.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/TriggerRecoveryPointMove_Post.json
20
20
  */
21
21
  function triggerRpMoveOperation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Validate operation for specified backed up item. This is a synchronous operation.
17
17
  *
18
18
  * @summary Validate operation for specified backed up item. This is a synchronous operation.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk.json
20
20
  */
21
21
  function validateOperation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -52,7 +52,7 @@ function validateOperation() {
52
52
  * This sample demonstrates how to Validate operation for specified backed up item. This is a synchronous operation.
53
53
  *
54
54
  * @summary Validate operation for specified backed up item. This is a synchronous operation.
55
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk_IdentityBasedRestoreDetails.json
55
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk_IdentityBasedRestoreDetails.json
56
56
  */
57
57
  function validateOperationWithIdentityBasedRestoreDetails() {
58
58
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns the list of available operations.
17
17
  *
18
18
  * @summary Returns the list of available operations.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/ListOperations.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ListOperations.json
20
20
  */
21
21
  function listOperations() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete Private Endpoint requests. This call is made by Backup Admin.
17
17
  *
18
18
  * @summary Delete Private Endpoint requests. This call is made by Backup Admin.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/PrivateEndpointConnection/DeletePrivateEndpointConnection.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PrivateEndpointConnection/DeletePrivateEndpointConnection.json
20
20
  */
21
21
  function deletePrivateEndpointConnection() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get Private Endpoint Connection. This call is made by Backup Admin.
17
17
  *
18
18
  * @summary Get Private Endpoint Connection. This call is made by Backup Admin.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json
20
20
  */
21
21
  function getPrivateEndpointConnection() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
17
17
  *
18
18
  * @summary Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/PrivateEndpointConnection/PutPrivateEndpointConnection.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PrivateEndpointConnection/PutPrivateEndpointConnection.json
20
20
  */
21
21
  function updatePrivateEndpointConnection() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -27,6 +27,7 @@ function updatePrivateEndpointConnection() {
27
27
  const privateEndpointConnectionName = "gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b";
28
28
  const parameters = {
29
29
  properties: {
30
+ groupIds: ["AzureBackup_secondary"],
30
31
  privateEndpoint: {
31
32
  id: "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3"
32
33
  },
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnectionPutSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionPutSample.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,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,qBAAqB,CAAC;QACxC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,UAAU,CAAC;QACrE,MAAM,6BAA6B,GACjC,mDAAmD,CAAC;QACtD,MAAM,UAAU,GAAsC;YACpD,UAAU,EAAE;gBACV,eAAe,EAAE;oBACf,EAAE,EACA,wIAAwI;iBAC3I;gBACD,iCAAiC,EAAE;oBACjC,WAAW,EAAE,iCAAiC;oBAC9C,MAAM,EAAE,UAAU;iBACnB;gBACD,iBAAiB,EAAE,WAAW;aAC/B;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,mCAAmC,CAAC,eAAe,CAC7E,SAAS,EACT,iBAAiB,EACjB,6BAA6B,EAC7B,UAAU,CACX,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"}
1
+ {"version":3,"file":"privateEndpointConnectionPutSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionPutSample.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,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC;YACrD,sCAAsC,CAAC;QACzC,MAAM,SAAS,GAAG,qBAAqB,CAAC;QACxC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,IAAI,UAAU,CAAC;QACrE,MAAM,6BAA6B,GACjC,mDAAmD,CAAC;QACtD,MAAM,UAAU,GAAsC;YACpD,UAAU,EAAE;gBACV,QAAQ,EAAE,CAAC,uBAAuB,CAAC;gBACnC,eAAe,EAAE;oBACf,EAAE,EACA,wIAAwI;iBAC3I;gBACD,iCAAiC,EAAE;oBACjC,WAAW,EAAE,iCAAiC;oBAC9C,MAAM,EAAE,UAAU;iBACnB;gBACD,iBAAiB,EAAE,WAAW;aAC/B;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,mCAAmC,CAAC,eAAe,CAC7E,SAAS,EACT,iBAAiB,EACjB,6BAA6B,EAC7B,UAAU,CACX,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"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the operation status for a private endpoint connection.
17
17
  *
18
18
  * @summary Gets the operation status for a private endpoint connection.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnectionOperationStatus.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnectionOperationStatus.json
20
20
  */
21
21
  function getOperationStatus() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the containers that can be registered to Recovery Services Vault.
17
17
  *
18
18
  * @summary Lists the containers that can be registered to Recovery Services Vault.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/ProtectableContainers_List.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectableContainers_List.json
20
20
  */
21
21
  function listProtectableItemsWithBackupManagementTypeFilterAsAzureStorage() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Fetches the result of any operation on the backup item.
17
17
  *
18
18
  * @summary Fetches the result of any operation on the backup item.
19
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectedItemOperationResults.json
19
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectedItemOperationResults.json
20
20
  */
21
21
  function getOperationResultsOfProtectedVM() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -20,7 +20,7 @@ create jobs. This method returns the list of jobs associated with the operation.
20
20
  * @summary Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed
21
21
  or failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations
22
22
  create jobs. This method returns the list of jobs associated with the operation.
23
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json
23
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectedItemOperationStatus.json
24
24
  */
25
25
  function getOperationStatusOfProtectedVM() {
26
26
  return __awaiter(this, void 0, void 0, function* () {
@@ -18,7 +18,7 @@ asynchronous operation. To know the status of the operation, call the GetItemOpe
18
18
  *
19
19
  * @summary Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
20
20
  asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ConfigureProtection.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ConfigureProtection.json
22
22
  */
23
23
  function enableProtectionOnAzureIaasVM() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -48,7 +48,7 @@ asynchronous operation. To know the status of the operation, call the GetItemOpe
48
48
  *
49
49
  * @summary Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
50
50
  asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
51
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/StopProtection.json
51
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/StopProtection.json
52
52
  */
53
53
  function stopProtectionWithRetainDataOnAzureIaasVM() {
54
54
  return __awaiter(this, void 0, void 0, function* () {
@@ -18,7 +18,7 @@ request, call the GetItemOperationResult API.
18
18
  *
19
19
  * @summary Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the
20
20
  request, call the GetItemOperationResult API.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ProtectedItem_Delete.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ProtectedItem_Delete.json
22
22
  */
23
23
  function deleteProtectionFromAzureVirtualMachine() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -18,7 +18,7 @@ call the GetItemOperationResult API.
18
18
  *
19
19
  * @summary Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
20
20
  call the GetItemOperationResult API.
21
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
21
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
22
22
  */
23
23
  function getProtectedClassicVirtualMachineDetails() {
24
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -42,7 +42,7 @@ call the GetItemOperationResult API.
42
42
  *
43
43
  * @summary Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
44
44
  call the GetItemOperationResult API.
45
- * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
45
+ * x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
46
46
  */
47
47
  function getProtectedVirtualMachineDetails() {
48
48
  return __awaiter(this, void 0, void 0, function* () {