@azure/arm-postgresql-flexible 7.1.1-alpha.20230502.1 → 8.0.0-beta.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 (183) hide show
  1. package/CHANGELOG.md +141 -8
  2. package/README.md +1 -1
  3. package/dist/index.js +4729 -2620
  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/administratorsCreateSample.js +1 -1
  8. package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/administratorsListByServerSample.js +1 -1
  11. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/backupsListByServerSample.js +1 -1
  13. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.d.ts +2 -0
  14. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +43 -0
  16. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -0
  17. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  18. package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
  19. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  20. package/dist-esm/samples-dev/configurationsListByServerSample.js +1 -1
  21. package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
  22. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  26. package/dist-esm/samples-dev/databasesListByServerSample.js +1 -1
  27. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  30. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +1 -1
  31. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +43 -0
  34. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js.map +1 -0
  35. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +42 -0
  38. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js.map +1 -0
  39. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
  40. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +1 -1
  41. package/dist-esm/samples-dev/logFilesListByServerSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/logFilesListByServerSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/logFilesListByServerSample.js +60 -0
  44. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -0
  45. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +40 -0
  48. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js.map +1 -0
  49. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.d.ts +2 -0
  50. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +60 -0
  52. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -0
  53. package/dist-esm/samples-dev/migrationsCreateSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/migrationsCreateSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/migrationsCreateSample.js +45 -0
  56. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -0
  57. package/dist-esm/samples-dev/migrationsDeleteSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/migrationsDeleteSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/migrationsDeleteSample.js +40 -0
  60. package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -0
  61. package/dist-esm/samples-dev/migrationsGetSample.d.ts +2 -0
  62. package/dist-esm/samples-dev/migrationsGetSample.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/migrationsGetSample.js +40 -0
  64. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -0
  65. package/dist-esm/samples-dev/migrationsListByTargetServerSample.d.ts +2 -0
  66. package/dist-esm/samples-dev/migrationsListByTargetServerSample.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +64 -0
  68. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -0
  69. package/dist-esm/samples-dev/migrationsUpdateSample.d.ts +2 -0
  70. package/dist-esm/samples-dev/migrationsUpdateSample.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/migrationsUpdateSample.js +43 -0
  72. package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -0
  73. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  74. package/dist-esm/samples-dev/replicasListByServerSample.js +1 -1
  75. package/dist-esm/samples-dev/serverCapabilitiesListSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/serverCapabilitiesListSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/serverCapabilitiesListSample.js +60 -0
  78. package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -0
  79. package/dist-esm/samples-dev/serversCreateSample.js +63 -9
  80. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  81. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  82. package/dist-esm/samples-dev/serversGetSample.js +2 -2
  83. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +1 -1
  84. package/dist-esm/samples-dev/serversListSample.js +1 -1
  85. package/dist-esm/samples-dev/serversRestartSample.js +2 -2
  86. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  87. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  88. package/dist-esm/samples-dev/serversUpdateSample.js +11 -9
  89. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  90. package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
  91. package/dist-esm/src/models/index.d.ts +1105 -252
  92. package/dist-esm/src/models/index.d.ts.map +1 -1
  93. package/dist-esm/src/models/index.js +240 -2
  94. package/dist-esm/src/models/index.js.map +1 -1
  95. package/dist-esm/src/models/mappers.d.ts +34 -10
  96. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  97. package/dist-esm/src/models/mappers.js +1388 -641
  98. package/dist-esm/src/models/mappers.js.map +1 -1
  99. package/dist-esm/src/models/parameters.d.ts +11 -0
  100. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  101. package/dist-esm/src/models/parameters.js +96 -2
  102. package/dist-esm/src/models/parameters.js.map +1 -1
  103. package/dist-esm/src/operations/flexibleServer.d.ts +39 -0
  104. package/dist-esm/src/operations/flexibleServer.d.ts.map +1 -0
  105. package/dist-esm/src/operations/flexibleServer.js +157 -0
  106. package/dist-esm/src/operations/flexibleServer.js.map +1 -0
  107. package/dist-esm/src/operations/index.d.ts +5 -0
  108. package/dist-esm/src/operations/index.d.ts.map +1 -1
  109. package/dist-esm/src/operations/index.js +5 -0
  110. package/dist-esm/src/operations/index.js.map +1 -1
  111. package/dist-esm/src/operations/locationBasedCapabilities.d.ts +2 -2
  112. package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -1
  113. package/dist-esm/src/operations/logFiles.d.ts +38 -0
  114. package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
  115. package/dist-esm/src/operations/logFiles.js +155 -0
  116. package/dist-esm/src/operations/logFiles.js.map +1 -0
  117. package/dist-esm/src/operations/ltrBackupOperations.d.ts +46 -0
  118. package/dist-esm/src/operations/ltrBackupOperations.d.ts.map +1 -0
  119. package/dist-esm/src/operations/ltrBackupOperations.js +187 -0
  120. package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -0
  121. package/dist-esm/src/operations/migrations.d.ts +80 -0
  122. package/dist-esm/src/operations/migrations.d.ts.map +1 -0
  123. package/dist-esm/src/operations/migrations.js +331 -0
  124. package/dist-esm/src/operations/migrations.js.map +1 -0
  125. package/dist-esm/src/operations/serverCapabilities.d.ts +38 -0
  126. package/dist-esm/src/operations/serverCapabilities.d.ts.map +1 -0
  127. package/dist-esm/src/operations/serverCapabilities.js +155 -0
  128. package/dist-esm/src/operations/serverCapabilities.js.map +1 -0
  129. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
  130. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js.map +1 -1
  131. package/dist-esm/src/operationsInterfaces/flexibleServer.d.ts +31 -0
  132. package/dist-esm/src/operationsInterfaces/flexibleServer.d.ts.map +1 -0
  133. package/dist-esm/src/operationsInterfaces/flexibleServer.js +9 -0
  134. package/dist-esm/src/operationsInterfaces/flexibleServer.js.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  137. package/dist-esm/src/operationsInterfaces/index.js +5 -0
  138. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
  140. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
  141. package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
  142. package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
  143. package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
  144. package/dist-esm/src/operationsInterfaces/logFiles.js.map +1 -0
  145. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.d.ts +21 -0
  146. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -0
  147. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.js +9 -0
  148. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.js.map +1 -0
  149. package/dist-esm/src/operationsInterfaces/migrations.d.ts +53 -0
  150. package/dist-esm/src/operationsInterfaces/migrations.d.ts.map +1 -0
  151. package/dist-esm/src/operationsInterfaces/migrations.js +9 -0
  152. package/dist-esm/src/operationsInterfaces/migrations.js.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/serverCapabilities.d.ts +13 -0
  154. package/dist-esm/src/operationsInterfaces/serverCapabilities.d.ts.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/serverCapabilities.js +9 -0
  156. package/dist-esm/src/operationsInterfaces/serverCapabilities.js.map +1 -0
  157. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +16 -2
  158. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  159. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +52 -3
  160. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  161. package/package.json +4 -4
  162. package/review/arm-postgresql-flexible.api.md +642 -58
  163. package/src/models/index.ts +1244 -289
  164. package/src/models/mappers.ts +1588 -718
  165. package/src/models/parameters.ts +114 -2
  166. package/src/operations/flexibleServer.ts +223 -0
  167. package/src/operations/index.ts +5 -0
  168. package/src/operations/locationBasedCapabilities.ts +4 -4
  169. package/src/operations/logFiles.ts +198 -0
  170. package/src/operations/ltrBackupOperations.ts +242 -0
  171. package/src/operations/migrations.ts +442 -0
  172. package/src/operations/serverCapabilities.ts +194 -0
  173. package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
  174. package/src/operationsInterfaces/flexibleServer.ts +66 -0
  175. package/src/operationsInterfaces/index.ts +5 -0
  176. package/src/operationsInterfaces/locationBasedCapabilities.ts +2 -2
  177. package/src/operationsInterfaces/logFiles.ts +26 -0
  178. package/src/operationsInterfaces/ltrBackupOperations.ts +44 -0
  179. package/src/operationsInterfaces/migrations.ts +104 -0
  180. package/src/operationsInterfaces/serverCapabilities.ts +29 -0
  181. package/src/postgreSQLManagementFlexibleServerClient.ts +86 -5
  182. package/types/arm-postgresql-flexible.d.ts +1273 -183
  183. package/types/tsdoc-metadata.json +1 -1
@@ -36,6 +36,14 @@ export declare interface ActiveDirectoryAdministratorAdd {
36
36
  */
37
37
  export declare type ActiveDirectoryAuthEnum = string;
38
38
 
39
+ /** Server admin credentials. */
40
+ export declare interface AdminCredentials {
41
+ /** Password for source server. */
42
+ sourceServerPassword: string;
43
+ /** Password for target server. */
44
+ targetServerPassword: string;
45
+ }
46
+
39
47
  /** A list of active directory administrators. */
40
48
  export declare interface AdministratorListResult {
41
49
  /** The list of active directory administrators */
@@ -167,6 +175,28 @@ export declare interface AuthConfig {
167
175
  tenantId?: string;
168
176
  }
169
177
 
178
+ /**
179
+ * Defines values for AzureManagedDiskPerformanceTiers. \
180
+ * {@link KnownAzureManagedDiskPerformanceTiers} can be used interchangeably with AzureManagedDiskPerformanceTiers,
181
+ * this enum contains the known values that the service supports.
182
+ * ### Known values supported by the service
183
+ * **P1** \
184
+ * **P2** \
185
+ * **P3** \
186
+ * **P4** \
187
+ * **P6** \
188
+ * **P10** \
189
+ * **P15** \
190
+ * **P20** \
191
+ * **P30** \
192
+ * **P40** \
193
+ * **P50** \
194
+ * **P60** \
195
+ * **P70** \
196
+ * **P80**
197
+ */
198
+ export declare type AzureManagedDiskPerformanceTiers = string;
199
+
170
200
  /** Backup properties of a server */
171
201
  export declare interface Backup {
172
202
  /** Backup retention days for the server. */
@@ -180,6 +210,12 @@ export declare interface Backup {
180
210
  readonly earliestRestoreDate?: Date;
181
211
  }
182
212
 
213
+ /** BackupRequestBase is the base for all backup request. */
214
+ export declare interface BackupRequestBase {
215
+ /** Backup Settings */
216
+ backupSettings: BackupSettings;
217
+ }
218
+
183
219
  /** Interface representing a Backups. */
184
220
  export declare interface Backups {
185
221
  /**
@@ -199,6 +235,12 @@ export declare interface Backups {
199
235
  get(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsGetOptionalParams): Promise<BackupsGetResponse>;
200
236
  }
201
237
 
238
+ /** The settings for the long term backup. */
239
+ export declare interface BackupSettings {
240
+ /** Backup Name for the current backup */
241
+ backupName: string;
242
+ }
243
+
202
244
  /** Optional parameters. */
203
245
  export declare interface BackupsGetOptionalParams extends coreClient.OperationOptions {
204
246
  }
@@ -220,13 +262,29 @@ export declare interface BackupsListByServerOptionalParams extends coreClient.Op
220
262
  /** Contains response data for the listByServer operation. */
221
263
  export declare type BackupsListByServerResponse = ServerBackupListResult;
222
264
 
223
- /** location capability */
265
+ /** Details about the target where the backup content will be stored. */
266
+ export declare interface BackupStoreDetails {
267
+ /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
268
+ sasUriList: string[];
269
+ }
270
+
271
+ /**
272
+ * Defines values for CancelEnum. \
273
+ * {@link KnownCancelEnum} can be used interchangeably with CancelEnum,
274
+ * this enum contains the known values that the service supports.
275
+ * ### Known values supported by the service
276
+ * **Enabled** \
277
+ * **Disabled**
278
+ */
279
+ export declare type CancelEnum = string;
280
+
281
+ /** Capability for the PostgreSQL server */
224
282
  export declare interface CapabilitiesListResult {
225
283
  /**
226
284
  * A list of supported capabilities.
227
285
  * NOTE: This property will not be serialized. It can only be populated by the server.
228
286
  */
229
- readonly value?: CapabilityProperties[];
287
+ readonly value?: FlexibleServerCapability[];
230
288
  /**
231
289
  * Link to retrieve next page of results.
232
290
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -234,51 +292,30 @@ export declare interface CapabilitiesListResult {
234
292
  readonly nextLink?: string;
235
293
  }
236
294
 
237
- /** Location capabilities. */
238
- export declare interface CapabilityProperties {
239
- /**
240
- * zone name
241
- * NOTE: This property will not be serialized. It can only be populated by the server.
242
- */
243
- readonly zone?: string;
244
- /**
245
- * Supported high availability mode
246
- * NOTE: This property will not be serialized. It can only be populated by the server.
247
- */
248
- readonly supportedHAMode?: string[];
249
- /**
250
- * A value indicating whether a new server in this region can have geo-backups to paired region.
251
- * NOTE: This property will not be serialized. It can only be populated by the server.
252
- */
253
- readonly geoBackupSupported?: boolean;
254
- /**
255
- * A value indicating whether a new server in this region can support multi zone HA.
256
- * NOTE: This property will not be serialized. It can only be populated by the server.
257
- */
258
- readonly zoneRedundantHaSupported?: boolean;
259
- /**
260
- * A value indicating whether a new server in this region can have geo-backups to paired region.
261
- * NOTE: This property will not be serialized. It can only be populated by the server.
262
- */
263
- readonly zoneRedundantHaAndGeoBackupSupported?: boolean;
264
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
265
- readonly supportedFlexibleServerEditions?: FlexibleServerEditionCapability[];
266
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
267
- readonly supportedHyperscaleNodeEditions?: HyperscaleNodeEditionCapability[];
295
+ /** Base object for representing capability */
296
+ export declare interface CapabilityBase {
268
297
  /**
269
- * A value indicating whether fast provisioning is supported in this region.
298
+ * The status of the capability.
270
299
  * NOTE: This property will not be serialized. It can only be populated by the server.
271
300
  */
272
- readonly fastProvisioningSupported?: boolean;
273
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
274
- readonly supportedFastProvisioningEditions?: FastProvisioningEditionCapability[];
301
+ readonly status?: CapabilityStatus;
275
302
  /**
276
- * The status
303
+ * The reason for the capability not being available.
277
304
  * NOTE: This property will not be serialized. It can only be populated by the server.
278
305
  */
279
- readonly status?: string;
306
+ readonly reason?: string;
280
307
  }
281
308
 
309
+ /** Defines values for CapabilityStatus. */
310
+ export declare type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled";
311
+
312
+ /** Optional parameters. */
313
+ export declare interface CheckMigrationNameAvailabilityOptionalParams extends coreClient.OperationOptions {
314
+ }
315
+
316
+ /** Contains response data for the checkMigrationNameAvailability operation. */
317
+ export declare type CheckMigrationNameAvailabilityResponse = MigrationNameAvailabilityResource;
318
+
282
319
  /** Interface representing a CheckNameAvailability. */
283
320
  export declare interface CheckNameAvailability {
284
321
  /**
@@ -598,7 +635,8 @@ export declare type CreatedByType = string;
598
635
  * **Update** \
599
636
  * **PointInTimeRestore** \
600
637
  * **GeoRestore** \
601
- * **Replica**
638
+ * **Replica** \
639
+ * **ReviveDropped**
602
640
  */
603
641
  export declare type CreateMode = string;
604
642
 
@@ -733,12 +771,35 @@ export declare type DatabasesListByServerResponse = DatabaseListResult;
733
771
 
734
772
  /** Data encryption properties of a server */
735
773
  export declare interface DataEncryption {
736
- /** URI for the key for data encryption for primary server. */
774
+ /** URI for the key in keyvault for data encryption of the primary server. */
737
775
  primaryKeyURI?: string;
738
- /** Resource Id for the User assigned identity to be used for data encryption for primary server. */
776
+ /** Resource Id for the User assigned identity to be used for data encryption of the primary server. */
739
777
  primaryUserAssignedIdentityId?: string;
778
+ /** URI for the key in keyvault for data encryption for geo-backup of server. */
779
+ geoBackupKeyURI?: string;
780
+ /** Resource Id for the User assigned identity to be used for data encryption for geo-backup of server. */
781
+ geoBackupUserAssignedIdentityId?: string;
740
782
  /** Data encryption type to depict if it is System Managed vs Azure Key vault. */
741
783
  type?: ArmServerKeyType;
784
+ /** Primary encryption key status for Data encryption enabled server. */
785
+ primaryEncryptionKeyStatus?: KeyStatusEnum;
786
+ /** Geo-backup encryption key status for Data encryption enabled server. */
787
+ geoBackupEncryptionKeyStatus?: KeyStatusEnum;
788
+ }
789
+
790
+ /** Database server metadata. */
791
+ export declare interface DbServerMetadata {
792
+ /**
793
+ * Location of database server
794
+ * NOTE: This property will not be serialized. It can only be populated by the server.
795
+ */
796
+ readonly location?: string;
797
+ /** Version for database engine */
798
+ version?: string;
799
+ /** Storage size in MB for database server */
800
+ storageMb?: number;
801
+ /** SKU for the database server */
802
+ sku?: ServerSkuAutoGenerated;
742
803
  }
743
804
 
744
805
  /** Delegated subnet usage data. */
@@ -804,6 +865,18 @@ export declare interface ErrorResponse {
804
865
  error?: ErrorDetail;
805
866
  }
806
867
 
868
+ /**
869
+ * Defines values for ExecutionStatus. \
870
+ * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
871
+ * this enum contains the known values that the service supports.
872
+ * ### Known values supported by the service
873
+ * **Running** \
874
+ * **Cancelled** \
875
+ * **Failed** \
876
+ * **Succeeded**
877
+ */
878
+ export declare type ExecutionStatus = string;
879
+
807
880
  /**
808
881
  * Defines values for FailoverMode. \
809
882
  * {@link KnownFailoverMode} can be used interchangeably with FailoverMode,
@@ -816,7 +889,13 @@ export declare interface ErrorResponse {
816
889
  */
817
890
  export declare type FailoverMode = string;
818
891
 
819
- export declare interface FastProvisioningEditionCapability {
892
+ /** Represents capability of a fast provisioning edition */
893
+ export declare interface FastProvisioningEditionCapability extends CapabilityBase {
894
+ /**
895
+ * Fast provisioning supported tier name
896
+ * NOTE: This property will not be serialized. It can only be populated by the server.
897
+ */
898
+ readonly supportedTier?: string;
820
899
  /**
821
900
  * Fast provisioning supported sku name
822
901
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -832,8 +911,23 @@ export declare interface FastProvisioningEditionCapability {
832
911
  * NOTE: This property will not be serialized. It can only be populated by the server.
833
912
  */
834
913
  readonly supportedServerVersions?: string;
914
+ /**
915
+ * Count of servers in cache matching the spec
916
+ * NOTE: This property will not be serialized. It can only be populated by the server.
917
+ */
918
+ readonly serverCount?: number;
835
919
  }
836
920
 
921
+ /**
922
+ * Defines values for FastProvisioningSupportedEnum. \
923
+ * {@link KnownFastProvisioningSupportedEnum} can be used interchangeably with FastProvisioningSupportedEnum,
924
+ * this enum contains the known values that the service supports.
925
+ * ### Known values supported by the service
926
+ * **Enabled** \
927
+ * **Disabled**
928
+ */
929
+ export declare type FastProvisioningSupportedEnum = string;
930
+
837
931
  /** Represents a server firewall rule. */
838
932
  export declare interface FirewallRule extends ProxyResource {
839
933
  /** The start IP address of the server firewall rule. Must be IPv4 format. */
@@ -953,30 +1047,171 @@ export declare interface FirewallRulesListByServerOptionalParams extends coreCli
953
1047
  /** Contains response data for the listByServer operation. */
954
1048
  export declare type FirewallRulesListByServerResponse = FirewallRuleListResult;
955
1049
 
1050
+ /** Interface representing a FlexibleServer. */
1051
+ export declare interface FlexibleServer {
1052
+ /**
1053
+ * PreBackup operation performs all the checks that are needed for the subsequent long term retention
1054
+ * backup operation to succeed.
1055
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1056
+ * @param serverName The name of the server.
1057
+ * @param parameters Request body for operation
1058
+ * @param options The options parameters.
1059
+ */
1060
+ triggerLtrPreBackup(resourceGroupName: string, serverName: string, parameters: LtrPreBackupRequest, options?: FlexibleServerTriggerLtrPreBackupOptionalParams): Promise<FlexibleServerTriggerLtrPreBackupResponse>;
1061
+ /**
1062
+ * Start the Long Term Retention Backup operation
1063
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1064
+ * @param serverName The name of the server.
1065
+ * @param parameters Request body for operation
1066
+ * @param options The options parameters.
1067
+ */
1068
+ beginStartLtrBackup(resourceGroupName: string, serverName: string, parameters: LtrBackupRequest, options?: FlexibleServerStartLtrBackupOptionalParams): Promise<SimplePollerLike<OperationState<FlexibleServerStartLtrBackupResponse>, FlexibleServerStartLtrBackupResponse>>;
1069
+ /**
1070
+ * Start the Long Term Retention Backup operation
1071
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1072
+ * @param serverName The name of the server.
1073
+ * @param parameters Request body for operation
1074
+ * @param options The options parameters.
1075
+ */
1076
+ beginStartLtrBackupAndWait(resourceGroupName: string, serverName: string, parameters: LtrBackupRequest, options?: FlexibleServerStartLtrBackupOptionalParams): Promise<FlexibleServerStartLtrBackupResponse>;
1077
+ }
1078
+
1079
+ /** Capability for the PostgreSQL server */
1080
+ export declare interface FlexibleServerCapability extends CapabilityBase {
1081
+ /** Name of flexible servers capability */
1082
+ name?: string;
1083
+ /**
1084
+ * List of supported flexible server editions
1085
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1086
+ */
1087
+ readonly supportedServerEditions?: FlexibleServerEditionCapability[];
1088
+ /**
1089
+ * The list of server versions supported for this capability.
1090
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1091
+ */
1092
+ readonly supportedServerVersions?: ServerVersionCapability[];
1093
+ /**
1094
+ * Gets a value indicating whether fast provisioning is supported. "Enabled" means fast provisioning is supported. "Disabled" stands for fast provisioning is not supported.
1095
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1096
+ */
1097
+ readonly fastProvisioningSupported?: FastProvisioningSupportedEnum;
1098
+ /**
1099
+ * List of supported server editions for fast provisioning
1100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1101
+ */
1102
+ readonly supportedFastProvisioningEditions?: FastProvisioningEditionCapability[];
1103
+ /**
1104
+ * Determines if geo-backup is supported in this region. "Enabled" means geo-backup is supported. "Disabled" stands for geo-back is not supported.
1105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1106
+ */
1107
+ readonly geoBackupSupported?: GeoBackupSupportedEnum;
1108
+ /**
1109
+ * A value indicating whether Zone Redundant HA is supported in this region. "Enabled" means zone redundant HA is supported. "Disabled" stands for zone redundant HA is not supported.
1110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1111
+ */
1112
+ readonly zoneRedundantHaSupported?: ZoneRedundantHaSupportedEnum;
1113
+ /**
1114
+ * A value indicating whether Zone Redundant HA and Geo-backup is supported in this region. "Enabled" means zone redundant HA and geo-backup is supported. "Disabled" stands for zone redundant HA and geo-backup is not supported.
1115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1116
+ */
1117
+ readonly zoneRedundantHaAndGeoBackupSupported?: ZoneRedundantHaAndGeoBackupSupportedEnum;
1118
+ /**
1119
+ * A value indicating whether storage auto-grow is supported in this region. "Enabled" means storage auto-grow is supported. "Disabled" stands for storage auto-grow is not supported.
1120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1121
+ */
1122
+ readonly storageAutoGrowthSupported?: StorageAutoGrowthSupportedEnum;
1123
+ /**
1124
+ * A value indicating whether online resize is supported in this region for the given subscription. "Enabled" means storage online resize is supported. "Disabled" means storage online resize is not supported.
1125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1126
+ */
1127
+ readonly onlineResizeSupported?: OnlineResizeSupportedEnum;
1128
+ /**
1129
+ * A value indicating whether this region is restricted. "Enabled" means region is restricted. "Disabled" stands for region is not restricted.
1130
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1131
+ */
1132
+ readonly restricted?: RestrictedEnum;
1133
+ }
1134
+
956
1135
  /** Flexible server edition capabilities. */
957
- export declare interface FlexibleServerEditionCapability {
1136
+ export declare interface FlexibleServerEditionCapability extends CapabilityBase {
958
1137
  /**
959
1138
  * Server edition name
960
1139
  * NOTE: This property will not be serialized. It can only be populated by the server.
961
1140
  */
962
1141
  readonly name?: string;
963
1142
  /**
964
- * The list of editions supported by this server edition.
1143
+ * Default sku name for the server edition
965
1144
  * NOTE: This property will not be serialized. It can only be populated by the server.
966
1145
  */
967
- readonly supportedStorageEditions?: StorageEditionCapability[];
1146
+ readonly defaultSkuName?: string;
968
1147
  /**
969
- * The list of server versions supported by this server edition.
1148
+ * The list of editions supported by this server edition.
970
1149
  * NOTE: This property will not be serialized. It can only be populated by the server.
971
1150
  */
972
- readonly supportedServerVersions?: ServerVersionCapability[];
1151
+ readonly supportedStorageEditions?: StorageEditionCapability[];
973
1152
  /**
974
- * The status
1153
+ * List of supported server SKUs.
975
1154
  * NOTE: This property will not be serialized. It can only be populated by the server.
976
1155
  */
977
- readonly status?: string;
1156
+ readonly supportedServerSkus?: ServerSku[];
1157
+ }
1158
+
1159
+ /** Defines headers for FlexibleServer_startLtrBackup operation. */
1160
+ export declare interface FlexibleServerStartLtrBackupExceptionHeaders {
1161
+ /** ErrorCode string in the event of a failure. */
1162
+ xMsErrorCode?: string;
1163
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
1164
+ xMsRequestId?: string;
978
1165
  }
979
1166
 
1167
+ /** Defines headers for FlexibleServer_startLtrBackup operation. */
1168
+ export declare interface FlexibleServerStartLtrBackupHeaders {
1169
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
1170
+ xMsRequestId?: string;
1171
+ }
1172
+
1173
+ /** Optional parameters. */
1174
+ export declare interface FlexibleServerStartLtrBackupOptionalParams extends coreClient.OperationOptions {
1175
+ /** Delay to wait until next poll, in milliseconds. */
1176
+ updateIntervalInMs?: number;
1177
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1178
+ resumeFrom?: string;
1179
+ }
1180
+
1181
+ /** Contains response data for the startLtrBackup operation. */
1182
+ export declare type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders & LtrBackupResponse;
1183
+
1184
+ /** Defines headers for FlexibleServer_triggerLtrPreBackup operation. */
1185
+ export declare interface FlexibleServerTriggerLtrPreBackupExceptionHeaders {
1186
+ /** ErrorCode string in the event of a failure. */
1187
+ xMsErrorCode?: string;
1188
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
1189
+ xMsRequestId?: string;
1190
+ }
1191
+
1192
+ /** Defines headers for FlexibleServer_triggerLtrPreBackup operation. */
1193
+ export declare interface FlexibleServerTriggerLtrPreBackupHeaders {
1194
+ /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
1195
+ xMsRequestId?: string;
1196
+ }
1197
+
1198
+ /** Optional parameters. */
1199
+ export declare interface FlexibleServerTriggerLtrPreBackupOptionalParams extends coreClient.OperationOptions {
1200
+ }
1201
+
1202
+ /** Contains response data for the triggerLtrPreBackup operation. */
1203
+ export declare type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders & LtrPreBackupResponse;
1204
+
1205
+ /**
1206
+ * Defines values for GeoBackupSupportedEnum. \
1207
+ * {@link KnownGeoBackupSupportedEnum} can be used interchangeably with GeoBackupSupportedEnum,
1208
+ * this enum contains the known values that the service supports.
1209
+ * ### Known values supported by the service
1210
+ * **Enabled** \
1211
+ * **Disabled**
1212
+ */
1213
+ export declare type GeoBackupSupportedEnum = string;
1214
+
980
1215
  /**
981
1216
  * Defines values for GeoRedundantBackupEnum. \
982
1217
  * {@link KnownGeoRedundantBackupEnum} can be used interchangeably with GeoRedundantBackupEnum,
@@ -1015,6 +1250,16 @@ export declare type GetPrivateDnsZoneSuffixExecuteResponse = {
1015
1250
  body: string;
1016
1251
  };
1017
1252
 
1253
+ /**
1254
+ * Defines values for HaMode. \
1255
+ * {@link KnownHaMode} can be used interchangeably with HaMode,
1256
+ * this enum contains the known values that the service supports.
1257
+ * ### Known values supported by the service
1258
+ * **SameZone** \
1259
+ * **ZoneRedundant**
1260
+ */
1261
+ export declare type HaMode = string;
1262
+
1018
1263
  /** High availability properties of a server */
1019
1264
  export declare interface HighAvailability {
1020
1265
  /** The HA mode for the server. */
@@ -1039,46 +1284,26 @@ export declare interface HighAvailability {
1039
1284
  */
1040
1285
  export declare type HighAvailabilityMode = string;
1041
1286
 
1042
- /** Hyperscale node edition capabilities. */
1043
- export declare interface HyperscaleNodeEditionCapability {
1044
- /**
1045
- * Server edition name
1046
- * NOTE: This property will not be serialized. It can only be populated by the server.
1047
- */
1048
- readonly name?: string;
1049
- /**
1050
- * The list of editions supported by this server edition.
1051
- * NOTE: This property will not be serialized. It can only be populated by the server.
1052
- */
1053
- readonly supportedStorageEditions?: StorageEditionCapability[];
1054
- /**
1055
- * The list of server versions supported by this server edition.
1056
- * NOTE: This property will not be serialized. It can only be populated by the server.
1057
- */
1058
- readonly supportedServerVersions?: ServerVersionCapability[];
1059
- /**
1060
- * The list of Node Types supported by this server edition.
1061
- * NOTE: This property will not be serialized. It can only be populated by the server.
1062
- */
1063
- readonly supportedNodeTypes?: NodeTypeCapability[];
1064
- /**
1065
- * The status
1066
- * NOTE: This property will not be serialized. It can only be populated by the server.
1067
- */
1068
- readonly status?: string;
1069
- }
1070
-
1071
1287
  /**
1072
1288
  * Defines values for IdentityType. \
1073
1289
  * {@link KnownIdentityType} can be used interchangeably with IdentityType,
1074
1290
  * this enum contains the known values that the service supports.
1075
1291
  * ### Known values supported by the service
1076
1292
  * **None** \
1077
- * **SystemAssigned** \
1078
1293
  * **UserAssigned**
1079
1294
  */
1080
1295
  export declare type IdentityType = string;
1081
1296
 
1297
+ /**
1298
+ * Defines values for KeyStatusEnum. \
1299
+ * {@link KnownKeyStatusEnum} can be used interchangeably with KeyStatusEnum,
1300
+ * this enum contains the known values that the service supports.
1301
+ * ### Known values supported by the service
1302
+ * **Valid** \
1303
+ * **Invalid**
1304
+ */
1305
+ export declare type KeyStatusEnum = string;
1306
+
1082
1307
  /** Known values of {@link ActiveDirectoryAuthEnum} that the service accepts. */
1083
1308
  export declare enum KnownActiveDirectoryAuthEnum {
1084
1309
  /** Enabled */
@@ -1095,6 +1320,46 @@ export declare enum KnownArmServerKeyType {
1095
1320
  AzureKeyVault = "AzureKeyVault"
1096
1321
  }
1097
1322
 
1323
+ /** Known values of {@link AzureManagedDiskPerformanceTiers} that the service accepts. */
1324
+ export declare enum KnownAzureManagedDiskPerformanceTiers {
1325
+ /** P1 */
1326
+ P1 = "P1",
1327
+ /** P2 */
1328
+ P2 = "P2",
1329
+ /** P3 */
1330
+ P3 = "P3",
1331
+ /** P4 */
1332
+ P4 = "P4",
1333
+ /** P6 */
1334
+ P6 = "P6",
1335
+ /** P10 */
1336
+ P10 = "P10",
1337
+ /** P15 */
1338
+ P15 = "P15",
1339
+ /** P20 */
1340
+ P20 = "P20",
1341
+ /** P30 */
1342
+ P30 = "P30",
1343
+ /** P40 */
1344
+ P40 = "P40",
1345
+ /** P50 */
1346
+ P50 = "P50",
1347
+ /** P60 */
1348
+ P60 = "P60",
1349
+ /** P70 */
1350
+ P70 = "P70",
1351
+ /** P80 */
1352
+ P80 = "P80"
1353
+ }
1354
+
1355
+ /** Known values of {@link CancelEnum} that the service accepts. */
1356
+ export declare enum KnownCancelEnum {
1357
+ /** Enabled */
1358
+ Enabled = "Enabled",
1359
+ /** Disabled */
1360
+ Disabled = "Disabled"
1361
+ }
1362
+
1098
1363
  /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
1099
1364
  export declare enum KnownCheckNameAvailabilityReason {
1100
1365
  /** Invalid */
@@ -1140,7 +1405,9 @@ export declare enum KnownCreateMode {
1140
1405
  /** GeoRestore */
1141
1406
  GeoRestore = "GeoRestore",
1142
1407
  /** Replica */
1143
- Replica = "Replica"
1408
+ Replica = "Replica",
1409
+ /** ReviveDropped */
1410
+ ReviveDropped = "ReviveDropped"
1144
1411
  }
1145
1412
 
1146
1413
  /** Known values of {@link CreateModeForUpdate} that the service accepts. */
@@ -1151,6 +1418,18 @@ export declare enum KnownCreateModeForUpdate {
1151
1418
  Update = "Update"
1152
1419
  }
1153
1420
 
1421
+ /** Known values of {@link ExecutionStatus} that the service accepts. */
1422
+ export declare enum KnownExecutionStatus {
1423
+ /** Running */
1424
+ Running = "Running",
1425
+ /** Cancelled */
1426
+ Cancelled = "Cancelled",
1427
+ /** Failed */
1428
+ Failed = "Failed",
1429
+ /** Succeeded */
1430
+ Succeeded = "Succeeded"
1431
+ }
1432
+
1154
1433
  /** Known values of {@link FailoverMode} that the service accepts. */
1155
1434
  export declare enum KnownFailoverMode {
1156
1435
  /** PlannedFailover */
@@ -1163,6 +1442,22 @@ export declare enum KnownFailoverMode {
1163
1442
  ForcedSwitchover = "ForcedSwitchover"
1164
1443
  }
1165
1444
 
1445
+ /** Known values of {@link FastProvisioningSupportedEnum} that the service accepts. */
1446
+ export declare enum KnownFastProvisioningSupportedEnum {
1447
+ /** Enabled */
1448
+ Enabled = "Enabled",
1449
+ /** Disabled */
1450
+ Disabled = "Disabled"
1451
+ }
1452
+
1453
+ /** Known values of {@link GeoBackupSupportedEnum} that the service accepts. */
1454
+ export declare enum KnownGeoBackupSupportedEnum {
1455
+ /** Enabled */
1456
+ Enabled = "Enabled",
1457
+ /** Disabled */
1458
+ Disabled = "Disabled"
1459
+ }
1460
+
1166
1461
  /** Known values of {@link GeoRedundantBackupEnum} that the service accepts. */
1167
1462
  export declare enum KnownGeoRedundantBackupEnum {
1168
1463
  /** Enabled */
@@ -1171,6 +1466,14 @@ export declare enum KnownGeoRedundantBackupEnum {
1171
1466
  Disabled = "Disabled"
1172
1467
  }
1173
1468
 
1469
+ /** Known values of {@link HaMode} that the service accepts. */
1470
+ export declare enum KnownHaMode {
1471
+ /** SameZone */
1472
+ SameZone = "SameZone",
1473
+ /** ZoneRedundant */
1474
+ ZoneRedundant = "ZoneRedundant"
1475
+ }
1476
+
1174
1477
  /** Known values of {@link HighAvailabilityMode} that the service accepts. */
1175
1478
  export declare enum KnownHighAvailabilityMode {
1176
1479
  /** Disabled */
@@ -1185,12 +1488,106 @@ export declare enum KnownHighAvailabilityMode {
1185
1488
  export declare enum KnownIdentityType {
1186
1489
  /** None */
1187
1490
  None = "None",
1188
- /** SystemAssigned */
1189
- SystemAssigned = "SystemAssigned",
1190
1491
  /** UserAssigned */
1191
1492
  UserAssigned = "UserAssigned"
1192
1493
  }
1193
1494
 
1495
+ /** Known values of {@link KeyStatusEnum} that the service accepts. */
1496
+ export declare enum KnownKeyStatusEnum {
1497
+ /** Valid */
1498
+ Valid = "Valid",
1499
+ /** Invalid */
1500
+ Invalid = "Invalid"
1501
+ }
1502
+
1503
+ /** Known values of {@link LogicalReplicationOnSourceDbEnum} that the service accepts. */
1504
+ export declare enum KnownLogicalReplicationOnSourceDbEnum {
1505
+ /** Enabled */
1506
+ Enabled = "Enabled",
1507
+ /** Disabled */
1508
+ Disabled = "Disabled"
1509
+ }
1510
+
1511
+ /** Known values of {@link MigrationDetailsLevel} that the service accepts. */
1512
+ export declare enum KnownMigrationDetailsLevel {
1513
+ /** Default */
1514
+ Default = "Default",
1515
+ /** Summary */
1516
+ Summary = "Summary",
1517
+ /** Full */
1518
+ Full = "Full"
1519
+ }
1520
+
1521
+ /** Known values of {@link MigrationListFilter} that the service accepts. */
1522
+ export declare enum KnownMigrationListFilter {
1523
+ /** Active */
1524
+ Active = "Active",
1525
+ /** All */
1526
+ All = "All"
1527
+ }
1528
+
1529
+ /** Known values of {@link MigrationMode} that the service accepts. */
1530
+ export declare enum KnownMigrationMode {
1531
+ /** Offline */
1532
+ Offline = "Offline",
1533
+ /** Online */
1534
+ Online = "Online"
1535
+ }
1536
+
1537
+ /** Known values of {@link MigrationNameAvailabilityReason} that the service accepts. */
1538
+ export declare enum KnownMigrationNameAvailabilityReason {
1539
+ /** Invalid */
1540
+ Invalid = "Invalid",
1541
+ /** AlreadyExists */
1542
+ AlreadyExists = "AlreadyExists"
1543
+ }
1544
+
1545
+ /** Known values of {@link MigrationState} that the service accepts. */
1546
+ export declare enum KnownMigrationState {
1547
+ /** InProgress */
1548
+ InProgress = "InProgress",
1549
+ /** WaitingForUserAction */
1550
+ WaitingForUserAction = "WaitingForUserAction",
1551
+ /** Canceled */
1552
+ Canceled = "Canceled",
1553
+ /** Failed */
1554
+ Failed = "Failed",
1555
+ /** Succeeded */
1556
+ Succeeded = "Succeeded"
1557
+ }
1558
+
1559
+ /** Known values of {@link MigrationSubState} that the service accepts. */
1560
+ export declare enum KnownMigrationSubState {
1561
+ /** PerformingPreRequisiteSteps */
1562
+ PerformingPreRequisiteSteps = "PerformingPreRequisiteSteps",
1563
+ /** WaitingForLogicalReplicationSetupRequestOnSourceDB */
1564
+ WaitingForLogicalReplicationSetupRequestOnSourceDB = "WaitingForLogicalReplicationSetupRequestOnSourceDB",
1565
+ /** WaitingForDBsToMigrateSpecification */
1566
+ WaitingForDBsToMigrateSpecification = "WaitingForDBsToMigrateSpecification",
1567
+ /** WaitingForTargetDBOverwriteConfirmation */
1568
+ WaitingForTargetDBOverwriteConfirmation = "WaitingForTargetDBOverwriteConfirmation",
1569
+ /** WaitingForDataMigrationScheduling */
1570
+ WaitingForDataMigrationScheduling = "WaitingForDataMigrationScheduling",
1571
+ /** WaitingForDataMigrationWindow */
1572
+ WaitingForDataMigrationWindow = "WaitingForDataMigrationWindow",
1573
+ /** MigratingData */
1574
+ MigratingData = "MigratingData",
1575
+ /** WaitingForCutoverTrigger */
1576
+ WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
1577
+ /** CompletingMigration */
1578
+ CompletingMigration = "CompletingMigration",
1579
+ /** Completed */
1580
+ Completed = "Completed"
1581
+ }
1582
+
1583
+ /** Known values of {@link OnlineResizeSupportedEnum} that the service accepts. */
1584
+ export declare enum KnownOnlineResizeSupportedEnum {
1585
+ /** Enabled */
1586
+ Enabled = "Enabled",
1587
+ /** Disabled */
1588
+ Disabled = "Disabled"
1589
+ }
1590
+
1194
1591
  /** Known values of {@link OperationOrigin} that the service accepts. */
1195
1592
  export declare enum KnownOperationOrigin {
1196
1593
  /** NotSpecified */
@@ -1207,6 +1604,14 @@ export declare enum KnownOrigin {
1207
1604
  Full = "Full"
1208
1605
  }
1209
1606
 
1607
+ /** Known values of {@link OverwriteDbsInTargetEnum} that the service accepts. */
1608
+ export declare enum KnownOverwriteDbsInTargetEnum {
1609
+ /** Enabled */
1610
+ Enabled = "Enabled",
1611
+ /** Disabled */
1612
+ Disabled = "Disabled"
1613
+ }
1614
+
1210
1615
  /** Known values of {@link PasswordAuthEnum} that the service accepts. */
1211
1616
  export declare enum KnownPasswordAuthEnum {
1212
1617
  /** Enabled */
@@ -1239,6 +1644,14 @@ export declare enum KnownReplicationRole {
1239
1644
  GeoAsyncReplica = "GeoAsyncReplica"
1240
1645
  }
1241
1646
 
1647
+ /** Known values of {@link RestrictedEnum} that the service accepts. */
1648
+ export declare enum KnownRestrictedEnum {
1649
+ /** Enabled */
1650
+ Enabled = "Enabled",
1651
+ /** Disabled */
1652
+ Disabled = "Disabled"
1653
+ }
1654
+
1242
1655
  /** Known values of {@link ServerHAState} that the service accepts. */
1243
1656
  export declare enum KnownServerHAState {
1244
1657
  /** NotEnabled */
@@ -1283,6 +1696,8 @@ export declare enum KnownServerState {
1283
1696
 
1284
1697
  /** Known values of {@link ServerVersion} that the service accepts. */
1285
1698
  export declare enum KnownServerVersion {
1699
+ /** Fifteen */
1700
+ Fifteen = "15",
1286
1701
  /** Fourteen */
1287
1702
  Fourteen = "14",
1288
1703
  /** Thirteen */
@@ -1303,14 +1718,62 @@ export declare enum KnownSkuTier {
1303
1718
  MemoryOptimized = "MemoryOptimized"
1304
1719
  }
1305
1720
 
1306
- /** Interface representing a LocationBasedCapabilities. */
1307
- export declare interface LocationBasedCapabilities {
1308
- /**
1309
- * Get capabilities at specified location in a given subscription.
1721
+ /** Known values of {@link StartDataMigrationEnum} that the service accepts. */
1722
+ export declare enum KnownStartDataMigrationEnum {
1723
+ /** Enabled */
1724
+ Enabled = "Enabled",
1725
+ /** Disabled */
1726
+ Disabled = "Disabled"
1727
+ }
1728
+
1729
+ /** Known values of {@link StorageAutoGrow} that the service accepts. */
1730
+ export declare enum KnownStorageAutoGrow {
1731
+ /** Enabled */
1732
+ Enabled = "Enabled",
1733
+ /** Disabled */
1734
+ Disabled = "Disabled"
1735
+ }
1736
+
1737
+ /** Known values of {@link StorageAutoGrowthSupportedEnum} that the service accepts. */
1738
+ export declare enum KnownStorageAutoGrowthSupportedEnum {
1739
+ /** Enabled */
1740
+ Enabled = "Enabled",
1741
+ /** Disabled */
1742
+ Disabled = "Disabled"
1743
+ }
1744
+
1745
+ /** Known values of {@link TriggerCutoverEnum} that the service accepts. */
1746
+ export declare enum KnownTriggerCutoverEnum {
1747
+ /** Enabled */
1748
+ Enabled = "Enabled",
1749
+ /** Disabled */
1750
+ Disabled = "Disabled"
1751
+ }
1752
+
1753
+ /** Known values of {@link ZoneRedundantHaAndGeoBackupSupportedEnum} that the service accepts. */
1754
+ export declare enum KnownZoneRedundantHaAndGeoBackupSupportedEnum {
1755
+ /** Enabled */
1756
+ Enabled = "Enabled",
1757
+ /** Disabled */
1758
+ Disabled = "Disabled"
1759
+ }
1760
+
1761
+ /** Known values of {@link ZoneRedundantHaSupportedEnum} that the service accepts. */
1762
+ export declare enum KnownZoneRedundantHaSupportedEnum {
1763
+ /** Enabled */
1764
+ Enabled = "Enabled",
1765
+ /** Disabled */
1766
+ Disabled = "Disabled"
1767
+ }
1768
+
1769
+ /** Interface representing a LocationBasedCapabilities. */
1770
+ export declare interface LocationBasedCapabilities {
1771
+ /**
1772
+ * Get capabilities at specified location in a given subscription.
1310
1773
  * @param locationName The name of the location.
1311
1774
  * @param options The options parameters.
1312
1775
  */
1313
- listExecute(locationName: string, options?: LocationBasedCapabilitiesExecuteOptionalParams): PagedAsyncIterableIterator<CapabilityProperties>;
1776
+ listExecute(locationName: string, options?: LocationBasedCapabilitiesExecuteOptionalParams): PagedAsyncIterableIterator<FlexibleServerCapability>;
1314
1777
  }
1315
1778
 
1316
1779
  /** Optional parameters. */
@@ -1327,6 +1790,187 @@ export declare interface LocationBasedCapabilitiesExecuteOptionalParams extends
1327
1790
  /** Contains response data for the execute operation. */
1328
1791
  export declare type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult;
1329
1792
 
1793
+ /** Represents a logFile. */
1794
+ export declare interface LogFile extends ProxyResource {
1795
+ /** Creation timestamp of the log file. */
1796
+ createdTime?: Date;
1797
+ /** Last modified timestamp of the log file. */
1798
+ lastModifiedTime?: Date;
1799
+ /** The size in kb of the logFile. */
1800
+ sizeInKb?: number;
1801
+ /** Type of the log file. */
1802
+ typePropertiesType?: string;
1803
+ /** The url to download the log file from. */
1804
+ url?: string;
1805
+ }
1806
+
1807
+ /** A List of logFiles. */
1808
+ export declare interface LogFileListResult {
1809
+ /** The list of logFiles in a server */
1810
+ value?: LogFile[];
1811
+ /** The link used to get the next page of operations. */
1812
+ nextLink?: string;
1813
+ }
1814
+
1815
+ /** Interface representing a LogFiles. */
1816
+ export declare interface LogFiles {
1817
+ /**
1818
+ * List all the server log files in a given server.
1819
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1820
+ * @param serverName The name of the server.
1821
+ * @param options The options parameters.
1822
+ */
1823
+ listByServer(resourceGroupName: string, serverName: string, options?: LogFilesListByServerOptionalParams): PagedAsyncIterableIterator<LogFile>;
1824
+ }
1825
+
1826
+ /** Optional parameters. */
1827
+ export declare interface LogFilesListByServerNextOptionalParams extends coreClient.OperationOptions {
1828
+ }
1829
+
1830
+ /** Contains response data for the listByServerNext operation. */
1831
+ export declare type LogFilesListByServerNextResponse = LogFileListResult;
1832
+
1833
+ /** Optional parameters. */
1834
+ export declare interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
1835
+ }
1836
+
1837
+ /** Contains response data for the listByServer operation. */
1838
+ export declare type LogFilesListByServerResponse = LogFileListResult;
1839
+
1840
+ /**
1841
+ * Defines values for LogicalReplicationOnSourceDbEnum. \
1842
+ * {@link KnownLogicalReplicationOnSourceDbEnum} can be used interchangeably with LogicalReplicationOnSourceDbEnum,
1843
+ * this enum contains the known values that the service supports.
1844
+ * ### Known values supported by the service
1845
+ * **Enabled** \
1846
+ * **Disabled**
1847
+ */
1848
+ export declare type LogicalReplicationOnSourceDbEnum = string;
1849
+
1850
+ /** Interface representing a LtrBackupOperations. */
1851
+ export declare interface LtrBackupOperations {
1852
+ /**
1853
+ * Gets the result of the give long term retention backup operations for the flexible server.
1854
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1855
+ * @param serverName The name of the server.
1856
+ * @param options The options parameters.
1857
+ */
1858
+ listByServer(resourceGroupName: string, serverName: string, options?: LtrBackupOperationsListByServerOptionalParams): PagedAsyncIterableIterator<LtrServerBackupOperation>;
1859
+ /**
1860
+ * Gets the result of the give long term retention backup operation for the flexible server.
1861
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1862
+ * @param serverName The name of the server.
1863
+ * @param backupName The name of the backup.
1864
+ * @param options The options parameters.
1865
+ */
1866
+ get(resourceGroupName: string, serverName: string, backupName: string, options?: LtrBackupOperationsGetOptionalParams): Promise<LtrBackupOperationsGetResponse>;
1867
+ }
1868
+
1869
+ /** Optional parameters. */
1870
+ export declare interface LtrBackupOperationsGetOptionalParams extends coreClient.OperationOptions {
1871
+ }
1872
+
1873
+ /** Contains response data for the get operation. */
1874
+ export declare type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
1875
+
1876
+ /** Optional parameters. */
1877
+ export declare interface LtrBackupOperationsListByServerNextOptionalParams extends coreClient.OperationOptions {
1878
+ }
1879
+
1880
+ /** Contains response data for the listByServerNext operation. */
1881
+ export declare type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
1882
+
1883
+ /** Optional parameters. */
1884
+ export declare interface LtrBackupOperationsListByServerOptionalParams extends coreClient.OperationOptions {
1885
+ }
1886
+
1887
+ /** Contains response data for the listByServer operation. */
1888
+ export declare type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
1889
+
1890
+ /** The request that is made for a long term retention backup. */
1891
+ export declare interface LtrBackupRequest extends BackupRequestBase {
1892
+ /** Backup store detail for target server */
1893
+ targetDetails: BackupStoreDetails;
1894
+ }
1895
+
1896
+ /** Response for the LTR backup API call */
1897
+ export declare interface LtrBackupResponse {
1898
+ /** Size of datasource in bytes */
1899
+ datasourceSizeInBytes?: number;
1900
+ /** Data transferred in bytes */
1901
+ dataTransferredInBytes?: number;
1902
+ /** Name of Backup operation */
1903
+ backupName?: string;
1904
+ /** Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc */
1905
+ backupMetadata?: string;
1906
+ /** Service-set extensible enum indicating the status of operation */
1907
+ status?: ExecutionStatus;
1908
+ /** Start time of the operation. */
1909
+ startTime?: Date;
1910
+ /** End time of the operation. */
1911
+ endTime?: Date;
1912
+ /** PercentageCompleted */
1913
+ percentComplete?: number;
1914
+ /**
1915
+ * The error code.
1916
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1917
+ */
1918
+ readonly errorCode?: string;
1919
+ /**
1920
+ * The error message.
1921
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1922
+ */
1923
+ readonly errorMessage?: string;
1924
+ }
1925
+
1926
+ /** A request that is made for pre-backup. */
1927
+ export declare interface LtrPreBackupRequest extends BackupRequestBase {
1928
+ }
1929
+
1930
+ /** Response for the LTR pre-backup API call */
1931
+ export declare interface LtrPreBackupResponse {
1932
+ /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
1933
+ numberOfContainers: number;
1934
+ }
1935
+
1936
+ /** Response for the LTR backup Operation API call */
1937
+ export declare interface LtrServerBackupOperation extends ProxyResource {
1938
+ /** Size of datasource in bytes */
1939
+ datasourceSizeInBytes?: number;
1940
+ /** Data transferred in bytes */
1941
+ dataTransferredInBytes?: number;
1942
+ /** Name of Backup operation */
1943
+ backupName?: string;
1944
+ /** Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc */
1945
+ backupMetadata?: string;
1946
+ /** Service-set extensible enum indicating the status of operation */
1947
+ status?: ExecutionStatus;
1948
+ /** Start time of the operation. */
1949
+ startTime?: Date;
1950
+ /** End time of the operation. */
1951
+ endTime?: Date;
1952
+ /** PercentageCompleted */
1953
+ percentComplete?: number;
1954
+ /**
1955
+ * The error code.
1956
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1957
+ */
1958
+ readonly errorCode?: string;
1959
+ /**
1960
+ * The error message.
1961
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1962
+ */
1963
+ readonly errorMessage?: string;
1964
+ }
1965
+
1966
+ /** A list of long term retention backup operations for server. */
1967
+ export declare interface LtrServerBackupOperationList {
1968
+ /** The list of long term retention server backup operations */
1969
+ value?: LtrServerBackupOperation[];
1970
+ /** The link used to get the next page of operations. */
1971
+ nextLink?: string;
1972
+ }
1973
+
1330
1974
  /** Maintenance window properties of a server. */
1331
1975
  export declare interface MaintenanceWindow {
1332
1976
  /** indicates whether custom window is enabled or disabled */
@@ -1339,6 +1983,336 @@ export declare interface MaintenanceWindow {
1339
1983
  dayOfWeek?: number;
1340
1984
  }
1341
1985
 
1986
+ /**
1987
+ * Defines values for MigrationDetailsLevel. \
1988
+ * {@link KnownMigrationDetailsLevel} can be used interchangeably with MigrationDetailsLevel,
1989
+ * this enum contains the known values that the service supports.
1990
+ * ### Known values supported by the service
1991
+ * **Default** \
1992
+ * **Summary** \
1993
+ * **Full**
1994
+ */
1995
+ export declare type MigrationDetailsLevel = string;
1996
+
1997
+ /**
1998
+ * Defines values for MigrationListFilter. \
1999
+ * {@link KnownMigrationListFilter} can be used interchangeably with MigrationListFilter,
2000
+ * this enum contains the known values that the service supports.
2001
+ * ### Known values supported by the service
2002
+ * **Active** \
2003
+ * **All**
2004
+ */
2005
+ export declare type MigrationListFilter = string;
2006
+
2007
+ /**
2008
+ * Defines values for MigrationMode. \
2009
+ * {@link KnownMigrationMode} can be used interchangeably with MigrationMode,
2010
+ * this enum contains the known values that the service supports.
2011
+ * ### Known values supported by the service
2012
+ * **Offline** \
2013
+ * **Online**
2014
+ */
2015
+ export declare type MigrationMode = string;
2016
+
2017
+ /**
2018
+ * Defines values for MigrationNameAvailabilityReason. \
2019
+ * {@link KnownMigrationNameAvailabilityReason} can be used interchangeably with MigrationNameAvailabilityReason,
2020
+ * this enum contains the known values that the service supports.
2021
+ * ### Known values supported by the service
2022
+ * **Invalid** \
2023
+ * **AlreadyExists**
2024
+ */
2025
+ export declare type MigrationNameAvailabilityReason = string;
2026
+
2027
+ /** Represents a migration name's availability. */
2028
+ export declare interface MigrationNameAvailabilityResource {
2029
+ /** The resource name to verify. */
2030
+ name: string;
2031
+ /** The type of the resource. */
2032
+ type: string;
2033
+ /**
2034
+ * Indicates whether the resource name is available.
2035
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2036
+ */
2037
+ readonly nameAvailable?: boolean;
2038
+ /**
2039
+ * Migration name availability reason
2040
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2041
+ */
2042
+ readonly reason?: MigrationNameAvailabilityReason;
2043
+ /**
2044
+ * Migration name availability message.
2045
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2046
+ */
2047
+ readonly message?: string;
2048
+ }
2049
+
2050
+ /** Represents a migration resource. */
2051
+ export declare interface MigrationResource extends TrackedResource {
2052
+ /**
2053
+ * ID for migration, a GUID.
2054
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2055
+ */
2056
+ readonly migrationId?: string;
2057
+ /**
2058
+ * Current status of migration
2059
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2060
+ */
2061
+ readonly currentStatus?: MigrationStatus;
2062
+ /** There are two types of migration modes Online and Offline */
2063
+ migrationMode?: MigrationMode;
2064
+ /**
2065
+ * Metadata of the source database server
2066
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2067
+ */
2068
+ readonly sourceDbServerMetadata?: DbServerMetadata;
2069
+ /**
2070
+ * Metadata of the target database server
2071
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2072
+ */
2073
+ readonly targetDbServerMetadata?: DbServerMetadata;
2074
+ /** ResourceId of the source database server */
2075
+ sourceDbServerResourceId?: string;
2076
+ /** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
2077
+ sourceDbServerFullyQualifiedDomainName?: string;
2078
+ /**
2079
+ * ResourceId of the source database server
2080
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2081
+ */
2082
+ readonly targetDbServerResourceId?: string;
2083
+ /** Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
2084
+ targetDbServerFullyQualifiedDomainName?: string;
2085
+ /** Migration secret parameters */
2086
+ secretParameters?: MigrationSecretParameters;
2087
+ /** Number of databases to migrate */
2088
+ dbsToMigrate?: string[];
2089
+ /** Indicates whether to setup LogicalReplicationOnSourceDb, if needed */
2090
+ setupLogicalReplicationOnSourceDbIfNeeded?: LogicalReplicationOnSourceDbEnum;
2091
+ /** Indicates whether the databases on the target server can be overwritten, if already present. If set to Disabled, the migration workflow will wait for a confirmation, if it detects that the database already exists. */
2092
+ overwriteDbsInTarget?: OverwriteDbsInTargetEnum;
2093
+ /** Start time in UTC for migration window */
2094
+ migrationWindowStartTimeInUtc?: Date;
2095
+ /** End time in UTC for migration window */
2096
+ migrationWindowEndTimeInUtc?: Date;
2097
+ /** Indicates whether the data migration should start right away */
2098
+ startDataMigration?: StartDataMigrationEnum;
2099
+ /** To trigger cutover for entire migration we need to send this flag as Enabled */
2100
+ triggerCutover?: TriggerCutoverEnum;
2101
+ /** When you want to trigger cutover for specific databases send triggerCutover flag as Enabled and database names in this array */
2102
+ dbsToTriggerCutoverOn?: string[];
2103
+ /** To trigger cancel for entire migration we need to send this flag as Enabled */
2104
+ cancel?: CancelEnum;
2105
+ /** When you want to trigger cancel for specific databases send cancel flag as Enabled and database names in this array */
2106
+ dbsToCancelMigrationOn?: string[];
2107
+ }
2108
+
2109
+ /** Represents a migration resource for patch. */
2110
+ export declare interface MigrationResourceForPatch {
2111
+ /** Application-specific metadata in the form of key-value pairs. */
2112
+ tags?: {
2113
+ [propertyName: string]: string;
2114
+ };
2115
+ /** ResourceId of the source database server */
2116
+ sourceDbServerResourceId?: string;
2117
+ /** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
2118
+ sourceDbServerFullyQualifiedDomainName?: string;
2119
+ /** Target server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
2120
+ targetDbServerFullyQualifiedDomainName?: string;
2121
+ /** Migration secret parameters */
2122
+ secretParameters?: MigrationSecretParameters;
2123
+ /** Number of databases to migrate */
2124
+ dbsToMigrate?: string[];
2125
+ /** Indicates whether to setup LogicalReplicationOnSourceDb, if needed */
2126
+ setupLogicalReplicationOnSourceDbIfNeeded?: LogicalReplicationOnSourceDbEnum;
2127
+ /** Indicates whether the databases on the target server can be overwritten, if already present. If set to Disabled, the migration workflow will wait for a confirmation, if it detects that the database already exists. */
2128
+ overwriteDbsInTarget?: OverwriteDbsInTargetEnum;
2129
+ /** Start time in UTC for migration window */
2130
+ migrationWindowStartTimeInUtc?: Date;
2131
+ /** Indicates whether the data migration should start right away */
2132
+ startDataMigration?: StartDataMigrationEnum;
2133
+ /** To trigger cutover for entire migration we need to send this flag as Enabled */
2134
+ triggerCutover?: TriggerCutoverEnum;
2135
+ /** When you want to trigger cutover for specific databases send triggerCutover flag as Enabled and database names in this array */
2136
+ dbsToTriggerCutoverOn?: string[];
2137
+ /** To trigger cancel for entire migration we need to send this flag as Enabled */
2138
+ cancel?: CancelEnum;
2139
+ /** When you want to trigger cancel for specific databases send cancel flag as Enabled and database names in this array */
2140
+ dbsToCancelMigrationOn?: string[];
2141
+ /** There are two types of migration modes Online and Offline */
2142
+ migrationMode?: MigrationMode;
2143
+ }
2144
+
2145
+ /** A list of migration resources. */
2146
+ export declare interface MigrationResourceListResult {
2147
+ /**
2148
+ * A list of migration resources.
2149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2150
+ */
2151
+ readonly value?: MigrationResource[];
2152
+ /**
2153
+ * The link used to get the next page of migrations.
2154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2155
+ */
2156
+ readonly nextLink?: string;
2157
+ }
2158
+
2159
+ /** Interface representing a Migrations. */
2160
+ export declare interface Migrations {
2161
+ /**
2162
+ * List all the migrations on a given target server.
2163
+ * @param subscriptionId The subscription ID of the target database server.
2164
+ * @param resourceGroupName The resource group name of the target database server.
2165
+ * @param targetDbServerName The name of the target database server.
2166
+ * @param options The options parameters.
2167
+ */
2168
+ listByTargetServer(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, options?: MigrationsListByTargetServerOptionalParams): PagedAsyncIterableIterator<MigrationResource>;
2169
+ /**
2170
+ * Creates a new migration.
2171
+ * @param subscriptionId The subscription ID of the target database server.
2172
+ * @param resourceGroupName The resource group name of the target database server.
2173
+ * @param targetDbServerName The name of the target database server.
2174
+ * @param migrationName The name of the migration.
2175
+ * @param parameters The required parameters for creating a migration.
2176
+ * @param options The options parameters.
2177
+ */
2178
+ create(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, parameters: MigrationResource, options?: MigrationsCreateOptionalParams): Promise<MigrationsCreateResponse>;
2179
+ /**
2180
+ * Gets details of a migration.
2181
+ * @param subscriptionId The subscription ID of the target database server.
2182
+ * @param resourceGroupName The resource group name of the target database server.
2183
+ * @param targetDbServerName The name of the target database server.
2184
+ * @param migrationName The name of the migration.
2185
+ * @param options The options parameters.
2186
+ */
2187
+ get(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, options?: MigrationsGetOptionalParams): Promise<MigrationsGetResponse>;
2188
+ /**
2189
+ * Updates an existing migration. The request body can contain one to many of the mutable properties
2190
+ * present in the migration definition. Certain property updates initiate migration state transitions.
2191
+ * @param subscriptionId The subscription ID of the target database server.
2192
+ * @param resourceGroupName The resource group name of the target database server.
2193
+ * @param targetDbServerName The name of the target database server.
2194
+ * @param migrationName The name of the migration.
2195
+ * @param parameters The required parameters for updating a migration.
2196
+ * @param options The options parameters.
2197
+ */
2198
+ update(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, parameters: MigrationResourceForPatch, options?: MigrationsUpdateOptionalParams): Promise<MigrationsUpdateResponse>;
2199
+ /**
2200
+ * Deletes a migration.
2201
+ * @param subscriptionId The subscription ID of the target database server.
2202
+ * @param resourceGroupName The resource group name of the target database server.
2203
+ * @param targetDbServerName The name of the target database server.
2204
+ * @param migrationName The name of the migration.
2205
+ * @param options The options parameters.
2206
+ */
2207
+ delete(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, options?: MigrationsDeleteOptionalParams): Promise<void>;
2208
+ }
2209
+
2210
+ /** Optional parameters. */
2211
+ export declare interface MigrationsCreateOptionalParams extends coreClient.OperationOptions {
2212
+ }
2213
+
2214
+ /** Contains response data for the create operation. */
2215
+ export declare type MigrationsCreateResponse = MigrationResource;
2216
+
2217
+ /** Optional parameters. */
2218
+ export declare interface MigrationsDeleteOptionalParams extends coreClient.OperationOptions {
2219
+ }
2220
+
2221
+ /** Migration secret parameters. */
2222
+ export declare interface MigrationSecretParameters {
2223
+ /** Admin credentials for source and target servers */
2224
+ adminCredentials: AdminCredentials;
2225
+ }
2226
+
2227
+ /** Optional parameters. */
2228
+ export declare interface MigrationsGetOptionalParams extends coreClient.OperationOptions {
2229
+ }
2230
+
2231
+ /** Contains response data for the get operation. */
2232
+ export declare type MigrationsGetResponse = MigrationResource;
2233
+
2234
+ /** Optional parameters. */
2235
+ export declare interface MigrationsListByTargetServerNextOptionalParams extends coreClient.OperationOptions {
2236
+ }
2237
+
2238
+ /** Contains response data for the listByTargetServerNext operation. */
2239
+ export declare type MigrationsListByTargetServerNextResponse = MigrationResourceListResult;
2240
+
2241
+ /** Optional parameters. */
2242
+ export declare interface MigrationsListByTargetServerOptionalParams extends coreClient.OperationOptions {
2243
+ /** Migration list filter. Retrieves either active migrations or all migrations. */
2244
+ migrationListFilter?: MigrationListFilter;
2245
+ }
2246
+
2247
+ /** Contains response data for the listByTargetServer operation. */
2248
+ export declare type MigrationsListByTargetServerResponse = MigrationResourceListResult;
2249
+
2250
+ /**
2251
+ * Defines values for MigrationState. \
2252
+ * {@link KnownMigrationState} can be used interchangeably with MigrationState,
2253
+ * this enum contains the known values that the service supports.
2254
+ * ### Known values supported by the service
2255
+ * **InProgress** \
2256
+ * **WaitingForUserAction** \
2257
+ * **Canceled** \
2258
+ * **Failed** \
2259
+ * **Succeeded**
2260
+ */
2261
+ export declare type MigrationState = string;
2262
+
2263
+ /** Migration status. */
2264
+ export declare interface MigrationStatus {
2265
+ /**
2266
+ * State of migration
2267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2268
+ */
2269
+ readonly state?: MigrationState;
2270
+ /**
2271
+ * Error message, if any, for the migration state
2272
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2273
+ */
2274
+ readonly error?: string;
2275
+ /**
2276
+ * Current Migration sub state details.
2277
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2278
+ */
2279
+ readonly currentSubStateDetails?: MigrationSubStateDetails;
2280
+ }
2281
+
2282
+ /**
2283
+ * Defines values for MigrationSubState. \
2284
+ * {@link KnownMigrationSubState} can be used interchangeably with MigrationSubState,
2285
+ * this enum contains the known values that the service supports.
2286
+ * ### Known values supported by the service
2287
+ * **PerformingPreRequisiteSteps** \
2288
+ * **WaitingForLogicalReplicationSetupRequestOnSourceDB** \
2289
+ * **WaitingForDBsToMigrateSpecification** \
2290
+ * **WaitingForTargetDBOverwriteConfirmation** \
2291
+ * **WaitingForDataMigrationScheduling** \
2292
+ * **WaitingForDataMigrationWindow** \
2293
+ * **MigratingData** \
2294
+ * **WaitingForCutoverTrigger** \
2295
+ * **CompletingMigration** \
2296
+ * **Completed**
2297
+ */
2298
+ export declare type MigrationSubState = string;
2299
+
2300
+ /** Migration sub state details. */
2301
+ export declare interface MigrationSubStateDetails {
2302
+ /**
2303
+ * Migration sub state.
2304
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2305
+ */
2306
+ readonly currentSubState?: MigrationSubState;
2307
+ }
2308
+
2309
+ /** Optional parameters. */
2310
+ export declare interface MigrationsUpdateOptionalParams extends coreClient.OperationOptions {
2311
+ }
2312
+
2313
+ /** Contains response data for the update operation. */
2314
+ export declare type MigrationsUpdateResponse = MigrationResource;
2315
+
1342
2316
  /** Represents a resource name availability. */
1343
2317
  export declare interface NameAvailability extends CheckNameAvailabilityResponse {
1344
2318
  /**
@@ -1366,24 +2340,15 @@ export declare interface Network {
1366
2340
  privateDnsZoneArmResourceId?: string;
1367
2341
  }
1368
2342
 
1369
- /** node type capability */
1370
- export declare interface NodeTypeCapability {
1371
- /**
1372
- * note type name
1373
- * NOTE: This property will not be serialized. It can only be populated by the server.
1374
- */
1375
- readonly name?: string;
1376
- /**
1377
- * note type
1378
- * NOTE: This property will not be serialized. It can only be populated by the server.
1379
- */
1380
- readonly nodeType?: string;
1381
- /**
1382
- * The status
1383
- * NOTE: This property will not be serialized. It can only be populated by the server.
1384
- */
1385
- readonly status?: string;
1386
- }
2343
+ /**
2344
+ * Defines values for OnlineResizeSupportedEnum. \
2345
+ * {@link KnownOnlineResizeSupportedEnum} can be used interchangeably with OnlineResizeSupportedEnum,
2346
+ * this enum contains the known values that the service supports.
2347
+ * ### Known values supported by the service
2348
+ * **Enabled** \
2349
+ * **Disabled**
2350
+ */
2351
+ export declare type OnlineResizeSupportedEnum = string;
1387
2352
 
1388
2353
  /** REST API operation definition. */
1389
2354
  export declare interface Operation {
@@ -1484,6 +2449,16 @@ export declare type OperationsListResponse = OperationListResult;
1484
2449
  */
1485
2450
  export declare type Origin = string;
1486
2451
 
2452
+ /**
2453
+ * Defines values for OverwriteDbsInTargetEnum. \
2454
+ * {@link KnownOverwriteDbsInTargetEnum} can be used interchangeably with OverwriteDbsInTargetEnum,
2455
+ * this enum contains the known values that the service supports.
2456
+ * ### Known values supported by the service
2457
+ * **Enabled** \
2458
+ * **Disabled**
2459
+ */
2460
+ export declare type OverwriteDbsInTargetEnum = string;
2461
+
1487
2462
  /**
1488
2463
  * Defines values for PasswordAuthEnum. \
1489
2464
  * {@link KnownPasswordAuthEnum} can be used interchangeably with PasswordAuthEnum,
@@ -1507,19 +2482,33 @@ export declare class PostgreSQLManagementFlexibleServerClient extends coreClient
1507
2482
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementFlexibleServerClientOptionalParams);
1508
2483
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1509
2484
  private addCustomApiVersionPolicy;
2485
+ /**
2486
+ * This method checks whether a proposed migration name is valid and available.
2487
+ * @param subscriptionId The subscription ID of the target database server.
2488
+ * @param resourceGroupName The resource group name of the target database server.
2489
+ * @param targetDbServerName The name of the target database server.
2490
+ * @param parameters The required parameters for checking if a migration name is available.
2491
+ * @param options The options parameters.
2492
+ */
2493
+ checkMigrationNameAvailability(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, parameters: MigrationNameAvailabilityResource, options?: CheckMigrationNameAvailabilityOptionalParams): Promise<CheckMigrationNameAvailabilityResponse>;
1510
2494
  administrators: Administrators;
1511
2495
  backups: Backups;
1512
2496
  locationBasedCapabilities: LocationBasedCapabilities;
2497
+ serverCapabilities: ServerCapabilities;
1513
2498
  checkNameAvailability: CheckNameAvailability;
1514
2499
  checkNameAvailabilityWithLocation: CheckNameAvailabilityWithLocation;
1515
2500
  configurations: Configurations;
1516
2501
  databases: Databases;
1517
2502
  firewallRules: FirewallRules;
1518
2503
  servers: Servers;
2504
+ migrations: Migrations;
1519
2505
  operations: Operations;
1520
2506
  getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
1521
2507
  replicas: Replicas;
2508
+ logFiles: LogFiles;
1522
2509
  virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
2510
+ flexibleServer: FlexibleServer;
2511
+ ltrBackupOperations: LtrBackupOperations;
1523
2512
  }
1524
2513
 
1525
2514
  /** Optional parameters. */
@@ -1610,6 +2599,16 @@ export declare interface RestartParameter {
1610
2599
  failoverMode?: FailoverMode;
1611
2600
  }
1612
2601
 
2602
+ /**
2603
+ * Defines values for RestrictedEnum. \
2604
+ * {@link KnownRestrictedEnum} can be used interchangeably with RestrictedEnum,
2605
+ * this enum contains the known values that the service supports.
2606
+ * ### Known values supported by the service
2607
+ * **Enabled** \
2608
+ * **Disabled**
2609
+ */
2610
+ export declare type RestrictedEnum = string;
2611
+
1613
2612
  /** Represents a server. */
1614
2613
  export declare interface Server extends TrackedResource {
1615
2614
  /** The SKU (pricing tier) of the server. */
@@ -1654,16 +2653,19 @@ export declare interface Server extends TrackedResource {
1654
2653
  highAvailability?: HighAvailability;
1655
2654
  /** Maintenance window properties of a server. */
1656
2655
  maintenanceWindow?: MaintenanceWindow;
1657
- /** The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica'. */
2656
+ /** The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server */
1658
2657
  sourceServerResourceId?: string;
1659
- /** Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore'. */
2658
+ /** Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'ReviveDropped'. */
1660
2659
  pointInTimeUTC?: Date;
1661
2660
  /** availability zone information of the server. */
1662
2661
  availabilityZone?: string;
1663
2662
  /** Replication role of the server */
1664
2663
  replicationRole?: ReplicationRole;
1665
- /** Replicas allowed for a server. */
1666
- replicaCapacity?: number;
2664
+ /**
2665
+ * Replicas allowed for a server.
2666
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2667
+ */
2668
+ readonly replicaCapacity?: number;
1667
2669
  /** The mode to create a new PostgreSQL server. */
1668
2670
  createMode?: CreateMode;
1669
2671
  }
@@ -1686,6 +2688,31 @@ export declare interface ServerBackupListResult {
1686
2688
  nextLink?: string;
1687
2689
  }
1688
2690
 
2691
+ /** Interface representing a ServerCapabilities. */
2692
+ export declare interface ServerCapabilities {
2693
+ /**
2694
+ * Get capabilities for a flexible server.
2695
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2696
+ * @param serverName The name of the server.
2697
+ * @param options The options parameters.
2698
+ */
2699
+ list(resourceGroupName: string, serverName: string, options?: ServerCapabilitiesListOptionalParams): PagedAsyncIterableIterator<FlexibleServerCapability>;
2700
+ }
2701
+
2702
+ /** Optional parameters. */
2703
+ export declare interface ServerCapabilitiesListNextOptionalParams extends coreClient.OperationOptions {
2704
+ }
2705
+
2706
+ /** Contains response data for the listNext operation. */
2707
+ export declare type ServerCapabilitiesListNextResponse = CapabilitiesListResult;
2708
+
2709
+ /** Optional parameters. */
2710
+ export declare interface ServerCapabilitiesListOptionalParams extends coreClient.OperationOptions {
2711
+ }
2712
+
2713
+ /** Contains response data for the list operation. */
2714
+ export declare type ServerCapabilitiesListResponse = CapabilitiesListResult;
2715
+
1689
2716
  /** Represents a server to be updated. */
1690
2717
  export declare interface ServerForUpdate {
1691
2718
  /** The SKU (pricing tier) of the server. */
@@ -1901,6 +2928,48 @@ export declare interface ServersGetOptionalParams extends coreClient.OperationOp
1901
2928
  /** Contains response data for the get operation. */
1902
2929
  export declare type ServersGetResponse = Server;
1903
2930
 
2931
+ /** Sku capability */
2932
+ export declare interface ServerSku extends CapabilityBase {
2933
+ /**
2934
+ * Sku name
2935
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2936
+ */
2937
+ readonly name?: string;
2938
+ /**
2939
+ * Supported vCores
2940
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2941
+ */
2942
+ readonly vCores?: number;
2943
+ /**
2944
+ * Supported IOPS
2945
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2946
+ */
2947
+ readonly supportedIops?: number;
2948
+ /**
2949
+ * Supported memory per vCore in MB
2950
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2951
+ */
2952
+ readonly supportedMemoryPerVcoreMb?: number;
2953
+ /**
2954
+ * List of supported Availability Zones. E.g. "1", "2", "3"
2955
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2956
+ */
2957
+ readonly supportedZones?: string[];
2958
+ /**
2959
+ * Supported high availability mode
2960
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2961
+ */
2962
+ readonly supportedHaMode?: HaMode[];
2963
+ }
2964
+
2965
+ /** Sku information related properties of a server. */
2966
+ export declare interface ServerSkuAutoGenerated {
2967
+ /** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
2968
+ name: string;
2969
+ /** The tier of the particular SKU, e.g. Burstable. */
2970
+ tier: SkuTier;
2971
+ }
2972
+
1904
2973
  /** Optional parameters. */
1905
2974
  export declare interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1906
2975
  }
@@ -2006,6 +3075,7 @@ export declare type ServersUpdateResponse = Server;
2006
3075
  * {@link KnownServerVersion} can be used interchangeably with ServerVersion,
2007
3076
  * this enum contains the known values that the service supports.
2008
3077
  * ### Known values supported by the service
3078
+ * **15** \
2009
3079
  * **14** \
2010
3080
  * **13** \
2011
3081
  * **12** \
@@ -2014,9 +3084,9 @@ export declare type ServersUpdateResponse = Server;
2014
3084
  export declare type ServerVersion = string;
2015
3085
 
2016
3086
  /** Server version capabilities. */
2017
- export declare interface ServerVersionCapability {
3087
+ export declare interface ServerVersionCapability extends CapabilityBase {
2018
3088
  /**
2019
- * server version
3089
+ * Server version
2020
3090
  * NOTE: This property will not be serialized. It can only be populated by the server.
2021
3091
  */
2022
3092
  readonly name?: string;
@@ -2025,13 +3095,6 @@ export declare interface ServerVersionCapability {
2025
3095
  * NOTE: This property will not be serialized. It can only be populated by the server.
2026
3096
  */
2027
3097
  readonly supportedVersionsToUpgrade?: string[];
2028
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
2029
- readonly supportedVcores?: VcoreCapability[];
2030
- /**
2031
- * The status
2032
- * NOTE: This property will not be serialized. It can only be populated by the server.
2033
- */
2034
- readonly status?: string;
2035
3098
  }
2036
3099
 
2037
3100
  /** Sku information related properties of a server. */
@@ -2053,81 +3116,107 @@ export declare interface Sku {
2053
3116
  */
2054
3117
  export declare type SkuTier = string;
2055
3118
 
3119
+ /**
3120
+ * Defines values for StartDataMigrationEnum. \
3121
+ * {@link KnownStartDataMigrationEnum} can be used interchangeably with StartDataMigrationEnum,
3122
+ * this enum contains the known values that the service supports.
3123
+ * ### Known values supported by the service
3124
+ * **Enabled** \
3125
+ * **Disabled**
3126
+ */
3127
+ export declare type StartDataMigrationEnum = string;
3128
+
2056
3129
  /** Storage properties of a server */
2057
3130
  declare interface Storage_2 {
2058
3131
  /** Max storage allowed for a server. */
2059
3132
  storageSizeGB?: number;
3133
+ /** Flag to enable / disable Storage Auto grow for flexible server. */
3134
+ autoGrow?: StorageAutoGrow;
3135
+ /** Name of storage tier for IOPS. */
3136
+ iopsTier?: AzureManagedDiskPerformanceTiers;
3137
+ /**
3138
+ * Storage tier IOPS quantity.
3139
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3140
+ */
3141
+ readonly iops?: number;
2060
3142
  }
2061
3143
  export { Storage_2 as Storage }
2062
3144
 
2063
- /** storage edition capability */
2064
- export declare interface StorageEditionCapability {
3145
+ /**
3146
+ * Defines values for StorageAutoGrow. \
3147
+ * {@link KnownStorageAutoGrow} can be used interchangeably with StorageAutoGrow,
3148
+ * this enum contains the known values that the service supports.
3149
+ * ### Known values supported by the service
3150
+ * **Enabled** \
3151
+ * **Disabled**
3152
+ */
3153
+ export declare type StorageAutoGrow = string;
3154
+
3155
+ /**
3156
+ * Defines values for StorageAutoGrowthSupportedEnum. \
3157
+ * {@link KnownStorageAutoGrowthSupportedEnum} can be used interchangeably with StorageAutoGrowthSupportedEnum,
3158
+ * this enum contains the known values that the service supports.
3159
+ * ### Known values supported by the service
3160
+ * **Enabled** \
3161
+ * **Disabled**
3162
+ */
3163
+ export declare type StorageAutoGrowthSupportedEnum = string;
3164
+
3165
+ /** Storage edition capability */
3166
+ export declare interface StorageEditionCapability extends CapabilityBase {
2065
3167
  /**
2066
- * storage edition name
3168
+ * Storage edition name
2067
3169
  * NOTE: This property will not be serialized. It can only be populated by the server.
2068
3170
  */
2069
3171
  readonly name?: string;
2070
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
2071
- readonly supportedStorageMB?: StorageMBCapability[];
2072
3172
  /**
2073
- * The status
3173
+ * Default storage size in MB for storage edition
3174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3175
+ */
3176
+ readonly defaultStorageSizeMb?: number;
3177
+ /**
3178
+ * Flexible server supported storage range in MB
2074
3179
  * NOTE: This property will not be serialized. It can only be populated by the server.
2075
3180
  */
2076
- readonly status?: string;
3181
+ readonly supportedStorageMb?: StorageMbCapability[];
2077
3182
  }
2078
3183
 
2079
3184
  /** storage size in MB capability */
2080
- export declare interface StorageMBCapability {
3185
+ export declare interface StorageMbCapability extends CapabilityBase {
2081
3186
  /**
2082
- * storage MB name
3187
+ * Supported IOPS
2083
3188
  * NOTE: This property will not be serialized. It can only be populated by the server.
2084
3189
  */
2085
- readonly name?: string;
3190
+ readonly supportedIops?: number;
2086
3191
  /**
2087
- * supported IOPS
3192
+ * Storage size in MB
2088
3193
  * NOTE: This property will not be serialized. It can only be populated by the server.
2089
3194
  */
2090
- readonly supportedIops?: number;
3195
+ readonly storageSizeMb?: number;
2091
3196
  /**
2092
- * storage size in MB
3197
+ * Default tier for IOPS
2093
3198
  * NOTE: This property will not be serialized. It can only be populated by the server.
2094
3199
  */
2095
- readonly storageSizeMB?: number;
2096
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
2097
- readonly supportedUpgradableTierList?: StorageTierCapability[];
3200
+ readonly defaultIopsTier?: string;
2098
3201
  /**
2099
- * The status
3202
+ * List of available options to upgrade the storage performance
2100
3203
  * NOTE: This property will not be serialized. It can only be populated by the server.
2101
3204
  */
2102
- readonly status?: string;
3205
+ readonly supportedIopsTiers?: StorageTierCapability[];
2103
3206
  }
2104
3207
 
2105
- export declare interface StorageTierCapability {
3208
+ /** Represents capability of a storage tier */
3209
+ export declare interface StorageTierCapability extends CapabilityBase {
2106
3210
  /**
2107
3211
  * Name to represent Storage tier capability
2108
3212
  * NOTE: This property will not be serialized. It can only be populated by the server.
2109
3213
  */
2110
3214
  readonly name?: string;
2111
- /**
2112
- * Storage tier name
2113
- * NOTE: This property will not be serialized. It can only be populated by the server.
2114
- */
2115
- readonly tierName?: string;
2116
3215
  /**
2117
3216
  * Supported IOPS for this storage tier
2118
3217
  * NOTE: This property will not be serialized. It can only be populated by the server.
2119
3218
  */
2120
3219
  readonly iops?: number;
2121
- /**
2122
- * Indicates if this is a baseline storage tier or not
2123
- * NOTE: This property will not be serialized. It can only be populated by the server.
2124
- */
2125
- readonly isBaseline?: boolean;
2126
- /**
2127
- * Status os this storage tier
2128
- * NOTE: This property will not be serialized. It can only be populated by the server.
2129
- */
2130
- readonly status?: string;
2131
3220
  }
2132
3221
 
2133
3222
  /** Metadata pertaining to creation and last modification of the resource. */
@@ -2156,13 +3245,23 @@ export declare interface TrackedResource extends Resource {
2156
3245
  location: string;
2157
3246
  }
2158
3247
 
3248
+ /**
3249
+ * Defines values for TriggerCutoverEnum. \
3250
+ * {@link KnownTriggerCutoverEnum} can be used interchangeably with TriggerCutoverEnum,
3251
+ * this enum contains the known values that the service supports.
3252
+ * ### Known values supported by the service
3253
+ * **Enabled** \
3254
+ * **Disabled**
3255
+ */
3256
+ export declare type TriggerCutoverEnum = string;
3257
+
2159
3258
  /** Information describing the identities associated with this application. */
2160
3259
  export declare interface UserAssignedIdentity {
2161
3260
  /** represents user assigned identities map. */
2162
3261
  userAssignedIdentities?: {
2163
3262
  [propertyName: string]: UserIdentity;
2164
3263
  };
2165
- /** the types of identities associated with this resource; currently restricted to 'SystemAssigned and UserAssigned' */
3264
+ /** the types of identities associated with this resource; currently restricted to 'None and UserAssigned' */
2166
3265
  type: IdentityType;
2167
3266
  }
2168
3267
 
@@ -2174,35 +3273,6 @@ export declare interface UserIdentity {
2174
3273
  clientId?: string;
2175
3274
  }
2176
3275
 
2177
- /** Vcores capability */
2178
- export declare interface VcoreCapability {
2179
- /**
2180
- * vCore name
2181
- * NOTE: This property will not be serialized. It can only be populated by the server.
2182
- */
2183
- readonly name?: string;
2184
- /**
2185
- * supported vCores
2186
- * NOTE: This property will not be serialized. It can only be populated by the server.
2187
- */
2188
- readonly vCores?: number;
2189
- /**
2190
- * supported IOPS
2191
- * NOTE: This property will not be serialized. It can only be populated by the server.
2192
- */
2193
- readonly supportedIops?: number;
2194
- /**
2195
- * supported memory per vCore in MB
2196
- * NOTE: This property will not be serialized. It can only be populated by the server.
2197
- */
2198
- readonly supportedMemoryPerVcoreMB?: number;
2199
- /**
2200
- * The status
2201
- * NOTE: This property will not be serialized. It can only be populated by the server.
2202
- */
2203
- readonly status?: string;
2204
- }
2205
-
2206
3276
  /** Interface representing a VirtualNetworkSubnetUsage. */
2207
3277
  export declare interface VirtualNetworkSubnetUsage {
2208
3278
  /**
@@ -2243,4 +3313,24 @@ export declare interface VirtualNetworkSubnetUsageResult {
2243
3313
  readonly subscriptionId?: string;
2244
3314
  }
2245
3315
 
3316
+ /**
3317
+ * Defines values for ZoneRedundantHaAndGeoBackupSupportedEnum. \
3318
+ * {@link KnownZoneRedundantHaAndGeoBackupSupportedEnum} can be used interchangeably with ZoneRedundantHaAndGeoBackupSupportedEnum,
3319
+ * this enum contains the known values that the service supports.
3320
+ * ### Known values supported by the service
3321
+ * **Enabled** \
3322
+ * **Disabled**
3323
+ */
3324
+ export declare type ZoneRedundantHaAndGeoBackupSupportedEnum = string;
3325
+
3326
+ /**
3327
+ * Defines values for ZoneRedundantHaSupportedEnum. \
3328
+ * {@link KnownZoneRedundantHaSupportedEnum} can be used interchangeably with ZoneRedundantHaSupportedEnum,
3329
+ * this enum contains the known values that the service supports.
3330
+ * ### Known values supported by the service
3331
+ * **Enabled** \
3332
+ * **Disabled**
3333
+ */
3334
+ export declare type ZoneRedundantHaSupportedEnum = string;
3335
+
2246
3336
  export { }