@azure/arm-recoveryservicesbackup 10.0.1-alpha.20230320.1 → 10.1.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 +17 -10
- package/dist/index.js +209 -78
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/backupEnginesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
- package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
- package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
- package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
- package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
- package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
- package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsExportSample.js +1 -1
- package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
- package/dist-esm/samples-dev/operationValidateSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +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 +11 -7
- package/dist-esm/samples-dev/restoresTriggerSample.js.map +1 -1
- 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/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +38 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +99 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +29 -16
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/protectionPolicies.d.ts +2 -2
- package/dist-esm/src/operations/protectionPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/protectionPolicies.js +10 -6
- package/dist-esm/src/operations/protectionPolicies.js.map +1 -1
- package/dist-esm/src/operations/restores.d.ts +2 -2
- package/dist-esm/src/operations/restores.d.ts.map +1 -1
- package/dist-esm/src/operations/restores.js +19 -15
- package/dist-esm/src/operations/restores.js.map +1 -1
- package/dist-esm/src/operations/validateOperation.d.ts +2 -2
- package/dist-esm/src/operations/validateOperation.d.ts.map +1 -1
- package/dist-esm/src/operations/validateOperation.js +10 -6
- package/dist-esm/src/operations/validateOperation.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/protectionPolicies.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/protectionPolicies.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/restores.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/restores.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/validateOperation.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/validateOperation.d.ts.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.d.ts +4 -4
- package/dist-esm/src/recoveryServicesBackupClient.d.ts.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +37 -25
- package/dist-esm/src/recoveryServicesBackupClient.js.map +1 -1
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.js +142 -0
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.js.map +1 -0
- package/package.json +6 -5
- package/review/arm-recoveryservicesbackup.api.md +37 -10
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +44 -0
- package/src/models/mappers.ts +107 -0
- package/src/models/parameters.ts +1 -1
- package/src/operations/privateEndpointConnectionOperations.ts +33 -21
- package/src/operations/protectionPolicies.ts +15 -11
- package/src/operations/restores.ts +15 -11
- package/src/operations/validateOperation.ts +15 -11
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +4 -4
- package/src/operationsInterfaces/protectionPolicies.ts +2 -2
- package/src/operationsInterfaces/restores.ts +2 -2
- package/src/operationsInterfaces/validateOperation.ts +2 -2
- package/src/recoveryServicesBackupClient.ts +35 -31
- package/types/arm-recoveryservicesbackup.d.ts +52 -10
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets details of the specific container registered to your Recovery Services Vault.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets details of the specific container registered to your Recovery Services Vault.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/ProtectionContainers_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectionContainerDetails() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This is an async operation and the results should be tracked using location header or Azure-async-url.
|
|
17
17
|
*
|
|
18
18
|
* @summary This is an async operation and the results should be tracked using location header or Azure-async-url.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/ProtectionContainers_Inquire.json
|
|
20
20
|
*/
|
|
21
21
|
function inquireAzureStorageProtectionContainers() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ asynchronous operation. To know the status of the operation, call GetRefreshOper
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an
|
|
20
20
|
asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/RefreshContainers.json
|
|
22
22
|
*/
|
|
23
23
|
function triggerAzureVMDiscovery() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,7 +20,7 @@ the operation.
|
|
|
20
20
|
* @summary Registers the container with Recovery Services vault.
|
|
21
21
|
This is an asynchronous operation. To track the operation status, use location header to call get latest status of
|
|
22
22
|
the operation.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/ProtectionContainers_Register.json
|
|
24
24
|
*/
|
|
25
25
|
function registerAzureStorageProtectionContainers() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ whether the backend service has finished processing the request, call Get Contai
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine
|
|
20
20
|
whether the backend service has finished processing the request, call Get Container Operation Result API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/ProtectionContainers_Unregister.json
|
|
22
22
|
*/
|
|
23
23
|
function unregisterProtectionContainer() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function createOrUpdateAzureVMProtectionIntent() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Used to remove intent from an item
|
|
17
17
|
*
|
|
18
18
|
* @summary Used to remove intent from an item
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteProtectionIntentFromItem() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ call the GetItemOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation,
|
|
20
20
|
call the GetItemOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/BackupProtectionIntent_Get.json
|
|
22
22
|
*/
|
|
23
23
|
function getProtectionIntentForAnItem() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -22,7 +22,7 @@ dotenv.config();
|
|
|
22
22
|
1. Vault capacity
|
|
23
23
|
2. VM is already protected
|
|
24
24
|
3. Any VM related configuration passed in properties.
|
|
25
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
25
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionIntent_Validate.json
|
|
26
26
|
*/
|
|
27
27
|
function validateEnableProtectionOnAzureVM() {
|
|
28
28
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ using GetPolicyOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
20
20
|
using GetPolicyOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
|
|
22
22
|
*/
|
|
23
23
|
function createOrUpdateDailyAzureStorageProtectionPolicy() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -84,7 +84,7 @@ using GetPolicyOperationResult API.
|
|
|
84
84
|
*
|
|
85
85
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
86
86
|
using GetPolicyOperationResult API.
|
|
87
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
87
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/V2Policy/IaaS_v2_hourly.json
|
|
88
88
|
*/
|
|
89
89
|
function createOrUpdateEnhancedAzureVMProtectionPolicyWithHourlyBackup() {
|
|
90
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -155,7 +155,7 @@ using GetPolicyOperationResult API.
|
|
|
155
155
|
*
|
|
156
156
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
157
157
|
using GetPolicyOperationResult API.
|
|
158
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
158
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/V2Policy/IaaS_v2_daily.json
|
|
159
159
|
*/
|
|
160
160
|
function createOrUpdateEnhancedAzureVMProtectionPolicyWithDailyBackup() {
|
|
161
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +222,7 @@ using GetPolicyOperationResult API.
|
|
|
222
222
|
*
|
|
223
223
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
224
224
|
using GetPolicyOperationResult API.
|
|
225
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
225
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
|
|
226
226
|
*/
|
|
227
227
|
function createOrUpdateFullAzureVMProtectionPolicy() {
|
|
228
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -282,7 +282,7 @@ using GetPolicyOperationResult API.
|
|
|
282
282
|
*
|
|
283
283
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
284
284
|
using GetPolicyOperationResult API.
|
|
285
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
285
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
|
|
286
286
|
*/
|
|
287
287
|
function createOrUpdateFullAzureWorkloadProtectionPolicy() {
|
|
288
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -372,7 +372,7 @@ using GetPolicyOperationResult API.
|
|
|
372
372
|
*
|
|
373
373
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
374
374
|
using GetPolicyOperationResult API.
|
|
375
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
375
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json
|
|
376
376
|
*/
|
|
377
377
|
function createOrUpdateHourlyAzureStorageProtectionPolicy() {
|
|
378
378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -442,7 +442,7 @@ using GetPolicyOperationResult API.
|
|
|
442
442
|
*
|
|
443
443
|
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
|
|
444
444
|
using GetPolicyOperationResult API.
|
|
445
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
445
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
|
|
446
446
|
*/
|
|
447
447
|
function createOrUpdateSimpleAzureVMProtectionPolicy() {
|
|
448
448
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ operation can be fetched using GetProtectionPolicyOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the
|
|
20
20
|
operation can be fetched using GetProtectionPolicyOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json
|
|
22
22
|
*/
|
|
23
23
|
function deleteAzureVMProtectionPolicy() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ operation. Status of the operation can be fetched using GetPolicyOperationResult
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
20
20
|
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json
|
|
22
22
|
*/
|
|
23
23
|
function getAzureIaasVMEnhancedProtectionPolicyDetails() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -39,7 +39,7 @@ operation. Status of the operation can be fetched using GetPolicyOperationResult
|
|
|
39
39
|
*
|
|
40
40
|
* @summary Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
|
|
41
41
|
operation. Status of the operation can be fetched using GetPolicyOperationResult API.
|
|
42
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
42
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionPolicies_Get.json
|
|
43
43
|
*/
|
|
44
44
|
function getAzureIaasVMProtectionPolicyDetails() {
|
|
45
45
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Provides the result of an operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Provides the result of an operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectionPolicyOperationResults() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,7 +20,7 @@ create jobs. This method returns the list of jobs associated with operation.
|
|
|
20
20
|
* @summary Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed
|
|
21
21
|
or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations
|
|
22
22
|
create jobs. This method returns the list of jobs associated with operation.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json
|
|
24
24
|
*/
|
|
25
25
|
function getProtectionPolicyOperationStatus() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ To know the status of the operation, call the GetProtectedItemOperationResult AP
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation.
|
|
20
20
|
To know the status of the operation, call the GetProtectedItemOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/RecoveryPoints_Get.json
|
|
22
22
|
*/
|
|
23
23
|
function getAzureVMRecoveryPointDetails() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the backup copies for the backed up item.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the backup copies for the backed up item.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/RecoveryPoints_List.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectedAzureVMRecoveryPoints() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists the recovery points recommended for move to another tier
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists the recovery points recommended for move to another tier
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/RecoveryPointsRecommendedForMove_List.json
|
|
20
20
|
*/
|
|
21
21
|
function getProtectedAzureVMRecoveryPointsRecommendedForMove() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List the ResourceGuardProxies under vault
|
|
17
17
|
*
|
|
18
18
|
* @summary List the ResourceGuardProxies under vault
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function getVaultGuardProxies() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete ResourceGuardProxy under vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete ResourceGuardProxy under vault
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns ResourceGuardProxy under vault and with the name referenced in request
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function getResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ Secures vault critical operations
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Add or Update ResourceGuardProxy under vault
|
|
20
20
|
Secures vault critical operations
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json
|
|
22
22
|
*/
|
|
23
23
|
function createResourceGuardProxy() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Secures delete ResourceGuardProxy operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Secures delete ResourceGuardProxy operations.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json
|
|
20
20
|
*/
|
|
21
21
|
function unlockDeleteResourceGuardProxy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ GetProtectedItemOperationResult API.
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
20
20
|
GetProtectedItemOperationResult API.
|
|
21
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
21
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest.json
|
|
22
22
|
*/
|
|
23
23
|
function restoreDisksWithIaasVMRestoreRequest() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -44,7 +44,11 @@ function restoreDisksWithIaasVMRestoreRequest() {
|
|
|
44
44
|
recoveryType: "RestoreDisks",
|
|
45
45
|
region: "southeastasia",
|
|
46
46
|
sourceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/netsdktestrg/providers/Microsoft.Compute/virtualMachines/netvmtestv2vm1",
|
|
47
|
-
storageAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testingRg/providers/Microsoft.Storage/storageAccounts/testAccount"
|
|
47
|
+
storageAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testingRg/providers/Microsoft.Storage/storageAccounts/testAccount",
|
|
48
|
+
targetDiskNetworkAccessSettings: {
|
|
49
|
+
targetDiskAccessId: "/subscriptions/e7a191f5-713c-4bdb-b5e4-cf3dd90230ef/resourceGroups/arpja/providers/Microsoft.Compute/diskAccesses/arpja-diskaccess-ccy",
|
|
50
|
+
targetDiskNetworkAccessOption: "EnablePrivateAccessForAllDisks"
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
};
|
|
50
54
|
const credential = new DefaultAzureCredential();
|
|
@@ -59,7 +63,7 @@ GetProtectedItemOperationResult API.
|
|
|
59
63
|
*
|
|
60
64
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
61
65
|
GetProtectedItemOperationResult API.
|
|
62
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
66
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
|
|
63
67
|
*/
|
|
64
68
|
function restoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() {
|
|
65
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -102,7 +106,7 @@ GetProtectedItemOperationResult API.
|
|
|
102
106
|
*
|
|
103
107
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
104
108
|
GetProtectedItemOperationResult API.
|
|
105
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
109
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreWithRehydrationRequest.json
|
|
106
110
|
*/
|
|
107
111
|
function restoreDisksWithIaasVMRestoreWithRehydrationRequest() {
|
|
108
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -143,7 +147,7 @@ GetProtectedItemOperationResult API.
|
|
|
143
147
|
*
|
|
144
148
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
145
149
|
GetProtectedItemOperationResult API.
|
|
146
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
150
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest.json
|
|
147
151
|
*/
|
|
148
152
|
function restoreToNewAzureIaasVMWithIaasVMRestoreRequest() {
|
|
149
153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -185,7 +189,7 @@ GetProtectedItemOperationResult API.
|
|
|
185
189
|
*
|
|
186
190
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
187
191
|
GetProtectedItemOperationResult API.
|
|
188
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
192
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
|
|
189
193
|
*/
|
|
190
194
|
function restoreToNewAzureIaasVMWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() {
|
|
191
195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -229,7 +233,7 @@ GetProtectedItemOperationResult API.
|
|
|
229
233
|
*
|
|
230
234
|
* @summary Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
|
|
231
235
|
GetProtectedItemOperationResult API.
|
|
232
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
236
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreWithRehydrationRequest.json
|
|
233
237
|
*/
|
|
234
238
|
function restoreToNewAzureIaasVMWithIaasVMRestoreWithRehydrationRequest() {
|
|
235
239
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restoresTriggerSample.js","sourceRoot":"","sources":["../../samples-dev/restoresTriggerSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEj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AC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oCAAoC,EAAE,CAAC;QACvC,mEAAmE,EAAE,CAAC;QACtE,mDAAmD,EAAE,CAAC;QACtD,+CAA+C,EAAE,CAAC;QAClD,8EAA8E,EAAE,CAAC;QACjF,8DAA8D,EAAE,CAAC;IACnE,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the security PIN.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the security PIN.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/BackupSecurityPin_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function getVaultSecurityPin() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Fetches the result of a triggered validate operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Fetches the result of a triggered validate operation.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ValidateOperationResults.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationResultsOfValidateOperation() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -20,7 +20,7 @@ If operation has completed, this method returns the list of errors obtained whil
|
|
|
20
20
|
* @summary Fetches the status of a triggered validate operation. The status can be in progress, completed
|
|
21
21
|
or failed. You can refer to the OperationStatus enum for all the possible states of the operation.
|
|
22
22
|
If operation has completed, this method returns the list of errors obtained while validating the operation.
|
|
23
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
23
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/ValidateOperationStatus.json
|
|
24
24
|
*/
|
|
25
25
|
function getOperationStatusOfValidateOperation() {
|
|
26
26
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.
|
|
17
17
|
*
|
|
18
18
|
* @summary Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.
|
|
19
|
-
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/TriggerValidateOperation_RestoreDisk.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerValidateOperation() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
requestPath: string;
|
|
7
|
-
requestMethod: string;
|
|
8
|
-
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
4
|
+
args: Record<string, unknown>;
|
|
5
|
+
spec: {
|
|
9
6
|
readonly requestBody?: unknown;
|
|
10
7
|
readonly path?: string;
|
|
11
8
|
readonly httpMethod: string;
|
|
12
|
-
} & Record<string, any
|
|
13
|
-
|
|
14
|
-
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
-
}
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
}): LongRunningOperation<T>;
|
|
16
11
|
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -5,25 +5,17 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
sendPollRequest(path) {
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
|
25
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
26
|
-
});
|
|
27
|
-
}
|
|
8
|
+
import { __rest } from "tslib";
|
|
9
|
+
export function createLroSpec(inputs) {
|
|
10
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
11
|
+
return {
|
|
12
|
+
requestMethod: spec.httpMethod,
|
|
13
|
+
requestPath: spec.path,
|
|
14
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
15
|
+
sendPollRequest: (path, options) => {
|
|
16
|
+
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
28
20
|
}
|
|
29
21
|
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -789,6 +789,8 @@ export interface RecoveryPointProperties {
|
|
|
789
789
|
expiryTime?: string;
|
|
790
790
|
/** Rule name tagged on Recovery Point that governs life cycle */
|
|
791
791
|
ruleName?: string;
|
|
792
|
+
/** Bool to indicate whether RP is in soft delete state or not */
|
|
793
|
+
isSoftDeleted?: boolean;
|
|
792
794
|
}
|
|
793
795
|
/** Restore file specs like file path, type and target folder path info. */
|
|
794
796
|
export interface RestoreFileSpecs {
|
|
@@ -1129,6 +1131,8 @@ export interface BmsrpQueryObject {
|
|
|
1129
1131
|
extendedInfo?: boolean;
|
|
1130
1132
|
/** Whether the RP can be moved to another tier */
|
|
1131
1133
|
moveReadyRPOnly?: boolean;
|
|
1134
|
+
/** Flag to indicate whether Soft Deleted RPs should be included/excluded from result. */
|
|
1135
|
+
includeSoftDeletedRP?: boolean;
|
|
1132
1136
|
}
|
|
1133
1137
|
/** Disk information */
|
|
1134
1138
|
export interface DiskInformation {
|
|
@@ -1320,6 +1324,25 @@ export interface RecoveryPointDiskConfiguration {
|
|
|
1320
1324
|
/** Information of disks excluded from backup */
|
|
1321
1325
|
excludedDiskList?: DiskInformation[];
|
|
1322
1326
|
}
|
|
1327
|
+
/** The extended location of Recovery point where VM was present. */
|
|
1328
|
+
export interface ExtendedLocation {
|
|
1329
|
+
/** Name of the extended location. */
|
|
1330
|
+
name?: string;
|
|
1331
|
+
/** Type of the extended location. Possible values include: 'EdgeZone' */
|
|
1332
|
+
type?: string;
|
|
1333
|
+
}
|
|
1334
|
+
/** Restore request parameters for Secured VMs */
|
|
1335
|
+
export interface SecuredVMDetails {
|
|
1336
|
+
/** Gets or Sets Disk Encryption Set Id for Secured VM OS Disk */
|
|
1337
|
+
securedVMOsDiskEncryptionSetId?: string;
|
|
1338
|
+
}
|
|
1339
|
+
/** Specifies target network access settings for disks of VM to be restored. */
|
|
1340
|
+
export interface TargetDiskNetworkAccessSettings {
|
|
1341
|
+
/** Network access settings to be used for restored disks */
|
|
1342
|
+
targetDiskNetworkAccessOption?: TargetDiskNetworkAccessOption;
|
|
1343
|
+
/** Gets or sets the ARM resource ID of the target disk access to be used when TargetDiskNetworkAccessOption is set to TargetDiskNetworkAccessOption.UseNew */
|
|
1344
|
+
targetDiskAccessId?: string;
|
|
1345
|
+
}
|
|
1323
1346
|
/** Filters to list the jobs. */
|
|
1324
1347
|
export interface JobQueryObject {
|
|
1325
1348
|
/** Status of the job. */
|
|
@@ -2178,8 +2201,12 @@ export interface IaasVMRecoveryPoint extends RecoveryPoint {
|
|
|
2178
2201
|
recoveryPointMoveReadinessInfo?: {
|
|
2179
2202
|
[propertyName: string]: RecoveryPointMoveReadinessInfo;
|
|
2180
2203
|
};
|
|
2204
|
+
/** Security Type of the Disk */
|
|
2205
|
+
securityType?: string;
|
|
2181
2206
|
/** Properties of Recovery Point */
|
|
2182
2207
|
recoveryPointProperties?: RecoveryPointProperties;
|
|
2208
|
+
/** This flag denotes if any of the disks in the VM are using Private access network setting */
|
|
2209
|
+
isPrivateAccessEnabledOnAnyDisk?: boolean;
|
|
2183
2210
|
}
|
|
2184
2211
|
/** AzureFileShare Restore Request */
|
|
2185
2212
|
export interface AzureFileShareRestoreRequest extends RestoreRequest {
|
|
@@ -2283,6 +2310,15 @@ export interface IaasVMRestoreRequest extends RestoreRequest {
|
|
|
2283
2310
|
identityInfo?: IdentityInfo;
|
|
2284
2311
|
/** IaaS VM workload specific restore details for restores using managed identity. */
|
|
2285
2312
|
identityBasedRestoreDetails?: IdentityBasedRestoreDetails;
|
|
2313
|
+
/**
|
|
2314
|
+
* Target extended location where the VM should be restored,
|
|
2315
|
+
* should be null if restore is to be done in public cloud
|
|
2316
|
+
*/
|
|
2317
|
+
extendedLocation?: ExtendedLocation;
|
|
2318
|
+
/** Stores Secured VM Details */
|
|
2319
|
+
securedVMDetails?: SecuredVMDetails;
|
|
2320
|
+
/** Specifies target network access settings for disks of VM to be restored, */
|
|
2321
|
+
targetDiskNetworkAccessSettings?: TargetDiskNetworkAccessSettings;
|
|
2286
2322
|
}
|
|
2287
2323
|
/** Azure VM (Mercury) workload-specific backup policy. */
|
|
2288
2324
|
export interface AzureVmWorkloadProtectionPolicy extends ProtectionPolicy {
|
|
@@ -4645,6 +4681,8 @@ export declare type JobSupportedAction = "Invalid" | "Cancellable" | "Retriable"
|
|
|
4645
4681
|
export declare type RecoveryPointTierStatus = "Invalid" | "Valid" | "Disabled" | "Deleted" | "Rehydrated";
|
|
4646
4682
|
/** Defines values for DayOfWeek. */
|
|
4647
4683
|
export declare type DayOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
|
|
4684
|
+
/** Defines values for TargetDiskNetworkAccessOption. */
|
|
4685
|
+
export declare type TargetDiskNetworkAccessOption = "SameAsOnSourceDisks" | "EnablePrivateAccessForAllDisks" | "EnablePublicAccessForAllDisks";
|
|
4648
4686
|
/** Defines values for WeekOfMonth. */
|
|
4649
4687
|
export declare type WeekOfMonth = "First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid";
|
|
4650
4688
|
/** Defines values for MonthOfYear. */
|