@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
@@ -11,7 +11,7 @@ export interface ActiveDirectoryAdministratorAdd {
11
11
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
12
12
  export interface Resource {
13
13
  /**
14
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
14
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
15
15
  * NOTE: This property will not be serialized. It can only be populated by the server.
16
16
  */
17
17
  readonly id?: string;
@@ -257,11 +257,12 @@ export interface Storage {
257
257
  autoGrow?: StorageAutoGrow;
258
258
  /** Name of storage tier for IOPS. */
259
259
  tier?: AzureManagedDiskPerformanceTiers;
260
- /**
261
- * Storage tier IOPS quantity.
262
- * NOTE: This property will not be serialized. It can only be populated by the server.
263
- */
264
- readonly iops?: number;
260
+ /** Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS */
261
+ iops?: number;
262
+ /** Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS */
263
+ throughput?: number;
264
+ /** Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified */
265
+ type?: StorageType;
265
266
  }
266
267
  /** Authentication configuration properties of a server */
267
268
  export interface AuthConfig {
@@ -303,11 +304,8 @@ export interface Backup {
303
304
  }
304
305
  /** Network properties of a server. */
305
306
  export interface Network {
306
- /**
307
- * public network access is enabled or not
308
- * NOTE: This property will not be serialized. It can only be populated by the server.
309
- */
310
- readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
307
+ /** public network access is enabled or not */
308
+ publicNetworkAccess?: ServerPublicNetworkAccessState;
311
309
  /** 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. */
312
310
  delegatedSubnetResourceId?: string;
313
311
  /** 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. */
@@ -336,6 +334,42 @@ export interface MaintenanceWindow {
336
334
  /** day of week for maintenance window */
337
335
  dayOfWeek?: number;
338
336
  }
337
+ /** Replica properties of a server */
338
+ export interface Replica {
339
+ /** Used to indicate role of the server in replication set. */
340
+ role?: ReplicationRole;
341
+ /**
342
+ * Replicas allowed for a server.
343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
344
+ */
345
+ readonly capacity?: number;
346
+ /**
347
+ * 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
348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
349
+ */
350
+ readonly replicationState?: ReplicationState;
351
+ /** Sets the promote mode for a replica server. This is a write only property. */
352
+ promoteMode?: ReadReplicaPromoteMode;
353
+ /** Sets the promote options for a replica server. This is a write only property. */
354
+ promoteOption?: ReplicationPromoteOption;
355
+ }
356
+ /** The private endpoint resource. */
357
+ export interface PrivateEndpoint {
358
+ /**
359
+ * The ARM identifier for private endpoint.
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
361
+ */
362
+ readonly id?: string;
363
+ }
364
+ /** A collection of information about the state of the connection between service consumer and provider. */
365
+ export interface PrivateLinkServiceConnectionState {
366
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
367
+ status?: PrivateEndpointServiceConnectionStatus;
368
+ /** The reason for approval/rejection of the connection. */
369
+ description?: string;
370
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
371
+ actionsRequired?: string;
372
+ }
339
373
  /** Represents a server to be updated. */
340
374
  export interface ServerForUpdate {
341
375
  /** The SKU (pricing tier) of the server. */
@@ -351,7 +385,7 @@ export interface ServerForUpdate {
351
385
  * This value contains a credential. Consider obscuring before showing to users
352
386
  */
353
387
  administratorLoginPassword?: string;
354
- /** PostgreSQL Server version. */
388
+ /** PostgreSQL Server version. Version 16 is currently not supported for MVU. */
355
389
  version?: ServerVersion;
356
390
  /** Storage properties of a server. */
357
391
  storage?: Storage;
@@ -369,6 +403,8 @@ export interface ServerForUpdate {
369
403
  createMode?: CreateModeForUpdate;
370
404
  /** Replication role of the server */
371
405
  replicationRole?: ReplicationRole;
406
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
407
+ replica?: Replica;
372
408
  /** Network properties of a server. These are required to be passed only in case if server is a private access server. */
373
409
  network?: Network;
374
410
  }
@@ -379,6 +415,62 @@ export interface ServerListResult {
379
415
  /** The link used to get the next page of operations. */
380
416
  nextLink?: string;
381
417
  }
418
+ /** BackupRequestBase is the base for all backup request. */
419
+ export interface BackupRequestBase {
420
+ /** Backup Settings */
421
+ backupSettings: BackupSettings;
422
+ }
423
+ /** The settings for the long term backup. */
424
+ export interface BackupSettings {
425
+ /** Backup Name for the current backup */
426
+ backupName: string;
427
+ }
428
+ /** Response for the LTR pre-backup API call */
429
+ export interface LtrPreBackupResponse {
430
+ /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
431
+ numberOfContainers: number;
432
+ }
433
+ /** Details about the target where the backup content will be stored. */
434
+ export interface BackupStoreDetails {
435
+ /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
436
+ sasUriList: string[];
437
+ }
438
+ /** Response for the LTR backup API call */
439
+ export interface LtrBackupResponse {
440
+ /** Size of datasource in bytes */
441
+ datasourceSizeInBytes?: number;
442
+ /** Data transferred in bytes */
443
+ dataTransferredInBytes?: number;
444
+ /** Name of Backup operation */
445
+ backupName?: string;
446
+ /** 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 */
447
+ backupMetadata?: string;
448
+ /** Service-set extensible enum indicating the status of operation */
449
+ status?: ExecutionStatus;
450
+ /** Start time of the operation. */
451
+ startTime?: Date;
452
+ /** End time of the operation. */
453
+ endTime?: Date;
454
+ /** PercentageCompleted */
455
+ percentComplete?: number;
456
+ /**
457
+ * The error code.
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
+ */
460
+ readonly errorCode?: string;
461
+ /**
462
+ * The error message.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly errorMessage?: string;
466
+ }
467
+ /** A list of long term retention backup operations for server. */
468
+ export interface LtrServerBackupOperationList {
469
+ /** The list of long term retention server backup operations */
470
+ value?: LtrServerBackupOperation[];
471
+ /** The link used to get the next page of operations. */
472
+ nextLink?: string;
473
+ }
382
474
  /** Migration status. */
383
475
  export interface MigrationStatus {
384
476
  /**
@@ -404,6 +496,87 @@ export interface MigrationSubStateDetails {
404
496
  * NOTE: This property will not be serialized. It can only be populated by the server.
405
497
  */
406
498
  readonly currentSubState?: MigrationSubState;
499
+ /** Dictionary of <DbMigrationStatus> */
500
+ dbDetails?: {
501
+ [propertyName: string]: DbMigrationStatus;
502
+ };
503
+ /** Details for the validation for migration */
504
+ validationDetails?: ValidationDetails;
505
+ }
506
+ /** Migration status of an individual database */
507
+ export interface DbMigrationStatus {
508
+ /** Name of the database */
509
+ databaseName?: string;
510
+ /** Migration db state of an individual database */
511
+ migrationState?: MigrationDbState;
512
+ /** Migration operation of an individual database */
513
+ migrationOperation?: string;
514
+ /** Start date-time of a migration state */
515
+ startedOn?: Date;
516
+ /** End date-time of a migration state */
517
+ endedOn?: Date;
518
+ /** Number of tables queued for the migration of a DB */
519
+ fullLoadQueuedTables?: number;
520
+ /** Number of tables errored out during the migration of a DB */
521
+ fullLoadErroredTables?: number;
522
+ /** Number of tables loading during the migration of a DB */
523
+ fullLoadLoadingTables?: number;
524
+ /** Number of tables loaded during the migration of a DB */
525
+ fullLoadCompletedTables?: number;
526
+ /** CDC update counter */
527
+ cdcUpdateCounter?: number;
528
+ /** CDC delete counter */
529
+ cdcDeleteCounter?: number;
530
+ /** CDC insert counter */
531
+ cdcInsertCounter?: number;
532
+ /** CDC applied changes counter */
533
+ appliedChanges?: number;
534
+ /** CDC incoming changes counter */
535
+ incomingChanges?: number;
536
+ /** Lag in seconds between source and target during online phase */
537
+ latency?: number;
538
+ /** Error message, if any, for the migration state */
539
+ message?: string;
540
+ }
541
+ /** Details for the validation for migration */
542
+ export interface ValidationDetails {
543
+ /** Validation status for migration */
544
+ status?: ValidationState;
545
+ /** Validation Start date-time in UTC */
546
+ validationStartTimeInUtc?: Date;
547
+ /** Validation End date-time in UTC */
548
+ validationEndTimeInUtc?: Date;
549
+ /** Details of server level validations */
550
+ serverLevelValidationDetails?: ValidationSummaryItem[];
551
+ /** Details of server level validations */
552
+ dbLevelValidationDetails?: DbLevelValidationStatus[];
553
+ }
554
+ /** Validation summary object */
555
+ export interface ValidationSummaryItem {
556
+ /** Validation type */
557
+ type?: string;
558
+ /** Validation status for migration */
559
+ state?: ValidationState;
560
+ /** Validation messages */
561
+ messages?: ValidationMessage[];
562
+ }
563
+ /** Validation message object */
564
+ export interface ValidationMessage {
565
+ /** Severity of validation message */
566
+ state?: ValidationState;
567
+ /** Validation message string */
568
+ message?: string;
569
+ }
570
+ /** Validation status summary for an individual database */
571
+ export interface DbLevelValidationStatus {
572
+ /** Name of the database */
573
+ databaseName?: string;
574
+ /** Start date-time of a database level validation */
575
+ startedOn?: Date;
576
+ /** End date-time of a database level validation */
577
+ endedOn?: Date;
578
+ /** Summary of database level validations */
579
+ summary?: ValidationSummaryItem[];
407
580
  }
408
581
  /** Database server metadata. */
409
582
  export interface DbServerMetadata {
@@ -416,15 +589,15 @@ export interface DbServerMetadata {
416
589
  version?: string;
417
590
  /** Storage size in MB for database server */
418
591
  storageMb?: number;
419
- /** SKU for the database server */
592
+ /** SKU for the database server. This object is empty for PG single server */
420
593
  sku?: ServerSku;
421
594
  }
422
595
  /** Sku information related properties of a server. */
423
596
  export interface ServerSku {
424
597
  /** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
425
- name: string;
598
+ name?: string;
426
599
  /** The tier of the particular SKU, e.g. Burstable. */
427
- tier: SkuTier;
600
+ tier?: SkuTier;
428
601
  }
429
602
  /** Migration secret parameters. */
430
603
  export interface MigrationSecretParameters {
@@ -572,6 +745,65 @@ export interface OperationDisplay {
572
745
  */
573
746
  readonly description?: string;
574
747
  }
748
+ /** A list of private endpoint connections. */
749
+ export interface PrivateEndpointConnectionListResult {
750
+ /**
751
+ * Array of results.
752
+ * NOTE: This property will not be serialized. It can only be populated by the server.
753
+ */
754
+ readonly value?: PrivateEndpointConnection[];
755
+ /**
756
+ * The URL to get the next set of results.
757
+ * NOTE: This property will not be serialized. It can only be populated by the server.
758
+ */
759
+ readonly nextLink?: string;
760
+ }
761
+ /** A list of private link resources */
762
+ export interface PrivateLinkResourceListResult {
763
+ /**
764
+ * Array of results.
765
+ * NOTE: This property will not be serialized. It can only be populated by the server.
766
+ */
767
+ readonly value?: PrivateLinkResource[];
768
+ /**
769
+ * Link to retrieve next page of results.
770
+ * NOTE: This property will not be serialized. It can only be populated by the server.
771
+ */
772
+ readonly nextLink?: string;
773
+ }
774
+ /** Capability for the PostgreSQL server */
775
+ export interface QuotaUsagesListResult {
776
+ /**
777
+ * A list of quota usages.
778
+ * NOTE: This property will not be serialized. It can only be populated by the server.
779
+ */
780
+ readonly value?: QuotaUsage[];
781
+ /**
782
+ * Link to retrieve next page of results.
783
+ * NOTE: This property will not be serialized. It can only be populated by the server.
784
+ */
785
+ readonly nextLink?: string;
786
+ }
787
+ /** Quota usage for flexible servers */
788
+ export interface QuotaUsage {
789
+ /** Name of quota usage for flexible servers */
790
+ name?: NameProperty;
791
+ /** Quota limit */
792
+ limit?: number;
793
+ /** Quota unit */
794
+ unit?: string;
795
+ /** Current Quota usage value */
796
+ currentValue?: number;
797
+ /** Fully qualified ARM resource Id */
798
+ id?: string;
799
+ }
800
+ /** Name property for quota usage */
801
+ export interface NameProperty {
802
+ /** Name value */
803
+ value?: string;
804
+ /** Localized name */
805
+ localizedValue?: string;
806
+ }
575
807
  /** A List of logFiles. */
576
808
  export interface LogFileListResult {
577
809
  /** The list of logFiles in a server */
@@ -586,6 +818,38 @@ export interface RestartParameter {
586
818
  /** Failover mode. */
587
819
  failoverMode?: FailoverMode;
588
820
  }
821
+ /** A list of the server's Advanced Threat Protection settings. */
822
+ export interface ServerThreatProtectionListResult {
823
+ /**
824
+ * Array of results.
825
+ * NOTE: This property will not be serialized. It can only be populated by the server.
826
+ */
827
+ readonly value?: ServerThreatProtectionSettingsModel[];
828
+ /**
829
+ * Link to retrieve next page of results.
830
+ * NOTE: This property will not be serialized. It can only be populated by the server.
831
+ */
832
+ readonly nextLink?: string;
833
+ }
834
+ /** Represents a virtual endpoint for a server. */
835
+ export interface VirtualEndpointResourceForPatch {
836
+ /** The endpoint type for the virtual endpoint. */
837
+ endpointType?: VirtualEndpointType;
838
+ /** List of members for a virtual endpoint */
839
+ members?: string[];
840
+ /**
841
+ * List of virtual endpoints for a server
842
+ * NOTE: This property will not be serialized. It can only be populated by the server.
843
+ */
844
+ readonly virtualEndpoints?: string[];
845
+ }
846
+ /** A list of virtual endpoints. */
847
+ export interface VirtualEndpointsListResult {
848
+ /** The list of virtual endpoints */
849
+ value?: VirtualEndpointResource[];
850
+ /** The link used to get the next page of operations. */
851
+ nextLink?: string;
852
+ }
589
853
  /** Virtual network subnet usage parameter */
590
854
  export interface VirtualNetworkSubnetUsageParameter {
591
855
  /** Virtual network resource id. */
@@ -619,64 +883,25 @@ export interface DelegatedSubnetUsage {
619
883
  */
620
884
  readonly usage?: number;
621
885
  }
622
- /** BackupRequestBase is the base for all backup request. */
623
- export interface BackupRequestBase {
624
- /** Backup Settings */
625
- backupSettings: BackupSettings;
626
- }
627
- /** The settings for the long term backup. */
628
- export interface BackupSettings {
629
- /** Backup Name for the current backup */
630
- backupName: string;
631
- }
632
- /** Response for the LTR pre-backup API call */
633
- export interface LtrPreBackupResponse {
634
- /** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
635
- numberOfContainers: number;
636
- }
637
- /** Details about the target where the backup content will be stored. */
638
- export interface BackupStoreDetails {
639
- /** List of SAS uri of storage containers where backup data is to be streamed/copied. */
640
- sasUriList: string[];
886
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
887
+ export interface ProxyResource extends Resource {
641
888
  }
642
- /** Response for the LTR backup API call */
643
- export interface LtrBackupResponse {
644
- /** Size of datasource in bytes */
645
- datasourceSizeInBytes?: number;
646
- /** Data transferred in bytes */
647
- dataTransferredInBytes?: number;
648
- /** Name of Backup operation */
649
- backupName?: string;
650
- /** 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 */
651
- backupMetadata?: string;
652
- /** Service-set extensible enum indicating the status of operation */
653
- status?: ExecutionStatus;
654
- /** Start time of the operation. */
655
- startTime?: Date;
656
- /** End time of the operation. */
657
- endTime?: Date;
658
- /** PercentageCompleted */
659
- percentComplete?: number;
889
+ /** The private endpoint connection resource. */
890
+ export interface PrivateEndpointConnection extends Resource {
660
891
  /**
661
- * The error code.
892
+ * The group ids for the private endpoint resource.
662
893
  * NOTE: This property will not be serialized. It can only be populated by the server.
663
894
  */
664
- readonly errorCode?: string;
895
+ readonly groupIds?: string[];
896
+ /** The private endpoint resource. */
897
+ privateEndpoint?: PrivateEndpoint;
898
+ /** A collection of information about the state of the connection between service consumer and provider. */
899
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
665
900
  /**
666
- * The error message.
901
+ * The provisioning state of the private endpoint connection resource.
667
902
  * NOTE: This property will not be serialized. It can only be populated by the server.
668
903
  */
669
- readonly errorMessage?: string;
670
- }
671
- /** A list of long term retention backup operations for server. */
672
- export interface LtrServerBackupOperationList {
673
- /** The list of long term retention server backup operations */
674
- value?: LtrServerBackupOperation[];
675
- /** The link used to get the next page of operations. */
676
- nextLink?: string;
677
- }
678
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
679
- export interface ProxyResource extends Resource {
904
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
680
905
  }
681
906
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
682
907
  export interface TrackedResource extends Resource {
@@ -687,6 +912,24 @@ export interface TrackedResource extends Resource {
687
912
  /** The geo-location where the resource lives */
688
913
  location: string;
689
914
  }
915
+ /** A private link resource. */
916
+ export interface PrivateLinkResource extends Resource {
917
+ /**
918
+ * The private link resource group id.
919
+ * NOTE: This property will not be serialized. It can only be populated by the server.
920
+ */
921
+ readonly groupId?: string;
922
+ /**
923
+ * The private link resource required member names.
924
+ * NOTE: This property will not be serialized. It can only be populated by the server.
925
+ */
926
+ readonly requiredMembers?: string[];
927
+ /** The private link resource private link DNS zone name. */
928
+ requiredZoneNames?: string[];
929
+ }
930
+ /** Represents a virtual endpoint for a server. */
931
+ export interface VirtualEndpointResource extends VirtualEndpointResourceForPatch, Resource {
932
+ }
690
933
  /** Represents capability of a storage tier */
691
934
  export interface StorageTierCapability extends CapabilityBase {
692
935
  /**
@@ -707,11 +950,31 @@ export interface StorageMbCapability extends CapabilityBase {
707
950
  * NOTE: This property will not be serialized. It can only be populated by the server.
708
951
  */
709
952
  readonly supportedIops?: number;
953
+ /**
954
+ * Maximum IOPS supported by this #Vcores or PremiumV2_LRS Storage Size
955
+ * NOTE: This property will not be serialized. It can only be populated by the server.
956
+ */
957
+ readonly supportedMaximumIops?: number;
710
958
  /**
711
959
  * Storage size in MB
712
960
  * NOTE: This property will not be serialized. It can only be populated by the server.
713
961
  */
714
962
  readonly storageSizeMb?: number;
963
+ /**
964
+ * Maximum value of Storage size in MB
965
+ * NOTE: This property will not be serialized. It can only be populated by the server.
966
+ */
967
+ readonly maximumStorageSizeMb?: number;
968
+ /**
969
+ * Values of throughput in MB/s
970
+ * NOTE: This property will not be serialized. It can only be populated by the server.
971
+ */
972
+ readonly supportedThroughput?: number;
973
+ /**
974
+ * Maximum values of throughput in MB/s
975
+ * NOTE: This property will not be serialized. It can only be populated by the server.
976
+ */
977
+ readonly supportedMaximumThroughput?: number;
715
978
  /**
716
979
  * Default tier for IOPS
717
980
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1000,19 +1263,6 @@ export interface FirewallRule extends ProxyResource {
1000
1263
  /** The end IP address of the server firewall rule. Must be IPv4 format. */
1001
1264
  endIpAddress: string;
1002
1265
  }
1003
- /** Represents a logFile. */
1004
- export interface LogFile extends ProxyResource {
1005
- /** Creation timestamp of the log file. */
1006
- createdTime?: Date;
1007
- /** Last modified timestamp of the log file. */
1008
- lastModifiedTime?: Date;
1009
- /** The size in kb of the logFile. */
1010
- sizeInKb?: number;
1011
- /** Type of the log file. */
1012
- typePropertiesType?: string;
1013
- /** The url to download the log file from. */
1014
- url?: string;
1015
- }
1016
1266
  /** Response for the LTR backup Operation API call */
1017
1267
  export interface LtrServerBackupOperation extends ProxyResource {
1018
1268
  /** Size of datasource in bytes */
@@ -1042,6 +1292,29 @@ export interface LtrServerBackupOperation extends ProxyResource {
1042
1292
  */
1043
1293
  readonly errorMessage?: string;
1044
1294
  }
1295
+ /** Represents a logFile. */
1296
+ export interface LogFile extends ProxyResource {
1297
+ /** Creation timestamp of the log file. */
1298
+ createdTime?: Date;
1299
+ /** Last modified timestamp of the log file. */
1300
+ lastModifiedTime?: Date;
1301
+ /** The size in kb of the logFile. */
1302
+ sizeInKb?: number;
1303
+ /** Type of the log file. */
1304
+ typePropertiesType?: string;
1305
+ /** The url to download the log file from. */
1306
+ url?: string;
1307
+ }
1308
+ /** Server's Advanced Threat Protection settings. */
1309
+ export interface ServerThreatProtectionSettingsModel extends ProxyResource {
1310
+ /** 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. */
1311
+ state?: ThreatProtectionState;
1312
+ /**
1313
+ * Specifies the UTC creation time of the policy.
1314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1315
+ */
1316
+ readonly creationTime?: Date;
1317
+ }
1045
1318
  /** Represents a server. */
1046
1319
  export interface Server extends TrackedResource {
1047
1320
  /** The SKU (pricing tier) of the server. */
@@ -1099,8 +1372,15 @@ export interface Server extends TrackedResource {
1099
1372
  * NOTE: This property will not be serialized. It can only be populated by the server.
1100
1373
  */
1101
1374
  readonly replicaCapacity?: number;
1375
+ /** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
1376
+ replica?: Replica;
1102
1377
  /** The mode to create a new PostgreSQL server. */
1103
1378
  createMode?: CreateMode;
1379
+ /**
1380
+ * List of private endpoint connections associated with the specified resource.
1381
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1382
+ */
1383
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1104
1384
  }
1105
1385
  /** Represents a migration resource. */
1106
1386
  export interface MigrationResource extends TrackedResource {
@@ -1116,6 +1396,12 @@ export interface MigrationResource extends TrackedResource {
1116
1396
  readonly currentStatus?: MigrationStatus;
1117
1397
  /** There are two types of migration modes Online and Offline */
1118
1398
  migrationMode?: MigrationMode;
1399
+ /** This indicates the supported Migration option for the migration */
1400
+ migrationOption?: MigrationOption;
1401
+ /** migration source server type : OnPremises, AWS, GCP, AzureVM or PostgreSQLSingleServer */
1402
+ sourceType?: SourceType;
1403
+ /** SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types */
1404
+ sslMode?: SslMode;
1119
1405
  /**
1120
1406
  * Metadata of the source database server
1121
1407
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1126,7 +1412,7 @@ export interface MigrationResource extends TrackedResource {
1126
1412
  * NOTE: This property will not be serialized. It can only be populated by the server.
1127
1413
  */
1128
1414
  readonly targetDbServerMetadata?: DbServerMetadata;
1129
- /** ResourceId of the source database server */
1415
+ /** 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 */
1130
1416
  sourceDbServerResourceId?: string;
1131
1417
  /** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
1132
1418
  sourceDbServerFullyQualifiedDomainName?: string;
@@ -1240,6 +1526,30 @@ export interface FlexibleServerStartLtrBackupExceptionHeaders {
1240
1526
  /** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
1241
1527
  xMsRequestId?: string;
1242
1528
  }
1529
+ /** Defines headers for PrivateEndpointConnection_update operation. */
1530
+ export interface PrivateEndpointConnectionUpdateHeaders {
1531
+ location?: string;
1532
+ }
1533
+ /** Defines headers for PrivateEndpointConnection_delete operation. */
1534
+ export interface PrivateEndpointConnectionDeleteHeaders {
1535
+ location?: string;
1536
+ }
1537
+ /** Defines headers for ServerThreatProtectionSettings_createOrUpdate operation. */
1538
+ export interface ServerThreatProtectionSettingsCreateOrUpdateHeaders {
1539
+ location?: string;
1540
+ }
1541
+ /** Defines headers for VirtualEndpoints_create operation. */
1542
+ export interface VirtualEndpointsCreateHeaders {
1543
+ location?: string;
1544
+ }
1545
+ /** Defines headers for VirtualEndpoints_update operation. */
1546
+ export interface VirtualEndpointsUpdateHeaders {
1547
+ location?: string;
1548
+ }
1549
+ /** Defines headers for VirtualEndpoints_delete operation. */
1550
+ export interface VirtualEndpointsDeleteHeaders {
1551
+ location?: string;
1552
+ }
1243
1553
  /** Known values of {@link PrincipalType} that the service accepts. */
1244
1554
  export declare enum KnownPrincipalType {
1245
1555
  /** Unknown */
@@ -1509,7 +1819,9 @@ export declare enum KnownServerVersion {
1509
1819
  /** Twelve */
1510
1820
  Twelve = "12",
1511
1821
  /** Eleven */
1512
- Eleven = "11"
1822
+ Eleven = "11",
1823
+ /** Sixteen */
1824
+ Sixteen = "16"
1513
1825
  }
1514
1826
  /**
1515
1827
  * Defines values for ServerVersion. \
@@ -1520,7 +1832,8 @@ export declare enum KnownServerVersion {
1520
1832
  * **14** \
1521
1833
  * **13** \
1522
1834
  * **12** \
1523
- * **11**
1835
+ * **11** \
1836
+ * **16**
1524
1837
  */
1525
1838
  export type ServerVersion = string;
1526
1839
  /** Known values of {@link ServerState} that the service accepts. */
@@ -1622,6 +1935,22 @@ export declare enum KnownAzureManagedDiskPerformanceTiers {
1622
1935
  * **P80**
1623
1936
  */
1624
1937
  export type AzureManagedDiskPerformanceTiers = string;
1938
+ /** Known values of {@link StorageType} that the service accepts. */
1939
+ export declare enum KnownStorageType {
1940
+ /** PremiumLRS */
1941
+ PremiumLRS = "Premium_LRS",
1942
+ /** PremiumV2LRS */
1943
+ PremiumV2LRS = "PremiumV2_LRS"
1944
+ }
1945
+ /**
1946
+ * Defines values for StorageType. \
1947
+ * {@link KnownStorageType} can be used interchangeably with StorageType,
1948
+ * this enum contains the known values that the service supports.
1949
+ * ### Known values supported by the service
1950
+ * **Premium_LRS** \
1951
+ * **PremiumV2_LRS**
1952
+ */
1953
+ export type StorageType = string;
1625
1954
  /** Known values of {@link ActiveDirectoryAuthEnum} that the service accepts. */
1626
1955
  export declare enum KnownActiveDirectoryAuthEnum {
1627
1956
  /** Enabled */
@@ -1787,6 +2116,66 @@ export declare enum KnownReplicationRole {
1787
2116
  * **GeoAsyncReplica**
1788
2117
  */
1789
2118
  export type ReplicationRole = string;
2119
+ /** Known values of {@link ReplicationState} that the service accepts. */
2120
+ export declare enum KnownReplicationState {
2121
+ /** Active */
2122
+ Active = "Active",
2123
+ /** Catchup */
2124
+ Catchup = "Catchup",
2125
+ /** Provisioning */
2126
+ Provisioning = "Provisioning",
2127
+ /** Updating */
2128
+ Updating = "Updating",
2129
+ /** Broken */
2130
+ Broken = "Broken",
2131
+ /** Reconfiguring */
2132
+ Reconfiguring = "Reconfiguring"
2133
+ }
2134
+ /**
2135
+ * Defines values for ReplicationState. \
2136
+ * {@link KnownReplicationState} can be used interchangeably with ReplicationState,
2137
+ * this enum contains the known values that the service supports.
2138
+ * ### Known values supported by the service
2139
+ * **Active** \
2140
+ * **Catchup** \
2141
+ * **Provisioning** \
2142
+ * **Updating** \
2143
+ * **Broken** \
2144
+ * **Reconfiguring**
2145
+ */
2146
+ export type ReplicationState = string;
2147
+ /** Known values of {@link ReadReplicaPromoteMode} that the service accepts. */
2148
+ export declare enum KnownReadReplicaPromoteMode {
2149
+ /** Standalone */
2150
+ Standalone = "standalone",
2151
+ /** Switchover */
2152
+ Switchover = "switchover"
2153
+ }
2154
+ /**
2155
+ * Defines values for ReadReplicaPromoteMode. \
2156
+ * {@link KnownReadReplicaPromoteMode} can be used interchangeably with ReadReplicaPromoteMode,
2157
+ * this enum contains the known values that the service supports.
2158
+ * ### Known values supported by the service
2159
+ * **standalone** \
2160
+ * **switchover**
2161
+ */
2162
+ export type ReadReplicaPromoteMode = string;
2163
+ /** Known values of {@link ReplicationPromoteOption} that the service accepts. */
2164
+ export declare enum KnownReplicationPromoteOption {
2165
+ /** Planned */
2166
+ Planned = "planned",
2167
+ /** Forced */
2168
+ Forced = "forced"
2169
+ }
2170
+ /**
2171
+ * Defines values for ReplicationPromoteOption. \
2172
+ * {@link KnownReplicationPromoteOption} can be used interchangeably with ReplicationPromoteOption,
2173
+ * this enum contains the known values that the service supports.
2174
+ * ### Known values supported by the service
2175
+ * **planned** \
2176
+ * **forced**
2177
+ */
2178
+ export type ReplicationPromoteOption = string;
1790
2179
  /** Known values of {@link CreateMode} that the service accepts. */
1791
2180
  export declare enum KnownCreateMode {
1792
2181
  /** Default */
@@ -1818,6 +2207,47 @@ export declare enum KnownCreateMode {
1818
2207
  * **ReviveDropped**
1819
2208
  */
1820
2209
  export type CreateMode = string;
2210
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
2211
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
2212
+ /** Pending */
2213
+ Pending = "Pending",
2214
+ /** Approved */
2215
+ Approved = "Approved",
2216
+ /** Rejected */
2217
+ Rejected = "Rejected"
2218
+ }
2219
+ /**
2220
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2221
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2222
+ * this enum contains the known values that the service supports.
2223
+ * ### Known values supported by the service
2224
+ * **Pending** \
2225
+ * **Approved** \
2226
+ * **Rejected**
2227
+ */
2228
+ export type PrivateEndpointServiceConnectionStatus = string;
2229
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
2230
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
2231
+ /** Succeeded */
2232
+ Succeeded = "Succeeded",
2233
+ /** Creating */
2234
+ Creating = "Creating",
2235
+ /** Deleting */
2236
+ Deleting = "Deleting",
2237
+ /** Failed */
2238
+ Failed = "Failed"
2239
+ }
2240
+ /**
2241
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2242
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2243
+ * this enum contains the known values that the service supports.
2244
+ * ### Known values supported by the service
2245
+ * **Succeeded** \
2246
+ * **Creating** \
2247
+ * **Deleting** \
2248
+ * **Failed**
2249
+ */
2250
+ export type PrivateEndpointConnectionProvisioningState = string;
1821
2251
  /** Known values of {@link CreateModeForUpdate} that the service accepts. */
1822
2252
  export declare enum KnownCreateModeForUpdate {
1823
2253
  /** Default */
@@ -1834,6 +2264,28 @@ export declare enum KnownCreateModeForUpdate {
1834
2264
  * **Update**
1835
2265
  */
1836
2266
  export type CreateModeForUpdate = string;
2267
+ /** Known values of {@link ExecutionStatus} that the service accepts. */
2268
+ export declare enum KnownExecutionStatus {
2269
+ /** Running */
2270
+ Running = "Running",
2271
+ /** Cancelled */
2272
+ Cancelled = "Cancelled",
2273
+ /** Failed */
2274
+ Failed = "Failed",
2275
+ /** Succeeded */
2276
+ Succeeded = "Succeeded"
2277
+ }
2278
+ /**
2279
+ * Defines values for ExecutionStatus. \
2280
+ * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
2281
+ * this enum contains the known values that the service supports.
2282
+ * ### Known values supported by the service
2283
+ * **Running** \
2284
+ * **Cancelled** \
2285
+ * **Failed** \
2286
+ * **Succeeded**
2287
+ */
2288
+ export type ExecutionStatus = string;
1837
2289
  /** Known values of {@link MigrationState} that the service accepts. */
1838
2290
  export declare enum KnownMigrationState {
1839
2291
  /** InProgress */
@@ -1845,7 +2297,11 @@ export declare enum KnownMigrationState {
1845
2297
  /** Failed */
1846
2298
  Failed = "Failed",
1847
2299
  /** Succeeded */
1848
- Succeeded = "Succeeded"
2300
+ Succeeded = "Succeeded",
2301
+ /** ValidationFailed */
2302
+ ValidationFailed = "ValidationFailed",
2303
+ /** CleaningUp */
2304
+ CleaningUp = "CleaningUp"
1849
2305
  }
1850
2306
  /**
1851
2307
  * Defines values for MigrationState. \
@@ -1856,7 +2312,9 @@ export declare enum KnownMigrationState {
1856
2312
  * **WaitingForUserAction** \
1857
2313
  * **Canceled** \
1858
2314
  * **Failed** \
1859
- * **Succeeded**
2315
+ * **Succeeded** \
2316
+ * **ValidationFailed** \
2317
+ * **CleaningUp**
1860
2318
  */
1861
2319
  export type MigrationState = string;
1862
2320
  /** Known values of {@link MigrationSubState} that the service accepts. */
@@ -1880,7 +2338,11 @@ export declare enum KnownMigrationSubState {
1880
2338
  /** CompletingMigration */
1881
2339
  CompletingMigration = "CompletingMigration",
1882
2340
  /** Completed */
1883
- Completed = "Completed"
2341
+ Completed = "Completed",
2342
+ /** CancelingRequestedDBMigrations */
2343
+ CancelingRequestedDBMigrations = "CancelingRequestedDBMigrations",
2344
+ /** ValidationInProgress */
2345
+ ValidationInProgress = "ValidationInProgress"
1884
2346
  }
1885
2347
  /**
1886
2348
  * Defines values for MigrationSubState. \
@@ -1896,9 +2358,58 @@ export declare enum KnownMigrationSubState {
1896
2358
  * **MigratingData** \
1897
2359
  * **WaitingForCutoverTrigger** \
1898
2360
  * **CompletingMigration** \
1899
- * **Completed**
2361
+ * **Completed** \
2362
+ * **CancelingRequestedDBMigrations** \
2363
+ * **ValidationInProgress**
1900
2364
  */
1901
2365
  export type MigrationSubState = string;
2366
+ /** Known values of {@link MigrationDbState} that the service accepts. */
2367
+ export declare enum KnownMigrationDbState {
2368
+ /** InProgress */
2369
+ InProgress = "InProgress",
2370
+ /** WaitingForCutoverTrigger */
2371
+ WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
2372
+ /** Failed */
2373
+ Failed = "Failed",
2374
+ /** Canceled */
2375
+ Canceled = "Canceled",
2376
+ /** Succeeded */
2377
+ Succeeded = "Succeeded",
2378
+ /** Canceling */
2379
+ Canceling = "Canceling"
2380
+ }
2381
+ /**
2382
+ * Defines values for MigrationDbState. \
2383
+ * {@link KnownMigrationDbState} can be used interchangeably with MigrationDbState,
2384
+ * this enum contains the known values that the service supports.
2385
+ * ### Known values supported by the service
2386
+ * **InProgress** \
2387
+ * **WaitingForCutoverTrigger** \
2388
+ * **Failed** \
2389
+ * **Canceled** \
2390
+ * **Succeeded** \
2391
+ * **Canceling**
2392
+ */
2393
+ export type MigrationDbState = string;
2394
+ /** Known values of {@link ValidationState} that the service accepts. */
2395
+ export declare enum KnownValidationState {
2396
+ /** Failed */
2397
+ Failed = "Failed",
2398
+ /** Succeeded */
2399
+ Succeeded = "Succeeded",
2400
+ /** Warning */
2401
+ Warning = "Warning"
2402
+ }
2403
+ /**
2404
+ * Defines values for ValidationState. \
2405
+ * {@link KnownValidationState} can be used interchangeably with ValidationState,
2406
+ * this enum contains the known values that the service supports.
2407
+ * ### Known values supported by the service
2408
+ * **Failed** \
2409
+ * **Succeeded** \
2410
+ * **Warning**
2411
+ */
2412
+ export type ValidationState = string;
1902
2413
  /** Known values of {@link MigrationMode} that the service accepts. */
1903
2414
  export declare enum KnownMigrationMode {
1904
2415
  /** Offline */
@@ -1915,6 +2426,72 @@ export declare enum KnownMigrationMode {
1915
2426
  * **Online**
1916
2427
  */
1917
2428
  export type MigrationMode = string;
2429
+ /** Known values of {@link MigrationOption} that the service accepts. */
2430
+ export declare enum KnownMigrationOption {
2431
+ /** Validate */
2432
+ Validate = "Validate",
2433
+ /** Migrate */
2434
+ Migrate = "Migrate",
2435
+ /** ValidateAndMigrate */
2436
+ ValidateAndMigrate = "ValidateAndMigrate"
2437
+ }
2438
+ /**
2439
+ * Defines values for MigrationOption. \
2440
+ * {@link KnownMigrationOption} can be used interchangeably with MigrationOption,
2441
+ * this enum contains the known values that the service supports.
2442
+ * ### Known values supported by the service
2443
+ * **Validate** \
2444
+ * **Migrate** \
2445
+ * **ValidateAndMigrate**
2446
+ */
2447
+ export type MigrationOption = string;
2448
+ /** Known values of {@link SourceType} that the service accepts. */
2449
+ export declare enum KnownSourceType {
2450
+ /** OnPremises */
2451
+ OnPremises = "OnPremises",
2452
+ /** AWS */
2453
+ AWS = "AWS",
2454
+ /** GCP */
2455
+ GCP = "GCP",
2456
+ /** AzureVM */
2457
+ AzureVM = "AzureVM",
2458
+ /** PostgreSQLSingleServer */
2459
+ PostgreSQLSingleServer = "PostgreSQLSingleServer"
2460
+ }
2461
+ /**
2462
+ * Defines values for SourceType. \
2463
+ * {@link KnownSourceType} can be used interchangeably with SourceType,
2464
+ * this enum contains the known values that the service supports.
2465
+ * ### Known values supported by the service
2466
+ * **OnPremises** \
2467
+ * **AWS** \
2468
+ * **GCP** \
2469
+ * **AzureVM** \
2470
+ * **PostgreSQLSingleServer**
2471
+ */
2472
+ export type SourceType = string;
2473
+ /** Known values of {@link SslMode} that the service accepts. */
2474
+ export declare enum KnownSslMode {
2475
+ /** Prefer */
2476
+ Prefer = "Prefer",
2477
+ /** Require */
2478
+ Require = "Require",
2479
+ /** VerifyCA */
2480
+ VerifyCA = "VerifyCA",
2481
+ /** VerifyFull */
2482
+ VerifyFull = "VerifyFull"
2483
+ }
2484
+ /**
2485
+ * Defines values for SslMode. \
2486
+ * {@link KnownSslMode} can be used interchangeably with SslMode,
2487
+ * this enum contains the known values that the service supports.
2488
+ * ### Known values supported by the service
2489
+ * **Prefer** \
2490
+ * **Require** \
2491
+ * **VerifyCA** \
2492
+ * **VerifyFull**
2493
+ */
2494
+ export type SslMode = string;
1918
2495
  /** Known values of {@link LogicalReplicationOnSourceDbEnum} that the service accepts. */
1919
2496
  export declare enum KnownLogicalReplicationOnSourceDbEnum {
1920
2497
  /** True */
@@ -2068,28 +2645,32 @@ export declare enum KnownFailoverMode {
2068
2645
  * **ForcedSwitchover**
2069
2646
  */
2070
2647
  export type FailoverMode = string;
2071
- /** Known values of {@link ExecutionStatus} that the service accepts. */
2072
- export declare enum KnownExecutionStatus {
2073
- /** Running */
2074
- Running = "Running",
2075
- /** Cancelled */
2076
- Cancelled = "Cancelled",
2077
- /** Failed */
2078
- Failed = "Failed",
2079
- /** Succeeded */
2080
- Succeeded = "Succeeded"
2648
+ /** Known values of {@link ThreatProtectionName} that the service accepts. */
2649
+ export declare enum KnownThreatProtectionName {
2650
+ /** Default */
2651
+ Default = "Default"
2081
2652
  }
2082
2653
  /**
2083
- * Defines values for ExecutionStatus. \
2084
- * {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
2654
+ * Defines values for ThreatProtectionName. \
2655
+ * {@link KnownThreatProtectionName} can be used interchangeably with ThreatProtectionName,
2085
2656
  * this enum contains the known values that the service supports.
2086
2657
  * ### Known values supported by the service
2087
- * **Running** \
2088
- * **Cancelled** \
2089
- * **Failed** \
2090
- * **Succeeded**
2658
+ * **Default**
2091
2659
  */
2092
- export type ExecutionStatus = string;
2660
+ export type ThreatProtectionName = string;
2661
+ /** Known values of {@link VirtualEndpointType} that the service accepts. */
2662
+ export declare enum KnownVirtualEndpointType {
2663
+ /** ReadWrite */
2664
+ ReadWrite = "ReadWrite"
2665
+ }
2666
+ /**
2667
+ * Defines values for VirtualEndpointType. \
2668
+ * {@link KnownVirtualEndpointType} can be used interchangeably with VirtualEndpointType,
2669
+ * this enum contains the known values that the service supports.
2670
+ * ### Known values supported by the service
2671
+ * **ReadWrite**
2672
+ */
2673
+ export type VirtualEndpointType = string;
2093
2674
  /** Known values of {@link MigrationDetailsLevel} that the service accepts. */
2094
2675
  export declare enum KnownMigrationDetailsLevel {
2095
2676
  /** Default */
@@ -2111,6 +2692,8 @@ export declare enum KnownMigrationDetailsLevel {
2111
2692
  export type MigrationDetailsLevel = string;
2112
2693
  /** Defines values for CapabilityStatus. */
2113
2694
  export type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled";
2695
+ /** Defines values for ThreatProtectionState. */
2696
+ export type ThreatProtectionState = "Enabled" | "Disabled";
2114
2697
  /** Optional parameters. */
2115
2698
  export interface AdministratorsCreateOptionalParams extends coreClient.OperationOptions {
2116
2699
  /** Delay to wait until next poll, in milliseconds. */
@@ -2356,6 +2939,35 @@ export interface ServersListNextOptionalParams extends coreClient.OperationOptio
2356
2939
  /** Contains response data for the listNext operation. */
2357
2940
  export type ServersListNextResponse = ServerListResult;
2358
2941
  /** Optional parameters. */
2942
+ export interface FlexibleServerTriggerLtrPreBackupOptionalParams extends coreClient.OperationOptions {
2943
+ }
2944
+ /** Contains response data for the triggerLtrPreBackup operation. */
2945
+ export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders & LtrPreBackupResponse;
2946
+ /** Optional parameters. */
2947
+ export interface FlexibleServerStartLtrBackupOptionalParams extends coreClient.OperationOptions {
2948
+ /** Delay to wait until next poll, in milliseconds. */
2949
+ updateIntervalInMs?: number;
2950
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2951
+ resumeFrom?: string;
2952
+ }
2953
+ /** Contains response data for the startLtrBackup operation. */
2954
+ export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders & LtrBackupResponse;
2955
+ /** Optional parameters. */
2956
+ export interface LtrBackupOperationsGetOptionalParams extends coreClient.OperationOptions {
2957
+ }
2958
+ /** Contains response data for the get operation. */
2959
+ export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
2960
+ /** Optional parameters. */
2961
+ export interface LtrBackupOperationsListByServerOptionalParams extends coreClient.OperationOptions {
2962
+ }
2963
+ /** Contains response data for the listByServer operation. */
2964
+ export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
2965
+ /** Optional parameters. */
2966
+ export interface LtrBackupOperationsListByServerNextOptionalParams extends coreClient.OperationOptions {
2967
+ }
2968
+ /** Contains response data for the listByServerNext operation. */
2969
+ export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
2970
+ /** Optional parameters. */
2359
2971
  export interface MigrationsCreateOptionalParams extends coreClient.OperationOptions {
2360
2972
  }
2361
2973
  /** Contains response data for the create operation. */
@@ -2404,6 +3016,64 @@ export type GetPrivateDnsZoneSuffixExecuteResponse = {
2404
3016
  body: string;
2405
3017
  };
2406
3018
  /** Optional parameters. */
3019
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
3020
+ }
3021
+ /** Contains response data for the get operation. */
3022
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
3023
+ /** Optional parameters. */
3024
+ export interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
3025
+ }
3026
+ /** Contains response data for the listByServer operation. */
3027
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
3028
+ /** Optional parameters. */
3029
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
3030
+ }
3031
+ /** Contains response data for the listByServerNext operation. */
3032
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
3033
+ /** Optional parameters. */
3034
+ export interface PrivateEndpointConnectionUpdateOptionalParams extends coreClient.OperationOptions {
3035
+ /** Delay to wait until next poll, in milliseconds. */
3036
+ updateIntervalInMs?: number;
3037
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3038
+ resumeFrom?: string;
3039
+ }
3040
+ /** Contains response data for the update operation. */
3041
+ export type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
3042
+ /** Optional parameters. */
3043
+ export interface PrivateEndpointConnectionDeleteOptionalParams extends coreClient.OperationOptions {
3044
+ /** Delay to wait until next poll, in milliseconds. */
3045
+ updateIntervalInMs?: number;
3046
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3047
+ resumeFrom?: string;
3048
+ }
3049
+ /** Contains response data for the delete operation. */
3050
+ export type PrivateEndpointConnectionDeleteResponse = PrivateEndpointConnectionDeleteHeaders;
3051
+ /** Optional parameters. */
3052
+ export interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
3053
+ }
3054
+ /** Contains response data for the listByServer operation. */
3055
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
3056
+ /** Optional parameters. */
3057
+ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
3058
+ }
3059
+ /** Contains response data for the get operation. */
3060
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3061
+ /** Optional parameters. */
3062
+ export interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
3063
+ }
3064
+ /** Contains response data for the listByServerNext operation. */
3065
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
3066
+ /** Optional parameters. */
3067
+ export interface QuotaUsagesListOptionalParams extends coreClient.OperationOptions {
3068
+ }
3069
+ /** Contains response data for the list operation. */
3070
+ export type QuotaUsagesListResponse = QuotaUsagesListResult;
3071
+ /** Optional parameters. */
3072
+ export interface QuotaUsagesListNextOptionalParams extends coreClient.OperationOptions {
3073
+ }
3074
+ /** Contains response data for the listNext operation. */
3075
+ export type QuotaUsagesListNextResponse = QuotaUsagesListResult;
3076
+ /** Optional parameters. */
2407
3077
  export interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
2408
3078
  }
2409
3079
  /** Contains response data for the listByServer operation. */
@@ -2419,39 +3089,76 @@ export interface LogFilesListByServerNextOptionalParams extends coreClient.Opera
2419
3089
  /** Contains response data for the listByServerNext operation. */
2420
3090
  export type LogFilesListByServerNextResponse = LogFileListResult;
2421
3091
  /** Optional parameters. */
2422
- export interface VirtualNetworkSubnetUsageExecuteOptionalParams extends coreClient.OperationOptions {
3092
+ export interface ServerThreatProtectionSettingsListByServerOptionalParams extends coreClient.OperationOptions {
2423
3093
  }
2424
- /** Contains response data for the execute operation. */
2425
- export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
3094
+ /** Contains response data for the listByServer operation. */
3095
+ export type ServerThreatProtectionSettingsListByServerResponse = ServerThreatProtectionListResult;
2426
3096
  /** Optional parameters. */
2427
- export interface FlexibleServerTriggerLtrPreBackupOptionalParams extends coreClient.OperationOptions {
3097
+ export interface ServerThreatProtectionSettingsGetOptionalParams extends coreClient.OperationOptions {
2428
3098
  }
2429
- /** Contains response data for the triggerLtrPreBackup operation. */
2430
- export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders & LtrPreBackupResponse;
3099
+ /** Contains response data for the get operation. */
3100
+ export type ServerThreatProtectionSettingsGetResponse = ServerThreatProtectionSettingsModel;
2431
3101
  /** Optional parameters. */
2432
- export interface FlexibleServerStartLtrBackupOptionalParams extends coreClient.OperationOptions {
3102
+ export interface ServerThreatProtectionSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2433
3103
  /** Delay to wait until next poll, in milliseconds. */
2434
3104
  updateIntervalInMs?: number;
2435
3105
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2436
3106
  resumeFrom?: string;
2437
3107
  }
2438
- /** Contains response data for the startLtrBackup operation. */
2439
- export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders & LtrBackupResponse;
3108
+ /** Contains response data for the createOrUpdate operation. */
3109
+ export type ServerThreatProtectionSettingsCreateOrUpdateResponse = ServerThreatProtectionSettingsModel;
2440
3110
  /** Optional parameters. */
2441
- export interface LtrBackupOperationsGetOptionalParams extends coreClient.OperationOptions {
3111
+ export interface ServerThreatProtectionSettingsListByServerNextOptionalParams extends coreClient.OperationOptions {
3112
+ }
3113
+ /** Contains response data for the listByServerNext operation. */
3114
+ export type ServerThreatProtectionSettingsListByServerNextResponse = ServerThreatProtectionListResult;
3115
+ /** Optional parameters. */
3116
+ export interface VirtualEndpointsCreateOptionalParams extends coreClient.OperationOptions {
3117
+ /** Delay to wait until next poll, in milliseconds. */
3118
+ updateIntervalInMs?: number;
3119
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3120
+ resumeFrom?: string;
3121
+ }
3122
+ /** Contains response data for the create operation. */
3123
+ export type VirtualEndpointsCreateResponse = VirtualEndpointResource;
3124
+ /** Optional parameters. */
3125
+ export interface VirtualEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
3126
+ /** Delay to wait until next poll, in milliseconds. */
3127
+ updateIntervalInMs?: number;
3128
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3129
+ resumeFrom?: string;
3130
+ }
3131
+ /** Contains response data for the update operation. */
3132
+ export type VirtualEndpointsUpdateResponse = VirtualEndpointResource;
3133
+ /** Optional parameters. */
3134
+ export interface VirtualEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
3135
+ /** Delay to wait until next poll, in milliseconds. */
3136
+ updateIntervalInMs?: number;
3137
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3138
+ resumeFrom?: string;
3139
+ }
3140
+ /** Contains response data for the delete operation. */
3141
+ export type VirtualEndpointsDeleteResponse = VirtualEndpointsDeleteHeaders;
3142
+ /** Optional parameters. */
3143
+ export interface VirtualEndpointsGetOptionalParams extends coreClient.OperationOptions {
2442
3144
  }
2443
3145
  /** Contains response data for the get operation. */
2444
- export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
3146
+ export type VirtualEndpointsGetResponse = VirtualEndpointResource;
2445
3147
  /** Optional parameters. */
2446
- export interface LtrBackupOperationsListByServerOptionalParams extends coreClient.OperationOptions {
3148
+ export interface VirtualEndpointsListByServerOptionalParams extends coreClient.OperationOptions {
2447
3149
  }
2448
3150
  /** Contains response data for the listByServer operation. */
2449
- export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
3151
+ export type VirtualEndpointsListByServerResponse = VirtualEndpointsListResult;
2450
3152
  /** Optional parameters. */
2451
- export interface LtrBackupOperationsListByServerNextOptionalParams extends coreClient.OperationOptions {
3153
+ export interface VirtualEndpointsListByServerNextOptionalParams extends coreClient.OperationOptions {
2452
3154
  }
2453
3155
  /** Contains response data for the listByServerNext operation. */
2454
- export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
3156
+ export type VirtualEndpointsListByServerNextResponse = VirtualEndpointsListResult;
3157
+ /** Optional parameters. */
3158
+ export interface VirtualNetworkSubnetUsageExecuteOptionalParams extends coreClient.OperationOptions {
3159
+ }
3160
+ /** Contains response data for the execute operation. */
3161
+ export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
2455
3162
  /** Optional parameters. */
2456
3163
  export interface PostgreSQLManagementFlexibleServerClientOptionalParams extends coreClient.ServiceClientOptions {
2457
3164
  /** server parameter */