@azure/arm-dataprotection 1.0.0-beta.1 → 1.0.0-beta.2
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 +1 -1
- package/README.md +1 -1
- package/dist/index.js +536 -979
- 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/backupInstancesAdhocBackupSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesListSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesStopProtectionSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.js +3 -3
- package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsGetSample.js +2 -2
- package/dist-esm/samples-dev/backupVaultsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.js +1 -1
- package/dist-esm/samples-dev/dataProtectionOperationsListSample.js +1 -1
- package/dist-esm/samples-dev/deletedBackupInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/deletedBackupInstancesListSample.js +1 -1
- package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsListSample.js +1 -1
- package/dist-esm/samples-dev/operationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.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/resourceGuardsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsPatchSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsPatchSample.js.map +1 -1
- package/dist-esm/samples-dev/resourceGuardsPutSample.js +1 -1
- package/dist-esm/samples-dev/restorableTimeRangesFindSample.js +1 -1
- package/dist-esm/src/dataProtectionClient.d.ts +2 -4
- package/dist-esm/src/dataProtectionClient.d.ts.map +1 -1
- package/dist-esm/src/dataProtectionClient.js +4 -6
- package/dist-esm/src/dataProtectionClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +86 -121
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +14 -16
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -8
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +119 -171
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +11 -31
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/backupInstances.d.ts +53 -53
- package/dist-esm/src/operations/backupInstances.js +53 -53
- package/dist-esm/src/operations/backupPolicies.d.ts +6 -6
- package/dist-esm/src/operations/backupPolicies.js +6 -6
- package/dist-esm/src/operations/backupVaultOperationResults.d.ts +1 -1
- package/dist-esm/src/operations/backupVaultOperationResults.js +1 -1
- package/dist-esm/src/operations/backupVaults.d.ts +18 -11
- package/dist-esm/src/operations/backupVaults.d.ts.map +1 -1
- package/dist-esm/src/operations/backupVaults.js +55 -12
- package/dist-esm/src/operations/backupVaults.js.map +1 -1
- package/dist-esm/src/operations/deletedBackupInstances.d.ts +6 -6
- package/dist-esm/src/operations/deletedBackupInstances.js +6 -6
- package/dist-esm/src/operations/exportJobs.d.ts +2 -2
- package/dist-esm/src/operations/exportJobs.js +2 -2
- package/dist-esm/src/operations/exportJobsOperationResult.d.ts +1 -1
- package/dist-esm/src/operations/exportJobsOperationResult.js +1 -1
- package/dist-esm/src/operations/index.d.ts +0 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +0 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/jobs.d.ts +4 -4
- package/dist-esm/src/operations/jobs.js +4 -4
- package/dist-esm/src/operations/operationStatusBackupVaultContext.d.ts +1 -1
- package/dist-esm/src/operations/operationStatusBackupVaultContext.js +1 -1
- package/dist-esm/src/operations/operationStatusResourceGroupContext.d.ts +1 -1
- package/dist-esm/src/operations/operationStatusResourceGroupContext.js +1 -1
- package/dist-esm/src/operations/recoveryPoints.d.ts +8 -8
- package/dist-esm/src/operations/recoveryPoints.js +8 -8
- package/dist-esm/src/operations/resourceGuards.d.ts +33 -33
- package/dist-esm/src/operations/resourceGuards.d.ts.map +1 -1
- package/dist-esm/src/operations/resourceGuards.js +35 -32
- package/dist-esm/src/operations/resourceGuards.js.map +1 -1
- package/dist-esm/src/operations/restorableTimeRanges.d.ts +2 -2
- package/dist-esm/src/operations/restorableTimeRanges.js +2 -2
- package/dist-esm/src/operationsInterfaces/backupInstances.d.ts +51 -51
- package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts +16 -9
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts +19 -19
- package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/restorableTimeRanges.d.ts +2 -2
- package/dist-esm/test/dataprotection_operations_test.spec.js +3 -3
- package/dist-esm/test/dataprotection_operations_test.spec.js.map +1 -1
- package/package.json +5 -5
- package/review/arm-dataprotection.api.md +54 -146
- package/src/dataProtectionClient.ts +5 -15
- package/src/models/index.ts +93 -146
- package/src/models/mappers.ts +129 -185
- package/src/models/parameters.ts +12 -36
- package/src/operations/backupInstances.ts +53 -53
- package/src/operations/backupPolicies.ts +6 -6
- package/src/operations/backupVaultOperationResults.ts +1 -1
- package/src/operations/backupVaults.ts +79 -13
- package/src/operations/deletedBackupInstances.ts +6 -6
- package/src/operations/exportJobs.ts +2 -2
- package/src/operations/exportJobsOperationResult.ts +1 -1
- package/src/operations/index.ts +0 -2
- package/src/operations/jobs.ts +4 -4
- package/src/operations/operationStatusBackupVaultContext.ts +1 -1
- package/src/operations/operationStatusResourceGroupContext.ts +1 -1
- package/src/operations/recoveryPoints.ts +8 -8
- package/src/operations/resourceGuards.ts +37 -34
- package/src/operations/restorableTimeRanges.ts +2 -2
- package/src/operationsInterfaces/backupInstances.ts +51 -51
- package/src/operationsInterfaces/backupPolicies.ts +4 -4
- package/src/operationsInterfaces/backupVaultOperationResults.ts +1 -1
- package/src/operationsInterfaces/backupVaults.ts +20 -9
- package/src/operationsInterfaces/deletedBackupInstances.ts +4 -4
- package/src/operationsInterfaces/exportJobs.ts +2 -2
- package/src/operationsInterfaces/exportJobsOperationResult.ts +1 -1
- package/src/operationsInterfaces/index.ts +0 -2
- package/src/operationsInterfaces/jobs.ts +2 -2
- package/src/operationsInterfaces/operationStatusBackupVaultContext.ts +1 -1
- package/src/operationsInterfaces/operationStatusResourceGroupContext.ts +1 -1
- package/src/operationsInterfaces/recoveryPoints.ts +4 -4
- package/src/operationsInterfaces/resourceGuards.ts +19 -19
- package/src/operationsInterfaces/restorableTimeRanges.ts +2 -2
- package/types/arm-dataprotection.d.ts +207 -304
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts +0 -2
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js +0 -52
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js +0 -40
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js +0 -40
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js +0 -53
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js +0 -45
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js +0 -46
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js.map +0 -1
- package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts +0 -35
- package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts.map +0 -1
- package/dist-esm/src/operations/backupInstancesExtensionRouting.js +0 -134
- package/dist-esm/src/operations/backupInstancesExtensionRouting.js.map +0 -1
- package/dist-esm/src/operations/dppResourceGuardProxy.d.ts +0 -66
- package/dist-esm/src/operations/dppResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/src/operations/dppResourceGuardProxy.js +0 -287
- package/dist-esm/src/operations/dppResourceGuardProxy.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js +0 -9
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts +0 -42
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js +0 -9
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js.map +0 -1
- package/src/operations/backupInstancesExtensionRouting.ts +0 -161
- package/src/operations/dppResourceGuardProxy.ts +0 -383
- package/src/operationsInterfaces/backupInstancesExtensionRouting.ts +0 -27
- package/src/operationsInterfaces/dppResourceGuardProxy.ts +0 -88
|
@@ -66,7 +66,7 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* Gets a backup instances belonging to a backup vault
|
|
69
|
-
* @param resourceGroupName The name of the resource group
|
|
69
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
70
70
|
* @param vaultName The name of the backup vault.
|
|
71
71
|
* @param options The options parameters.
|
|
72
72
|
*/
|
|
@@ -142,7 +142,7 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Gets a backup instances belonging to a backup vault
|
|
145
|
-
* @param resourceGroupName The name of the resource group
|
|
145
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
146
|
* @param vaultName The name of the backup vault.
|
|
147
147
|
* @param options The options parameters.
|
|
148
148
|
*/
|
|
@@ -159,9 +159,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* Gets a backup instance with name in a backup vault
|
|
162
|
-
* @param resourceGroupName The name of the resource group
|
|
162
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
163
163
|
* @param vaultName The name of the backup vault.
|
|
164
|
-
* @param backupInstanceName The name of the backup instance
|
|
164
|
+
* @param backupInstanceName The name of the backup instance.
|
|
165
165
|
* @param options The options parameters.
|
|
166
166
|
*/
|
|
167
167
|
get(
|
|
@@ -178,9 +178,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* Create or update a backup instance in a backup vault
|
|
181
|
-
* @param resourceGroupName The name of the resource group
|
|
181
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
182
182
|
* @param vaultName The name of the backup vault.
|
|
183
|
-
* @param backupInstanceName The name of the backup instance
|
|
183
|
+
* @param backupInstanceName The name of the backup instance.
|
|
184
184
|
* @param parameters Request body for operation
|
|
185
185
|
* @param options The options parameters.
|
|
186
186
|
*/
|
|
@@ -250,9 +250,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Create or update a backup instance in a backup vault
|
|
253
|
-
* @param resourceGroupName The name of the resource group
|
|
253
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
254
254
|
* @param vaultName The name of the backup vault.
|
|
255
|
-
* @param backupInstanceName The name of the backup instance
|
|
255
|
+
* @param backupInstanceName The name of the backup instance.
|
|
256
256
|
* @param parameters Request body for operation
|
|
257
257
|
* @param options The options parameters.
|
|
258
258
|
*/
|
|
@@ -275,9 +275,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* Delete a backup instance in a backup vault
|
|
278
|
-
* @param resourceGroupName The name of the resource group
|
|
278
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
279
279
|
* @param vaultName The name of the backup vault.
|
|
280
|
-
* @param backupInstanceName The name of the backup instance
|
|
280
|
+
* @param backupInstanceName The name of the backup instance.
|
|
281
281
|
* @param options The options parameters.
|
|
282
282
|
*/
|
|
283
283
|
async beginDelete(
|
|
@@ -340,9 +340,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
342
|
* Delete a backup instance in a backup vault
|
|
343
|
-
* @param resourceGroupName The name of the resource group
|
|
343
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
344
344
|
* @param vaultName The name of the backup vault.
|
|
345
|
-
* @param backupInstanceName The name of the backup instance
|
|
345
|
+
* @param backupInstanceName The name of the backup instance.
|
|
346
346
|
* @param options The options parameters.
|
|
347
347
|
*/
|
|
348
348
|
async beginDeleteAndWait(
|
|
@@ -362,9 +362,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
362
362
|
|
|
363
363
|
/**
|
|
364
364
|
* Trigger adhoc backup
|
|
365
|
-
* @param resourceGroupName The name of the resource group
|
|
365
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
366
366
|
* @param vaultName The name of the backup vault.
|
|
367
|
-
* @param backupInstanceName The name of the backup instance
|
|
367
|
+
* @param backupInstanceName The name of the backup instance.
|
|
368
368
|
* @param parameters Request body for operation
|
|
369
369
|
* @param options The options parameters.
|
|
370
370
|
*/
|
|
@@ -434,9 +434,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* Trigger adhoc backup
|
|
437
|
-
* @param resourceGroupName The name of the resource group
|
|
437
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
438
438
|
* @param vaultName The name of the backup vault.
|
|
439
|
-
* @param backupInstanceName The name of the backup instance
|
|
439
|
+
* @param backupInstanceName The name of the backup instance.
|
|
440
440
|
* @param parameters Request body for operation
|
|
441
441
|
* @param options The options parameters.
|
|
442
442
|
*/
|
|
@@ -459,7 +459,7 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* Validate whether adhoc backup will be successful or not
|
|
462
|
-
* @param resourceGroupName The name of the resource group
|
|
462
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
463
463
|
* @param vaultName The name of the backup vault.
|
|
464
464
|
* @param parameters Request body for operation
|
|
465
465
|
* @param options The options parameters.
|
|
@@ -529,7 +529,7 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
529
529
|
|
|
530
530
|
/**
|
|
531
531
|
* Validate whether adhoc backup will be successful or not
|
|
532
|
-
* @param resourceGroupName The name of the resource group
|
|
532
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
533
533
|
* @param vaultName The name of the backup vault.
|
|
534
534
|
* @param parameters Request body for operation
|
|
535
535
|
* @param options The options parameters.
|
|
@@ -551,9 +551,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
553
|
* Get result of backup instance creation operation
|
|
554
|
-
* @param resourceGroupName The name of the resource group
|
|
554
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
555
555
|
* @param vaultName The name of the backup vault.
|
|
556
|
-
* @param backupInstanceName
|
|
556
|
+
* @param backupInstanceName The name of the backup instance.
|
|
557
557
|
* @param operationId
|
|
558
558
|
* @param options The options parameters.
|
|
559
559
|
*/
|
|
@@ -578,9 +578,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* rehydrate recovery point for restore for a BackupInstance
|
|
581
|
-
* @param resourceGroupName The name of the resource group
|
|
581
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
582
582
|
* @param vaultName The name of the backup vault.
|
|
583
|
-
* @param backupInstanceName
|
|
583
|
+
* @param backupInstanceName The name of the backup instance.
|
|
584
584
|
* @param parameters Request body for operation
|
|
585
585
|
* @param options The options parameters.
|
|
586
586
|
*/
|
|
@@ -650,9 +650,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
650
650
|
|
|
651
651
|
/**
|
|
652
652
|
* rehydrate recovery point for restore for a BackupInstance
|
|
653
|
-
* @param resourceGroupName The name of the resource group
|
|
653
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
654
654
|
* @param vaultName The name of the backup vault.
|
|
655
|
-
* @param backupInstanceName
|
|
655
|
+
* @param backupInstanceName The name of the backup instance.
|
|
656
656
|
* @param parameters Request body for operation
|
|
657
657
|
* @param options The options parameters.
|
|
658
658
|
*/
|
|
@@ -675,9 +675,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
675
675
|
|
|
676
676
|
/**
|
|
677
677
|
* Triggers restore for a BackupInstance
|
|
678
|
-
* @param resourceGroupName The name of the resource group
|
|
678
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
679
679
|
* @param vaultName The name of the backup vault.
|
|
680
|
-
* @param backupInstanceName The name of the backup instance
|
|
680
|
+
* @param backupInstanceName The name of the backup instance.
|
|
681
681
|
* @param parameters Request body for operation
|
|
682
682
|
* @param options The options parameters.
|
|
683
683
|
*/
|
|
@@ -747,9 +747,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
749
|
* Triggers restore for a BackupInstance
|
|
750
|
-
* @param resourceGroupName The name of the resource group
|
|
750
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
751
751
|
* @param vaultName The name of the backup vault.
|
|
752
|
-
* @param backupInstanceName The name of the backup instance
|
|
752
|
+
* @param backupInstanceName The name of the backup instance.
|
|
753
753
|
* @param parameters Request body for operation
|
|
754
754
|
* @param options The options parameters.
|
|
755
755
|
*/
|
|
@@ -772,9 +772,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
772
772
|
|
|
773
773
|
/**
|
|
774
774
|
* This operation will resume backups for backup instance
|
|
775
|
-
* @param resourceGroupName The name of the resource group
|
|
775
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
776
776
|
* @param vaultName The name of the backup vault.
|
|
777
|
-
* @param backupInstanceName
|
|
777
|
+
* @param backupInstanceName The name of the backup instance.
|
|
778
778
|
* @param options The options parameters.
|
|
779
779
|
*/
|
|
780
780
|
async beginResumeBackups(
|
|
@@ -837,9 +837,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
837
837
|
|
|
838
838
|
/**
|
|
839
839
|
* This operation will resume backups for backup instance
|
|
840
|
-
* @param resourceGroupName The name of the resource group
|
|
840
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
841
841
|
* @param vaultName The name of the backup vault.
|
|
842
|
-
* @param backupInstanceName
|
|
842
|
+
* @param backupInstanceName The name of the backup instance.
|
|
843
843
|
* @param options The options parameters.
|
|
844
844
|
*/
|
|
845
845
|
async beginResumeBackupsAndWait(
|
|
@@ -859,9 +859,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
861
|
* This operation will resume protection for a stopped backup instance
|
|
862
|
-
* @param resourceGroupName The name of the resource group
|
|
862
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
863
863
|
* @param vaultName The name of the backup vault.
|
|
864
|
-
* @param backupInstanceName
|
|
864
|
+
* @param backupInstanceName The name of the backup instance.
|
|
865
865
|
* @param options The options parameters.
|
|
866
866
|
*/
|
|
867
867
|
async beginResumeProtection(
|
|
@@ -924,9 +924,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
924
924
|
|
|
925
925
|
/**
|
|
926
926
|
* This operation will resume protection for a stopped backup instance
|
|
927
|
-
* @param resourceGroupName The name of the resource group
|
|
927
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
928
928
|
* @param vaultName The name of the backup vault.
|
|
929
|
-
* @param backupInstanceName
|
|
929
|
+
* @param backupInstanceName The name of the backup instance.
|
|
930
930
|
* @param options The options parameters.
|
|
931
931
|
*/
|
|
932
932
|
async beginResumeProtectionAndWait(
|
|
@@ -946,9 +946,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
946
946
|
|
|
947
947
|
/**
|
|
948
948
|
* This operation will stop protection of a backup instance and data will be held forever
|
|
949
|
-
* @param resourceGroupName The name of the resource group
|
|
949
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
950
950
|
* @param vaultName The name of the backup vault.
|
|
951
|
-
* @param backupInstanceName
|
|
951
|
+
* @param backupInstanceName The name of the backup instance.
|
|
952
952
|
* @param options The options parameters.
|
|
953
953
|
*/
|
|
954
954
|
async beginStopProtection(
|
|
@@ -1011,9 +1011,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1011
1011
|
|
|
1012
1012
|
/**
|
|
1013
1013
|
* This operation will stop protection of a backup instance and data will be held forever
|
|
1014
|
-
* @param resourceGroupName The name of the resource group
|
|
1014
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1015
1015
|
* @param vaultName The name of the backup vault.
|
|
1016
|
-
* @param backupInstanceName
|
|
1016
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1017
1017
|
* @param options The options parameters.
|
|
1018
1018
|
*/
|
|
1019
1019
|
async beginStopProtectionAndWait(
|
|
@@ -1034,9 +1034,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* This operation will stop backup for a backup instance and retains the backup data as per the policy
|
|
1036
1036
|
* (except latest Recovery point, which will be retained forever)
|
|
1037
|
-
* @param resourceGroupName The name of the resource group
|
|
1037
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1038
1038
|
* @param vaultName The name of the backup vault.
|
|
1039
|
-
* @param backupInstanceName
|
|
1039
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1040
1040
|
* @param options The options parameters.
|
|
1041
1041
|
*/
|
|
1042
1042
|
async beginSuspendBackups(
|
|
@@ -1100,9 +1100,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1100
1100
|
/**
|
|
1101
1101
|
* This operation will stop backup for a backup instance and retains the backup data as per the policy
|
|
1102
1102
|
* (except latest Recovery point, which will be retained forever)
|
|
1103
|
-
* @param resourceGroupName The name of the resource group
|
|
1103
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1104
1104
|
* @param vaultName The name of the backup vault.
|
|
1105
|
-
* @param backupInstanceName
|
|
1105
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1106
1106
|
* @param options The options parameters.
|
|
1107
1107
|
*/
|
|
1108
1108
|
async beginSuspendBackupsAndWait(
|
|
@@ -1123,9 +1123,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Sync backup instance again in case of failure
|
|
1125
1125
|
* This action will retry last failed operation and will bring backup instance to valid state
|
|
1126
|
-
* @param resourceGroupName The name of the resource group
|
|
1126
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1127
1127
|
* @param vaultName The name of the backup vault.
|
|
1128
|
-
* @param backupInstanceName
|
|
1128
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1129
1129
|
* @param parameters Request body for operation
|
|
1130
1130
|
* @param options The options parameters.
|
|
1131
1131
|
*/
|
|
@@ -1191,9 +1191,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Sync backup instance again in case of failure
|
|
1193
1193
|
* This action will retry last failed operation and will bring backup instance to valid state
|
|
1194
|
-
* @param resourceGroupName The name of the resource group
|
|
1194
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1195
1195
|
* @param vaultName The name of the backup vault.
|
|
1196
|
-
* @param backupInstanceName
|
|
1196
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1197
1197
|
* @param parameters Request body for operation
|
|
1198
1198
|
* @param options The options parameters.
|
|
1199
1199
|
*/
|
|
@@ -1216,9 +1216,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1216
1216
|
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Validates if Restore can be triggered for a DataSource
|
|
1219
|
-
* @param resourceGroupName The name of the resource group
|
|
1219
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1220
1220
|
* @param vaultName The name of the backup vault.
|
|
1221
|
-
* @param backupInstanceName The name of the backup instance
|
|
1221
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1222
1222
|
* @param parameters Request body for operation
|
|
1223
1223
|
* @param options The options parameters.
|
|
1224
1224
|
*/
|
|
@@ -1288,9 +1288,9 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1288
1288
|
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Validates if Restore can be triggered for a DataSource
|
|
1291
|
-
* @param resourceGroupName The name of the resource group
|
|
1291
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1292
1292
|
* @param vaultName The name of the backup vault.
|
|
1293
|
-
* @param backupInstanceName The name of the backup instance
|
|
1293
|
+
* @param backupInstanceName The name of the backup instance.
|
|
1294
1294
|
* @param parameters Request body for operation
|
|
1295
1295
|
* @param options The options parameters.
|
|
1296
1296
|
*/
|
|
@@ -1313,7 +1313,7 @@ export class BackupInstancesImpl implements BackupInstances {
|
|
|
1313
1313
|
|
|
1314
1314
|
/**
|
|
1315
1315
|
* ListNext
|
|
1316
|
-
* @param resourceGroupName The name of the resource group
|
|
1316
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1317
1317
|
* @param vaultName The name of the backup vault.
|
|
1318
1318
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
1319
1319
|
* @param options The options parameters.
|
|
@@ -41,7 +41,7 @@ export class BackupPoliciesImpl implements BackupPolicies {
|
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Returns list of backup policies belonging to a backup vault
|
|
44
|
-
* @param resourceGroupName The name of the resource group
|
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
45
|
* @param vaultName The name of the backup vault.
|
|
46
46
|
* @param options The options parameters.
|
|
47
47
|
*/
|
|
@@ -117,7 +117,7 @@ export class BackupPoliciesImpl implements BackupPolicies {
|
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Returns list of backup policies belonging to a backup vault
|
|
120
|
-
* @param resourceGroupName The name of the resource group
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
121
|
* @param vaultName The name of the backup vault.
|
|
122
122
|
* @param options The options parameters.
|
|
123
123
|
*/
|
|
@@ -134,7 +134,7 @@ export class BackupPoliciesImpl implements BackupPolicies {
|
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Gets a backup policy belonging to a backup vault
|
|
137
|
-
* @param resourceGroupName The name of the resource group
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
138
|
* @param vaultName The name of the backup vault.
|
|
139
139
|
* @param backupPolicyName
|
|
140
140
|
* @param options The options parameters.
|
|
@@ -153,7 +153,7 @@ export class BackupPoliciesImpl implements BackupPolicies {
|
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Creates or Updates a backup policy belonging to a backup vault
|
|
156
|
-
* @param resourceGroupName The name of the resource group
|
|
156
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
157
157
|
* @param vaultName The name of the backup vault.
|
|
158
158
|
* @param backupPolicyName Name of the policy
|
|
159
159
|
* @param parameters Request body for operation
|
|
@@ -174,7 +174,7 @@ export class BackupPoliciesImpl implements BackupPolicies {
|
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* Deletes a backup policy belonging to a backup vault
|
|
177
|
-
* @param resourceGroupName The name of the resource group
|
|
177
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
178
178
|
* @param vaultName The name of the backup vault.
|
|
179
179
|
* @param backupPolicyName
|
|
180
180
|
* @param options The options parameters.
|
|
@@ -193,7 +193,7 @@ export class BackupPoliciesImpl implements BackupPolicies {
|
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* ListNext
|
|
196
|
-
* @param resourceGroupName The name of the resource group
|
|
196
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
197
197
|
* @param vaultName The name of the backup vault.
|
|
198
198
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
199
199
|
* @param options The options parameters.
|
|
@@ -30,7 +30,7 @@ export class BackupVaultOperationResultsImpl
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* @param resourceGroupName The name of the resource group
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
34
|
* @param vaultName The name of the backup vault.
|
|
35
35
|
* @param operationId
|
|
36
36
|
* @param options The options parameters.
|
|
@@ -107,7 +107,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Returns resource collection belonging to a resource group.
|
|
110
|
-
* @param resourceGroupName The name of the resource group
|
|
110
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
111
111
|
* @param options The options parameters.
|
|
112
112
|
*/
|
|
113
113
|
public listInResourceGroup(
|
|
@@ -189,7 +189,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Returns resource collection belonging to a resource group.
|
|
192
|
-
* @param resourceGroupName The name of the resource group
|
|
192
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
193
193
|
* @param options The options parameters.
|
|
194
194
|
*/
|
|
195
195
|
private _getInResourceGroup(
|
|
@@ -204,7 +204,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Returns a resource belonging to a resource group.
|
|
207
|
-
* @param resourceGroupName The name of the resource group
|
|
207
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
208
208
|
* @param vaultName The name of the backup vault.
|
|
209
209
|
* @param options The options parameters.
|
|
210
210
|
*/
|
|
@@ -221,7 +221,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Creates or updates a BackupVault resource belonging to a resource group.
|
|
224
|
-
* @param resourceGroupName The name of the resource group
|
|
224
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
225
225
|
* @param vaultName The name of the backup vault.
|
|
226
226
|
* @param parameters Request body for operation
|
|
227
227
|
* @param options The options parameters.
|
|
@@ -291,7 +291,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* Creates or updates a BackupVault resource belonging to a resource group.
|
|
294
|
-
* @param resourceGroupName The name of the resource group
|
|
294
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
295
295
|
* @param vaultName The name of the backup vault.
|
|
296
296
|
* @param parameters Request body for operation
|
|
297
297
|
* @param options The options parameters.
|
|
@@ -313,25 +313,90 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
315
|
* Deletes a BackupVault resource from the resource group.
|
|
316
|
-
* @param resourceGroupName The name of the resource group
|
|
316
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
317
317
|
* @param vaultName The name of the backup vault.
|
|
318
318
|
* @param options The options parameters.
|
|
319
319
|
*/
|
|
320
|
-
|
|
320
|
+
async beginDelete(
|
|
321
321
|
resourceGroupName: string,
|
|
322
322
|
vaultName: string,
|
|
323
323
|
options?: BackupVaultsDeleteOptionalParams
|
|
324
|
-
): Promise<void
|
|
325
|
-
|
|
324
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
325
|
+
const directSendOperation = async (
|
|
326
|
+
args: coreClient.OperationArguments,
|
|
327
|
+
spec: coreClient.OperationSpec
|
|
328
|
+
): Promise<void> => {
|
|
329
|
+
return this.client.sendOperationRequest(args, spec);
|
|
330
|
+
};
|
|
331
|
+
const sendOperation = async (
|
|
332
|
+
args: coreClient.OperationArguments,
|
|
333
|
+
spec: coreClient.OperationSpec
|
|
334
|
+
) => {
|
|
335
|
+
let currentRawResponse:
|
|
336
|
+
| coreClient.FullOperationResponse
|
|
337
|
+
| undefined = undefined;
|
|
338
|
+
const providedCallback = args.options?.onResponse;
|
|
339
|
+
const callback: coreClient.RawResponseCallback = (
|
|
340
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
341
|
+
flatResponse: unknown
|
|
342
|
+
) => {
|
|
343
|
+
currentRawResponse = rawResponse;
|
|
344
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
345
|
+
};
|
|
346
|
+
const updatedArgs = {
|
|
347
|
+
...args,
|
|
348
|
+
options: {
|
|
349
|
+
...args.options,
|
|
350
|
+
onResponse: callback
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
354
|
+
return {
|
|
355
|
+
flatResponse,
|
|
356
|
+
rawResponse: {
|
|
357
|
+
statusCode: currentRawResponse!.status,
|
|
358
|
+
body: currentRawResponse!.parsedBody,
|
|
359
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
const lro = new LroImpl(
|
|
365
|
+
sendOperation,
|
|
326
366
|
{ resourceGroupName, vaultName, options },
|
|
327
367
|
deleteOperationSpec
|
|
328
368
|
);
|
|
369
|
+
const poller = new LroEngine(lro, {
|
|
370
|
+
resumeFrom: options?.resumeFrom,
|
|
371
|
+
intervalInMs: options?.updateIntervalInMs
|
|
372
|
+
});
|
|
373
|
+
await poller.poll();
|
|
374
|
+
return poller;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Deletes a BackupVault resource from the resource group.
|
|
379
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
380
|
+
* @param vaultName The name of the backup vault.
|
|
381
|
+
* @param options The options parameters.
|
|
382
|
+
*/
|
|
383
|
+
async beginDeleteAndWait(
|
|
384
|
+
resourceGroupName: string,
|
|
385
|
+
vaultName: string,
|
|
386
|
+
options?: BackupVaultsDeleteOptionalParams
|
|
387
|
+
): Promise<void> {
|
|
388
|
+
const poller = await this.beginDelete(
|
|
389
|
+
resourceGroupName,
|
|
390
|
+
vaultName,
|
|
391
|
+
options
|
|
392
|
+
);
|
|
393
|
+
return poller.pollUntilDone();
|
|
329
394
|
}
|
|
330
395
|
|
|
331
396
|
/**
|
|
332
397
|
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a
|
|
333
398
|
* resource.
|
|
334
|
-
* @param resourceGroupName The name of the resource group
|
|
399
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
335
400
|
* @param vaultName The name of the backup vault.
|
|
336
401
|
* @param parameters Request body for operation
|
|
337
402
|
* @param options The options parameters.
|
|
@@ -402,7 +467,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
402
467
|
/**
|
|
403
468
|
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a
|
|
404
469
|
* resource.
|
|
405
|
-
* @param resourceGroupName The name of the resource group
|
|
470
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
406
471
|
* @param vaultName The name of the backup vault.
|
|
407
472
|
* @param parameters Request body for operation
|
|
408
473
|
* @param options The options parameters.
|
|
@@ -424,7 +489,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
424
489
|
|
|
425
490
|
/**
|
|
426
491
|
* API to check for resource name availability
|
|
427
|
-
* @param resourceGroupName The name of the resource group
|
|
492
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
428
493
|
* @param location The location in which uniqueness will be verified.
|
|
429
494
|
* @param parameters Check name availability request
|
|
430
495
|
* @param options The options parameters.
|
|
@@ -458,7 +523,7 @@ export class BackupVaultsImpl implements BackupVaults {
|
|
|
458
523
|
|
|
459
524
|
/**
|
|
460
525
|
* GetInResourceGroupNext
|
|
461
|
-
* @param resourceGroupName The name of the resource group
|
|
526
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
462
527
|
* @param nextLink The nextLink from the previous successful call to the GetInResourceGroup method.
|
|
463
528
|
* @param options The options parameters.
|
|
464
529
|
*/
|
|
@@ -575,6 +640,7 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
575
640
|
httpMethod: "DELETE",
|
|
576
641
|
responses: {
|
|
577
642
|
200: {},
|
|
643
|
+
201: {},
|
|
578
644
|
202: {},
|
|
579
645
|
204: {},
|
|
580
646
|
default: {
|
|
@@ -41,7 +41,7 @@ export class DeletedBackupInstancesImpl implements DeletedBackupInstances {
|
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Gets deleted backup instances belonging to a backup vault
|
|
44
|
-
* @param resourceGroupName The name of the resource group
|
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
45
|
* @param vaultName The name of the backup vault.
|
|
46
46
|
* @param options The options parameters.
|
|
47
47
|
*/
|
|
@@ -117,7 +117,7 @@ export class DeletedBackupInstancesImpl implements DeletedBackupInstances {
|
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Gets deleted backup instances belonging to a backup vault
|
|
120
|
-
* @param resourceGroupName The name of the resource group
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
121
|
* @param vaultName The name of the backup vault.
|
|
122
122
|
* @param options The options parameters.
|
|
123
123
|
*/
|
|
@@ -134,7 +134,7 @@ export class DeletedBackupInstancesImpl implements DeletedBackupInstances {
|
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Gets a deleted backup instance with name in a backup vault
|
|
137
|
-
* @param resourceGroupName The name of the resource group
|
|
137
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
138
|
* @param vaultName The name of the backup vault.
|
|
139
139
|
* @param backupInstanceName The name of the deleted backup instance
|
|
140
140
|
* @param options The options parameters.
|
|
@@ -152,7 +152,7 @@ export class DeletedBackupInstancesImpl implements DeletedBackupInstances {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* @param resourceGroupName The name of the resource group
|
|
155
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
156
|
* @param vaultName The name of the backup vault.
|
|
157
157
|
* @param backupInstanceName The name of the deleted backup instance
|
|
158
158
|
* @param options The options parameters.
|
|
@@ -216,7 +216,7 @@ export class DeletedBackupInstancesImpl implements DeletedBackupInstances {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
|
-
* @param resourceGroupName The name of the resource group
|
|
219
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
220
220
|
* @param vaultName The name of the backup vault.
|
|
221
221
|
* @param backupInstanceName The name of the deleted backup instance
|
|
222
222
|
* @param options The options parameters.
|
|
@@ -238,7 +238,7 @@ export class DeletedBackupInstancesImpl implements DeletedBackupInstances {
|
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* ListNext
|
|
241
|
-
* @param resourceGroupName The name of the resource group
|
|
241
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
242
242
|
* @param vaultName The name of the backup vault.
|
|
243
243
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
244
244
|
* @param options The options parameters.
|
|
@@ -32,7 +32,7 @@ export class ExportJobsImpl implements ExportJobs {
|
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Triggers export of jobs and returns an OperationID to track.
|
|
35
|
-
* @param resourceGroupName The name of the resource group
|
|
35
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
36
|
* @param vaultName The name of the backup vault.
|
|
37
37
|
* @param options The options parameters.
|
|
38
38
|
*/
|
|
@@ -101,7 +101,7 @@ export class ExportJobsImpl implements ExportJobs {
|
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Triggers export of jobs and returns an OperationID to track.
|
|
104
|
-
* @param resourceGroupName The name of the resource group
|
|
104
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
105
105
|
* @param vaultName The name of the backup vault.
|
|
106
106
|
* @param options The options parameters.
|
|
107
107
|
*/
|
|
@@ -33,7 +33,7 @@ export class ExportJobsOperationResultImpl
|
|
|
33
33
|
* Gets the operation result of operation triggered by Export Jobs API. If the operation is successful,
|
|
34
34
|
* then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported
|
|
35
35
|
* jobs in JSON serialized format.
|
|
36
|
-
* @param resourceGroupName The name of the resource group
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
37
|
* @param vaultName The name of the backup vault.
|
|
38
38
|
* @param operationId OperationID which represents the export job.
|
|
39
39
|
* @param options The options parameters.
|