@azure/arm-recoveryservicesbackup 11.0.1-alpha.20231113.1 → 12.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 +55 -9
- package/dist/index.js +974 -237
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/backupEnginesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
- package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
- package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
- package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
- package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
- package/dist-esm/samples-dev/fetchTieringCostPostSample.d.ts +2 -0
- package/dist-esm/samples-dev/fetchTieringCostPostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fetchTieringCostPostSample.js +131 -0
- package/dist-esm/samples-dev/fetchTieringCostPostSample.js.map +1 -0
- package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/getTieringCostOperationResultGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/getTieringCostOperationResultGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/getTieringCostOperationResultGetSample.js +40 -0
- package/dist-esm/samples-dev/getTieringCostOperationResultGetSample.js.map +1 -0
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
- package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsExportSample.js +1 -1
- package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
- package/dist-esm/samples-dev/operationValidateSample.js +40 -34
- package/dist-esm/samples-dev/operationValidateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/protectableContainersListSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/protectedItemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersInquireSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRefreshSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRegisterSample.js +2 -2
- package/dist-esm/samples-dev/protectionContainersRegisterSample.js.map +1 -1
- package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentValidateSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +77 -7
- package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +1 -1
- package/dist-esm/samples-dev/restoresTriggerSample.js +6 -6
- package/dist-esm/samples-dev/securityPiNsGetSample.js +1 -1
- package/dist-esm/samples-dev/tieringCostOperationStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/tieringCostOperationStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tieringCostOperationStatusGetSample.js +40 -0
- package/dist-esm/samples-dev/tieringCostOperationStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/validateOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationTriggerSample.js +19 -16
- package/dist-esm/samples-dev/validateOperationTriggerSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +203 -19
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +14 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +412 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +22 -3
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/fetchTieringCost.d.ts +36 -0
- package/dist-esm/src/operations/fetchTieringCost.d.ts.map +1 -0
- package/dist-esm/src/operations/fetchTieringCost.js +121 -0
- package/dist-esm/src/operations/fetchTieringCost.js.map +1 -0
- package/dist-esm/src/operations/getTieringCostOperationResult.d.ts +22 -0
- package/dist-esm/src/operations/getTieringCostOperationResult.d.ts.map +1 -0
- package/dist-esm/src/operations/getTieringCostOperationResult.js +56 -0
- package/dist-esm/src/operations/getTieringCostOperationResult.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operation.d.ts +2 -2
- package/dist-esm/src/operations/operation.d.ts.map +1 -1
- package/dist-esm/src/operations/operation.js.map +1 -1
- package/dist-esm/src/operations/protectionContainers.d.ts +16 -1
- package/dist-esm/src/operations/protectionContainers.d.ts.map +1 -1
- package/dist-esm/src/operations/protectionContainers.js +74 -10
- package/dist-esm/src/operations/protectionContainers.js.map +1 -1
- package/dist-esm/src/operations/tieringCostOperationStatus.d.ts +22 -0
- package/dist-esm/src/operations/tieringCostOperationStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/tieringCostOperationStatus.js +56 -0
- package/dist-esm/src/operations/tieringCostOperationStatus.js.map +1 -0
- package/dist-esm/src/operations/validateOperation.d.ts +3 -3
- package/dist-esm/src/operations/validateOperation.d.ts.map +1 -1
- package/dist-esm/src/operations/validateOperation.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/fetchTieringCost.d.ts +28 -0
- package/dist-esm/src/operationsInterfaces/fetchTieringCost.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fetchTieringCost.js +9 -0
- package/dist-esm/src/operationsInterfaces/fetchTieringCost.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/getTieringCostOperationResult.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/getTieringCostOperationResult.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/getTieringCostOperationResult.js +9 -0
- package/dist-esm/src/operationsInterfaces/getTieringCostOperationResult.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/operation.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/operation.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/protectionContainers.d.ts +16 -1
- package/dist-esm/src/operationsInterfaces/protectionContainers.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/tieringCostOperationStatus.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/tieringCostOperationStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tieringCostOperationStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/tieringCostOperationStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/validateOperation.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/validateOperation.d.ts.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.d.ts +4 -1
- package/dist-esm/src/recoveryServicesBackupClient.d.ts.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +6 -3
- package/dist-esm/src/recoveryServicesBackupClient.js.map +1 -1
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.js +1 -1
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.js.map +1 -1
- package/package.json +6 -4
- package/review/arm-recoveryservicesbackup.api.md +178 -5
- package/src/models/index.ts +245 -22
- package/src/models/mappers.ts +461 -0
- package/src/models/parameters.ts +26 -4
- package/src/operations/fetchTieringCost.ts +174 -0
- package/src/operations/getTieringCostOperationResult.ts +77 -0
- package/src/operations/index.ts +3 -0
- package/src/operations/operation.ts +2 -2
- package/src/operations/protectionContainers.ts +106 -6
- package/src/operations/tieringCostOperationStatus.ts +77 -0
- package/src/operations/validateOperation.ts +3 -3
- package/src/operationsInterfaces/fetchTieringCost.ts +55 -0
- package/src/operationsInterfaces/getTieringCostOperationResult.ts +30 -0
- package/src/operationsInterfaces/index.ts +3 -0
- package/src/operationsInterfaces/operation.ts +2 -2
- package/src/operationsInterfaces/protectionContainers.ts +28 -1
- package/src/operationsInterfaces/tieringCostOperationStatus.ts +30 -0
- package/src/operationsInterfaces/validateOperation.ts +3 -3
- package/src/recoveryServicesBackupClient.ts +18 -4
- package/types/arm-recoveryservicesbackup.d.ts +283 -7
package/dist/index.js
CHANGED
|
@@ -178,6 +178,14 @@ exports.KnownFabricName = void 0;
|
|
|
178
178
|
/** Azure */
|
|
179
179
|
KnownFabricName["Azure"] = "Azure";
|
|
180
180
|
})(exports.KnownFabricName || (exports.KnownFabricName = {}));
|
|
181
|
+
/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
|
|
182
|
+
exports.KnownAcquireStorageAccountLock = void 0;
|
|
183
|
+
(function (KnownAcquireStorageAccountLock) {
|
|
184
|
+
/** Acquire */
|
|
185
|
+
KnownAcquireStorageAccountLock["Acquire"] = "Acquire";
|
|
186
|
+
/** NotAcquire */
|
|
187
|
+
KnownAcquireStorageAccountLock["NotAcquire"] = "NotAcquire";
|
|
188
|
+
})(exports.KnownAcquireStorageAccountLock || (exports.KnownAcquireStorageAccountLock = {}));
|
|
181
189
|
/** Known values of {@link SupportStatus} that the service accepts. */
|
|
182
190
|
exports.KnownSupportStatus = void 0;
|
|
183
191
|
(function (KnownSupportStatus) {
|
|
@@ -643,6 +651,12 @@ exports.KnownRecoveryMode = void 0;
|
|
|
643
651
|
KnownRecoveryMode["FileRecovery"] = "FileRecovery";
|
|
644
652
|
/** WorkloadRecovery */
|
|
645
653
|
KnownRecoveryMode["WorkloadRecovery"] = "WorkloadRecovery";
|
|
654
|
+
/** SnapshotAttach */
|
|
655
|
+
KnownRecoveryMode["SnapshotAttach"] = "SnapshotAttach";
|
|
656
|
+
/** RecoveryUsingSnapshot */
|
|
657
|
+
KnownRecoveryMode["RecoveryUsingSnapshot"] = "RecoveryUsingSnapshot";
|
|
658
|
+
/** SnapshotAttachAndRecover */
|
|
659
|
+
KnownRecoveryMode["SnapshotAttachAndRecover"] = "SnapshotAttachAndRecover";
|
|
646
660
|
})(exports.KnownRecoveryMode || (exports.KnownRecoveryMode = {}));
|
|
647
661
|
/** Known values of {@link SQLDataDirectoryType} that the service accepts. */
|
|
648
662
|
exports.KnownSQLDataDirectoryType = void 0;
|
|
@@ -808,14 +822,6 @@ exports.KnownOperationType = void 0;
|
|
|
808
822
|
/** Reregister */
|
|
809
823
|
KnownOperationType["Reregister"] = "Reregister";
|
|
810
824
|
})(exports.KnownOperationType || (exports.KnownOperationType = {}));
|
|
811
|
-
/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
|
|
812
|
-
exports.KnownAcquireStorageAccountLock = void 0;
|
|
813
|
-
(function (KnownAcquireStorageAccountLock) {
|
|
814
|
-
/** Acquire */
|
|
815
|
-
KnownAcquireStorageAccountLock["Acquire"] = "Acquire";
|
|
816
|
-
/** NotAcquire */
|
|
817
|
-
KnownAcquireStorageAccountLock["NotAcquire"] = "NotAcquire";
|
|
818
|
-
})(exports.KnownAcquireStorageAccountLock || (exports.KnownAcquireStorageAccountLock = {}));
|
|
819
825
|
/** Known values of {@link InquiryStatus} that the service accepts. */
|
|
820
826
|
exports.KnownInquiryStatus = void 0;
|
|
821
827
|
(function (KnownInquiryStatus) {
|
|
@@ -1339,6 +1345,18 @@ const BackupStatusResponse = {
|
|
|
1339
1345
|
type: {
|
|
1340
1346
|
name: "String"
|
|
1341
1347
|
}
|
|
1348
|
+
},
|
|
1349
|
+
protectedItemsCount: {
|
|
1350
|
+
serializedName: "protectedItemsCount",
|
|
1351
|
+
type: {
|
|
1352
|
+
name: "Number"
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
acquireStorageAccountLock: {
|
|
1356
|
+
serializedName: "acquireStorageAccountLock",
|
|
1357
|
+
type: {
|
|
1358
|
+
name: "String"
|
|
1359
|
+
}
|
|
1342
1360
|
}
|
|
1343
1361
|
}
|
|
1344
1362
|
}
|
|
@@ -2263,6 +2281,13 @@ const ProtectedItem = {
|
|
|
2263
2281
|
type: {
|
|
2264
2282
|
name: "Number"
|
|
2265
2283
|
}
|
|
2284
|
+
},
|
|
2285
|
+
vaultId: {
|
|
2286
|
+
serializedName: "vaultId",
|
|
2287
|
+
readOnly: true,
|
|
2288
|
+
type: {
|
|
2289
|
+
name: "String"
|
|
2290
|
+
}
|
|
2266
2291
|
}
|
|
2267
2292
|
}
|
|
2268
2293
|
}
|
|
@@ -2498,6 +2523,28 @@ const OperationWorkerResponse = {
|
|
|
2498
2523
|
}
|
|
2499
2524
|
}
|
|
2500
2525
|
};
|
|
2526
|
+
const ValidateOperationRequestResource = {
|
|
2527
|
+
type: {
|
|
2528
|
+
name: "Composite",
|
|
2529
|
+
className: "ValidateOperationRequestResource",
|
|
2530
|
+
modelProperties: {
|
|
2531
|
+
id: {
|
|
2532
|
+
serializedName: "id",
|
|
2533
|
+
required: true,
|
|
2534
|
+
type: {
|
|
2535
|
+
name: "String"
|
|
2536
|
+
}
|
|
2537
|
+
},
|
|
2538
|
+
properties: {
|
|
2539
|
+
serializedName: "properties",
|
|
2540
|
+
type: {
|
|
2541
|
+
name: "Composite",
|
|
2542
|
+
className: "ValidateOperationRequest"
|
|
2543
|
+
}
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
};
|
|
2501
2548
|
const ValidateOperationRequest = {
|
|
2502
2549
|
type: {
|
|
2503
2550
|
name: "Composite",
|
|
@@ -3103,6 +3150,7 @@ const ResourceGuardProxyBase = {
|
|
|
3103
3150
|
modelProperties: {
|
|
3104
3151
|
resourceGuardResourceId: {
|
|
3105
3152
|
serializedName: "resourceGuardResourceId",
|
|
3153
|
+
required: true,
|
|
3106
3154
|
type: {
|
|
3107
3155
|
name: "String"
|
|
3108
3156
|
}
|
|
@@ -3193,6 +3241,62 @@ const UnlockDeleteResponse = {
|
|
|
3193
3241
|
}
|
|
3194
3242
|
}
|
|
3195
3243
|
};
|
|
3244
|
+
const FetchTieringCostInfoRequest = {
|
|
3245
|
+
type: {
|
|
3246
|
+
name: "Composite",
|
|
3247
|
+
className: "FetchTieringCostInfoRequest",
|
|
3248
|
+
uberParent: "FetchTieringCostInfoRequest",
|
|
3249
|
+
polymorphicDiscriminator: {
|
|
3250
|
+
serializedName: "objectType",
|
|
3251
|
+
clientName: "objectType"
|
|
3252
|
+
},
|
|
3253
|
+
modelProperties: {
|
|
3254
|
+
sourceTierType: {
|
|
3255
|
+
serializedName: "sourceTierType",
|
|
3256
|
+
required: true,
|
|
3257
|
+
type: {
|
|
3258
|
+
name: "Enum",
|
|
3259
|
+
allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
|
|
3260
|
+
}
|
|
3261
|
+
},
|
|
3262
|
+
targetTierType: {
|
|
3263
|
+
serializedName: "targetTierType",
|
|
3264
|
+
required: true,
|
|
3265
|
+
type: {
|
|
3266
|
+
name: "Enum",
|
|
3267
|
+
allowedValues: ["Invalid", "InstantRP", "HardenedRP", "ArchivedRP"]
|
|
3268
|
+
}
|
|
3269
|
+
},
|
|
3270
|
+
objectType: {
|
|
3271
|
+
serializedName: "objectType",
|
|
3272
|
+
required: true,
|
|
3273
|
+
type: {
|
|
3274
|
+
name: "String"
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
}
|
|
3278
|
+
}
|
|
3279
|
+
};
|
|
3280
|
+
const TieringCostInfo = {
|
|
3281
|
+
type: {
|
|
3282
|
+
name: "Composite",
|
|
3283
|
+
className: "TieringCostInfo",
|
|
3284
|
+
uberParent: "TieringCostInfo",
|
|
3285
|
+
polymorphicDiscriminator: {
|
|
3286
|
+
serializedName: "objectType",
|
|
3287
|
+
clientName: "objectType"
|
|
3288
|
+
},
|
|
3289
|
+
modelProperties: {
|
|
3290
|
+
objectType: {
|
|
3291
|
+
serializedName: "objectType",
|
|
3292
|
+
required: true,
|
|
3293
|
+
type: {
|
|
3294
|
+
name: "String"
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
};
|
|
3196
3300
|
const KPIResourceHealthDetails = {
|
|
3197
3301
|
type: {
|
|
3198
3302
|
name: "Composite",
|
|
@@ -3429,6 +3533,13 @@ const SubProtectionPolicy = {
|
|
|
3429
3533
|
name: "Dictionary",
|
|
3430
3534
|
value: { type: { name: "Composite", className: "TieringPolicy" } }
|
|
3431
3535
|
}
|
|
3536
|
+
},
|
|
3537
|
+
snapshotBackupAdditionalDetails: {
|
|
3538
|
+
serializedName: "snapshotBackupAdditionalDetails",
|
|
3539
|
+
type: {
|
|
3540
|
+
name: "Composite",
|
|
3541
|
+
className: "SnapshotBackupAdditionalDetails"
|
|
3542
|
+
}
|
|
3432
3543
|
}
|
|
3433
3544
|
}
|
|
3434
3545
|
}
|
|
@@ -3499,6 +3610,104 @@ const TieringPolicy = {
|
|
|
3499
3610
|
}
|
|
3500
3611
|
}
|
|
3501
3612
|
};
|
|
3613
|
+
const SnapshotBackupAdditionalDetails = {
|
|
3614
|
+
type: {
|
|
3615
|
+
name: "Composite",
|
|
3616
|
+
className: "SnapshotBackupAdditionalDetails",
|
|
3617
|
+
modelProperties: {
|
|
3618
|
+
instantRpRetentionRangeInDays: {
|
|
3619
|
+
serializedName: "instantRpRetentionRangeInDays",
|
|
3620
|
+
type: {
|
|
3621
|
+
name: "Number"
|
|
3622
|
+
}
|
|
3623
|
+
},
|
|
3624
|
+
instantRPDetails: {
|
|
3625
|
+
serializedName: "instantRPDetails",
|
|
3626
|
+
type: {
|
|
3627
|
+
name: "String"
|
|
3628
|
+
}
|
|
3629
|
+
},
|
|
3630
|
+
userAssignedManagedIdentityDetails: {
|
|
3631
|
+
serializedName: "userAssignedManagedIdentityDetails",
|
|
3632
|
+
type: {
|
|
3633
|
+
name: "Composite",
|
|
3634
|
+
className: "UserAssignedManagedIdentityDetails"
|
|
3635
|
+
}
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
};
|
|
3640
|
+
const UserAssignedManagedIdentityDetails = {
|
|
3641
|
+
type: {
|
|
3642
|
+
name: "Composite",
|
|
3643
|
+
className: "UserAssignedManagedIdentityDetails",
|
|
3644
|
+
modelProperties: {
|
|
3645
|
+
identityArmId: {
|
|
3646
|
+
serializedName: "identityArmId",
|
|
3647
|
+
type: {
|
|
3648
|
+
name: "String"
|
|
3649
|
+
}
|
|
3650
|
+
},
|
|
3651
|
+
identityName: {
|
|
3652
|
+
serializedName: "identityName",
|
|
3653
|
+
type: {
|
|
3654
|
+
name: "String"
|
|
3655
|
+
}
|
|
3656
|
+
},
|
|
3657
|
+
userAssignedIdentityProperties: {
|
|
3658
|
+
serializedName: "userAssignedIdentityProperties",
|
|
3659
|
+
type: {
|
|
3660
|
+
name: "Composite",
|
|
3661
|
+
className: "UserAssignedIdentity"
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
}
|
|
3665
|
+
}
|
|
3666
|
+
};
|
|
3667
|
+
const UserAssignedIdentity = {
|
|
3668
|
+
type: {
|
|
3669
|
+
name: "Composite",
|
|
3670
|
+
className: "UserAssignedIdentity",
|
|
3671
|
+
modelProperties: {
|
|
3672
|
+
principalId: {
|
|
3673
|
+
serializedName: "principalId",
|
|
3674
|
+
readOnly: true,
|
|
3675
|
+
type: {
|
|
3676
|
+
name: "Uuid"
|
|
3677
|
+
}
|
|
3678
|
+
},
|
|
3679
|
+
clientId: {
|
|
3680
|
+
serializedName: "clientId",
|
|
3681
|
+
readOnly: true,
|
|
3682
|
+
type: {
|
|
3683
|
+
name: "Uuid"
|
|
3684
|
+
}
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
};
|
|
3689
|
+
const VaultRetentionPolicy = {
|
|
3690
|
+
type: {
|
|
3691
|
+
name: "Composite",
|
|
3692
|
+
className: "VaultRetentionPolicy",
|
|
3693
|
+
modelProperties: {
|
|
3694
|
+
vaultRetention: {
|
|
3695
|
+
serializedName: "vaultRetention",
|
|
3696
|
+
type: {
|
|
3697
|
+
name: "Composite",
|
|
3698
|
+
className: "RetentionPolicy"
|
|
3699
|
+
}
|
|
3700
|
+
},
|
|
3701
|
+
snapshotRetentionInDays: {
|
|
3702
|
+
serializedName: "snapshotRetentionInDays",
|
|
3703
|
+
required: true,
|
|
3704
|
+
type: {
|
|
3705
|
+
name: "Number"
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
}
|
|
3710
|
+
};
|
|
3502
3711
|
const AzureIaaSVMProtectedItemExtendedInfo = {
|
|
3503
3712
|
type: {
|
|
3504
3713
|
name: "Composite",
|
|
@@ -4154,6 +4363,26 @@ const TargetRestoreInfo = {
|
|
|
4154
4363
|
}
|
|
4155
4364
|
}
|
|
4156
4365
|
};
|
|
4366
|
+
const SnapshotRestoreParameters = {
|
|
4367
|
+
type: {
|
|
4368
|
+
name: "Composite",
|
|
4369
|
+
className: "SnapshotRestoreParameters",
|
|
4370
|
+
modelProperties: {
|
|
4371
|
+
skipAttachAndMount: {
|
|
4372
|
+
serializedName: "skipAttachAndMount",
|
|
4373
|
+
type: {
|
|
4374
|
+
name: "Boolean"
|
|
4375
|
+
}
|
|
4376
|
+
},
|
|
4377
|
+
logPointInTimeForDBRecovery: {
|
|
4378
|
+
serializedName: "logPointInTimeForDBRecovery",
|
|
4379
|
+
type: {
|
|
4380
|
+
name: "String"
|
|
4381
|
+
}
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
}
|
|
4385
|
+
};
|
|
4157
4386
|
const AzureWorkloadSQLRecoveryPointExtendedInfo = {
|
|
4158
4387
|
type: {
|
|
4159
4388
|
name: "Composite",
|
|
@@ -7313,6 +7542,12 @@ const IaasVMRecoveryPoint = {
|
|
|
7313
7542
|
type: {
|
|
7314
7543
|
name: "Boolean"
|
|
7315
7544
|
}
|
|
7545
|
+
}, extendedLocation: {
|
|
7546
|
+
serializedName: "extendedLocation",
|
|
7547
|
+
type: {
|
|
7548
|
+
name: "Composite",
|
|
7549
|
+
className: "ExtendedLocation"
|
|
7550
|
+
}
|
|
7316
7551
|
} })
|
|
7317
7552
|
}
|
|
7318
7553
|
};
|
|
@@ -7400,6 +7635,23 @@ const AzureWorkloadRestoreRequest = {
|
|
|
7400
7635
|
type: {
|
|
7401
7636
|
name: "String"
|
|
7402
7637
|
}
|
|
7638
|
+
}, targetResourceGroupName: {
|
|
7639
|
+
serializedName: "targetResourceGroupName",
|
|
7640
|
+
type: {
|
|
7641
|
+
name: "String"
|
|
7642
|
+
}
|
|
7643
|
+
}, userAssignedManagedIdentityDetails: {
|
|
7644
|
+
serializedName: "userAssignedManagedIdentityDetails",
|
|
7645
|
+
type: {
|
|
7646
|
+
name: "Composite",
|
|
7647
|
+
className: "UserAssignedManagedIdentityDetails"
|
|
7648
|
+
}
|
|
7649
|
+
}, snapshotRestoreParameters: {
|
|
7650
|
+
serializedName: "snapshotRestoreParameters",
|
|
7651
|
+
type: {
|
|
7652
|
+
name: "Composite",
|
|
7653
|
+
className: "SnapshotRestoreParameters"
|
|
7654
|
+
}
|
|
7403
7655
|
}, targetVirtualMachineId: {
|
|
7404
7656
|
serializedName: "targetVirtualMachineId",
|
|
7405
7657
|
type: {
|
|
@@ -7613,6 +7865,12 @@ const AzureFileShareProtectionPolicy = {
|
|
|
7613
7865
|
name: "Composite",
|
|
7614
7866
|
className: "RetentionPolicy"
|
|
7615
7867
|
}
|
|
7868
|
+
}, vaultRetentionPolicy: {
|
|
7869
|
+
serializedName: "vaultRetentionPolicy",
|
|
7870
|
+
type: {
|
|
7871
|
+
name: "Composite",
|
|
7872
|
+
className: "VaultRetentionPolicy"
|
|
7873
|
+
}
|
|
7616
7874
|
}, timeZone: {
|
|
7617
7875
|
serializedName: "timeZone",
|
|
7618
7876
|
type: {
|
|
@@ -8742,43 +9000,181 @@ const AzureVmWorkloadProtectableItem = {
|
|
|
8742
9000
|
} })
|
|
8743
9001
|
}
|
|
8744
9002
|
};
|
|
8745
|
-
const
|
|
8746
|
-
|
|
8747
|
-
name: "Composite",
|
|
8748
|
-
className: "AzureIaaSVMHealthDetails",
|
|
8749
|
-
modelProperties: Object.assign({}, ResourceHealthDetails.type.modelProperties)
|
|
8750
|
-
}
|
|
8751
|
-
};
|
|
8752
|
-
const LogSchedulePolicy = {
|
|
8753
|
-
serializedName: "LogSchedulePolicy",
|
|
9003
|
+
const FetchTieringCostInfoForRehydrationRequest = {
|
|
9004
|
+
serializedName: "FetchTieringCostInfoForRehydrationRequest",
|
|
8754
9005
|
type: {
|
|
8755
9006
|
name: "Composite",
|
|
8756
|
-
className: "
|
|
8757
|
-
uberParent: "
|
|
8758
|
-
polymorphicDiscriminator:
|
|
8759
|
-
modelProperties: Object.assign(Object.assign({},
|
|
8760
|
-
serializedName: "
|
|
9007
|
+
className: "FetchTieringCostInfoForRehydrationRequest",
|
|
9008
|
+
uberParent: "FetchTieringCostInfoRequest",
|
|
9009
|
+
polymorphicDiscriminator: FetchTieringCostInfoRequest.type.polymorphicDiscriminator,
|
|
9010
|
+
modelProperties: Object.assign(Object.assign({}, FetchTieringCostInfoRequest.type.modelProperties), { containerName: {
|
|
9011
|
+
serializedName: "containerName",
|
|
9012
|
+
required: true,
|
|
8761
9013
|
type: {
|
|
8762
|
-
name: "
|
|
9014
|
+
name: "String"
|
|
9015
|
+
}
|
|
9016
|
+
}, protectedItemName: {
|
|
9017
|
+
serializedName: "protectedItemName",
|
|
9018
|
+
required: true,
|
|
9019
|
+
type: {
|
|
9020
|
+
name: "String"
|
|
9021
|
+
}
|
|
9022
|
+
}, recoveryPointId: {
|
|
9023
|
+
serializedName: "recoveryPointId",
|
|
9024
|
+
required: true,
|
|
9025
|
+
type: {
|
|
9026
|
+
name: "String"
|
|
9027
|
+
}
|
|
9028
|
+
}, rehydrationPriority: {
|
|
9029
|
+
serializedName: "rehydrationPriority",
|
|
9030
|
+
required: true,
|
|
9031
|
+
type: {
|
|
9032
|
+
name: "String"
|
|
8763
9033
|
}
|
|
8764
9034
|
} })
|
|
8765
9035
|
}
|
|
8766
9036
|
};
|
|
8767
|
-
const
|
|
8768
|
-
serializedName: "
|
|
9037
|
+
const FetchTieringCostSavingsInfoForPolicyRequest = {
|
|
9038
|
+
serializedName: "FetchTieringCostSavingsInfoForPolicyRequest",
|
|
8769
9039
|
type: {
|
|
8770
9040
|
name: "Composite",
|
|
8771
|
-
className: "
|
|
8772
|
-
uberParent: "
|
|
8773
|
-
polymorphicDiscriminator:
|
|
8774
|
-
modelProperties: Object.assign({},
|
|
9041
|
+
className: "FetchTieringCostSavingsInfoForPolicyRequest",
|
|
9042
|
+
uberParent: "FetchTieringCostInfoRequest",
|
|
9043
|
+
polymorphicDiscriminator: FetchTieringCostInfoRequest.type.polymorphicDiscriminator,
|
|
9044
|
+
modelProperties: Object.assign(Object.assign({}, FetchTieringCostInfoRequest.type.modelProperties), { policyName: {
|
|
9045
|
+
serializedName: "policyName",
|
|
9046
|
+
required: true,
|
|
9047
|
+
type: {
|
|
9048
|
+
name: "String"
|
|
9049
|
+
}
|
|
9050
|
+
} })
|
|
8775
9051
|
}
|
|
8776
9052
|
};
|
|
8777
|
-
const
|
|
8778
|
-
serializedName: "
|
|
9053
|
+
const FetchTieringCostSavingsInfoForProtectedItemRequest = {
|
|
9054
|
+
serializedName: "FetchTieringCostSavingsInfoForProtectedItemRequest",
|
|
8779
9055
|
type: {
|
|
8780
9056
|
name: "Composite",
|
|
8781
|
-
className: "
|
|
9057
|
+
className: "FetchTieringCostSavingsInfoForProtectedItemRequest",
|
|
9058
|
+
uberParent: "FetchTieringCostInfoRequest",
|
|
9059
|
+
polymorphicDiscriminator: FetchTieringCostInfoRequest.type.polymorphicDiscriminator,
|
|
9060
|
+
modelProperties: Object.assign(Object.assign({}, FetchTieringCostInfoRequest.type.modelProperties), { containerName: {
|
|
9061
|
+
serializedName: "containerName",
|
|
9062
|
+
required: true,
|
|
9063
|
+
type: {
|
|
9064
|
+
name: "String"
|
|
9065
|
+
}
|
|
9066
|
+
}, protectedItemName: {
|
|
9067
|
+
serializedName: "protectedItemName",
|
|
9068
|
+
required: true,
|
|
9069
|
+
type: {
|
|
9070
|
+
name: "String"
|
|
9071
|
+
}
|
|
9072
|
+
} })
|
|
9073
|
+
}
|
|
9074
|
+
};
|
|
9075
|
+
const FetchTieringCostSavingsInfoForVaultRequest = {
|
|
9076
|
+
serializedName: "FetchTieringCostSavingsInfoForVaultRequest",
|
|
9077
|
+
type: {
|
|
9078
|
+
name: "Composite",
|
|
9079
|
+
className: "FetchTieringCostSavingsInfoForVaultRequest",
|
|
9080
|
+
uberParent: "FetchTieringCostInfoRequest",
|
|
9081
|
+
polymorphicDiscriminator: FetchTieringCostInfoRequest.type.polymorphicDiscriminator,
|
|
9082
|
+
modelProperties: Object.assign({}, FetchTieringCostInfoRequest.type.modelProperties)
|
|
9083
|
+
}
|
|
9084
|
+
};
|
|
9085
|
+
const TieringCostRehydrationInfo = {
|
|
9086
|
+
serializedName: "TieringCostRehydrationInfo",
|
|
9087
|
+
type: {
|
|
9088
|
+
name: "Composite",
|
|
9089
|
+
className: "TieringCostRehydrationInfo",
|
|
9090
|
+
uberParent: "TieringCostInfo",
|
|
9091
|
+
polymorphicDiscriminator: TieringCostInfo.type.polymorphicDiscriminator,
|
|
9092
|
+
modelProperties: Object.assign(Object.assign({}, TieringCostInfo.type.modelProperties), { rehydrationSizeInBytes: {
|
|
9093
|
+
serializedName: "rehydrationSizeInBytes",
|
|
9094
|
+
required: true,
|
|
9095
|
+
type: {
|
|
9096
|
+
name: "Number"
|
|
9097
|
+
}
|
|
9098
|
+
}, retailRehydrationCostPerGBPerMonth: {
|
|
9099
|
+
serializedName: "retailRehydrationCostPerGBPerMonth",
|
|
9100
|
+
required: true,
|
|
9101
|
+
type: {
|
|
9102
|
+
name: "Number"
|
|
9103
|
+
}
|
|
9104
|
+
} })
|
|
9105
|
+
}
|
|
9106
|
+
};
|
|
9107
|
+
const TieringCostSavingInfo = {
|
|
9108
|
+
serializedName: "TieringCostSavingInfo",
|
|
9109
|
+
type: {
|
|
9110
|
+
name: "Composite",
|
|
9111
|
+
className: "TieringCostSavingInfo",
|
|
9112
|
+
uberParent: "TieringCostInfo",
|
|
9113
|
+
polymorphicDiscriminator: TieringCostInfo.type.polymorphicDiscriminator,
|
|
9114
|
+
modelProperties: Object.assign(Object.assign({}, TieringCostInfo.type.modelProperties), { sourceTierSizeReductionInBytes: {
|
|
9115
|
+
serializedName: "sourceTierSizeReductionInBytes",
|
|
9116
|
+
required: true,
|
|
9117
|
+
type: {
|
|
9118
|
+
name: "Number"
|
|
9119
|
+
}
|
|
9120
|
+
}, targetTierSizeIncreaseInBytes: {
|
|
9121
|
+
serializedName: "targetTierSizeIncreaseInBytes",
|
|
9122
|
+
required: true,
|
|
9123
|
+
type: {
|
|
9124
|
+
name: "Number"
|
|
9125
|
+
}
|
|
9126
|
+
}, retailSourceTierCostPerGBPerMonth: {
|
|
9127
|
+
serializedName: "retailSourceTierCostPerGBPerMonth",
|
|
9128
|
+
required: true,
|
|
9129
|
+
type: {
|
|
9130
|
+
name: "Number"
|
|
9131
|
+
}
|
|
9132
|
+
}, retailTargetTierCostPerGBPerMonth: {
|
|
9133
|
+
serializedName: "retailTargetTierCostPerGBPerMonth",
|
|
9134
|
+
required: true,
|
|
9135
|
+
type: {
|
|
9136
|
+
name: "Number"
|
|
9137
|
+
}
|
|
9138
|
+
} })
|
|
9139
|
+
}
|
|
9140
|
+
};
|
|
9141
|
+
const AzureIaaSVMHealthDetails = {
|
|
9142
|
+
type: {
|
|
9143
|
+
name: "Composite",
|
|
9144
|
+
className: "AzureIaaSVMHealthDetails",
|
|
9145
|
+
modelProperties: Object.assign({}, ResourceHealthDetails.type.modelProperties)
|
|
9146
|
+
}
|
|
9147
|
+
};
|
|
9148
|
+
const LogSchedulePolicy = {
|
|
9149
|
+
serializedName: "LogSchedulePolicy",
|
|
9150
|
+
type: {
|
|
9151
|
+
name: "Composite",
|
|
9152
|
+
className: "LogSchedulePolicy",
|
|
9153
|
+
uberParent: "SchedulePolicy",
|
|
9154
|
+
polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
|
|
9155
|
+
modelProperties: Object.assign(Object.assign({}, SchedulePolicy.type.modelProperties), { scheduleFrequencyInMins: {
|
|
9156
|
+
serializedName: "scheduleFrequencyInMins",
|
|
9157
|
+
type: {
|
|
9158
|
+
name: "Number"
|
|
9159
|
+
}
|
|
9160
|
+
} })
|
|
9161
|
+
}
|
|
9162
|
+
};
|
|
9163
|
+
const LongTermSchedulePolicy = {
|
|
9164
|
+
serializedName: "LongTermSchedulePolicy",
|
|
9165
|
+
type: {
|
|
9166
|
+
name: "Composite",
|
|
9167
|
+
className: "LongTermSchedulePolicy",
|
|
9168
|
+
uberParent: "SchedulePolicy",
|
|
9169
|
+
polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
|
|
9170
|
+
modelProperties: Object.assign({}, SchedulePolicy.type.modelProperties)
|
|
9171
|
+
}
|
|
9172
|
+
};
|
|
9173
|
+
const SimpleSchedulePolicy = {
|
|
9174
|
+
serializedName: "SimpleSchedulePolicy",
|
|
9175
|
+
type: {
|
|
9176
|
+
name: "Composite",
|
|
9177
|
+
className: "SimpleSchedulePolicy",
|
|
8782
9178
|
uberParent: "SchedulePolicy",
|
|
8783
9179
|
polymorphicDiscriminator: SchedulePolicy.type.polymorphicDiscriminator,
|
|
8784
9180
|
modelProperties: Object.assign(Object.assign({}, SchedulePolicy.type.modelProperties), { scheduleRunFrequency: {
|
|
@@ -9512,6 +9908,20 @@ const AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest = {
|
|
|
9512
9908
|
} })
|
|
9513
9909
|
}
|
|
9514
9910
|
};
|
|
9911
|
+
const FetchTieringCostPostHeaders = {
|
|
9912
|
+
type: {
|
|
9913
|
+
name: "Composite",
|
|
9914
|
+
className: "FetchTieringCostPostHeaders",
|
|
9915
|
+
modelProperties: {
|
|
9916
|
+
location: {
|
|
9917
|
+
serializedName: "location",
|
|
9918
|
+
type: {
|
|
9919
|
+
name: "String"
|
|
9920
|
+
}
|
|
9921
|
+
}
|
|
9922
|
+
}
|
|
9923
|
+
}
|
|
9924
|
+
};
|
|
9515
9925
|
let discriminators = {
|
|
9516
9926
|
FeatureSupportRequest: FeatureSupportRequest,
|
|
9517
9927
|
ProtectionIntent: ProtectionIntent,
|
|
@@ -9531,6 +9941,8 @@ let discriminators = {
|
|
|
9531
9941
|
BackupRequest: BackupRequest,
|
|
9532
9942
|
ILRRequest: ILRRequest,
|
|
9533
9943
|
WorkloadProtectableItem: WorkloadProtectableItem,
|
|
9944
|
+
FetchTieringCostInfoRequest: FetchTieringCostInfoRequest,
|
|
9945
|
+
TieringCostInfo: TieringCostInfo,
|
|
9534
9946
|
SchedulePolicy: SchedulePolicy,
|
|
9535
9947
|
RetentionPolicy: RetentionPolicy,
|
|
9536
9948
|
"FeatureSupportRequest.AzureBackupGoals": AzureBackupGoalFeatureSupportRequest,
|
|
@@ -9593,6 +10005,12 @@ let discriminators = {
|
|
|
9593
10005
|
"WorkloadProtectableItem.AzureFileShare": AzureFileShareProtectableItem,
|
|
9594
10006
|
"WorkloadProtectableItem.IaaSVMProtectableItem": IaaSVMProtectableItem,
|
|
9595
10007
|
"WorkloadProtectableItem.AzureVmWorkloadProtectableItem": AzureVmWorkloadProtectableItem,
|
|
10008
|
+
"FetchTieringCostInfoRequest.FetchTieringCostInfoForRehydrationRequest": FetchTieringCostInfoForRehydrationRequest,
|
|
10009
|
+
"FetchTieringCostInfoRequest.FetchTieringCostSavingsInfoForPolicyRequest": FetchTieringCostSavingsInfoForPolicyRequest,
|
|
10010
|
+
"FetchTieringCostInfoRequest.FetchTieringCostSavingsInfoForProtectedItemRequest": FetchTieringCostSavingsInfoForProtectedItemRequest,
|
|
10011
|
+
"FetchTieringCostInfoRequest.FetchTieringCostSavingsInfoForVaultRequest": FetchTieringCostSavingsInfoForVaultRequest,
|
|
10012
|
+
"TieringCostInfo.TieringCostRehydrationInfo": TieringCostRehydrationInfo,
|
|
10013
|
+
"TieringCostInfo.TieringCostSavingInfo": TieringCostSavingInfo,
|
|
9596
10014
|
"SchedulePolicy.LogSchedulePolicy": LogSchedulePolicy,
|
|
9597
10015
|
"SchedulePolicy.LongTermSchedulePolicy": LongTermSchedulePolicy,
|
|
9598
10016
|
"SchedulePolicy.SimpleSchedulePolicy": SimpleSchedulePolicy,
|
|
@@ -9802,6 +10220,12 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
9802
10220
|
ExtendedLocation: ExtendedLocation,
|
|
9803
10221
|
ExtendedProperties: ExtendedProperties,
|
|
9804
10222
|
FeatureSupportRequest: FeatureSupportRequest,
|
|
10223
|
+
FetchTieringCostInfoForRehydrationRequest: FetchTieringCostInfoForRehydrationRequest,
|
|
10224
|
+
FetchTieringCostInfoRequest: FetchTieringCostInfoRequest,
|
|
10225
|
+
FetchTieringCostPostHeaders: FetchTieringCostPostHeaders,
|
|
10226
|
+
FetchTieringCostSavingsInfoForPolicyRequest: FetchTieringCostSavingsInfoForPolicyRequest,
|
|
10227
|
+
FetchTieringCostSavingsInfoForProtectedItemRequest: FetchTieringCostSavingsInfoForProtectedItemRequest,
|
|
10228
|
+
FetchTieringCostSavingsInfoForVaultRequest: FetchTieringCostSavingsInfoForVaultRequest,
|
|
9805
10229
|
GenericContainer: GenericContainer,
|
|
9806
10230
|
GenericContainerExtendedInfo: GenericContainerExtendedInfo,
|
|
9807
10231
|
GenericProtectedItem: GenericProtectedItem,
|
|
@@ -9919,23 +10343,32 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
9919
10343
|
SimpleRetentionPolicy: SimpleRetentionPolicy,
|
|
9920
10344
|
SimpleSchedulePolicy: SimpleSchedulePolicy,
|
|
9921
10345
|
SimpleSchedulePolicyV2: SimpleSchedulePolicyV2,
|
|
10346
|
+
SnapshotBackupAdditionalDetails: SnapshotBackupAdditionalDetails,
|
|
10347
|
+
SnapshotRestoreParameters: SnapshotRestoreParameters,
|
|
9922
10348
|
SubProtectionPolicy: SubProtectionPolicy,
|
|
9923
10349
|
TargetAFSRestoreInfo: TargetAFSRestoreInfo,
|
|
9924
10350
|
TargetDiskNetworkAccessSettings: TargetDiskNetworkAccessSettings,
|
|
9925
10351
|
TargetRestoreInfo: TargetRestoreInfo,
|
|
10352
|
+
TieringCostInfo: TieringCostInfo,
|
|
10353
|
+
TieringCostRehydrationInfo: TieringCostRehydrationInfo,
|
|
10354
|
+
TieringCostSavingInfo: TieringCostSavingInfo,
|
|
9926
10355
|
TieringPolicy: TieringPolicy,
|
|
9927
10356
|
TokenInformation: TokenInformation,
|
|
9928
10357
|
TriggerDataMoveRequest: TriggerDataMoveRequest,
|
|
9929
10358
|
UnlockDeleteRequest: UnlockDeleteRequest,
|
|
9930
10359
|
UnlockDeleteResponse: UnlockDeleteResponse,
|
|
10360
|
+
UserAssignedIdentity: UserAssignedIdentity,
|
|
10361
|
+
UserAssignedManagedIdentityDetails: UserAssignedManagedIdentityDetails,
|
|
9931
10362
|
ValidateIaasVMRestoreOperationRequest: ValidateIaasVMRestoreOperationRequest,
|
|
9932
10363
|
ValidateOperationRequest: ValidateOperationRequest,
|
|
10364
|
+
ValidateOperationRequestResource: ValidateOperationRequestResource,
|
|
9933
10365
|
ValidateOperationResponse: ValidateOperationResponse,
|
|
9934
10366
|
ValidateOperationsResponse: ValidateOperationsResponse,
|
|
9935
10367
|
ValidateRestoreOperationRequest: ValidateRestoreOperationRequest,
|
|
9936
10368
|
VaultJob: VaultJob,
|
|
9937
10369
|
VaultJobErrorInfo: VaultJobErrorInfo,
|
|
9938
10370
|
VaultJobExtendedInfo: VaultJobExtendedInfo,
|
|
10371
|
+
VaultRetentionPolicy: VaultRetentionPolicy,
|
|
9939
10372
|
VaultStorageConfigOperationResultResponse: VaultStorageConfigOperationResultResponse,
|
|
9940
10373
|
WeeklyRetentionFormat: WeeklyRetentionFormat,
|
|
9941
10374
|
WeeklyRetentionSchedule: WeeklyRetentionSchedule,
|
|
@@ -9983,7 +10416,7 @@ const $host = {
|
|
|
9983
10416
|
const apiVersion = {
|
|
9984
10417
|
parameterPath: "apiVersion",
|
|
9985
10418
|
mapper: {
|
|
9986
|
-
defaultValue: "2023-
|
|
10419
|
+
defaultValue: "2023-06-01",
|
|
9987
10420
|
isConstant: true,
|
|
9988
10421
|
serializedName: "api-version",
|
|
9989
10422
|
type: {
|
|
@@ -10219,7 +10652,7 @@ const jobName = {
|
|
|
10219
10652
|
};
|
|
10220
10653
|
const parameters14 = {
|
|
10221
10654
|
parameterPath: "parameters",
|
|
10222
|
-
mapper:
|
|
10655
|
+
mapper: ValidateOperationRequestResource
|
|
10223
10656
|
};
|
|
10224
10657
|
const backupEngineName = {
|
|
10225
10658
|
parameterPath: "backupEngineName",
|
|
@@ -10269,6 +10702,25 @@ const parameters21 = {
|
|
|
10269
10702
|
parameterPath: "parameters",
|
|
10270
10703
|
mapper: UnlockDeleteRequest
|
|
10271
10704
|
};
|
|
10705
|
+
const parameters22 = {
|
|
10706
|
+
parameterPath: "parameters",
|
|
10707
|
+
mapper: FetchTieringCostInfoRequest
|
|
10708
|
+
};
|
|
10709
|
+
const vaultName1 = {
|
|
10710
|
+
parameterPath: "vaultName",
|
|
10711
|
+
mapper: {
|
|
10712
|
+
constraints: {
|
|
10713
|
+
Pattern: new RegExp("^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$"),
|
|
10714
|
+
MaxLength: 50,
|
|
10715
|
+
MinLength: 2
|
|
10716
|
+
},
|
|
10717
|
+
serializedName: "vaultName",
|
|
10718
|
+
required: true,
|
|
10719
|
+
type: {
|
|
10720
|
+
name: "String"
|
|
10721
|
+
}
|
|
10722
|
+
}
|
|
10723
|
+
};
|
|
10272
10724
|
|
|
10273
10725
|
/*
|
|
10274
10726
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -10294,7 +10746,7 @@ class BackupResourceStorageConfigsNonCRRImpl {
|
|
|
10294
10746
|
* @param options The options parameters.
|
|
10295
10747
|
*/
|
|
10296
10748
|
get(vaultName, resourceGroupName, options) {
|
|
10297
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$
|
|
10749
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$t);
|
|
10298
10750
|
}
|
|
10299
10751
|
/**
|
|
10300
10752
|
* Updates vault storage model type.
|
|
@@ -10320,8 +10772,8 @@ class BackupResourceStorageConfigsNonCRRImpl {
|
|
|
10320
10772
|
}
|
|
10321
10773
|
}
|
|
10322
10774
|
// Operation Specifications
|
|
10323
|
-
const serializer$
|
|
10324
|
-
const getOperationSpec$
|
|
10775
|
+
const serializer$Q = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10776
|
+
const getOperationSpec$t = {
|
|
10325
10777
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig",
|
|
10326
10778
|
httpMethod: "GET",
|
|
10327
10779
|
responses: {
|
|
@@ -10340,7 +10792,7 @@ const getOperationSpec$r = {
|
|
|
10340
10792
|
subscriptionId
|
|
10341
10793
|
],
|
|
10342
10794
|
headerParameters: [accept],
|
|
10343
|
-
serializer: serializer$
|
|
10795
|
+
serializer: serializer$Q
|
|
10344
10796
|
};
|
|
10345
10797
|
const updateOperationSpec$2 = {
|
|
10346
10798
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig",
|
|
@@ -10363,7 +10815,7 @@ const updateOperationSpec$2 = {
|
|
|
10363
10815
|
],
|
|
10364
10816
|
headerParameters: [accept, contentType],
|
|
10365
10817
|
mediaType: "json",
|
|
10366
|
-
serializer: serializer$
|
|
10818
|
+
serializer: serializer$Q
|
|
10367
10819
|
};
|
|
10368
10820
|
const patchOperationSpec = {
|
|
10369
10821
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig",
|
|
@@ -10384,7 +10836,7 @@ const patchOperationSpec = {
|
|
|
10384
10836
|
],
|
|
10385
10837
|
headerParameters: [accept, contentType],
|
|
10386
10838
|
mediaType: "json",
|
|
10387
|
-
serializer: serializer$
|
|
10839
|
+
serializer: serializer$Q
|
|
10388
10840
|
};
|
|
10389
10841
|
|
|
10390
10842
|
/*
|
|
@@ -10427,7 +10879,7 @@ class ProtectionIntentOperationsImpl {
|
|
|
10427
10879
|
* @param options The options parameters.
|
|
10428
10880
|
*/
|
|
10429
10881
|
get(vaultName, resourceGroupName, fabricName, intentObjectName, options) {
|
|
10430
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, fabricName, intentObjectName, options }, getOperationSpec$
|
|
10882
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, fabricName, intentObjectName, options }, getOperationSpec$s);
|
|
10431
10883
|
}
|
|
10432
10884
|
/**
|
|
10433
10885
|
* Create Intent for Enabling backup of an item. This is a synchronous operation.
|
|
@@ -10463,7 +10915,7 @@ class ProtectionIntentOperationsImpl {
|
|
|
10463
10915
|
}
|
|
10464
10916
|
}
|
|
10465
10917
|
// Operation Specifications
|
|
10466
|
-
const serializer$
|
|
10918
|
+
const serializer$P = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10467
10919
|
const validateOperationSpec$2 = {
|
|
10468
10920
|
path: "/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection",
|
|
10469
10921
|
httpMethod: "POST",
|
|
@@ -10481,9 +10933,9 @@ const validateOperationSpec$2 = {
|
|
|
10481
10933
|
],
|
|
10482
10934
|
headerParameters: [accept, contentType],
|
|
10483
10935
|
mediaType: "json",
|
|
10484
|
-
serializer: serializer$
|
|
10936
|
+
serializer: serializer$P
|
|
10485
10937
|
};
|
|
10486
|
-
const getOperationSpec$
|
|
10938
|
+
const getOperationSpec$s = {
|
|
10487
10939
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}",
|
|
10488
10940
|
httpMethod: "GET",
|
|
10489
10941
|
responses: {
|
|
@@ -10501,7 +10953,7 @@ const getOperationSpec$q = {
|
|
|
10501
10953
|
intentObjectName
|
|
10502
10954
|
],
|
|
10503
10955
|
headerParameters: [accept],
|
|
10504
|
-
serializer: serializer$
|
|
10956
|
+
serializer: serializer$P
|
|
10505
10957
|
};
|
|
10506
10958
|
const createOrUpdateOperationSpec$2 = {
|
|
10507
10959
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}",
|
|
@@ -10523,7 +10975,7 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
10523
10975
|
],
|
|
10524
10976
|
headerParameters: [accept, contentType],
|
|
10525
10977
|
mediaType: "json",
|
|
10526
|
-
serializer: serializer$
|
|
10978
|
+
serializer: serializer$P
|
|
10527
10979
|
};
|
|
10528
10980
|
const deleteOperationSpec$4 = {
|
|
10529
10981
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}",
|
|
@@ -10538,7 +10990,7 @@ const deleteOperationSpec$4 = {
|
|
|
10538
10990
|
fabricName,
|
|
10539
10991
|
intentObjectName
|
|
10540
10992
|
],
|
|
10541
|
-
serializer: serializer$
|
|
10993
|
+
serializer: serializer$P
|
|
10542
10994
|
};
|
|
10543
10995
|
|
|
10544
10996
|
/*
|
|
@@ -10564,12 +11016,12 @@ class BackupStatusImpl {
|
|
|
10564
11016
|
* @param options The options parameters.
|
|
10565
11017
|
*/
|
|
10566
11018
|
get(azureRegion, parameters, options) {
|
|
10567
|
-
return this.client.sendOperationRequest({ azureRegion, parameters, options }, getOperationSpec$
|
|
11019
|
+
return this.client.sendOperationRequest({ azureRegion, parameters, options }, getOperationSpec$r);
|
|
10568
11020
|
}
|
|
10569
11021
|
}
|
|
10570
11022
|
// Operation Specifications
|
|
10571
|
-
const serializer$
|
|
10572
|
-
const getOperationSpec$
|
|
11023
|
+
const serializer$O = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11024
|
+
const getOperationSpec$r = {
|
|
10573
11025
|
path: "/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus",
|
|
10574
11026
|
httpMethod: "POST",
|
|
10575
11027
|
responses: {
|
|
@@ -10586,7 +11038,7 @@ const getOperationSpec$p = {
|
|
|
10586
11038
|
],
|
|
10587
11039
|
headerParameters: [accept, contentType],
|
|
10588
11040
|
mediaType: "json",
|
|
10589
|
-
serializer: serializer$
|
|
11041
|
+
serializer: serializer$O
|
|
10590
11042
|
};
|
|
10591
11043
|
|
|
10592
11044
|
/*
|
|
@@ -10616,7 +11068,7 @@ class FeatureSupportImpl {
|
|
|
10616
11068
|
}
|
|
10617
11069
|
}
|
|
10618
11070
|
// Operation Specifications
|
|
10619
|
-
const serializer$
|
|
11071
|
+
const serializer$N = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10620
11072
|
const validateOperationSpec$1 = {
|
|
10621
11073
|
path: "/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures",
|
|
10622
11074
|
httpMethod: "POST",
|
|
@@ -10634,7 +11086,7 @@ const validateOperationSpec$1 = {
|
|
|
10634
11086
|
],
|
|
10635
11087
|
headerParameters: [accept, contentType],
|
|
10636
11088
|
mediaType: "json",
|
|
10637
|
-
serializer: serializer$
|
|
11089
|
+
serializer: serializer$N
|
|
10638
11090
|
};
|
|
10639
11091
|
|
|
10640
11092
|
/*
|
|
@@ -10741,7 +11193,7 @@ class BackupProtectionIntentImpl {
|
|
|
10741
11193
|
}
|
|
10742
11194
|
}
|
|
10743
11195
|
// Operation Specifications
|
|
10744
|
-
const serializer$
|
|
11196
|
+
const serializer$M = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10745
11197
|
const listOperationSpec$d = {
|
|
10746
11198
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents",
|
|
10747
11199
|
httpMethod: "GET",
|
|
@@ -10762,7 +11214,7 @@ const listOperationSpec$d = {
|
|
|
10762
11214
|
subscriptionId
|
|
10763
11215
|
],
|
|
10764
11216
|
headerParameters: [accept],
|
|
10765
|
-
serializer: serializer$
|
|
11217
|
+
serializer: serializer$M
|
|
10766
11218
|
};
|
|
10767
11219
|
const listNextOperationSpec$c = {
|
|
10768
11220
|
path: "{nextLink}",
|
|
@@ -10780,7 +11232,7 @@ const listNextOperationSpec$c = {
|
|
|
10780
11232
|
nextLink
|
|
10781
11233
|
],
|
|
10782
11234
|
headerParameters: [accept],
|
|
10783
|
-
serializer: serializer$
|
|
11235
|
+
serializer: serializer$M
|
|
10784
11236
|
};
|
|
10785
11237
|
|
|
10786
11238
|
/*
|
|
@@ -10863,7 +11315,7 @@ class BackupUsageSummariesImpl {
|
|
|
10863
11315
|
}
|
|
10864
11316
|
}
|
|
10865
11317
|
// Operation Specifications
|
|
10866
|
-
const serializer$
|
|
11318
|
+
const serializer$L = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10867
11319
|
const listOperationSpec$c = {
|
|
10868
11320
|
path: "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupUsageSummaries",
|
|
10869
11321
|
httpMethod: "GET",
|
|
@@ -10884,7 +11336,7 @@ const listOperationSpec$c = {
|
|
|
10884
11336
|
subscriptionId
|
|
10885
11337
|
],
|
|
10886
11338
|
headerParameters: [accept],
|
|
10887
|
-
serializer: serializer$
|
|
11339
|
+
serializer: serializer$L
|
|
10888
11340
|
};
|
|
10889
11341
|
|
|
10890
11342
|
/*
|
|
@@ -10982,7 +11434,7 @@ class OperationsImpl {
|
|
|
10982
11434
|
}
|
|
10983
11435
|
}
|
|
10984
11436
|
// Operation Specifications
|
|
10985
|
-
const serializer$
|
|
11437
|
+
const serializer$K = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
10986
11438
|
const listOperationSpec$b = {
|
|
10987
11439
|
path: "/providers/Microsoft.RecoveryServices/operations",
|
|
10988
11440
|
httpMethod: "GET",
|
|
@@ -10994,7 +11446,7 @@ const listOperationSpec$b = {
|
|
|
10994
11446
|
queryParameters: [apiVersion],
|
|
10995
11447
|
urlParameters: [$host],
|
|
10996
11448
|
headerParameters: [accept],
|
|
10997
|
-
serializer: serializer$
|
|
11449
|
+
serializer: serializer$K
|
|
10998
11450
|
};
|
|
10999
11451
|
const listNextOperationSpec$b = {
|
|
11000
11452
|
path: "{nextLink}",
|
|
@@ -11006,7 +11458,7 @@ const listNextOperationSpec$b = {
|
|
|
11006
11458
|
},
|
|
11007
11459
|
urlParameters: [$host, nextLink],
|
|
11008
11460
|
headerParameters: [accept],
|
|
11009
|
-
serializer: serializer$
|
|
11461
|
+
serializer: serializer$K
|
|
11010
11462
|
};
|
|
11011
11463
|
|
|
11012
11464
|
/*
|
|
@@ -11033,7 +11485,7 @@ class BackupResourceVaultConfigsImpl {
|
|
|
11033
11485
|
* @param options The options parameters.
|
|
11034
11486
|
*/
|
|
11035
11487
|
get(vaultName, resourceGroupName, options) {
|
|
11036
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$
|
|
11488
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$q);
|
|
11037
11489
|
}
|
|
11038
11490
|
/**
|
|
11039
11491
|
* Updates vault security config.
|
|
@@ -11059,8 +11511,8 @@ class BackupResourceVaultConfigsImpl {
|
|
|
11059
11511
|
}
|
|
11060
11512
|
}
|
|
11061
11513
|
// Operation Specifications
|
|
11062
|
-
const serializer$
|
|
11063
|
-
const getOperationSpec$
|
|
11514
|
+
const serializer$J = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11515
|
+
const getOperationSpec$q = {
|
|
11064
11516
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig",
|
|
11065
11517
|
httpMethod: "GET",
|
|
11066
11518
|
responses: {
|
|
@@ -11079,7 +11531,7 @@ const getOperationSpec$o = {
|
|
|
11079
11531
|
subscriptionId
|
|
11080
11532
|
],
|
|
11081
11533
|
headerParameters: [accept],
|
|
11082
|
-
serializer: serializer$
|
|
11534
|
+
serializer: serializer$J
|
|
11083
11535
|
};
|
|
11084
11536
|
const updateOperationSpec$1 = {
|
|
11085
11537
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig",
|
|
@@ -11102,7 +11554,7 @@ const updateOperationSpec$1 = {
|
|
|
11102
11554
|
],
|
|
11103
11555
|
headerParameters: [accept, contentType],
|
|
11104
11556
|
mediaType: "json",
|
|
11105
|
-
serializer: serializer$
|
|
11557
|
+
serializer: serializer$J
|
|
11106
11558
|
};
|
|
11107
11559
|
const putOperationSpec$2 = {
|
|
11108
11560
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig",
|
|
@@ -11125,7 +11577,7 @@ const putOperationSpec$2 = {
|
|
|
11125
11577
|
],
|
|
11126
11578
|
headerParameters: [accept, contentType],
|
|
11127
11579
|
mediaType: "json",
|
|
11128
|
-
serializer: serializer$
|
|
11580
|
+
serializer: serializer$J
|
|
11129
11581
|
};
|
|
11130
11582
|
|
|
11131
11583
|
/*
|
|
@@ -11152,7 +11604,7 @@ class BackupResourceEncryptionConfigsImpl {
|
|
|
11152
11604
|
* @param options The options parameters.
|
|
11153
11605
|
*/
|
|
11154
11606
|
get(vaultName, resourceGroupName, options) {
|
|
11155
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$
|
|
11607
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$p);
|
|
11156
11608
|
}
|
|
11157
11609
|
/**
|
|
11158
11610
|
* Updates Vault encryption config.
|
|
@@ -11167,8 +11619,8 @@ class BackupResourceEncryptionConfigsImpl {
|
|
|
11167
11619
|
}
|
|
11168
11620
|
}
|
|
11169
11621
|
// Operation Specifications
|
|
11170
|
-
const serializer$
|
|
11171
|
-
const getOperationSpec$
|
|
11622
|
+
const serializer$I = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11623
|
+
const getOperationSpec$p = {
|
|
11172
11624
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEncryptionConfigs/backupResourceEncryptionConfig",
|
|
11173
11625
|
httpMethod: "GET",
|
|
11174
11626
|
responses: {
|
|
@@ -11187,7 +11639,7 @@ const getOperationSpec$n = {
|
|
|
11187
11639
|
subscriptionId
|
|
11188
11640
|
],
|
|
11189
11641
|
headerParameters: [accept],
|
|
11190
|
-
serializer: serializer$
|
|
11642
|
+
serializer: serializer$I
|
|
11191
11643
|
};
|
|
11192
11644
|
const updateOperationSpec = {
|
|
11193
11645
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEncryptionConfigs/backupResourceEncryptionConfig",
|
|
@@ -11208,7 +11660,7 @@ const updateOperationSpec = {
|
|
|
11208
11660
|
],
|
|
11209
11661
|
headerParameters: [accept, contentType],
|
|
11210
11662
|
mediaType: "json",
|
|
11211
|
-
serializer: serializer$
|
|
11663
|
+
serializer: serializer$I
|
|
11212
11664
|
};
|
|
11213
11665
|
|
|
11214
11666
|
/*
|
|
@@ -11236,7 +11688,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
11236
11688
|
* @param options The options parameters.
|
|
11237
11689
|
*/
|
|
11238
11690
|
get(vaultName, resourceGroupName, privateEndpointConnectionName, options) {
|
|
11239
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, privateEndpointConnectionName, options }, getOperationSpec$
|
|
11691
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, privateEndpointConnectionName, options }, getOperationSpec$o);
|
|
11240
11692
|
}
|
|
11241
11693
|
/**
|
|
11242
11694
|
* Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
|
|
@@ -11371,8 +11823,8 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
11371
11823
|
}
|
|
11372
11824
|
}
|
|
11373
11825
|
// Operation Specifications
|
|
11374
|
-
const serializer$
|
|
11375
|
-
const getOperationSpec$
|
|
11826
|
+
const serializer$H = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11827
|
+
const getOperationSpec$o = {
|
|
11376
11828
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
11377
11829
|
httpMethod: "GET",
|
|
11378
11830
|
responses: {
|
|
@@ -11392,7 +11844,7 @@ const getOperationSpec$m = {
|
|
|
11392
11844
|
privateEndpointConnectionName
|
|
11393
11845
|
],
|
|
11394
11846
|
headerParameters: [accept],
|
|
11395
|
-
serializer: serializer$
|
|
11847
|
+
serializer: serializer$H
|
|
11396
11848
|
};
|
|
11397
11849
|
const putOperationSpec$1 = {
|
|
11398
11850
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -11425,7 +11877,7 @@ const putOperationSpec$1 = {
|
|
|
11425
11877
|
],
|
|
11426
11878
|
headerParameters: [accept, contentType],
|
|
11427
11879
|
mediaType: "json",
|
|
11428
|
-
serializer: serializer$
|
|
11880
|
+
serializer: serializer$H
|
|
11429
11881
|
};
|
|
11430
11882
|
const deleteOperationSpec$3 = {
|
|
11431
11883
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -11448,7 +11900,7 @@ const deleteOperationSpec$3 = {
|
|
|
11448
11900
|
privateEndpointConnectionName
|
|
11449
11901
|
],
|
|
11450
11902
|
headerParameters: [accept],
|
|
11451
|
-
serializer: serializer$
|
|
11903
|
+
serializer: serializer$H
|
|
11452
11904
|
};
|
|
11453
11905
|
|
|
11454
11906
|
/*
|
|
@@ -11487,7 +11939,7 @@ class PrivateEndpointOperationsImpl {
|
|
|
11487
11939
|
}
|
|
11488
11940
|
}
|
|
11489
11941
|
// Operation Specifications
|
|
11490
|
-
const serializer$
|
|
11942
|
+
const serializer$G = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11491
11943
|
const getOperationStatusOperationSpec$1 = {
|
|
11492
11944
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}/operationsStatus/{operationId}",
|
|
11493
11945
|
httpMethod: "GET",
|
|
@@ -11509,7 +11961,7 @@ const getOperationStatusOperationSpec$1 = {
|
|
|
11509
11961
|
operationId
|
|
11510
11962
|
],
|
|
11511
11963
|
headerParameters: [accept],
|
|
11512
|
-
serializer: serializer$
|
|
11964
|
+
serializer: serializer$G
|
|
11513
11965
|
};
|
|
11514
11966
|
|
|
11515
11967
|
/*
|
|
@@ -11537,12 +11989,12 @@ class BMSPrepareDataMoveOperationResultImpl {
|
|
|
11537
11989
|
* @param options The options parameters.
|
|
11538
11990
|
*/
|
|
11539
11991
|
get(vaultName, resourceGroupName, operationId, options) {
|
|
11540
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$
|
|
11992
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$n);
|
|
11541
11993
|
}
|
|
11542
11994
|
}
|
|
11543
11995
|
// Operation Specifications
|
|
11544
|
-
const serializer$
|
|
11545
|
-
const getOperationSpec$
|
|
11996
|
+
const serializer$F = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11997
|
+
const getOperationSpec$n = {
|
|
11546
11998
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig/operationResults/{operationId}",
|
|
11547
11999
|
httpMethod: "GET",
|
|
11548
12000
|
responses: {
|
|
@@ -11563,7 +12015,7 @@ const getOperationSpec$l = {
|
|
|
11563
12015
|
operationId
|
|
11564
12016
|
],
|
|
11565
12017
|
headerParameters: [accept],
|
|
11566
|
-
serializer: serializer$
|
|
12018
|
+
serializer: serializer$F
|
|
11567
12019
|
};
|
|
11568
12020
|
|
|
11569
12021
|
/*
|
|
@@ -11602,7 +12054,7 @@ class ProtectedItemsImpl {
|
|
|
11602
12054
|
containerName,
|
|
11603
12055
|
protectedItemName,
|
|
11604
12056
|
options
|
|
11605
|
-
}, getOperationSpec$
|
|
12057
|
+
}, getOperationSpec$m);
|
|
11606
12058
|
}
|
|
11607
12059
|
/**
|
|
11608
12060
|
* Enables backup of an item or to modifies the backup policy information of an already backed up item.
|
|
@@ -11652,8 +12104,8 @@ class ProtectedItemsImpl {
|
|
|
11652
12104
|
}
|
|
11653
12105
|
}
|
|
11654
12106
|
// Operation Specifications
|
|
11655
|
-
const serializer$
|
|
11656
|
-
const getOperationSpec$
|
|
12107
|
+
const serializer$E = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12108
|
+
const getOperationSpec$m = {
|
|
11657
12109
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}",
|
|
11658
12110
|
httpMethod: "GET",
|
|
11659
12111
|
responses: {
|
|
@@ -11675,7 +12127,7 @@ const getOperationSpec$k = {
|
|
|
11675
12127
|
protectedItemName
|
|
11676
12128
|
],
|
|
11677
12129
|
headerParameters: [accept],
|
|
11678
|
-
serializer: serializer$
|
|
12130
|
+
serializer: serializer$E
|
|
11679
12131
|
};
|
|
11680
12132
|
const createOrUpdateOperationSpec$1 = {
|
|
11681
12133
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}",
|
|
@@ -11702,7 +12154,7 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
11702
12154
|
],
|
|
11703
12155
|
headerParameters: [accept, contentType],
|
|
11704
12156
|
mediaType: "json",
|
|
11705
|
-
serializer: serializer$
|
|
12157
|
+
serializer: serializer$E
|
|
11706
12158
|
};
|
|
11707
12159
|
const deleteOperationSpec$2 = {
|
|
11708
12160
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}",
|
|
@@ -11726,7 +12178,7 @@ const deleteOperationSpec$2 = {
|
|
|
11726
12178
|
protectedItemName
|
|
11727
12179
|
],
|
|
11728
12180
|
headerParameters: [accept],
|
|
11729
|
-
serializer: serializer$
|
|
12181
|
+
serializer: serializer$E
|
|
11730
12182
|
};
|
|
11731
12183
|
|
|
11732
12184
|
/*
|
|
@@ -11765,12 +12217,12 @@ class ProtectedItemOperationResultsImpl {
|
|
|
11765
12217
|
protectedItemName,
|
|
11766
12218
|
operationId,
|
|
11767
12219
|
options
|
|
11768
|
-
}, getOperationSpec$
|
|
12220
|
+
}, getOperationSpec$l);
|
|
11769
12221
|
}
|
|
11770
12222
|
}
|
|
11771
12223
|
// Operation Specifications
|
|
11772
|
-
const serializer$
|
|
11773
|
-
const getOperationSpec$
|
|
12224
|
+
const serializer$D = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12225
|
+
const getOperationSpec$l = {
|
|
11774
12226
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/operationResults/{operationId}",
|
|
11775
12227
|
httpMethod: "GET",
|
|
11776
12228
|
responses: {
|
|
@@ -11795,7 +12247,7 @@ const getOperationSpec$j = {
|
|
|
11795
12247
|
protectedItemName
|
|
11796
12248
|
],
|
|
11797
12249
|
headerParameters: [accept],
|
|
11798
|
-
serializer: serializer$
|
|
12250
|
+
serializer: serializer$D
|
|
11799
12251
|
};
|
|
11800
12252
|
|
|
11801
12253
|
/*
|
|
@@ -11924,7 +12376,7 @@ class RecoveryPointsImpl {
|
|
|
11924
12376
|
protectedItemName,
|
|
11925
12377
|
recoveryPointId,
|
|
11926
12378
|
options
|
|
11927
|
-
}, getOperationSpec$
|
|
12379
|
+
}, getOperationSpec$k);
|
|
11928
12380
|
}
|
|
11929
12381
|
/**
|
|
11930
12382
|
* ListNext
|
|
@@ -11950,7 +12402,7 @@ class RecoveryPointsImpl {
|
|
|
11950
12402
|
}
|
|
11951
12403
|
}
|
|
11952
12404
|
// Operation Specifications
|
|
11953
|
-
const serializer$
|
|
12405
|
+
const serializer$C = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
11954
12406
|
const listOperationSpec$a = {
|
|
11955
12407
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints",
|
|
11956
12408
|
httpMethod: "GET",
|
|
@@ -11973,9 +12425,9 @@ const listOperationSpec$a = {
|
|
|
11973
12425
|
protectedItemName
|
|
11974
12426
|
],
|
|
11975
12427
|
headerParameters: [accept],
|
|
11976
|
-
serializer: serializer$
|
|
12428
|
+
serializer: serializer$C
|
|
11977
12429
|
};
|
|
11978
|
-
const getOperationSpec$
|
|
12430
|
+
const getOperationSpec$k = {
|
|
11979
12431
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}",
|
|
11980
12432
|
httpMethod: "GET",
|
|
11981
12433
|
responses: {
|
|
@@ -11998,7 +12450,7 @@ const getOperationSpec$i = {
|
|
|
11998
12450
|
recoveryPointId
|
|
11999
12451
|
],
|
|
12000
12452
|
headerParameters: [accept],
|
|
12001
|
-
serializer: serializer$
|
|
12453
|
+
serializer: serializer$C
|
|
12002
12454
|
};
|
|
12003
12455
|
const listNextOperationSpec$a = {
|
|
12004
12456
|
path: "{nextLink}",
|
|
@@ -12022,7 +12474,7 @@ const listNextOperationSpec$a = {
|
|
|
12022
12474
|
protectedItemName
|
|
12023
12475
|
],
|
|
12024
12476
|
headerParameters: [accept],
|
|
12025
|
-
serializer: serializer$
|
|
12477
|
+
serializer: serializer$C
|
|
12026
12478
|
};
|
|
12027
12479
|
|
|
12028
12480
|
/*
|
|
@@ -12123,7 +12575,7 @@ class RestoresImpl {
|
|
|
12123
12575
|
}
|
|
12124
12576
|
}
|
|
12125
12577
|
// Operation Specifications
|
|
12126
|
-
const serializer$
|
|
12578
|
+
const serializer$B = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12127
12579
|
const triggerOperationSpec$3 = {
|
|
12128
12580
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/restore",
|
|
12129
12581
|
httpMethod: "POST",
|
|
@@ -12150,7 +12602,7 @@ const triggerOperationSpec$3 = {
|
|
|
12150
12602
|
],
|
|
12151
12603
|
headerParameters: [accept, contentType],
|
|
12152
12604
|
mediaType: "json",
|
|
12153
|
-
serializer: serializer$
|
|
12605
|
+
serializer: serializer$B
|
|
12154
12606
|
};
|
|
12155
12607
|
|
|
12156
12608
|
/*
|
|
@@ -12261,7 +12713,7 @@ class BackupPoliciesImpl {
|
|
|
12261
12713
|
}
|
|
12262
12714
|
}
|
|
12263
12715
|
// Operation Specifications
|
|
12264
|
-
const serializer$
|
|
12716
|
+
const serializer$A = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12265
12717
|
const listOperationSpec$9 = {
|
|
12266
12718
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies",
|
|
12267
12719
|
httpMethod: "GET",
|
|
@@ -12281,7 +12733,7 @@ const listOperationSpec$9 = {
|
|
|
12281
12733
|
subscriptionId
|
|
12282
12734
|
],
|
|
12283
12735
|
headerParameters: [accept],
|
|
12284
|
-
serializer: serializer$
|
|
12736
|
+
serializer: serializer$A
|
|
12285
12737
|
};
|
|
12286
12738
|
const listNextOperationSpec$9 = {
|
|
12287
12739
|
path: "{nextLink}",
|
|
@@ -12302,7 +12754,7 @@ const listNextOperationSpec$9 = {
|
|
|
12302
12754
|
nextLink
|
|
12303
12755
|
],
|
|
12304
12756
|
headerParameters: [accept],
|
|
12305
|
-
serializer: serializer$
|
|
12757
|
+
serializer: serializer$A
|
|
12306
12758
|
};
|
|
12307
12759
|
|
|
12308
12760
|
/*
|
|
@@ -12332,7 +12784,7 @@ class ProtectionPoliciesImpl {
|
|
|
12332
12784
|
* @param options The options parameters.
|
|
12333
12785
|
*/
|
|
12334
12786
|
get(vaultName, resourceGroupName, policyName, options) {
|
|
12335
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, policyName, options }, getOperationSpec$
|
|
12787
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, policyName, options }, getOperationSpec$j);
|
|
12336
12788
|
}
|
|
12337
12789
|
/**
|
|
12338
12790
|
* Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can
|
|
@@ -12413,8 +12865,8 @@ class ProtectionPoliciesImpl {
|
|
|
12413
12865
|
}
|
|
12414
12866
|
}
|
|
12415
12867
|
// Operation Specifications
|
|
12416
|
-
const serializer$
|
|
12417
|
-
const getOperationSpec$
|
|
12868
|
+
const serializer$z = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12869
|
+
const getOperationSpec$j = {
|
|
12418
12870
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}",
|
|
12419
12871
|
httpMethod: "GET",
|
|
12420
12872
|
responses: {
|
|
@@ -12434,7 +12886,7 @@ const getOperationSpec$h = {
|
|
|
12434
12886
|
policyName
|
|
12435
12887
|
],
|
|
12436
12888
|
headerParameters: [accept],
|
|
12437
|
-
serializer: serializer$
|
|
12889
|
+
serializer: serializer$z
|
|
12438
12890
|
};
|
|
12439
12891
|
const createOrUpdateOperationSpec = {
|
|
12440
12892
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}",
|
|
@@ -12459,7 +12911,7 @@ const createOrUpdateOperationSpec = {
|
|
|
12459
12911
|
],
|
|
12460
12912
|
headerParameters: [accept, contentType],
|
|
12461
12913
|
mediaType: "json",
|
|
12462
|
-
serializer: serializer$
|
|
12914
|
+
serializer: serializer$z
|
|
12463
12915
|
};
|
|
12464
12916
|
const deleteOperationSpec$1 = {
|
|
12465
12917
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}",
|
|
@@ -12482,7 +12934,7 @@ const deleteOperationSpec$1 = {
|
|
|
12482
12934
|
policyName
|
|
12483
12935
|
],
|
|
12484
12936
|
headerParameters: [accept],
|
|
12485
|
-
serializer: serializer$
|
|
12937
|
+
serializer: serializer$z
|
|
12486
12938
|
};
|
|
12487
12939
|
|
|
12488
12940
|
/*
|
|
@@ -12511,12 +12963,12 @@ class ProtectionPolicyOperationResultsImpl {
|
|
|
12511
12963
|
* @param options The options parameters.
|
|
12512
12964
|
*/
|
|
12513
12965
|
get(vaultName, resourceGroupName, policyName, operationId, options) {
|
|
12514
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, policyName, operationId, options }, getOperationSpec$
|
|
12966
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, policyName, operationId, options }, getOperationSpec$i);
|
|
12515
12967
|
}
|
|
12516
12968
|
}
|
|
12517
12969
|
// Operation Specifications
|
|
12518
|
-
const serializer$
|
|
12519
|
-
const getOperationSpec$
|
|
12970
|
+
const serializer$y = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12971
|
+
const getOperationSpec$i = {
|
|
12520
12972
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}/operationResults/{operationId}",
|
|
12521
12973
|
httpMethod: "GET",
|
|
12522
12974
|
responses: {
|
|
@@ -12537,7 +12989,7 @@ const getOperationSpec$g = {
|
|
|
12537
12989
|
policyName
|
|
12538
12990
|
],
|
|
12539
12991
|
headerParameters: [accept],
|
|
12540
|
-
serializer: serializer$
|
|
12992
|
+
serializer: serializer$y
|
|
12541
12993
|
};
|
|
12542
12994
|
|
|
12543
12995
|
/*
|
|
@@ -12644,7 +13096,7 @@ class BackupJobsImpl {
|
|
|
12644
13096
|
}
|
|
12645
13097
|
}
|
|
12646
13098
|
// Operation Specifications
|
|
12647
|
-
const serializer$
|
|
13099
|
+
const serializer$x = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12648
13100
|
const listOperationSpec$8 = {
|
|
12649
13101
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs",
|
|
12650
13102
|
httpMethod: "GET",
|
|
@@ -12668,7 +13120,7 @@ const listOperationSpec$8 = {
|
|
|
12668
13120
|
subscriptionId
|
|
12669
13121
|
],
|
|
12670
13122
|
headerParameters: [accept],
|
|
12671
|
-
serializer: serializer$
|
|
13123
|
+
serializer: serializer$x
|
|
12672
13124
|
};
|
|
12673
13125
|
const listNextOperationSpec$8 = {
|
|
12674
13126
|
path: "{nextLink}",
|
|
@@ -12689,7 +13141,7 @@ const listNextOperationSpec$8 = {
|
|
|
12689
13141
|
nextLink
|
|
12690
13142
|
],
|
|
12691
13143
|
headerParameters: [accept],
|
|
12692
|
-
serializer: serializer$
|
|
13144
|
+
serializer: serializer$x
|
|
12693
13145
|
};
|
|
12694
13146
|
|
|
12695
13147
|
/*
|
|
@@ -12717,12 +13169,12 @@ class JobDetailsImpl {
|
|
|
12717
13169
|
* @param options The options parameters.
|
|
12718
13170
|
*/
|
|
12719
13171
|
get(vaultName, resourceGroupName, jobName, options) {
|
|
12720
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, jobName, options }, getOperationSpec$
|
|
13172
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, jobName, options }, getOperationSpec$h);
|
|
12721
13173
|
}
|
|
12722
13174
|
}
|
|
12723
13175
|
// Operation Specifications
|
|
12724
|
-
const serializer$
|
|
12725
|
-
const getOperationSpec$
|
|
13176
|
+
const serializer$w = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13177
|
+
const getOperationSpec$h = {
|
|
12726
13178
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}",
|
|
12727
13179
|
httpMethod: "GET",
|
|
12728
13180
|
responses: {
|
|
@@ -12742,7 +13194,7 @@ const getOperationSpec$f = {
|
|
|
12742
13194
|
jobName
|
|
12743
13195
|
],
|
|
12744
13196
|
headerParameters: [accept],
|
|
12745
|
-
serializer: serializer$
|
|
13197
|
+
serializer: serializer$w
|
|
12746
13198
|
};
|
|
12747
13199
|
|
|
12748
13200
|
/*
|
|
@@ -12775,7 +13227,7 @@ class JobCancellationsImpl {
|
|
|
12775
13227
|
}
|
|
12776
13228
|
}
|
|
12777
13229
|
// Operation Specifications
|
|
12778
|
-
const serializer$
|
|
13230
|
+
const serializer$v = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12779
13231
|
const triggerOperationSpec$2 = {
|
|
12780
13232
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/cancel",
|
|
12781
13233
|
httpMethod: "POST",
|
|
@@ -12794,7 +13246,7 @@ const triggerOperationSpec$2 = {
|
|
|
12794
13246
|
jobName
|
|
12795
13247
|
],
|
|
12796
13248
|
headerParameters: [accept],
|
|
12797
|
-
serializer: serializer$
|
|
13249
|
+
serializer: serializer$v
|
|
12798
13250
|
};
|
|
12799
13251
|
|
|
12800
13252
|
/*
|
|
@@ -12823,12 +13275,12 @@ class JobOperationResultsImpl {
|
|
|
12823
13275
|
* @param options The options parameters.
|
|
12824
13276
|
*/
|
|
12825
13277
|
get(vaultName, resourceGroupName, jobName, operationId, options) {
|
|
12826
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, jobName, operationId, options }, getOperationSpec$
|
|
13278
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, jobName, operationId, options }, getOperationSpec$g);
|
|
12827
13279
|
}
|
|
12828
13280
|
}
|
|
12829
13281
|
// Operation Specifications
|
|
12830
|
-
const serializer$
|
|
12831
|
-
const getOperationSpec$
|
|
13282
|
+
const serializer$u = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13283
|
+
const getOperationSpec$g = {
|
|
12832
13284
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/operationResults/{operationId}",
|
|
12833
13285
|
httpMethod: "GET",
|
|
12834
13286
|
responses: {
|
|
@@ -12849,7 +13301,7 @@ const getOperationSpec$e = {
|
|
|
12849
13301
|
jobName
|
|
12850
13302
|
],
|
|
12851
13303
|
headerParameters: [accept],
|
|
12852
|
-
serializer: serializer$
|
|
13304
|
+
serializer: serializer$u
|
|
12853
13305
|
};
|
|
12854
13306
|
|
|
12855
13307
|
/*
|
|
@@ -12880,12 +13332,12 @@ class ExportJobsOperationResultsImpl {
|
|
|
12880
13332
|
* @param options The options parameters.
|
|
12881
13333
|
*/
|
|
12882
13334
|
get(vaultName, resourceGroupName, operationId, options) {
|
|
12883
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$
|
|
13335
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$f);
|
|
12884
13336
|
}
|
|
12885
13337
|
}
|
|
12886
13338
|
// Operation Specifications
|
|
12887
|
-
const serializer$
|
|
12888
|
-
const getOperationSpec$
|
|
13339
|
+
const serializer$t = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13340
|
+
const getOperationSpec$f = {
|
|
12889
13341
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/operationResults/{operationId}",
|
|
12890
13342
|
httpMethod: "GET",
|
|
12891
13343
|
responses: {
|
|
@@ -12908,7 +13360,7 @@ const getOperationSpec$d = {
|
|
|
12908
13360
|
operationId
|
|
12909
13361
|
],
|
|
12910
13362
|
headerParameters: [accept],
|
|
12911
|
-
serializer: serializer$
|
|
13363
|
+
serializer: serializer$t
|
|
12912
13364
|
};
|
|
12913
13365
|
|
|
12914
13366
|
/*
|
|
@@ -12939,7 +13391,7 @@ class JobsImpl {
|
|
|
12939
13391
|
}
|
|
12940
13392
|
}
|
|
12941
13393
|
// Operation Specifications
|
|
12942
|
-
const serializer$
|
|
13394
|
+
const serializer$s = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
12943
13395
|
const exportOperationSpec = {
|
|
12944
13396
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobsExport",
|
|
12945
13397
|
httpMethod: "POST",
|
|
@@ -12957,7 +13409,7 @@ const exportOperationSpec = {
|
|
|
12957
13409
|
subscriptionId
|
|
12958
13410
|
],
|
|
12959
13411
|
headerParameters: [accept],
|
|
12960
|
-
serializer: serializer$
|
|
13412
|
+
serializer: serializer$s
|
|
12961
13413
|
};
|
|
12962
13414
|
|
|
12963
13415
|
/*
|
|
@@ -13064,7 +13516,7 @@ class BackupProtectedItemsImpl {
|
|
|
13064
13516
|
}
|
|
13065
13517
|
}
|
|
13066
13518
|
// Operation Specifications
|
|
13067
|
-
const serializer$
|
|
13519
|
+
const serializer$r = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13068
13520
|
const listOperationSpec$7 = {
|
|
13069
13521
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectedItems",
|
|
13070
13522
|
httpMethod: "GET",
|
|
@@ -13088,7 +13540,7 @@ const listOperationSpec$7 = {
|
|
|
13088
13540
|
subscriptionId
|
|
13089
13541
|
],
|
|
13090
13542
|
headerParameters: [accept],
|
|
13091
|
-
serializer: serializer$
|
|
13543
|
+
serializer: serializer$r
|
|
13092
13544
|
};
|
|
13093
13545
|
const listNextOperationSpec$7 = {
|
|
13094
13546
|
path: "{nextLink}",
|
|
@@ -13109,7 +13561,7 @@ const listNextOperationSpec$7 = {
|
|
|
13109
13561
|
nextLink
|
|
13110
13562
|
],
|
|
13111
13563
|
headerParameters: [accept],
|
|
13112
|
-
serializer: serializer$
|
|
13564
|
+
serializer: serializer$r
|
|
13113
13565
|
};
|
|
13114
13566
|
|
|
13115
13567
|
/*
|
|
@@ -13141,7 +13593,7 @@ class OperationImpl {
|
|
|
13141
13593
|
}
|
|
13142
13594
|
}
|
|
13143
13595
|
// Operation Specifications
|
|
13144
|
-
const serializer$
|
|
13596
|
+
const serializer$q = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13145
13597
|
const validateOperationSpec = {
|
|
13146
13598
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperation",
|
|
13147
13599
|
httpMethod: "POST",
|
|
@@ -13163,7 +13615,7 @@ const validateOperationSpec = {
|
|
|
13163
13615
|
],
|
|
13164
13616
|
headerParameters: [accept, contentType],
|
|
13165
13617
|
mediaType: "json",
|
|
13166
|
-
serializer: serializer$
|
|
13618
|
+
serializer: serializer$q
|
|
13167
13619
|
};
|
|
13168
13620
|
|
|
13169
13621
|
/*
|
|
@@ -13245,7 +13697,7 @@ class ValidateOperationImpl {
|
|
|
13245
13697
|
}
|
|
13246
13698
|
}
|
|
13247
13699
|
// Operation Specifications
|
|
13248
|
-
const serializer$
|
|
13700
|
+
const serializer$p = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13249
13701
|
const triggerOperationSpec$1 = {
|
|
13250
13702
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTriggerValidateOperation",
|
|
13251
13703
|
httpMethod: "POST",
|
|
@@ -13268,7 +13720,7 @@ const triggerOperationSpec$1 = {
|
|
|
13268
13720
|
],
|
|
13269
13721
|
headerParameters: [accept, contentType],
|
|
13270
13722
|
mediaType: "json",
|
|
13271
|
-
serializer: serializer$
|
|
13723
|
+
serializer: serializer$p
|
|
13272
13724
|
};
|
|
13273
13725
|
|
|
13274
13726
|
/*
|
|
@@ -13296,12 +13748,12 @@ class ValidateOperationResultsImpl {
|
|
|
13296
13748
|
* @param options The options parameters.
|
|
13297
13749
|
*/
|
|
13298
13750
|
get(vaultName, resourceGroupName, operationId, options) {
|
|
13299
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$
|
|
13751
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$e);
|
|
13300
13752
|
}
|
|
13301
13753
|
}
|
|
13302
13754
|
// Operation Specifications
|
|
13303
|
-
const serializer$
|
|
13304
|
-
const getOperationSpec$
|
|
13755
|
+
const serializer$o = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13756
|
+
const getOperationSpec$e = {
|
|
13305
13757
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperationResults/{operationId}",
|
|
13306
13758
|
httpMethod: "GET",
|
|
13307
13759
|
responses: {
|
|
@@ -13322,7 +13774,7 @@ const getOperationSpec$c = {
|
|
|
13322
13774
|
operationId
|
|
13323
13775
|
],
|
|
13324
13776
|
headerParameters: [accept],
|
|
13325
|
-
serializer: serializer$
|
|
13777
|
+
serializer: serializer$o
|
|
13326
13778
|
};
|
|
13327
13779
|
|
|
13328
13780
|
/*
|
|
@@ -13353,12 +13805,12 @@ class ValidateOperationStatusesImpl {
|
|
|
13353
13805
|
* @param options The options parameters.
|
|
13354
13806
|
*/
|
|
13355
13807
|
get(vaultName, resourceGroupName, operationId, options) {
|
|
13356
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$
|
|
13808
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$d);
|
|
13357
13809
|
}
|
|
13358
13810
|
}
|
|
13359
13811
|
// Operation Specifications
|
|
13360
|
-
const serializer$
|
|
13361
|
-
const getOperationSpec$
|
|
13812
|
+
const serializer$n = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13813
|
+
const getOperationSpec$d = {
|
|
13362
13814
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperationsStatuses/{operationId}",
|
|
13363
13815
|
httpMethod: "GET",
|
|
13364
13816
|
responses: {
|
|
@@ -13378,7 +13830,7 @@ const getOperationSpec$b = {
|
|
|
13378
13830
|
operationId
|
|
13379
13831
|
],
|
|
13380
13832
|
headerParameters: [accept],
|
|
13381
|
-
serializer: serializer$
|
|
13833
|
+
serializer: serializer$n
|
|
13382
13834
|
};
|
|
13383
13835
|
|
|
13384
13836
|
/*
|
|
@@ -13481,7 +13933,7 @@ class BackupEnginesImpl {
|
|
|
13481
13933
|
* @param options The options parameters.
|
|
13482
13934
|
*/
|
|
13483
13935
|
get(vaultName, resourceGroupName, backupEngineName, options) {
|
|
13484
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, backupEngineName, options }, getOperationSpec$
|
|
13936
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, backupEngineName, options }, getOperationSpec$c);
|
|
13485
13937
|
}
|
|
13486
13938
|
/**
|
|
13487
13939
|
* ListNext
|
|
@@ -13496,7 +13948,7 @@ class BackupEnginesImpl {
|
|
|
13496
13948
|
}
|
|
13497
13949
|
}
|
|
13498
13950
|
// Operation Specifications
|
|
13499
|
-
const serializer$
|
|
13951
|
+
const serializer$m = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13500
13952
|
const listOperationSpec$6 = {
|
|
13501
13953
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines",
|
|
13502
13954
|
httpMethod: "GET",
|
|
@@ -13520,9 +13972,9 @@ const listOperationSpec$6 = {
|
|
|
13520
13972
|
subscriptionId
|
|
13521
13973
|
],
|
|
13522
13974
|
headerParameters: [accept],
|
|
13523
|
-
serializer: serializer$
|
|
13975
|
+
serializer: serializer$m
|
|
13524
13976
|
};
|
|
13525
|
-
const getOperationSpec$
|
|
13977
|
+
const getOperationSpec$c = {
|
|
13526
13978
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}",
|
|
13527
13979
|
httpMethod: "GET",
|
|
13528
13980
|
responses: {
|
|
@@ -13546,7 +13998,7 @@ const getOperationSpec$a = {
|
|
|
13546
13998
|
backupEngineName
|
|
13547
13999
|
],
|
|
13548
14000
|
headerParameters: [accept],
|
|
13549
|
-
serializer: serializer$
|
|
14001
|
+
serializer: serializer$m
|
|
13550
14002
|
};
|
|
13551
14003
|
const listNextOperationSpec$6 = {
|
|
13552
14004
|
path: "{nextLink}",
|
|
@@ -13567,7 +14019,7 @@ const listNextOperationSpec$6 = {
|
|
|
13567
14019
|
nextLink
|
|
13568
14020
|
],
|
|
13569
14021
|
headerParameters: [accept],
|
|
13570
|
-
serializer: serializer$
|
|
14022
|
+
serializer: serializer$m
|
|
13571
14023
|
};
|
|
13572
14024
|
|
|
13573
14025
|
/*
|
|
@@ -13596,12 +14048,12 @@ class ProtectionContainerRefreshOperationResultsImpl {
|
|
|
13596
14048
|
* @param options The options parameters.
|
|
13597
14049
|
*/
|
|
13598
14050
|
get(vaultName, resourceGroupName, fabricName, operationId, options) {
|
|
13599
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, fabricName, operationId, options }, getOperationSpec$
|
|
14051
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, fabricName, operationId, options }, getOperationSpec$b);
|
|
13600
14052
|
}
|
|
13601
14053
|
}
|
|
13602
14054
|
// Operation Specifications
|
|
13603
|
-
const serializer$
|
|
13604
|
-
const getOperationSpec$
|
|
14055
|
+
const serializer$l = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14056
|
+
const getOperationSpec$b = {
|
|
13605
14057
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/operationResults/{operationId}",
|
|
13606
14058
|
httpMethod: "GET",
|
|
13607
14059
|
responses: {
|
|
@@ -13621,7 +14073,7 @@ const getOperationSpec$9 = {
|
|
|
13621
14073
|
operationId
|
|
13622
14074
|
],
|
|
13623
14075
|
headerParameters: [accept],
|
|
13624
|
-
serializer: serializer$
|
|
14076
|
+
serializer: serializer$l
|
|
13625
14077
|
};
|
|
13626
14078
|
|
|
13627
14079
|
/*
|
|
@@ -13731,7 +14183,7 @@ class ProtectableContainersImpl {
|
|
|
13731
14183
|
}
|
|
13732
14184
|
}
|
|
13733
14185
|
// Operation Specifications
|
|
13734
|
-
const serializer$
|
|
14186
|
+
const serializer$k = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
13735
14187
|
const listOperationSpec$5 = {
|
|
13736
14188
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectableContainers",
|
|
13737
14189
|
httpMethod: "GET",
|
|
@@ -13752,7 +14204,7 @@ const listOperationSpec$5 = {
|
|
|
13752
14204
|
fabricName
|
|
13753
14205
|
],
|
|
13754
14206
|
headerParameters: [accept],
|
|
13755
|
-
serializer: serializer$
|
|
14207
|
+
serializer: serializer$k
|
|
13756
14208
|
};
|
|
13757
14209
|
const listNextOperationSpec$5 = {
|
|
13758
14210
|
path: "{nextLink}",
|
|
@@ -13774,7 +14226,7 @@ const listNextOperationSpec$5 = {
|
|
|
13774
14226
|
nextLink
|
|
13775
14227
|
],
|
|
13776
14228
|
headerParameters: [accept],
|
|
13777
|
-
serializer: serializer$
|
|
14229
|
+
serializer: serializer$k
|
|
13778
14230
|
};
|
|
13779
14231
|
|
|
13780
14232
|
/*
|
|
@@ -13803,7 +14255,7 @@ class ProtectionContainersImpl {
|
|
|
13803
14255
|
* @param options The options parameters.
|
|
13804
14256
|
*/
|
|
13805
14257
|
get(vaultName, resourceGroupName, fabricName, containerName, options) {
|
|
13806
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, fabricName, containerName, options }, getOperationSpec$
|
|
14258
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, fabricName, containerName, options }, getOperationSpec$a);
|
|
13807
14259
|
}
|
|
13808
14260
|
/**
|
|
13809
14261
|
* Registers the container with Recovery Services vault.
|
|
@@ -13818,15 +14270,68 @@ class ProtectionContainersImpl {
|
|
|
13818
14270
|
* @param parameters Request body for operation
|
|
13819
14271
|
* @param options The options parameters.
|
|
13820
14272
|
*/
|
|
13821
|
-
|
|
13822
|
-
return
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
|
|
13829
|
-
|
|
14273
|
+
beginRegister(vaultName, resourceGroupName, fabricName, containerName, parameters, options) {
|
|
14274
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
14275
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
14276
|
+
return this.client.sendOperationRequest(args, spec);
|
|
14277
|
+
});
|
|
14278
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
14279
|
+
var _a;
|
|
14280
|
+
let currentRawResponse = undefined;
|
|
14281
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
14282
|
+
const callback = (rawResponse, flatResponse) => {
|
|
14283
|
+
currentRawResponse = rawResponse;
|
|
14284
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
14285
|
+
};
|
|
14286
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
14287
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
14288
|
+
return {
|
|
14289
|
+
flatResponse,
|
|
14290
|
+
rawResponse: {
|
|
14291
|
+
statusCode: currentRawResponse.status,
|
|
14292
|
+
body: currentRawResponse.parsedBody,
|
|
14293
|
+
headers: currentRawResponse.headers.toJSON()
|
|
14294
|
+
}
|
|
14295
|
+
};
|
|
14296
|
+
});
|
|
14297
|
+
const lro = createLroSpec({
|
|
14298
|
+
sendOperationFn,
|
|
14299
|
+
args: {
|
|
14300
|
+
vaultName,
|
|
14301
|
+
resourceGroupName,
|
|
14302
|
+
fabricName,
|
|
14303
|
+
containerName,
|
|
14304
|
+
parameters,
|
|
14305
|
+
options
|
|
14306
|
+
},
|
|
14307
|
+
spec: registerOperationSpec
|
|
14308
|
+
});
|
|
14309
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
14310
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
14311
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
14312
|
+
});
|
|
14313
|
+
yield poller.poll();
|
|
14314
|
+
return poller;
|
|
14315
|
+
});
|
|
14316
|
+
}
|
|
14317
|
+
/**
|
|
14318
|
+
* Registers the container with Recovery Services vault.
|
|
14319
|
+
* This is an asynchronous operation. To track the operation status, use location header to call get
|
|
14320
|
+
* latest status of
|
|
14321
|
+
* the operation.
|
|
14322
|
+
* @param vaultName The name of the recovery services vault.
|
|
14323
|
+
* @param resourceGroupName The name of the resource group where the recovery services vault is
|
|
14324
|
+
* present.
|
|
14325
|
+
* @param fabricName Fabric name associated with the container.
|
|
14326
|
+
* @param containerName Name of the container to be registered.
|
|
14327
|
+
* @param parameters Request body for operation
|
|
14328
|
+
* @param options The options parameters.
|
|
14329
|
+
*/
|
|
14330
|
+
beginRegisterAndWait(vaultName, resourceGroupName, fabricName, containerName, parameters, options) {
|
|
14331
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
14332
|
+
const poller = yield this.beginRegister(vaultName, resourceGroupName, fabricName, containerName, parameters, options);
|
|
14333
|
+
return poller.pollUntilDone();
|
|
14334
|
+
});
|
|
13830
14335
|
}
|
|
13831
14336
|
/**
|
|
13832
14337
|
* Unregisters the given container from your Recovery Services Vault. This is an asynchronous
|
|
@@ -13872,8 +14377,8 @@ class ProtectionContainersImpl {
|
|
|
13872
14377
|
}
|
|
13873
14378
|
}
|
|
13874
14379
|
// Operation Specifications
|
|
13875
|
-
const serializer$
|
|
13876
|
-
const getOperationSpec$
|
|
14380
|
+
const serializer$j = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14381
|
+
const getOperationSpec$a = {
|
|
13877
14382
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}",
|
|
13878
14383
|
httpMethod: "GET",
|
|
13879
14384
|
responses: {
|
|
@@ -13894,7 +14399,7 @@ const getOperationSpec$8 = {
|
|
|
13894
14399
|
containerName
|
|
13895
14400
|
],
|
|
13896
14401
|
headerParameters: [accept],
|
|
13897
|
-
serializer: serializer$
|
|
14402
|
+
serializer: serializer$j
|
|
13898
14403
|
};
|
|
13899
14404
|
const registerOperationSpec = {
|
|
13900
14405
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}",
|
|
@@ -13903,7 +14408,15 @@ const registerOperationSpec = {
|
|
|
13903
14408
|
200: {
|
|
13904
14409
|
bodyMapper: ProtectionContainerResource
|
|
13905
14410
|
},
|
|
13906
|
-
|
|
14411
|
+
201: {
|
|
14412
|
+
bodyMapper: ProtectionContainerResource
|
|
14413
|
+
},
|
|
14414
|
+
202: {
|
|
14415
|
+
bodyMapper: ProtectionContainerResource
|
|
14416
|
+
},
|
|
14417
|
+
204: {
|
|
14418
|
+
bodyMapper: ProtectionContainerResource
|
|
14419
|
+
},
|
|
13907
14420
|
default: {
|
|
13908
14421
|
bodyMapper: CloudError
|
|
13909
14422
|
}
|
|
@@ -13920,7 +14433,7 @@ const registerOperationSpec = {
|
|
|
13920
14433
|
],
|
|
13921
14434
|
headerParameters: [accept, contentType],
|
|
13922
14435
|
mediaType: "json",
|
|
13923
|
-
serializer: serializer$
|
|
14436
|
+
serializer: serializer$j
|
|
13924
14437
|
};
|
|
13925
14438
|
const unregisterOperationSpec = {
|
|
13926
14439
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}",
|
|
@@ -13943,7 +14456,7 @@ const unregisterOperationSpec = {
|
|
|
13943
14456
|
containerName
|
|
13944
14457
|
],
|
|
13945
14458
|
headerParameters: [accept],
|
|
13946
|
-
serializer: serializer$
|
|
14459
|
+
serializer: serializer$j
|
|
13947
14460
|
};
|
|
13948
14461
|
const inquireOperationSpec = {
|
|
13949
14462
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/inquire",
|
|
@@ -13964,7 +14477,7 @@ const inquireOperationSpec = {
|
|
|
13964
14477
|
containerName
|
|
13965
14478
|
],
|
|
13966
14479
|
headerParameters: [accept],
|
|
13967
|
-
serializer: serializer$
|
|
14480
|
+
serializer: serializer$j
|
|
13968
14481
|
};
|
|
13969
14482
|
const refreshOperationSpec = {
|
|
13970
14483
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/refreshContainers",
|
|
@@ -13984,7 +14497,7 @@ const refreshOperationSpec = {
|
|
|
13984
14497
|
fabricName
|
|
13985
14498
|
],
|
|
13986
14499
|
headerParameters: [accept],
|
|
13987
|
-
serializer: serializer$
|
|
14500
|
+
serializer: serializer$j
|
|
13988
14501
|
};
|
|
13989
14502
|
|
|
13990
14503
|
/*
|
|
@@ -14108,7 +14621,7 @@ class BackupWorkloadItemsImpl {
|
|
|
14108
14621
|
}
|
|
14109
14622
|
}
|
|
14110
14623
|
// Operation Specifications
|
|
14111
|
-
const serializer$
|
|
14624
|
+
const serializer$i = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14112
14625
|
const listOperationSpec$4 = {
|
|
14113
14626
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/items",
|
|
14114
14627
|
httpMethod: "GET",
|
|
@@ -14134,7 +14647,7 @@ const listOperationSpec$4 = {
|
|
|
14134
14647
|
containerName
|
|
14135
14648
|
],
|
|
14136
14649
|
headerParameters: [accept],
|
|
14137
|
-
serializer: serializer$
|
|
14650
|
+
serializer: serializer$i
|
|
14138
14651
|
};
|
|
14139
14652
|
const listNextOperationSpec$4 = {
|
|
14140
14653
|
path: "{nextLink}",
|
|
@@ -14157,7 +14670,7 @@ const listNextOperationSpec$4 = {
|
|
|
14157
14670
|
containerName
|
|
14158
14671
|
],
|
|
14159
14672
|
headerParameters: [accept],
|
|
14160
|
-
serializer: serializer$
|
|
14673
|
+
serializer: serializer$i
|
|
14161
14674
|
};
|
|
14162
14675
|
|
|
14163
14676
|
/*
|
|
@@ -14194,12 +14707,12 @@ class ProtectionContainerOperationResultsImpl {
|
|
|
14194
14707
|
containerName,
|
|
14195
14708
|
operationId,
|
|
14196
14709
|
options
|
|
14197
|
-
}, getOperationSpec$
|
|
14710
|
+
}, getOperationSpec$9);
|
|
14198
14711
|
}
|
|
14199
14712
|
}
|
|
14200
14713
|
// Operation Specifications
|
|
14201
|
-
const serializer$
|
|
14202
|
-
const getOperationSpec$
|
|
14714
|
+
const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14715
|
+
const getOperationSpec$9 = {
|
|
14203
14716
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/operationResults/{operationId}",
|
|
14204
14717
|
httpMethod: "GET",
|
|
14205
14718
|
responses: {
|
|
@@ -14223,7 +14736,7 @@ const getOperationSpec$7 = {
|
|
|
14223
14736
|
containerName
|
|
14224
14737
|
],
|
|
14225
14738
|
headerParameters: [accept],
|
|
14226
|
-
serializer: serializer$
|
|
14739
|
+
serializer: serializer$h
|
|
14227
14740
|
};
|
|
14228
14741
|
|
|
14229
14742
|
/*
|
|
@@ -14268,7 +14781,7 @@ class BackupsImpl {
|
|
|
14268
14781
|
}
|
|
14269
14782
|
}
|
|
14270
14783
|
// Operation Specifications
|
|
14271
|
-
const serializer$
|
|
14784
|
+
const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14272
14785
|
const triggerOperationSpec = {
|
|
14273
14786
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/backup",
|
|
14274
14787
|
httpMethod: "POST",
|
|
@@ -14291,7 +14804,7 @@ const triggerOperationSpec = {
|
|
|
14291
14804
|
],
|
|
14292
14805
|
headerParameters: [accept, contentType],
|
|
14293
14806
|
mediaType: "json",
|
|
14294
|
-
serializer: serializer$
|
|
14807
|
+
serializer: serializer$g
|
|
14295
14808
|
};
|
|
14296
14809
|
|
|
14297
14810
|
/*
|
|
@@ -14334,12 +14847,12 @@ class ProtectedItemOperationStatusesImpl {
|
|
|
14334
14847
|
protectedItemName,
|
|
14335
14848
|
operationId,
|
|
14336
14849
|
options
|
|
14337
|
-
}, getOperationSpec$
|
|
14850
|
+
}, getOperationSpec$8);
|
|
14338
14851
|
}
|
|
14339
14852
|
}
|
|
14340
14853
|
// Operation Specifications
|
|
14341
|
-
const serializer$
|
|
14342
|
-
const getOperationSpec$
|
|
14854
|
+
const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14855
|
+
const getOperationSpec$8 = {
|
|
14343
14856
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/operationsStatus/{operationId}",
|
|
14344
14857
|
httpMethod: "GET",
|
|
14345
14858
|
responses: {
|
|
@@ -14362,7 +14875,7 @@ const getOperationSpec$6 = {
|
|
|
14362
14875
|
protectedItemName
|
|
14363
14876
|
],
|
|
14364
14877
|
headerParameters: [accept],
|
|
14365
|
-
serializer: serializer$
|
|
14878
|
+
serializer: serializer$f
|
|
14366
14879
|
};
|
|
14367
14880
|
|
|
14368
14881
|
/*
|
|
@@ -14439,7 +14952,7 @@ class ItemLevelRecoveryConnectionsImpl {
|
|
|
14439
14952
|
}
|
|
14440
14953
|
}
|
|
14441
14954
|
// Operation Specifications
|
|
14442
|
-
const serializer$
|
|
14955
|
+
const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14443
14956
|
const provisionOperationSpec = {
|
|
14444
14957
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/provisionInstantItemRecovery",
|
|
14445
14958
|
httpMethod: "POST",
|
|
@@ -14463,7 +14976,7 @@ const provisionOperationSpec = {
|
|
|
14463
14976
|
],
|
|
14464
14977
|
headerParameters: [accept, contentType],
|
|
14465
14978
|
mediaType: "json",
|
|
14466
|
-
serializer: serializer$
|
|
14979
|
+
serializer: serializer$e
|
|
14467
14980
|
};
|
|
14468
14981
|
const revokeOperationSpec = {
|
|
14469
14982
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/revokeInstantItemRecovery",
|
|
@@ -14486,7 +14999,7 @@ const revokeOperationSpec = {
|
|
|
14486
14999
|
recoveryPointId
|
|
14487
15000
|
],
|
|
14488
15001
|
headerParameters: [accept],
|
|
14489
|
-
serializer: serializer$
|
|
15002
|
+
serializer: serializer$e
|
|
14490
15003
|
};
|
|
14491
15004
|
|
|
14492
15005
|
/*
|
|
@@ -14520,12 +15033,12 @@ class BackupOperationResultsImpl {
|
|
|
14520
15033
|
* @param options The options parameters.
|
|
14521
15034
|
*/
|
|
14522
15035
|
get(vaultName, resourceGroupName, operationId, options) {
|
|
14523
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$
|
|
15036
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$7);
|
|
14524
15037
|
}
|
|
14525
15038
|
}
|
|
14526
15039
|
// Operation Specifications
|
|
14527
|
-
const serializer$
|
|
14528
|
-
const getOperationSpec$
|
|
15040
|
+
const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15041
|
+
const getOperationSpec$7 = {
|
|
14529
15042
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperationResults/{operationId}",
|
|
14530
15043
|
httpMethod: "GET",
|
|
14531
15044
|
responses: {
|
|
@@ -14545,7 +15058,7 @@ const getOperationSpec$5 = {
|
|
|
14545
15058
|
operationId
|
|
14546
15059
|
],
|
|
14547
15060
|
headerParameters: [accept],
|
|
14548
|
-
serializer: serializer$
|
|
15061
|
+
serializer: serializer$d
|
|
14549
15062
|
};
|
|
14550
15063
|
|
|
14551
15064
|
/*
|
|
@@ -14577,12 +15090,12 @@ class BackupOperationStatusesImpl {
|
|
|
14577
15090
|
* @param options The options parameters.
|
|
14578
15091
|
*/
|
|
14579
15092
|
get(vaultName, resourceGroupName, operationId, options) {
|
|
14580
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$
|
|
15093
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, operationId, options }, getOperationSpec$6);
|
|
14581
15094
|
}
|
|
14582
15095
|
}
|
|
14583
15096
|
// Operation Specifications
|
|
14584
|
-
const serializer$
|
|
14585
|
-
const getOperationSpec$
|
|
15097
|
+
const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15098
|
+
const getOperationSpec$6 = {
|
|
14586
15099
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperations/{operationId}",
|
|
14587
15100
|
httpMethod: "GET",
|
|
14588
15101
|
responses: {
|
|
@@ -14602,7 +15115,7 @@ const getOperationSpec$4 = {
|
|
|
14602
15115
|
operationId
|
|
14603
15116
|
],
|
|
14604
15117
|
headerParameters: [accept],
|
|
14605
|
-
serializer: serializer$
|
|
15118
|
+
serializer: serializer$c
|
|
14606
15119
|
};
|
|
14607
15120
|
|
|
14608
15121
|
/*
|
|
@@ -14635,12 +15148,12 @@ class ProtectionPolicyOperationStatusesImpl {
|
|
|
14635
15148
|
* @param options The options parameters.
|
|
14636
15149
|
*/
|
|
14637
15150
|
get(vaultName, resourceGroupName, policyName, operationId, options) {
|
|
14638
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, policyName, operationId, options }, getOperationSpec$
|
|
15151
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, policyName, operationId, options }, getOperationSpec$5);
|
|
14639
15152
|
}
|
|
14640
15153
|
}
|
|
14641
15154
|
// Operation Specifications
|
|
14642
|
-
const serializer$
|
|
14643
|
-
const getOperationSpec$
|
|
15155
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15156
|
+
const getOperationSpec$5 = {
|
|
14644
15157
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}/operations/{operationId}",
|
|
14645
15158
|
httpMethod: "GET",
|
|
14646
15159
|
responses: {
|
|
@@ -14661,7 +15174,7 @@ const getOperationSpec$3 = {
|
|
|
14661
15174
|
policyName
|
|
14662
15175
|
],
|
|
14663
15176
|
headerParameters: [accept],
|
|
14664
|
-
serializer: serializer$
|
|
15177
|
+
serializer: serializer$b
|
|
14665
15178
|
};
|
|
14666
15179
|
|
|
14667
15180
|
/*
|
|
@@ -14772,7 +15285,7 @@ class BackupProtectableItemsImpl {
|
|
|
14772
15285
|
}
|
|
14773
15286
|
}
|
|
14774
15287
|
// Operation Specifications
|
|
14775
|
-
const serializer$
|
|
15288
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14776
15289
|
const listOperationSpec$3 = {
|
|
14777
15290
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectableItems",
|
|
14778
15291
|
httpMethod: "GET",
|
|
@@ -14796,7 +15309,7 @@ const listOperationSpec$3 = {
|
|
|
14796
15309
|
subscriptionId
|
|
14797
15310
|
],
|
|
14798
15311
|
headerParameters: [accept],
|
|
14799
|
-
serializer: serializer$
|
|
15312
|
+
serializer: serializer$a
|
|
14800
15313
|
};
|
|
14801
15314
|
const listNextOperationSpec$3 = {
|
|
14802
15315
|
path: "{nextLink}",
|
|
@@ -14817,7 +15330,7 @@ const listNextOperationSpec$3 = {
|
|
|
14817
15330
|
nextLink
|
|
14818
15331
|
],
|
|
14819
15332
|
headerParameters: [accept],
|
|
14820
|
-
serializer: serializer$
|
|
15333
|
+
serializer: serializer$a
|
|
14821
15334
|
};
|
|
14822
15335
|
|
|
14823
15336
|
/*
|
|
@@ -14924,7 +15437,7 @@ class BackupProtectionContainersImpl {
|
|
|
14924
15437
|
}
|
|
14925
15438
|
}
|
|
14926
15439
|
// Operation Specifications
|
|
14927
|
-
const serializer$
|
|
15440
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
14928
15441
|
const listOperationSpec$2 = {
|
|
14929
15442
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionContainers",
|
|
14930
15443
|
httpMethod: "GET",
|
|
@@ -14944,7 +15457,7 @@ const listOperationSpec$2 = {
|
|
|
14944
15457
|
subscriptionId
|
|
14945
15458
|
],
|
|
14946
15459
|
headerParameters: [accept],
|
|
14947
|
-
serializer: serializer$
|
|
15460
|
+
serializer: serializer$9
|
|
14948
15461
|
};
|
|
14949
15462
|
const listNextOperationSpec$2 = {
|
|
14950
15463
|
path: "{nextLink}",
|
|
@@ -14965,7 +15478,7 @@ const listNextOperationSpec$2 = {
|
|
|
14965
15478
|
nextLink
|
|
14966
15479
|
],
|
|
14967
15480
|
headerParameters: [accept],
|
|
14968
|
-
serializer: serializer$
|
|
15481
|
+
serializer: serializer$9
|
|
14969
15482
|
};
|
|
14970
15483
|
|
|
14971
15484
|
/*
|
|
@@ -15072,7 +15585,7 @@ class DeletedProtectionContainersImpl {
|
|
|
15072
15585
|
}
|
|
15073
15586
|
}
|
|
15074
15587
|
// Operation Specifications
|
|
15075
|
-
const serializer$
|
|
15588
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15076
15589
|
const listOperationSpec$1 = {
|
|
15077
15590
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupDeletedProtectionContainers",
|
|
15078
15591
|
httpMethod: "GET",
|
|
@@ -15092,7 +15605,7 @@ const listOperationSpec$1 = {
|
|
|
15092
15605
|
subscriptionId
|
|
15093
15606
|
],
|
|
15094
15607
|
headerParameters: [accept],
|
|
15095
|
-
serializer: serializer$
|
|
15608
|
+
serializer: serializer$8
|
|
15096
15609
|
};
|
|
15097
15610
|
const listNextOperationSpec$1 = {
|
|
15098
15611
|
path: "{nextLink}",
|
|
@@ -15113,7 +15626,7 @@ const listNextOperationSpec$1 = {
|
|
|
15113
15626
|
nextLink
|
|
15114
15627
|
],
|
|
15115
15628
|
headerParameters: [accept],
|
|
15116
|
-
serializer: serializer$
|
|
15629
|
+
serializer: serializer$8
|
|
15117
15630
|
};
|
|
15118
15631
|
|
|
15119
15632
|
/*
|
|
@@ -15140,12 +15653,12 @@ class SecurityPINsImpl {
|
|
|
15140
15653
|
* @param options The options parameters.
|
|
15141
15654
|
*/
|
|
15142
15655
|
get(vaultName, resourceGroupName, options) {
|
|
15143
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$
|
|
15656
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$4);
|
|
15144
15657
|
}
|
|
15145
15658
|
}
|
|
15146
15659
|
// Operation Specifications
|
|
15147
|
-
const serializer$
|
|
15148
|
-
const getOperationSpec$
|
|
15660
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15661
|
+
const getOperationSpec$4 = {
|
|
15149
15662
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupSecurityPIN",
|
|
15150
15663
|
httpMethod: "POST",
|
|
15151
15664
|
responses: {
|
|
@@ -15166,7 +15679,7 @@ const getOperationSpec$2 = {
|
|
|
15166
15679
|
],
|
|
15167
15680
|
headerParameters: [accept, contentType],
|
|
15168
15681
|
mediaType: "json",
|
|
15169
|
-
serializer: serializer$
|
|
15682
|
+
serializer: serializer$7
|
|
15170
15683
|
};
|
|
15171
15684
|
|
|
15172
15685
|
/*
|
|
@@ -15302,7 +15815,7 @@ class RecoveryPointsRecommendedForMoveImpl {
|
|
|
15302
15815
|
}
|
|
15303
15816
|
}
|
|
15304
15817
|
// Operation Specifications
|
|
15305
|
-
const serializer$
|
|
15818
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15306
15819
|
const listOperationSpec = {
|
|
15307
15820
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPointsRecommendedForMove",
|
|
15308
15821
|
httpMethod: "POST",
|
|
@@ -15327,7 +15840,7 @@ const listOperationSpec = {
|
|
|
15327
15840
|
],
|
|
15328
15841
|
headerParameters: [accept, contentType],
|
|
15329
15842
|
mediaType: "json",
|
|
15330
|
-
serializer: serializer$
|
|
15843
|
+
serializer: serializer$6
|
|
15331
15844
|
};
|
|
15332
15845
|
const listNextOperationSpec = {
|
|
15333
15846
|
path: "{nextLink}",
|
|
@@ -15352,7 +15865,7 @@ const listNextOperationSpec = {
|
|
|
15352
15865
|
],
|
|
15353
15866
|
headerParameters: [accept, contentType],
|
|
15354
15867
|
mediaType: "json",
|
|
15355
|
-
serializer: serializer$
|
|
15868
|
+
serializer: serializer$6
|
|
15356
15869
|
};
|
|
15357
15870
|
|
|
15358
15871
|
/*
|
|
@@ -15444,7 +15957,7 @@ class ResourceGuardProxiesImpl {
|
|
|
15444
15957
|
* @param options The options parameters.
|
|
15445
15958
|
*/
|
|
15446
15959
|
_get(vaultName, resourceGroupName, options) {
|
|
15447
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$
|
|
15960
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, options }, getOperationSpec$3);
|
|
15448
15961
|
}
|
|
15449
15962
|
/**
|
|
15450
15963
|
* GetNext
|
|
@@ -15459,8 +15972,8 @@ class ResourceGuardProxiesImpl {
|
|
|
15459
15972
|
}
|
|
15460
15973
|
}
|
|
15461
15974
|
// Operation Specifications
|
|
15462
|
-
const serializer$
|
|
15463
|
-
const getOperationSpec$
|
|
15975
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
15976
|
+
const getOperationSpec$3 = {
|
|
15464
15977
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies",
|
|
15465
15978
|
httpMethod: "GET",
|
|
15466
15979
|
responses: {
|
|
@@ -15479,7 +15992,7 @@ const getOperationSpec$1 = {
|
|
|
15479
15992
|
subscriptionId
|
|
15480
15993
|
],
|
|
15481
15994
|
headerParameters: [accept],
|
|
15482
|
-
serializer: serializer$
|
|
15995
|
+
serializer: serializer$5
|
|
15483
15996
|
};
|
|
15484
15997
|
const getNextOperationSpec = {
|
|
15485
15998
|
path: "{nextLink}",
|
|
@@ -15500,7 +16013,7 @@ const getNextOperationSpec = {
|
|
|
15500
16013
|
nextLink
|
|
15501
16014
|
],
|
|
15502
16015
|
headerParameters: [accept],
|
|
15503
|
-
serializer: serializer$
|
|
16016
|
+
serializer: serializer$5
|
|
15504
16017
|
};
|
|
15505
16018
|
|
|
15506
16019
|
/*
|
|
@@ -15528,7 +16041,7 @@ class ResourceGuardProxyImpl {
|
|
|
15528
16041
|
* @param options The options parameters.
|
|
15529
16042
|
*/
|
|
15530
16043
|
get(vaultName, resourceGroupName, resourceGuardProxyName, options) {
|
|
15531
|
-
return this.client.sendOperationRequest({ vaultName, resourceGroupName, resourceGuardProxyName, options }, getOperationSpec);
|
|
16044
|
+
return this.client.sendOperationRequest({ vaultName, resourceGroupName, resourceGuardProxyName, options }, getOperationSpec$2);
|
|
15532
16045
|
}
|
|
15533
16046
|
/**
|
|
15534
16047
|
* Add or Update ResourceGuardProxy under vault
|
|
@@ -15580,8 +16093,8 @@ class ResourceGuardProxyImpl {
|
|
|
15580
16093
|
}
|
|
15581
16094
|
}
|
|
15582
16095
|
// Operation Specifications
|
|
15583
|
-
const serializer$
|
|
15584
|
-
const getOperationSpec = {
|
|
16096
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
16097
|
+
const getOperationSpec$2 = {
|
|
15585
16098
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}",
|
|
15586
16099
|
httpMethod: "GET",
|
|
15587
16100
|
responses: {
|
|
@@ -15601,7 +16114,7 @@ const getOperationSpec = {
|
|
|
15601
16114
|
resourceGuardProxyName
|
|
15602
16115
|
],
|
|
15603
16116
|
headerParameters: [accept],
|
|
15604
|
-
serializer: serializer$
|
|
16117
|
+
serializer: serializer$4
|
|
15605
16118
|
};
|
|
15606
16119
|
const putOperationSpec = {
|
|
15607
16120
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}",
|
|
@@ -15625,7 +16138,7 @@ const putOperationSpec = {
|
|
|
15625
16138
|
],
|
|
15626
16139
|
headerParameters: [accept, contentType],
|
|
15627
16140
|
mediaType: "json",
|
|
15628
|
-
serializer: serializer$
|
|
16141
|
+
serializer: serializer$4
|
|
15629
16142
|
};
|
|
15630
16143
|
const deleteOperationSpec = {
|
|
15631
16144
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}",
|
|
@@ -15646,7 +16159,7 @@ const deleteOperationSpec = {
|
|
|
15646
16159
|
resourceGuardProxyName
|
|
15647
16160
|
],
|
|
15648
16161
|
headerParameters: [accept],
|
|
15649
|
-
serializer: serializer$
|
|
16162
|
+
serializer: serializer$4
|
|
15650
16163
|
};
|
|
15651
16164
|
const unlockDeleteOperationSpec = {
|
|
15652
16165
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete",
|
|
@@ -15670,6 +16183,227 @@ const unlockDeleteOperationSpec = {
|
|
|
15670
16183
|
],
|
|
15671
16184
|
headerParameters: [accept, contentType],
|
|
15672
16185
|
mediaType: "json",
|
|
16186
|
+
serializer: serializer$4
|
|
16187
|
+
};
|
|
16188
|
+
|
|
16189
|
+
/*
|
|
16190
|
+
* Copyright (c) Microsoft Corporation.
|
|
16191
|
+
* Licensed under the MIT License.
|
|
16192
|
+
*
|
|
16193
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
16194
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
16195
|
+
*/
|
|
16196
|
+
/** Class containing FetchTieringCost operations. */
|
|
16197
|
+
class FetchTieringCostImpl {
|
|
16198
|
+
/**
|
|
16199
|
+
* Initialize a new instance of the class FetchTieringCost class.
|
|
16200
|
+
* @param client Reference to the service client
|
|
16201
|
+
*/
|
|
16202
|
+
constructor(client) {
|
|
16203
|
+
this.client = client;
|
|
16204
|
+
}
|
|
16205
|
+
/**
|
|
16206
|
+
* Provides the details of the tiering related sizes and cost.
|
|
16207
|
+
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
|
|
16208
|
+
* GetTieringCostOperationResult API.
|
|
16209
|
+
* @param resourceGroupName The name of the resource group where the recovery services vault is
|
|
16210
|
+
* present.
|
|
16211
|
+
* @param vaultName The name of the recovery services vault.
|
|
16212
|
+
* @param parameters Fetch Tiering Cost Request
|
|
16213
|
+
* @param options The options parameters.
|
|
16214
|
+
*/
|
|
16215
|
+
beginPost(resourceGroupName, vaultName, parameters, options) {
|
|
16216
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
16217
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
16218
|
+
return this.client.sendOperationRequest(args, spec);
|
|
16219
|
+
});
|
|
16220
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
16221
|
+
var _a;
|
|
16222
|
+
let currentRawResponse = undefined;
|
|
16223
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
16224
|
+
const callback = (rawResponse, flatResponse) => {
|
|
16225
|
+
currentRawResponse = rawResponse;
|
|
16226
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
16227
|
+
};
|
|
16228
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
16229
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
16230
|
+
return {
|
|
16231
|
+
flatResponse,
|
|
16232
|
+
rawResponse: {
|
|
16233
|
+
statusCode: currentRawResponse.status,
|
|
16234
|
+
body: currentRawResponse.parsedBody,
|
|
16235
|
+
headers: currentRawResponse.headers.toJSON()
|
|
16236
|
+
}
|
|
16237
|
+
};
|
|
16238
|
+
});
|
|
16239
|
+
const lro = createLroSpec({
|
|
16240
|
+
sendOperationFn,
|
|
16241
|
+
args: { resourceGroupName, vaultName, parameters, options },
|
|
16242
|
+
spec: postOperationSpec
|
|
16243
|
+
});
|
|
16244
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
16245
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
16246
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
16247
|
+
});
|
|
16248
|
+
yield poller.poll();
|
|
16249
|
+
return poller;
|
|
16250
|
+
});
|
|
16251
|
+
}
|
|
16252
|
+
/**
|
|
16253
|
+
* Provides the details of the tiering related sizes and cost.
|
|
16254
|
+
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
|
|
16255
|
+
* GetTieringCostOperationResult API.
|
|
16256
|
+
* @param resourceGroupName The name of the resource group where the recovery services vault is
|
|
16257
|
+
* present.
|
|
16258
|
+
* @param vaultName The name of the recovery services vault.
|
|
16259
|
+
* @param parameters Fetch Tiering Cost Request
|
|
16260
|
+
* @param options The options parameters.
|
|
16261
|
+
*/
|
|
16262
|
+
beginPostAndWait(resourceGroupName, vaultName, parameters, options) {
|
|
16263
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
16264
|
+
const poller = yield this.beginPost(resourceGroupName, vaultName, parameters, options);
|
|
16265
|
+
return poller.pollUntilDone();
|
|
16266
|
+
});
|
|
16267
|
+
}
|
|
16268
|
+
}
|
|
16269
|
+
// Operation Specifications
|
|
16270
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
16271
|
+
const postOperationSpec = {
|
|
16272
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTieringCost/default/fetchTieringCost",
|
|
16273
|
+
httpMethod: "POST",
|
|
16274
|
+
responses: {
|
|
16275
|
+
200: {
|
|
16276
|
+
bodyMapper: TieringCostInfo
|
|
16277
|
+
},
|
|
16278
|
+
201: {
|
|
16279
|
+
bodyMapper: TieringCostInfo
|
|
16280
|
+
},
|
|
16281
|
+
202: {
|
|
16282
|
+
bodyMapper: TieringCostInfo
|
|
16283
|
+
},
|
|
16284
|
+
204: {
|
|
16285
|
+
bodyMapper: TieringCostInfo
|
|
16286
|
+
},
|
|
16287
|
+
default: {
|
|
16288
|
+
bodyMapper: CloudError
|
|
16289
|
+
}
|
|
16290
|
+
},
|
|
16291
|
+
requestBody: parameters22,
|
|
16292
|
+
queryParameters: [apiVersion],
|
|
16293
|
+
urlParameters: [
|
|
16294
|
+
$host,
|
|
16295
|
+
resourceGroupName,
|
|
16296
|
+
subscriptionId,
|
|
16297
|
+
vaultName1
|
|
16298
|
+
],
|
|
16299
|
+
headerParameters: [accept, contentType],
|
|
16300
|
+
mediaType: "json",
|
|
16301
|
+
serializer: serializer$3
|
|
16302
|
+
};
|
|
16303
|
+
|
|
16304
|
+
/*
|
|
16305
|
+
* Copyright (c) Microsoft Corporation.
|
|
16306
|
+
* Licensed under the MIT License.
|
|
16307
|
+
*
|
|
16308
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
16309
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
16310
|
+
*/
|
|
16311
|
+
/** Class containing GetTieringCostOperationResult operations. */
|
|
16312
|
+
class GetTieringCostOperationResultImpl {
|
|
16313
|
+
/**
|
|
16314
|
+
* Initialize a new instance of the class GetTieringCostOperationResult class.
|
|
16315
|
+
* @param client Reference to the service client
|
|
16316
|
+
*/
|
|
16317
|
+
constructor(client) {
|
|
16318
|
+
this.client = client;
|
|
16319
|
+
}
|
|
16320
|
+
/**
|
|
16321
|
+
* Gets the result of async operation for tiering cost
|
|
16322
|
+
* @param resourceGroupName The name of the resource group where the recovery services vault is
|
|
16323
|
+
* present.
|
|
16324
|
+
* @param vaultName The name of the recovery services vault.
|
|
16325
|
+
* @param operationId
|
|
16326
|
+
* @param options The options parameters.
|
|
16327
|
+
*/
|
|
16328
|
+
get(resourceGroupName, vaultName, operationId, options) {
|
|
16329
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, operationId, options }, getOperationSpec$1);
|
|
16330
|
+
}
|
|
16331
|
+
}
|
|
16332
|
+
// Operation Specifications
|
|
16333
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
16334
|
+
const getOperationSpec$1 = {
|
|
16335
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTieringCost/default/operationResults/{operationId}",
|
|
16336
|
+
httpMethod: "GET",
|
|
16337
|
+
responses: {
|
|
16338
|
+
200: {
|
|
16339
|
+
bodyMapper: TieringCostInfo
|
|
16340
|
+
},
|
|
16341
|
+
default: {
|
|
16342
|
+
bodyMapper: CloudError
|
|
16343
|
+
}
|
|
16344
|
+
},
|
|
16345
|
+
queryParameters: [apiVersion],
|
|
16346
|
+
urlParameters: [
|
|
16347
|
+
$host,
|
|
16348
|
+
resourceGroupName,
|
|
16349
|
+
subscriptionId,
|
|
16350
|
+
operationId,
|
|
16351
|
+
vaultName1
|
|
16352
|
+
],
|
|
16353
|
+
headerParameters: [accept],
|
|
16354
|
+
serializer: serializer$2
|
|
16355
|
+
};
|
|
16356
|
+
|
|
16357
|
+
/*
|
|
16358
|
+
* Copyright (c) Microsoft Corporation.
|
|
16359
|
+
* Licensed under the MIT License.
|
|
16360
|
+
*
|
|
16361
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
16362
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
16363
|
+
*/
|
|
16364
|
+
/** Class containing TieringCostOperationStatus operations. */
|
|
16365
|
+
class TieringCostOperationStatusImpl {
|
|
16366
|
+
/**
|
|
16367
|
+
* Initialize a new instance of the class TieringCostOperationStatus class.
|
|
16368
|
+
* @param client Reference to the service client
|
|
16369
|
+
*/
|
|
16370
|
+
constructor(client) {
|
|
16371
|
+
this.client = client;
|
|
16372
|
+
}
|
|
16373
|
+
/**
|
|
16374
|
+
* Gets the status of async operations of tiering cost
|
|
16375
|
+
* @param resourceGroupName The name of the resource group where the recovery services vault is
|
|
16376
|
+
* present.
|
|
16377
|
+
* @param vaultName The name of the recovery services vault.
|
|
16378
|
+
* @param operationId
|
|
16379
|
+
* @param options The options parameters.
|
|
16380
|
+
*/
|
|
16381
|
+
get(resourceGroupName, vaultName, operationId, options) {
|
|
16382
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, operationId, options }, getOperationSpec);
|
|
16383
|
+
}
|
|
16384
|
+
}
|
|
16385
|
+
// Operation Specifications
|
|
16386
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
16387
|
+
const getOperationSpec = {
|
|
16388
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTieringCost/default/operationsStatus/{operationId}",
|
|
16389
|
+
httpMethod: "GET",
|
|
16390
|
+
responses: {
|
|
16391
|
+
200: {
|
|
16392
|
+
bodyMapper: OperationStatus
|
|
16393
|
+
},
|
|
16394
|
+
default: {
|
|
16395
|
+
bodyMapper: CloudError
|
|
16396
|
+
}
|
|
16397
|
+
},
|
|
16398
|
+
queryParameters: [apiVersion],
|
|
16399
|
+
urlParameters: [
|
|
16400
|
+
$host,
|
|
16401
|
+
resourceGroupName,
|
|
16402
|
+
subscriptionId,
|
|
16403
|
+
operationId,
|
|
16404
|
+
vaultName1
|
|
16405
|
+
],
|
|
16406
|
+
headerParameters: [accept],
|
|
15673
16407
|
serializer: serializer$1
|
|
15674
16408
|
};
|
|
15675
16409
|
|
|
@@ -15703,7 +16437,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15703
16437
|
requestContentType: "application/json; charset=utf-8",
|
|
15704
16438
|
credential: credentials
|
|
15705
16439
|
};
|
|
15706
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/
|
|
16440
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/12.0.0`;
|
|
15707
16441
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
15708
16442
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
15709
16443
|
: `${packageDetails}`;
|
|
@@ -15736,7 +16470,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15736
16470
|
this.subscriptionId = subscriptionId;
|
|
15737
16471
|
// Assigning values to Constant parameters
|
|
15738
16472
|
this.$host = options.$host || "https://management.azure.com";
|
|
15739
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
16473
|
+
this.apiVersion = options.apiVersion || "2023-06-01";
|
|
15740
16474
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
15741
16475
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
15742
16476
|
this.backupStatus = new BackupStatusImpl(this);
|
|
@@ -15786,6 +16520,9 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15786
16520
|
this.recoveryPointsRecommendedForMove = new RecoveryPointsRecommendedForMoveImpl(this);
|
|
15787
16521
|
this.resourceGuardProxies = new ResourceGuardProxiesImpl(this);
|
|
15788
16522
|
this.resourceGuardProxy = new ResourceGuardProxyImpl(this);
|
|
16523
|
+
this.fetchTieringCost = new FetchTieringCostImpl(this);
|
|
16524
|
+
this.getTieringCostOperationResult = new GetTieringCostOperationResultImpl(this);
|
|
16525
|
+
this.tieringCostOperationStatus = new TieringCostOperationStatusImpl(this);
|
|
15789
16526
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
15790
16527
|
}
|
|
15791
16528
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|