@azure/arm-dataprotection 1.0.0-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/dist/index.js +706 -1053
- 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/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 +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 +66 -66
- package/dist-esm/src/operations/backupInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/backupInstances.js +187 -103
- package/dist-esm/src/operations/backupInstances.js.map +1 -1
- 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 +21 -14
- package/dist-esm/src/operations/backupVaults.d.ts.map +1 -1
- package/dist-esm/src/operations/backupVaults.js +77 -22
- package/dist-esm/src/operations/backupVaults.js.map +1 -1
- package/dist-esm/src/operations/deletedBackupInstances.d.ts +8 -8
- package/dist-esm/src/operations/deletedBackupInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/deletedBackupInstances.js +16 -12
- package/dist-esm/src/operations/deletedBackupInstances.js.map +1 -1
- package/dist-esm/src/operations/exportJobs.d.ts +4 -4
- package/dist-esm/src/operations/exportJobs.d.ts.map +1 -1
- package/dist-esm/src/operations/exportJobs.js +13 -9
- package/dist-esm/src/operations/exportJobs.js.map +1 -1
- 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 +64 -64
- package/dist-esm/src/operationsInterfaces/backupInstances.d.ts.map +1 -1
- 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 +19 -12
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts.map +1 -1
- 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 +10 -10
- package/review/arm-dataprotection.api.md +72 -164
- package/src/dataProtectionClient.ts +5 -15
- package/src/lroImpl.ts +31 -23
- 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 +227 -169
- package/src/operations/backupPolicies.ts +6 -6
- package/src/operations/backupVaultOperationResults.ts +1 -1
- package/src/operations/backupVaults.ts +112 -36
- package/src/operations/deletedBackupInstances.ts +21 -17
- package/src/operations/exportJobs.ts +22 -15
- 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 +70 -70
- package/src/operationsInterfaces/backupPolicies.ts +4 -4
- package/src/operationsInterfaces/backupVaultOperationResults.ts +1 -1
- package/src/operationsInterfaces/backupVaults.ts +25 -14
- package/src/operationsInterfaces/deletedBackupInstances.ts +6 -6
- package/src/operationsInterfaces/exportJobs.ts +5 -5
- 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 +225 -322
- package/types/tsdoc-metadata.json +1 -1
- 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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
BackupInstanceResource,
|
|
13
13
|
BackupInstancesListOptionalParams,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
export interface BackupInstances {
|
|
47
47
|
/**
|
|
48
48
|
* Gets a backup instances belonging to a backup vault
|
|
49
|
-
* @param resourceGroupName The name of the resource group
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
50
|
* @param vaultName The name of the backup vault.
|
|
51
51
|
* @param options The options parameters.
|
|
52
52
|
*/
|
|
@@ -57,9 +57,9 @@ export interface BackupInstances {
|
|
|
57
57
|
): PagedAsyncIterableIterator<BackupInstanceResource>;
|
|
58
58
|
/**
|
|
59
59
|
* Gets a backup instance with name in a backup vault
|
|
60
|
-
* @param resourceGroupName The name of the resource group
|
|
60
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
61
|
* @param vaultName The name of the backup vault.
|
|
62
|
-
* @param backupInstanceName The name of the backup instance
|
|
62
|
+
* @param backupInstanceName The name of the backup instance.
|
|
63
63
|
* @param options The options parameters.
|
|
64
64
|
*/
|
|
65
65
|
get(
|
|
@@ -70,9 +70,9 @@ export interface BackupInstances {
|
|
|
70
70
|
): Promise<BackupInstancesGetResponse>;
|
|
71
71
|
/**
|
|
72
72
|
* Create or update a backup instance in a backup vault
|
|
73
|
-
* @param resourceGroupName The name of the resource group
|
|
73
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
74
|
* @param vaultName The name of the backup vault.
|
|
75
|
-
* @param backupInstanceName The name of the backup instance
|
|
75
|
+
* @param backupInstanceName The name of the backup instance.
|
|
76
76
|
* @param parameters Request body for operation
|
|
77
77
|
* @param options The options parameters.
|
|
78
78
|
*/
|
|
@@ -83,16 +83,16 @@ export interface BackupInstances {
|
|
|
83
83
|
parameters: BackupInstanceResource,
|
|
84
84
|
options?: BackupInstancesCreateOrUpdateOptionalParams
|
|
85
85
|
): Promise<
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
SimplePollerLike<
|
|
87
|
+
OperationState<BackupInstancesCreateOrUpdateResponse>,
|
|
88
88
|
BackupInstancesCreateOrUpdateResponse
|
|
89
89
|
>
|
|
90
90
|
>;
|
|
91
91
|
/**
|
|
92
92
|
* Create or update a backup instance in a backup vault
|
|
93
|
-
* @param resourceGroupName The name of the resource group
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
94
|
* @param vaultName The name of the backup vault.
|
|
95
|
-
* @param backupInstanceName The name of the backup instance
|
|
95
|
+
* @param backupInstanceName The name of the backup instance.
|
|
96
96
|
* @param parameters Request body for operation
|
|
97
97
|
* @param options The options parameters.
|
|
98
98
|
*/
|
|
@@ -105,9 +105,9 @@ export interface BackupInstances {
|
|
|
105
105
|
): Promise<BackupInstancesCreateOrUpdateResponse>;
|
|
106
106
|
/**
|
|
107
107
|
* Delete a backup instance in a backup vault
|
|
108
|
-
* @param resourceGroupName The name of the resource group
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
109
|
* @param vaultName The name of the backup vault.
|
|
110
|
-
* @param backupInstanceName The name of the backup instance
|
|
110
|
+
* @param backupInstanceName The name of the backup instance.
|
|
111
111
|
* @param options The options parameters.
|
|
112
112
|
*/
|
|
113
113
|
beginDelete(
|
|
@@ -115,12 +115,12 @@ export interface BackupInstances {
|
|
|
115
115
|
vaultName: string,
|
|
116
116
|
backupInstanceName: string,
|
|
117
117
|
options?: BackupInstancesDeleteOptionalParams
|
|
118
|
-
): Promise<
|
|
118
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
119
119
|
/**
|
|
120
120
|
* Delete a backup instance in a backup vault
|
|
121
|
-
* @param resourceGroupName The name of the resource group
|
|
121
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
122
122
|
* @param vaultName The name of the backup vault.
|
|
123
|
-
* @param backupInstanceName The name of the backup instance
|
|
123
|
+
* @param backupInstanceName The name of the backup instance.
|
|
124
124
|
* @param options The options parameters.
|
|
125
125
|
*/
|
|
126
126
|
beginDeleteAndWait(
|
|
@@ -131,9 +131,9 @@ export interface BackupInstances {
|
|
|
131
131
|
): Promise<void>;
|
|
132
132
|
/**
|
|
133
133
|
* Trigger adhoc backup
|
|
134
|
-
* @param resourceGroupName The name of the resource group
|
|
134
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
135
135
|
* @param vaultName The name of the backup vault.
|
|
136
|
-
* @param backupInstanceName The name of the backup instance
|
|
136
|
+
* @param backupInstanceName The name of the backup instance.
|
|
137
137
|
* @param parameters Request body for operation
|
|
138
138
|
* @param options The options parameters.
|
|
139
139
|
*/
|
|
@@ -144,16 +144,16 @@ export interface BackupInstances {
|
|
|
144
144
|
parameters: TriggerBackupRequest,
|
|
145
145
|
options?: BackupInstancesAdhocBackupOptionalParams
|
|
146
146
|
): Promise<
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
SimplePollerLike<
|
|
148
|
+
OperationState<BackupInstancesAdhocBackupResponse>,
|
|
149
149
|
BackupInstancesAdhocBackupResponse
|
|
150
150
|
>
|
|
151
151
|
>;
|
|
152
152
|
/**
|
|
153
153
|
* Trigger adhoc backup
|
|
154
|
-
* @param resourceGroupName The name of the resource group
|
|
154
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
155
155
|
* @param vaultName The name of the backup vault.
|
|
156
|
-
* @param backupInstanceName The name of the backup instance
|
|
156
|
+
* @param backupInstanceName The name of the backup instance.
|
|
157
157
|
* @param parameters Request body for operation
|
|
158
158
|
* @param options The options parameters.
|
|
159
159
|
*/
|
|
@@ -166,7 +166,7 @@ export interface BackupInstances {
|
|
|
166
166
|
): Promise<BackupInstancesAdhocBackupResponse>;
|
|
167
167
|
/**
|
|
168
168
|
* Validate whether adhoc backup will be successful or not
|
|
169
|
-
* @param resourceGroupName The name of the resource group
|
|
169
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
170
170
|
* @param vaultName The name of the backup vault.
|
|
171
171
|
* @param parameters Request body for operation
|
|
172
172
|
* @param options The options parameters.
|
|
@@ -177,14 +177,14 @@ export interface BackupInstances {
|
|
|
177
177
|
parameters: ValidateForBackupRequest,
|
|
178
178
|
options?: BackupInstancesValidateForBackupOptionalParams
|
|
179
179
|
): Promise<
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
SimplePollerLike<
|
|
181
|
+
OperationState<BackupInstancesValidateForBackupResponse>,
|
|
182
182
|
BackupInstancesValidateForBackupResponse
|
|
183
183
|
>
|
|
184
184
|
>;
|
|
185
185
|
/**
|
|
186
186
|
* Validate whether adhoc backup will be successful or not
|
|
187
|
-
* @param resourceGroupName The name of the resource group
|
|
187
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
188
188
|
* @param vaultName The name of the backup vault.
|
|
189
189
|
* @param parameters Request body for operation
|
|
190
190
|
* @param options The options parameters.
|
|
@@ -197,9 +197,9 @@ export interface BackupInstances {
|
|
|
197
197
|
): Promise<BackupInstancesValidateForBackupResponse>;
|
|
198
198
|
/**
|
|
199
199
|
* Get result of backup instance creation operation
|
|
200
|
-
* @param resourceGroupName The name of the resource group
|
|
200
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
201
201
|
* @param vaultName The name of the backup vault.
|
|
202
|
-
* @param backupInstanceName
|
|
202
|
+
* @param backupInstanceName The name of the backup instance.
|
|
203
203
|
* @param operationId
|
|
204
204
|
* @param options The options parameters.
|
|
205
205
|
*/
|
|
@@ -212,9 +212,9 @@ export interface BackupInstances {
|
|
|
212
212
|
): Promise<BackupInstancesGetBackupInstanceOperationResultResponse>;
|
|
213
213
|
/**
|
|
214
214
|
* rehydrate recovery point for restore for a BackupInstance
|
|
215
|
-
* @param resourceGroupName The name of the resource group
|
|
215
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
216
216
|
* @param vaultName The name of the backup vault.
|
|
217
|
-
* @param backupInstanceName
|
|
217
|
+
* @param backupInstanceName The name of the backup instance.
|
|
218
218
|
* @param parameters Request body for operation
|
|
219
219
|
* @param options The options parameters.
|
|
220
220
|
*/
|
|
@@ -225,16 +225,16 @@ export interface BackupInstances {
|
|
|
225
225
|
parameters: AzureBackupRehydrationRequest,
|
|
226
226
|
options?: BackupInstancesTriggerRehydrateOptionalParams
|
|
227
227
|
): Promise<
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
SimplePollerLike<
|
|
229
|
+
OperationState<BackupInstancesTriggerRehydrateResponse>,
|
|
230
230
|
BackupInstancesTriggerRehydrateResponse
|
|
231
231
|
>
|
|
232
232
|
>;
|
|
233
233
|
/**
|
|
234
234
|
* rehydrate recovery point for restore for a BackupInstance
|
|
235
|
-
* @param resourceGroupName The name of the resource group
|
|
235
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
236
236
|
* @param vaultName The name of the backup vault.
|
|
237
|
-
* @param backupInstanceName
|
|
237
|
+
* @param backupInstanceName The name of the backup instance.
|
|
238
238
|
* @param parameters Request body for operation
|
|
239
239
|
* @param options The options parameters.
|
|
240
240
|
*/
|
|
@@ -247,9 +247,9 @@ export interface BackupInstances {
|
|
|
247
247
|
): Promise<BackupInstancesTriggerRehydrateResponse>;
|
|
248
248
|
/**
|
|
249
249
|
* Triggers restore for a BackupInstance
|
|
250
|
-
* @param resourceGroupName The name of the resource group
|
|
250
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
251
251
|
* @param vaultName The name of the backup vault.
|
|
252
|
-
* @param backupInstanceName The name of the backup instance
|
|
252
|
+
* @param backupInstanceName The name of the backup instance.
|
|
253
253
|
* @param parameters Request body for operation
|
|
254
254
|
* @param options The options parameters.
|
|
255
255
|
*/
|
|
@@ -260,16 +260,16 @@ export interface BackupInstances {
|
|
|
260
260
|
parameters: AzureBackupRestoreRequestUnion,
|
|
261
261
|
options?: BackupInstancesTriggerRestoreOptionalParams
|
|
262
262
|
): Promise<
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
SimplePollerLike<
|
|
264
|
+
OperationState<BackupInstancesTriggerRestoreResponse>,
|
|
265
265
|
BackupInstancesTriggerRestoreResponse
|
|
266
266
|
>
|
|
267
267
|
>;
|
|
268
268
|
/**
|
|
269
269
|
* Triggers restore for a BackupInstance
|
|
270
|
-
* @param resourceGroupName The name of the resource group
|
|
270
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
271
271
|
* @param vaultName The name of the backup vault.
|
|
272
|
-
* @param backupInstanceName The name of the backup instance
|
|
272
|
+
* @param backupInstanceName The name of the backup instance.
|
|
273
273
|
* @param parameters Request body for operation
|
|
274
274
|
* @param options The options parameters.
|
|
275
275
|
*/
|
|
@@ -282,9 +282,9 @@ export interface BackupInstances {
|
|
|
282
282
|
): Promise<BackupInstancesTriggerRestoreResponse>;
|
|
283
283
|
/**
|
|
284
284
|
* This operation will resume backups for backup instance
|
|
285
|
-
* @param resourceGroupName The name of the resource group
|
|
285
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
286
286
|
* @param vaultName The name of the backup vault.
|
|
287
|
-
* @param backupInstanceName
|
|
287
|
+
* @param backupInstanceName The name of the backup instance.
|
|
288
288
|
* @param options The options parameters.
|
|
289
289
|
*/
|
|
290
290
|
beginResumeBackups(
|
|
@@ -292,12 +292,12 @@ export interface BackupInstances {
|
|
|
292
292
|
vaultName: string,
|
|
293
293
|
backupInstanceName: string,
|
|
294
294
|
options?: BackupInstancesResumeBackupsOptionalParams
|
|
295
|
-
): Promise<
|
|
295
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
296
296
|
/**
|
|
297
297
|
* This operation will resume backups for backup instance
|
|
298
|
-
* @param resourceGroupName The name of the resource group
|
|
298
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
299
299
|
* @param vaultName The name of the backup vault.
|
|
300
|
-
* @param backupInstanceName
|
|
300
|
+
* @param backupInstanceName The name of the backup instance.
|
|
301
301
|
* @param options The options parameters.
|
|
302
302
|
*/
|
|
303
303
|
beginResumeBackupsAndWait(
|
|
@@ -308,9 +308,9 @@ export interface BackupInstances {
|
|
|
308
308
|
): Promise<void>;
|
|
309
309
|
/**
|
|
310
310
|
* This operation will resume protection for a stopped backup instance
|
|
311
|
-
* @param resourceGroupName The name of the resource group
|
|
311
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
312
312
|
* @param vaultName The name of the backup vault.
|
|
313
|
-
* @param backupInstanceName
|
|
313
|
+
* @param backupInstanceName The name of the backup instance.
|
|
314
314
|
* @param options The options parameters.
|
|
315
315
|
*/
|
|
316
316
|
beginResumeProtection(
|
|
@@ -318,12 +318,12 @@ export interface BackupInstances {
|
|
|
318
318
|
vaultName: string,
|
|
319
319
|
backupInstanceName: string,
|
|
320
320
|
options?: BackupInstancesResumeProtectionOptionalParams
|
|
321
|
-
): Promise<
|
|
321
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
322
322
|
/**
|
|
323
323
|
* This operation will resume protection for a stopped backup instance
|
|
324
|
-
* @param resourceGroupName The name of the resource group
|
|
324
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
325
325
|
* @param vaultName The name of the backup vault.
|
|
326
|
-
* @param backupInstanceName
|
|
326
|
+
* @param backupInstanceName The name of the backup instance.
|
|
327
327
|
* @param options The options parameters.
|
|
328
328
|
*/
|
|
329
329
|
beginResumeProtectionAndWait(
|
|
@@ -334,9 +334,9 @@ export interface BackupInstances {
|
|
|
334
334
|
): Promise<void>;
|
|
335
335
|
/**
|
|
336
336
|
* This operation will stop protection of a backup instance and data will be held forever
|
|
337
|
-
* @param resourceGroupName The name of the resource group
|
|
337
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
338
338
|
* @param vaultName The name of the backup vault.
|
|
339
|
-
* @param backupInstanceName
|
|
339
|
+
* @param backupInstanceName The name of the backup instance.
|
|
340
340
|
* @param options The options parameters.
|
|
341
341
|
*/
|
|
342
342
|
beginStopProtection(
|
|
@@ -344,12 +344,12 @@ export interface BackupInstances {
|
|
|
344
344
|
vaultName: string,
|
|
345
345
|
backupInstanceName: string,
|
|
346
346
|
options?: BackupInstancesStopProtectionOptionalParams
|
|
347
|
-
): Promise<
|
|
347
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
348
348
|
/**
|
|
349
349
|
* This operation will stop protection of a backup instance and data will be held forever
|
|
350
|
-
* @param resourceGroupName The name of the resource group
|
|
350
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
351
351
|
* @param vaultName The name of the backup vault.
|
|
352
|
-
* @param backupInstanceName
|
|
352
|
+
* @param backupInstanceName The name of the backup instance.
|
|
353
353
|
* @param options The options parameters.
|
|
354
354
|
*/
|
|
355
355
|
beginStopProtectionAndWait(
|
|
@@ -361,9 +361,9 @@ export interface BackupInstances {
|
|
|
361
361
|
/**
|
|
362
362
|
* This operation will stop backup for a backup instance and retains the backup data as per the policy
|
|
363
363
|
* (except latest Recovery point, which will be retained forever)
|
|
364
|
-
* @param resourceGroupName The name of the resource group
|
|
364
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
365
365
|
* @param vaultName The name of the backup vault.
|
|
366
|
-
* @param backupInstanceName
|
|
366
|
+
* @param backupInstanceName The name of the backup instance.
|
|
367
367
|
* @param options The options parameters.
|
|
368
368
|
*/
|
|
369
369
|
beginSuspendBackups(
|
|
@@ -371,13 +371,13 @@ export interface BackupInstances {
|
|
|
371
371
|
vaultName: string,
|
|
372
372
|
backupInstanceName: string,
|
|
373
373
|
options?: BackupInstancesSuspendBackupsOptionalParams
|
|
374
|
-
): Promise<
|
|
374
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
375
375
|
/**
|
|
376
376
|
* This operation will stop backup for a backup instance and retains the backup data as per the policy
|
|
377
377
|
* (except latest Recovery point, which will be retained forever)
|
|
378
|
-
* @param resourceGroupName The name of the resource group
|
|
378
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
379
379
|
* @param vaultName The name of the backup vault.
|
|
380
|
-
* @param backupInstanceName
|
|
380
|
+
* @param backupInstanceName The name of the backup instance.
|
|
381
381
|
* @param options The options parameters.
|
|
382
382
|
*/
|
|
383
383
|
beginSuspendBackupsAndWait(
|
|
@@ -389,9 +389,9 @@ export interface BackupInstances {
|
|
|
389
389
|
/**
|
|
390
390
|
* Sync backup instance again in case of failure
|
|
391
391
|
* This action will retry last failed operation and will bring backup instance to valid state
|
|
392
|
-
* @param resourceGroupName The name of the resource group
|
|
392
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
393
393
|
* @param vaultName The name of the backup vault.
|
|
394
|
-
* @param backupInstanceName
|
|
394
|
+
* @param backupInstanceName The name of the backup instance.
|
|
395
395
|
* @param parameters Request body for operation
|
|
396
396
|
* @param options The options parameters.
|
|
397
397
|
*/
|
|
@@ -401,13 +401,13 @@ export interface BackupInstances {
|
|
|
401
401
|
backupInstanceName: string,
|
|
402
402
|
parameters: SyncBackupInstanceRequest,
|
|
403
403
|
options?: BackupInstancesSyncBackupInstanceOptionalParams
|
|
404
|
-
): Promise<
|
|
404
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
405
405
|
/**
|
|
406
406
|
* Sync backup instance again in case of failure
|
|
407
407
|
* This action will retry last failed operation and will bring backup instance to valid state
|
|
408
|
-
* @param resourceGroupName The name of the resource group
|
|
408
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
409
409
|
* @param vaultName The name of the backup vault.
|
|
410
|
-
* @param backupInstanceName
|
|
410
|
+
* @param backupInstanceName The name of the backup instance.
|
|
411
411
|
* @param parameters Request body for operation
|
|
412
412
|
* @param options The options parameters.
|
|
413
413
|
*/
|
|
@@ -420,9 +420,9 @@ export interface BackupInstances {
|
|
|
420
420
|
): Promise<void>;
|
|
421
421
|
/**
|
|
422
422
|
* Validates if Restore can be triggered for a DataSource
|
|
423
|
-
* @param resourceGroupName The name of the resource group
|
|
423
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
424
424
|
* @param vaultName The name of the backup vault.
|
|
425
|
-
* @param backupInstanceName The name of the backup instance
|
|
425
|
+
* @param backupInstanceName The name of the backup instance.
|
|
426
426
|
* @param parameters Request body for operation
|
|
427
427
|
* @param options The options parameters.
|
|
428
428
|
*/
|
|
@@ -433,16 +433,16 @@ export interface BackupInstances {
|
|
|
433
433
|
parameters: ValidateRestoreRequestObject,
|
|
434
434
|
options?: BackupInstancesValidateForRestoreOptionalParams
|
|
435
435
|
): Promise<
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
SimplePollerLike<
|
|
437
|
+
OperationState<BackupInstancesValidateForRestoreResponse>,
|
|
438
438
|
BackupInstancesValidateForRestoreResponse
|
|
439
439
|
>
|
|
440
440
|
>;
|
|
441
441
|
/**
|
|
442
442
|
* Validates if Restore can be triggered for a DataSource
|
|
443
|
-
* @param resourceGroupName The name of the resource group
|
|
443
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
444
444
|
* @param vaultName The name of the backup vault.
|
|
445
|
-
* @param backupInstanceName The name of the backup instance
|
|
445
|
+
* @param backupInstanceName The name of the backup instance.
|
|
446
446
|
* @param parameters Request body for operation
|
|
447
447
|
* @param options The options parameters.
|
|
448
448
|
*/
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
export interface BackupPolicies {
|
|
23
23
|
/**
|
|
24
24
|
* Returns list of backup policies belonging to a backup vault
|
|
25
|
-
* @param resourceGroupName The name of the resource group
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
26
|
* @param vaultName The name of the backup vault.
|
|
27
27
|
* @param options The options parameters.
|
|
28
28
|
*/
|
|
@@ -33,7 +33,7 @@ export interface BackupPolicies {
|
|
|
33
33
|
): PagedAsyncIterableIterator<BaseBackupPolicyResource>;
|
|
34
34
|
/**
|
|
35
35
|
* Gets a backup policy belonging to a backup vault
|
|
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 backupPolicyName
|
|
39
39
|
* @param options The options parameters.
|
|
@@ -46,7 +46,7 @@ export interface BackupPolicies {
|
|
|
46
46
|
): Promise<BackupPoliciesGetResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Creates or Updates a backup policy belonging to a backup vault
|
|
49
|
-
* @param resourceGroupName The name of the resource group
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
50
|
* @param vaultName The name of the backup vault.
|
|
51
51
|
* @param backupPolicyName Name of the policy
|
|
52
52
|
* @param parameters Request body for operation
|
|
@@ -61,7 +61,7 @@ export interface BackupPolicies {
|
|
|
61
61
|
): Promise<BackupPoliciesCreateOrUpdateResponse>;
|
|
62
62
|
/**
|
|
63
63
|
* Deletes a backup policy belonging to a backup vault
|
|
64
|
-
* @param resourceGroupName The name of the resource group
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
65
|
* @param vaultName The name of the backup vault.
|
|
66
66
|
* @param backupPolicyName
|
|
67
67
|
* @param options The options parameters.
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
/** Interface representing a BackupVaultOperationResults. */
|
|
15
15
|
export interface BackupVaultOperationResults {
|
|
16
16
|
/**
|
|
17
|
-
* @param resourceGroupName The name of the resource group
|
|
17
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
18
18
|
* @param vaultName The name of the backup vault.
|
|
19
19
|
* @param operationId
|
|
20
20
|
* @param options The options parameters.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
BackupVaultResource,
|
|
13
13
|
BackupVaultsGetInSubscriptionOptionalParams,
|
|
@@ -37,7 +37,7 @@ export interface BackupVaults {
|
|
|
37
37
|
): PagedAsyncIterableIterator<BackupVaultResource>;
|
|
38
38
|
/**
|
|
39
39
|
* Returns resource collection belonging to a resource group.
|
|
40
|
-
* @param resourceGroupName The name of the resource group
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
41
|
* @param options The options parameters.
|
|
42
42
|
*/
|
|
43
43
|
listInResourceGroup(
|
|
@@ -46,7 +46,7 @@ export interface BackupVaults {
|
|
|
46
46
|
): PagedAsyncIterableIterator<BackupVaultResource>;
|
|
47
47
|
/**
|
|
48
48
|
* Returns a resource belonging to a resource group.
|
|
49
|
-
* @param resourceGroupName The name of the resource group
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
50
|
* @param vaultName The name of the backup vault.
|
|
51
51
|
* @param options The options parameters.
|
|
52
52
|
*/
|
|
@@ -57,7 +57,7 @@ export interface BackupVaults {
|
|
|
57
57
|
): Promise<BackupVaultsGetResponse>;
|
|
58
58
|
/**
|
|
59
59
|
* Creates or updates a BackupVault resource belonging to a resource group.
|
|
60
|
-
* @param resourceGroupName The name of the resource group
|
|
60
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
61
|
* @param vaultName The name of the backup vault.
|
|
62
62
|
* @param parameters Request body for operation
|
|
63
63
|
* @param options The options parameters.
|
|
@@ -68,14 +68,14 @@ export interface BackupVaults {
|
|
|
68
68
|
parameters: BackupVaultResource,
|
|
69
69
|
options?: BackupVaultsCreateOrUpdateOptionalParams
|
|
70
70
|
): Promise<
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
SimplePollerLike<
|
|
72
|
+
OperationState<BackupVaultsCreateOrUpdateResponse>,
|
|
73
73
|
BackupVaultsCreateOrUpdateResponse
|
|
74
74
|
>
|
|
75
75
|
>;
|
|
76
76
|
/**
|
|
77
77
|
* Creates or updates a BackupVault resource belonging to a resource group.
|
|
78
|
-
* @param resourceGroupName The name of the resource group
|
|
78
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
79
|
* @param vaultName The name of the backup vault.
|
|
80
80
|
* @param parameters Request body for operation
|
|
81
81
|
* @param options The options parameters.
|
|
@@ -88,11 +88,22 @@ export interface BackupVaults {
|
|
|
88
88
|
): Promise<BackupVaultsCreateOrUpdateResponse>;
|
|
89
89
|
/**
|
|
90
90
|
* Deletes a BackupVault resource from the resource group.
|
|
91
|
-
* @param resourceGroupName The name of the resource group
|
|
91
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
92
|
* @param vaultName The name of the backup vault.
|
|
93
93
|
* @param options The options parameters.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
beginDelete(
|
|
96
|
+
resourceGroupName: string,
|
|
97
|
+
vaultName: string,
|
|
98
|
+
options?: BackupVaultsDeleteOptionalParams
|
|
99
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
100
|
+
/**
|
|
101
|
+
* Deletes a BackupVault resource from the resource group.
|
|
102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
|
+
* @param vaultName The name of the backup vault.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
beginDeleteAndWait(
|
|
96
107
|
resourceGroupName: string,
|
|
97
108
|
vaultName: string,
|
|
98
109
|
options?: BackupVaultsDeleteOptionalParams
|
|
@@ -100,7 +111,7 @@ export interface BackupVaults {
|
|
|
100
111
|
/**
|
|
101
112
|
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a
|
|
102
113
|
* resource.
|
|
103
|
-
* @param resourceGroupName The name of the resource group
|
|
114
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
104
115
|
* @param vaultName The name of the backup vault.
|
|
105
116
|
* @param parameters Request body for operation
|
|
106
117
|
* @param options The options parameters.
|
|
@@ -111,15 +122,15 @@ export interface BackupVaults {
|
|
|
111
122
|
parameters: PatchResourceRequestInput,
|
|
112
123
|
options?: BackupVaultsUpdateOptionalParams
|
|
113
124
|
): Promise<
|
|
114
|
-
|
|
115
|
-
|
|
125
|
+
SimplePollerLike<
|
|
126
|
+
OperationState<BackupVaultsUpdateResponse>,
|
|
116
127
|
BackupVaultsUpdateResponse
|
|
117
128
|
>
|
|
118
129
|
>;
|
|
119
130
|
/**
|
|
120
131
|
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a
|
|
121
132
|
* resource.
|
|
122
|
-
* @param resourceGroupName The name of the resource group
|
|
133
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
134
|
* @param vaultName The name of the backup vault.
|
|
124
135
|
* @param parameters Request body for operation
|
|
125
136
|
* @param options The options parameters.
|
|
@@ -132,7 +143,7 @@ export interface BackupVaults {
|
|
|
132
143
|
): Promise<BackupVaultsUpdateResponse>;
|
|
133
144
|
/**
|
|
134
145
|
* API to check for resource name availability
|
|
135
|
-
* @param resourceGroupName The name of the resource group
|
|
146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
136
147
|
* @param location The location in which uniqueness will be verified.
|
|
137
148
|
* @param parameters Check name availability request
|
|
138
149
|
* @param options The options parameters.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
11
|
import {
|
|
12
12
|
DeletedBackupInstanceResource,
|
|
13
13
|
DeletedBackupInstancesListOptionalParams,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
export interface DeletedBackupInstances {
|
|
22
22
|
/**
|
|
23
23
|
* Gets deleted backup instances belonging to a backup vault
|
|
24
|
-
* @param resourceGroupName The name of the resource group
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
25
|
* @param vaultName The name of the backup vault.
|
|
26
26
|
* @param options The options parameters.
|
|
27
27
|
*/
|
|
@@ -32,7 +32,7 @@ export interface DeletedBackupInstances {
|
|
|
32
32
|
): PagedAsyncIterableIterator<DeletedBackupInstanceResource>;
|
|
33
33
|
/**
|
|
34
34
|
* Gets a deleted backup instance with name in a backup vault
|
|
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 backupInstanceName The name of the deleted backup instance
|
|
38
38
|
* @param options The options parameters.
|
|
@@ -44,7 +44,7 @@ export interface DeletedBackupInstances {
|
|
|
44
44
|
options?: DeletedBackupInstancesGetOptionalParams
|
|
45
45
|
): Promise<DeletedBackupInstancesGetResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* @param resourceGroupName The name of the resource group
|
|
47
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
48
|
* @param vaultName The name of the backup vault.
|
|
49
49
|
* @param backupInstanceName The name of the deleted backup instance
|
|
50
50
|
* @param options The options parameters.
|
|
@@ -54,9 +54,9 @@ export interface DeletedBackupInstances {
|
|
|
54
54
|
vaultName: string,
|
|
55
55
|
backupInstanceName: string,
|
|
56
56
|
options?: DeletedBackupInstancesUndeleteOptionalParams
|
|
57
|
-
): Promise<
|
|
57
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
58
58
|
/**
|
|
59
|
-
* @param resourceGroupName The name of the resource group
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
60
|
* @param vaultName The name of the backup vault.
|
|
61
61
|
* @param backupInstanceName The name of the deleted backup instance
|
|
62
62
|
* @param options The options parameters.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
10
|
import {
|
|
11
11
|
ExportJobsTriggerOptionalParams,
|
|
12
12
|
ExportJobsTriggerResponse
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
export interface ExportJobs {
|
|
17
17
|
/**
|
|
18
18
|
* Triggers export of jobs and returns an OperationID to track.
|
|
19
|
-
* @param resourceGroupName The name of the resource group
|
|
19
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
20
|
* @param vaultName The name of the backup vault.
|
|
21
21
|
* @param options The options parameters.
|
|
22
22
|
*/
|
|
@@ -25,14 +25,14 @@ export interface ExportJobs {
|
|
|
25
25
|
vaultName: string,
|
|
26
26
|
options?: ExportJobsTriggerOptionalParams
|
|
27
27
|
): Promise<
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
SimplePollerLike<
|
|
29
|
+
OperationState<ExportJobsTriggerResponse>,
|
|
30
30
|
ExportJobsTriggerResponse
|
|
31
31
|
>
|
|
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
|
*/
|
|
@@ -17,7 +17,7 @@ export interface ExportJobsOperationResult {
|
|
|
17
17
|
* Gets the operation result of operation triggered by Export Jobs API. If the operation is successful,
|
|
18
18
|
* then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported
|
|
19
19
|
* jobs in JSON serialized format.
|
|
20
|
-
* @param resourceGroupName The name of the resource group
|
|
20
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
21
21
|
* @param vaultName The name of the backup vault.
|
|
22
22
|
* @param operationId OperationID which represents the export job.
|
|
23
23
|
* @param options The options parameters.
|