@azure/arm-recoveryservicesbackup 8.1.1 → 9.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 +29 -0
- package/dist/index.js +5 -5
- 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/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 +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 +2 -2
- package/dist-esm/src/models/mappers.d.ts +1 -1
- package/dist-esm/src/models/mappers.js +2 -2
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
- package/package.json +1 -1
- package/review/arm-recoveryservicesbackup.api.md +2 -2
- package/src/models/index.ts +2 -2
- package/src/models/mappers.ts +2 -2
- package/src/models/parameters.ts +1 -1
- package/src/recoveryServicesBackupClient.ts +2 -2
- package/types/arm-recoveryservicesbackup.d.ts +2 -2
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets details of the specific container registered to your Recovery Services Vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets details of the specific container registered to your Recovery Services Vault.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/ProtectionContainers_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getProtectionContainerDetails() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to This is an async operation and the results should be tracked using location header or Azure-async-url.
|
|
15
15
|
*
|
|
16
16
|
* @summary This is an async operation and the results should be tracked using location header or Azure-async-url.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionContainers_Inquire.json
|
|
18
18
|
*/
|
|
19
19
|
function inquireAzureStorageProtectionContainers() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ asynchronous operation. To know the status of the operation, call GetRefreshOper
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an
|
|
18
18
|
asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/RefreshContainers.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerAzureVMDiscovery() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ the operation.
|
|
|
18
18
|
* @summary Registers the container with Recovery Services vault.
|
|
19
19
|
This is an asynchronous operation. To track the operation status, use location header to call get latest status of
|
|
20
20
|
the operation.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionContainers_Register.json
|
|
22
22
|
*/
|
|
23
23
|
function registerAzureStorageProtectionContainers() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ whether the backend service has finished processing the request, call Get Contai
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine
|
|
18
18
|
whether the backend service has finished processing the request, call Get Container Operation Result API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/ProtectionContainers_Unregister.json
|
|
20
20
|
*/
|
|
21
21
|
function unregisterProtectionContainer() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function createOrUpdateAzureVMProtectionIntent() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Used to remove intent from an item
|
|
15
15
|
*
|
|
16
16
|
* @summary Used to remove intent from an item
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteProtectionIntentFromItem() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ call the GetItemOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,
|
|
18
18
|
call the GetItemOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/BackupProtectionIntent_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectionIntentForAnItem() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,7 +20,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
20
20
|
1. Vault capacity
|
|
21
21
|
2. VM is already protected
|
|
22
22
|
3. Any VM related configuration passed in properties.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionIntent_Validate.json
|
|
24
24
|
*/
|
|
25
25
|
function validateEnableProtectionOnAzureVM() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ using GetPolicyOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
18
18
|
using GetPolicyOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
|
|
20
20
|
*/
|
|
21
21
|
function createOrUpdateDailyAzureStorageProtectionPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -82,7 +82,7 @@ using GetPolicyOperationResult API.
|
|
|
82
82
|
*
|
|
83
83
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
84
84
|
using GetPolicyOperationResult API.
|
|
85
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
85
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/V2Policy/IaaS_v2_hourly.json
|
|
86
86
|
*/
|
|
87
87
|
function createOrUpdateEnhancedAzureVMProtectionPolicyWithHourlyBackup() {
|
|
88
88
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -153,7 +153,7 @@ using GetPolicyOperationResult API.
|
|
|
153
153
|
*
|
|
154
154
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
155
155
|
using GetPolicyOperationResult API.
|
|
156
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
156
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/V2Policy/IaaS_v2_daily.json
|
|
157
157
|
*/
|
|
158
158
|
function createOrUpdateEnhancedAzureVMProtectionPolicyWithDailyBackup() {
|
|
159
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -220,7 +220,7 @@ using GetPolicyOperationResult API.
|
|
|
220
220
|
*
|
|
221
221
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
222
222
|
using GetPolicyOperationResult API.
|
|
223
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
223
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
|
|
224
224
|
*/
|
|
225
225
|
function createOrUpdateFullAzureVMProtectionPolicy() {
|
|
226
226
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -280,7 +280,7 @@ using GetPolicyOperationResult API.
|
|
|
280
280
|
*
|
|
281
281
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
282
282
|
using GetPolicyOperationResult API.
|
|
283
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
283
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
|
|
284
284
|
*/
|
|
285
285
|
function createOrUpdateFullAzureWorkloadProtectionPolicy() {
|
|
286
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -370,7 +370,7 @@ using GetPolicyOperationResult API.
|
|
|
370
370
|
*
|
|
371
371
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
372
372
|
using GetPolicyOperationResult API.
|
|
373
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
373
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json
|
|
374
374
|
*/
|
|
375
375
|
function createOrUpdateHourlyAzureStorageProtectionPolicy() {
|
|
376
376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -440,7 +440,7 @@ using GetPolicyOperationResult API.
|
|
|
440
440
|
*
|
|
441
441
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
442
442
|
using GetPolicyOperationResult API.
|
|
443
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
443
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
|
|
444
444
|
*/
|
|
445
445
|
function createOrUpdateSimpleAzureVMProtectionPolicy() {
|
|
446
446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ operation can be fetched using GetProtectionPolicyOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the
|
|
18
18
|
operation can be fetched using GetProtectionPolicyOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteAzureVMProtectionPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ operation. Status of the operation can be fetched using GetPolicyOperationResult
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
18
18
|
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json
|
|
20
20
|
*/
|
|
21
21
|
function getAzureIaasVMEnhancedProtectionPolicyDetails() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -37,7 +37,7 @@ operation. Status of the operation can be fetched using GetPolicyOperationResult
|
|
|
37
37
|
*
|
|
38
38
|
* @summary Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
39
39
|
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
40
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
40
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionPolicies_Get.json
|
|
41
41
|
*/
|
|
42
42
|
function getAzureIaasVMProtectionPolicyDetails() {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Provides the result of an operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Provides the result of an operation.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getProtectionPolicyOperationResults() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ create jobs. This method returns the list of jobs associated with operation.
|
|
|
18
18
|
* @summary Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed
|
|
19
19
|
or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations
|
|
20
20
|
create jobs. This method returns the list of jobs associated with operation.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json
|
|
22
22
|
*/
|
|
23
23
|
function getProtectionPolicyOperationStatus() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ To know the status of the operation, call the GetProtectedItemOperationResult AP
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation.
|
|
18
18
|
To know the status of the operation, call the GetProtectedItemOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/RecoveryPoints_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getAzureVMRecoveryPointDetails() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists the backup copies for the backed up item.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists the backup copies for the backed up item.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/RecoveryPoints_List.json
|
|
18
18
|
*/
|
|
19
19
|
function getProtectedAzureVMRecoveryPoints() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists the recovery points recommended for move to another tier
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists the recovery points recommended for move to another tier
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/RecoveryPointsRecommendedForMove_List.json
|
|
18
18
|
*/
|
|
19
19
|
function getProtectedAzureVMRecoveryPointsRecommendedForMove() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List the ResourceGuardProxies under vault
|
|
15
15
|
*
|
|
16
16
|
* @summary List the ResourceGuardProxies under vault
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json
|
|
18
18
|
*/
|
|
19
19
|
function getVaultGuardProxies() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete ResourceGuardProxy under vault
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete ResourceGuardProxy under vault
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteResourceGuardProxy() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json
|
|
18
18
|
*/
|
|
19
19
|
function getResourceGuardProxy() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ Secures vault critical operations
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Add or Update ResourceGuardProxy under vault
|
|
18
18
|
Secures vault critical operations
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function createResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Secures delete ResourceGuardProxy operations.
|
|
15
15
|
*
|
|
16
16
|
* @summary Secures delete ResourceGuardProxy operations.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json
|
|
18
18
|
*/
|
|
19
19
|
function unlockDeleteResourceGuardProxy() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ GetProtectedItemOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
18
18
|
GetProtectedItemOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest.json
|
|
20
20
|
*/
|
|
21
21
|
function restoreDisksWithIaasVMRestoreRequest() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -57,7 +57,7 @@ GetProtectedItemOperationResult API.
|
|
|
57
57
|
*
|
|
58
58
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
59
59
|
GetProtectedItemOperationResult API.
|
|
60
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
60
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
|
|
61
61
|
*/
|
|
62
62
|
function restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() {
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -100,7 +100,7 @@ GetProtectedItemOperationResult API.
|
|
|
100
100
|
*
|
|
101
101
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
102
102
|
GetProtectedItemOperationResult API.
|
|
103
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
103
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreWithRehydrationRequest.json
|
|
104
104
|
*/
|
|
105
105
|
function restoreDisksWithIaasVMRestoreWithRehydrationRequest() {
|
|
106
106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -141,7 +141,7 @@ GetProtectedItemOperationResult API.
|
|
|
141
141
|
*
|
|
142
142
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
143
143
|
GetProtectedItemOperationResult API.
|
|
144
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
144
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest.json
|
|
145
145
|
*/
|
|
146
146
|
function restoreToNewAzureIaasVMWithIaasVMRestoreRequest() {
|
|
147
147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -183,7 +183,7 @@ GetProtectedItemOperationResult API.
|
|
|
183
183
|
*
|
|
184
184
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
185
185
|
GetProtectedItemOperationResult API.
|
|
186
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
186
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
|
|
187
187
|
*/
|
|
188
188
|
function restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() {
|
|
189
189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -227,7 +227,7 @@ GetProtectedItemOperationResult API.
|
|
|
227
227
|
*
|
|
228
228
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
229
229
|
GetProtectedItemOperationResult API.
|
|
230
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
230
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreWithRehydrationRequest.json
|
|
231
231
|
*/
|
|
232
232
|
function restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest() {
|
|
233
233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get the security PIN.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the security PIN.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/BackupSecurityPin_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getVaultSecurityPin() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Fetches the result of a triggered validate operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches the result of a triggered validate operation.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ValidateOperationResults.json
|
|
18
18
|
*/
|
|
19
19
|
function getOperationResultsOfValidateOperation() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ If operation has completed, this method returns the list of errors obtained whil
|
|
|
18
18
|
* @summary Fetches the status of a triggered validate operation. The status can be in progress, completed
|
|
19
19
|
or failed. You can refer to the OperationStatus enum for all the possible states of the operation.
|
|
20
20
|
If operation has completed, this method returns the list of errors obtained while validating the operation.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ValidateOperationStatus.json
|
|
22
22
|
*/
|
|
23
23
|
function getOperationStatusOfValidateOperation() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* 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.
|
|
15
15
|
*
|
|
16
16
|
* @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.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/TriggerValidateOperation_RestoreDisk.json
|
|
18
18
|
*/
|
|
19
19
|
function triggerValidateOperation() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -629,7 +629,7 @@ export interface ProtectableContainer {
|
|
|
629
629
|
/** Base class for container with backup items. Containers with specific workloads are derived from this class. */
|
|
630
630
|
export interface ProtectionContainer {
|
|
631
631
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
632
|
-
containerType: "DPMContainer" | "AzureBackupServerContainer" | "
|
|
632
|
+
containerType: "DPMContainer" | "AzureBackupServerContainer" | "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "AzureSqlContainer" | "StorageContainer" | "VMAppContainer" | "GenericContainer" | "Windows";
|
|
633
633
|
/** Friendly name of the container. */
|
|
634
634
|
friendlyName?: string;
|
|
635
635
|
/** Type of backup management for the container. */
|
|
@@ -2464,7 +2464,7 @@ export declare type DpmContainer = ProtectionContainer & {
|
|
|
2464
2464
|
/** IaaS VM workload-specific container. */
|
|
2465
2465
|
export declare type IaaSVMContainer = ProtectionContainer & {
|
|
2466
2466
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2467
|
-
containerType: "
|
|
2467
|
+
containerType: "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
|
|
2468
2468
|
/** Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. */
|
|
2469
2469
|
virtualMachineId?: string;
|
|
2470
2470
|
/** Specifies whether the container represents a Classic or an Azure Resource Manager VM. */
|
|
@@ -357,7 +357,7 @@ export declare let discriminators: {
|
|
|
357
357
|
"ProtectableContainer.StorageContainer": coreClient.CompositeMapper;
|
|
358
358
|
"ProtectableContainer.VMAppContainer": coreClient.CompositeMapper;
|
|
359
359
|
"ProtectionContainer.DPMContainer": coreClient.CompositeMapper;
|
|
360
|
-
"ProtectionContainer.
|
|
360
|
+
"ProtectionContainer.IaasVMContainer": coreClient.CompositeMapper;
|
|
361
361
|
"ProtectionContainer.AzureWorkloadContainer": coreClient.CompositeMapper;
|
|
362
362
|
"ProtectionContainer.AzureSqlContainer": coreClient.CompositeMapper;
|
|
363
363
|
"ProtectionContainer.StorageContainer": coreClient.CompositeMapper;
|
|
@@ -6999,7 +6999,7 @@ export const DpmContainer = {
|
|
|
6999
6999
|
}
|
|
7000
7000
|
};
|
|
7001
7001
|
export const IaaSVMContainer = {
|
|
7002
|
-
serializedName: "
|
|
7002
|
+
serializedName: "IaasVMContainer",
|
|
7003
7003
|
type: {
|
|
7004
7004
|
name: "Composite",
|
|
7005
7005
|
className: "IaaSVMContainer",
|
|
@@ -8227,7 +8227,7 @@ export let discriminators = {
|
|
|
8227
8227
|
"ProtectableContainer.StorageContainer": AzureStorageProtectableContainer,
|
|
8228
8228
|
"ProtectableContainer.VMAppContainer": AzureVMAppContainerProtectableContainer,
|
|
8229
8229
|
"ProtectionContainer.DPMContainer": DpmContainer,
|
|
8230
|
-
"ProtectionContainer.
|
|
8230
|
+
"ProtectionContainer.IaasVMContainer": IaaSVMContainer,
|
|
8231
8231
|
"ProtectionContainer.AzureWorkloadContainer": AzureWorkloadContainer,
|
|
8232
8232
|
"ProtectionContainer.AzureSqlContainer": AzureSqlContainer,
|
|
8233
8233
|
"ProtectionContainer.StorageContainer": AzureStorageContainer,
|
|
@@ -36,7 +36,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
36
36
|
requestContentType: "application/json; charset=utf-8",
|
|
37
37
|
credential: credentials
|
|
38
38
|
};
|
|
39
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/
|
|
39
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/9.0.0`;
|
|
40
40
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
41
41
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
42
42
|
: `${packageDetails}`;
|
|
@@ -67,7 +67,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
67
67
|
this.subscriptionId = subscriptionId;
|
|
68
68
|
// Assigning values to Constant parameters
|
|
69
69
|
this.$host = options.$host || "https://management.azure.com";
|
|
70
|
-
this.apiVersion = options.apiVersion || "
|
|
70
|
+
this.apiVersion = options.apiVersion || "2022-03-01";
|
|
71
71
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
72
72
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
73
73
|
this.backupStatus = new BackupStatusImpl(this);
|
package/package.json
CHANGED
|
@@ -1670,7 +1670,7 @@ export type IaasVMBackupRequest = BackupRequest & {
|
|
|
1670
1670
|
|
|
1671
1671
|
// @public
|
|
1672
1672
|
export type IaaSVMContainer = ProtectionContainer & {
|
|
1673
|
-
containerType: "
|
|
1673
|
+
containerType: "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
|
|
1674
1674
|
virtualMachineId?: string;
|
|
1675
1675
|
virtualMachineVersion?: string;
|
|
1676
1676
|
resourceGroup?: string;
|
|
@@ -3350,7 +3350,7 @@ export type ProtectedItemUnion = ProtectedItem | AzureFileshareProtectedItem | A
|
|
|
3350
3350
|
// @public
|
|
3351
3351
|
export interface ProtectionContainer {
|
|
3352
3352
|
backupManagementType?: BackupManagementType;
|
|
3353
|
-
containerType: "DPMContainer" | "AzureBackupServerContainer" | "
|
|
3353
|
+
containerType: "DPMContainer" | "AzureBackupServerContainer" | "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "AzureSqlContainer" | "StorageContainer" | "VMAppContainer" | "GenericContainer" | "Windows";
|
|
3354
3354
|
friendlyName?: string;
|
|
3355
3355
|
healthStatus?: string;
|
|
3356
3356
|
protectableObjectType?: string;
|
package/src/models/index.ts
CHANGED
|
@@ -889,7 +889,7 @@ export interface ProtectionContainer {
|
|
|
889
889
|
containerType:
|
|
890
890
|
| "DPMContainer"
|
|
891
891
|
| "AzureBackupServerContainer"
|
|
892
|
-
| "
|
|
892
|
+
| "IaasVMContainer"
|
|
893
893
|
| "Microsoft.ClassicCompute/virtualMachines"
|
|
894
894
|
| "Microsoft.Compute/virtualMachines"
|
|
895
895
|
| "AzureWorkloadContainer"
|
|
@@ -2933,7 +2933,7 @@ export type DpmContainer = ProtectionContainer & {
|
|
|
2933
2933
|
export type IaaSVMContainer = ProtectionContainer & {
|
|
2934
2934
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2935
2935
|
containerType:
|
|
2936
|
-
| "
|
|
2936
|
+
| "IaasVMContainer"
|
|
2937
2937
|
| "Microsoft.ClassicCompute/virtualMachines"
|
|
2938
2938
|
| "Microsoft.Compute/virtualMachines";
|
|
2939
2939
|
/** Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. */
|
package/src/models/mappers.ts
CHANGED
|
@@ -7625,7 +7625,7 @@ export const DpmContainer: coreClient.CompositeMapper = {
|
|
|
7625
7625
|
};
|
|
7626
7626
|
|
|
7627
7627
|
export const IaaSVMContainer: coreClient.CompositeMapper = {
|
|
7628
|
-
serializedName: "
|
|
7628
|
+
serializedName: "IaasVMContainer",
|
|
7629
7629
|
type: {
|
|
7630
7630
|
name: "Composite",
|
|
7631
7631
|
className: "IaaSVMContainer",
|
|
@@ -9141,7 +9141,7 @@ export let discriminators = {
|
|
|
9141
9141
|
"ProtectableContainer.StorageContainer": AzureStorageProtectableContainer,
|
|
9142
9142
|
"ProtectableContainer.VMAppContainer": AzureVMAppContainerProtectableContainer,
|
|
9143
9143
|
"ProtectionContainer.DPMContainer": DpmContainer,
|
|
9144
|
-
"ProtectionContainer.
|
|
9144
|
+
"ProtectionContainer.IaasVMContainer": IaaSVMContainer,
|
|
9145
9145
|
"ProtectionContainer.AzureWorkloadContainer": AzureWorkloadContainer,
|
|
9146
9146
|
"ProtectionContainer.AzureSqlContainer": AzureSqlContainer,
|
|
9147
9147
|
"ProtectionContainer.StorageContainer": AzureStorageContainer,
|
package/src/models/parameters.ts
CHANGED
|
@@ -62,7 +62,7 @@ export const $host: OperationURLParameter = {
|
|
|
62
62
|
export const apiVersion: OperationQueryParameter = {
|
|
63
63
|
parameterPath: "apiVersion",
|
|
64
64
|
mapper: {
|
|
65
|
-
defaultValue: "
|
|
65
|
+
defaultValue: "2022-03-01",
|
|
66
66
|
isConstant: true,
|
|
67
67
|
serializedName: "api-version",
|
|
68
68
|
type: {
|
|
@@ -157,7 +157,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
157
157
|
credential: credentials
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/
|
|
160
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/9.0.0`;
|
|
161
161
|
const userAgentPrefix =
|
|
162
162
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
163
163
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -204,7 +204,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
204
204
|
|
|
205
205
|
// Assigning values to Constant parameters
|
|
206
206
|
this.$host = options.$host || "https://management.azure.com";
|
|
207
|
-
this.apiVersion = options.apiVersion || "
|
|
207
|
+
this.apiVersion = options.apiVersion || "2022-03-01";
|
|
208
208
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(
|
|
209
209
|
this
|
|
210
210
|
);
|
|
@@ -2643,7 +2643,7 @@ export declare type IaasVMBackupRequest = BackupRequest & {
|
|
|
2643
2643
|
/** IaaS VM workload-specific container. */
|
|
2644
2644
|
export declare type IaaSVMContainer = ProtectionContainer & {
|
|
2645
2645
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2646
|
-
containerType: "
|
|
2646
|
+
containerType: "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
|
|
2647
2647
|
/** Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. */
|
|
2648
2648
|
virtualMachineId?: string;
|
|
2649
2649
|
/** Specifies whether the container represents a Classic or an Azure Resource Manager VM. */
|
|
@@ -4705,7 +4705,7 @@ export declare type ProtectedItemUnion = ProtectedItem | AzureFileshareProtected
|
|
|
4705
4705
|
/** Base class for container with backup items. Containers with specific workloads are derived from this class. */
|
|
4706
4706
|
export declare interface ProtectionContainer {
|
|
4707
4707
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
4708
|
-
containerType: "DPMContainer" | "AzureBackupServerContainer" | "
|
|
4708
|
+
containerType: "DPMContainer" | "AzureBackupServerContainer" | "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "AzureSqlContainer" | "StorageContainer" | "VMAppContainer" | "GenericContainer" | "Windows";
|
|
4709
4709
|
/** Friendly name of the container. */
|
|
4710
4710
|
friendlyName?: string;
|
|
4711
4711
|
/** Type of backup management for the container. */
|