@azure/arm-recoveryservicesbackup 8.2.0 → 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 +14 -0
- package/dist/index.js +12 -96
- 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 +22 -91
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +9 -17
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +0 -75
- 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 +1 -1
- package/review/arm-recoveryservicesbackup.api.md +0 -34
- package/src/models/index.ts +24 -92
- package/src/models/mappers.ts +0 -77
- package/src/models/parameters.ts +1 -1
- package/src/recoveryServicesBackupClient.ts +2 -2
- package/types/arm-recoveryservicesbackup.d.ts +2 -74
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns backup management server registered to Recovery Services Vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns backup management server registered to 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/Dpm/BackupEngines_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getDpmOrAzureBackupServerOrLajollaBackupEngineDetails() {
|
|
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 Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
|
|
15
15
|
*
|
|
16
16
|
* @summary Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
|
|
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/Dpm/BackupEngines_List.json
|
|
18
18
|
*/
|
|
19
19
|
function listDpmOrAzureBackupServerOrLajollaBackupEngines() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Provides a pageable list of jobs.
|
|
15
15
|
*
|
|
16
16
|
* @summary Provides a pageable list of jobs.
|
|
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/ListJobs.json
|
|
18
18
|
*/
|
|
19
19
|
function listAllJobs() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -46,7 +46,7 @@ listAllJobs().catch(console.error);
|
|
|
46
46
|
* This sample demonstrates how to Provides a pageable list of jobs.
|
|
47
47
|
*
|
|
48
48
|
* @summary Provides a pageable list of jobs.
|
|
49
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
49
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/ListJobsWithAllSupportedFilters.json
|
|
50
50
|
*/
|
|
51
51
|
function listJobsWithFilters() {
|
|
52
52
|
var e_2, _a;
|
|
@@ -80,7 +80,7 @@ listJobsWithFilters().catch(console.error);
|
|
|
80
80
|
* This sample demonstrates how to Provides a pageable list of jobs.
|
|
81
81
|
*
|
|
82
82
|
* @summary Provides a pageable list of jobs.
|
|
83
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
83
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
|
|
84
84
|
*/
|
|
85
85
|
function listJobsWithTimeFilter() {
|
|
86
86
|
var e_3, _a;
|
|
@@ -20,7 +20,7 @@ part of the Location header of the operation response.
|
|
|
20
20
|
status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On
|
|
21
21
|
successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is
|
|
22
22
|
part of the Location header of the operation response.
|
|
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/Common/ProtectedItem_Delete_OperationResult.json
|
|
24
24
|
*/
|
|
25
25
|
function getResultForProtectedItemDeleteOperation() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ create jobs. This method returns the list of jobs when the operation is complete
|
|
|
18
18
|
* @summary Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed
|
|
19
19
|
or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations
|
|
20
20
|
create jobs. This method returns the list of jobs when the operation is complete.
|
|
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/Common/ProtectedItem_Delete_OperationStatus.json
|
|
22
22
|
*/
|
|
23
23
|
function getProtectedItemDeleteOperationStatus() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ scoped results.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
|
|
18
18
|
scoped results.
|
|
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/BackupPolicies_List.json
|
|
20
20
|
*/
|
|
21
21
|
function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -52,7 +52,7 @@ scoped results.
|
|
|
52
52
|
*
|
|
53
53
|
* @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
|
|
54
54
|
scoped results.
|
|
55
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
55
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/V2Policy/v2-List-Policies.json
|
|
56
56
|
*/
|
|
57
57
|
function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVMWithBothV1AndV2Policies() {
|
|
58
58
|
var e_2, _a;
|
|
@@ -88,7 +88,7 @@ scoped results.
|
|
|
88
88
|
*
|
|
89
89
|
* @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
|
|
90
90
|
scoped results.
|
|
91
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
91
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureWorkload/BackupPolicies_List.json
|
|
92
92
|
*/
|
|
93
93
|
function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload() {
|
|
94
94
|
var e_3, _a;
|
|
@@ -16,7 +16,7 @@ pagination parameters.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Provides a pageable list of protectable objects within your subscription according to the query filter and the
|
|
18
18
|
pagination parameters.
|
|
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/BackupProtectableItems_List.json
|
|
20
20
|
*/
|
|
21
21
|
function listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Provides a pageable list of all items that are backed up within a vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Provides a pageable list of all items that are backed up within a 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/AzureIaasVm/BackupProtectedItems_List.json
|
|
18
18
|
*/
|
|
19
19
|
function listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists the containers registered to Recovery Services Vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists the containers registered to 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/AzureStorage/ProtectionContainers_List.json
|
|
18
18
|
*/
|
|
19
19
|
function listBackupProtectionContainers() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Provides a pageable list of all intents that are present within a vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Provides a pageable list of all intents that are present within a 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/BackupProtectionIntent_List.json
|
|
18
18
|
*/
|
|
19
19
|
function listProtectionIntentWithBackupManagementTypeFilter() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Fetches Vault Encryption config.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches Vault Encryption config.
|
|
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/BackupResourceEncryptionConfig_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getVaultEncryptionConfiguration() {
|
|
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 Updates Vault encryption config.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates Vault encryption config.
|
|
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/BackupResourceEncryptionConfig_Put.json
|
|
18
18
|
*/
|
|
19
19
|
function updateVaultEncryptionConfiguration() {
|
|
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 resource storage config.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches resource storage config.
|
|
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/BackupStorageConfig_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getVaultStorageConfiguration() {
|
|
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 Updates vault storage model type.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates vault storage model type.
|
|
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/BackupStorageConfig_Patch.json
|
|
18
18
|
*/
|
|
19
19
|
function updateVaultStorageConfiguration() {
|
|
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 Updates vault storage model type.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates vault storage model type.
|
|
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/BackupStorageConfig_Put.json
|
|
18
18
|
*/
|
|
19
19
|
function updateVaultStorageConfiguration() {
|
|
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 resource vault config.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches resource vault config.
|
|
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/BackupResourceVaultConfigs_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getVaultSecurityConfig() {
|
|
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 Updates vault security config.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates vault security config.
|
|
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/BackupResourceVaultConfigs_Put.json
|
|
18
18
|
*/
|
|
19
19
|
function updateVaultSecurityConfig() {
|
|
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 Updates vault security config.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates vault security config.
|
|
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/BackupResourceVaultConfigs_Patch.json
|
|
18
18
|
*/
|
|
19
19
|
function updateVaultSecurityConfig() {
|
|
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 Get the container backup status
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the container backup status
|
|
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/GetBackupStatus.json
|
|
18
18
|
*/
|
|
19
19
|
function getAzureVirtualMachineBackupStatus() {
|
|
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 backup management usage summaries of the vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches the backup management usage summaries of the 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/Common/BackupProtectionContainers_UsageSummary_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getProtectedContainersUsagesSummary() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -48,7 +48,7 @@ getProtectedContainersUsagesSummary().catch(console.error);
|
|
|
48
48
|
* This sample demonstrates how to Fetches the backup management usage summaries of the vault.
|
|
49
49
|
*
|
|
50
50
|
* @summary Fetches the backup management usage summaries of the vault.
|
|
51
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
51
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json
|
|
52
52
|
*/
|
|
53
53
|
function getProtectedItemsUsagesSummary() {
|
|
54
54
|
var e_2, _a;
|
|
@@ -16,7 +16,7 @@ parameters.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Provides a pageable list of workload item of a specific container according to the query filter and the pagination
|
|
18
18
|
parameters.
|
|
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/BackupWorkloadItems_List.json
|
|
20
20
|
*/
|
|
21
21
|
function listWorkloadItemsInContainer() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ operation, call GetProtectedItemOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the
|
|
18
18
|
operation, call 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/Common/TriggerBackup_Post.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerBackup() {
|
|
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 Fetches Operation Result for Prepare Data Move
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches Operation Result for Prepare Data Move
|
|
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/BackupDataMove/PrepareDataMoveOperationResult_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getOperationResultForPrepareDataMove() {
|
|
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 Prepares source vault for Data Move operation
|
|
15
15
|
*
|
|
16
16
|
* @summary Prepares source vault for Data Move 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/BackupDataMove/PrepareDataMove_Post.json
|
|
18
18
|
*/
|
|
19
19
|
function prepareDataMove() {
|
|
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 Triggers Data Move Operation on target vault
|
|
15
15
|
*
|
|
16
16
|
* @summary Triggers Data Move Operation on target 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/BackupDataMove/TriggerDataMove_Post.json
|
|
18
18
|
*/
|
|
19
19
|
function triggerDataMove() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ contains URL of a Blob and a SAS key to access the same. The blob contains expor
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also
|
|
18
18
|
contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.
|
|
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/ExportJobsOperationResult.json
|
|
20
20
|
*/
|
|
21
21
|
function exportJobsOperationResults() {
|
|
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 It will validate if given feature with resource properties is supported in service
|
|
15
15
|
*
|
|
16
16
|
* @summary It will validate if given feature with resource properties is supported in service
|
|
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/BackupFeature_Validate.json
|
|
18
18
|
*/
|
|
19
19
|
function checkAzureVMBackupFeatureSupport() {
|
|
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 operation status for data move operation on vault
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches operation status for data move operation on 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/BackupDataMove/BackupDataMoveOperationStatus_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function getOperationStatus() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ provisioning, call GetProtectedItemOperationResult API.
|
|
|
18
18
|
* @summary Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file
|
|
19
19
|
explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of
|
|
20
20
|
provisioning, call GetProtectedItemOperationResult API.
|
|
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/Provision_Ilr.json
|
|
22
22
|
*/
|
|
23
23
|
function provisionInstantItemLevelRecoveryForAzureVM() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ displaying all recoverable files and folders. This is an asynchronous operation.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer
|
|
18
18
|
displaying all recoverable files and folders. This is an asynchronous operation.
|
|
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/Revoke_Ilr.json
|
|
20
20
|
*/
|
|
21
21
|
function revokeInstantItemLevelRecoveryForAzureVM() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ GetCancelOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call
|
|
18
18
|
GetCancelOperationResult 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/TriggerCancelJob.json
|
|
20
20
|
*/
|
|
21
21
|
function cancelJob() {
|
|
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 Gets extended information associated with the job.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets extended information associated with the job.
|
|
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/GetJobDetails.json
|
|
18
18
|
*/
|
|
19
19
|
function getJobDetails() {
|
|
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 any operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches the result of any 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/Common/CancelJobOperationResult.json
|
|
18
18
|
*/
|
|
19
19
|
function cancelJobOperationResult() {
|
|
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 Triggers export of jobs specified by filters and returns an OperationID to track.
|
|
15
15
|
*
|
|
16
16
|
* @summary Triggers export of jobs specified by filters and returns an OperationID to track.
|
|
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/TriggerExportJobs.json
|
|
18
18
|
*/
|
|
19
19
|
function exportJobs() {
|
|
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 Move recovery point from one datastore to another store.
|
|
15
15
|
*
|
|
16
16
|
* @summary Move recovery point from one datastore to another store.
|
|
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/TriggerRecoveryPointMove_Post.json
|
|
18
18
|
*/
|
|
19
19
|
function triggerRpMoveOperation() {
|
|
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 Validate operation for specified backed up item. This is a synchronous operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Validate operation for specified backed up 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/ValidateOperation_RestoreDisk.json
|
|
18
18
|
*/
|
|
19
19
|
function validateOperation() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -50,7 +50,7 @@ validateOperation().catch(console.error);
|
|
|
50
50
|
* This sample demonstrates how to Validate operation for specified backed up item. This is a synchronous operation.
|
|
51
51
|
*
|
|
52
52
|
* @summary Validate operation for specified backed up item. This is a synchronous operation.
|
|
53
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
53
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/ValidateOperation_RestoreDisk_IdentityBasedRestoreDetails.json
|
|
54
54
|
*/
|
|
55
55
|
function validateOperationWithIdentityBasedRestoreDetails() {
|
|
56
56
|
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 the list of available operations.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns the list of available 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/ListOperations.json
|
|
18
18
|
*/
|
|
19
19
|
function listOperations() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete Private Endpoint requests. This call is made by Backup Admin.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete Private Endpoint requests. This call is made by Backup Admin.
|
|
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/PrivateEndpointConnection/DeletePrivateEndpointConnection.json
|
|
18
18
|
*/
|
|
19
19
|
function deletePrivateEndpointConnection() {
|
|
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 Get Private Endpoint Connection. This call is made by Backup Admin.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get Private Endpoint Connection. This call is made by Backup Admin.
|
|
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/PrivateEndpointConnection/GetPrivateEndpointConnection.json
|
|
18
18
|
*/
|
|
19
19
|
function getPrivateEndpointConnection() {
|
|
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 Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
|
|
15
15
|
*
|
|
16
16
|
* @summary Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
|
|
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/PrivateEndpointConnection/PutPrivateEndpointConnection.json
|
|
18
18
|
*/
|
|
19
19
|
function updatePrivateEndpointConnection() {
|
|
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 Gets the operation status for a private endpoint connection.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the operation status for a private endpoint connection.
|
|
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/PrivateEndpointConnection/GetPrivateEndpointConnectionOperationStatus.json
|
|
18
18
|
*/
|
|
19
19
|
function getOperationStatus() {
|
|
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 Lists the containers that can be registered to Recovery Services Vault.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists the containers that can be registered to 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/AzureStorage/ProtectableContainers_List.json
|
|
18
18
|
*/
|
|
19
19
|
function listProtectableItemsWithBackupManagementTypeFilterAsAzureStorage() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Fetches the result of any operation on the backup item.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches the result of any operation on the backup 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/ProtectedItemOperationResults.json
|
|
18
18
|
*/
|
|
19
19
|
function getOperationResultsOfProtectedVM() {
|
|
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 the operation.
|
|
|
18
18
|
* @summary Fetches the status of an operation such as triggering a backup, restore. 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. Some operations
|
|
20
20
|
create jobs. This method returns the list of jobs associated with 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/ProtectedItemOperationStatus.json
|
|
22
22
|
*/
|
|
23
23
|
function getOperationStatusOfProtectedVM() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ asynchronous operation. To know the status of the operation, call the GetItemOpe
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
|
|
18
18
|
asynchronous operation. To know the status of the operation, 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/AzureIaasVm/ConfigureProtection.json
|
|
20
20
|
*/
|
|
21
21
|
function enableProtectionOnAzureIaasVM() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -46,7 +46,7 @@ asynchronous operation. To know the status of the operation, call the GetItemOpe
|
|
|
46
46
|
*
|
|
47
47
|
* @summary Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
|
|
48
48
|
asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
|
|
49
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
49
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/StopProtection.json
|
|
50
50
|
*/
|
|
51
51
|
function stopProtectionWithRetainDataOnAzureIaasVM() {
|
|
52
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ request, call the GetItemOperationResult API.
|
|
|
16
16
|
*
|
|
17
17
|
* @summary Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the
|
|
18
18
|
request, 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/Common/ProtectedItem_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteProtectionFromAzureVirtualMachine() {
|
|
22
22
|
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 backed 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/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectedClassicVirtualMachineDetails() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -39,7 +39,7 @@ call the GetItemOperationResult API.
|
|
|
39
39
|
*
|
|
40
40
|
* @summary Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation,
|
|
41
41
|
call the GetItemOperationResult API.
|
|
42
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
42
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json
|
|
43
43
|
*/
|
|
44
44
|
function getProtectedVirtualMachineDetails() {
|
|
45
45
|
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 any operation on the container.
|
|
15
15
|
*
|
|
16
16
|
* @summary Fetches the result of any operation on the container.
|
|
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_Result.json
|
|
18
18
|
*/
|
|
19
19
|
function getAzureStorageProtectionContainerOperationResult() {
|
|
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 Provides the result of the refresh operation triggered by the BeginRefresh operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Provides the result of the refresh operation triggered by the BeginRefresh operation.
|
|
17
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/
|
|
17
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2022-03-01/examples/Common/RefreshContainers_OperationResults.json
|
|
18
18
|
*/
|
|
19
19
|
function azureVMDiscoveryOperationResult() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|