@azure/arm-recoveryservicesbackup 10.0.0-alpha.20221214.1 → 10.0.0-alpha.20230119.1

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.
Files changed (203) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/LICENSE +1 -1
  3. package/dist/index.js +615 -220
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/backupEnginesGetSample.js +12 -4
  8. package/dist-esm/samples-dev/backupEnginesGetSample.js.map +1 -1
  9. package/dist-esm/samples-dev/backupEnginesListSample.js +12 -4
  10. package/dist-esm/samples-dev/backupEnginesListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/backupJobsListSample.js +22 -12
  12. package/dist-esm/samples-dev/backupJobsListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/backupOperationResultsGetSample.js +13 -4
  14. package/dist-esm/samples-dev/backupOperationResultsGetSample.js.map +1 -1
  15. package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +13 -4
  16. package/dist-esm/samples-dev/backupOperationStatusesGetSample.js.map +1 -1
  17. package/dist-esm/samples-dev/backupPoliciesListSample.js +22 -12
  18. package/dist-esm/samples-dev/backupPoliciesListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/backupProtectableItemsListSample.js +12 -4
  20. package/dist-esm/samples-dev/backupProtectableItemsListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/backupProtectedItemsListSample.js +12 -4
  22. package/dist-esm/samples-dev/backupProtectedItemsListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/backupProtectionContainersListSample.js +12 -4
  24. package/dist-esm/samples-dev/backupProtectionContainersListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/backupProtectionIntentListSample.js +12 -4
  26. package/dist-esm/samples-dev/backupProtectionIntentListSample.js.map +1 -1
  27. package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +12 -4
  28. package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js.map +1 -1
  29. package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +12 -4
  30. package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js.map +1 -1
  31. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +13 -4
  32. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js.map +1 -1
  33. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +13 -4
  34. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js.map +1 -1
  35. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +13 -4
  36. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +12 -4
  38. package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js.map +1 -1
  39. package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +12 -4
  40. package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js.map +1 -1
  41. package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +12 -4
  42. package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js.map +1 -1
  43. package/dist-esm/samples-dev/backupStatusGetSample.js +11 -3
  44. package/dist-esm/samples-dev/backupStatusGetSample.js.map +1 -1
  45. package/dist-esm/samples-dev/backupUsageSummariesListSample.js +17 -8
  46. package/dist-esm/samples-dev/backupUsageSummariesListSample.js.map +1 -1
  47. package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +12 -4
  48. package/dist-esm/samples-dev/backupWorkloadItemsListSample.js.map +1 -1
  49. package/dist-esm/samples-dev/backupsTriggerSample.js +12 -4
  50. package/dist-esm/samples-dev/backupsTriggerSample.js.map +1 -1
  51. package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +12 -4
  52. package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js.map +1 -1
  53. package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +12 -4
  54. package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js.map +1 -1
  55. package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +12 -4
  56. package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js.map +1 -1
  57. package/dist-esm/samples-dev/deletedProtectionContainersListSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/deletedProtectionContainersListSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +55 -0
  60. package/dist-esm/samples-dev/deletedProtectionContainersListSample.js.map +1 -0
  61. package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +12 -4
  62. package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js.map +1 -1
  63. package/dist-esm/samples-dev/featureSupportValidateSample.js +11 -3
  64. package/dist-esm/samples-dev/featureSupportValidateSample.js.map +1 -1
  65. package/dist-esm/samples-dev/getOperationStatusSample.js +12 -4
  66. package/dist-esm/samples-dev/getOperationStatusSample.js.map +1 -1
  67. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +13 -4
  68. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js.map +1 -1
  69. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +13 -4
  70. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js.map +1 -1
  71. package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +12 -4
  72. package/dist-esm/samples-dev/jobCancellationsTriggerSample.js.map +1 -1
  73. package/dist-esm/samples-dev/jobDetailsGetSample.js +12 -4
  74. package/dist-esm/samples-dev/jobDetailsGetSample.js.map +1 -1
  75. package/dist-esm/samples-dev/jobOperationResultsGetSample.js +12 -4
  76. package/dist-esm/samples-dev/jobOperationResultsGetSample.js.map +1 -1
  77. package/dist-esm/samples-dev/jobsExportSample.js +12 -4
  78. package/dist-esm/samples-dev/jobsExportSample.js.map +1 -1
  79. package/dist-esm/samples-dev/moveRecoveryPointSample.js +12 -4
  80. package/dist-esm/samples-dev/moveRecoveryPointSample.js.map +1 -1
  81. package/dist-esm/samples-dev/operationValidateSample.js +17 -8
  82. package/dist-esm/samples-dev/operationValidateSample.js.map +1 -1
  83. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  84. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  85. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +12 -4
  86. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -1
  87. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +12 -4
  88. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js.map +1 -1
  89. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +12 -4
  90. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js.map +1 -1
  91. package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +12 -4
  92. package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js.map +1 -1
  93. package/dist-esm/samples-dev/protectableContainersListSample.js +12 -4
  94. package/dist-esm/samples-dev/protectableContainersListSample.js.map +1 -1
  95. package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +12 -4
  96. package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js.map +1 -1
  97. package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +12 -4
  98. package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js.map +1 -1
  99. package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +17 -8
  100. package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/protectedItemsDeleteSample.js +13 -4
  102. package/dist-esm/samples-dev/protectedItemsDeleteSample.js.map +1 -1
  103. package/dist-esm/samples-dev/protectedItemsGetSample.js +19 -8
  104. package/dist-esm/samples-dev/protectedItemsGetSample.js.map +1 -1
  105. package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +12 -4
  106. package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js.map +1 -1
  107. package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +12 -4
  108. package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js.map +1 -1
  109. package/dist-esm/samples-dev/protectionContainersGetSample.js +12 -4
  110. package/dist-esm/samples-dev/protectionContainersGetSample.js.map +1 -1
  111. package/dist-esm/samples-dev/protectionContainersInquireSample.js +12 -4
  112. package/dist-esm/samples-dev/protectionContainersInquireSample.js.map +1 -1
  113. package/dist-esm/samples-dev/protectionContainersRefreshSample.js +12 -4
  114. package/dist-esm/samples-dev/protectionContainersRefreshSample.js.map +1 -1
  115. package/dist-esm/samples-dev/protectionContainersRegisterSample.js +12 -4
  116. package/dist-esm/samples-dev/protectionContainersRegisterSample.js.map +1 -1
  117. package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +12 -4
  118. package/dist-esm/samples-dev/protectionContainersUnregisterSample.js.map +1 -1
  119. package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +12 -4
  120. package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js.map +1 -1
  121. package/dist-esm/samples-dev/protectionIntentDeleteSample.js +12 -4
  122. package/dist-esm/samples-dev/protectionIntentDeleteSample.js.map +1 -1
  123. package/dist-esm/samples-dev/protectionIntentGetSample.js +12 -4
  124. package/dist-esm/samples-dev/protectionIntentGetSample.js.map +1 -1
  125. package/dist-esm/samples-dev/protectionIntentValidateSample.js +11 -3
  126. package/dist-esm/samples-dev/protectionIntentValidateSample.js.map +1 -1
  127. package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +42 -28
  128. package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js.map +1 -1
  129. package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +12 -4
  130. package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js.map +1 -1
  131. package/dist-esm/samples-dev/protectionPoliciesGetSample.js +17 -8
  132. package/dist-esm/samples-dev/protectionPoliciesGetSample.js.map +1 -1
  133. package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +12 -4
  134. package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js.map +1 -1
  135. package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +12 -4
  136. package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js.map +1 -1
  137. package/dist-esm/samples-dev/recoveryPointsGetSample.js +12 -4
  138. package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +1 -1
  139. package/dist-esm/samples-dev/recoveryPointsListSample.js +12 -4
  140. package/dist-esm/samples-dev/recoveryPointsListSample.js.map +1 -1
  141. package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +12 -4
  142. package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js.map +1 -1
  143. package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +13 -4
  144. package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js.map +1 -1
  145. package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +13 -4
  146. package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js.map +1 -1
  147. package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +13 -4
  148. package/dist-esm/samples-dev/resourceGuardProxyGetSample.js.map +1 -1
  149. package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +13 -6
  150. package/dist-esm/samples-dev/resourceGuardProxyPutSample.js.map +1 -1
  151. package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +13 -4
  152. package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js.map +1 -1
  153. package/dist-esm/samples-dev/restoresTriggerSample.js +37 -24
  154. package/dist-esm/samples-dev/restoresTriggerSample.js.map +1 -1
  155. package/dist-esm/samples-dev/securityPiNsGetSample.js +12 -4
  156. package/dist-esm/samples-dev/securityPiNsGetSample.js.map +1 -1
  157. package/dist-esm/samples-dev/validateOperationResultsGetSample.js +12 -4
  158. package/dist-esm/samples-dev/validateOperationResultsGetSample.js.map +1 -1
  159. package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +12 -4
  160. package/dist-esm/samples-dev/validateOperationStatusesGetSample.js.map +1 -1
  161. package/dist-esm/samples-dev/validateOperationTriggerSample.js +12 -4
  162. package/dist-esm/samples-dev/validateOperationTriggerSample.js.map +1 -1
  163. package/dist-esm/src/models/index.d.ts +317 -136
  164. package/dist-esm/src/models/index.d.ts.map +1 -1
  165. package/dist-esm/src/models/index.js +90 -54
  166. package/dist-esm/src/models/index.js.map +1 -1
  167. package/dist-esm/src/models/mappers.d.ts +8 -0
  168. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  169. package/dist-esm/src/models/mappers.js +209 -2
  170. package/dist-esm/src/models/mappers.js.map +1 -1
  171. package/dist-esm/src/models/parameters.js +1 -1
  172. package/dist-esm/src/operations/deletedProtectionContainers.d.ts +41 -0
  173. package/dist-esm/src/operations/deletedProtectionContainers.d.ts.map +1 -0
  174. package/dist-esm/src/operations/deletedProtectionContainers.js +151 -0
  175. package/dist-esm/src/operations/deletedProtectionContainers.js.map +1 -0
  176. package/dist-esm/src/operations/index.d.ts +1 -0
  177. package/dist-esm/src/operations/index.d.ts.map +1 -1
  178. package/dist-esm/src/operations/index.js +1 -0
  179. package/dist-esm/src/operations/index.js.map +1 -1
  180. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.d.ts +14 -0
  181. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/deletedProtectionContainers.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  185. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  186. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  187. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  188. package/dist-esm/src/recoveryServicesBackupClient.d.ts +2 -1
  189. package/dist-esm/src/recoveryServicesBackupClient.d.ts.map +1 -1
  190. package/dist-esm/src/recoveryServicesBackupClient.js +3 -2
  191. package/dist-esm/src/recoveryServicesBackupClient.js.map +1 -1
  192. package/package.json +3 -2
  193. package/review/arm-recoveryservicesbackup.api.md +116 -22
  194. package/src/models/index.ts +353 -134
  195. package/src/models/mappers.ts +228 -2
  196. package/src/models/parameters.ts +1 -1
  197. package/src/operations/deletedProtectionContainers.ts +198 -0
  198. package/src/operations/index.ts +1 -0
  199. package/src/operationsInterfaces/deletedProtectionContainers.ts +30 -0
  200. package/src/operationsInterfaces/index.ts +1 -0
  201. package/src/recoveryServicesBackupClient.ts +7 -1
  202. package/types/arm-recoveryservicesbackup.d.ts +262 -56
  203. package/types/tsdoc-metadata.json +1 -1
@@ -123,6 +123,7 @@ export type AzureVmWorkloadProtectedItemUnion =
123
123
  | AzureVmWorkloadProtectedItem
124
124
  | AzureVmWorkloadSAPAseDatabaseProtectedItem
125
125
  | AzureVmWorkloadSAPHanaDatabaseProtectedItem
126
+ | AzureVmWorkloadSAPHanaDBInstanceProtectedItem
126
127
  | AzureVmWorkloadSQLDatabaseProtectedItem;
127
128
  export type AzureWorkloadRecoveryPointUnion =
128
129
  | AzureWorkloadRecoveryPoint
@@ -166,6 +167,8 @@ export type AzureVmWorkloadProtectableItemUnion =
166
167
  | AzureVmWorkloadSAPAseSystemProtectableItem
167
168
  | AzureVmWorkloadSAPHanaDatabaseProtectableItem
168
169
  | AzureVmWorkloadSAPHanaSystemProtectableItem
170
+ | AzureVmWorkloadSAPHanaDBInstance
171
+ | AzureVmWorkloadSAPHanaHSR
169
172
  | AzureVmWorkloadSQLAvailabilityGroupProtectableItem
170
173
  | AzureVmWorkloadSQLDatabaseProtectableItem
171
174
  | AzureVmWorkloadSQLInstanceProtectableItem;
@@ -652,14 +655,21 @@ export interface ProtectedItem {
652
655
  | "AzureVmWorkloadProtectedItem"
653
656
  | "AzureVmWorkloadSAPAseDatabase"
654
657
  | "AzureVmWorkloadSAPHanaDatabase"
658
+ | "AzureVmWorkloadSAPHanaDBInstance"
655
659
  | "AzureVmWorkloadSQLDatabase"
656
660
  | "DPMProtectedItem"
657
661
  | "GenericProtectedItem"
658
662
  | "MabFileFolderProtectedItem";
659
- /** Type of backup management for the backed up item. */
660
- backupManagementType?: BackupManagementType;
661
- /** Type of workload this item represents. */
662
- workloadType?: DataSourceType;
663
+ /**
664
+ * Type of backup management for the backed up item.
665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
+ */
667
+ readonly backupManagementType?: BackupManagementType;
668
+ /**
669
+ * Type of workload this item represents.
670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
+ */
672
+ readonly workloadType?: DataSourceType;
663
673
  /** Unique name of container */
664
674
  containerName?: string;
665
675
  /** ARM ID of the resource to be backed up. */
@@ -688,6 +698,8 @@ export interface ProtectedItem {
688
698
  isArchiveEnabled?: boolean;
689
699
  /** Name of the policy used for protection */
690
700
  policyName?: string;
701
+ /** Soft delete retention period in days */
702
+ softDeleteRetentionPeriod?: number;
691
703
  }
692
704
 
693
705
  /** Base class for backup copies. Workload-specific backup copies are derived from this class. */
@@ -961,6 +973,8 @@ export interface WorkloadProtectableItem {
961
973
  | "SAPAseSystem"
962
974
  | "SAPHanaDatabase"
963
975
  | "SAPHanaSystem"
976
+ | "SAPHanaDBInstance"
977
+ | "SAPHanaHSR"
964
978
  | "SQLAvailabilityGroupContainer"
965
979
  | "SQLDataBase"
966
980
  | "SQLInstance";
@@ -1083,6 +1097,14 @@ export interface AzureFileshareProtectedItemExtendedInfo {
1083
1097
  readonly resourceStateSyncTime?: Date;
1084
1098
  }
1085
1099
 
1100
+ /** Properties of Recovery Point */
1101
+ export interface RecoveryPointProperties {
1102
+ /** Expiry time of Recovery Point in UTC. */
1103
+ expiryTime?: string;
1104
+ /** Rule name tagged on Recovery Point that governs life cycle */
1105
+ ruleName?: string;
1106
+ }
1107
+
1086
1108
  /** Restore file specs like file path, type and target folder path info. */
1087
1109
  export interface RestoreFileSpecs {
1088
1110
  /** Source File/Folder path */
@@ -1122,6 +1144,12 @@ export interface SubProtectionPolicy {
1122
1144
  schedulePolicy?: SchedulePolicyUnion;
1123
1145
  /** Retention policy with the details on backup copy retention ranges. */
1124
1146
  retentionPolicy?: RetentionPolicyUnion;
1147
+ /**
1148
+ * Tiering policy to automatically move RPs to another tier.
1149
+ * Key is Target Tier, defined in RecoveryPointTierType enum.
1150
+ * Tiering policy specifies the criteria to move RP to the target tier.
1151
+ */
1152
+ tieringPolicy?: { [propertyName: string]: TieringPolicy };
1125
1153
  }
1126
1154
 
1127
1155
  /** Base class for backup schedule. */
@@ -1140,10 +1168,40 @@ export interface RetentionPolicy {
1140
1168
  retentionPolicyType: "LongTermRetentionPolicy" | "SimpleRetentionPolicy";
1141
1169
  }
1142
1170
 
1171
+ /**
1172
+ * Tiering Policy for a target tier.
1173
+ * If the policy is not specified for a given target tier, service retains the existing configured tiering policy for that tier
1174
+ */
1175
+ export interface TieringPolicy {
1176
+ /**
1177
+ * Tiering Mode to control automatic tiering of recovery points. Supported values are:
1178
+ * 1. TierRecommended: Tier all recovery points recommended to be tiered
1179
+ * 2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below.
1180
+ * 3. DoNotTier: Do not tier any recovery points
1181
+ */
1182
+ tieringMode?: TieringMode;
1183
+ /**
1184
+ * Number of days/weeks/months/years to retain backups in current tier before tiering.
1185
+ * Used only if TieringMode is set to TierAfter
1186
+ */
1187
+ duration?: number;
1188
+ /**
1189
+ * Retention duration type: days/weeks/months/years
1190
+ * Used only if TieringMode is set to TierAfter
1191
+ */
1192
+ durationType?: RetentionDurationType;
1193
+ }
1194
+
1143
1195
  /** Additional information on Azure IaaS VM specific backup item. */
1144
1196
  export interface AzureIaaSVMProtectedItemExtendedInfo {
1145
- /** The oldest backup copy available for this backup item. */
1197
+ /** The oldest backup copy available for this backup item across all tiers. */
1146
1198
  oldestRecoveryPoint?: Date;
1199
+ /** The oldest backup copy available for this backup item in vault tier */
1200
+ oldestRecoveryPointInVault?: Date;
1201
+ /** The oldest backup copy available for this backup item in archive tier */
1202
+ oldestRecoveryPointInArchive?: Date;
1203
+ /** The latest backup copy available for this backup item in archive tier */
1204
+ newestRecoveryPointInArchive?: Date;
1147
1205
  /** Number of backup copies available for this backup item. */
1148
1206
  recoveryPointCount?: number;
1149
1207
  /** Specifies if backup policy associated with the backup item is inconsistent. */
@@ -1273,8 +1331,14 @@ export interface AzureStorageJobTaskDetails {
1273
1331
 
1274
1332
  /** Additional information on Azure Workload for SQL specific backup item. */
1275
1333
  export interface AzureVmWorkloadProtectedItemExtendedInfo {
1276
- /** The oldest backup copy available for this backup item. */
1334
+ /** The oldest backup copy available for this backup item across all tiers. */
1277
1335
  oldestRecoveryPoint?: Date;
1336
+ /** The oldest backup copy available for this backup item in vault tier */
1337
+ oldestRecoveryPointInVault?: Date;
1338
+ /** The oldest backup copy available for this backup item in archive tier */
1339
+ oldestRecoveryPointInArchive?: Date;
1340
+ /** The latest backup copy available for this backup item in archive tier */
1341
+ newestRecoveryPointInArchive?: Date;
1278
1342
  /** Number of backup copies available for this backup item. */
1279
1343
  recoveryPointCount?: number;
1280
1344
  /** Indicates consistency of policy object and policy applied to this backup item. */
@@ -2324,26 +2388,41 @@ export interface AzureIaaSVMProtectedItem extends ProtectedItem {
2324
2388
  | "AzureIaaSVMProtectedItem"
2325
2389
  | "Microsoft.ClassicCompute/virtualMachines"
2326
2390
  | "Microsoft.Compute/virtualMachines";
2327
- /** Friendly name of the VM represented by this backup item. */
2328
- friendlyName?: string;
2329
- /** Fully qualified ARM ID of the virtual machine represented by this item. */
2330
- virtualMachineId?: string;
2391
+ /**
2392
+ * Friendly name of the VM represented by this backup item.
2393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2394
+ */
2395
+ readonly friendlyName?: string;
2396
+ /**
2397
+ * Fully qualified ARM ID of the virtual machine represented by this item.
2398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2399
+ */
2400
+ readonly virtualMachineId?: string;
2331
2401
  /** Backup status of this backup item. */
2332
2402
  protectionStatus?: string;
2333
2403
  /** Backup state of this backup item. */
2334
2404
  protectionState?: ProtectionState;
2335
- /** Health status of protected item. */
2336
- healthStatus?: HealthStatus;
2405
+ /**
2406
+ * Health status of protected item.
2407
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2408
+ */
2409
+ readonly healthStatus?: HealthStatus;
2337
2410
  /** Health details on this backup item. */
2338
2411
  healthDetails?: AzureIaaSVMHealthDetails[];
2339
2412
  /** Health details of different KPIs */
2340
2413
  kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
2341
2414
  /** Last backup operation status. */
2342
2415
  lastBackupStatus?: string;
2343
- /** Timestamp of the last backup operation on this backup item. */
2344
- lastBackupTime?: Date;
2345
- /** Data ID of the protected item. */
2346
- protectedItemDataId?: string;
2416
+ /**
2417
+ * Timestamp of the last backup operation on this backup item.
2418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2419
+ */
2420
+ readonly lastBackupTime?: Date;
2421
+ /**
2422
+ * Data ID of the protected item.
2423
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2424
+ */
2425
+ readonly protectedItemDataId?: string;
2347
2426
  /** Additional information for this backup item. */
2348
2427
  extendedInfo?: AzureIaaSVMProtectedItemExtendedInfo;
2349
2428
  /** Extended Properties for Azure IaasVM Backup. */
@@ -2369,17 +2448,24 @@ export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
2369
2448
  | "AzureVmWorkloadProtectedItem"
2370
2449
  | "AzureVmWorkloadSAPAseDatabase"
2371
2450
  | "AzureVmWorkloadSAPHanaDatabase"
2451
+ | "AzureVmWorkloadSAPHanaDBInstance"
2372
2452
  | "AzureVmWorkloadSQLDatabase";
2373
- /** Friendly name of the DB represented by this backup item. */
2374
- friendlyName?: string;
2453
+ /**
2454
+ * Friendly name of the DB represented by this backup item.
2455
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2456
+ */
2457
+ readonly friendlyName?: string;
2375
2458
  /** Host/Cluster Name for instance or AG */
2376
2459
  serverName?: string;
2377
2460
  /** Parent name of the DB such as Instance or Availability Group. */
2378
2461
  parentName?: string;
2379
2462
  /** Parent type of protected item, example: for a DB, standalone server or distributed */
2380
2463
  parentType?: string;
2381
- /** Backup status of this backup item. */
2382
- protectionStatus?: string;
2464
+ /**
2465
+ * Backup status of this backup item.
2466
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2467
+ */
2468
+ readonly protectionStatus?: string;
2383
2469
  /** Backup state of this backup item. */
2384
2470
  protectionState?: ProtectionState;
2385
2471
  /** Last backup operation status. Possible values: Healthy, Unhealthy. */
@@ -2462,6 +2548,8 @@ export interface AzureFileShareRecoveryPoint extends RecoveryPoint {
2462
2548
  fileShareSnapshotUri?: string;
2463
2549
  /** Contains recovery point size */
2464
2550
  recoveryPointSizeInGB?: number;
2551
+ /** Properties of Recovery Point */
2552
+ recoveryPointProperties?: RecoveryPointProperties;
2465
2553
  }
2466
2554
 
2467
2555
  /** Workload specific recovery point, specifically encapsulates full/diff recovery point */
@@ -2484,6 +2572,8 @@ export interface AzureWorkloadRecoveryPoint extends RecoveryPoint {
2484
2572
  recoveryPointMoveReadinessInfo?: {
2485
2573
  [propertyName: string]: RecoveryPointMoveReadinessInfo;
2486
2574
  };
2575
+ /** Properties of Recovery Point */
2576
+ recoveryPointProperties?: RecoveryPointProperties;
2487
2577
  }
2488
2578
 
2489
2579
  /** Generic backup copy. */
@@ -2498,6 +2588,8 @@ export interface GenericRecoveryPoint extends RecoveryPoint {
2498
2588
  recoveryPointTime?: Date;
2499
2589
  /** Additional information associated with this backup copy. */
2500
2590
  recoveryPointAdditionalInfo?: string;
2591
+ /** Properties of Recovery Point */
2592
+ recoveryPointProperties?: RecoveryPointProperties;
2501
2593
  }
2502
2594
 
2503
2595
  /** IaaS VM workload specific backup copy. */
@@ -2536,6 +2628,8 @@ export interface IaasVMRecoveryPoint extends RecoveryPoint {
2536
2628
  recoveryPointMoveReadinessInfo?: {
2537
2629
  [propertyName: string]: RecoveryPointMoveReadinessInfo;
2538
2630
  };
2631
+ /** Properties of Recovery Point */
2632
+ recoveryPointProperties?: RecoveryPointProperties;
2539
2633
  }
2540
2634
 
2541
2635
  /** AzureFileShare Restore Request */
@@ -2689,11 +2783,16 @@ export interface AzureIaaSVMProtectionPolicy extends ProtectionPolicy {
2689
2783
  schedulePolicy?: SchedulePolicyUnion;
2690
2784
  /** Retention policy with the details on backup copy retention ranges. */
2691
2785
  retentionPolicy?: RetentionPolicyUnion;
2786
+ /**
2787
+ * Tiering policy to automatically move RPs to another tier
2788
+ * Key is Target Tier, defined in RecoveryPointTierType enum.
2789
+ * Tiering policy specifies the criteria to move RP to the target tier.
2790
+ */
2791
+ tieringPolicy?: { [propertyName: string]: TieringPolicy };
2692
2792
  /** Instant RP retention policy range in days */
2693
2793
  instantRpRetentionRangeInDays?: number;
2694
2794
  /** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
2695
2795
  timeZone?: string;
2696
- /** Type of backup policy type */
2697
2796
  policyType?: IaasvmPolicyType;
2698
2797
  }
2699
2798
 
@@ -3141,6 +3240,8 @@ export interface AzureVmWorkloadProtectableItem
3141
3240
  | "SAPAseSystem"
3142
3241
  | "SAPHanaDatabase"
3143
3242
  | "SAPHanaSystem"
3243
+ | "SAPHanaDBInstance"
3244
+ | "SAPHanaHSR"
3144
3245
  | "SQLAvailabilityGroupContainer"
3145
3246
  | "SQLDataBase"
3146
3247
  | "SQLInstance";
@@ -3275,6 +3376,13 @@ export interface AzureVmWorkloadSAPHanaDatabaseProtectedItem
3275
3376
  protectedItemType: "AzureVmWorkloadSAPHanaDatabase";
3276
3377
  }
3277
3378
 
3379
+ /** Azure VM workload-specific protected item representing SAP HANA DBInstance. */
3380
+ export interface AzureVmWorkloadSAPHanaDBInstanceProtectedItem
3381
+ extends AzureVmWorkloadProtectedItem {
3382
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3383
+ protectedItemType: "AzureVmWorkloadSAPHanaDBInstance";
3384
+ }
3385
+
3278
3386
  /** Azure VM workload-specific protected item representing SQL Database. */
3279
3387
  export interface AzureVmWorkloadSQLDatabaseProtectedItem
3280
3388
  extends AzureVmWorkloadProtectedItem {
@@ -3479,6 +3587,20 @@ export interface AzureVmWorkloadSAPHanaSystemProtectableItem
3479
3587
  protectableItemType: "SAPHanaSystem";
3480
3588
  }
3481
3589
 
3590
+ /** Azure VM workload-specific protectable item representing SAP HANA Dbinstance. */
3591
+ export interface AzureVmWorkloadSAPHanaDBInstance
3592
+ extends AzureVmWorkloadProtectableItem {
3593
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3594
+ protectableItemType: "SAPHanaDBInstance";
3595
+ }
3596
+
3597
+ /** Azure VM workload-specific protectable item representing SAP HANA Dbinstance. */
3598
+ export interface AzureVmWorkloadSAPHanaHSR
3599
+ extends AzureVmWorkloadProtectableItem {
3600
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3601
+ protectableItemType: "SAPHanaHSR";
3602
+ }
3603
+
3482
3604
  /** Azure VM workload-specific protectable item representing SQL Availability Group. */
3483
3605
  export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem
3484
3606
  extends AzureVmWorkloadProtectableItem {
@@ -3704,7 +3826,9 @@ export enum KnownDataSourceType {
3704
3826
  /** SAPHanaDatabase */
3705
3827
  SAPHanaDatabase = "SAPHanaDatabase",
3706
3828
  /** SAPAseDatabase */
3707
- SAPAseDatabase = "SAPAseDatabase"
3829
+ SAPAseDatabase = "SAPAseDatabase",
3830
+ /** SAPHanaDBInstance */
3831
+ SAPHanaDBInstance = "SAPHanaDBInstance"
3708
3832
  }
3709
3833
 
3710
3834
  /**
@@ -3726,7 +3850,8 @@ export enum KnownDataSourceType {
3726
3850
  * **SQLDataBase** \
3727
3851
  * **AzureFileShare** \
3728
3852
  * **SAPHanaDatabase** \
3729
- * **SAPAseDatabase**
3853
+ * **SAPAseDatabase** \
3854
+ * **SAPHanaDBInstance**
3730
3855
  */
3731
3856
  export type DataSourceType = string;
3732
3857
 
@@ -4180,72 +4305,6 @@ export enum KnownBackupEngineType {
4180
4305
  */
4181
4306
  export type BackupEngineType = string;
4182
4307
 
4183
- /** Known values of {@link ContainerType} that the service accepts. */
4184
- export enum KnownContainerType {
4185
- /** Invalid */
4186
- Invalid = "Invalid",
4187
- /** Unknown */
4188
- Unknown = "Unknown",
4189
- /** IaasVMContainer */
4190
- IaasVMContainer = "IaasVMContainer",
4191
- /** IaasVMServiceContainer */
4192
- IaasVMServiceContainer = "IaasVMServiceContainer",
4193
- /** DPMContainer */
4194
- DPMContainer = "DPMContainer",
4195
- /** AzureBackupServerContainer */
4196
- AzureBackupServerContainer = "AzureBackupServerContainer",
4197
- /** MABContainer */
4198
- MABContainer = "MABContainer",
4199
- /** Cluster */
4200
- Cluster = "Cluster",
4201
- /** AzureSqlContainer */
4202
- AzureSqlContainer = "AzureSqlContainer",
4203
- /** Windows */
4204
- Windows = "Windows",
4205
- /** VCenter */
4206
- VCenter = "VCenter",
4207
- /** VMAppContainer */
4208
- VMAppContainer = "VMAppContainer",
4209
- /** SqlagWorkLoadContainer */
4210
- SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
4211
- /** StorageContainer */
4212
- StorageContainer = "StorageContainer",
4213
- /** GenericContainer */
4214
- GenericContainer = "GenericContainer",
4215
- /** MicrosoftClassicComputeVirtualMachines */
4216
- MicrosoftClassicComputeVirtualMachines = "Microsoft.ClassicCompute/virtualMachines",
4217
- /** MicrosoftComputeVirtualMachines */
4218
- MicrosoftComputeVirtualMachines = "Microsoft.Compute/virtualMachines",
4219
- /** AzureWorkloadContainer */
4220
- AzureWorkloadContainer = "AzureWorkloadContainer"
4221
- }
4222
-
4223
- /**
4224
- * Defines values for ContainerType. \
4225
- * {@link KnownContainerType} can be used interchangeably with ContainerType,
4226
- * this enum contains the known values that the service supports.
4227
- * ### Known values supported by the service
4228
- * **Invalid** \
4229
- * **Unknown** \
4230
- * **IaasVMContainer** \
4231
- * **IaasVMServiceContainer** \
4232
- * **DPMContainer** \
4233
- * **AzureBackupServerContainer** \
4234
- * **MABContainer** \
4235
- * **Cluster** \
4236
- * **AzureSqlContainer** \
4237
- * **Windows** \
4238
- * **VCenter** \
4239
- * **VMAppContainer** \
4240
- * **SQLAGWorkLoadContainer** \
4241
- * **StorageContainer** \
4242
- * **GenericContainer** \
4243
- * **Microsoft.ClassicCompute\/virtualMachines** \
4244
- * **Microsoft.Compute\/virtualMachines** \
4245
- * **AzureWorkloadContainer**
4246
- */
4247
- export type ContainerType = string;
4248
-
4249
4308
  /** Known values of {@link ProtectionState} that the service accepts. */
4250
4309
  export enum KnownProtectionState {
4251
4310
  /** Invalid */
@@ -4259,7 +4318,9 @@ export enum KnownProtectionState {
4259
4318
  /** ProtectionStopped */
4260
4319
  ProtectionStopped = "ProtectionStopped",
4261
4320
  /** ProtectionPaused */
4262
- ProtectionPaused = "ProtectionPaused"
4321
+ ProtectionPaused = "ProtectionPaused",
4322
+ /** BackupsSuspended */
4323
+ BackupsSuspended = "BackupsSuspended"
4263
4324
  }
4264
4325
 
4265
4326
  /**
@@ -4272,7 +4333,8 @@ export enum KnownProtectionState {
4272
4333
  * **Protected** \
4273
4334
  * **ProtectionError** \
4274
4335
  * **ProtectionStopped** \
4275
- * **ProtectionPaused**
4336
+ * **ProtectionPaused** \
4337
+ * **BackupsSuspended**
4276
4338
  */
4277
4339
  export type ProtectionState = string;
4278
4340
 
@@ -4412,7 +4474,9 @@ export enum KnownWorkloadType {
4412
4474
  /** SAPHanaDatabase */
4413
4475
  SAPHanaDatabase = "SAPHanaDatabase",
4414
4476
  /** SAPAseDatabase */
4415
- SAPAseDatabase = "SAPAseDatabase"
4477
+ SAPAseDatabase = "SAPAseDatabase",
4478
+ /** SAPHanaDBInstance */
4479
+ SAPHanaDBInstance = "SAPHanaDBInstance"
4416
4480
  }
4417
4481
 
4418
4482
  /**
@@ -4434,7 +4498,8 @@ export enum KnownWorkloadType {
4434
4498
  * **SQLDataBase** \
4435
4499
  * **AzureFileShare** \
4436
4500
  * **SAPHanaDatabase** \
4437
- * **SAPAseDatabase**
4501
+ * **SAPAseDatabase** \
4502
+ * **SAPHanaDBInstance**
4438
4503
  */
4439
4504
  export type WorkloadType = string;
4440
4505
 
@@ -4451,7 +4516,11 @@ export enum KnownPolicyType {
4451
4516
  /** CopyOnlyFull */
4452
4517
  CopyOnlyFull = "CopyOnlyFull",
4453
4518
  /** Incremental */
4454
- Incremental = "Incremental"
4519
+ Incremental = "Incremental",
4520
+ /** SnapshotFull */
4521
+ SnapshotFull = "SnapshotFull",
4522
+ /** SnapshotCopyOnlyFull */
4523
+ SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"
4455
4524
  }
4456
4525
 
4457
4526
  /**
@@ -4464,10 +4533,63 @@ export enum KnownPolicyType {
4464
4533
  * **Differential** \
4465
4534
  * **Log** \
4466
4535
  * **CopyOnlyFull** \
4467
- * **Incremental**
4536
+ * **Incremental** \
4537
+ * **SnapshotFull** \
4538
+ * **SnapshotCopyOnlyFull**
4468
4539
  */
4469
4540
  export type PolicyType = string;
4470
4541
 
4542
+ /** Known values of {@link TieringMode} that the service accepts. */
4543
+ export enum KnownTieringMode {
4544
+ /** Invalid */
4545
+ Invalid = "Invalid",
4546
+ /** TierRecommended */
4547
+ TierRecommended = "TierRecommended",
4548
+ /** TierAfter */
4549
+ TierAfter = "TierAfter",
4550
+ /** DoNotTier */
4551
+ DoNotTier = "DoNotTier"
4552
+ }
4553
+
4554
+ /**
4555
+ * Defines values for TieringMode. \
4556
+ * {@link KnownTieringMode} can be used interchangeably with TieringMode,
4557
+ * this enum contains the known values that the service supports.
4558
+ * ### Known values supported by the service
4559
+ * **Invalid** \
4560
+ * **TierRecommended** \
4561
+ * **TierAfter** \
4562
+ * **DoNotTier**
4563
+ */
4564
+ export type TieringMode = string;
4565
+
4566
+ /** Known values of {@link RetentionDurationType} that the service accepts. */
4567
+ export enum KnownRetentionDurationType {
4568
+ /** Invalid */
4569
+ Invalid = "Invalid",
4570
+ /** Days */
4571
+ Days = "Days",
4572
+ /** Weeks */
4573
+ Weeks = "Weeks",
4574
+ /** Months */
4575
+ Months = "Months",
4576
+ /** Years */
4577
+ Years = "Years"
4578
+ }
4579
+
4580
+ /**
4581
+ * Defines values for RetentionDurationType. \
4582
+ * {@link KnownRetentionDurationType} can be used interchangeably with RetentionDurationType,
4583
+ * this enum contains the known values that the service supports.
4584
+ * ### Known values supported by the service
4585
+ * **Invalid** \
4586
+ * **Days** \
4587
+ * **Weeks** \
4588
+ * **Months** \
4589
+ * **Years**
4590
+ */
4591
+ export type RetentionDurationType = string;
4592
+
4471
4593
  /** Known values of {@link HealthStatus} that the service accepts. */
4472
4594
  export enum KnownHealthStatus {
4473
4595
  /** Passed */
@@ -4526,7 +4648,9 @@ export enum KnownProtectedItemState {
4526
4648
  /** ProtectionStopped */
4527
4649
  ProtectionStopped = "ProtectionStopped",
4528
4650
  /** ProtectionPaused */
4529
- ProtectionPaused = "ProtectionPaused"
4651
+ ProtectionPaused = "ProtectionPaused",
4652
+ /** BackupsSuspended */
4653
+ BackupsSuspended = "BackupsSuspended"
4530
4654
  }
4531
4655
 
4532
4656
  /**
@@ -4539,7 +4663,8 @@ export enum KnownProtectedItemState {
4539
4663
  * **Protected** \
4540
4664
  * **ProtectionError** \
4541
4665
  * **ProtectionStopped** \
4542
- * **ProtectionPaused**
4666
+ * **ProtectionPaused** \
4667
+ * **BackupsSuspended**
4543
4668
  */
4544
4669
  export type ProtectedItemState = string;
4545
4670
 
@@ -4605,7 +4730,11 @@ export enum KnownRestorePointType {
4605
4730
  /** Differential */
4606
4731
  Differential = "Differential",
4607
4732
  /** Incremental */
4608
- Incremental = "Incremental"
4733
+ Incremental = "Incremental",
4734
+ /** SnapshotFull */
4735
+ SnapshotFull = "SnapshotFull",
4736
+ /** SnapshotCopyOnlyFull */
4737
+ SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"
4609
4738
  }
4610
4739
 
4611
4740
  /**
@@ -4617,7 +4746,9 @@ export enum KnownRestorePointType {
4617
4746
  * **Full** \
4618
4747
  * **Log** \
4619
4748
  * **Differential** \
4620
- * **Incremental**
4749
+ * **Incremental** \
4750
+ * **SnapshotFull** \
4751
+ * **SnapshotCopyOnlyFull**
4621
4752
  */
4622
4753
  export type RestorePointType = string;
4623
4754
 
@@ -4699,7 +4830,11 @@ export enum KnownRestorePointQueryType {
4699
4830
  /** All */
4700
4831
  All = "All",
4701
4832
  /** Incremental */
4702
- Incremental = "Incremental"
4833
+ Incremental = "Incremental",
4834
+ /** SnapshotFull */
4835
+ SnapshotFull = "SnapshotFull",
4836
+ /** SnapshotCopyOnlyFull */
4837
+ SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"
4703
4838
  }
4704
4839
 
4705
4840
  /**
@@ -4713,37 +4848,12 @@ export enum KnownRestorePointQueryType {
4713
4848
  * **Differential** \
4714
4849
  * **FullAndDifferential** \
4715
4850
  * **All** \
4716
- * **Incremental**
4851
+ * **Incremental** \
4852
+ * **SnapshotFull** \
4853
+ * **SnapshotCopyOnlyFull**
4717
4854
  */
4718
4855
  export type RestorePointQueryType = string;
4719
4856
 
4720
- /** Known values of {@link RetentionDurationType} that the service accepts. */
4721
- export enum KnownRetentionDurationType {
4722
- /** Invalid */
4723
- Invalid = "Invalid",
4724
- /** Days */
4725
- Days = "Days",
4726
- /** Weeks */
4727
- Weeks = "Weeks",
4728
- /** Months */
4729
- Months = "Months",
4730
- /** Years */
4731
- Years = "Years"
4732
- }
4733
-
4734
- /**
4735
- * Defines values for RetentionDurationType. \
4736
- * {@link KnownRetentionDurationType} can be used interchangeably with RetentionDurationType,
4737
- * this enum contains the known values that the service supports.
4738
- * ### Known values supported by the service
4739
- * **Invalid** \
4740
- * **Days** \
4741
- * **Weeks** \
4742
- * **Months** \
4743
- * **Years**
4744
- */
4745
- export type RetentionDurationType = string;
4746
-
4747
4857
  /** Known values of {@link JobStatus} that the service accepts. */
4748
4858
  export enum KnownJobStatus {
4749
4859
  /** Invalid */
@@ -5042,7 +5152,11 @@ export enum KnownBackupType {
5042
5152
  /** CopyOnlyFull */
5043
5153
  CopyOnlyFull = "CopyOnlyFull",
5044
5154
  /** Incremental */
5045
- Incremental = "Incremental"
5155
+ Incremental = "Incremental",
5156
+ /** SnapshotFull */
5157
+ SnapshotFull = "SnapshotFull",
5158
+ /** SnapshotCopyOnlyFull */
5159
+ SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"
5046
5160
  }
5047
5161
 
5048
5162
  /**
@@ -5055,7 +5169,9 @@ export enum KnownBackupType {
5055
5169
  * **Differential** \
5056
5170
  * **Log** \
5057
5171
  * **CopyOnlyFull** \
5058
- * **Incremental**
5172
+ * **Incremental** \
5173
+ * **SnapshotFull** \
5174
+ * **SnapshotCopyOnlyFull**
5059
5175
  */
5060
5176
  export type BackupType = string;
5061
5177
 
@@ -5074,7 +5190,9 @@ export enum KnownWorkloadItemType {
5074
5190
  /** SAPAseSystem */
5075
5191
  SAPAseSystem = "SAPAseSystem",
5076
5192
  /** SAPAseDatabase */
5077
- SAPAseDatabase = "SAPAseDatabase"
5193
+ SAPAseDatabase = "SAPAseDatabase",
5194
+ /** SAPHanaDBInstance */
5195
+ SAPHanaDBInstance = "SAPHanaDBInstance"
5078
5196
  }
5079
5197
 
5080
5198
  /**
@@ -5088,7 +5206,8 @@ export enum KnownWorkloadItemType {
5088
5206
  * **SAPHanaSystem** \
5089
5207
  * **SAPHanaDatabase** \
5090
5208
  * **SAPAseSystem** \
5091
- * **SAPAseDatabase**
5209
+ * **SAPAseDatabase** \
5210
+ * **SAPHanaDBInstance**
5092
5211
  */
5093
5212
  export type WorkloadItemType = string;
5094
5213
 
@@ -5134,6 +5253,66 @@ export enum KnownIntentItemType {
5134
5253
  */
5135
5254
  export type IntentItemType = string;
5136
5255
 
5256
+ /** Known values of {@link ContainerType} that the service accepts. */
5257
+ export enum KnownContainerType {
5258
+ /** Invalid */
5259
+ Invalid = "Invalid",
5260
+ /** Unknown */
5261
+ Unknown = "Unknown",
5262
+ /** IaasVMContainer */
5263
+ IaasVMContainer = "IaasVMContainer",
5264
+ /** IaasVMServiceContainer */
5265
+ IaasVMServiceContainer = "IaasVMServiceContainer",
5266
+ /** DPMContainer */
5267
+ DPMContainer = "DPMContainer",
5268
+ /** AzureBackupServerContainer */
5269
+ AzureBackupServerContainer = "AzureBackupServerContainer",
5270
+ /** MABContainer */
5271
+ MABContainer = "MABContainer",
5272
+ /** Cluster */
5273
+ Cluster = "Cluster",
5274
+ /** AzureSqlContainer */
5275
+ AzureSqlContainer = "AzureSqlContainer",
5276
+ /** Windows */
5277
+ Windows = "Windows",
5278
+ /** VCenter */
5279
+ VCenter = "VCenter",
5280
+ /** VMAppContainer */
5281
+ VMAppContainer = "VMAppContainer",
5282
+ /** SqlagWorkLoadContainer */
5283
+ SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
5284
+ /** StorageContainer */
5285
+ StorageContainer = "StorageContainer",
5286
+ /** GenericContainer */
5287
+ GenericContainer = "GenericContainer",
5288
+ /** HanaHSRContainer */
5289
+ HanaHSRContainer = "HanaHSRContainer"
5290
+ }
5291
+
5292
+ /**
5293
+ * Defines values for ContainerType. \
5294
+ * {@link KnownContainerType} can be used interchangeably with ContainerType,
5295
+ * this enum contains the known values that the service supports.
5296
+ * ### Known values supported by the service
5297
+ * **Invalid** \
5298
+ * **Unknown** \
5299
+ * **IaasVMContainer** \
5300
+ * **IaasVMServiceContainer** \
5301
+ * **DPMContainer** \
5302
+ * **AzureBackupServerContainer** \
5303
+ * **MABContainer** \
5304
+ * **Cluster** \
5305
+ * **AzureSqlContainer** \
5306
+ * **Windows** \
5307
+ * **VCenter** \
5308
+ * **VMAppContainer** \
5309
+ * **SQLAGWorkLoadContainer** \
5310
+ * **StorageContainer** \
5311
+ * **GenericContainer** \
5312
+ * **HanaHSRContainer**
5313
+ */
5314
+ export type ContainerType = string;
5315
+
5137
5316
  /** Known values of {@link BackupItemType} that the service accepts. */
5138
5317
  export enum KnownBackupItemType {
5139
5318
  /** Invalid */
@@ -5165,7 +5344,9 @@ export enum KnownBackupItemType {
5165
5344
  /** SAPHanaDatabase */
5166
5345
  SAPHanaDatabase = "SAPHanaDatabase",
5167
5346
  /** SAPAseDatabase */
5168
- SAPAseDatabase = "SAPAseDatabase"
5347
+ SAPAseDatabase = "SAPAseDatabase",
5348
+ /** SAPHanaDBInstance */
5349
+ SAPHanaDBInstance = "SAPHanaDBInstance"
5169
5350
  }
5170
5351
 
5171
5352
  /**
@@ -5187,7 +5368,8 @@ export enum KnownBackupItemType {
5187
5368
  * **SQLDataBase** \
5188
5369
  * **AzureFileShare** \
5189
5370
  * **SAPHanaDatabase** \
5190
- * **SAPAseDatabase**
5371
+ * **SAPAseDatabase** \
5372
+ * **SAPHanaDBInstance**
5191
5373
  */
5192
5374
  export type BackupItemType = string;
5193
5375
 
@@ -5257,6 +5439,26 @@ export type HttpStatusCode =
5257
5439
  | "ServiceUnavailable"
5258
5440
  | "GatewayTimeout"
5259
5441
  | "HttpVersionNotSupported";
5442
+ /** Defines values for ProtectableContainerType. */
5443
+ export type ProtectableContainerType =
5444
+ | "Invalid"
5445
+ | "Unknown"
5446
+ | "IaasVMContainer"
5447
+ | "IaasVMServiceContainer"
5448
+ | "DPMContainer"
5449
+ | "AzureBackupServerContainer"
5450
+ | "MABContainer"
5451
+ | "Cluster"
5452
+ | "AzureSqlContainer"
5453
+ | "Windows"
5454
+ | "VCenter"
5455
+ | "VMAppContainer"
5456
+ | "SQLAGWorkLoadContainer"
5457
+ | "StorageContainer"
5458
+ | "GenericContainer"
5459
+ | "Microsoft.ClassicCompute/virtualMachines"
5460
+ | "Microsoft.Compute/virtualMachines"
5461
+ | "AzureWorkloadContainer";
5260
5462
  /** Defines values for RecoveryPointTierType. */
5261
5463
  export type RecoveryPointTierType =
5262
5464
  | "Invalid"
@@ -5902,6 +6104,23 @@ export interface BackupProtectionContainersListNextOptionalParams
5902
6104
  /** Contains response data for the listNext operation. */
5903
6105
  export type BackupProtectionContainersListNextResponse = ProtectionContainerResourceList;
5904
6106
 
6107
+ /** Optional parameters. */
6108
+ export interface DeletedProtectionContainersListOptionalParams
6109
+ extends coreClient.OperationOptions {
6110
+ /** OData filter options. */
6111
+ filter?: string;
6112
+ }
6113
+
6114
+ /** Contains response data for the list operation. */
6115
+ export type DeletedProtectionContainersListResponse = ProtectionContainerResourceList;
6116
+
6117
+ /** Optional parameters. */
6118
+ export interface DeletedProtectionContainersListNextOptionalParams
6119
+ extends coreClient.OperationOptions {}
6120
+
6121
+ /** Contains response data for the listNext operation. */
6122
+ export type DeletedProtectionContainersListNextResponse = ProtectionContainerResourceList;
6123
+
5905
6124
  /** Optional parameters. */
5906
6125
  export interface SecurityPINsGetOptionalParams
5907
6126
  extends coreClient.OperationOptions {