@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.
- package/CHANGELOG.md +24 -8
- package/dist/index.js +108 -38
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/backupEnginesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
- package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
- package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
- package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
- package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
- package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
- package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsExportSample.js +1 -1
- package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
- package/dist-esm/samples-dev/operationValidateSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +2 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/protectableContainersListSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/protectedItemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersInquireSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRefreshSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRegisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentValidateSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +1 -1
- package/dist-esm/samples-dev/restoresTriggerSample.js +6 -6
- package/dist-esm/samples-dev/securityPiNsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationTriggerSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +60 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +91 -33
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
- package/package.json +4 -4
- package/review/arm-recoveryservicesbackup.api.md +25 -7
- package/src/models/index.ts +63 -22
- package/src/models/mappers.ts +95 -34
- package/src/models/parameters.ts +1 -1
- package/src/recoveryServicesBackupClient.ts +2 -2
- package/types/arm-recoveryservicesbackup.d.ts +52 -11
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Fetches the result of any operation on the container.
|
|
17
17
|
*
|
|
18
18
|
* @summary Fetches the result of any operation on the container.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectionContainers_Inquire_Result.json
|
|
20
20
|
*/
|
|
21
21
|
function getAzureStorageProtectionContainerOperationResult() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Provides the result of the refresh operation triggered by the BeginRefresh operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Provides the result of the refresh operation triggered by the BeginRefresh operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/RefreshContainers_OperationResults.json
|
|
20
20
|
*/
|
|
21
21
|
function azureVMDiscoveryOperationResult() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets details of the specific container registered to your Recovery Services Vault.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets details of the specific container registered to your Recovery Services Vault.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/ProtectionContainers_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectionContainerDetails() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This is an async operation and the results should be tracked using location header or Azure-async-url.
|
|
17
17
|
*
|
|
18
18
|
* @summary This is an async operation and the results should be tracked using location header or Azure-async-url.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectionContainers_Inquire.json
|
|
20
20
|
*/
|
|
21
21
|
function inquireAzureStorageProtectionContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ asynchronous operation. To know the status of the operation, call GetRefreshOper
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an
|
|
20
20
|
asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/RefreshContainers.json
|
|
22
22
|
*/
|
|
23
23
|
function triggerAzureVMDiscovery() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,7 +20,7 @@ the operation.
|
|
|
20
20
|
* @summary Registers the container with Recovery Services vault.
|
|
21
21
|
This is an asynchronous operation. To track the operation status, use location header to call get latest status of
|
|
22
22
|
the operation.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectionContainers_Register.json
|
|
24
24
|
*/
|
|
25
25
|
function registerAzureStorageProtectionContainers() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ whether the backend service has finished processing the request, call Get Contai
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine
|
|
20
20
|
whether the backend service has finished processing the request, call Get Container Operation Result API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/ProtectionContainers_Unregister.json
|
|
22
22
|
*/
|
|
23
23
|
function unregisterProtectionContainer() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function createOrUpdateAzureVMProtectionIntent() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Used to remove intent from an item
|
|
17
17
|
*
|
|
18
18
|
* @summary Used to remove intent from an item
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteProtectionIntentFromItem() {
|
|
22
22
|
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 protection intent 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-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/BackupProtectionIntent_Get.json
|
|
22
22
|
*/
|
|
23
23
|
function getProtectionIntentForAnItem() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -22,7 +22,7 @@ dotenv.config();
|
|
|
22
22
|
1. Vault capacity
|
|
23
23
|
2. VM is already protected
|
|
24
24
|
3. Any VM related configuration passed in properties.
|
|
25
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
25
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionIntent_Validate.json
|
|
26
26
|
*/
|
|
27
27
|
function validateEnableProtectionOnAzureVM() {
|
|
28
28
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ using GetPolicyOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
20
20
|
using GetPolicyOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
|
|
22
22
|
*/
|
|
23
23
|
function createOrUpdateDailyAzureStorageProtectionPolicy() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -84,7 +84,7 @@ using GetPolicyOperationResult API.
|
|
|
84
84
|
*
|
|
85
85
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
86
86
|
using GetPolicyOperationResult API.
|
|
87
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
87
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/V2Policy/IaaS_v2_hourly.json
|
|
88
88
|
*/
|
|
89
89
|
function createOrUpdateEnhancedAzureVMProtectionPolicyWithHourlyBackup() {
|
|
90
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -155,7 +155,7 @@ using GetPolicyOperationResult API.
|
|
|
155
155
|
*
|
|
156
156
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
157
157
|
using GetPolicyOperationResult API.
|
|
158
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
158
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/V2Policy/IaaS_v2_daily.json
|
|
159
159
|
*/
|
|
160
160
|
function createOrUpdateEnhancedAzureVMProtectionPolicyWithDailyBackup() {
|
|
161
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +222,7 @@ using GetPolicyOperationResult API.
|
|
|
222
222
|
*
|
|
223
223
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
224
224
|
using GetPolicyOperationResult API.
|
|
225
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
225
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
|
|
226
226
|
*/
|
|
227
227
|
function createOrUpdateFullAzureVMProtectionPolicy() {
|
|
228
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -282,7 +282,7 @@ using GetPolicyOperationResult API.
|
|
|
282
282
|
*
|
|
283
283
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
284
284
|
using GetPolicyOperationResult API.
|
|
285
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
285
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
|
|
286
286
|
*/
|
|
287
287
|
function createOrUpdateFullAzureWorkloadProtectionPolicy() {
|
|
288
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -372,7 +372,7 @@ using GetPolicyOperationResult API.
|
|
|
372
372
|
*
|
|
373
373
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
374
374
|
using GetPolicyOperationResult API.
|
|
375
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
375
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json
|
|
376
376
|
*/
|
|
377
377
|
function createOrUpdateHourlyAzureStorageProtectionPolicy() {
|
|
378
378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -442,7 +442,7 @@ using GetPolicyOperationResult API.
|
|
|
442
442
|
*
|
|
443
443
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
444
444
|
using GetPolicyOperationResult API.
|
|
445
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
445
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
|
|
446
446
|
*/
|
|
447
447
|
function createOrUpdateSimpleAzureVMProtectionPolicy() {
|
|
448
448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ operation can be fetched using GetProtectionPolicyOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the
|
|
20
20
|
operation can be fetched using GetProtectionPolicyOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json
|
|
22
22
|
*/
|
|
23
23
|
function deleteAzureVMProtectionPolicy() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ operation. Status of the operation can be fetched using GetPolicyOperationResult
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
20
20
|
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json
|
|
22
22
|
*/
|
|
23
23
|
function getAzureIaasVMEnhancedProtectionPolicyDetails() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -39,7 +39,7 @@ operation. Status of the operation can be fetched using GetPolicyOperationResult
|
|
|
39
39
|
*
|
|
40
40
|
* @summary Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
41
41
|
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
42
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
42
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionPolicies_Get.json
|
|
43
43
|
*/
|
|
44
44
|
function getAzureIaasVMProtectionPolicyDetails() {
|
|
45
45
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Provides the result of an operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Provides the result of an operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectionPolicyOperationResults() {
|
|
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 operation.
|
|
|
20
20
|
* @summary Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed
|
|
21
21
|
or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations
|
|
22
22
|
create jobs. This method returns the list of jobs associated with operation.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json
|
|
24
24
|
*/
|
|
25
25
|
function getProtectionPolicyOperationStatus() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ To know the status of the operation, call the GetProtectedItemOperationResult AP
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation.
|
|
20
20
|
To know the status of the operation, call the GetProtectedItemOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/RecoveryPoints_Get.json
|
|
22
22
|
*/
|
|
23
23
|
function getAzureVMRecoveryPointDetails() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the backup copies for the backed up item.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the backup copies for the backed up item.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/RecoveryPoints_List.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectedAzureVMRecoveryPoints() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the recovery points recommended for move to another tier
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the recovery points recommended for move to another tier
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/RecoveryPointsRecommendedForMove_List.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectedAzureVMRecoveryPointsRecommendedForMove() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List the ResourceGuardProxies under vault
|
|
17
17
|
*
|
|
18
18
|
* @summary List the ResourceGuardProxies under vault
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function getVaultGuardProxies() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete ResourceGuardProxy under vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete ResourceGuardProxy under vault
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function getResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ Secures vault critical operations
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Add or Update ResourceGuardProxy under vault
|
|
20
20
|
Secures vault critical operations
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json
|
|
22
22
|
*/
|
|
23
23
|
function createResourceGuardProxy() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Secures delete ResourceGuardProxy operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Secures delete ResourceGuardProxy operations.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function unlockDeleteResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ GetProtectedItemOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
20
20
|
GetProtectedItemOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest.json
|
|
22
22
|
*/
|
|
23
23
|
function restoreDisksWithIaasVMRestoreRequest() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -63,7 +63,7 @@ GetProtectedItemOperationResult API.
|
|
|
63
63
|
*
|
|
64
64
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
65
65
|
GetProtectedItemOperationResult API.
|
|
66
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
66
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
|
|
67
67
|
*/
|
|
68
68
|
function restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -106,7 +106,7 @@ GetProtectedItemOperationResult API.
|
|
|
106
106
|
*
|
|
107
107
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
108
108
|
GetProtectedItemOperationResult API.
|
|
109
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
109
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreWithRehydrationRequest.json
|
|
110
110
|
*/
|
|
111
111
|
function restoreDisksWithIaasVMRestoreWithRehydrationRequest() {
|
|
112
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -147,7 +147,7 @@ GetProtectedItemOperationResult API.
|
|
|
147
147
|
*
|
|
148
148
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
149
149
|
GetProtectedItemOperationResult API.
|
|
150
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
150
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest.json
|
|
151
151
|
*/
|
|
152
152
|
function restoreToNewAzureIaasVMWithIaasVMRestoreRequest() {
|
|
153
153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -189,7 +189,7 @@ GetProtectedItemOperationResult API.
|
|
|
189
189
|
*
|
|
190
190
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
191
191
|
GetProtectedItemOperationResult API.
|
|
192
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
192
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
|
|
193
193
|
*/
|
|
194
194
|
function restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() {
|
|
195
195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -233,7 +233,7 @@ GetProtectedItemOperationResult API.
|
|
|
233
233
|
*
|
|
234
234
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
235
235
|
GetProtectedItemOperationResult API.
|
|
236
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
236
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreWithRehydrationRequest.json
|
|
237
237
|
*/
|
|
238
238
|
function restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest() {
|
|
239
239
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the security PIN.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the security PIN.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/BackupSecurityPin_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getVaultSecurityPin() {
|
|
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 a triggered validate operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Fetches the result of a triggered validate operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ValidateOperationResults.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationResultsOfValidateOperation() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,7 +20,7 @@ If operation has completed, this method returns the list of errors obtained whil
|
|
|
20
20
|
* @summary Fetches the status of a triggered validate operation. 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.
|
|
22
22
|
If operation has completed, this method returns the list of errors obtained while validating the operation.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/ValidateOperationStatus.json
|
|
24
24
|
*/
|
|
25
25
|
function getOperationStatusOfValidateOperation() {
|
|
26
26
|
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 in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.
|
|
17
17
|
*
|
|
18
18
|
* @summary Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/TriggerValidateOperation_RestoreDisk.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerValidateOperation() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -31,7 +31,7 @@ export type IaaSVMContainerUnion = IaaSVMContainer | AzureIaaSClassicComputeVMCo
|
|
|
31
31
|
export type AzureWorkloadContainerUnion = AzureWorkloadContainer | AzureSqlagWorkloadContainerProtectionContainer | AzureVMAppContainerProtectionContainer;
|
|
32
32
|
export type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWorkloadSAPAseDatabaseWorkloadItem | AzureVmWorkloadSAPAseSystemWorkloadItem | AzureVmWorkloadSAPHanaDatabaseWorkloadItem | AzureVmWorkloadSAPHanaSystemWorkloadItem | AzureVmWorkloadSQLDatabaseWorkloadItem | AzureVmWorkloadSQLInstanceWorkloadItem;
|
|
33
33
|
export type IaaSVMProtectableItemUnion = IaaSVMProtectableItem | AzureIaaSClassicComputeVMProtectableItem | AzureIaaSComputeVMProtectableItem;
|
|
34
|
-
export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance |
|
|
34
|
+
export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance | AzureVmWorkloadSAPHanaHSRProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;
|
|
35
35
|
export type AzureWorkloadAutoProtectionIntentUnion = AzureWorkloadAutoProtectionIntent | AzureWorkloadSQLAutoProtectionIntent;
|
|
36
36
|
export type AzureWorkloadPointInTimeRecoveryPointUnion = AzureWorkloadPointInTimeRecoveryPoint | AzureWorkloadSAPHanaPointInTimeRecoveryPoint;
|
|
37
37
|
export type AzureWorkloadSQLRecoveryPointUnion = AzureWorkloadSQLRecoveryPoint | AzureWorkloadSQLPointInTimeRecoveryPoint;
|
|
@@ -308,9 +308,11 @@ export interface BackupResourceVaultConfig {
|
|
|
308
308
|
enhancedSecurityState?: EnhancedSecurityState;
|
|
309
309
|
/** Soft Delete feature state */
|
|
310
310
|
softDeleteFeatureState?: SoftDeleteFeatureState;
|
|
311
|
+
/** Soft delete retention period in days */
|
|
312
|
+
softDeleteRetentionPeriodInDays?: number;
|
|
311
313
|
/** ResourceGuard Operation Requests */
|
|
312
314
|
resourceGuardOperationRequests?: string[];
|
|
313
|
-
/**
|
|
315
|
+
/** This flag is no longer in use. Please use 'softDeleteFeatureState' to set the soft delete state for the vault */
|
|
314
316
|
isSoftDeleteFeatureStateEditable?: boolean;
|
|
315
317
|
}
|
|
316
318
|
export interface BackupResourceEncryptionConfig {
|
|
@@ -329,6 +331,8 @@ export interface PrivateEndpointConnection {
|
|
|
329
331
|
provisioningState?: ProvisioningState;
|
|
330
332
|
/** Gets or sets private endpoint associated with the private endpoint connection */
|
|
331
333
|
privateEndpoint?: PrivateEndpoint;
|
|
334
|
+
/** Group Ids for the Private Endpoint */
|
|
335
|
+
groupIds?: VaultSubResourceType[];
|
|
332
336
|
/** Gets or sets private link service connection state */
|
|
333
337
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
334
338
|
}
|
|
@@ -344,7 +348,7 @@ export interface PrivateLinkServiceConnectionState {
|
|
|
344
348
|
/** Gets or sets description */
|
|
345
349
|
description?: string;
|
|
346
350
|
/** Gets or sets actions required */
|
|
347
|
-
|
|
351
|
+
actionsRequired?: string;
|
|
348
352
|
}
|
|
349
353
|
/** An error response from the Container Instance service. */
|
|
350
354
|
export interface CloudError {
|
|
@@ -487,7 +491,7 @@ export interface ProtectedItem {
|
|
|
487
491
|
/** Name of the policy used for protection */
|
|
488
492
|
policyName?: string;
|
|
489
493
|
/** Soft delete retention period in days */
|
|
490
|
-
|
|
494
|
+
softDeleteRetentionPeriodInDays?: number;
|
|
491
495
|
}
|
|
492
496
|
/** Base class for backup copies. Workload-specific backup copies are derived from this class. */
|
|
493
497
|
export interface RecoveryPoint {
|
|
@@ -675,7 +679,7 @@ export interface ILRRequest {
|
|
|
675
679
|
/** Base class for backup item. Workload-specific backup items are derived from this class. */
|
|
676
680
|
export interface WorkloadProtectableItem {
|
|
677
681
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
678
|
-
protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "
|
|
682
|
+
protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
|
|
679
683
|
/** Type of backup management to backup an item. */
|
|
680
684
|
backupManagementType?: string;
|
|
681
685
|
/** Type of workload for the backup management */
|
|
@@ -1019,6 +1023,20 @@ export interface AzureVmWorkloadProtectedItemExtendedInfo {
|
|
|
1019
1023
|
/** Indicates consistency of policy object and policy applied to this backup item. */
|
|
1020
1024
|
recoveryModel?: string;
|
|
1021
1025
|
}
|
|
1026
|
+
/** This is used to represent the various nodes of the distributed container. */
|
|
1027
|
+
export interface DistributedNodesInfo {
|
|
1028
|
+
/** Name of the node under a distributed container. */
|
|
1029
|
+
nodeName?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* Status of this Node.
|
|
1032
|
+
* Failed | Succeeded
|
|
1033
|
+
*/
|
|
1034
|
+
status?: string;
|
|
1035
|
+
/** Error Details if the Status is non-success. */
|
|
1036
|
+
errorDetail?: ErrorDetail;
|
|
1037
|
+
/** ARM resource id of the node */
|
|
1038
|
+
sourceResourceId?: string;
|
|
1039
|
+
}
|
|
1022
1040
|
/** Azure storage specific error information */
|
|
1023
1041
|
export interface AzureWorkloadErrorInfo {
|
|
1024
1042
|
/** Error code. */
|
|
@@ -1543,18 +1561,11 @@ export interface InquiryValidation {
|
|
|
1543
1561
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1544
1562
|
*/
|
|
1545
1563
|
readonly additionalDetail?: string;
|
|
1546
|
-
}
|
|
1547
|
-
/** This is used to represent the various nodes of the distributed container. */
|
|
1548
|
-
export interface DistributedNodesInfo {
|
|
1549
|
-
/** Name of the node under a distributed container. */
|
|
1550
|
-
nodeName?: string;
|
|
1551
1564
|
/**
|
|
1552
|
-
*
|
|
1553
|
-
*
|
|
1565
|
+
* Dictionary to store the count of ProtectableItems with key POType.
|
|
1566
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1554
1567
|
*/
|
|
1555
|
-
|
|
1556
|
-
/** Error Details if the Status is non-success. */
|
|
1557
|
-
errorDetail?: ErrorDetail;
|
|
1568
|
+
readonly protectableItemCount?: Record<string, unknown>;
|
|
1558
1569
|
}
|
|
1559
1570
|
/** Pre-backup validation for Azure VM Workload provider. */
|
|
1560
1571
|
export interface PreBackupValidation {
|
|
@@ -2066,6 +2077,8 @@ export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
|
|
|
2066
2077
|
kpisHealths?: {
|
|
2067
2078
|
[propertyName: string]: KPIResourceHealthDetails;
|
|
2068
2079
|
};
|
|
2080
|
+
/** List of the nodes in case of distributed container. */
|
|
2081
|
+
nodesList?: DistributedNodesInfo[];
|
|
2069
2082
|
}
|
|
2070
2083
|
/** Additional information on Backup engine specific backup item. */
|
|
2071
2084
|
export interface DPMProtectedItem extends ProtectedItem {
|
|
@@ -2753,7 +2766,7 @@ export interface IaaSVMProtectableItem extends WorkloadProtectableItem {
|
|
|
2753
2766
|
/** Azure VM workload-specific protectable item. */
|
|
2754
2767
|
export interface AzureVmWorkloadProtectableItem extends WorkloadProtectableItem {
|
|
2755
2768
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2756
|
-
protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "
|
|
2769
|
+
protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
|
|
2757
2770
|
/** Name for instance or AG */
|
|
2758
2771
|
parentName?: string;
|
|
2759
2772
|
/**
|
|
@@ -2773,6 +2786,8 @@ export interface AzureVmWorkloadProtectableItem extends WorkloadProtectableItem
|
|
|
2773
2786
|
subprotectableitemcount?: number;
|
|
2774
2787
|
/** Pre-backup validation for protectable objects */
|
|
2775
2788
|
prebackupvalidation?: PreBackupValidation;
|
|
2789
|
+
/** Indicates if item is protectable */
|
|
2790
|
+
isProtectable?: boolean;
|
|
2776
2791
|
}
|
|
2777
2792
|
/** Azure IaaS VM workload-specific Health Details. */
|
|
2778
2793
|
export interface AzureIaaSVMHealthDetails extends ResourceHealthDetails {
|
|
@@ -3020,15 +3035,17 @@ export interface AzureVmWorkloadSAPHanaDBInstance extends AzureVmWorkloadProtect
|
|
|
3020
3035
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3021
3036
|
protectableItemType: "SAPHanaDBInstance";
|
|
3022
3037
|
}
|
|
3023
|
-
/** Azure VM workload-specific protectable item representing
|
|
3024
|
-
export interface
|
|
3038
|
+
/** Azure VM workload-specific protectable item representing HANA HSR. */
|
|
3039
|
+
export interface AzureVmWorkloadSAPHanaHSRProtectableItem extends AzureVmWorkloadProtectableItem {
|
|
3025
3040
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3026
|
-
protectableItemType: "
|
|
3041
|
+
protectableItemType: "HanaHSRContainer";
|
|
3027
3042
|
}
|
|
3028
3043
|
/** Azure VM workload-specific protectable item representing SQL Availability Group. */
|
|
3029
3044
|
export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem extends AzureVmWorkloadProtectableItem {
|
|
3030
3045
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3031
3046
|
protectableItemType: "SQLAvailabilityGroupContainer";
|
|
3047
|
+
/** List of the nodes in case of distributed container. */
|
|
3048
|
+
nodesList?: DistributedNodesInfo[];
|
|
3032
3049
|
}
|
|
3033
3050
|
/** Azure VM workload-specific protectable item representing SQL Database. */
|
|
3034
3051
|
export interface AzureVmWorkloadSQLDatabaseProtectableItem extends AzureVmWorkloadProtectableItem {
|
|
@@ -3445,7 +3462,9 @@ export declare enum KnownSoftDeleteFeatureState {
|
|
|
3445
3462
|
/** Enabled */
|
|
3446
3463
|
Enabled = "Enabled",
|
|
3447
3464
|
/** Disabled */
|
|
3448
|
-
Disabled = "Disabled"
|
|
3465
|
+
Disabled = "Disabled",
|
|
3466
|
+
/** AlwaysON */
|
|
3467
|
+
AlwaysON = "AlwaysON"
|
|
3449
3468
|
}
|
|
3450
3469
|
/**
|
|
3451
3470
|
* Defines values for SoftDeleteFeatureState. \
|
|
@@ -3454,7 +3473,8 @@ export declare enum KnownSoftDeleteFeatureState {
|
|
|
3454
3473
|
* ### Known values supported by the service
|
|
3455
3474
|
* **Invalid** \
|
|
3456
3475
|
* **Enabled** \
|
|
3457
|
-
* **Disabled**
|
|
3476
|
+
* **Disabled** \
|
|
3477
|
+
* **AlwaysON**
|
|
3458
3478
|
*/
|
|
3459
3479
|
export type SoftDeleteFeatureState = string;
|
|
3460
3480
|
/** Known values of {@link EncryptionAtRestType} that the service accepts. */
|
|
@@ -3551,6 +3571,25 @@ export declare enum KnownProvisioningState {
|
|
|
3551
3571
|
* **Pending**
|
|
3552
3572
|
*/
|
|
3553
3573
|
export type ProvisioningState = string;
|
|
3574
|
+
/** Known values of {@link VaultSubResourceType} that the service accepts. */
|
|
3575
|
+
export declare enum KnownVaultSubResourceType {
|
|
3576
|
+
/** AzureBackup */
|
|
3577
|
+
AzureBackup = "AzureBackup",
|
|
3578
|
+
/** AzureBackupSecondary */
|
|
3579
|
+
AzureBackupSecondary = "AzureBackup_secondary",
|
|
3580
|
+
/** AzureSiteRecovery */
|
|
3581
|
+
AzureSiteRecovery = "AzureSiteRecovery"
|
|
3582
|
+
}
|
|
3583
|
+
/**
|
|
3584
|
+
* Defines values for VaultSubResourceType. \
|
|
3585
|
+
* {@link KnownVaultSubResourceType} can be used interchangeably with VaultSubResourceType,
|
|
3586
|
+
* this enum contains the known values that the service supports.
|
|
3587
|
+
* ### Known values supported by the service
|
|
3588
|
+
* **AzureBackup** \
|
|
3589
|
+
* **AzureBackup_secondary** \
|
|
3590
|
+
* **AzureSiteRecovery**
|
|
3591
|
+
*/
|
|
3592
|
+
export type VaultSubResourceType = string;
|
|
3554
3593
|
/** Known values of {@link PrivateEndpointConnectionStatus} that the service accepts. */
|
|
3555
3594
|
export declare enum KnownPrivateEndpointConnectionStatus {
|
|
3556
3595
|
/** Pending */
|