@azure/arm-recoveryservicesbackup 11.0.1-alpha.20231113.1 → 12.0.0-alpha.20231121.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 +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/src/models/index.ts
CHANGED
|
@@ -102,6 +102,16 @@ export type WorkloadProtectableItemUnion =
|
|
|
102
102
|
| AzureFileShareProtectableItem
|
|
103
103
|
| IaaSVMProtectableItemUnion
|
|
104
104
|
| AzureVmWorkloadProtectableItemUnion;
|
|
105
|
+
export type FetchTieringCostInfoRequestUnion =
|
|
106
|
+
| FetchTieringCostInfoRequest
|
|
107
|
+
| FetchTieringCostInfoForRehydrationRequest
|
|
108
|
+
| FetchTieringCostSavingsInfoForPolicyRequest
|
|
109
|
+
| FetchTieringCostSavingsInfoForProtectedItemRequest
|
|
110
|
+
| FetchTieringCostSavingsInfoForVaultRequest;
|
|
111
|
+
export type TieringCostInfoUnion =
|
|
112
|
+
| TieringCostInfo
|
|
113
|
+
| TieringCostRehydrationInfo
|
|
114
|
+
| TieringCostSavingInfo;
|
|
105
115
|
export type SchedulePolicyUnion =
|
|
106
116
|
| SchedulePolicy
|
|
107
117
|
| LogSchedulePolicy
|
|
@@ -353,6 +363,10 @@ export interface BackupStatusResponse {
|
|
|
353
363
|
policyName?: string;
|
|
354
364
|
/** Container registration status */
|
|
355
365
|
registrationStatus?: string;
|
|
366
|
+
/** Number of protected items */
|
|
367
|
+
protectedItemsCount?: number;
|
|
368
|
+
/** Specifies whether the storage account lock has been acquired or not */
|
|
369
|
+
acquireStorageAccountLock?: AcquireStorageAccountLock;
|
|
356
370
|
}
|
|
357
371
|
|
|
358
372
|
/** Base class for feature request */
|
|
@@ -704,6 +718,11 @@ export interface ProtectedItem {
|
|
|
704
718
|
policyName?: string;
|
|
705
719
|
/** Soft delete retention period in days */
|
|
706
720
|
softDeleteRetentionPeriodInDays?: number;
|
|
721
|
+
/**
|
|
722
|
+
* ID of the vault which protects this item
|
|
723
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
724
|
+
*/
|
|
725
|
+
readonly vaultId?: string;
|
|
707
726
|
}
|
|
708
727
|
|
|
709
728
|
/** Base class for backup copies. Workload-specific backup copies are derived from this class. */
|
|
@@ -797,6 +816,14 @@ export interface OperationWorkerResponse {
|
|
|
797
816
|
headers?: { [propertyName: string]: string[] };
|
|
798
817
|
}
|
|
799
818
|
|
|
819
|
+
/** Base class for validate operation request. */
|
|
820
|
+
export interface ValidateOperationRequestResource {
|
|
821
|
+
/** Recovery point ID. */
|
|
822
|
+
id: string;
|
|
823
|
+
/** ValidateOperationRequestResource properties */
|
|
824
|
+
properties: ValidateOperationRequestUnion;
|
|
825
|
+
}
|
|
826
|
+
|
|
800
827
|
/** Base class for validate operation request. */
|
|
801
828
|
export interface ValidateOperationRequest {
|
|
802
829
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -1026,7 +1053,7 @@ export interface ListRecoveryPointsRecommendedForMoveRequest {
|
|
|
1026
1053
|
}
|
|
1027
1054
|
|
|
1028
1055
|
export interface ResourceGuardProxyBase {
|
|
1029
|
-
resourceGuardResourceId
|
|
1056
|
+
resourceGuardResourceId: string;
|
|
1030
1057
|
resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
|
|
1031
1058
|
lastUpdatedTime?: string;
|
|
1032
1059
|
description?: string;
|
|
@@ -1049,6 +1076,29 @@ export interface UnlockDeleteResponse {
|
|
|
1049
1076
|
unlockDeleteExpiryTime?: string;
|
|
1050
1077
|
}
|
|
1051
1078
|
|
|
1079
|
+
/**
|
|
1080
|
+
* Base class for tiering cost request.
|
|
1081
|
+
* Specific cost request types are derived from this class.
|
|
1082
|
+
*/
|
|
1083
|
+
export interface FetchTieringCostInfoRequest {
|
|
1084
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1085
|
+
objectType:
|
|
1086
|
+
| "FetchTieringCostInfoForRehydrationRequest"
|
|
1087
|
+
| "FetchTieringCostSavingsInfoForPolicyRequest"
|
|
1088
|
+
| "FetchTieringCostSavingsInfoForProtectedItemRequest"
|
|
1089
|
+
| "FetchTieringCostSavingsInfoForVaultRequest";
|
|
1090
|
+
/** Source tier for the request */
|
|
1091
|
+
sourceTierType: RecoveryPointTierType;
|
|
1092
|
+
/** target tier for the request */
|
|
1093
|
+
targetTierType: RecoveryPointTierType;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/** Base class for tiering cost response */
|
|
1097
|
+
export interface TieringCostInfo {
|
|
1098
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1099
|
+
objectType: "TieringCostRehydrationInfo" | "TieringCostSavingInfo";
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1052
1102
|
/** KPI Resource Health Details */
|
|
1053
1103
|
export interface KPIResourceHealthDetails {
|
|
1054
1104
|
/** Resource Health Status */
|
|
@@ -1156,6 +1206,8 @@ export interface SubProtectionPolicy {
|
|
|
1156
1206
|
* Tiering policy specifies the criteria to move RP to the target tier.
|
|
1157
1207
|
*/
|
|
1158
1208
|
tieringPolicy?: { [propertyName: string]: TieringPolicy };
|
|
1209
|
+
/** Snapshot Backup related fields for WorkloadType SaPHanaSystem */
|
|
1210
|
+
snapshotBackupAdditionalDetails?: SnapshotBackupAdditionalDetails;
|
|
1159
1211
|
}
|
|
1160
1212
|
|
|
1161
1213
|
/** Base class for backup schedule. */
|
|
@@ -1198,6 +1250,41 @@ export interface TieringPolicy {
|
|
|
1198
1250
|
durationType?: RetentionDurationType;
|
|
1199
1251
|
}
|
|
1200
1252
|
|
|
1253
|
+
/** Snapshot Backup related fields for WorkloadType SaPHanaSystem */
|
|
1254
|
+
export interface SnapshotBackupAdditionalDetails {
|
|
1255
|
+
instantRpRetentionRangeInDays?: number;
|
|
1256
|
+
instantRPDetails?: string;
|
|
1257
|
+
userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
export interface UserAssignedManagedIdentityDetails {
|
|
1261
|
+
identityArmId?: string;
|
|
1262
|
+
identityName?: string;
|
|
1263
|
+
/** User assigned identity properties */
|
|
1264
|
+
userAssignedIdentityProperties?: UserAssignedIdentity;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/** User assigned identity properties */
|
|
1268
|
+
export interface UserAssignedIdentity {
|
|
1269
|
+
/**
|
|
1270
|
+
* The principal ID of the assigned identity.
|
|
1271
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1272
|
+
*/
|
|
1273
|
+
readonly principalId?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* The client ID of the assigned identity.
|
|
1276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1277
|
+
*/
|
|
1278
|
+
readonly clientId?: string;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/** Vault retention policy for AzureFileShare */
|
|
1282
|
+
export interface VaultRetentionPolicy {
|
|
1283
|
+
/** Base class for retention policy. */
|
|
1284
|
+
vaultRetention: RetentionPolicyUnion;
|
|
1285
|
+
snapshotRetentionInDays: number;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1201
1288
|
/** Additional information on Azure IaaS VM specific backup item. */
|
|
1202
1289
|
export interface AzureIaaSVMProtectedItemExtendedInfo {
|
|
1203
1290
|
/** The oldest backup copy available for this backup item across all tiers. */
|
|
@@ -1435,6 +1522,12 @@ export interface TargetRestoreInfo {
|
|
|
1435
1522
|
targetDirectoryForFileRestore?: string;
|
|
1436
1523
|
}
|
|
1437
1524
|
|
|
1525
|
+
/** Encapsulates information regarding snapshot recovery for SAP Hana */
|
|
1526
|
+
export interface SnapshotRestoreParameters {
|
|
1527
|
+
skipAttachAndMount?: boolean;
|
|
1528
|
+
logPointInTimeForDBRecovery?: string;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1438
1531
|
/** Extended info class details */
|
|
1439
1532
|
export interface AzureWorkloadSQLRecoveryPointExtendedInfo {
|
|
1440
1533
|
/** UTC time at which data directory info was captured */
|
|
@@ -2673,6 +2766,11 @@ export interface IaasVMRecoveryPoint extends RecoveryPoint {
|
|
|
2673
2766
|
recoveryPointProperties?: RecoveryPointProperties;
|
|
2674
2767
|
/** This flag denotes if any of the disks in the VM are using Private access network setting */
|
|
2675
2768
|
isPrivateAccessEnabledOnAnyDisk?: boolean;
|
|
2769
|
+
/**
|
|
2770
|
+
* Extended location of the VM recovery point,
|
|
2771
|
+
* should be null if VM is in public cloud
|
|
2772
|
+
*/
|
|
2773
|
+
extendedLocation?: ExtendedLocation;
|
|
2676
2774
|
}
|
|
2677
2775
|
|
|
2678
2776
|
/** AzureFileShare Restore Request */
|
|
@@ -2717,6 +2815,18 @@ export interface AzureWorkloadRestoreRequest extends RestoreRequest {
|
|
|
2717
2815
|
targetInfo?: TargetRestoreInfo;
|
|
2718
2816
|
/** Defines whether the current recovery mode is file restore or database restore */
|
|
2719
2817
|
recoveryMode?: RecoveryMode;
|
|
2818
|
+
/** Defines the Resource group of the Target VM */
|
|
2819
|
+
targetResourceGroupName?: string;
|
|
2820
|
+
/**
|
|
2821
|
+
* User Assigned managed identity details
|
|
2822
|
+
* Currently used for snapshot.
|
|
2823
|
+
*/
|
|
2824
|
+
userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
|
|
2825
|
+
/**
|
|
2826
|
+
* Additional details for snapshot recovery
|
|
2827
|
+
* Currently used for snapshot for SAP Hana.
|
|
2828
|
+
*/
|
|
2829
|
+
snapshotRestoreParameters?: SnapshotRestoreParameters;
|
|
2720
2830
|
/**
|
|
2721
2831
|
* This is the complete ARM Id of the target VM
|
|
2722
2832
|
* For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
|
|
@@ -2822,6 +2932,8 @@ export interface AzureFileShareProtectionPolicy extends ProtectionPolicy {
|
|
|
2822
2932
|
schedulePolicy?: SchedulePolicyUnion;
|
|
2823
2933
|
/** Retention policy with the details on backup copy retention ranges. */
|
|
2824
2934
|
retentionPolicy?: RetentionPolicyUnion;
|
|
2935
|
+
/** Retention policy with the details on hardened backup copy retention ranges. */
|
|
2936
|
+
vaultRetentionPolicy?: VaultRetentionPolicy;
|
|
2825
2937
|
/** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
|
|
2826
2938
|
timeZone?: string;
|
|
2827
2939
|
}
|
|
@@ -3320,6 +3432,72 @@ export interface AzureVmWorkloadProtectableItem
|
|
|
3320
3432
|
isProtectable?: boolean;
|
|
3321
3433
|
}
|
|
3322
3434
|
|
|
3435
|
+
/** Request parameters for fetching cost info of rehydration */
|
|
3436
|
+
export interface FetchTieringCostInfoForRehydrationRequest
|
|
3437
|
+
extends FetchTieringCostInfoRequest {
|
|
3438
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3439
|
+
objectType: "FetchTieringCostInfoForRehydrationRequest";
|
|
3440
|
+
/** Name of the protected item container */
|
|
3441
|
+
containerName: string;
|
|
3442
|
+
/** Name of the protectedItemName */
|
|
3443
|
+
protectedItemName: string;
|
|
3444
|
+
/** ID of the backup copy for rehydration cost info needs to be fetched. */
|
|
3445
|
+
recoveryPointId: string;
|
|
3446
|
+
/** Rehydration Priority */
|
|
3447
|
+
rehydrationPriority: RehydrationPriority;
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3450
|
+
/** Request parameters for tiering cost info for policy */
|
|
3451
|
+
export interface FetchTieringCostSavingsInfoForPolicyRequest
|
|
3452
|
+
extends FetchTieringCostInfoRequest {
|
|
3453
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3454
|
+
objectType: "FetchTieringCostSavingsInfoForPolicyRequest";
|
|
3455
|
+
/** Name of the backup policy for which the cost savings information is requested */
|
|
3456
|
+
policyName: string;
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
/** Request parameters for tiering cost info for protected item */
|
|
3460
|
+
export interface FetchTieringCostSavingsInfoForProtectedItemRequest
|
|
3461
|
+
extends FetchTieringCostInfoRequest {
|
|
3462
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3463
|
+
objectType: "FetchTieringCostSavingsInfoForProtectedItemRequest";
|
|
3464
|
+
/** Name of the protected item container */
|
|
3465
|
+
containerName: string;
|
|
3466
|
+
/** Name of the protectedItemName */
|
|
3467
|
+
protectedItemName: string;
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
/** Request parameters for tiering cost info for vault */
|
|
3471
|
+
export interface FetchTieringCostSavingsInfoForVaultRequest
|
|
3472
|
+
extends FetchTieringCostInfoRequest {
|
|
3473
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3474
|
+
objectType: "FetchTieringCostSavingsInfoForVaultRequest";
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
/** Response parameters for tiering cost info for rehydration */
|
|
3478
|
+
export interface TieringCostRehydrationInfo extends TieringCostInfo {
|
|
3479
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3480
|
+
objectType: "TieringCostRehydrationInfo";
|
|
3481
|
+
/** Rehydration size in bytes */
|
|
3482
|
+
rehydrationSizeInBytes: number;
|
|
3483
|
+
/** Source tier to target tier rehydration cost per GB per month */
|
|
3484
|
+
retailRehydrationCostPerGBPerMonth: number;
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
/** Response parameters for tiering cost info for savings */
|
|
3488
|
+
export interface TieringCostSavingInfo extends TieringCostInfo {
|
|
3489
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3490
|
+
objectType: "TieringCostSavingInfo";
|
|
3491
|
+
/** Source tier size reduction in bytes after moving all the recommended backup points to target tier */
|
|
3492
|
+
sourceTierSizeReductionInBytes: number;
|
|
3493
|
+
/** Target tier size increase in bytes after moving all the recommended backup points to target tier */
|
|
3494
|
+
targetTierSizeIncreaseInBytes: number;
|
|
3495
|
+
/** Source tier retail cost per GB per month */
|
|
3496
|
+
retailSourceTierCostPerGBPerMonth: number;
|
|
3497
|
+
/** Target tier retail cost per GB per month */
|
|
3498
|
+
retailTargetTierCostPerGBPerMonth: number;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3323
3501
|
/** Azure IaaS VM workload-specific Health Details. */
|
|
3324
3502
|
export interface AzureIaaSVMHealthDetails extends ResourceHealthDetails {}
|
|
3325
3503
|
|
|
@@ -3761,6 +3939,11 @@ export interface AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest
|
|
|
3761
3939
|
recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
|
|
3762
3940
|
}
|
|
3763
3941
|
|
|
3942
|
+
/** Defines headers for FetchTieringCost_post operation. */
|
|
3943
|
+
export interface FetchTieringCostPostHeaders {
|
|
3944
|
+
location?: string;
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3764
3947
|
/** Known values of {@link StorageType} that the service accepts. */
|
|
3765
3948
|
export enum KnownStorageType {
|
|
3766
3949
|
/** Invalid */
|
|
@@ -3977,6 +4160,24 @@ export enum KnownFabricName {
|
|
|
3977
4160
|
*/
|
|
3978
4161
|
export type FabricName = string;
|
|
3979
4162
|
|
|
4163
|
+
/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
|
|
4164
|
+
export enum KnownAcquireStorageAccountLock {
|
|
4165
|
+
/** Acquire */
|
|
4166
|
+
Acquire = "Acquire",
|
|
4167
|
+
/** NotAcquire */
|
|
4168
|
+
NotAcquire = "NotAcquire"
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* Defines values for AcquireStorageAccountLock. \
|
|
4173
|
+
* {@link KnownAcquireStorageAccountLock} can be used interchangeably with AcquireStorageAccountLock,
|
|
4174
|
+
* this enum contains the known values that the service supports.
|
|
4175
|
+
* ### Known values supported by the service
|
|
4176
|
+
* **Acquire** \
|
|
4177
|
+
* **NotAcquire**
|
|
4178
|
+
*/
|
|
4179
|
+
export type AcquireStorageAccountLock = string;
|
|
4180
|
+
|
|
3980
4181
|
/** Known values of {@link SupportStatus} that the service accepts. */
|
|
3981
4182
|
export enum KnownSupportStatus {
|
|
3982
4183
|
/** Invalid */
|
|
@@ -4860,7 +5061,13 @@ export enum KnownRecoveryMode {
|
|
|
4860
5061
|
/** FileRecovery */
|
|
4861
5062
|
FileRecovery = "FileRecovery",
|
|
4862
5063
|
/** WorkloadRecovery */
|
|
4863
|
-
WorkloadRecovery = "WorkloadRecovery"
|
|
5064
|
+
WorkloadRecovery = "WorkloadRecovery",
|
|
5065
|
+
/** SnapshotAttach */
|
|
5066
|
+
SnapshotAttach = "SnapshotAttach",
|
|
5067
|
+
/** RecoveryUsingSnapshot */
|
|
5068
|
+
RecoveryUsingSnapshot = "RecoveryUsingSnapshot",
|
|
5069
|
+
/** SnapshotAttachAndRecover */
|
|
5070
|
+
SnapshotAttachAndRecover = "SnapshotAttachAndRecover"
|
|
4864
5071
|
}
|
|
4865
5072
|
|
|
4866
5073
|
/**
|
|
@@ -4870,7 +5077,10 @@ export enum KnownRecoveryMode {
|
|
|
4870
5077
|
* ### Known values supported by the service
|
|
4871
5078
|
* **Invalid** \
|
|
4872
5079
|
* **FileRecovery** \
|
|
4873
|
-
* **WorkloadRecovery**
|
|
5080
|
+
* **WorkloadRecovery** \
|
|
5081
|
+
* **SnapshotAttach** \
|
|
5082
|
+
* **RecoveryUsingSnapshot** \
|
|
5083
|
+
* **SnapshotAttachAndRecover**
|
|
4874
5084
|
*/
|
|
4875
5085
|
export type RecoveryMode = string;
|
|
4876
5086
|
|
|
@@ -5180,24 +5390,6 @@ export enum KnownOperationType {
|
|
|
5180
5390
|
*/
|
|
5181
5391
|
export type OperationType = string;
|
|
5182
5392
|
|
|
5183
|
-
/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
|
|
5184
|
-
export enum KnownAcquireStorageAccountLock {
|
|
5185
|
-
/** Acquire */
|
|
5186
|
-
Acquire = "Acquire",
|
|
5187
|
-
/** NotAcquire */
|
|
5188
|
-
NotAcquire = "NotAcquire"
|
|
5189
|
-
}
|
|
5190
|
-
|
|
5191
|
-
/**
|
|
5192
|
-
* Defines values for AcquireStorageAccountLock. \
|
|
5193
|
-
* {@link KnownAcquireStorageAccountLock} can be used interchangeably with AcquireStorageAccountLock,
|
|
5194
|
-
* this enum contains the known values that the service supports.
|
|
5195
|
-
* ### Known values supported by the service
|
|
5196
|
-
* **Acquire** \
|
|
5197
|
-
* **NotAcquire**
|
|
5198
|
-
*/
|
|
5199
|
-
export type AcquireStorageAccountLock = string;
|
|
5200
|
-
|
|
5201
5393
|
/** Known values of {@link InquiryStatus} that the service accepts. */
|
|
5202
5394
|
export enum KnownInquiryStatus {
|
|
5203
5395
|
/** Invalid */
|
|
@@ -6067,7 +6259,12 @@ export type ProtectionContainersGetResponse = ProtectionContainerResource;
|
|
|
6067
6259
|
|
|
6068
6260
|
/** Optional parameters. */
|
|
6069
6261
|
export interface ProtectionContainersRegisterOptionalParams
|
|
6070
|
-
extends coreClient.OperationOptions {
|
|
6262
|
+
extends coreClient.OperationOptions {
|
|
6263
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
6264
|
+
updateIntervalInMs?: number;
|
|
6265
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
6266
|
+
resumeFrom?: string;
|
|
6267
|
+
}
|
|
6071
6268
|
|
|
6072
6269
|
/** Contains response data for the register operation. */
|
|
6073
6270
|
export type ProtectionContainersRegisterResponse = ProtectionContainerResource;
|
|
@@ -6269,6 +6466,32 @@ export interface ResourceGuardProxyUnlockDeleteOptionalParams
|
|
|
6269
6466
|
/** Contains response data for the unlockDelete operation. */
|
|
6270
6467
|
export type ResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
|
|
6271
6468
|
|
|
6469
|
+
/** Optional parameters. */
|
|
6470
|
+
export interface FetchTieringCostPostOptionalParams
|
|
6471
|
+
extends coreClient.OperationOptions {
|
|
6472
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
6473
|
+
updateIntervalInMs?: number;
|
|
6474
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
6475
|
+
resumeFrom?: string;
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6478
|
+
/** Contains response data for the post operation. */
|
|
6479
|
+
export type FetchTieringCostPostResponse = TieringCostInfoUnion;
|
|
6480
|
+
|
|
6481
|
+
/** Optional parameters. */
|
|
6482
|
+
export interface GetTieringCostOperationResultGetOptionalParams
|
|
6483
|
+
extends coreClient.OperationOptions {}
|
|
6484
|
+
|
|
6485
|
+
/** Contains response data for the get operation. */
|
|
6486
|
+
export type GetTieringCostOperationResultGetResponse = TieringCostInfoUnion;
|
|
6487
|
+
|
|
6488
|
+
/** Optional parameters. */
|
|
6489
|
+
export interface TieringCostOperationStatusGetOptionalParams
|
|
6490
|
+
extends coreClient.OperationOptions {}
|
|
6491
|
+
|
|
6492
|
+
/** Contains response data for the get operation. */
|
|
6493
|
+
export type TieringCostOperationStatusGetResponse = OperationStatus;
|
|
6494
|
+
|
|
6272
6495
|
/** Optional parameters. */
|
|
6273
6496
|
export interface RecoveryServicesBackupClientOptionalParams
|
|
6274
6497
|
extends coreClient.ServiceClientOptions {
|