@azure/arm-recoveryservicesbackup 8.2.0 → 9.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 +14 -0
- package/dist/index.js +12 -96
- 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/exportJobsOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
- package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
- 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 +2 -2
- 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 +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 +7 -7
- 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/validateOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationTriggerSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +22 -91
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +9 -17
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +0 -75
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
- package/package.json +1 -1
- package/review/arm-recoveryservicesbackup.api.md +0 -34
- package/src/models/index.ts +24 -92
- package/src/models/mappers.ts +0 -77
- package/src/models/parameters.ts +1 -1
- package/src/recoveryServicesBackupClient.ts +2 -2
- package/types/arm-recoveryservicesbackup.d.ts +2 -74
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 9.0.0 (2022-05-16)
|
|
4
|
+
|
|
5
|
+
**Breaking Changes**
|
|
6
|
+
|
|
7
|
+
- Interface AzureIaaSVMProtectedItemExtendedInfo no longer has parameter newestRecoveryPointInArchive
|
|
8
|
+
- Interface AzureIaaSVMProtectedItemExtendedInfo no longer has parameter oldestRecoveryPointInArchive
|
|
9
|
+
- Interface AzureIaaSVMProtectedItemExtendedInfo no longer has parameter oldestRecoveryPointInVault
|
|
10
|
+
- Interface AzureVmWorkloadProtectedItemExtendedInfo no longer has parameter newestRecoveryPointInArchive
|
|
11
|
+
- Interface AzureVmWorkloadProtectedItemExtendedInfo no longer has parameter oldestRecoveryPointInArchive
|
|
12
|
+
- Interface AzureVmWorkloadProtectedItemExtendedInfo no longer has parameter oldestRecoveryPointInVault
|
|
13
|
+
- Interface SubProtectionPolicy no longer has parameter tieringPolicy
|
|
14
|
+
- Removed Enum KnownTieringMode
|
|
15
|
+
|
|
16
|
+
|
|
3
17
|
## 8.2.0 (2022-05-11)
|
|
4
18
|
|
|
5
19
|
**Features**
|
package/dist/index.js
CHANGED
|
@@ -330,23 +330,6 @@ 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 = {}));
|
|
350
333
|
/** Known values of {@link HealthStatus} that the service accepts. */
|
|
351
334
|
exports.KnownHealthStatus = void 0;
|
|
352
335
|
(function (KnownHealthStatus) {
|
|
@@ -430,6 +413,15 @@ exports.KnownRestorePointQueryType = void 0;
|
|
|
430
413
|
KnownRestorePointQueryType["All"] = "All";
|
|
431
414
|
KnownRestorePointQueryType["Incremental"] = "Incremental";
|
|
432
415
|
})(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 = {}));
|
|
433
425
|
/** Known values of {@link JobStatus} that the service accepts. */
|
|
434
426
|
exports.KnownJobStatus = void 0;
|
|
435
427
|
(function (KnownJobStatus) {
|
|
@@ -2958,13 +2950,6 @@ const SubProtectionPolicy = {
|
|
|
2958
2950
|
name: "Composite",
|
|
2959
2951
|
className: "RetentionPolicy"
|
|
2960
2952
|
}
|
|
2961
|
-
},
|
|
2962
|
-
tieringPolicy: {
|
|
2963
|
-
serializedName: "tieringPolicy",
|
|
2964
|
-
type: {
|
|
2965
|
-
name: "Dictionary",
|
|
2966
|
-
value: { type: { name: "Composite", className: "TieringPolicy" } }
|
|
2967
|
-
}
|
|
2968
2953
|
}
|
|
2969
2954
|
}
|
|
2970
2955
|
}
|
|
@@ -3009,32 +2994,6 @@ const RetentionPolicy = {
|
|
|
3009
2994
|
}
|
|
3010
2995
|
}
|
|
3011
2996
|
};
|
|
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
|
-
};
|
|
3038
2997
|
const AzureIaaSVMProtectedItemExtendedInfo = {
|
|
3039
2998
|
type: {
|
|
3040
2999
|
name: "Composite",
|
|
@@ -3046,24 +3005,6 @@ const AzureIaaSVMProtectedItemExtendedInfo = {
|
|
|
3046
3005
|
name: "DateTime"
|
|
3047
3006
|
}
|
|
3048
3007
|
},
|
|
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
|
-
},
|
|
3067
3008
|
recoveryPointCount: {
|
|
3068
3009
|
serializedName: "recoveryPointCount",
|
|
3069
3010
|
type: {
|
|
@@ -3415,24 +3356,6 @@ const AzureVmWorkloadProtectedItemExtendedInfo = {
|
|
|
3415
3356
|
name: "DateTime"
|
|
3416
3357
|
}
|
|
3417
3358
|
},
|
|
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
|
-
},
|
|
3436
3359
|
recoveryPointCount: {
|
|
3437
3360
|
serializedName: "recoveryPointCount",
|
|
3438
3361
|
type: {
|
|
@@ -7033,12 +6956,6 @@ const AzureIaaSVMProtectionPolicy = {
|
|
|
7033
6956
|
name: "Composite",
|
|
7034
6957
|
className: "RetentionPolicy"
|
|
7035
6958
|
}
|
|
7036
|
-
}, tieringPolicy: {
|
|
7037
|
-
serializedName: "tieringPolicy",
|
|
7038
|
-
type: {
|
|
7039
|
-
name: "Dictionary",
|
|
7040
|
-
value: { type: { name: "Composite", className: "TieringPolicy" } }
|
|
7041
|
-
}
|
|
7042
6959
|
}, instantRpRetentionRangeInDays: {
|
|
7043
6960
|
serializedName: "instantRpRetentionRangeInDays",
|
|
7044
6961
|
type: {
|
|
@@ -9056,7 +8973,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
9056
8973
|
SubProtectionPolicy: SubProtectionPolicy,
|
|
9057
8974
|
SchedulePolicy: SchedulePolicy,
|
|
9058
8975
|
RetentionPolicy: RetentionPolicy,
|
|
9059
|
-
TieringPolicy: TieringPolicy,
|
|
9060
8976
|
AzureIaaSVMProtectedItemExtendedInfo: AzureIaaSVMProtectedItemExtendedInfo,
|
|
9061
8977
|
ExtendedProperties: ExtendedProperties,
|
|
9062
8978
|
DiskExclusionProperties: DiskExclusionProperties,
|
|
@@ -9313,7 +9229,7 @@ const $host = {
|
|
|
9313
9229
|
const apiVersion = {
|
|
9314
9230
|
parameterPath: "apiVersion",
|
|
9315
9231
|
mapper: {
|
|
9316
|
-
defaultValue: "
|
|
9232
|
+
defaultValue: "2022-03-01",
|
|
9317
9233
|
isConstant: true,
|
|
9318
9234
|
serializedName: "api-version",
|
|
9319
9235
|
type: {
|
|
@@ -14709,7 +14625,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
14709
14625
|
requestContentType: "application/json; charset=utf-8",
|
|
14710
14626
|
credential: credentials
|
|
14711
14627
|
};
|
|
14712
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/
|
|
14628
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/9.0.0`;
|
|
14713
14629
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
14714
14630
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
14715
14631
|
: `${packageDetails}`;
|
|
@@ -14740,7 +14656,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
14740
14656
|
this.subscriptionId = subscriptionId;
|
|
14741
14657
|
// Assigning values to Constant parameters
|
|
14742
14658
|
this.$host = options.$host || "https://management.azure.com";
|
|
14743
|
-
this.apiVersion = options.apiVersion || "
|
|
14659
|
+
this.apiVersion = options.apiVersion || "2022-03-01";
|
|
14744
14660
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
14745
14661
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
14746
14662
|
this.backupStatus = new BackupStatusImpl(this);
|