@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
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Trigger adhoc backup
|
|
17
17
|
*
|
|
18
18
|
* @summary Trigger adhoc backup
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/TriggerBackup.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerAdhocBackup() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or update a backup instance in a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or update a backup instance in a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/PutBackupInstance.json
|
|
20
20
|
*/
|
|
21
21
|
function createBackupInstance() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete a backup instance in a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete a backup instance in a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/DeleteBackupInstance.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteBackupInstance() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get result of backup instance creation operation
|
|
17
17
|
*
|
|
18
18
|
* @summary Get result of backup instance creation operation
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/GetBackupInstanceOperationResult.json
|
|
20
20
|
*/
|
|
21
21
|
function getBackupInstanceOperationResult() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a backup instance with name in a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a backup instance with name in a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/GetBackupInstance.json
|
|
20
20
|
*/
|
|
21
21
|
function getBackupInstance() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a backup instances belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a backup instances belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/ListBackupInstances.json
|
|
20
20
|
*/
|
|
21
21
|
function listBackupInstancesInAVault() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This operation will resume backups for backup instance
|
|
17
17
|
*
|
|
18
18
|
* @summary This operation will resume backups for backup instance
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/ResumeBackups.json
|
|
20
20
|
*/
|
|
21
21
|
function resumeBackups() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This operation will resume protection for a stopped backup instance
|
|
17
17
|
*
|
|
18
18
|
* @summary This operation will resume protection for a stopped backup instance
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/ResumeProtection.json
|
|
20
20
|
*/
|
|
21
21
|
function resumeProtection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This operation will stop protection of a backup instance and data will be held forever
|
|
17
17
|
*
|
|
18
18
|
* @summary This operation will stop protection of a backup instance and data will be held forever
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/StopProtection.json
|
|
20
20
|
*/
|
|
21
21
|
function stopProtection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever)
|
|
17
17
|
*
|
|
18
18
|
* @summary This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever)
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/SuspendBackups.json
|
|
20
20
|
*/
|
|
21
21
|
function suspendBackups() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -18,7 +18,7 @@ This action will retry last failed operation and will bring backup instance to v
|
|
|
18
18
|
*
|
|
19
19
|
* @summary Sync backup instance again in case of failure
|
|
20
20
|
This action will retry last failed operation and will bring backup instance to valid state
|
|
21
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
21
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/SyncBackupInstance.json
|
|
22
22
|
*/
|
|
23
23
|
function syncBackupInstance() {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to rehydrate recovery point for restore for a BackupInstance
|
|
17
17
|
*
|
|
18
18
|
* @summary rehydrate recovery point for restore for a BackupInstance
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/TriggerRehydrate.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerRehydrate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Triggers restore for a BackupInstance
|
|
17
17
|
*
|
|
18
18
|
* @summary Triggers restore for a BackupInstance
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/TriggerRestore.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerRestore() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -71,7 +71,7 @@ function triggerRestore() {
|
|
|
71
71
|
* This sample demonstrates how to Triggers restore for a BackupInstance
|
|
72
72
|
*
|
|
73
73
|
* @summary Triggers restore for a BackupInstance
|
|
74
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
74
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/TriggerRestoreAsFiles.json
|
|
75
75
|
*/
|
|
76
76
|
function triggerRestoreAsFiles() {
|
|
77
77
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -106,7 +106,7 @@ function triggerRestoreAsFiles() {
|
|
|
106
106
|
* This sample demonstrates how to Triggers restore for a BackupInstance
|
|
107
107
|
*
|
|
108
108
|
* @summary Triggers restore for a BackupInstance
|
|
109
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
109
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/TriggerRestoreWithRehydration.json
|
|
110
110
|
*/
|
|
111
111
|
function triggerRestoreWithRehydration() {
|
|
112
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Validate whether adhoc backup will be successful or not
|
|
17
17
|
*
|
|
18
18
|
* @summary Validate whether adhoc backup will be successful or not
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/ValidateForBackup.json
|
|
20
20
|
*/
|
|
21
21
|
function validateForBackup() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Validates if Restore can be triggered for a DataSource
|
|
17
17
|
*
|
|
18
18
|
* @summary Validates if Restore can be triggered for a DataSource
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/ValidateRestore.json
|
|
20
20
|
*/
|
|
21
21
|
function validateRestore() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates or Updates a backup policy belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates or Updates a backup policy belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/PolicyCRUD/CreateOrUpdateBackupPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function createOrUpdateBackupPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a backup policy belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a backup policy belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/PolicyCRUD/DeleteBackupPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteBackupPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a backup policy belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a backup policy belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/PolicyCRUD/GetBackupPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function getBackupPolicy() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns list of backup policies belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns list of backup policies belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/PolicyCRUD/ListBackupPolicy.json
|
|
20
20
|
*/
|
|
21
21
|
function listBackupPolicy() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to
|
|
17
17
|
*
|
|
18
18
|
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/GetOperationResultPatch.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationResultPatch() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to API to check for resource name availability
|
|
17
17
|
*
|
|
18
18
|
* @summary API to check for resource name availability
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/CheckBackupVaultsNameAvailability.json
|
|
20
20
|
*/
|
|
21
21
|
function checkBackupVaultsNameAvailability() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates or updates a BackupVault resource belonging to a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates or updates a BackupVault resource belonging to a resource group.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/PutBackupVault.json
|
|
20
20
|
*/
|
|
21
21
|
function createBackupVault() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -47,7 +47,7 @@ function createBackupVault() {
|
|
|
47
47
|
* This sample demonstrates how to Creates or updates a BackupVault resource belonging to a resource group.
|
|
48
48
|
*
|
|
49
49
|
* @summary Creates or updates a BackupVault resource belonging to a resource group.
|
|
50
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
50
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/PutBackupVaultWithMSI.json
|
|
51
51
|
*/
|
|
52
52
|
function createBackupVaultWithMsi() {
|
|
53
53
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a BackupVault resource from the resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a BackupVault resource from the resource group.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/DeleteBackupVault.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteBackupVault() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,7 +26,7 @@ function deleteBackupVault() {
|
|
|
26
26
|
const vaultName = "swaggerExample";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
28
28
|
const client = new DataProtectionClient(credential, subscriptionId);
|
|
29
|
-
const result = yield client.backupVaults.
|
|
29
|
+
const result = yield client.backupVaults.beginDeleteAndWait(resourceGroupName, vaultName);
|
|
30
30
|
console.log(result);
|
|
31
31
|
});
|
|
32
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backupVaultsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/backupVaultsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,qBAAqB,CAAC;QACxE,MAAM,SAAS,GAAG,gBAAgB,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"backupVaultsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/backupVaultsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,IAAI,qBAAqB,CAAC;QACxE,MAAM,SAAS,GAAG,gBAAgB,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,SAAS,CACV,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;IACtB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns resource collection belonging to a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns resource collection belonging to a resource group.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/GetBackupVaultsInResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function getBackupVaultsInResourceGroup() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns resource collection belonging to a subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns resource collection belonging to a subscription.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/GetBackupVaultsInSubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function getBackupVaultsInSubscription() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns a resource belonging to a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns a resource belonging to a resource group.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/GetBackupVault.json
|
|
20
20
|
*/
|
|
21
21
|
function getBackupVault() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function getBackupVault() {
|
|
|
34
34
|
* This sample demonstrates how to Returns a resource belonging to a resource group.
|
|
35
35
|
*
|
|
36
36
|
* @summary Returns a resource belonging to a resource group.
|
|
37
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
37
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/GetBackupVaultWithMSI.json
|
|
38
38
|
*/
|
|
39
39
|
function getBackupVaultWithMsi() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/VaultCRUD/PatchBackupVault.json
|
|
20
20
|
*/
|
|
21
21
|
function patchBackupVault() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Validates if a feature is supported
|
|
17
17
|
*
|
|
18
18
|
* @summary Validates if a feature is supported
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/CheckfeatureSupport.json
|
|
20
20
|
*/
|
|
21
21
|
function checkAzureVMBackupFeatureSupport() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns the list of available operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns the list of available operations.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/Operations/List.json
|
|
20
20
|
*/
|
|
21
21
|
function returnsTheListOfSupportedRestOperations() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a deleted backup instance with name in a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a deleted backup instance with name in a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/DeletedBackupInstanceOperations/GetDeletedBackupInstance.json
|
|
20
20
|
*/
|
|
21
21
|
function getDeletedBackupInstance() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets deleted backup instances belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets deleted backup instances belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/DeletedBackupInstanceOperations/ListDeletedBackupInstances.json
|
|
20
20
|
*/
|
|
21
21
|
function listDeletedBackupInstancesInAVault() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to
|
|
17
17
|
*
|
|
18
18
|
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/DeletedBackupInstanceOperations/UndeleteDeletedBackupInstance.json
|
|
20
20
|
*/
|
|
21
21
|
function undeleteDeletedBackupInstance() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/JobCRUD/GetExportJobsOperationResult.json
|
|
20
20
|
*/
|
|
21
21
|
function getExportJobsOperationResult() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Triggers export of jobs and returns an OperationID to track.
|
|
17
17
|
*
|
|
18
18
|
* @summary Triggers export of jobs and returns an OperationID to track.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/JobCRUD/TriggerExportJobs.json
|
|
20
20
|
*/
|
|
21
21
|
function triggerExportJobs() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a job with id in a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a job with id in a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/JobCRUD/GetJob.json
|
|
20
20
|
*/
|
|
21
21
|
function getJob() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns list of jobs belonging to a backup vault
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns list of jobs belonging to a backup vault
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/JobCRUD/ListJobs.json
|
|
20
20
|
*/
|
|
21
21
|
function getJobs() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the operation result for a resource
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the operation result for a resource
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/GetOperationResult.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationResult() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the operation status for an operation over a BackupVault's context.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the operation status for an operation over a BackupVault's context.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/GetOperationStatusVaultContext.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationStatus() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the operation status for a resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the operation status for a resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/GetOperationStatus.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationStatus() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the operation status for an operation over a ResourceGroup's context.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the operation status for an operation over a ResourceGroup's context.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/GetOperationStatusRGContext.json
|
|
20
20
|
*/
|
|
21
21
|
function getOperationStatus() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a Recovery Point using recoveryPointId for a Datasource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a Recovery Point using recoveryPointId for a Datasource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/GetRecoveryPoint.json
|
|
20
20
|
*/
|
|
21
21
|
function getRecoveryPoint() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns a list of Recovery Points for a DataSource in a vault.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns a list of Recovery Points for a DataSource in a vault.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/BackupInstanceOperations/ListRecoveryPoints.json
|
|
20
20
|
*/
|
|
21
21
|
function listRecoveryPointsInAVault() {
|
|
22
22
|
var e_1, _a;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a ResourceGuard resource from the resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a ResourceGuard resource from the resource group.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/DeleteResourceGuard.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteResourceGuard() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/ListBackupSecurityPINRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function listOperationsRequestObject() {
|
|
22
22
|
var e_1, _a;
|
package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetDefaultBackupSecurityPINRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function getDefaultOperationsRequestObject() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetDefaultDeleteProtectedItemRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function getDefaultOperationsRequestObject() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetDefaultDeleteResourceGuardProxyRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function getDefaultOperationsRequestObject() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetDefaultDisableSoftDeleteRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function getDefaultOperationsRequestObject() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectedItemRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function getDefaultOperationsRequestObject() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/GetDefaultUpdateProtectionPolicyRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function getDefaultOperationsRequestObject() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/
|
|
19
|
+
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-01-01/examples/ResourceGuardCRUD/ListDeleteProtectedItemRequests.json
|
|
20
20
|
*/
|
|
21
21
|
function listOperationsRequestObject() {
|
|
22
22
|
var e_1, _a;
|