@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
|
@@ -17,6 +17,8 @@ export type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
|
|
|
17
17
|
export type BackupRequestUnion = BackupRequest | AzureFileShareBackupRequest | AzureWorkloadBackupRequest | IaasVMBackupRequest;
|
|
18
18
|
export type ILRRequestUnion = ILRRequest | AzureFileShareProvisionILRRequest | IaasVmilrRegistrationRequest;
|
|
19
19
|
export type WorkloadProtectableItemUnion = WorkloadProtectableItem | AzureFileShareProtectableItem | IaaSVMProtectableItemUnion | AzureVmWorkloadProtectableItemUnion;
|
|
20
|
+
export type FetchTieringCostInfoRequestUnion = FetchTieringCostInfoRequest | FetchTieringCostInfoForRehydrationRequest | FetchTieringCostSavingsInfoForPolicyRequest | FetchTieringCostSavingsInfoForProtectedItemRequest | FetchTieringCostSavingsInfoForVaultRequest;
|
|
21
|
+
export type TieringCostInfoUnion = TieringCostInfo | TieringCostRehydrationInfo | TieringCostSavingInfo;
|
|
20
22
|
export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy | SimpleSchedulePolicyV2;
|
|
21
23
|
export type RetentionPolicyUnion = RetentionPolicy | LongTermRetentionPolicy | SimpleRetentionPolicy;
|
|
22
24
|
export type AzureRecoveryServiceVaultProtectionIntentUnion = AzureRecoveryServiceVaultProtectionIntent | AzureWorkloadAutoProtectionIntentUnion;
|
|
@@ -190,6 +192,10 @@ export interface BackupStatusResponse {
|
|
|
190
192
|
policyName?: string;
|
|
191
193
|
/** Container registration status */
|
|
192
194
|
registrationStatus?: string;
|
|
195
|
+
/** Number of protected items */
|
|
196
|
+
protectedItemsCount?: number;
|
|
197
|
+
/** Specifies whether the storage account lock has been acquired or not */
|
|
198
|
+
acquireStorageAccountLock?: AcquireStorageAccountLock;
|
|
193
199
|
}
|
|
194
200
|
/** Base class for feature request */
|
|
195
201
|
export interface FeatureSupportRequest {
|
|
@@ -492,6 +498,11 @@ export interface ProtectedItem {
|
|
|
492
498
|
policyName?: string;
|
|
493
499
|
/** Soft delete retention period in days */
|
|
494
500
|
softDeleteRetentionPeriodInDays?: number;
|
|
501
|
+
/**
|
|
502
|
+
* ID of the vault which protects this item
|
|
503
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
504
|
+
*/
|
|
505
|
+
readonly vaultId?: string;
|
|
495
506
|
}
|
|
496
507
|
/** Base class for backup copies. Workload-specific backup copies are derived from this class. */
|
|
497
508
|
export interface RecoveryPoint {
|
|
@@ -546,6 +557,13 @@ export interface OperationWorkerResponse {
|
|
|
546
557
|
};
|
|
547
558
|
}
|
|
548
559
|
/** Base class for validate operation request. */
|
|
560
|
+
export interface ValidateOperationRequestResource {
|
|
561
|
+
/** Recovery point ID. */
|
|
562
|
+
id: string;
|
|
563
|
+
/** ValidateOperationRequestResource properties */
|
|
564
|
+
properties: ValidateOperationRequestUnion;
|
|
565
|
+
}
|
|
566
|
+
/** Base class for validate operation request. */
|
|
549
567
|
export interface ValidateOperationRequest {
|
|
550
568
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
551
569
|
objectType: "ValidateRestoreOperationRequest" | "ValidateIaasVMRestoreOperationRequest";
|
|
@@ -719,7 +737,7 @@ export interface ListRecoveryPointsRecommendedForMoveRequest {
|
|
|
719
737
|
excludedRPList?: string[];
|
|
720
738
|
}
|
|
721
739
|
export interface ResourceGuardProxyBase {
|
|
722
|
-
resourceGuardResourceId
|
|
740
|
+
resourceGuardResourceId: string;
|
|
723
741
|
resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
|
|
724
742
|
lastUpdatedTime?: string;
|
|
725
743
|
description?: string;
|
|
@@ -738,6 +756,23 @@ export interface UnlockDeleteResponse {
|
|
|
738
756
|
/** This is the time when unlock delete privileges will get expired. */
|
|
739
757
|
unlockDeleteExpiryTime?: string;
|
|
740
758
|
}
|
|
759
|
+
/**
|
|
760
|
+
* Base class for tiering cost request.
|
|
761
|
+
* Specific cost request types are derived from this class.
|
|
762
|
+
*/
|
|
763
|
+
export interface FetchTieringCostInfoRequest {
|
|
764
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
765
|
+
objectType: "FetchTieringCostInfoForRehydrationRequest" | "FetchTieringCostSavingsInfoForPolicyRequest" | "FetchTieringCostSavingsInfoForProtectedItemRequest" | "FetchTieringCostSavingsInfoForVaultRequest";
|
|
766
|
+
/** Source tier for the request */
|
|
767
|
+
sourceTierType: RecoveryPointTierType;
|
|
768
|
+
/** target tier for the request */
|
|
769
|
+
targetTierType: RecoveryPointTierType;
|
|
770
|
+
}
|
|
771
|
+
/** Base class for tiering cost response */
|
|
772
|
+
export interface TieringCostInfo {
|
|
773
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
774
|
+
objectType: "TieringCostRehydrationInfo" | "TieringCostSavingInfo";
|
|
775
|
+
}
|
|
741
776
|
/** KPI Resource Health Details */
|
|
742
777
|
export interface KPIResourceHealthDetails {
|
|
743
778
|
/** Resource Health Status */
|
|
@@ -840,6 +875,8 @@ export interface SubProtectionPolicy {
|
|
|
840
875
|
tieringPolicy?: {
|
|
841
876
|
[propertyName: string]: TieringPolicy;
|
|
842
877
|
};
|
|
878
|
+
/** Snapshot Backup related fields for WorkloadType SaPHanaSystem */
|
|
879
|
+
snapshotBackupAdditionalDetails?: SnapshotBackupAdditionalDetails;
|
|
843
880
|
}
|
|
844
881
|
/** Base class for backup schedule. */
|
|
845
882
|
export interface SchedulePolicy {
|
|
@@ -874,6 +911,37 @@ export interface TieringPolicy {
|
|
|
874
911
|
*/
|
|
875
912
|
durationType?: RetentionDurationType;
|
|
876
913
|
}
|
|
914
|
+
/** Snapshot Backup related fields for WorkloadType SaPHanaSystem */
|
|
915
|
+
export interface SnapshotBackupAdditionalDetails {
|
|
916
|
+
instantRpRetentionRangeInDays?: number;
|
|
917
|
+
instantRPDetails?: string;
|
|
918
|
+
userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
|
|
919
|
+
}
|
|
920
|
+
export interface UserAssignedManagedIdentityDetails {
|
|
921
|
+
identityArmId?: string;
|
|
922
|
+
identityName?: string;
|
|
923
|
+
/** User assigned identity properties */
|
|
924
|
+
userAssignedIdentityProperties?: UserAssignedIdentity;
|
|
925
|
+
}
|
|
926
|
+
/** User assigned identity properties */
|
|
927
|
+
export interface UserAssignedIdentity {
|
|
928
|
+
/**
|
|
929
|
+
* The principal ID of the assigned identity.
|
|
930
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
931
|
+
*/
|
|
932
|
+
readonly principalId?: string;
|
|
933
|
+
/**
|
|
934
|
+
* The client ID of the assigned identity.
|
|
935
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
936
|
+
*/
|
|
937
|
+
readonly clientId?: string;
|
|
938
|
+
}
|
|
939
|
+
/** Vault retention policy for AzureFileShare */
|
|
940
|
+
export interface VaultRetentionPolicy {
|
|
941
|
+
/** Base class for retention policy. */
|
|
942
|
+
vaultRetention: RetentionPolicyUnion;
|
|
943
|
+
snapshotRetentionInDays: number;
|
|
944
|
+
}
|
|
877
945
|
/** Additional information on Azure IaaS VM specific backup item. */
|
|
878
946
|
export interface AzureIaaSVMProtectedItemExtendedInfo {
|
|
879
947
|
/** The oldest backup copy available for this backup item across all tiers. */
|
|
@@ -1101,6 +1169,11 @@ export interface TargetRestoreInfo {
|
|
|
1101
1169
|
/** Target directory location for restore as files. */
|
|
1102
1170
|
targetDirectoryForFileRestore?: string;
|
|
1103
1171
|
}
|
|
1172
|
+
/** Encapsulates information regarding snapshot recovery for SAP Hana */
|
|
1173
|
+
export interface SnapshotRestoreParameters {
|
|
1174
|
+
skipAttachAndMount?: boolean;
|
|
1175
|
+
logPointInTimeForDBRecovery?: string;
|
|
1176
|
+
}
|
|
1104
1177
|
/** Extended info class details */
|
|
1105
1178
|
export interface AzureWorkloadSQLRecoveryPointExtendedInfo {
|
|
1106
1179
|
/** UTC time at which data directory info was captured */
|
|
@@ -2220,6 +2293,11 @@ export interface IaasVMRecoveryPoint extends RecoveryPoint {
|
|
|
2220
2293
|
recoveryPointProperties?: RecoveryPointProperties;
|
|
2221
2294
|
/** This flag denotes if any of the disks in the VM are using Private access network setting */
|
|
2222
2295
|
isPrivateAccessEnabledOnAnyDisk?: boolean;
|
|
2296
|
+
/**
|
|
2297
|
+
* Extended location of the VM recovery point,
|
|
2298
|
+
* should be null if VM is in public cloud
|
|
2299
|
+
*/
|
|
2300
|
+
extendedLocation?: ExtendedLocation;
|
|
2223
2301
|
}
|
|
2224
2302
|
/** AzureFileShare Restore Request */
|
|
2225
2303
|
export interface AzureFileShareRestoreRequest extends RestoreRequest {
|
|
@@ -2254,6 +2332,18 @@ export interface AzureWorkloadRestoreRequest extends RestoreRequest {
|
|
|
2254
2332
|
targetInfo?: TargetRestoreInfo;
|
|
2255
2333
|
/** Defines whether the current recovery mode is file restore or database restore */
|
|
2256
2334
|
recoveryMode?: RecoveryMode;
|
|
2335
|
+
/** Defines the Resource group of the Target VM */
|
|
2336
|
+
targetResourceGroupName?: string;
|
|
2337
|
+
/**
|
|
2338
|
+
* User Assigned managed identity details
|
|
2339
|
+
* Currently used for snapshot.
|
|
2340
|
+
*/
|
|
2341
|
+
userAssignedManagedIdentityDetails?: UserAssignedManagedIdentityDetails;
|
|
2342
|
+
/**
|
|
2343
|
+
* Additional details for snapshot recovery
|
|
2344
|
+
* Currently used for snapshot for SAP Hana.
|
|
2345
|
+
*/
|
|
2346
|
+
snapshotRestoreParameters?: SnapshotRestoreParameters;
|
|
2257
2347
|
/**
|
|
2258
2348
|
* This is the complete ARM Id of the target VM
|
|
2259
2349
|
* For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
|
|
@@ -2356,6 +2446,8 @@ export interface AzureFileShareProtectionPolicy extends ProtectionPolicy {
|
|
|
2356
2446
|
schedulePolicy?: SchedulePolicyUnion;
|
|
2357
2447
|
/** Retention policy with the details on backup copy retention ranges. */
|
|
2358
2448
|
retentionPolicy?: RetentionPolicyUnion;
|
|
2449
|
+
/** Retention policy with the details on hardened backup copy retention ranges. */
|
|
2450
|
+
vaultRetentionPolicy?: VaultRetentionPolicy;
|
|
2359
2451
|
/** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
|
|
2360
2452
|
timeZone?: string;
|
|
2361
2453
|
}
|
|
@@ -2789,6 +2881,62 @@ export interface AzureVmWorkloadProtectableItem extends WorkloadProtectableItem
|
|
|
2789
2881
|
/** Indicates if item is protectable */
|
|
2790
2882
|
isProtectable?: boolean;
|
|
2791
2883
|
}
|
|
2884
|
+
/** Request parameters for fetching cost info of rehydration */
|
|
2885
|
+
export interface FetchTieringCostInfoForRehydrationRequest extends FetchTieringCostInfoRequest {
|
|
2886
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2887
|
+
objectType: "FetchTieringCostInfoForRehydrationRequest";
|
|
2888
|
+
/** Name of the protected item container */
|
|
2889
|
+
containerName: string;
|
|
2890
|
+
/** Name of the protectedItemName */
|
|
2891
|
+
protectedItemName: string;
|
|
2892
|
+
/** ID of the backup copy for rehydration cost info needs to be fetched. */
|
|
2893
|
+
recoveryPointId: string;
|
|
2894
|
+
/** Rehydration Priority */
|
|
2895
|
+
rehydrationPriority: RehydrationPriority;
|
|
2896
|
+
}
|
|
2897
|
+
/** Request parameters for tiering cost info for policy */
|
|
2898
|
+
export interface FetchTieringCostSavingsInfoForPolicyRequest extends FetchTieringCostInfoRequest {
|
|
2899
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2900
|
+
objectType: "FetchTieringCostSavingsInfoForPolicyRequest";
|
|
2901
|
+
/** Name of the backup policy for which the cost savings information is requested */
|
|
2902
|
+
policyName: string;
|
|
2903
|
+
}
|
|
2904
|
+
/** Request parameters for tiering cost info for protected item */
|
|
2905
|
+
export interface FetchTieringCostSavingsInfoForProtectedItemRequest extends FetchTieringCostInfoRequest {
|
|
2906
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2907
|
+
objectType: "FetchTieringCostSavingsInfoForProtectedItemRequest";
|
|
2908
|
+
/** Name of the protected item container */
|
|
2909
|
+
containerName: string;
|
|
2910
|
+
/** Name of the protectedItemName */
|
|
2911
|
+
protectedItemName: string;
|
|
2912
|
+
}
|
|
2913
|
+
/** Request parameters for tiering cost info for vault */
|
|
2914
|
+
export interface FetchTieringCostSavingsInfoForVaultRequest extends FetchTieringCostInfoRequest {
|
|
2915
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2916
|
+
objectType: "FetchTieringCostSavingsInfoForVaultRequest";
|
|
2917
|
+
}
|
|
2918
|
+
/** Response parameters for tiering cost info for rehydration */
|
|
2919
|
+
export interface TieringCostRehydrationInfo extends TieringCostInfo {
|
|
2920
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2921
|
+
objectType: "TieringCostRehydrationInfo";
|
|
2922
|
+
/** Rehydration size in bytes */
|
|
2923
|
+
rehydrationSizeInBytes: number;
|
|
2924
|
+
/** Source tier to target tier rehydration cost per GB per month */
|
|
2925
|
+
retailRehydrationCostPerGBPerMonth: number;
|
|
2926
|
+
}
|
|
2927
|
+
/** Response parameters for tiering cost info for savings */
|
|
2928
|
+
export interface TieringCostSavingInfo extends TieringCostInfo {
|
|
2929
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2930
|
+
objectType: "TieringCostSavingInfo";
|
|
2931
|
+
/** Source tier size reduction in bytes after moving all the recommended backup points to target tier */
|
|
2932
|
+
sourceTierSizeReductionInBytes: number;
|
|
2933
|
+
/** Target tier size increase in bytes after moving all the recommended backup points to target tier */
|
|
2934
|
+
targetTierSizeIncreaseInBytes: number;
|
|
2935
|
+
/** Source tier retail cost per GB per month */
|
|
2936
|
+
retailSourceTierCostPerGBPerMonth: number;
|
|
2937
|
+
/** Target tier retail cost per GB per month */
|
|
2938
|
+
retailTargetTierCostPerGBPerMonth: number;
|
|
2939
|
+
}
|
|
2792
2940
|
/** Azure IaaS VM workload-specific Health Details. */
|
|
2793
2941
|
export interface AzureIaaSVMHealthDetails extends ResourceHealthDetails {
|
|
2794
2942
|
}
|
|
@@ -3118,6 +3266,10 @@ export interface AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest extends
|
|
|
3118
3266
|
/** RP Rehydration Info */
|
|
3119
3267
|
recoveryPointRehydrationInfo?: RecoveryPointRehydrationInfo;
|
|
3120
3268
|
}
|
|
3269
|
+
/** Defines headers for FetchTieringCost_post operation. */
|
|
3270
|
+
export interface FetchTieringCostPostHeaders {
|
|
3271
|
+
location?: string;
|
|
3272
|
+
}
|
|
3121
3273
|
/** Known values of {@link StorageType} that the service accepts. */
|
|
3122
3274
|
export declare enum KnownStorageType {
|
|
3123
3275
|
/** Invalid */
|
|
@@ -3318,6 +3470,22 @@ export declare enum KnownFabricName {
|
|
|
3318
3470
|
* **Azure**
|
|
3319
3471
|
*/
|
|
3320
3472
|
export type FabricName = string;
|
|
3473
|
+
/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
|
|
3474
|
+
export declare enum KnownAcquireStorageAccountLock {
|
|
3475
|
+
/** Acquire */
|
|
3476
|
+
Acquire = "Acquire",
|
|
3477
|
+
/** NotAcquire */
|
|
3478
|
+
NotAcquire = "NotAcquire"
|
|
3479
|
+
}
|
|
3480
|
+
/**
|
|
3481
|
+
* Defines values for AcquireStorageAccountLock. \
|
|
3482
|
+
* {@link KnownAcquireStorageAccountLock} can be used interchangeably with AcquireStorageAccountLock,
|
|
3483
|
+
* this enum contains the known values that the service supports.
|
|
3484
|
+
* ### Known values supported by the service
|
|
3485
|
+
* **Acquire** \
|
|
3486
|
+
* **NotAcquire**
|
|
3487
|
+
*/
|
|
3488
|
+
export type AcquireStorageAccountLock = string;
|
|
3321
3489
|
/** Known values of {@link SupportStatus} that the service accepts. */
|
|
3322
3490
|
export declare enum KnownSupportStatus {
|
|
3323
3491
|
/** Invalid */
|
|
@@ -4137,7 +4305,13 @@ export declare enum KnownRecoveryMode {
|
|
|
4137
4305
|
/** FileRecovery */
|
|
4138
4306
|
FileRecovery = "FileRecovery",
|
|
4139
4307
|
/** WorkloadRecovery */
|
|
4140
|
-
WorkloadRecovery = "WorkloadRecovery"
|
|
4308
|
+
WorkloadRecovery = "WorkloadRecovery",
|
|
4309
|
+
/** SnapshotAttach */
|
|
4310
|
+
SnapshotAttach = "SnapshotAttach",
|
|
4311
|
+
/** RecoveryUsingSnapshot */
|
|
4312
|
+
RecoveryUsingSnapshot = "RecoveryUsingSnapshot",
|
|
4313
|
+
/** SnapshotAttachAndRecover */
|
|
4314
|
+
SnapshotAttachAndRecover = "SnapshotAttachAndRecover"
|
|
4141
4315
|
}
|
|
4142
4316
|
/**
|
|
4143
4317
|
* Defines values for RecoveryMode. \
|
|
@@ -4146,7 +4320,10 @@ export declare enum KnownRecoveryMode {
|
|
|
4146
4320
|
* ### Known values supported by the service
|
|
4147
4321
|
* **Invalid** \
|
|
4148
4322
|
* **FileRecovery** \
|
|
4149
|
-
* **WorkloadRecovery**
|
|
4323
|
+
* **WorkloadRecovery** \
|
|
4324
|
+
* **SnapshotAttach** \
|
|
4325
|
+
* **RecoveryUsingSnapshot** \
|
|
4326
|
+
* **SnapshotAttachAndRecover**
|
|
4150
4327
|
*/
|
|
4151
4328
|
export type RecoveryMode = string;
|
|
4152
4329
|
/** Known values of {@link SQLDataDirectoryType} that the service accepts. */
|
|
@@ -4435,22 +4612,6 @@ export declare enum KnownOperationType {
|
|
|
4435
4612
|
* **Reregister**
|
|
4436
4613
|
*/
|
|
4437
4614
|
export type OperationType = string;
|
|
4438
|
-
/** Known values of {@link AcquireStorageAccountLock} that the service accepts. */
|
|
4439
|
-
export declare enum KnownAcquireStorageAccountLock {
|
|
4440
|
-
/** Acquire */
|
|
4441
|
-
Acquire = "Acquire",
|
|
4442
|
-
/** NotAcquire */
|
|
4443
|
-
NotAcquire = "NotAcquire"
|
|
4444
|
-
}
|
|
4445
|
-
/**
|
|
4446
|
-
* Defines values for AcquireStorageAccountLock. \
|
|
4447
|
-
* {@link KnownAcquireStorageAccountLock} can be used interchangeably with AcquireStorageAccountLock,
|
|
4448
|
-
* this enum contains the known values that the service supports.
|
|
4449
|
-
* ### Known values supported by the service
|
|
4450
|
-
* **Acquire** \
|
|
4451
|
-
* **NotAcquire**
|
|
4452
|
-
*/
|
|
4453
|
-
export type AcquireStorageAccountLock = string;
|
|
4454
4615
|
/** Known values of {@link InquiryStatus} that the service accepts. */
|
|
4455
4616
|
export declare enum KnownInquiryStatus {
|
|
4456
4617
|
/** Invalid */
|
|
@@ -5074,6 +5235,10 @@ export interface ProtectionContainersGetOptionalParams extends coreClient.Operat
|
|
|
5074
5235
|
export type ProtectionContainersGetResponse = ProtectionContainerResource;
|
|
5075
5236
|
/** Optional parameters. */
|
|
5076
5237
|
export interface ProtectionContainersRegisterOptionalParams extends coreClient.OperationOptions {
|
|
5238
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
5239
|
+
updateIntervalInMs?: number;
|
|
5240
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
5241
|
+
resumeFrom?: string;
|
|
5077
5242
|
}
|
|
5078
5243
|
/** Contains response data for the register operation. */
|
|
5079
5244
|
export type ProtectionContainersRegisterResponse = ProtectionContainerResource;
|
|
@@ -5220,6 +5385,25 @@ export interface ResourceGuardProxyUnlockDeleteOptionalParams extends coreClient
|
|
|
5220
5385
|
/** Contains response data for the unlockDelete operation. */
|
|
5221
5386
|
export type ResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
|
|
5222
5387
|
/** Optional parameters. */
|
|
5388
|
+
export interface FetchTieringCostPostOptionalParams extends coreClient.OperationOptions {
|
|
5389
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
5390
|
+
updateIntervalInMs?: number;
|
|
5391
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
5392
|
+
resumeFrom?: string;
|
|
5393
|
+
}
|
|
5394
|
+
/** Contains response data for the post operation. */
|
|
5395
|
+
export type FetchTieringCostPostResponse = TieringCostInfoUnion;
|
|
5396
|
+
/** Optional parameters. */
|
|
5397
|
+
export interface GetTieringCostOperationResultGetOptionalParams extends coreClient.OperationOptions {
|
|
5398
|
+
}
|
|
5399
|
+
/** Contains response data for the get operation. */
|
|
5400
|
+
export type GetTieringCostOperationResultGetResponse = TieringCostInfoUnion;
|
|
5401
|
+
/** Optional parameters. */
|
|
5402
|
+
export interface TieringCostOperationStatusGetOptionalParams extends coreClient.OperationOptions {
|
|
5403
|
+
}
|
|
5404
|
+
/** Contains response data for the get operation. */
|
|
5405
|
+
export type TieringCostOperationStatusGetResponse = OperationStatus;
|
|
5406
|
+
/** Optional parameters. */
|
|
5223
5407
|
export interface RecoveryServicesBackupClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
5224
5408
|
/** server parameter */
|
|
5225
5409
|
$host?: string;
|