@azure/arm-postgresql-flexible 8.0.0-beta.3 → 8.0.0-beta.5

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 (252) hide show
  1. package/CHANGELOG.md +501 -0
  2. package/dist/index.js +6142 -3689
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/administratorsCreateSample.js +1 -1
  7. package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
  9. package/dist-esm/samples-dev/administratorsListByServerSample.js +4 -9
  10. package/dist-esm/samples-dev/administratorsListByServerSample.js.map +1 -1
  11. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/backupsListByServerSample.js +4 -9
  13. package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
  14. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +1 -1
  15. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  16. package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
  17. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  18. package/dist-esm/samples-dev/configurationsListByServerSample.js +4 -9
  19. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  20. package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
  21. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  22. package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
  23. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesListByServerSample.js +4 -9
  26. package/dist-esm/samples-dev/databasesListByServerSample.js.map +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 +4 -9
  31. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
  32. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +1 -1
  33. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +1 -1
  34. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
  35. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +4 -9
  36. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
  37. package/dist-esm/samples-dev/logFilesListByServerSample.js +4 -9
  38. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
  39. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +1 -1
  40. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +4 -9
  41. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
  42. package/dist-esm/samples-dev/migrationsCreateSample.js +70 -2
  43. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/migrationsDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/migrationsGetSample.js +77 -1
  46. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
  47. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +4 -9
  48. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
  49. package/dist-esm/samples-dev/migrationsUpdateSample.js +2 -2
  50. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  51. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +40 -0
  54. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
  55. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +46 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +55 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -0
  67. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +40 -0
  70. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +55 -0
  74. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -0
  75. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/quotaUsagesListSample.js +54 -0
  78. package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -0
  79. package/dist-esm/samples-dev/replicasListByServerSample.js +4 -9
  80. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
  81. package/dist-esm/samples-dev/serverCapabilitiesListSample.js +4 -9
  82. package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
  83. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +41 -0
  86. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -0
  87. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +40 -0
  90. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js.map +1 -0
  91. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +55 -0
  94. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -0
  95. package/dist-esm/samples-dev/serversCreateSample.js +7 -7
  96. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  97. package/dist-esm/samples-dev/serversGetSample.js +21 -2
  98. package/dist-esm/samples-dev/serversGetSample.js.map +1 -1
  99. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +4 -9
  100. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
  101. package/dist-esm/samples-dev/serversListSample.js +4 -9
  102. package/dist-esm/samples-dev/serversListSample.js.map +1 -1
  103. package/dist-esm/samples-dev/serversRestartSample.js +2 -2
  104. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  105. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  106. package/dist-esm/samples-dev/serversUpdateSample.js +93 -5
  107. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  108. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +44 -0
  111. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -0
  112. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +40 -0
  115. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js.map +1 -0
  116. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/virtualEndpointsGetSample.js +40 -0
  119. package/dist-esm/samples-dev/virtualEndpointsGetSample.js.map +1 -0
  120. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +55 -0
  123. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -0
  124. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +44 -0
  127. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -0
  128. package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
  129. package/dist-esm/src/models/index.d.ts +825 -118
  130. package/dist-esm/src/models/index.d.ts.map +1 -1
  131. package/dist-esm/src/models/index.js +158 -12
  132. package/dist-esm/src/models/index.js.map +1 -1
  133. package/dist-esm/src/models/mappers.d.ts +33 -7
  134. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  135. package/dist-esm/src/models/mappers.js +1108 -282
  136. package/dist-esm/src/models/mappers.js.map +1 -1
  137. package/dist-esm/src/models/parameters.d.ts +12 -4
  138. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  139. package/dist-esm/src/models/parameters.js +82 -18
  140. package/dist-esm/src/models/parameters.js.map +1 -1
  141. package/dist-esm/src/operations/administrators.js +3 -8
  142. package/dist-esm/src/operations/administrators.js.map +1 -1
  143. package/dist-esm/src/operations/backups.js +3 -8
  144. package/dist-esm/src/operations/backups.js.map +1 -1
  145. package/dist-esm/src/operations/configurations.js +3 -8
  146. package/dist-esm/src/operations/configurations.js.map +1 -1
  147. package/dist-esm/src/operations/databases.js +3 -8
  148. package/dist-esm/src/operations/databases.js.map +1 -1
  149. package/dist-esm/src/operations/firewallRules.js +3 -8
  150. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  151. package/dist-esm/src/operations/flexibleServer.js +2 -2
  152. package/dist-esm/src/operations/flexibleServer.js.map +1 -1
  153. package/dist-esm/src/operations/index.d.ts +8 -2
  154. package/dist-esm/src/operations/index.d.ts.map +1 -1
  155. package/dist-esm/src/operations/index.js +8 -2
  156. package/dist-esm/src/operations/index.js.map +1 -1
  157. package/dist-esm/src/operations/locationBasedCapabilities.js +3 -8
  158. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
  159. package/dist-esm/src/operations/logFiles.js +3 -8
  160. package/dist-esm/src/operations/logFiles.js.map +1 -1
  161. package/dist-esm/src/operations/ltrBackupOperations.js +3 -8
  162. package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
  163. package/dist-esm/src/operations/migrations.js +5 -10
  164. package/dist-esm/src/operations/migrations.js.map +1 -1
  165. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +48 -0
  166. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  167. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +218 -0
  168. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  169. package/dist-esm/src/operations/privateEndpointConnections.d.ts +46 -0
  170. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  171. package/dist-esm/src/operations/privateEndpointConnections.js +182 -0
  172. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  173. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  174. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  175. package/dist-esm/src/operations/privateLinkResources.js +182 -0
  176. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  177. package/dist-esm/src/operations/quotaUsages.d.ts +35 -0
  178. package/dist-esm/src/operations/quotaUsages.d.ts.map +1 -0
  179. package/dist-esm/src/operations/quotaUsages.js +145 -0
  180. package/dist-esm/src/operations/quotaUsages.js.map +1 -0
  181. package/dist-esm/src/operations/replicas.js +3 -8
  182. package/dist-esm/src/operations/replicas.js.map +1 -1
  183. package/dist-esm/src/operations/serverCapabilities.js +3 -8
  184. package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
  185. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts +65 -0
  186. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -0
  187. package/dist-esm/src/operations/serverThreatProtectionSettings.js +283 -0
  188. package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -0
  189. package/dist-esm/src/operations/servers.js +6 -16
  190. package/dist-esm/src/operations/servers.js.map +1 -1
  191. package/dist-esm/src/operations/virtualEndpoints.d.ts +101 -0
  192. package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -0
  193. package/dist-esm/src/operations/virtualEndpoints.js +473 -0
  194. package/dist-esm/src/operations/virtualEndpoints.js.map +1 -0
  195. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
  196. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -2
  197. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  198. package/dist-esm/src/operationsInterfaces/index.js +8 -2
  199. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  200. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +40 -0
  201. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +21 -0
  205. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  209. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts +12 -0
  213. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/quotaUsages.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/quotaUsages.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts +40 -0
  217. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts +76 -0
  221. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js.map +1 -0
  224. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +10 -4
  225. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  226. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +12 -6
  227. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  228. package/package.json +9 -7
  229. package/review/arm-postgresql-flexible.api.md +554 -4
  230. package/src/models/index.ts +938 -134
  231. package/src/models/mappers.ts +1252 -373
  232. package/src/models/parameters.ts +96 -20
  233. package/src/operations/flexibleServer.ts +2 -2
  234. package/src/operations/index.ts +8 -2
  235. package/src/operations/migrations.ts +2 -2
  236. package/src/operations/privateEndpointConnectionOperations.ts +316 -0
  237. package/src/operations/privateEndpointConnections.ts +243 -0
  238. package/src/operations/privateLinkResources.ts +242 -0
  239. package/src/operations/quotaUsages.ts +170 -0
  240. package/src/operations/serverThreatProtectionSettings.ts +393 -0
  241. package/src/operations/virtualEndpoints.ts +667 -0
  242. package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
  243. package/src/operationsInterfaces/index.ts +8 -2
  244. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +86 -0
  245. package/src/operationsInterfaces/privateEndpointConnections.ts +44 -0
  246. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  247. package/src/operationsInterfaces/quotaUsages.ts +24 -0
  248. package/src/operationsInterfaces/serverThreatProtectionSettings.ts +83 -0
  249. package/src/operationsInterfaces/virtualEndpoints.ts +155 -0
  250. package/src/postgreSQLManagementFlexibleServerClient.ts +42 -14
  251. package/types/arm-postgresql-flexible.d.ts +1027 -25
  252. package/types/tsdoc-metadata.json +1 -1
@@ -21,7 +21,7 @@ export interface ActiveDirectoryAdministratorAdd {
21
21
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
22
22
  export interface Resource {
23
23
  /**
24
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
24
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
25
25
  * NOTE: This property will not be serialized. It can only be populated by the server.
26
26
  */
27
27
  readonly id?: string;
@@ -283,11 +283,12 @@ export interface Storage {
283
283
  autoGrow?: StorageAutoGrow;
284
284
  /** Name of storage tier for IOPS. */
285
285
  tier?: AzureManagedDiskPerformanceTiers;
286
- /**
287
- * Storage tier IOPS quantity.
288
- * NOTE: This property will not be serialized. It can only be populated by the server.
289
- */
290
- readonly iops?: number;
286
+ /** Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS */
287
+ iops?: number;
288
+ /** Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS */
289
+ throughput?: number;
290
+ /** Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified */
291
+ type?: StorageType;
291
292
  }
292
293
 
293
294
  /** Authentication configuration properties of a server */
@@ -333,11 +334,8 @@ export interface Backup {
333
334
 
334
335
  /** Network properties of a server. */
335
336
  export interface Network {
336
- /**
337
- * public network access is enabled or not
338
- * NOTE: This property will not be serialized. It can only be populated by the server.
339
- */
340
- readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
337
+ /** public network access is enabled or not */
338
+ publicNetworkAccess?: ServerPublicNetworkAccessState;
341
339
  /** Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone. */
342
340
  delegatedSubnetResourceId?: string;
343
341
  /** Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone. */
@@ -369,6 +367,45 @@ export interface MaintenanceWindow {
369
367
  dayOfWeek?: number;
370
368
  }
371
369
 
370
+ /** Replica properties of a server */
371
+ export interface Replica {
372
+ /** Used to indicate role of the server in replication set. */
373
+ role?: ReplicationRole;
374
+ /**
375
+ * Replicas allowed for a server.
376
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
+ */
378
+ readonly capacity?: number;
379
+ /**
380
+ * Gets the replication state of a replica server. This property is returned only for replicas api call. Supported values are Active, Catchup, Provisioning, Updating, Broken, Reconfiguring
381
+ * NOTE: This property will not be serialized. It can only be populated by the server.
382
+ */
383
+ readonly replicationState?: ReplicationState;
384
+ /** Sets the promote mode for a replica server. This is a write only property. */
385
+ promoteMode?: ReadReplicaPromoteMode;
386
+ /** Sets the promote options for a replica server. This is a write only property. */
387
+ promoteOption?: ReplicationPromoteOption;
388
+ }
389
+
390
+ /** The private endpoint resource. */
391
+ export interface PrivateEndpoint {
392
+ /**
393
+ * The ARM identifier for private endpoint.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly id?: string;
397
+ }
398
+
399
+ /** A collection of information about the state of the connection between service consumer and provider. */
400
+ export interface PrivateLinkServiceConnectionState {
401
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
402
+ status?: PrivateEndpointServiceConnectionStatus;
403
+ /** The reason for approval/rejection of the connection. */
404
+ description?: string;
405
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
406
+ actionsRequired?: string;
407
+ }
408
+
372
409
  /** Represents a server to be updated. */
373
410
  export interface ServerForUpdate {
374
411
  /** The SKU (pricing tier) of the server. */
@@ -382,7 +419,7 @@ export interface ServerForUpdate {
382
419
  * This value contains a credential. Consider obscuring before showing to users
383
420
  */
384
421
  administratorLoginPassword?: string;
385
- /** PostgreSQL Server version. */
422
+ /** PostgreSQL Server version. Version 16 is currently not supported for MVU. */
386
423
  version?: ServerVersion;
387
424
  /** Storage properties of a server. */
388
425
  storage?: Storage;
@@ -400,6 +437,8 @@ export interface ServerForUpdate {
400
437
  createMode?: CreateModeForUpdate;
401
438
  /** Replication role of the server */
402
439
  replicationRole?: ReplicationRole;
440
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
441
+ replica?: Replica;
403
442
  /** Network properties of a server. These are required to be passed only in case if server is a private access server. */
404
443
  network?: Network;
405
444
  }
@@ -412,6 +451,68 @@ export interface ServerListResult {
412
451
  nextLink?: string;
413
452
  }
414
453
 
454
+ /** BackupRequestBase is the base for all backup request. */
455
+ export interface BackupRequestBase {
456
+ /** Backup Settings */
457
+ backupSettings: BackupSettings;
458
+ }
459
+
460
+ /** The settings for the long term backup. */
461
+ export interface BackupSettings {
462
+ /** Backup Name for the current backup */
463
+ backupName: string;
464
+ }
465
+
466
+ /** Response for the LTR pre-backup API call */
467
+ export interface LtrPreBackupResponse {
468
+ /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
469
+ numberOfContainers: number;
470
+ }
471
+
472
+ /** Details about the target where the backup content will be stored. */
473
+ export interface BackupStoreDetails {
474
+ /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
475
+ sasUriList: string[];
476
+ }
477
+
478
+ /** Response for the LTR backup API call */
479
+ export interface LtrBackupResponse {
480
+ /** Size of datasource in bytes */
481
+ datasourceSizeInBytes?: number;
482
+ /** Data transferred in bytes */
483
+ dataTransferredInBytes?: number;
484
+ /** Name of Backup operation */
485
+ backupName?: string;
486
+ /** 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 */
487
+ backupMetadata?: string;
488
+ /** Service-set extensible enum indicating the status of operation */
489
+ status?: ExecutionStatus;
490
+ /** Start time of the operation. */
491
+ startTime?: Date;
492
+ /** End time of the operation. */
493
+ endTime?: Date;
494
+ /** PercentageCompleted */
495
+ percentComplete?: number;
496
+ /**
497
+ * The error code.
498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
499
+ */
500
+ readonly errorCode?: string;
501
+ /**
502
+ * The error message.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
+ */
505
+ readonly errorMessage?: string;
506
+ }
507
+
508
+ /** A list of long term retention backup operations for server. */
509
+ export interface LtrServerBackupOperationList {
510
+ /** The list of long term retention server backup operations */
511
+ value?: LtrServerBackupOperation[];
512
+ /** The link used to get the next page of operations. */
513
+ nextLink?: string;
514
+ }
515
+
415
516
  /** Migration status. */
416
517
  export interface MigrationStatus {
417
518
  /**
@@ -438,6 +539,90 @@ export interface MigrationSubStateDetails {
438
539
  * NOTE: This property will not be serialized. It can only be populated by the server.
439
540
  */
440
541
  readonly currentSubState?: MigrationSubState;
542
+ /** Dictionary of <DbMigrationStatus> */
543
+ dbDetails?: { [propertyName: string]: DbMigrationStatus };
544
+ /** Details for the validation for migration */
545
+ validationDetails?: ValidationDetails;
546
+ }
547
+
548
+ /** Migration status of an individual database */
549
+ export interface DbMigrationStatus {
550
+ /** Name of the database */
551
+ databaseName?: string;
552
+ /** Migration db state of an individual database */
553
+ migrationState?: MigrationDbState;
554
+ /** Migration operation of an individual database */
555
+ migrationOperation?: string;
556
+ /** Start date-time of a migration state */
557
+ startedOn?: Date;
558
+ /** End date-time of a migration state */
559
+ endedOn?: Date;
560
+ /** Number of tables queued for the migration of a DB */
561
+ fullLoadQueuedTables?: number;
562
+ /** Number of tables errored out during the migration of a DB */
563
+ fullLoadErroredTables?: number;
564
+ /** Number of tables loading during the migration of a DB */
565
+ fullLoadLoadingTables?: number;
566
+ /** Number of tables loaded during the migration of a DB */
567
+ fullLoadCompletedTables?: number;
568
+ /** CDC update counter */
569
+ cdcUpdateCounter?: number;
570
+ /** CDC delete counter */
571
+ cdcDeleteCounter?: number;
572
+ /** CDC insert counter */
573
+ cdcInsertCounter?: number;
574
+ /** CDC applied changes counter */
575
+ appliedChanges?: number;
576
+ /** CDC incoming changes counter */
577
+ incomingChanges?: number;
578
+ /** Lag in seconds between source and target during online phase */
579
+ latency?: number;
580
+ /** Error message, if any, for the migration state */
581
+ message?: string;
582
+ }
583
+
584
+ /** Details for the validation for migration */
585
+ export interface ValidationDetails {
586
+ /** Validation status for migration */
587
+ status?: ValidationState;
588
+ /** Validation Start date-time in UTC */
589
+ validationStartTimeInUtc?: Date;
590
+ /** Validation End date-time in UTC */
591
+ validationEndTimeInUtc?: Date;
592
+ /** Details of server level validations */
593
+ serverLevelValidationDetails?: ValidationSummaryItem[];
594
+ /** Details of server level validations */
595
+ dbLevelValidationDetails?: DbLevelValidationStatus[];
596
+ }
597
+
598
+ /** Validation summary object */
599
+ export interface ValidationSummaryItem {
600
+ /** Validation type */
601
+ type?: string;
602
+ /** Validation status for migration */
603
+ state?: ValidationState;
604
+ /** Validation messages */
605
+ messages?: ValidationMessage[];
606
+ }
607
+
608
+ /** Validation message object */
609
+ export interface ValidationMessage {
610
+ /** Severity of validation message */
611
+ state?: ValidationState;
612
+ /** Validation message string */
613
+ message?: string;
614
+ }
615
+
616
+ /** Validation status summary for an individual database */
617
+ export interface DbLevelValidationStatus {
618
+ /** Name of the database */
619
+ databaseName?: string;
620
+ /** Start date-time of a database level validation */
621
+ startedOn?: Date;
622
+ /** End date-time of a database level validation */
623
+ endedOn?: Date;
624
+ /** Summary of database level validations */
625
+ summary?: ValidationSummaryItem[];
441
626
  }
442
627
 
443
628
  /** Database server metadata. */
@@ -451,16 +636,16 @@ export interface DbServerMetadata {
451
636
  version?: string;
452
637
  /** Storage size in MB for database server */
453
638
  storageMb?: number;
454
- /** SKU for the database server */
639
+ /** SKU for the database server. This object is empty for PG single server */
455
640
  sku?: ServerSku;
456
641
  }
457
642
 
458
643
  /** Sku information related properties of a server. */
459
644
  export interface ServerSku {
460
645
  /** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
461
- name: string;
646
+ name?: string;
462
647
  /** The tier of the particular SKU, e.g. Burstable. */
463
- tier: SkuTier;
648
+ tier?: SkuTier;
464
649
  }
465
650
 
466
651
  /** Migration secret parameters. */
@@ -613,6 +798,70 @@ export interface OperationDisplay {
613
798
  readonly description?: string;
614
799
  }
615
800
 
801
+ /** A list of private endpoint connections. */
802
+ export interface PrivateEndpointConnectionListResult {
803
+ /**
804
+ * Array of results.
805
+ * NOTE: This property will not be serialized. It can only be populated by the server.
806
+ */
807
+ readonly value?: PrivateEndpointConnection[];
808
+ /**
809
+ * The URL to get the next set of results.
810
+ * NOTE: This property will not be serialized. It can only be populated by the server.
811
+ */
812
+ readonly nextLink?: string;
813
+ }
814
+
815
+ /** A list of private link resources */
816
+ export interface PrivateLinkResourceListResult {
817
+ /**
818
+ * Array of results.
819
+ * NOTE: This property will not be serialized. It can only be populated by the server.
820
+ */
821
+ readonly value?: PrivateLinkResource[];
822
+ /**
823
+ * Link to retrieve next page of results.
824
+ * NOTE: This property will not be serialized. It can only be populated by the server.
825
+ */
826
+ readonly nextLink?: string;
827
+ }
828
+
829
+ /** Capability for the PostgreSQL server */
830
+ export interface QuotaUsagesListResult {
831
+ /**
832
+ * A list of quota usages.
833
+ * NOTE: This property will not be serialized. It can only be populated by the server.
834
+ */
835
+ readonly value?: QuotaUsage[];
836
+ /**
837
+ * Link to retrieve next page of results.
838
+ * NOTE: This property will not be serialized. It can only be populated by the server.
839
+ */
840
+ readonly nextLink?: string;
841
+ }
842
+
843
+ /** Quota usage for flexible servers */
844
+ export interface QuotaUsage {
845
+ /** Name of quota usage for flexible servers */
846
+ name?: NameProperty;
847
+ /** Quota limit */
848
+ limit?: number;
849
+ /** Quota unit */
850
+ unit?: string;
851
+ /** Current Quota usage value */
852
+ currentValue?: number;
853
+ /** Fully qualified ARM resource Id */
854
+ id?: string;
855
+ }
856
+
857
+ /** Name property for quota usage */
858
+ export interface NameProperty {
859
+ /** Name value */
860
+ value?: string;
861
+ /** Localized name */
862
+ localizedValue?: string;
863
+ }
864
+
616
865
  /** A List of logFiles. */
617
866
  export interface LogFileListResult {
618
867
  /** The list of logFiles in a server */
@@ -629,6 +878,41 @@ export interface RestartParameter {
629
878
  failoverMode?: FailoverMode;
630
879
  }
631
880
 
881
+ /** A list of the server's Advanced Threat Protection settings. */
882
+ export interface ServerThreatProtectionListResult {
883
+ /**
884
+ * Array of results.
885
+ * NOTE: This property will not be serialized. It can only be populated by the server.
886
+ */
887
+ readonly value?: ServerThreatProtectionSettingsModel[];
888
+ /**
889
+ * Link to retrieve next page of results.
890
+ * NOTE: This property will not be serialized. It can only be populated by the server.
891
+ */
892
+ readonly nextLink?: string;
893
+ }
894
+
895
+ /** Represents a virtual endpoint for a server. */
896
+ export interface VirtualEndpointResourceForPatch {
897
+ /** The endpoint type for the virtual endpoint. */
898
+ endpointType?: VirtualEndpointType;
899
+ /** List of members for a virtual endpoint */
900
+ members?: string[];
901
+ /**
902
+ * List of virtual endpoints for a server
903
+ * NOTE: This property will not be serialized. It can only be populated by the server.
904
+ */
905
+ readonly virtualEndpoints?: string[];
906
+ }
907
+
908
+ /** A list of virtual endpoints. */
909
+ export interface VirtualEndpointsListResult {
910
+ /** The list of virtual endpoints */
911
+ value?: VirtualEndpointResource[];
912
+ /** The link used to get the next page of operations. */
913
+ nextLink?: string;
914
+ }
915
+
632
916
  /** Virtual network subnet usage parameter */
633
917
  export interface VirtualNetworkSubnetUsageParameter {
634
918
  /** Virtual network resource id. */
@@ -665,71 +949,27 @@ export interface DelegatedSubnetUsage {
665
949
  readonly usage?: number;
666
950
  }
667
951
 
668
- /** BackupRequestBase is the base for all backup request. */
669
- export interface BackupRequestBase {
670
- /** Backup Settings */
671
- backupSettings: BackupSettings;
672
- }
673
-
674
- /** The settings for the long term backup. */
675
- export interface BackupSettings {
676
- /** Backup Name for the current backup */
677
- backupName: string;
678
- }
679
-
680
- /** Response for the LTR pre-backup API call */
681
- export interface LtrPreBackupResponse {
682
- /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
683
- numberOfContainers: number;
684
- }
685
-
686
- /** Details about the target where the backup content will be stored. */
687
- export interface BackupStoreDetails {
688
- /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
689
- sasUriList: string[];
690
- }
952
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
953
+ export interface ProxyResource extends Resource {}
691
954
 
692
- /** Response for the LTR backup API call */
693
- export interface LtrBackupResponse {
694
- /** Size of datasource in bytes */
695
- datasourceSizeInBytes?: number;
696
- /** Data transferred in bytes */
697
- dataTransferredInBytes?: number;
698
- /** Name of Backup operation */
699
- backupName?: string;
700
- /** 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 */
701
- backupMetadata?: string;
702
- /** Service-set extensible enum indicating the status of operation */
703
- status?: ExecutionStatus;
704
- /** Start time of the operation. */
705
- startTime?: Date;
706
- /** End time of the operation. */
707
- endTime?: Date;
708
- /** PercentageCompleted */
709
- percentComplete?: number;
955
+ /** The private endpoint connection resource. */
956
+ export interface PrivateEndpointConnection extends Resource {
710
957
  /**
711
- * The error code.
958
+ * The group ids for the private endpoint resource.
712
959
  * NOTE: This property will not be serialized. It can only be populated by the server.
713
960
  */
714
- readonly errorCode?: string;
961
+ readonly groupIds?: string[];
962
+ /** The private endpoint resource. */
963
+ privateEndpoint?: PrivateEndpoint;
964
+ /** A collection of information about the state of the connection between service consumer and provider. */
965
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
715
966
  /**
716
- * The error message.
967
+ * The provisioning state of the private endpoint connection resource.
717
968
  * NOTE: This property will not be serialized. It can only be populated by the server.
718
969
  */
719
- readonly errorMessage?: string;
720
- }
721
-
722
- /** A list of long term retention backup operations for server. */
723
- export interface LtrServerBackupOperationList {
724
- /** The list of long term retention server backup operations */
725
- value?: LtrServerBackupOperation[];
726
- /** The link used to get the next page of operations. */
727
- nextLink?: string;
970
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
728
971
  }
729
972
 
730
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
731
- export interface ProxyResource extends Resource {}
732
-
733
973
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
734
974
  export interface TrackedResource extends Resource {
735
975
  /** Resource tags. */
@@ -738,6 +978,27 @@ export interface TrackedResource extends Resource {
738
978
  location: string;
739
979
  }
740
980
 
981
+ /** A private link resource. */
982
+ export interface PrivateLinkResource extends Resource {
983
+ /**
984
+ * The private link resource group id.
985
+ * NOTE: This property will not be serialized. It can only be populated by the server.
986
+ */
987
+ readonly groupId?: string;
988
+ /**
989
+ * The private link resource required member names.
990
+ * NOTE: This property will not be serialized. It can only be populated by the server.
991
+ */
992
+ readonly requiredMembers?: string[];
993
+ /** The private link resource private link DNS zone name. */
994
+ requiredZoneNames?: string[];
995
+ }
996
+
997
+ /** Represents a virtual endpoint for a server. */
998
+ export interface VirtualEndpointResource
999
+ extends VirtualEndpointResourceForPatch,
1000
+ Resource {}
1001
+
741
1002
  /** Represents capability of a storage tier */
742
1003
  export interface StorageTierCapability extends CapabilityBase {
743
1004
  /**
@@ -759,11 +1020,31 @@ export interface StorageMbCapability extends CapabilityBase {
759
1020
  * NOTE: This property will not be serialized. It can only be populated by the server.
760
1021
  */
761
1022
  readonly supportedIops?: number;
1023
+ /**
1024
+ * Maximum IOPS supported by this #Vcores or PremiumV2_LRS Storage Size
1025
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1026
+ */
1027
+ readonly supportedMaximumIops?: number;
762
1028
  /**
763
1029
  * Storage size in MB
764
1030
  * NOTE: This property will not be serialized. It can only be populated by the server.
765
1031
  */
766
1032
  readonly storageSizeMb?: number;
1033
+ /**
1034
+ * Maximum value of Storage size in MB
1035
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1036
+ */
1037
+ readonly maximumStorageSizeMb?: number;
1038
+ /**
1039
+ * Values of throughput in MB/s
1040
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1041
+ */
1042
+ readonly supportedThroughput?: number;
1043
+ /**
1044
+ * Maximum values of throughput in MB/s
1045
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1046
+ */
1047
+ readonly supportedMaximumThroughput?: number;
767
1048
  /**
768
1049
  * Default tier for IOPS
769
1050
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1066,20 +1347,6 @@ export interface FirewallRule extends ProxyResource {
1066
1347
  endIpAddress: string;
1067
1348
  }
1068
1349
 
1069
- /** Represents a logFile. */
1070
- export interface LogFile extends ProxyResource {
1071
- /** Creation timestamp of the log file. */
1072
- createdTime?: Date;
1073
- /** Last modified timestamp of the log file. */
1074
- lastModifiedTime?: Date;
1075
- /** The size in kb of the logFile. */
1076
- sizeInKb?: number;
1077
- /** Type of the log file. */
1078
- typePropertiesType?: string;
1079
- /** The url to download the log file from. */
1080
- url?: string;
1081
- }
1082
-
1083
1350
  /** Response for the LTR backup Operation API call */
1084
1351
  export interface LtrServerBackupOperation extends ProxyResource {
1085
1352
  /** Size of datasource in bytes */
@@ -1110,14 +1377,39 @@ export interface LtrServerBackupOperation extends ProxyResource {
1110
1377
  readonly errorMessage?: string;
1111
1378
  }
1112
1379
 
1113
- /** Represents a server. */
1114
- export interface Server extends TrackedResource {
1115
- /** The SKU (pricing tier) of the server. */
1116
- sku?: Sku;
1117
- /** Describes the identity of the application. */
1118
- identity?: UserAssignedIdentity;
1119
- /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
1120
- administratorLogin?: string;
1380
+ /** Represents a logFile. */
1381
+ export interface LogFile extends ProxyResource {
1382
+ /** Creation timestamp of the log file. */
1383
+ createdTime?: Date;
1384
+ /** Last modified timestamp of the log file. */
1385
+ lastModifiedTime?: Date;
1386
+ /** The size in kb of the logFile. */
1387
+ sizeInKb?: number;
1388
+ /** Type of the log file. */
1389
+ typePropertiesType?: string;
1390
+ /** The url to download the log file from. */
1391
+ url?: string;
1392
+ }
1393
+
1394
+ /** Server's Advanced Threat Protection settings. */
1395
+ export interface ServerThreatProtectionSettingsModel extends ProxyResource {
1396
+ /** Specifies the state of the Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific server. */
1397
+ state?: ThreatProtectionState;
1398
+ /**
1399
+ * Specifies the UTC creation time of the policy.
1400
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1401
+ */
1402
+ readonly creationTime?: Date;
1403
+ }
1404
+
1405
+ /** Represents a server. */
1406
+ export interface Server extends TrackedResource {
1407
+ /** The SKU (pricing tier) of the server. */
1408
+ sku?: Sku;
1409
+ /** Describes the identity of the application. */
1410
+ identity?: UserAssignedIdentity;
1411
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
1412
+ administratorLogin?: string;
1121
1413
  /**
1122
1414
  * The administrator login password (required for server creation).
1123
1415
  * This value contains a credential. Consider obscuring before showing to users
@@ -1167,8 +1459,15 @@ export interface Server extends TrackedResource {
1167
1459
  * NOTE: This property will not be serialized. It can only be populated by the server.
1168
1460
  */
1169
1461
  readonly replicaCapacity?: number;
1462
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
1463
+ replica?: Replica;
1170
1464
  /** The mode to create a new PostgreSQL server. */
1171
1465
  createMode?: CreateMode;
1466
+ /**
1467
+ * List of private endpoint connections associated with the specified resource.
1468
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1469
+ */
1470
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1172
1471
  }
1173
1472
 
1174
1473
  /** Represents a migration resource. */
@@ -1185,6 +1484,12 @@ export interface MigrationResource extends TrackedResource {
1185
1484
  readonly currentStatus?: MigrationStatus;
1186
1485
  /** There are two types of migration modes Online and Offline */
1187
1486
  migrationMode?: MigrationMode;
1487
+ /** This indicates the supported Migration option for the migration */
1488
+ migrationOption?: MigrationOption;
1489
+ /** migration source server type : OnPremises, AWS, GCP, AzureVM or PostgreSQLSingleServer */
1490
+ sourceType?: SourceType;
1491
+ /** SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types */
1492
+ sslMode?: SslMode;
1188
1493
  /**
1189
1494
  * Metadata of the source database server
1190
1495
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1195,7 +1500,7 @@ export interface MigrationResource extends TrackedResource {
1195
1500
  * NOTE: This property will not be serialized. It can only be populated by the server.
1196
1501
  */
1197
1502
  readonly targetDbServerMetadata?: DbServerMetadata;
1198
- /** ResourceId of the source database server */
1503
+ /** ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username */
1199
1504
  sourceDbServerResourceId?: string;
1200
1505
  /** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
1201
1506
  sourceDbServerFullyQualifiedDomainName?: string;
@@ -1328,6 +1633,36 @@ export interface FlexibleServerStartLtrBackupExceptionHeaders {
1328
1633
  xMsRequestId?: string;
1329
1634
  }
1330
1635
 
1636
+ /** Defines headers for PrivateEndpointConnection_update operation. */
1637
+ export interface PrivateEndpointConnectionUpdateHeaders {
1638
+ location?: string;
1639
+ }
1640
+
1641
+ /** Defines headers for PrivateEndpointConnection_delete operation. */
1642
+ export interface PrivateEndpointConnectionDeleteHeaders {
1643
+ location?: string;
1644
+ }
1645
+
1646
+ /** Defines headers for ServerThreatProtectionSettings_createOrUpdate operation. */
1647
+ export interface ServerThreatProtectionSettingsCreateOrUpdateHeaders {
1648
+ location?: string;
1649
+ }
1650
+
1651
+ /** Defines headers for VirtualEndpoints_create operation. */
1652
+ export interface VirtualEndpointsCreateHeaders {
1653
+ location?: string;
1654
+ }
1655
+
1656
+ /** Defines headers for VirtualEndpoints_update operation. */
1657
+ export interface VirtualEndpointsUpdateHeaders {
1658
+ location?: string;
1659
+ }
1660
+
1661
+ /** Defines headers for VirtualEndpoints_delete operation. */
1662
+ export interface VirtualEndpointsDeleteHeaders {
1663
+ location?: string;
1664
+ }
1665
+
1331
1666
  /** Known values of {@link PrincipalType} that the service accepts. */
1332
1667
  export enum KnownPrincipalType {
1333
1668
  /** Unknown */
@@ -1627,7 +1962,9 @@ export enum KnownServerVersion {
1627
1962
  /** Twelve */
1628
1963
  Twelve = "12",
1629
1964
  /** Eleven */
1630
- Eleven = "11"
1965
+ Eleven = "11",
1966
+ /** Sixteen */
1967
+ Sixteen = "16"
1631
1968
  }
1632
1969
 
1633
1970
  /**
@@ -1639,7 +1976,8 @@ export enum KnownServerVersion {
1639
1976
  * **14** \
1640
1977
  * **13** \
1641
1978
  * **12** \
1642
- * **11**
1979
+ * **11** \
1980
+ * **16**
1643
1981
  */
1644
1982
  export type ServerVersion = string;
1645
1983
 
@@ -1748,6 +2086,24 @@ export enum KnownAzureManagedDiskPerformanceTiers {
1748
2086
  */
1749
2087
  export type AzureManagedDiskPerformanceTiers = string;
1750
2088
 
2089
+ /** Known values of {@link StorageType} that the service accepts. */
2090
+ export enum KnownStorageType {
2091
+ /** PremiumLRS */
2092
+ PremiumLRS = "Premium_LRS",
2093
+ /** PremiumV2LRS */
2094
+ PremiumV2LRS = "PremiumV2_LRS"
2095
+ }
2096
+
2097
+ /**
2098
+ * Defines values for StorageType. \
2099
+ * {@link KnownStorageType} can be used interchangeably with StorageType,
2100
+ * this enum contains the known values that the service supports.
2101
+ * ### Known values supported by the service
2102
+ * **Premium_LRS** \
2103
+ * **PremiumV2_LRS**
2104
+ */
2105
+ export type StorageType = string;
2106
+
1751
2107
  /** Known values of {@link ActiveDirectoryAuthEnum} that the service accepts. */
1752
2108
  export enum KnownActiveDirectoryAuthEnum {
1753
2109
  /** Enabled */
@@ -1931,6 +2287,72 @@ export enum KnownReplicationRole {
1931
2287
  */
1932
2288
  export type ReplicationRole = string;
1933
2289
 
2290
+ /** Known values of {@link ReplicationState} that the service accepts. */
2291
+ export enum KnownReplicationState {
2292
+ /** Active */
2293
+ Active = "Active",
2294
+ /** Catchup */
2295
+ Catchup = "Catchup",
2296
+ /** Provisioning */
2297
+ Provisioning = "Provisioning",
2298
+ /** Updating */
2299
+ Updating = "Updating",
2300
+ /** Broken */
2301
+ Broken = "Broken",
2302
+ /** Reconfiguring */
2303
+ Reconfiguring = "Reconfiguring"
2304
+ }
2305
+
2306
+ /**
2307
+ * Defines values for ReplicationState. \
2308
+ * {@link KnownReplicationState} can be used interchangeably with ReplicationState,
2309
+ * this enum contains the known values that the service supports.
2310
+ * ### Known values supported by the service
2311
+ * **Active** \
2312
+ * **Catchup** \
2313
+ * **Provisioning** \
2314
+ * **Updating** \
2315
+ * **Broken** \
2316
+ * **Reconfiguring**
2317
+ */
2318
+ export type ReplicationState = string;
2319
+
2320
+ /** Known values of {@link ReadReplicaPromoteMode} that the service accepts. */
2321
+ export enum KnownReadReplicaPromoteMode {
2322
+ /** Standalone */
2323
+ Standalone = "standalone",
2324
+ /** Switchover */
2325
+ Switchover = "switchover"
2326
+ }
2327
+
2328
+ /**
2329
+ * Defines values for ReadReplicaPromoteMode. \
2330
+ * {@link KnownReadReplicaPromoteMode} can be used interchangeably with ReadReplicaPromoteMode,
2331
+ * this enum contains the known values that the service supports.
2332
+ * ### Known values supported by the service
2333
+ * **standalone** \
2334
+ * **switchover**
2335
+ */
2336
+ export type ReadReplicaPromoteMode = string;
2337
+
2338
+ /** Known values of {@link ReplicationPromoteOption} that the service accepts. */
2339
+ export enum KnownReplicationPromoteOption {
2340
+ /** Planned */
2341
+ Planned = "planned",
2342
+ /** Forced */
2343
+ Forced = "forced"
2344
+ }
2345
+
2346
+ /**
2347
+ * Defines values for ReplicationPromoteOption. \
2348
+ * {@link KnownReplicationPromoteOption} can be used interchangeably with ReplicationPromoteOption,
2349
+ * this enum contains the known values that the service supports.
2350
+ * ### Known values supported by the service
2351
+ * **planned** \
2352
+ * **forced**
2353
+ */
2354
+ export type ReplicationPromoteOption = string;
2355
+
1934
2356
  /** Known values of {@link CreateMode} that the service accepts. */
1935
2357
  export enum KnownCreateMode {
1936
2358
  /** Default */
@@ -1964,6 +2386,51 @@ export enum KnownCreateMode {
1964
2386
  */
1965
2387
  export type CreateMode = string;
1966
2388
 
2389
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
2390
+ export enum KnownPrivateEndpointServiceConnectionStatus {
2391
+ /** Pending */
2392
+ Pending = "Pending",
2393
+ /** Approved */
2394
+ Approved = "Approved",
2395
+ /** Rejected */
2396
+ Rejected = "Rejected"
2397
+ }
2398
+
2399
+ /**
2400
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2401
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2402
+ * this enum contains the known values that the service supports.
2403
+ * ### Known values supported by the service
2404
+ * **Pending** \
2405
+ * **Approved** \
2406
+ * **Rejected**
2407
+ */
2408
+ export type PrivateEndpointServiceConnectionStatus = string;
2409
+
2410
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
2411
+ export enum KnownPrivateEndpointConnectionProvisioningState {
2412
+ /** Succeeded */
2413
+ Succeeded = "Succeeded",
2414
+ /** Creating */
2415
+ Creating = "Creating",
2416
+ /** Deleting */
2417
+ Deleting = "Deleting",
2418
+ /** Failed */
2419
+ Failed = "Failed"
2420
+ }
2421
+
2422
+ /**
2423
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2424
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2425
+ * this enum contains the known values that the service supports.
2426
+ * ### Known values supported by the service
2427
+ * **Succeeded** \
2428
+ * **Creating** \
2429
+ * **Deleting** \
2430
+ * **Failed**
2431
+ */
2432
+ export type PrivateEndpointConnectionProvisioningState = string;
2433
+
1967
2434
  /** Known values of {@link CreateModeForUpdate} that the service accepts. */
1968
2435
  export enum KnownCreateModeForUpdate {
1969
2436
  /** Default */
@@ -1982,6 +2449,30 @@ export enum KnownCreateModeForUpdate {
1982
2449
  */
1983
2450
  export type CreateModeForUpdate = string;
1984
2451
 
2452
+ /** Known values of {@link ExecutionStatus} that the service accepts. */
2453
+ export enum KnownExecutionStatus {
2454
+ /** Running */
2455
+ Running = "Running",
2456
+ /** Cancelled */
2457
+ Cancelled = "Cancelled",
2458
+ /** Failed */
2459
+ Failed = "Failed",
2460
+ /** Succeeded */
2461
+ Succeeded = "Succeeded"
2462
+ }
2463
+
2464
+ /**
2465
+ * Defines values for ExecutionStatus. \
2466
+ * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
2467
+ * this enum contains the known values that the service supports.
2468
+ * ### Known values supported by the service
2469
+ * **Running** \
2470
+ * **Cancelled** \
2471
+ * **Failed** \
2472
+ * **Succeeded**
2473
+ */
2474
+ export type ExecutionStatus = string;
2475
+
1985
2476
  /** Known values of {@link MigrationState} that the service accepts. */
1986
2477
  export enum KnownMigrationState {
1987
2478
  /** InProgress */
@@ -1993,7 +2484,11 @@ export enum KnownMigrationState {
1993
2484
  /** Failed */
1994
2485
  Failed = "Failed",
1995
2486
  /** Succeeded */
1996
- Succeeded = "Succeeded"
2487
+ Succeeded = "Succeeded",
2488
+ /** ValidationFailed */
2489
+ ValidationFailed = "ValidationFailed",
2490
+ /** CleaningUp */
2491
+ CleaningUp = "CleaningUp"
1997
2492
  }
1998
2493
 
1999
2494
  /**
@@ -2005,7 +2500,9 @@ export enum KnownMigrationState {
2005
2500
  * **WaitingForUserAction** \
2006
2501
  * **Canceled** \
2007
2502
  * **Failed** \
2008
- * **Succeeded**
2503
+ * **Succeeded** \
2504
+ * **ValidationFailed** \
2505
+ * **CleaningUp**
2009
2506
  */
2010
2507
  export type MigrationState = string;
2011
2508
 
@@ -2030,7 +2527,11 @@ export enum KnownMigrationSubState {
2030
2527
  /** CompletingMigration */
2031
2528
  CompletingMigration = "CompletingMigration",
2032
2529
  /** Completed */
2033
- Completed = "Completed"
2530
+ Completed = "Completed",
2531
+ /** CancelingRequestedDBMigrations */
2532
+ CancelingRequestedDBMigrations = "CancelingRequestedDBMigrations",
2533
+ /** ValidationInProgress */
2534
+ ValidationInProgress = "ValidationInProgress"
2034
2535
  }
2035
2536
 
2036
2537
  /**
@@ -2047,10 +2548,63 @@ export enum KnownMigrationSubState {
2047
2548
  * **MigratingData** \
2048
2549
  * **WaitingForCutoverTrigger** \
2049
2550
  * **CompletingMigration** \
2050
- * **Completed**
2551
+ * **Completed** \
2552
+ * **CancelingRequestedDBMigrations** \
2553
+ * **ValidationInProgress**
2051
2554
  */
2052
2555
  export type MigrationSubState = string;
2053
2556
 
2557
+ /** Known values of {@link MigrationDbState} that the service accepts. */
2558
+ export enum KnownMigrationDbState {
2559
+ /** InProgress */
2560
+ InProgress = "InProgress",
2561
+ /** WaitingForCutoverTrigger */
2562
+ WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
2563
+ /** Failed */
2564
+ Failed = "Failed",
2565
+ /** Canceled */
2566
+ Canceled = "Canceled",
2567
+ /** Succeeded */
2568
+ Succeeded = "Succeeded",
2569
+ /** Canceling */
2570
+ Canceling = "Canceling"
2571
+ }
2572
+
2573
+ /**
2574
+ * Defines values for MigrationDbState. \
2575
+ * {@link KnownMigrationDbState} can be used interchangeably with MigrationDbState,
2576
+ * this enum contains the known values that the service supports.
2577
+ * ### Known values supported by the service
2578
+ * **InProgress** \
2579
+ * **WaitingForCutoverTrigger** \
2580
+ * **Failed** \
2581
+ * **Canceled** \
2582
+ * **Succeeded** \
2583
+ * **Canceling**
2584
+ */
2585
+ export type MigrationDbState = string;
2586
+
2587
+ /** Known values of {@link ValidationState} that the service accepts. */
2588
+ export enum KnownValidationState {
2589
+ /** Failed */
2590
+ Failed = "Failed",
2591
+ /** Succeeded */
2592
+ Succeeded = "Succeeded",
2593
+ /** Warning */
2594
+ Warning = "Warning"
2595
+ }
2596
+
2597
+ /**
2598
+ * Defines values for ValidationState. \
2599
+ * {@link KnownValidationState} can be used interchangeably with ValidationState,
2600
+ * this enum contains the known values that the service supports.
2601
+ * ### Known values supported by the service
2602
+ * **Failed** \
2603
+ * **Succeeded** \
2604
+ * **Warning**
2605
+ */
2606
+ export type ValidationState = string;
2607
+
2054
2608
  /** Known values of {@link MigrationMode} that the service accepts. */
2055
2609
  export enum KnownMigrationMode {
2056
2610
  /** Offline */
@@ -2069,6 +2623,78 @@ export enum KnownMigrationMode {
2069
2623
  */
2070
2624
  export type MigrationMode = string;
2071
2625
 
2626
+ /** Known values of {@link MigrationOption} that the service accepts. */
2627
+ export enum KnownMigrationOption {
2628
+ /** Validate */
2629
+ Validate = "Validate",
2630
+ /** Migrate */
2631
+ Migrate = "Migrate",
2632
+ /** ValidateAndMigrate */
2633
+ ValidateAndMigrate = "ValidateAndMigrate"
2634
+ }
2635
+
2636
+ /**
2637
+ * Defines values for MigrationOption. \
2638
+ * {@link KnownMigrationOption} can be used interchangeably with MigrationOption,
2639
+ * this enum contains the known values that the service supports.
2640
+ * ### Known values supported by the service
2641
+ * **Validate** \
2642
+ * **Migrate** \
2643
+ * **ValidateAndMigrate**
2644
+ */
2645
+ export type MigrationOption = string;
2646
+
2647
+ /** Known values of {@link SourceType} that the service accepts. */
2648
+ export enum KnownSourceType {
2649
+ /** OnPremises */
2650
+ OnPremises = "OnPremises",
2651
+ /** AWS */
2652
+ AWS = "AWS",
2653
+ /** GCP */
2654
+ GCP = "GCP",
2655
+ /** AzureVM */
2656
+ AzureVM = "AzureVM",
2657
+ /** PostgreSQLSingleServer */
2658
+ PostgreSQLSingleServer = "PostgreSQLSingleServer"
2659
+ }
2660
+
2661
+ /**
2662
+ * Defines values for SourceType. \
2663
+ * {@link KnownSourceType} can be used interchangeably with SourceType,
2664
+ * this enum contains the known values that the service supports.
2665
+ * ### Known values supported by the service
2666
+ * **OnPremises** \
2667
+ * **AWS** \
2668
+ * **GCP** \
2669
+ * **AzureVM** \
2670
+ * **PostgreSQLSingleServer**
2671
+ */
2672
+ export type SourceType = string;
2673
+
2674
+ /** Known values of {@link SslMode} that the service accepts. */
2675
+ export enum KnownSslMode {
2676
+ /** Prefer */
2677
+ Prefer = "Prefer",
2678
+ /** Require */
2679
+ Require = "Require",
2680
+ /** VerifyCA */
2681
+ VerifyCA = "VerifyCA",
2682
+ /** VerifyFull */
2683
+ VerifyFull = "VerifyFull"
2684
+ }
2685
+
2686
+ /**
2687
+ * Defines values for SslMode. \
2688
+ * {@link KnownSslMode} can be used interchangeably with SslMode,
2689
+ * this enum contains the known values that the service supports.
2690
+ * ### Known values supported by the service
2691
+ * **Prefer** \
2692
+ * **Require** \
2693
+ * **VerifyCA** \
2694
+ * **VerifyFull**
2695
+ */
2696
+ export type SslMode = string;
2697
+
2072
2698
  /** Known values of {@link LogicalReplicationOnSourceDbEnum} that the service accepts. */
2073
2699
  export enum KnownLogicalReplicationOnSourceDbEnum {
2074
2700
  /** True */
@@ -2240,29 +2866,35 @@ export enum KnownFailoverMode {
2240
2866
  */
2241
2867
  export type FailoverMode = string;
2242
2868
 
2243
- /** Known values of {@link ExecutionStatus} that the service accepts. */
2244
- export enum KnownExecutionStatus {
2245
- /** Running */
2246
- Running = "Running",
2247
- /** Cancelled */
2248
- Cancelled = "Cancelled",
2249
- /** Failed */
2250
- Failed = "Failed",
2251
- /** Succeeded */
2252
- Succeeded = "Succeeded"
2869
+ /** Known values of {@link ThreatProtectionName} that the service accepts. */
2870
+ export enum KnownThreatProtectionName {
2871
+ /** Default */
2872
+ Default = "Default"
2253
2873
  }
2254
2874
 
2255
2875
  /**
2256
- * Defines values for ExecutionStatus. \
2257
- * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
2876
+ * Defines values for ThreatProtectionName. \
2877
+ * {@link KnownThreatProtectionName} can be used interchangeably with ThreatProtectionName,
2258
2878
  * this enum contains the known values that the service supports.
2259
2879
  * ### Known values supported by the service
2260
- * **Running** \
2261
- * **Cancelled** \
2262
- * **Failed** \
2263
- * **Succeeded**
2880
+ * **Default**
2264
2881
  */
2265
- export type ExecutionStatus = string;
2882
+ export type ThreatProtectionName = string;
2883
+
2884
+ /** Known values of {@link VirtualEndpointType} that the service accepts. */
2885
+ export enum KnownVirtualEndpointType {
2886
+ /** ReadWrite */
2887
+ ReadWrite = "ReadWrite"
2888
+ }
2889
+
2890
+ /**
2891
+ * Defines values for VirtualEndpointType. \
2892
+ * {@link KnownVirtualEndpointType} can be used interchangeably with VirtualEndpointType,
2893
+ * this enum contains the known values that the service supports.
2894
+ * ### Known values supported by the service
2895
+ * **ReadWrite**
2896
+ */
2897
+ export type VirtualEndpointType = string;
2266
2898
 
2267
2899
  /** Known values of {@link MigrationDetailsLevel} that the service accepts. */
2268
2900
  export enum KnownMigrationDetailsLevel {
@@ -2286,6 +2918,8 @@ export enum KnownMigrationDetailsLevel {
2286
2918
  export type MigrationDetailsLevel = string;
2287
2919
  /** Defines values for CapabilityStatus. */
2288
2920
  export type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled";
2921
+ /** Defines values for ThreatProtectionState. */
2922
+ export type ThreatProtectionState = "Enabled" | "Disabled";
2289
2923
 
2290
2924
  /** Optional parameters. */
2291
2925
  export interface AdministratorsCreateOptionalParams
@@ -2615,6 +3249,48 @@ export interface ServersListNextOptionalParams
2615
3249
  /** Contains response data for the listNext operation. */
2616
3250
  export type ServersListNextResponse = ServerListResult;
2617
3251
 
3252
+ /** Optional parameters. */
3253
+ export interface FlexibleServerTriggerLtrPreBackupOptionalParams
3254
+ extends coreClient.OperationOptions {}
3255
+
3256
+ /** Contains response data for the triggerLtrPreBackup operation. */
3257
+ export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders &
3258
+ LtrPreBackupResponse;
3259
+
3260
+ /** Optional parameters. */
3261
+ export interface FlexibleServerStartLtrBackupOptionalParams
3262
+ extends coreClient.OperationOptions {
3263
+ /** Delay to wait until next poll, in milliseconds. */
3264
+ updateIntervalInMs?: number;
3265
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3266
+ resumeFrom?: string;
3267
+ }
3268
+
3269
+ /** Contains response data for the startLtrBackup operation. */
3270
+ export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders &
3271
+ LtrBackupResponse;
3272
+
3273
+ /** Optional parameters. */
3274
+ export interface LtrBackupOperationsGetOptionalParams
3275
+ extends coreClient.OperationOptions {}
3276
+
3277
+ /** Contains response data for the get operation. */
3278
+ export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
3279
+
3280
+ /** Optional parameters. */
3281
+ export interface LtrBackupOperationsListByServerOptionalParams
3282
+ extends coreClient.OperationOptions {}
3283
+
3284
+ /** Contains response data for the listByServer operation. */
3285
+ export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
3286
+
3287
+ /** Optional parameters. */
3288
+ export interface LtrBackupOperationsListByServerNextOptionalParams
3289
+ extends coreClient.OperationOptions {}
3290
+
3291
+ /** Contains response data for the listByServerNext operation. */
3292
+ export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
3293
+
2618
3294
  /** Optional parameters. */
2619
3295
  export interface MigrationsCreateOptionalParams
2620
3296
  extends coreClient.OperationOptions {}
@@ -2681,6 +3357,86 @@ export type GetPrivateDnsZoneSuffixExecuteResponse = {
2681
3357
  body: string;
2682
3358
  };
2683
3359
 
3360
+ /** Optional parameters. */
3361
+ export interface PrivateEndpointConnectionsGetOptionalParams
3362
+ extends coreClient.OperationOptions {}
3363
+
3364
+ /** Contains response data for the get operation. */
3365
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
3366
+
3367
+ /** Optional parameters. */
3368
+ export interface PrivateEndpointConnectionsListByServerOptionalParams
3369
+ extends coreClient.OperationOptions {}
3370
+
3371
+ /** Contains response data for the listByServer operation. */
3372
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
3373
+
3374
+ /** Optional parameters. */
3375
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams
3376
+ extends coreClient.OperationOptions {}
3377
+
3378
+ /** Contains response data for the listByServerNext operation. */
3379
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
3380
+
3381
+ /** Optional parameters. */
3382
+ export interface PrivateEndpointConnectionUpdateOptionalParams
3383
+ extends coreClient.OperationOptions {
3384
+ /** Delay to wait until next poll, in milliseconds. */
3385
+ updateIntervalInMs?: number;
3386
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3387
+ resumeFrom?: string;
3388
+ }
3389
+
3390
+ /** Contains response data for the update operation. */
3391
+ export type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
3392
+
3393
+ /** Optional parameters. */
3394
+ export interface PrivateEndpointConnectionDeleteOptionalParams
3395
+ extends coreClient.OperationOptions {
3396
+ /** Delay to wait until next poll, in milliseconds. */
3397
+ updateIntervalInMs?: number;
3398
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3399
+ resumeFrom?: string;
3400
+ }
3401
+
3402
+ /** Contains response data for the delete operation. */
3403
+ export type PrivateEndpointConnectionDeleteResponse = PrivateEndpointConnectionDeleteHeaders;
3404
+
3405
+ /** Optional parameters. */
3406
+ export interface PrivateLinkResourcesListByServerOptionalParams
3407
+ extends coreClient.OperationOptions {}
3408
+
3409
+ /** Contains response data for the listByServer operation. */
3410
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
3411
+
3412
+ /** Optional parameters. */
3413
+ export interface PrivateLinkResourcesGetOptionalParams
3414
+ extends coreClient.OperationOptions {}
3415
+
3416
+ /** Contains response data for the get operation. */
3417
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3418
+
3419
+ /** Optional parameters. */
3420
+ export interface PrivateLinkResourcesListByServerNextOptionalParams
3421
+ extends coreClient.OperationOptions {}
3422
+
3423
+ /** Contains response data for the listByServerNext operation. */
3424
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
3425
+
3426
+ /** Optional parameters. */
3427
+ export interface QuotaUsagesListOptionalParams
3428
+ extends coreClient.OperationOptions {}
3429
+
3430
+ /** Contains response data for the list operation. */
3431
+ export type QuotaUsagesListResponse = QuotaUsagesListResult;
3432
+
3433
+ /** Optional parameters. */
3434
+ export interface QuotaUsagesListNextOptionalParams
3435
+ extends coreClient.OperationOptions {}
3436
+
3437
+ /** Contains response data for the listNext operation. */
3438
+ export type QuotaUsagesListNextResponse = QuotaUsagesListResult;
3439
+
2684
3440
  /** Optional parameters. */
2685
3441
  export interface ReplicasListByServerOptionalParams
2686
3442
  extends coreClient.OperationOptions {}
@@ -2703,22 +3459,21 @@ export interface LogFilesListByServerNextOptionalParams
2703
3459
  export type LogFilesListByServerNextResponse = LogFileListResult;
2704
3460
 
2705
3461
  /** Optional parameters. */
2706
- export interface VirtualNetworkSubnetUsageExecuteOptionalParams
3462
+ export interface ServerThreatProtectionSettingsListByServerOptionalParams
2707
3463
  extends coreClient.OperationOptions {}
2708
3464
 
2709
- /** Contains response data for the execute operation. */
2710
- export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
3465
+ /** Contains response data for the listByServer operation. */
3466
+ export type ServerThreatProtectionSettingsListByServerResponse = ServerThreatProtectionListResult;
2711
3467
 
2712
3468
  /** Optional parameters. */
2713
- export interface FlexibleServerTriggerLtrPreBackupOptionalParams
3469
+ export interface ServerThreatProtectionSettingsGetOptionalParams
2714
3470
  extends coreClient.OperationOptions {}
2715
3471
 
2716
- /** Contains response data for the triggerLtrPreBackup operation. */
2717
- export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders &
2718
- LtrPreBackupResponse;
3472
+ /** Contains response data for the get operation. */
3473
+ export type ServerThreatProtectionSettingsGetResponse = ServerThreatProtectionSettingsModel;
2719
3474
 
2720
3475
  /** Optional parameters. */
2721
- export interface FlexibleServerStartLtrBackupOptionalParams
3476
+ export interface ServerThreatProtectionSettingsCreateOrUpdateOptionalParams
2722
3477
  extends coreClient.OperationOptions {
2723
3478
  /** Delay to wait until next poll, in milliseconds. */
2724
3479
  updateIntervalInMs?: number;
@@ -2726,30 +3481,79 @@ export interface FlexibleServerStartLtrBackupOptionalParams
2726
3481
  resumeFrom?: string;
2727
3482
  }
2728
3483
 
2729
- /** Contains response data for the startLtrBackup operation. */
2730
- export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders &
2731
- LtrBackupResponse;
3484
+ /** Contains response data for the createOrUpdate operation. */
3485
+ export type ServerThreatProtectionSettingsCreateOrUpdateResponse = ServerThreatProtectionSettingsModel;
2732
3486
 
2733
3487
  /** Optional parameters. */
2734
- export interface LtrBackupOperationsGetOptionalParams
3488
+ export interface ServerThreatProtectionSettingsListByServerNextOptionalParams
3489
+ extends coreClient.OperationOptions {}
3490
+
3491
+ /** Contains response data for the listByServerNext operation. */
3492
+ export type ServerThreatProtectionSettingsListByServerNextResponse = ServerThreatProtectionListResult;
3493
+
3494
+ /** Optional parameters. */
3495
+ export interface VirtualEndpointsCreateOptionalParams
3496
+ extends coreClient.OperationOptions {
3497
+ /** Delay to wait until next poll, in milliseconds. */
3498
+ updateIntervalInMs?: number;
3499
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3500
+ resumeFrom?: string;
3501
+ }
3502
+
3503
+ /** Contains response data for the create operation. */
3504
+ export type VirtualEndpointsCreateResponse = VirtualEndpointResource;
3505
+
3506
+ /** Optional parameters. */
3507
+ export interface VirtualEndpointsUpdateOptionalParams
3508
+ extends coreClient.OperationOptions {
3509
+ /** Delay to wait until next poll, in milliseconds. */
3510
+ updateIntervalInMs?: number;
3511
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3512
+ resumeFrom?: string;
3513
+ }
3514
+
3515
+ /** Contains response data for the update operation. */
3516
+ export type VirtualEndpointsUpdateResponse = VirtualEndpointResource;
3517
+
3518
+ /** Optional parameters. */
3519
+ export interface VirtualEndpointsDeleteOptionalParams
3520
+ extends coreClient.OperationOptions {
3521
+ /** Delay to wait until next poll, in milliseconds. */
3522
+ updateIntervalInMs?: number;
3523
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3524
+ resumeFrom?: string;
3525
+ }
3526
+
3527
+ /** Contains response data for the delete operation. */
3528
+ export type VirtualEndpointsDeleteResponse = VirtualEndpointsDeleteHeaders;
3529
+
3530
+ /** Optional parameters. */
3531
+ export interface VirtualEndpointsGetOptionalParams
2735
3532
  extends coreClient.OperationOptions {}
2736
3533
 
2737
3534
  /** Contains response data for the get operation. */
2738
- export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
3535
+ export type VirtualEndpointsGetResponse = VirtualEndpointResource;
2739
3536
 
2740
3537
  /** Optional parameters. */
2741
- export interface LtrBackupOperationsListByServerOptionalParams
3538
+ export interface VirtualEndpointsListByServerOptionalParams
2742
3539
  extends coreClient.OperationOptions {}
2743
3540
 
2744
3541
  /** Contains response data for the listByServer operation. */
2745
- export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
3542
+ export type VirtualEndpointsListByServerResponse = VirtualEndpointsListResult;
2746
3543
 
2747
3544
  /** Optional parameters. */
2748
- export interface LtrBackupOperationsListByServerNextOptionalParams
3545
+ export interface VirtualEndpointsListByServerNextOptionalParams
2749
3546
  extends coreClient.OperationOptions {}
2750
3547
 
2751
3548
  /** Contains response data for the listByServerNext operation. */
2752
- export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
3549
+ export type VirtualEndpointsListByServerNextResponse = VirtualEndpointsListResult;
3550
+
3551
+ /** Optional parameters. */
3552
+ export interface VirtualNetworkSubnetUsageExecuteOptionalParams
3553
+ extends coreClient.OperationOptions {}
3554
+
3555
+ /** Contains response data for the execute operation. */
3556
+ export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
2753
3557
 
2754
3558
  /** Optional parameters. */
2755
3559
  export interface PostgreSQLManagementFlexibleServerClientOptionalParams