@azure/arm-recoveryservicesbackup 8.1.1 → 8.2.0-alpha.20220511.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/index.js +96 -12
- 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/src/models/index.d.ts +93 -24
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +17 -9
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +77 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +1 -1
- package/package.json +1 -1
- package/review/arm-recoveryservicesbackup.api.md +36 -2
- package/src/models/index.ts +94 -26
- package/src/models/mappers.ts +79 -2
- package/src/recoveryServicesBackupClient.ts +1 -1
- package/types/arm-recoveryservicesbackup.d.ts +76 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Release History
|
|
2
|
+
|
|
3
|
+
## 8.2.0 (2022-05-11)
|
|
4
|
+
|
|
5
|
+
**Features**
|
|
2
6
|
|
|
7
|
+
- Added Interface TieringPolicy
|
|
8
|
+
- Added Type Alias TieringMode
|
|
9
|
+
- Interface AzureIaaSVMProtectedItemExtendedInfo has a new optional parameter newestRecoveryPointInArchive
|
|
10
|
+
- Interface AzureIaaSVMProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInArchive
|
|
11
|
+
- Interface AzureIaaSVMProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInVault
|
|
12
|
+
- Interface AzureVmWorkloadProtectedItemExtendedInfo has a new optional parameter newestRecoveryPointInArchive
|
|
13
|
+
- Interface AzureVmWorkloadProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInArchive
|
|
14
|
+
- Interface AzureVmWorkloadProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInVault
|
|
15
|
+
- Interface SubProtectionPolicy has a new optional parameter tieringPolicy
|
|
16
|
+
- Added Enum KnownTieringMode
|
|
17
|
+
|
|
3
18
|
## 8.1.1 (2022-04-29)
|
|
4
19
|
|
|
5
20
|
**Features**
|
package/dist/index.js
CHANGED
|
@@ -330,6 +330,23 @@ exports.KnownPolicyType = void 0;
|
|
|
330
330
|
KnownPolicyType["CopyOnlyFull"] = "CopyOnlyFull";
|
|
331
331
|
KnownPolicyType["Incremental"] = "Incremental";
|
|
332
332
|
})(exports.KnownPolicyType || (exports.KnownPolicyType = {}));
|
|
333
|
+
/** Known values of {@link TieringMode} that the service accepts. */
|
|
334
|
+
exports.KnownTieringMode = void 0;
|
|
335
|
+
(function (KnownTieringMode) {
|
|
336
|
+
KnownTieringMode["Invalid"] = "Invalid";
|
|
337
|
+
KnownTieringMode["TierRecommended"] = "TierRecommended";
|
|
338
|
+
KnownTieringMode["TierAfter"] = "TierAfter";
|
|
339
|
+
KnownTieringMode["DoNotTier"] = "DoNotTier";
|
|
340
|
+
})(exports.KnownTieringMode || (exports.KnownTieringMode = {}));
|
|
341
|
+
/** Known values of {@link RetentionDurationType} that the service accepts. */
|
|
342
|
+
exports.KnownRetentionDurationType = void 0;
|
|
343
|
+
(function (KnownRetentionDurationType) {
|
|
344
|
+
KnownRetentionDurationType["Invalid"] = "Invalid";
|
|
345
|
+
KnownRetentionDurationType["Days"] = "Days";
|
|
346
|
+
KnownRetentionDurationType["Weeks"] = "Weeks";
|
|
347
|
+
KnownRetentionDurationType["Months"] = "Months";
|
|
348
|
+
KnownRetentionDurationType["Years"] = "Years";
|
|
349
|
+
})(exports.KnownRetentionDurationType || (exports.KnownRetentionDurationType = {}));
|
|
333
350
|
/** Known values of {@link HealthStatus} that the service accepts. */
|
|
334
351
|
exports.KnownHealthStatus = void 0;
|
|
335
352
|
(function (KnownHealthStatus) {
|
|
@@ -413,15 +430,6 @@ exports.KnownRestorePointQueryType = void 0;
|
|
|
413
430
|
KnownRestorePointQueryType["All"] = "All";
|
|
414
431
|
KnownRestorePointQueryType["Incremental"] = "Incremental";
|
|
415
432
|
})(exports.KnownRestorePointQueryType || (exports.KnownRestorePointQueryType = {}));
|
|
416
|
-
/** Known values of {@link RetentionDurationType} that the service accepts. */
|
|
417
|
-
exports.KnownRetentionDurationType = void 0;
|
|
418
|
-
(function (KnownRetentionDurationType) {
|
|
419
|
-
KnownRetentionDurationType["Invalid"] = "Invalid";
|
|
420
|
-
KnownRetentionDurationType["Days"] = "Days";
|
|
421
|
-
KnownRetentionDurationType["Weeks"] = "Weeks";
|
|
422
|
-
KnownRetentionDurationType["Months"] = "Months";
|
|
423
|
-
KnownRetentionDurationType["Years"] = "Years";
|
|
424
|
-
})(exports.KnownRetentionDurationType || (exports.KnownRetentionDurationType = {}));
|
|
425
433
|
/** Known values of {@link JobStatus} that the service accepts. */
|
|
426
434
|
exports.KnownJobStatus = void 0;
|
|
427
435
|
(function (KnownJobStatus) {
|
|
@@ -2950,6 +2958,13 @@ const SubProtectionPolicy = {
|
|
|
2950
2958
|
name: "Composite",
|
|
2951
2959
|
className: "RetentionPolicy"
|
|
2952
2960
|
}
|
|
2961
|
+
},
|
|
2962
|
+
tieringPolicy: {
|
|
2963
|
+
serializedName: "tieringPolicy",
|
|
2964
|
+
type: {
|
|
2965
|
+
name: "Dictionary",
|
|
2966
|
+
value: { type: { name: "Composite", className: "TieringPolicy" } }
|
|
2967
|
+
}
|
|
2953
2968
|
}
|
|
2954
2969
|
}
|
|
2955
2970
|
}
|
|
@@ -2994,6 +3009,32 @@ const RetentionPolicy = {
|
|
|
2994
3009
|
}
|
|
2995
3010
|
}
|
|
2996
3011
|
};
|
|
3012
|
+
const TieringPolicy = {
|
|
3013
|
+
type: {
|
|
3014
|
+
name: "Composite",
|
|
3015
|
+
className: "TieringPolicy",
|
|
3016
|
+
modelProperties: {
|
|
3017
|
+
tieringMode: {
|
|
3018
|
+
serializedName: "tieringMode",
|
|
3019
|
+
type: {
|
|
3020
|
+
name: "String"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
duration: {
|
|
3024
|
+
serializedName: "duration",
|
|
3025
|
+
type: {
|
|
3026
|
+
name: "Number"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
durationType: {
|
|
3030
|
+
serializedName: "durationType",
|
|
3031
|
+
type: {
|
|
3032
|
+
name: "String"
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
};
|
|
2997
3038
|
const AzureIaaSVMProtectedItemExtendedInfo = {
|
|
2998
3039
|
type: {
|
|
2999
3040
|
name: "Composite",
|
|
@@ -3005,6 +3046,24 @@ const AzureIaaSVMProtectedItemExtendedInfo = {
|
|
|
3005
3046
|
name: "DateTime"
|
|
3006
3047
|
}
|
|
3007
3048
|
},
|
|
3049
|
+
oldestRecoveryPointInVault: {
|
|
3050
|
+
serializedName: "oldestRecoveryPointInVault",
|
|
3051
|
+
type: {
|
|
3052
|
+
name: "DateTime"
|
|
3053
|
+
}
|
|
3054
|
+
},
|
|
3055
|
+
oldestRecoveryPointInArchive: {
|
|
3056
|
+
serializedName: "oldestRecoveryPointInArchive",
|
|
3057
|
+
type: {
|
|
3058
|
+
name: "DateTime"
|
|
3059
|
+
}
|
|
3060
|
+
},
|
|
3061
|
+
newestRecoveryPointInArchive: {
|
|
3062
|
+
serializedName: "newestRecoveryPointInArchive",
|
|
3063
|
+
type: {
|
|
3064
|
+
name: "DateTime"
|
|
3065
|
+
}
|
|
3066
|
+
},
|
|
3008
3067
|
recoveryPointCount: {
|
|
3009
3068
|
serializedName: "recoveryPointCount",
|
|
3010
3069
|
type: {
|
|
@@ -3356,6 +3415,24 @@ const AzureVmWorkloadProtectedItemExtendedInfo = {
|
|
|
3356
3415
|
name: "DateTime"
|
|
3357
3416
|
}
|
|
3358
3417
|
},
|
|
3418
|
+
oldestRecoveryPointInVault: {
|
|
3419
|
+
serializedName: "oldestRecoveryPointInVault",
|
|
3420
|
+
type: {
|
|
3421
|
+
name: "DateTime"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
oldestRecoveryPointInArchive: {
|
|
3425
|
+
serializedName: "oldestRecoveryPointInArchive",
|
|
3426
|
+
type: {
|
|
3427
|
+
name: "DateTime"
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3430
|
+
newestRecoveryPointInArchive: {
|
|
3431
|
+
serializedName: "newestRecoveryPointInArchive",
|
|
3432
|
+
type: {
|
|
3433
|
+
name: "DateTime"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3359
3436
|
recoveryPointCount: {
|
|
3360
3437
|
serializedName: "recoveryPointCount",
|
|
3361
3438
|
type: {
|
|
@@ -6956,6 +7033,12 @@ const AzureIaaSVMProtectionPolicy = {
|
|
|
6956
7033
|
name: "Composite",
|
|
6957
7034
|
className: "RetentionPolicy"
|
|
6958
7035
|
}
|
|
7036
|
+
}, tieringPolicy: {
|
|
7037
|
+
serializedName: "tieringPolicy",
|
|
7038
|
+
type: {
|
|
7039
|
+
name: "Dictionary",
|
|
7040
|
+
value: { type: { name: "Composite", className: "TieringPolicy" } }
|
|
7041
|
+
}
|
|
6959
7042
|
}, instantRpRetentionRangeInDays: {
|
|
6960
7043
|
serializedName: "instantRpRetentionRangeInDays",
|
|
6961
7044
|
type: {
|
|
@@ -7607,7 +7690,7 @@ const DpmContainer = {
|
|
|
7607
7690
|
}
|
|
7608
7691
|
};
|
|
7609
7692
|
const IaaSVMContainer = {
|
|
7610
|
-
serializedName: "
|
|
7693
|
+
serializedName: "IaasVMContainer",
|
|
7611
7694
|
type: {
|
|
7612
7695
|
name: "Composite",
|
|
7613
7696
|
className: "IaaSVMContainer",
|
|
@@ -8835,7 +8918,7 @@ let discriminators = {
|
|
|
8835
8918
|
"ProtectableContainer.StorageContainer": AzureStorageProtectableContainer,
|
|
8836
8919
|
"ProtectableContainer.VMAppContainer": AzureVMAppContainerProtectableContainer,
|
|
8837
8920
|
"ProtectionContainer.DPMContainer": DpmContainer,
|
|
8838
|
-
"ProtectionContainer.
|
|
8921
|
+
"ProtectionContainer.IaasVMContainer": IaaSVMContainer,
|
|
8839
8922
|
"ProtectionContainer.AzureWorkloadContainer": AzureWorkloadContainer,
|
|
8840
8923
|
"ProtectionContainer.AzureSqlContainer": AzureSqlContainer,
|
|
8841
8924
|
"ProtectionContainer.StorageContainer": AzureStorageContainer,
|
|
@@ -8973,6 +9056,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
8973
9056
|
SubProtectionPolicy: SubProtectionPolicy,
|
|
8974
9057
|
SchedulePolicy: SchedulePolicy,
|
|
8975
9058
|
RetentionPolicy: RetentionPolicy,
|
|
9059
|
+
TieringPolicy: TieringPolicy,
|
|
8976
9060
|
AzureIaaSVMProtectedItemExtendedInfo: AzureIaaSVMProtectedItemExtendedInfo,
|
|
8977
9061
|
ExtendedProperties: ExtendedProperties,
|
|
8978
9062
|
DiskExclusionProperties: DiskExclusionProperties,
|
|
@@ -14625,7 +14709,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
14625
14709
|
requestContentType: "application/json; charset=utf-8",
|
|
14626
14710
|
credential: credentials
|
|
14627
14711
|
};
|
|
14628
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.
|
|
14712
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.2.0`;
|
|
14629
14713
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
14630
14714
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
14631
14715
|
: `${packageDetails}`;
|