@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backupInstancesExtensionRoutingListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/backupInstancesExtensionRoutingListSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { DataProtectionClient } from "@azure/arm-dataprotection";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Gets a list backup instances associated with a tracked resource
|
|
17
|
-
*
|
|
18
|
-
* @summary Gets a list backup instances associated with a tracked resource
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/BackupInstanceOperations/ListBackupInstancesExtensionRouting.json
|
|
20
|
-
*/
|
|
21
|
-
function listBackupInstancesAssociatedWithAnAzureResource() {
|
|
22
|
-
var e_1, _a;
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const subscriptionId = process.env["DATAPROTECTION_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"00000000-0000-0000-0000-000000000000";
|
|
26
|
-
const resourceId = "subscriptions/36d32b25-3dc7-41b0-bde1-397500644591/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new DataProtectionClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _b = __asyncValues(client.backupInstancesExtensionRouting.list(resourceId)), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
-
let item = _c.value;
|
|
33
|
-
resArray.push(item);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
-
finally {
|
|
38
|
-
try {
|
|
39
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
-
}
|
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
|
42
|
-
}
|
|
43
|
-
console.log(resArray);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
function main() {
|
|
47
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
-
listBackupInstancesAssociatedWithAnAzureResource();
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
main().catch(console.error);
|
|
52
|
-
//# sourceMappingURL=backupInstancesExtensionRoutingListSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backupInstancesExtensionRoutingListSample.js","sourceRoot":"","sources":["../../samples-dev/backupInstancesExtensionRoutingListSample.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,gDAAgD;;;QAC7D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;YAC7C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GACd,qHAAqH,CAAC;QACxH,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,+BAA+B,CAAC,IAAI,CAChE,UAAU,CACX,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,gDAAgD,EAAE,CAAC;IACrD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { DataProtectionClient } from "@azure/arm-dataprotection";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to
|
|
17
|
-
*
|
|
18
|
-
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json
|
|
20
|
-
*/
|
|
21
|
-
function deleteResourceGuardProxy() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["DATAPROTECTION_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"5e13b949-1218-4d18-8b99-7e12155ec4f7";
|
|
25
|
-
const resourceGroupName = process.env["DATAPROTECTION_RESOURCE_GROUP"] || "SampleResourceGroup";
|
|
26
|
-
const vaultName = "sampleVault";
|
|
27
|
-
const resourceGuardProxyName = "swaggerExample";
|
|
28
|
-
const credential = new DefaultAzureCredential();
|
|
29
|
-
const client = new DataProtectionClient(credential, subscriptionId);
|
|
30
|
-
const result = yield client.dppResourceGuardProxy.delete(resourceGroupName, vaultName, resourceGuardProxyName);
|
|
31
|
-
console.log(result);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function main() {
|
|
35
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
-
deleteResourceGuardProxy();
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
main().catch(console.error);
|
|
40
|
-
//# sourceMappingURL=dppResourceGuardProxyDeleteSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyDeleteSample.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,wBAAwB;;QACrC,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,aAAa,CAAC;QAChC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;QAChD,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,qBAAqB,CAAC,MAAM,CACtD,iBAAiB,EACjB,SAAS,EACT,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { DataProtectionClient } from "@azure/arm-dataprotection";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to
|
|
17
|
-
*
|
|
18
|
-
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json
|
|
20
|
-
*/
|
|
21
|
-
function getResourceGuardProxy() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["DATAPROTECTION_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"5e13b949-1218-4d18-8b99-7e12155ec4f7";
|
|
25
|
-
const resourceGroupName = process.env["DATAPROTECTION_RESOURCE_GROUP"] || "SampleResourceGroup";
|
|
26
|
-
const vaultName = "sampleVault";
|
|
27
|
-
const resourceGuardProxyName = "swaggerExample";
|
|
28
|
-
const credential = new DefaultAzureCredential();
|
|
29
|
-
const client = new DataProtectionClient(credential, subscriptionId);
|
|
30
|
-
const result = yield client.dppResourceGuardProxy.get(resourceGroupName, vaultName, resourceGuardProxyName);
|
|
31
|
-
console.log(result);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function main() {
|
|
35
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
-
getResourceGuardProxy();
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
main().catch(console.error);
|
|
40
|
-
//# sourceMappingURL=dppResourceGuardProxyGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyGetSample.js","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyGetSample.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,qBAAqB;;QAClC,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,aAAa,CAAC;QAChC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;QAChD,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,qBAAqB,CAAC,GAAG,CACnD,iBAAiB,EACjB,SAAS,EACT,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyListSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { DataProtectionClient } from "@azure/arm-dataprotection";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to
|
|
17
|
-
*
|
|
18
|
-
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json
|
|
20
|
-
*/
|
|
21
|
-
function getResourceGuardProxies() {
|
|
22
|
-
var e_1, _a;
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const subscriptionId = process.env["DATAPROTECTION_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"5e13b949-1218-4d18-8b99-7e12155ec4f7";
|
|
26
|
-
const resourceGroupName = process.env["DATAPROTECTION_RESOURCE_GROUP"] || "SampleResourceGroup";
|
|
27
|
-
const vaultName = "sampleVault";
|
|
28
|
-
const credential = new DefaultAzureCredential();
|
|
29
|
-
const client = new DataProtectionClient(credential, subscriptionId);
|
|
30
|
-
const resArray = new Array();
|
|
31
|
-
try {
|
|
32
|
-
for (var _b = __asyncValues(client.dppResourceGuardProxy.list(resourceGroupName, vaultName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
33
|
-
let item = _c.value;
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
-
finally {
|
|
39
|
-
try {
|
|
40
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
41
|
-
}
|
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
|
43
|
-
}
|
|
44
|
-
console.log(resArray);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function main() {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
getResourceGuardProxies();
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
main().catch(console.error);
|
|
53
|
-
//# sourceMappingURL=dppResourceGuardProxyListSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyListSample.js","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyListSample.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,uBAAuB;;;QACpC,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,aAAa,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,qBAAqB,CAAC,IAAI,CACtD,iBAAiB,EACjB,SAAS,CACV,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyPutSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyPutSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { DataProtectionClient } from "@azure/arm-dataprotection";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to
|
|
17
|
-
*
|
|
18
|
-
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json
|
|
20
|
-
*/
|
|
21
|
-
function createResourceGuardProxy() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["DATAPROTECTION_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"5e13b949-1218-4d18-8b99-7e12155ec4f7";
|
|
25
|
-
const resourceGroupName = process.env["DATAPROTECTION_RESOURCE_GROUP"] || "SampleResourceGroup";
|
|
26
|
-
const vaultName = "sampleVault";
|
|
27
|
-
const resourceGuardProxyName = "swaggerExample";
|
|
28
|
-
const parameters = {
|
|
29
|
-
properties: {
|
|
30
|
-
resourceGuardResourceId: "/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const credential = new DefaultAzureCredential();
|
|
34
|
-
const client = new DataProtectionClient(credential, subscriptionId);
|
|
35
|
-
const result = yield client.dppResourceGuardProxy.put(resourceGroupName, vaultName, resourceGuardProxyName, parameters);
|
|
36
|
-
console.log(result);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function main() {
|
|
40
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
createResourceGuardProxy();
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
main().catch(console.error);
|
|
45
|
-
//# sourceMappingURL=dppResourceGuardProxyPutSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyPutSample.js","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyPutSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,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,aAAa,CAAC;QAChC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;QAChD,MAAM,UAAU,GAAmC;YACjD,UAAU,EAAE;gBACV,uBAAuB,EACrB,6KAA6K;aAChL;SACF,CAAC;QACF,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,qBAAqB,CAAC,GAAG,CACnD,iBAAiB,EACjB,SAAS,EACT,sBAAsB,EACtB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyUnlockDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyUnlockDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { DataProtectionClient } from "@azure/arm-dataprotection";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to
|
|
17
|
-
*
|
|
18
|
-
* @summary
|
|
19
|
-
* x-ms-original-file: specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2022-11-01-preview/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json
|
|
20
|
-
*/
|
|
21
|
-
function unlockDeleteResourceGuardProxy() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["DATAPROTECTION_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"5e13b949-1218-4d18-8b99-7e12155ec4f7";
|
|
25
|
-
const resourceGroupName = process.env["DATAPROTECTION_RESOURCE_GROUP"] || "SampleResourceGroup";
|
|
26
|
-
const vaultName = "sampleVault";
|
|
27
|
-
const resourceGuardProxyName = "swaggerExample";
|
|
28
|
-
const parameters = {
|
|
29
|
-
resourceGuardOperationRequests: [
|
|
30
|
-
"/subscriptions/f9e67185-f313-4e79-aa71-6458d429369d/resourceGroups/ResourceGuardSecurityAdminRG/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardTestResource/deleteBackupInstanceRequests/default"
|
|
31
|
-
],
|
|
32
|
-
resourceToBeDeleted: "/subscriptions/5e13b949-1218-4d18-8b99-7e12155ec4f7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataProtection/backupVaults/sampleVault/backupInstances/TestBI9779f4de"
|
|
33
|
-
};
|
|
34
|
-
const credential = new DefaultAzureCredential();
|
|
35
|
-
const client = new DataProtectionClient(credential, subscriptionId);
|
|
36
|
-
const result = yield client.dppResourceGuardProxy.unlockDelete(resourceGroupName, vaultName, resourceGuardProxyName, parameters);
|
|
37
|
-
console.log(result);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
function main() {
|
|
41
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
-
unlockDeleteResourceGuardProxy();
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
main().catch(console.error);
|
|
46
|
-
//# sourceMappingURL=dppResourceGuardProxyUnlockDeleteSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxyUnlockDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/dppResourceGuardProxyUnlockDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,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,aAAa,CAAC;QAChC,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;QAChD,MAAM,UAAU,GAAwB;YACtC,8BAA8B,EAAE;gBAC9B,kNAAkN;aACnN;YACD,mBAAmB,EACjB,mLAAmL;SACtL,CAAC;QACF,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,qBAAqB,CAAC,YAAY,CAC5D,iBAAiB,EACjB,SAAS,EACT,sBAAsB,EACtB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { BackupInstancesExtensionRouting } from "../operationsInterfaces";
|
|
3
|
-
import { DataProtectionClient } from "../dataProtectionClient";
|
|
4
|
-
import { BackupInstanceResource, BackupInstancesExtensionRoutingListOptionalParams } from "../models";
|
|
5
|
-
/** Class containing BackupInstancesExtensionRouting operations. */
|
|
6
|
-
export declare class BackupInstancesExtensionRoutingImpl implements BackupInstancesExtensionRouting {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class BackupInstancesExtensionRouting class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: DataProtectionClient);
|
|
13
|
-
/**
|
|
14
|
-
* Gets a list backup instances associated with a tracked resource
|
|
15
|
-
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
16
|
-
* @param options The options parameters.
|
|
17
|
-
*/
|
|
18
|
-
list(resourceId: string, options?: BackupInstancesExtensionRoutingListOptionalParams): PagedAsyncIterableIterator<BackupInstanceResource>;
|
|
19
|
-
private listPagingPage;
|
|
20
|
-
private listPagingAll;
|
|
21
|
-
/**
|
|
22
|
-
* Gets a list backup instances associated with a tracked resource
|
|
23
|
-
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
private _list;
|
|
27
|
-
/**
|
|
28
|
-
* ListNext
|
|
29
|
-
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
30
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
31
|
-
* @param options The options parameters.
|
|
32
|
-
*/
|
|
33
|
-
private _listNext;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=backupInstancesExtensionRouting.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backupInstancesExtensionRouting.d.ts","sourceRoot":"","sources":["../../../src/operations/backupInstancesExtensionRouting.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAI1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,sBAAsB,EAEtB,iDAAiD,EAGlD,MAAM,WAAW,CAAC;AAGnB,mEAAmE;AACnE,qBAAa,mCACX,YAAW,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;OAIG;IACI,IAAI,CACT,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,0BAA0B,CAAC,sBAAsB,CAAC;YAkBtC,cAAc;YAuBd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
10
|
-
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/// <reference lib="esnext.asynciterable" />
|
|
14
|
-
/** Class containing BackupInstancesExtensionRouting operations. */
|
|
15
|
-
export class BackupInstancesExtensionRoutingImpl {
|
|
16
|
-
/**
|
|
17
|
-
* Initialize a new instance of the class BackupInstancesExtensionRouting class.
|
|
18
|
-
* @param client Reference to the service client
|
|
19
|
-
*/
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Gets a list backup instances associated with a tracked resource
|
|
25
|
-
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
26
|
-
* @param options The options parameters.
|
|
27
|
-
*/
|
|
28
|
-
list(resourceId, options) {
|
|
29
|
-
const iter = this.listPagingAll(resourceId, options);
|
|
30
|
-
return {
|
|
31
|
-
next() {
|
|
32
|
-
return iter.next();
|
|
33
|
-
},
|
|
34
|
-
[Symbol.asyncIterator]() {
|
|
35
|
-
return this;
|
|
36
|
-
},
|
|
37
|
-
byPage: (settings) => {
|
|
38
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
39
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
|
-
}
|
|
41
|
-
return this.listPagingPage(resourceId, options, settings);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
listPagingPage(resourceId, options, settings) {
|
|
46
|
-
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
47
|
-
let result;
|
|
48
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
49
|
-
if (!continuationToken) {
|
|
50
|
-
result = yield __await(this._list(resourceId, options));
|
|
51
|
-
let page = result.value || [];
|
|
52
|
-
continuationToken = result.nextLink;
|
|
53
|
-
setContinuationToken(page, continuationToken);
|
|
54
|
-
yield yield __await(page);
|
|
55
|
-
}
|
|
56
|
-
while (continuationToken) {
|
|
57
|
-
result = yield __await(this._listNext(resourceId, continuationToken, options));
|
|
58
|
-
continuationToken = result.nextLink;
|
|
59
|
-
let page = result.value || [];
|
|
60
|
-
setContinuationToken(page, continuationToken);
|
|
61
|
-
yield yield __await(page);
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
listPagingAll(resourceId, options) {
|
|
66
|
-
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
67
|
-
var e_1, _a;
|
|
68
|
-
try {
|
|
69
|
-
for (var _b = __asyncValues(this.listPagingPage(resourceId, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
70
|
-
const page = _c.value;
|
|
71
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
75
|
-
finally {
|
|
76
|
-
try {
|
|
77
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
78
|
-
}
|
|
79
|
-
finally { if (e_1) throw e_1.error; }
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Gets a list backup instances associated with a tracked resource
|
|
85
|
-
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
86
|
-
* @param options The options parameters.
|
|
87
|
-
*/
|
|
88
|
-
_list(resourceId, options) {
|
|
89
|
-
return this.client.sendOperationRequest({ resourceId, options }, listOperationSpec);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* ListNext
|
|
93
|
-
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
94
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
95
|
-
* @param options The options parameters.
|
|
96
|
-
*/
|
|
97
|
-
_listNext(resourceId, nextLink, options) {
|
|
98
|
-
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listNextOperationSpec);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
// Operation Specifications
|
|
102
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
103
|
-
const listOperationSpec = {
|
|
104
|
-
path: "/{resourceId}/providers/Microsoft.DataProtection/backupInstances",
|
|
105
|
-
httpMethod: "GET",
|
|
106
|
-
responses: {
|
|
107
|
-
200: {
|
|
108
|
-
bodyMapper: Mappers.BackupInstanceResourceList
|
|
109
|
-
},
|
|
110
|
-
default: {
|
|
111
|
-
bodyMapper: Mappers.CloudError
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
queryParameters: [Parameters.apiVersion],
|
|
115
|
-
urlParameters: [Parameters.$host, Parameters.resourceId],
|
|
116
|
-
headerParameters: [Parameters.accept],
|
|
117
|
-
serializer
|
|
118
|
-
};
|
|
119
|
-
const listNextOperationSpec = {
|
|
120
|
-
path: "{nextLink}",
|
|
121
|
-
httpMethod: "GET",
|
|
122
|
-
responses: {
|
|
123
|
-
200: {
|
|
124
|
-
bodyMapper: Mappers.BackupInstanceResourceList
|
|
125
|
-
},
|
|
126
|
-
default: {
|
|
127
|
-
bodyMapper: Mappers.CloudError
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.resourceId],
|
|
131
|
-
headerParameters: [Parameters.accept],
|
|
132
|
-
serializer
|
|
133
|
-
};
|
|
134
|
-
//# sourceMappingURL=backupInstancesExtensionRouting.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backupInstancesExtensionRouting.js","sourceRoot":"","sources":["../../../src/operations/backupInstancesExtensionRouting.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { DppResourceGuardProxy } from "../operationsInterfaces";
|
|
3
|
-
import { DataProtectionClient } from "../dataProtectionClient";
|
|
4
|
-
import { ResourceGuardProxyBaseResource, DppResourceGuardProxyListOptionalParams, DppResourceGuardProxyGetOptionalParams, DppResourceGuardProxyGetResponse, DppResourceGuardProxyPutOptionalParams, DppResourceGuardProxyPutResponse, DppResourceGuardProxyDeleteOptionalParams, UnlockDeleteRequest, DppResourceGuardProxyUnlockDeleteOptionalParams, DppResourceGuardProxyUnlockDeleteResponse } from "../models";
|
|
5
|
-
/** Class containing DppResourceGuardProxy operations. */
|
|
6
|
-
export declare class DppResourceGuardProxyImpl implements DppResourceGuardProxy {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class DppResourceGuardProxy class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: DataProtectionClient);
|
|
13
|
-
/**
|
|
14
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
15
|
-
* @param vaultName The name of the backup vault.
|
|
16
|
-
* @param options The options parameters.
|
|
17
|
-
*/
|
|
18
|
-
list(resourceGroupName: string, vaultName: string, options?: DppResourceGuardProxyListOptionalParams): PagedAsyncIterableIterator<ResourceGuardProxyBaseResource>;
|
|
19
|
-
private listPagingPage;
|
|
20
|
-
private listPagingAll;
|
|
21
|
-
/**
|
|
22
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
23
|
-
* @param vaultName The name of the backup vault.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
private _list;
|
|
27
|
-
/**
|
|
28
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
29
|
-
* @param vaultName The name of the backup vault.
|
|
30
|
-
* @param resourceGuardProxyName
|
|
31
|
-
* @param options The options parameters.
|
|
32
|
-
*/
|
|
33
|
-
get(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, options?: DppResourceGuardProxyGetOptionalParams): Promise<DppResourceGuardProxyGetResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
36
|
-
* @param vaultName The name of the backup vault.
|
|
37
|
-
* @param resourceGuardProxyName
|
|
38
|
-
* @param parameters Request body for operation
|
|
39
|
-
* @param options The options parameters.
|
|
40
|
-
*/
|
|
41
|
-
put(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, parameters: ResourceGuardProxyBaseResource, options?: DppResourceGuardProxyPutOptionalParams): Promise<DppResourceGuardProxyPutResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
44
|
-
* @param vaultName The name of the backup vault.
|
|
45
|
-
* @param resourceGuardProxyName
|
|
46
|
-
* @param options The options parameters.
|
|
47
|
-
*/
|
|
48
|
-
delete(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, options?: DppResourceGuardProxyDeleteOptionalParams): Promise<void>;
|
|
49
|
-
/**
|
|
50
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
51
|
-
* @param vaultName The name of the backup vault.
|
|
52
|
-
* @param resourceGuardProxyName
|
|
53
|
-
* @param parameters Request body for operation
|
|
54
|
-
* @param options The options parameters.
|
|
55
|
-
*/
|
|
56
|
-
unlockDelete(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, parameters: UnlockDeleteRequest, options?: DppResourceGuardProxyUnlockDeleteOptionalParams): Promise<DppResourceGuardProxyUnlockDeleteResponse>;
|
|
57
|
-
/**
|
|
58
|
-
* ListNext
|
|
59
|
-
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
60
|
-
* @param vaultName The name of the backup vault.
|
|
61
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
private _listNext;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=dppResourceGuardProxy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dppResourceGuardProxy.d.ts","sourceRoot":"","sources":["../../../src/operations/dppResourceGuardProxy.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAEvC,sCAAsC,EACtC,gCAAgC,EAChC,sCAAsC,EACtC,gCAAgC,EAChC,yCAAyC,EACzC,mBAAmB,EACnB,+CAA+C,EAC/C,yCAAyC,EAE1C,MAAM,WAAW,CAAC;AAGnB,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;OAIG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,8BAA8B,CAAC;YAuB9C,cAAc;YA6Bd,aAAa;IAc5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAa5C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,MAAM,EACjB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,mBAAmB,EAC/B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAarD;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|