@azure/arm-mysql-flexible 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +81 -82
  4. package/dist/index.js +4360 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/backupsGetSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/backupsGetSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/backupsGetSample.js +32 -0
  11. package/dist-esm/samples-dev/backupsGetSample.js.map +1 -0
  12. package/dist-esm/samples-dev/backupsListByServerSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/backupsListByServerSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/backupsListByServerSample.js +45 -0
  15. package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -0
  16. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +34 -0
  19. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js.map +1 -0
  20. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js +33 -0
  23. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/configurationsBatchUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/configurationsBatchUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js +37 -0
  27. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/configurationsGetSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/configurationsGetSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/configurationsGetSample.js +32 -0
  31. package/dist-esm/samples-dev/configurationsGetSample.js.map +1 -0
  32. package/dist-esm/samples-dev/configurationsListByServerSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/configurationsListByServerSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/configurationsListByServerSample.js +45 -0
  35. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -0
  36. package/dist-esm/samples-dev/configurationsUpdateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/configurationsUpdateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/configurationsUpdateSample.js +33 -0
  39. package/dist-esm/samples-dev/configurationsUpdateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +36 -0
  43. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js.map +1 -0
  44. package/dist-esm/samples-dev/databasesDeleteSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/databasesDeleteSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/databasesDeleteSample.js +32 -0
  47. package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -0
  48. package/dist-esm/samples-dev/databasesGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/databasesGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/databasesGetSample.js +32 -0
  51. package/dist-esm/samples-dev/databasesGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/databasesListByServerSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/databasesListByServerSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/databasesListByServerSample.js +45 -0
  55. package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -0
  56. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +36 -0
  59. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +32 -0
  63. package/dist-esm/samples-dev/firewallRulesDeleteSample.js.map +1 -0
  64. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/firewallRulesGetSample.js +32 -0
  67. package/dist-esm/samples-dev/firewallRulesGetSample.js.map +1 -0
  68. package/dist-esm/samples-dev/firewallRulesListByServerSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/firewallRulesListByServerSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +45 -0
  71. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -0
  72. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +29 -0
  75. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -0
  76. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js +44 -0
  79. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js.map +1 -0
  80. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  83. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  84. package/dist-esm/samples-dev/replicasListByServerSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/replicasListByServerSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/replicasListByServerSample.js +45 -0
  87. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -0
  88. package/dist-esm/samples-dev/serversCreateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/serversCreateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/serversCreateSample.js +137 -0
  91. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -0
  92. package/dist-esm/samples-dev/serversDeleteSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/serversDeleteSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/serversDeleteSample.js +31 -0
  95. package/dist-esm/samples-dev/serversDeleteSample.js.map +1 -0
  96. package/dist-esm/samples-dev/serversFailoverSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/serversFailoverSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/serversFailoverSample.js +31 -0
  99. package/dist-esm/samples-dev/serversFailoverSample.js.map +1 -0
  100. package/dist-esm/samples-dev/serversGetSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/serversGetSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/serversGetSample.js +49 -0
  103. package/dist-esm/samples-dev/serversGetSample.js.map +1 -0
  104. package/dist-esm/samples-dev/serversListByResourceGroupSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/serversListByResourceGroupSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +44 -0
  107. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -0
  108. package/dist-esm/samples-dev/serversListSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/serversListSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/serversListSample.js +43 -0
  111. package/dist-esm/samples-dev/serversListSample.js.map +1 -0
  112. package/dist-esm/samples-dev/serversRestartSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/serversRestartSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/serversRestartSample.js +35 -0
  115. package/dist-esm/samples-dev/serversRestartSample.js.map +1 -0
  116. package/dist-esm/samples-dev/serversStartSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/serversStartSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/serversStartSample.js +31 -0
  119. package/dist-esm/samples-dev/serversStartSample.js.map +1 -0
  120. package/dist-esm/samples-dev/serversStopSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/serversStopSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/serversStopSample.js +31 -0
  123. package/dist-esm/samples-dev/serversStopSample.js.map +1 -0
  124. package/dist-esm/samples-dev/serversUpdateSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/serversUpdateSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/serversUpdateSample.js +93 -0
  127. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -0
  128. package/dist-esm/src/index.d.ts +5 -0
  129. package/dist-esm/src/index.d.ts.map +1 -0
  130. package/dist-esm/src/index.js +12 -0
  131. package/dist-esm/src/index.js.map +1 -0
  132. package/dist-esm/src/lroImpl.d.ts +16 -0
  133. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  134. package/dist-esm/src/lroImpl.js +29 -0
  135. package/dist-esm/src/lroImpl.js.map +1 -0
  136. package/dist-esm/src/models/index.d.ts +1084 -0
  137. package/dist-esm/src/models/index.d.ts.map +1 -0
  138. package/dist-esm/src/models/index.js +101 -0
  139. package/dist-esm/src/models/index.js.map +1 -0
  140. package/dist-esm/src/models/mappers.d.ts +47 -0
  141. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  142. package/{esm → dist-esm/src}/models/mappers.js +730 -662
  143. package/dist-esm/src/models/mappers.js.map +1 -0
  144. package/dist-esm/src/models/parameters.d.ts +24 -0
  145. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  146. package/dist-esm/src/models/parameters.js +187 -0
  147. package/dist-esm/src/models/parameters.js.map +1 -0
  148. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts +28 -0
  149. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts.map +1 -0
  150. package/dist-esm/src/mySQLManagementFlexibleServerClient.js +61 -0
  151. package/dist-esm/src/mySQLManagementFlexibleServerClient.js.map +1 -0
  152. package/dist-esm/src/operations/backups.d.ts +46 -0
  153. package/dist-esm/src/operations/backups.d.ts.map +1 -0
  154. package/dist-esm/src/operations/backups.js +169 -0
  155. package/dist-esm/src/operations/backups.js.map +1 -0
  156. package/dist-esm/src/operations/checkNameAvailability.d.ts +20 -0
  157. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
  158. package/dist-esm/src/operations/checkNameAvailability.js +54 -0
  159. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
  160. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts +20 -0
  161. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.d.ts.map +1 -0
  162. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js +54 -0
  163. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js.map +1 -0
  164. package/dist-esm/src/operations/configurations.d.ts +81 -0
  165. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  166. package/dist-esm/src/operations/configurations.js +341 -0
  167. package/dist-esm/src/operations/configurations.js.map +1 -0
  168. package/dist-esm/src/operations/databases.d.ts +81 -0
  169. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  170. package/dist-esm/src/operations/databases.js +331 -0
  171. package/dist-esm/src/operations/databases.js.map +1 -0
  172. package/dist-esm/src/operations/firewallRules.d.ts +81 -0
  173. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  174. package/dist-esm/src/operations/firewallRules.js +331 -0
  175. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  176. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts +18 -0
  177. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  178. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +46 -0
  179. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js.map +1 -0
  180. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  181. package/dist-esm/src/operations/index.d.ts.map +1 -0
  182. package/{esm → dist-esm/src}/operations/index.js +1 -2
  183. package/dist-esm/src/operations/index.js.map +1 -0
  184. package/dist-esm/src/operations/locationBasedCapabilities.d.ts +35 -0
  185. package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -0
  186. package/dist-esm/src/operations/locationBasedCapabilities.js +132 -0
  187. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -0
  188. package/dist-esm/src/operations/operations.d.ts +32 -0
  189. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  190. package/dist-esm/src/operations/operations.js +120 -0
  191. package/dist-esm/src/operations/operations.js.map +1 -0
  192. package/dist-esm/src/operations/replicas.d.ts +38 -0
  193. package/dist-esm/src/operations/replicas.d.ts.map +1 -0
  194. package/dist-esm/src/operations/replicas.js +137 -0
  195. package/dist-esm/src/operations/replicas.js.map +1 -0
  196. package/dist-esm/src/operations/servers.d.ts +169 -0
  197. package/dist-esm/src/operations/servers.d.ts.map +1 -0
  198. package/dist-esm/src/operations/servers.js +792 -0
  199. package/dist-esm/src/operations/servers.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/backups.d.ts +21 -0
  201. package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -0
  202. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/backups.js} +2 -1
  203. package/dist-esm/src/operationsInterfaces/backups.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +12 -0
  205. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
  206. package/{src/models/getPrivateDnsZoneSuffixMappers.ts → dist-esm/src/operationsInterfaces/checkNameAvailability.js} +2 -7
  207. package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.d.ts +12 -0
  209. package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.d.ts.map +1 -0
  210. package/{src/models/checkNameAvailabilityMappers.ts → dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.js} +2 -8
  211. package/dist-esm/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/configurations.d.ts +56 -0
  213. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  214. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -9
  215. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/databases.d.ts +56 -0
  217. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/databases.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +56 -0
  221. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +10 -0
  225. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  229. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  231. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +12 -0
  233. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  237. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  238. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  239. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  240. package/dist-esm/src/operationsInterfaces/replicas.d.ts +13 -0
  241. package/dist-esm/src/operationsInterfaces/replicas.d.ts.map +1 -0
  242. package/dist-esm/src/operationsInterfaces/replicas.js +9 -0
  243. package/dist-esm/src/operationsInterfaces/replicas.js.map +1 -0
  244. package/dist-esm/src/operationsInterfaces/servers.d.ts +133 -0
  245. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
  246. package/dist-esm/src/operationsInterfaces/servers.js +9 -0
  247. package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
  248. package/dist-esm/test/sampleTest.d.ts +2 -0
  249. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  250. package/dist-esm/test/sampleTest.js +40 -0
  251. package/dist-esm/test/sampleTest.js.map +1 -0
  252. package/package.json +83 -24
  253. package/review/arm-mysql-flexible.api.md +939 -0
  254. package/rollup.config.js +115 -30
  255. package/src/{models/checkVirtualNetworkSubnetUsageMappers.ts → index.ts} +4 -8
  256. package/src/lroImpl.ts +34 -0
  257. package/src/models/index.ts +927 -1445
  258. package/src/models/mappers.ts +765 -691
  259. package/src/models/parameters.ts +141 -49
  260. package/src/mySQLManagementFlexibleServerClient.ts +121 -0
  261. package/src/operations/backups.ts +156 -123
  262. package/src/operations/checkNameAvailability.ts +39 -57
  263. package/src/operations/checkVirtualNetworkSubnetUsage.ts +40 -57
  264. package/src/operations/configurations.ts +368 -212
  265. package/src/operations/databases.ts +355 -212
  266. package/src/operations/firewallRules.ts +355 -212
  267. package/src/operations/getPrivateDnsZoneSuffix.ts +27 -41
  268. package/src/operations/index.ts +1 -2
  269. package/src/operations/locationBasedCapabilities.ts +106 -80
  270. package/src/operations/operations.ts +85 -73
  271. package/src/operations/replicas.ts +133 -82
  272. package/src/operations/servers.ts +833 -454
  273. package/src/operationsInterfaces/backups.ts +44 -0
  274. package/src/operationsInterfaces/checkNameAvailability.ts +28 -0
  275. package/src/operationsInterfaces/checkVirtualNetworkSubnetUsage.ts +28 -0
  276. package/src/operationsInterfaces/configurations.ts +116 -0
  277. package/src/operationsInterfaces/databases.ts +109 -0
  278. package/src/operationsInterfaces/firewallRules.ts +109 -0
  279. package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +23 -0
  280. package/src/operationsInterfaces/index.ts +19 -0
  281. package/src/operationsInterfaces/locationBasedCapabilities.ts +27 -0
  282. package/src/operationsInterfaces/operations.ts +22 -0
  283. package/src/operationsInterfaces/replicas.ts +26 -0
  284. package/src/operationsInterfaces/servers.ts +232 -0
  285. package/tsconfig.json +21 -7
  286. package/types/arm-mysql-flexible.d.ts +1627 -0
  287. package/types/tsdoc-metadata.json +11 -0
  288. package/dist/arm-mysql-flexible.js +0 -3773
  289. package/dist/arm-mysql-flexible.js.map +0 -1
  290. package/dist/arm-mysql-flexible.min.js +0 -1
  291. package/dist/arm-mysql-flexible.min.js.map +0 -1
  292. package/esm/models/backupsMappers.d.ts +0 -2
  293. package/esm/models/backupsMappers.d.ts.map +0 -1
  294. package/esm/models/backupsMappers.js +0 -9
  295. package/esm/models/backupsMappers.js.map +0 -1
  296. package/esm/models/checkNameAvailabilityMappers.d.ts +0 -2
  297. package/esm/models/checkNameAvailabilityMappers.d.ts.map +0 -1
  298. package/esm/models/checkNameAvailabilityMappers.js +0 -9
  299. package/esm/models/checkNameAvailabilityMappers.js.map +0 -1
  300. package/esm/models/checkVirtualNetworkSubnetUsageMappers.d.ts +0 -2
  301. package/esm/models/checkVirtualNetworkSubnetUsageMappers.d.ts.map +0 -1
  302. package/esm/models/checkVirtualNetworkSubnetUsageMappers.js +0 -9
  303. package/esm/models/checkVirtualNetworkSubnetUsageMappers.js.map +0 -1
  304. package/esm/models/configurationsMappers.d.ts +0 -2
  305. package/esm/models/configurationsMappers.d.ts.map +0 -1
  306. package/esm/models/configurationsMappers.js +0 -9
  307. package/esm/models/configurationsMappers.js.map +0 -1
  308. package/esm/models/databasesMappers.d.ts +0 -2
  309. package/esm/models/databasesMappers.d.ts.map +0 -1
  310. package/esm/models/databasesMappers.js +0 -9
  311. package/esm/models/databasesMappers.js.map +0 -1
  312. package/esm/models/firewallRulesMappers.d.ts +0 -2
  313. package/esm/models/firewallRulesMappers.d.ts.map +0 -1
  314. package/esm/models/firewallRulesMappers.js +0 -9
  315. package/esm/models/firewallRulesMappers.js.map +0 -1
  316. package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts +0 -2
  317. package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts.map +0 -1
  318. package/esm/models/getPrivateDnsZoneSuffixMappers.js +0 -9
  319. package/esm/models/getPrivateDnsZoneSuffixMappers.js.map +0 -1
  320. package/esm/models/index.d.ts +0 -1621
  321. package/esm/models/index.d.ts.map +0 -1
  322. package/esm/models/index.js.map +0 -1
  323. package/esm/models/locationBasedCapabilitiesMappers.d.ts +0 -2
  324. package/esm/models/locationBasedCapabilitiesMappers.d.ts.map +0 -1
  325. package/esm/models/locationBasedCapabilitiesMappers.js +0 -9
  326. package/esm/models/locationBasedCapabilitiesMappers.js.map +0 -1
  327. package/esm/models/mappers.d.ts +0 -46
  328. package/esm/models/mappers.d.ts.map +0 -1
  329. package/esm/models/mappers.js.map +0 -1
  330. package/esm/models/operationsMappers.d.ts +0 -2
  331. package/esm/models/operationsMappers.d.ts.map +0 -1
  332. package/esm/models/operationsMappers.js +0 -9
  333. package/esm/models/operationsMappers.js.map +0 -1
  334. package/esm/models/parameters.d.ts +0 -13
  335. package/esm/models/parameters.d.ts.map +0 -1
  336. package/esm/models/parameters.js +0 -130
  337. package/esm/models/parameters.js.map +0 -1
  338. package/esm/models/replicasMappers.d.ts +0 -2
  339. package/esm/models/replicasMappers.d.ts.map +0 -1
  340. package/esm/models/replicasMappers.js +0 -9
  341. package/esm/models/replicasMappers.js.map +0 -1
  342. package/esm/models/serversMappers.d.ts +0 -2
  343. package/esm/models/serversMappers.d.ts.map +0 -1
  344. package/esm/models/serversMappers.js +0 -9
  345. package/esm/models/serversMappers.js.map +0 -1
  346. package/esm/mySQLManagementClient.d.ts +0 -34
  347. package/esm/mySQLManagementClient.d.ts.map +0 -1
  348. package/esm/mySQLManagementClient.js +0 -47
  349. package/esm/mySQLManagementClient.js.map +0 -1
  350. package/esm/mySQLManagementClientContext.d.ts +0 -22
  351. package/esm/mySQLManagementClientContext.d.ts.map +0 -1
  352. package/esm/mySQLManagementClientContext.js +0 -60
  353. package/esm/mySQLManagementClientContext.js.map +0 -1
  354. package/esm/operations/backups.d.ts +0 -76
  355. package/esm/operations/backups.d.ts.map +0 -1
  356. package/esm/operations/backups.js +0 -119
  357. package/esm/operations/backups.js.map +0 -1
  358. package/esm/operations/checkNameAvailability.d.ts +0 -34
  359. package/esm/operations/checkNameAvailability.d.ts.map +0 -1
  360. package/esm/operations/checkNameAvailability.js +0 -61
  361. package/esm/operations/checkNameAvailability.js.map +0 -1
  362. package/esm/operations/checkVirtualNetworkSubnetUsage.d.ts +0 -34
  363. package/esm/operations/checkVirtualNetworkSubnetUsage.d.ts.map +0 -1
  364. package/esm/operations/checkVirtualNetworkSubnetUsage.js +0 -61
  365. package/esm/operations/checkVirtualNetworkSubnetUsage.js.map +0 -1
  366. package/esm/operations/configurations.d.ts +0 -115
  367. package/esm/operations/configurations.d.ts.map +0 -1
  368. package/esm/operations/configurations.js +0 -238
  369. package/esm/operations/configurations.js.map +0 -1
  370. package/esm/operations/databases.d.ts +0 -115
  371. package/esm/operations/databases.d.ts.map +0 -1
  372. package/esm/operations/databases.js +0 -237
  373. package/esm/operations/databases.js.map +0 -1
  374. package/esm/operations/firewallRules.d.ts +0 -115
  375. package/esm/operations/firewallRules.d.ts.map +0 -1
  376. package/esm/operations/firewallRules.js +0 -237
  377. package/esm/operations/firewallRules.js.map +0 -1
  378. package/esm/operations/getPrivateDnsZoneSuffix.d.ts +0 -28
  379. package/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +0 -1
  380. package/esm/operations/getPrivateDnsZoneSuffix.js +0 -50
  381. package/esm/operations/getPrivateDnsZoneSuffix.js.map +0 -1
  382. package/esm/operations/index.d.ts.map +0 -1
  383. package/esm/operations/index.js.map +0 -1
  384. package/esm/operations/locationBasedCapabilities.d.ts +0 -49
  385. package/esm/operations/locationBasedCapabilities.d.ts.map +0 -1
  386. package/esm/operations/locationBasedCapabilities.js +0 -84
  387. package/esm/operations/locationBasedCapabilities.js.map +0 -1
  388. package/esm/operations/operations.d.ts +0 -46
  389. package/esm/operations/operations.d.ts.map +0 -1
  390. package/esm/operations/operations.js +0 -79
  391. package/esm/operations/operations.js.map +0 -1
  392. package/esm/operations/replicas.d.ts +0 -52
  393. package/esm/operations/replicas.d.ts.map +0 -1
  394. package/esm/operations/replicas.js +0 -86
  395. package/esm/operations/replicas.js.map +0 -1
  396. package/esm/operations/servers.d.ts +0 -226
  397. package/esm/operations/servers.d.ts.map +0 -1
  398. package/esm/operations/servers.js +0 -541
  399. package/esm/operations/servers.js.map +0 -1
  400. package/src/models/backupsMappers.ts +0 -31
  401. package/src/models/configurationsMappers.ts +0 -33
  402. package/src/models/databasesMappers.ts +0 -31
  403. package/src/models/firewallRulesMappers.ts +0 -31
  404. package/src/models/locationBasedCapabilitiesMappers.ts +0 -19
  405. package/src/models/replicasMappers.ts +0 -31
  406. package/src/models/serversMappers.ts +0 -33
  407. package/src/mySQLManagementClient.ts +0 -67
  408. package/src/mySQLManagementClientContext.ts +0 -67
@@ -6,1750 +6,1232 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * Maintenance window of a server.
16
- */
17
- export interface MaintenanceWindow {
18
- /**
19
- * indicates whether custom window is enabled or disabled
20
- */
21
- customWindow?: string;
22
- /**
23
- * start hour for maintenance window
24
- */
25
- startHour?: number;
11
+ /** Properties to configure Identity for Bring your Own Keys */
12
+ export interface Identity {
26
13
  /**
27
- * start minute for maintenance window
14
+ * ObjectId from the KeyVault
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
28
16
  */
29
- startMinute?: number;
17
+ readonly principalId?: string;
30
18
  /**
31
- * day of week for maintenance window
19
+ * TenantId from the KeyVault
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
21
  */
33
- dayOfWeek?: number;
22
+ readonly tenantId?: string;
23
+ /** Type of managed service identity. */
24
+ type?: "UserAssigned";
25
+ /** Metadata of user assigned identity. */
26
+ userAssignedIdentities?: { [propertyName: string]: Record<string, unknown> };
34
27
  }
35
28
 
36
- /**
37
- * Storage Profile properties of a server
38
- */
39
- export interface Backup {
40
- /**
41
- * Backup retention days for the server.
42
- */
43
- backupRetentionDays?: number;
44
- /**
45
- * Whether or not geo redundant backup is enabled. Possible values include: 'Enabled', 'Disabled'
46
- */
47
- geoRedundantBackup?: EnableStatusEnum;
48
- /**
49
- * Earliest restore point creation time (ISO8601 format)
50
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
51
- */
52
- readonly earliestRestoreDate?: Date;
29
+ /** Billing information related properties of a server. */
30
+ export interface Sku {
31
+ /** The name of the sku, e.g. Standard_D32s_v3. */
32
+ name: string;
33
+ /** The tier of the particular SKU, e.g. GeneralPurpose. */
34
+ tier: SkuTier;
53
35
  }
54
36
 
55
- /**
56
- * Storage Profile properties of a server
57
- */
37
+ /** The date encryption for cmk. */
38
+ export interface DataEncryption {
39
+ /** Primary user identity resource id */
40
+ primaryUserAssignedIdentityId?: string;
41
+ /** Primary key uri */
42
+ primaryKeyUri?: string;
43
+ /** Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup */
44
+ geoBackupUserAssignedIdentityId?: string;
45
+ /** Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup */
46
+ geoBackupKeyUri?: string;
47
+ /** The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. */
48
+ type?: DataEncryptionType;
49
+ }
50
+
51
+ /** Storage Profile properties of a server */
58
52
  export interface Storage {
59
- /**
60
- * Max storage size allowed for a server.
61
- */
53
+ /** Max storage size allowed for a server. */
62
54
  storageSizeGB?: number;
63
- /**
64
- * Storage IOPS for a server.
65
- */
55
+ /** Storage IOPS for a server. */
66
56
  iops?: number;
67
- /**
68
- * Enable Storage Auto Grow or not. Possible values include: 'Enabled', 'Disabled'
69
- */
57
+ /** Enable Storage Auto Grow or not. */
70
58
  autoGrow?: EnableStatusEnum;
71
59
  /**
72
60
  * The sku name of the server storage.
73
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
74
62
  */
75
63
  readonly storageSku?: string;
76
64
  }
77
65
 
78
- /**
79
- * Billing information related properties of a server.
80
- */
81
- export interface Sku {
66
+ /** Storage Profile properties of a server */
67
+ export interface Backup {
68
+ /** Backup retention days for the server. */
69
+ backupRetentionDays?: number;
70
+ /** Whether or not geo redundant backup is enabled. */
71
+ geoRedundantBackup?: EnableStatusEnum;
82
72
  /**
83
- * The name of the sku, e.g. Standard_D32s_v3.
73
+ * Earliest restore point creation time (ISO8601 format)
74
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
75
  */
85
- name: string;
76
+ readonly earliestRestoreDate?: Date;
77
+ }
78
+
79
+ /** Network related properties of a server */
80
+ export interface HighAvailability {
81
+ /** High availability mode for a server. */
82
+ mode?: HighAvailabilityMode;
86
83
  /**
87
- * The tier of the particular SKU, e.g. GeneralPurpose. Possible values include: 'Burstable',
88
- * 'GeneralPurpose', 'MemoryOptimized'
84
+ * The state of server high availability.
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
86
  */
90
- tier: SkuTier;
87
+ readonly state?: HighAvailabilityState;
88
+ /** Availability zone of the standby server. */
89
+ standbyAvailabilityZone?: string;
91
90
  }
92
91
 
93
- /**
94
- * Network related properties of a server
95
- */
92
+ /** Network related properties of a server */
96
93
  export interface Network {
97
94
  /**
98
- * Whether or not public network access is allowed for this server. Value is 'Disabled' when
99
- * server has VNet integration. Possible values include: 'Enabled', 'Disabled'
100
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
95
+ * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
97
  */
102
98
  readonly publicNetworkAccess?: EnableStatusEnum;
103
- /**
104
- * Delegated subnet resource id used to setup vnet for a server.
105
- */
99
+ /** Delegated subnet resource id used to setup vnet for a server. */
106
100
  delegatedSubnetResourceId?: string;
107
- /**
108
- * Private DNS zone resource id.
109
- */
101
+ /** Private DNS zone resource id. */
110
102
  privateDnsZoneResourceId?: string;
111
103
  }
112
104
 
113
- /**
114
- * Network related properties of a server
115
- */
116
- export interface HighAvailability {
117
- /**
118
- * High availability mode for a server. Possible values include: 'Disabled', 'ZoneRedundant',
119
- * 'SameZone'
120
- */
121
- mode?: HighAvailabilityMode;
122
- /**
123
- * The state of server high availability. Possible values include: 'NotEnabled',
124
- * 'CreatingStandby', 'Healthy', 'FailingOver', 'RemovingStandby'
125
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
126
- */
127
- readonly state?: HighAvailabilityState;
128
- /**
129
- * Availability zone of the standby server.
130
- */
131
- standbyAvailabilityZone?: string;
105
+ /** Maintenance window of a server. */
106
+ export interface MaintenanceWindow {
107
+ /** indicates whether custom window is enabled or disabled */
108
+ customWindow?: string;
109
+ /** start hour for maintenance window */
110
+ startHour?: number;
111
+ /** start minute for maintenance window */
112
+ startMinute?: number;
113
+ /** day of week for maintenance window */
114
+ dayOfWeek?: number;
132
115
  }
133
116
 
134
- /**
135
- * Metadata pertaining to creation and last modification of the resource.
136
- */
117
+ /** Metadata pertaining to creation and last modification of the resource. */
137
118
  export interface SystemData {
138
- /**
139
- * The identity that created the resource.
140
- */
119
+ /** The identity that created the resource. */
141
120
  createdBy?: string;
142
- /**
143
- * The type of identity that created the resource. Possible values include: 'User',
144
- * 'Application', 'ManagedIdentity', 'Key'
145
- */
121
+ /** The type of identity that created the resource. */
146
122
  createdByType?: CreatedByType;
147
- /**
148
- * The timestamp of resource creation (UTC).
149
- */
123
+ /** The timestamp of resource creation (UTC). */
150
124
  createdAt?: Date;
151
- /**
152
- * The identity that last modified the resource.
153
- */
125
+ /** The identity that last modified the resource. */
154
126
  lastModifiedBy?: string;
155
- /**
156
- * The type of identity that last modified the resource. Possible values include: 'User',
157
- * 'Application', 'ManagedIdentity', 'Key'
158
- */
127
+ /** The type of identity that last modified the resource. */
159
128
  lastModifiedByType?: CreatedByType;
160
- /**
161
- * The timestamp of resource last modification (UTC)
162
- */
129
+ /** The timestamp of resource last modification (UTC) */
163
130
  lastModifiedAt?: Date;
164
131
  }
165
132
 
166
- /**
167
- * Common fields that are returned in the response for all Azure Resource Manager resources
168
- * @summary Resource
169
- */
170
- export interface Resource extends BaseResource {
133
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
134
+ export interface Resource {
171
135
  /**
172
- * Fully qualified resource ID for the resource. Ex -
173
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
174
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
136
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
138
  */
176
139
  readonly id?: string;
177
140
  /**
178
141
  * The name of the resource
179
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
180
143
  */
181
144
  readonly name?: string;
182
145
  /**
183
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
184
- * "Microsoft.Storage/storageAccounts"
185
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
146
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
148
  */
187
149
  readonly type?: string;
188
150
  }
189
151
 
190
- /**
191
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
192
- * 'tags' and a 'location'
193
- * @summary Tracked Resource
194
- */
195
- export interface TrackedResource extends Resource {
196
- /**
197
- * Resource tags.
198
- */
199
- tags?: { [propertyName: string]: string };
200
- /**
201
- * The geo-location where the resource lives
202
- */
203
- location: string;
152
+ /** An error response from the Batch service. */
153
+ export interface CloudError {
154
+ /** The resource management error response. */
155
+ error?: ErrorResponse;
204
156
  }
205
157
 
206
- /**
207
- * Represents a server.
208
- */
209
- export interface Server extends TrackedResource {
210
- /**
211
- * The SKU (pricing tier) of the server.
212
- */
213
- sku?: Sku;
214
- /**
215
- * The administrator's login name of a server. Can only be specified when the server is being
216
- * created (and is required for creation).
217
- */
218
- administratorLogin?: string;
219
- /**
220
- * The password of the administrator login (required for server creation).
221
- */
222
- administratorLoginPassword?: string;
223
- /**
224
- * Server version. Possible values include: '5.7', '8.0.21'
225
- */
226
- version?: ServerVersion;
227
- /**
228
- * availability Zone information of the server.
229
- */
230
- availabilityZone?: string;
231
- /**
232
- * The mode to create a new MySQL server. Possible values include: 'Default',
233
- * 'PointInTimeRestore', 'Replica', 'GeoRestore'
234
- */
235
- createMode?: CreateMode;
236
- /**
237
- * The source MySQL server id.
238
- */
239
- sourceServerResourceId?: string;
240
- /**
241
- * Restore point creation time (ISO8601 format), specifying the time to restore from.
242
- */
243
- restorePointInTime?: Date;
244
- /**
245
- * The replication role. Possible values include: 'None', 'Source', 'Replica'
246
- */
247
- replicationRole?: ReplicationRole;
248
- /**
249
- * The maximum number of replicas that a primary server can have.
250
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
251
- */
252
- readonly replicaCapacity?: number;
253
- /**
254
- * The state of a server. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting',
255
- * 'Stopping', 'Stopped', 'Updating'
256
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
257
- */
258
- readonly state?: ServerState;
158
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
159
+ export interface ErrorResponse {
259
160
  /**
260
- * The fully qualified domain name of a server.
261
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
161
+ * The error code.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
262
163
  */
263
- readonly fullyQualifiedDomainName?: string;
164
+ readonly code?: string;
264
165
  /**
265
- * Storage related properties of a server.
166
+ * The error message.
167
+ * NOTE: This property will not be serialized. It can only be populated by the server.
266
168
  */
267
- storage?: Storage;
169
+ readonly message?: string;
268
170
  /**
269
- * Backup related properties of a server.
171
+ * The error target.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
270
173
  */
271
- backup?: Backup;
174
+ readonly target?: string;
272
175
  /**
273
- * High availability related properties of a server.
176
+ * The error details.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
274
178
  */
275
- highAvailability?: HighAvailability;
179
+ readonly details?: ErrorResponse[];
276
180
  /**
277
- * Network related properties of a server.
181
+ * The error additional info.
182
+ * NOTE: This property will not be serialized. It can only be populated by the server.
278
183
  */
279
- network?: Network;
184
+ readonly additionalInfo?: ErrorAdditionalInfo[];
185
+ }
186
+
187
+ /** The resource management error additional info. */
188
+ export interface ErrorAdditionalInfo {
280
189
  /**
281
- * Maintenance window of a server.
190
+ * The additional info type.
191
+ * NOTE: This property will not be serialized. It can only be populated by the server.
282
192
  */
283
- maintenanceWindow?: MaintenanceWindow;
193
+ readonly type?: string;
284
194
  /**
285
- * The system metadata relating to this resource.
286
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
195
+ * The additional info.
196
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
197
  */
288
- readonly systemData?: SystemData;
198
+ readonly info?: Record<string, unknown>;
289
199
  }
290
200
 
291
- /**
292
- * Parameters allowed to update for a server.
293
- */
201
+ /** Parameters allowed to update for a server. */
294
202
  export interface ServerForUpdate {
295
- /**
296
- * The SKU (pricing tier) of the server.
297
- */
203
+ /** The cmk identity for the server. */
204
+ identity?: Identity;
205
+ /** The SKU (pricing tier) of the server. */
298
206
  sku?: Sku;
207
+ /** Application-specific metadata in the form of key-value pairs. */
208
+ tags?: { [propertyName: string]: string };
299
209
  /**
300
210
  * The password of the administrator login.
211
+ * This value contains a credential. Consider obscuring before showing to users
301
212
  */
302
213
  administratorLoginPassword?: string;
303
- /**
304
- * Storage related properties of a server.
305
- */
214
+ /** Storage related properties of a server. */
306
215
  storage?: Storage;
307
- /**
308
- * Backup related properties of a server.
309
- */
216
+ /** Backup related properties of a server. */
310
217
  backup?: Backup;
311
- /**
312
- * High availability related properties of a server.
313
- */
218
+ /** High availability related properties of a server. */
314
219
  highAvailability?: HighAvailability;
315
- /**
316
- * Maintenance window of a server.
317
- */
220
+ /** Maintenance window of a server. */
318
221
  maintenanceWindow?: MaintenanceWindow;
319
- /**
320
- * The replication role of the server. Possible values include: 'None', 'Source', 'Replica'
321
- */
222
+ /** The replication role of the server. */
322
223
  replicationRole?: ReplicationRole;
323
- /**
324
- * Application-specific metadata in the form of key-value pairs.
325
- */
326
- tags?: { [propertyName: string]: string };
224
+ /** The Data Encryption for CMK. */
225
+ dataEncryption?: DataEncryption;
327
226
  }
328
227
 
329
- /**
330
- * Server restart parameters.
331
- */
228
+ /** A list of servers. */
229
+ export interface ServerListResult {
230
+ /** The list of servers */
231
+ value?: Server[];
232
+ /** The link used to get the next page of operations. */
233
+ nextLink?: string;
234
+ }
235
+
236
+ /** Server restart parameters. */
332
237
  export interface ServerRestartParameter {
333
- /**
334
- * Whether or not failover to standby server when restarting a server with high availability
335
- * enabled. Possible values include: 'Enabled', 'Disabled'
336
- */
238
+ /** Whether or not failover to standby server when restarting a server with high availability enabled. */
337
239
  restartWithFailover?: EnableStatusEnum;
338
- /**
339
- * The maximum allowed failover time in seconds.
340
- */
240
+ /** The maximum allowed failover time in seconds. */
341
241
  maxFailoverSeconds?: number;
342
242
  }
343
243
 
344
- /**
345
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
346
- * and a location
347
- * @summary Proxy Resource
348
- */
349
- export interface ProxyResource extends Resource {
244
+ /** A list of server backups. */
245
+ export interface ServerBackupListResult {
246
+ /** The list of backups of a server. */
247
+ value?: ServerBackup[];
248
+ /** The link used to get the next page of operations. */
249
+ nextLink?: string;
350
250
  }
351
251
 
352
- /**
353
- * Server backup properties
354
- */
355
- export interface ServerBackup extends ProxyResource {
356
- /**
357
- * Backup type.
358
- */
359
- backupType?: string;
360
- /**
361
- * Backup completed time (ISO8601 format).
362
- */
363
- completedTime?: Date;
252
+ /** A list of firewall rules. */
253
+ export interface FirewallRuleListResult {
254
+ /** The list of firewall rules in a server. */
255
+ value?: FirewallRule[];
256
+ /** The link used to get the next page of operations. */
257
+ nextLink?: string;
258
+ }
259
+
260
+ /** A List of databases. */
261
+ export interface DatabaseListResult {
262
+ /** The list of databases housed in a server */
263
+ value?: Database[];
264
+ /** The link used to get the next page of operations. */
265
+ nextLink?: string;
266
+ }
267
+
268
+ /** A list of server configurations to update. */
269
+ export interface ConfigurationListForBatchUpdate {
270
+ /** The list of server configurations. */
271
+ value?: ConfigurationForBatchUpdate[];
272
+ }
273
+
274
+ /** Represents a Configuration. */
275
+ export interface ConfigurationForBatchUpdate {
276
+ /** Name of the configuration. */
277
+ name?: string;
278
+ /** Value of the configuration. */
279
+ value?: string;
280
+ /** Source of the configuration. */
281
+ source?: string;
282
+ }
283
+
284
+ /** A list of server configurations. */
285
+ export interface ConfigurationListResult {
286
+ /** The list of server configurations. */
287
+ value?: Configuration[];
288
+ /** The link used to get the next page of operations. */
289
+ nextLink?: string;
290
+ }
291
+
292
+ /** location capability */
293
+ export interface CapabilitiesListResult {
364
294
  /**
365
- * Backup source
295
+ * A list of supported capabilities.
296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
366
297
  */
367
- source?: string;
298
+ readonly value?: CapabilityProperties[];
368
299
  /**
369
- * The system metadata relating to this resource.
370
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
300
+ * Link to retrieve next page of results.
301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
371
302
  */
372
- readonly systemData?: SystemData;
303
+ readonly nextLink?: string;
373
304
  }
374
305
 
375
- /**
376
- * Represents a server firewall rule.
377
- */
378
- export interface FirewallRule extends ProxyResource {
306
+ /** Location capabilities. */
307
+ export interface CapabilityProperties {
379
308
  /**
380
- * The start IP address of the server firewall rule. Must be IPv4 format.
309
+ * zone name
310
+ * NOTE: This property will not be serialized. It can only be populated by the server.
381
311
  */
382
- startIpAddress: string;
312
+ readonly zone?: string;
383
313
  /**
384
- * The end IP address of the server firewall rule. Must be IPv4 format.
314
+ * Supported high availability mode
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
316
  */
386
- endIpAddress: string;
317
+ readonly supportedHAMode?: string[];
387
318
  /**
388
- * The system metadata relating to this resource.
389
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
319
+ * supported geo backup regions
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
390
321
  */
391
- readonly systemData?: SystemData;
322
+ readonly supportedGeoBackupRegions?: string[];
323
+ /**
324
+ * A list of supported flexible server editions.
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly supportedFlexibleServerEditions?: ServerEditionCapability[];
392
328
  }
393
329
 
394
- /**
395
- * Represents a Database.
396
- */
397
- export interface Database extends ProxyResource {
330
+ /** Server edition capabilities. */
331
+ export interface ServerEditionCapability {
398
332
  /**
399
- * The charset of the database.
333
+ * Server edition name
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
400
335
  */
401
- charset?: string;
336
+ readonly name?: string;
402
337
  /**
403
- * The collation of the database.
338
+ * A list of supported storage editions
339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
404
340
  */
405
- collation?: string;
341
+ readonly supportedStorageEditions?: StorageEditionCapability[];
406
342
  /**
407
- * The system metadata relating to this resource.
408
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
343
+ * A list of supported server versions.
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
409
345
  */
410
- readonly systemData?: SystemData;
346
+ readonly supportedServerVersions?: ServerVersionCapability[];
411
347
  }
412
348
 
413
- /**
414
- * Represents a Configuration.
415
- */
416
- export interface Configuration extends ProxyResource {
417
- /**
418
- * Value of the configuration.
419
- */
420
- value?: string;
421
- /**
422
- * Description of the configuration.
423
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
424
- */
425
- readonly description?: string;
426
- /**
427
- * Default value of the configuration.
428
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
429
- */
430
- readonly defaultValue?: string;
349
+ /** storage edition capability */
350
+ export interface StorageEditionCapability {
431
351
  /**
432
- * Data type of the configuration.
433
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
352
+ * storage edition name
353
+ * NOTE: This property will not be serialized. It can only be populated by the server.
434
354
  */
435
- readonly dataType?: string;
355
+ readonly name?: string;
436
356
  /**
437
- * Allowed values of the configuration.
438
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
357
+ * The minimal supported storage size.
358
+ * NOTE: This property will not be serialized. It can only be populated by the server.
439
359
  */
440
- readonly allowedValues?: string;
360
+ readonly minStorageSize?: number;
441
361
  /**
442
- * Source of the configuration. Possible values include: 'system-default', 'user-override'
362
+ * The maximum supported storage size.
363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
443
364
  */
444
- source?: ConfigurationSource;
365
+ readonly maxStorageSize?: number;
445
366
  /**
446
- * If is the configuration read only. Possible values include: 'True', 'False'
447
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
367
+ * Minimal backup retention days
368
+ * NOTE: This property will not be serialized. It can only be populated by the server.
448
369
  */
449
- readonly isReadOnly?: IsReadOnly;
370
+ readonly minBackupRetentionDays?: number;
450
371
  /**
451
- * If is the configuration pending restart or not. Possible values include: 'True', 'False'
452
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
372
+ * Maximum backup retention days
373
+ * NOTE: This property will not be serialized. It can only be populated by the server.
453
374
  */
454
- readonly isConfigPendingRestart?: IsConfigPendingRestart;
375
+ readonly maxBackupRetentionDays?: number;
376
+ }
377
+
378
+ /** Server version capabilities. */
379
+ export interface ServerVersionCapability {
455
380
  /**
456
- * If is the configuration dynamic. Possible values include: 'True', 'False'
457
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
381
+ * server version
382
+ * NOTE: This property will not be serialized. It can only be populated by the server.
458
383
  */
459
- readonly isDynamicConfig?: IsDynamicConfig;
384
+ readonly name?: string;
460
385
  /**
461
- * The system metadata relating to this resource.
462
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
386
+ * A list of supported Skus
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
463
388
  */
464
- readonly systemData?: SystemData;
389
+ readonly supportedSkus?: SkuCapability[];
465
390
  }
466
391
 
467
- /**
468
- * Represents a Configuration.
469
- */
470
- export interface ConfigurationForBatchUpdate {
392
+ /** Sku capability */
393
+ export interface SkuCapability {
471
394
  /**
472
- * Name of the configuration.
395
+ * vCore name
396
+ * NOTE: This property will not be serialized. It can only be populated by the server.
473
397
  */
474
- name?: string;
398
+ readonly name?: string;
475
399
  /**
476
- * Value of the configuration.
400
+ * supported vCores
401
+ * NOTE: This property will not be serialized. It can only be populated by the server.
477
402
  */
478
- value?: string;
403
+ readonly vCores?: number;
479
404
  /**
480
- * Source of the configuration.
405
+ * supported IOPS
406
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
407
  */
482
- source?: string;
483
- }
484
-
485
- /**
486
- * A list of server configurations to update.
487
- */
488
- export interface ConfigurationListForBatchUpdate {
408
+ readonly supportedIops?: number;
489
409
  /**
490
- * The list of server configurations.
410
+ * supported memory per vCore in MB
411
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
412
  */
492
- value?: ConfigurationForBatchUpdate[];
413
+ readonly supportedMemoryPerVCoreMB?: number;
493
414
  }
494
415
 
495
- /**
496
- * Virtual network subnet usage parameter
497
- */
416
+ /** Virtual network subnet usage parameter */
498
417
  export interface VirtualNetworkSubnetUsageParameter {
418
+ /** Virtual network resource id. */
419
+ virtualNetworkResourceId?: string;
420
+ }
421
+
422
+ /** Virtual network subnet usage data. */
423
+ export interface VirtualNetworkSubnetUsageResult {
499
424
  /**
500
- * Virtual network resource id.
425
+ * A list of delegated subnet usage
426
+ * NOTE: This property will not be serialized. It can only be populated by the server.
501
427
  */
502
- virtualNetworkResourceId?: string;
428
+ readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
503
429
  }
504
430
 
505
- /**
506
- * Delegated subnet usage data.
507
- */
431
+ /** Delegated subnet usage data. */
508
432
  export interface DelegatedSubnetUsage {
509
433
  /**
510
434
  * name of the subnet
511
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
512
436
  */
513
437
  readonly subnetName?: string;
514
438
  /**
515
439
  * Number of used delegated subnets
516
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
517
441
  */
518
442
  readonly usage?: number;
519
443
  }
520
444
 
521
- /**
522
- * Virtual network subnet usage data.
523
- */
524
- export interface VirtualNetworkSubnetUsageResult {
525
- /**
526
- * A list of delegated subnet usage
527
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
528
- */
529
- readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
445
+ /** Request from client to check resource name availability. */
446
+ export interface NameAvailabilityRequest {
447
+ /** Resource name to verify. */
448
+ name: string;
449
+ /** Resource type used for verification. */
450
+ type?: string;
530
451
  }
531
452
 
532
- /**
533
- * Sku capability
534
- */
535
- export interface SkuCapability {
453
+ /** Represents a resource name availability. */
454
+ export interface NameAvailability {
455
+ /** Error Message. */
456
+ message?: string;
457
+ /** Indicates whether the resource name is available. */
458
+ nameAvailable?: boolean;
459
+ /** Reason for name being unavailable. */
460
+ reason?: string;
461
+ }
462
+
463
+ /** The response of get private dns zone suffix. */
464
+ export interface GetPrivateDnsZoneSuffixResponse {
465
+ /** Represents the private DNS zone suffix. */
466
+ privateDnsZoneSuffix?: string;
467
+ }
468
+
469
+ /** A list of resource provider operations. */
470
+ export interface OperationListResult {
471
+ /** Collection of available operation details */
472
+ value?: Operation[];
473
+ /** URL client should use to fetch the next page (per server side paging). */
474
+ nextLink?: string;
475
+ }
476
+
477
+ /** REST API operation definition. */
478
+ export interface Operation {
479
+ /** The name of the operation being performed on this particular object. */
480
+ name?: string;
481
+ /** The localized display information for this particular operation or action. */
482
+ display?: OperationDisplay;
483
+ /** The intended executor of the operation. */
484
+ origin?: string;
485
+ /** Additional descriptions for the operation. */
486
+ properties?: { [propertyName: string]: Record<string, unknown> };
487
+ }
488
+
489
+ /** Display metadata associated with the operation. */
490
+ export interface OperationDisplay {
491
+ /** Operation resource provider name. */
492
+ provider?: string;
493
+ /** Resource on which the operation is performed. */
494
+ resource?: string;
495
+ /** Localized friendly name for the operation. */
496
+ operation?: string;
497
+ /** Operation description. */
498
+ description?: string;
499
+ }
500
+
501
+ /** Metadata of user assigned identity. */
502
+ export interface UserAssignedIdentity {
536
503
  /**
537
- * vCore name
538
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
504
+ * Principal Id of user assigned identity
505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
539
506
  */
540
- readonly name?: string;
507
+ readonly principalId?: string;
541
508
  /**
542
- * supported vCores
543
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
509
+ * Client Id of user assigned identity
510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
544
511
  */
545
- readonly vCores?: number;
512
+ readonly clientId?: string;
513
+ }
514
+
515
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
516
+ export type TrackedResource = Resource & {
517
+ /** Resource tags. */
518
+ tags?: { [propertyName: string]: string };
519
+ /** The geo-location where the resource lives */
520
+ location: string;
521
+ };
522
+
523
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
524
+ export type ProxyResource = Resource & {};
525
+
526
+ /** Represents a server. */
527
+ export type Server = TrackedResource & {
528
+ /** The cmk identity for the server. */
529
+ identity?: Identity;
530
+ /** The SKU (pricing tier) of the server. */
531
+ sku?: Sku;
546
532
  /**
547
- * supported IOPS
548
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
533
+ * The system metadata relating to this resource.
534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
549
535
  */
550
- readonly supportedIops?: number;
536
+ readonly systemData?: SystemData;
537
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
538
+ administratorLogin?: string;
551
539
  /**
552
- * supported memory per vCore in MB
553
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
540
+ * The password of the administrator login (required for server creation).
541
+ * This value contains a credential. Consider obscuring before showing to users
554
542
  */
555
- readonly supportedMemoryPerVCoreMB?: number;
556
- }
557
-
558
- /**
559
- * Server version capabilities.
560
- */
561
- export interface ServerVersionCapability {
543
+ administratorLoginPassword?: string;
544
+ /** Server version. */
545
+ version?: ServerVersion;
546
+ /** availability Zone information of the server. */
547
+ availabilityZone?: string;
548
+ /** The mode to create a new MySQL server. */
549
+ createMode?: CreateMode;
550
+ /** The source MySQL server id. */
551
+ sourceServerResourceId?: string;
552
+ /** Restore point creation time (ISO8601 format), specifying the time to restore from. */
553
+ restorePointInTime?: Date;
554
+ /** The replication role. */
555
+ replicationRole?: ReplicationRole;
562
556
  /**
563
- * server version
564
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
557
+ * The maximum number of replicas that a primary server can have.
558
+ * NOTE: This property will not be serialized. It can only be populated by the server.
565
559
  */
566
- readonly name?: string;
560
+ readonly replicaCapacity?: number;
561
+ /** The Data Encryption for CMK. */
562
+ dataEncryption?: DataEncryption;
567
563
  /**
568
- * A list of supported Skus
569
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
564
+ * The state of a server.
565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
570
566
  */
571
- readonly supportedSkus?: SkuCapability[];
572
- }
573
-
574
- /**
575
- * storage edition capability
576
- */
577
- export interface StorageEditionCapability {
567
+ readonly state?: ServerState;
578
568
  /**
579
- * storage edition name
580
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
569
+ * The fully qualified domain name of a server.
570
+ * NOTE: This property will not be serialized. It can only be populated by the server.
581
571
  */
582
- readonly name?: string;
572
+ readonly fullyQualifiedDomainName?: string;
573
+ /** Storage related properties of a server. */
574
+ storage?: Storage;
575
+ /** Backup related properties of a server. */
576
+ backup?: Backup;
577
+ /** High availability related properties of a server. */
578
+ highAvailability?: HighAvailability;
579
+ /** Network related properties of a server. */
580
+ network?: Network;
581
+ /** Maintenance window of a server. */
582
+ maintenanceWindow?: MaintenanceWindow;
583
+ };
584
+
585
+ /** Server backup properties */
586
+ export type ServerBackup = ProxyResource & {
583
587
  /**
584
- * The minimal supported storage size.
585
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
588
+ * The system metadata relating to this resource.
589
+ * NOTE: This property will not be serialized. It can only be populated by the server.
586
590
  */
587
- readonly minStorageSize?: number;
591
+ readonly systemData?: SystemData;
592
+ /** Backup type. */
593
+ backupType?: string;
594
+ /** Backup completed time (ISO8601 format). */
595
+ completedTime?: Date;
596
+ /** Backup source */
597
+ source?: string;
598
+ };
599
+
600
+ /** Represents a server firewall rule. */
601
+ export type FirewallRule = ProxyResource & {
588
602
  /**
589
- * The maximum supported storage size.
590
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
603
+ * The system metadata relating to this resource.
604
+ * NOTE: This property will not be serialized. It can only be populated by the server.
591
605
  */
592
- readonly maxStorageSize?: number;
606
+ readonly systemData?: SystemData;
607
+ /** The start IP address of the server firewall rule. Must be IPv4 format. */
608
+ startIpAddress: string;
609
+ /** The end IP address of the server firewall rule. Must be IPv4 format. */
610
+ endIpAddress: string;
611
+ };
612
+
613
+ /** Represents a Database. */
614
+ export type Database = ProxyResource & {
593
615
  /**
594
- * Minimal backup retention days
595
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
616
+ * The system metadata relating to this resource.
617
+ * NOTE: This property will not be serialized. It can only be populated by the server.
596
618
  */
597
- readonly minBackupRetentionDays?: number;
619
+ readonly systemData?: SystemData;
620
+ /** The charset of the database. */
621
+ charset?: string;
622
+ /** The collation of the database. */
623
+ collation?: string;
624
+ };
625
+
626
+ /** Represents a Configuration. */
627
+ export type Configuration = ProxyResource & {
598
628
  /**
599
- * Maximum backup retention days
600
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
629
+ * The system metadata relating to this resource.
630
+ * NOTE: This property will not be serialized. It can only be populated by the server.
601
631
  */
602
- readonly maxBackupRetentionDays?: number;
603
- }
604
-
605
- /**
606
- * Server edition capabilities.
607
- */
608
- export interface ServerEditionCapability {
632
+ readonly systemData?: SystemData;
633
+ /** Value of the configuration. */
634
+ value?: string;
609
635
  /**
610
- * Server edition name
611
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
636
+ * Description of the configuration.
637
+ * NOTE: This property will not be serialized. It can only be populated by the server.
612
638
  */
613
- readonly name?: string;
639
+ readonly description?: string;
614
640
  /**
615
- * A list of supported storage editions
616
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
641
+ * Default value of the configuration.
642
+ * NOTE: This property will not be serialized. It can only be populated by the server.
617
643
  */
618
- readonly supportedStorageEditions?: StorageEditionCapability[];
644
+ readonly defaultValue?: string;
619
645
  /**
620
- * A list of supported server versions.
621
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
646
+ * Data type of the configuration.
647
+ * NOTE: This property will not be serialized. It can only be populated by the server.
622
648
  */
623
- readonly supportedServerVersions?: ServerVersionCapability[];
624
- }
625
-
626
- /**
627
- * Location capabilities.
628
- */
629
- export interface CapabilityProperties {
649
+ readonly dataType?: string;
630
650
  /**
631
- * zone name
632
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
651
+ * Allowed values of the configuration.
652
+ * NOTE: This property will not be serialized. It can only be populated by the server.
633
653
  */
634
- readonly zone?: string;
654
+ readonly allowedValues?: string;
655
+ /** Source of the configuration. */
656
+ source?: ConfigurationSource;
635
657
  /**
636
- * Supported high availability mode
637
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
658
+ * If is the configuration read only.
659
+ * NOTE: This property will not be serialized. It can only be populated by the server.
638
660
  */
639
- readonly supportedHAMode?: string[];
661
+ readonly isReadOnly?: IsReadOnly;
640
662
  /**
641
- * supported geo backup regions
642
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
663
+ * If is the configuration pending restart or not.
664
+ * NOTE: This property will not be serialized. It can only be populated by the server.
643
665
  */
644
- readonly supportedGeoBackupRegions?: string[];
666
+ readonly isConfigPendingRestart?: IsConfigPendingRestart;
645
667
  /**
646
- * A list of supported flexible server editions.
647
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
668
+ * If is the configuration dynamic.
669
+ * NOTE: This property will not be serialized. It can only be populated by the server.
648
670
  */
649
- readonly supportedFlexibleServerEditions?: ServerEditionCapability[];
671
+ readonly isDynamicConfig?: IsDynamicConfig;
672
+ };
673
+
674
+ /** Known values of {@link SkuTier} that the service accepts. */
675
+ export enum KnownSkuTier {
676
+ Burstable = "Burstable",
677
+ GeneralPurpose = "GeneralPurpose",
678
+ MemoryOptimized = "MemoryOptimized"
650
679
  }
651
680
 
652
681
  /**
653
- * The response of get private dns zone suffix.
682
+ * Defines values for SkuTier. \
683
+ * {@link KnownSkuTier} can be used interchangeably with SkuTier,
684
+ * this enum contains the known values that the service supports.
685
+ * ### Known values supported by the service
686
+ * **Burstable** \
687
+ * **GeneralPurpose** \
688
+ * **MemoryOptimized**
654
689
  */
655
- export interface GetPrivateDnsZoneSuffixResponse {
656
- /**
657
- * Represents the private DNS zone suffix.
658
- */
659
- privateDnsZoneSuffix?: string;
690
+ export type SkuTier = string;
691
+
692
+ /** Known values of {@link ServerVersion} that the service accepts. */
693
+ export enum KnownServerVersion {
694
+ Five7 = "5.7",
695
+ Eight021 = "8.0.21"
660
696
  }
661
697
 
662
698
  /**
663
- * Request from client to check resource name availability.
699
+ * Defines values for ServerVersion. \
700
+ * {@link KnownServerVersion} can be used interchangeably with ServerVersion,
701
+ * this enum contains the known values that the service supports.
702
+ * ### Known values supported by the service
703
+ * **5.7** \
704
+ * **8.0.21**
664
705
  */
665
- export interface NameAvailabilityRequest {
666
- /**
667
- * Resource name to verify.
668
- */
669
- name: string;
670
- /**
671
- * Resource type used for verification.
672
- */
673
- type?: string;
706
+ export type ServerVersion = string;
707
+
708
+ /** Known values of {@link CreateMode} that the service accepts. */
709
+ export enum KnownCreateMode {
710
+ Default = "Default",
711
+ PointInTimeRestore = "PointInTimeRestore",
712
+ Replica = "Replica",
713
+ GeoRestore = "GeoRestore"
674
714
  }
675
715
 
676
716
  /**
677
- * Represents a resource name availability.
717
+ * Defines values for CreateMode. \
718
+ * {@link KnownCreateMode} can be used interchangeably with CreateMode,
719
+ * this enum contains the known values that the service supports.
720
+ * ### Known values supported by the service
721
+ * **Default** \
722
+ * **PointInTimeRestore** \
723
+ * **Replica** \
724
+ * **GeoRestore**
678
725
  */
679
- export interface NameAvailability {
680
- /**
681
- * Error Message.
682
- */
683
- message?: string;
684
- /**
685
- * Indicates whether the resource name is available.
686
- */
687
- nameAvailable?: boolean;
688
- /**
689
- * Reason for name being unavailable.
690
- */
691
- reason?: string;
726
+ export type CreateMode = string;
727
+
728
+ /** Known values of {@link ReplicationRole} that the service accepts. */
729
+ export enum KnownReplicationRole {
730
+ None = "None",
731
+ Source = "Source",
732
+ Replica = "Replica"
692
733
  }
693
734
 
694
735
  /**
695
- * Display metadata associated with the operation.
696
- */
697
- export interface OperationDisplay {
698
- /**
699
- * Operation resource provider name.
700
- */
701
- provider?: string;
702
- /**
703
- * Resource on which the operation is performed.
704
- */
705
- resource?: string;
706
- /**
707
- * Localized friendly name for the operation.
708
- */
709
- operation?: string;
710
- /**
711
- * Operation description.
712
- */
713
- description?: string;
736
+ * Defines values for ReplicationRole. \
737
+ * {@link KnownReplicationRole} can be used interchangeably with ReplicationRole,
738
+ * this enum contains the known values that the service supports.
739
+ * ### Known values supported by the service
740
+ * **None** \
741
+ * **Source** \
742
+ * **Replica**
743
+ */
744
+ export type ReplicationRole = string;
745
+
746
+ /** Known values of {@link ServerState} that the service accepts. */
747
+ export enum KnownServerState {
748
+ Ready = "Ready",
749
+ Dropping = "Dropping",
750
+ Disabled = "Disabled",
751
+ Starting = "Starting",
752
+ Stopping = "Stopping",
753
+ Stopped = "Stopped",
754
+ Updating = "Updating"
714
755
  }
715
756
 
716
757
  /**
717
- * REST API operation definition.
718
- */
719
- export interface Operation {
720
- /**
721
- * The name of the operation being performed on this particular object.
722
- */
723
- name?: string;
724
- /**
725
- * The localized display information for this particular operation or action.
726
- */
727
- display?: OperationDisplay;
728
- /**
729
- * The intended executor of the operation.
730
- */
731
- origin?: string;
732
- /**
733
- * Additional descriptions for the operation.
734
- */
735
- properties?: { [propertyName: string]: any };
758
+ * Defines values for ServerState. \
759
+ * {@link KnownServerState} can be used interchangeably with ServerState,
760
+ * this enum contains the known values that the service supports.
761
+ * ### Known values supported by the service
762
+ * **Ready** \
763
+ * **Dropping** \
764
+ * **Disabled** \
765
+ * **Starting** \
766
+ * **Stopping** \
767
+ * **Stopped** \
768
+ * **Updating**
769
+ */
770
+ export type ServerState = string;
771
+
772
+ /** Known values of {@link EnableStatusEnum} that the service accepts. */
773
+ export enum KnownEnableStatusEnum {
774
+ Enabled = "Enabled",
775
+ Disabled = "Disabled"
736
776
  }
737
777
 
738
778
  /**
739
- * The resource management error additional info.
779
+ * Defines values for EnableStatusEnum. \
780
+ * {@link KnownEnableStatusEnum} can be used interchangeably with EnableStatusEnum,
781
+ * this enum contains the known values that the service supports.
782
+ * ### Known values supported by the service
783
+ * **Enabled** \
784
+ * **Disabled**
740
785
  */
741
- export interface ErrorAdditionalInfo {
742
- /**
743
- * The additional info type.
744
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
745
- */
746
- readonly type?: string;
747
- /**
748
- * The additional info.
749
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
750
- */
751
- readonly info?: any;
786
+ export type EnableStatusEnum = string;
787
+
788
+ /** Known values of {@link HighAvailabilityMode} that the service accepts. */
789
+ export enum KnownHighAvailabilityMode {
790
+ Disabled = "Disabled",
791
+ ZoneRedundant = "ZoneRedundant",
792
+ SameZone = "SameZone"
752
793
  }
753
794
 
754
795
  /**
755
- * Common error response for all Azure Resource Manager APIs to return error details for failed
756
- * operations. (This also follows the OData error response format.)
757
- * @summary Error Response
796
+ * Defines values for HighAvailabilityMode. \
797
+ * {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode,
798
+ * this enum contains the known values that the service supports.
799
+ * ### Known values supported by the service
800
+ * **Disabled** \
801
+ * **ZoneRedundant** \
802
+ * **SameZone**
758
803
  */
759
- export interface ErrorResponse {
760
- /**
761
- * The error code.
762
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
763
- */
764
- readonly code?: string;
765
- /**
766
- * The error message.
767
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
768
- */
769
- readonly message?: string;
770
- /**
771
- * The error target.
772
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
773
- */
774
- readonly target?: string;
775
- /**
776
- * The error details.
777
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
778
- */
779
- readonly details?: ErrorResponse[];
780
- /**
781
- * The error additional info.
782
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
783
- */
784
- readonly additionalInfo?: ErrorAdditionalInfo[];
804
+ export type HighAvailabilityMode = string;
805
+
806
+ /** Known values of {@link HighAvailabilityState} that the service accepts. */
807
+ export enum KnownHighAvailabilityState {
808
+ NotEnabled = "NotEnabled",
809
+ CreatingStandby = "CreatingStandby",
810
+ Healthy = "Healthy",
811
+ FailingOver = "FailingOver",
812
+ RemovingStandby = "RemovingStandby"
785
813
  }
786
814
 
787
815
  /**
788
- * The resource model definition for an Azure Resource Manager resource with an etag.
789
- * @summary Entity Resource
790
- */
791
- export interface AzureEntityResource extends Resource {
792
- /**
793
- * Resource Etag.
794
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
795
- */
796
- readonly etag?: string;
816
+ * Defines values for HighAvailabilityState. \
817
+ * {@link KnownHighAvailabilityState} can be used interchangeably with HighAvailabilityState,
818
+ * this enum contains the known values that the service supports.
819
+ * ### Known values supported by the service
820
+ * **NotEnabled** \
821
+ * **CreatingStandby** \
822
+ * **Healthy** \
823
+ * **FailingOver** \
824
+ * **RemovingStandby**
825
+ */
826
+ export type HighAvailabilityState = string;
827
+
828
+ /** Known values of {@link CreatedByType} that the service accepts. */
829
+ export enum KnownCreatedByType {
830
+ User = "User",
831
+ Application = "Application",
832
+ ManagedIdentity = "ManagedIdentity",
833
+ Key = "Key"
797
834
  }
798
835
 
799
836
  /**
800
- * An interface representing MySQLManagementClientOptions.
837
+ * Defines values for CreatedByType. \
838
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
839
+ * this enum contains the known values that the service supports.
840
+ * ### Known values supported by the service
841
+ * **User** \
842
+ * **Application** \
843
+ * **ManagedIdentity** \
844
+ * **Key**
801
845
  */
802
- export interface MySQLManagementClientOptions extends AzureServiceClientOptions {
803
- baseUri?: string;
846
+ export type CreatedByType = string;
847
+
848
+ /** Known values of {@link ConfigurationSource} that the service accepts. */
849
+ export enum KnownConfigurationSource {
850
+ SystemDefault = "system-default",
851
+ UserOverride = "user-override"
804
852
  }
805
853
 
806
854
  /**
807
- * @interface
808
- * A list of servers.
809
- * @extends Array<Server>
855
+ * Defines values for ConfigurationSource. \
856
+ * {@link KnownConfigurationSource} can be used interchangeably with ConfigurationSource,
857
+ * this enum contains the known values that the service supports.
858
+ * ### Known values supported by the service
859
+ * **system-default** \
860
+ * **user-override**
810
861
  */
811
- export interface ServerListResult extends Array<Server> {
812
- /**
813
- * The link used to get the next page of operations.
814
- */
815
- nextLink?: string;
862
+ export type ConfigurationSource = string;
863
+
864
+ /** Known values of {@link IsReadOnly} that the service accepts. */
865
+ export enum KnownIsReadOnly {
866
+ True = "True",
867
+ False = "False"
816
868
  }
817
869
 
818
870
  /**
819
- * @interface
820
- * A list of server backups.
821
- * @extends Array<ServerBackup>
871
+ * Defines values for IsReadOnly. \
872
+ * {@link KnownIsReadOnly} can be used interchangeably with IsReadOnly,
873
+ * this enum contains the known values that the service supports.
874
+ * ### Known values supported by the service
875
+ * **True** \
876
+ * **False**
822
877
  */
823
- export interface ServerBackupListResult extends Array<ServerBackup> {
824
- /**
825
- * The link used to get the next page of operations.
826
- */
827
- nextLink?: string;
878
+ export type IsReadOnly = string;
879
+
880
+ /** Known values of {@link IsConfigPendingRestart} that the service accepts. */
881
+ export enum KnownIsConfigPendingRestart {
882
+ True = "True",
883
+ False = "False"
828
884
  }
829
885
 
830
886
  /**
831
- * @interface
832
- * A list of firewall rules.
833
- * @extends Array<FirewallRule>
887
+ * Defines values for IsConfigPendingRestart. \
888
+ * {@link KnownIsConfigPendingRestart} can be used interchangeably with IsConfigPendingRestart,
889
+ * this enum contains the known values that the service supports.
890
+ * ### Known values supported by the service
891
+ * **True** \
892
+ * **False**
834
893
  */
835
- export interface FirewallRuleListResult extends Array<FirewallRule> {
836
- /**
837
- * The link used to get the next page of operations.
838
- */
839
- nextLink?: string;
894
+ export type IsConfigPendingRestart = string;
895
+
896
+ /** Known values of {@link IsDynamicConfig} that the service accepts. */
897
+ export enum KnownIsDynamicConfig {
898
+ True = "True",
899
+ False = "False"
840
900
  }
841
901
 
842
902
  /**
843
- * @interface
844
- * A List of databases.
845
- * @extends Array<Database>
846
- */
847
- export interface DatabaseListResult extends Array<Database> {
848
- /**
849
- * The link used to get the next page of operations.
850
- */
851
- nextLink?: string;
903
+ * Defines values for IsDynamicConfig. \
904
+ * {@link KnownIsDynamicConfig} can be used interchangeably with IsDynamicConfig,
905
+ * this enum contains the known values that the service supports.
906
+ * ### Known values supported by the service
907
+ * **True** \
908
+ * **False**
909
+ */
910
+ export type IsDynamicConfig = string;
911
+ /** Defines values for DataEncryptionType. */
912
+ export type DataEncryptionType = "AzureKeyVault" | "SystemManaged";
913
+
914
+ /** Optional parameters. */
915
+ export interface ServersCreateOptionalParams
916
+ extends coreClient.OperationOptions {
917
+ /** Delay to wait until next poll, in milliseconds. */
918
+ updateIntervalInMs?: number;
919
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
920
+ resumeFrom?: string;
852
921
  }
853
922
 
854
- /**
855
- * @interface
856
- * A list of server configurations.
857
- * @extends Array<Configuration>
858
- */
859
- export interface ConfigurationListResult extends Array<Configuration> {
860
- /**
861
- * The link used to get the next page of operations.
862
- */
863
- nextLink?: string;
923
+ /** Contains response data for the create operation. */
924
+ export type ServersCreateResponse = Server;
925
+
926
+ /** Optional parameters. */
927
+ export interface ServersUpdateOptionalParams
928
+ extends coreClient.OperationOptions {
929
+ /** Delay to wait until next poll, in milliseconds. */
930
+ updateIntervalInMs?: number;
931
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
932
+ resumeFrom?: string;
864
933
  }
865
934
 
866
- /**
867
- * @interface
868
- * location capability
869
- * @extends Array<CapabilityProperties>
870
- */
871
- export interface CapabilitiesListResult extends Array<CapabilityProperties> {
872
- /**
873
- * Link to retrieve next page of results.
874
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
875
- */
876
- readonly nextLink?: string;
935
+ /** Contains response data for the update operation. */
936
+ export type ServersUpdateResponse = Server;
937
+
938
+ /** Optional parameters. */
939
+ export interface ServersDeleteOptionalParams
940
+ extends coreClient.OperationOptions {
941
+ /** Delay to wait until next poll, in milliseconds. */
942
+ updateIntervalInMs?: number;
943
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
944
+ resumeFrom?: string;
877
945
  }
878
946
 
879
- /**
880
- * @interface
881
- * A list of resource provider operations.
882
- * @extends Array<Operation>
883
- */
884
- export interface OperationListResult extends Array<Operation> {
885
- /**
886
- * URL client should use to fetch the next page (per server side paging).
887
- */
888
- nextLink?: string;
947
+ /** Optional parameters. */
948
+ export interface ServersGetOptionalParams extends coreClient.OperationOptions {}
949
+
950
+ /** Contains response data for the get operation. */
951
+ export type ServersGetResponse = Server;
952
+
953
+ /** Optional parameters. */
954
+ export interface ServersListByResourceGroupOptionalParams
955
+ extends coreClient.OperationOptions {}
956
+
957
+ /** Contains response data for the listByResourceGroup operation. */
958
+ export type ServersListByResourceGroupResponse = ServerListResult;
959
+
960
+ /** Optional parameters. */
961
+ export interface ServersListOptionalParams
962
+ extends coreClient.OperationOptions {}
963
+
964
+ /** Contains response data for the list operation. */
965
+ export type ServersListResponse = ServerListResult;
966
+
967
+ /** Optional parameters. */
968
+ export interface ServersFailoverOptionalParams
969
+ extends coreClient.OperationOptions {
970
+ /** Delay to wait until next poll, in milliseconds. */
971
+ updateIntervalInMs?: number;
972
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
973
+ resumeFrom?: string;
889
974
  }
890
975
 
891
- /**
892
- * Defines values for ServerVersion.
893
- * Possible values include: '5.7', '8.0.21'
894
- * @readonly
895
- * @enum {string}
896
- */
897
- export type ServerVersion = '5.7' | '8.0.21';
976
+ /** Optional parameters. */
977
+ export interface ServersRestartOptionalParams
978
+ extends coreClient.OperationOptions {
979
+ /** Delay to wait until next poll, in milliseconds. */
980
+ updateIntervalInMs?: number;
981
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
982
+ resumeFrom?: string;
983
+ }
898
984
 
899
- /**
900
- * Defines values for EnableStatusEnum.
901
- * Possible values include: 'Enabled', 'Disabled'
902
- * @readonly
903
- * @enum {string}
904
- */
905
- export type EnableStatusEnum = 'Enabled' | 'Disabled';
985
+ /** Optional parameters. */
986
+ export interface ServersStartOptionalParams
987
+ extends coreClient.OperationOptions {
988
+ /** Delay to wait until next poll, in milliseconds. */
989
+ updateIntervalInMs?: number;
990
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
991
+ resumeFrom?: string;
992
+ }
906
993
 
907
- /**
908
- * Defines values for ReplicationRole.
909
- * Possible values include: 'None', 'Source', 'Replica'
910
- * @readonly
911
- * @enum {string}
912
- */
913
- export type ReplicationRole = 'None' | 'Source' | 'Replica';
994
+ /** Optional parameters. */
995
+ export interface ServersStopOptionalParams extends coreClient.OperationOptions {
996
+ /** Delay to wait until next poll, in milliseconds. */
997
+ updateIntervalInMs?: number;
998
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
999
+ resumeFrom?: string;
1000
+ }
914
1001
 
915
- /**
916
- * Defines values for SkuTier.
917
- * Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized'
918
- * @readonly
919
- * @enum {string}
920
- */
921
- export type SkuTier = 'Burstable' | 'GeneralPurpose' | 'MemoryOptimized';
1002
+ /** Optional parameters. */
1003
+ export interface ServersListByResourceGroupNextOptionalParams
1004
+ extends coreClient.OperationOptions {}
922
1005
 
923
- /**
924
- * Defines values for HighAvailabilityMode.
925
- * Possible values include: 'Disabled', 'ZoneRedundant', 'SameZone'
926
- * @readonly
927
- * @enum {string}
928
- */
929
- export type HighAvailabilityMode = 'Disabled' | 'ZoneRedundant' | 'SameZone';
1006
+ /** Contains response data for the listByResourceGroupNext operation. */
1007
+ export type ServersListByResourceGroupNextResponse = ServerListResult;
930
1008
 
931
- /**
932
- * Defines values for HighAvailabilityState.
933
- * Possible values include: 'NotEnabled', 'CreatingStandby', 'Healthy', 'FailingOver',
934
- * 'RemovingStandby'
935
- * @readonly
936
- * @enum {string}
937
- */
938
- export type HighAvailabilityState = 'NotEnabled' | 'CreatingStandby' | 'Healthy' | 'FailingOver' | 'RemovingStandby';
1009
+ /** Optional parameters. */
1010
+ export interface ServersListNextOptionalParams
1011
+ extends coreClient.OperationOptions {}
939
1012
 
940
- /**
941
- * Defines values for CreateMode.
942
- * Possible values include: 'Default', 'PointInTimeRestore', 'Replica', 'GeoRestore'
943
- * @readonly
944
- * @enum {string}
945
- */
946
- export type CreateMode = 'Default' | 'PointInTimeRestore' | 'Replica' | 'GeoRestore';
1013
+ /** Contains response data for the listNext operation. */
1014
+ export type ServersListNextResponse = ServerListResult;
947
1015
 
948
- /**
949
- * Defines values for ServerState.
950
- * Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting', 'Stopping', 'Stopped',
951
- * 'Updating'
952
- * @readonly
953
- * @enum {string}
954
- */
955
- export type ServerState = 'Ready' | 'Dropping' | 'Disabled' | 'Starting' | 'Stopping' | 'Stopped' | 'Updating';
1016
+ /** Optional parameters. */
1017
+ export interface ReplicasListByServerOptionalParams
1018
+ extends coreClient.OperationOptions {}
956
1019
 
957
- /**
958
- * Defines values for CreatedByType.
959
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
960
- * @readonly
961
- * @enum {string}
962
- */
963
- export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
1020
+ /** Contains response data for the listByServer operation. */
1021
+ export type ReplicasListByServerResponse = ServerListResult;
964
1022
 
965
- /**
966
- * Defines values for ConfigurationSource.
967
- * Possible values include: 'system-default', 'user-override'
968
- * @readonly
969
- * @enum {string}
970
- */
971
- export type ConfigurationSource = 'system-default' | 'user-override';
1023
+ /** Optional parameters. */
1024
+ export interface ReplicasListByServerNextOptionalParams
1025
+ extends coreClient.OperationOptions {}
972
1026
 
973
- /**
974
- * Defines values for IsReadOnly.
975
- * Possible values include: 'True', 'False'
976
- * @readonly
977
- * @enum {string}
978
- */
979
- export type IsReadOnly = 'True' | 'False';
1027
+ /** Contains response data for the listByServerNext operation. */
1028
+ export type ReplicasListByServerNextResponse = ServerListResult;
980
1029
 
981
- /**
982
- * Defines values for IsConfigPendingRestart.
983
- * Possible values include: 'True', 'False'
984
- * @readonly
985
- * @enum {string}
986
- */
987
- export type IsConfigPendingRestart = 'True' | 'False';
1030
+ /** Optional parameters. */
1031
+ export interface BackupsGetOptionalParams extends coreClient.OperationOptions {}
988
1032
 
989
- /**
990
- * Defines values for IsDynamicConfig.
991
- * Possible values include: 'True', 'False'
992
- * @readonly
993
- * @enum {string}
994
- */
995
- export type IsDynamicConfig = 'True' | 'False';
1033
+ /** Contains response data for the get operation. */
1034
+ export type BackupsGetResponse = ServerBackup;
996
1035
 
997
- /**
998
- * Contains response data for the create operation.
999
- */
1000
- export type ServersCreateResponse = Server & {
1001
- /**
1002
- * The underlying HTTP response.
1003
- */
1004
- _response: msRest.HttpResponse & {
1005
- /**
1006
- * The response body as text (string format)
1007
- */
1008
- bodyAsText: string;
1009
-
1010
- /**
1011
- * The response body as parsed JSON or XML
1012
- */
1013
- parsedBody: Server;
1014
- };
1015
- };
1036
+ /** Optional parameters. */
1037
+ export interface BackupsListByServerOptionalParams
1038
+ extends coreClient.OperationOptions {}
1016
1039
 
1017
- /**
1018
- * Contains response data for the update operation.
1019
- */
1020
- export type ServersUpdateResponse = Server & {
1021
- /**
1022
- * The underlying HTTP response.
1023
- */
1024
- _response: msRest.HttpResponse & {
1025
- /**
1026
- * The response body as text (string format)
1027
- */
1028
- bodyAsText: string;
1029
-
1030
- /**
1031
- * The response body as parsed JSON or XML
1032
- */
1033
- parsedBody: Server;
1034
- };
1035
- };
1040
+ /** Contains response data for the listByServer operation. */
1041
+ export type BackupsListByServerResponse = ServerBackupListResult;
1036
1042
 
1037
- /**
1038
- * Contains response data for the get operation.
1039
- */
1040
- export type ServersGetResponse = Server & {
1041
- /**
1042
- * The underlying HTTP response.
1043
- */
1044
- _response: msRest.HttpResponse & {
1045
- /**
1046
- * The response body as text (string format)
1047
- */
1048
- bodyAsText: string;
1049
-
1050
- /**
1051
- * The response body as parsed JSON or XML
1052
- */
1053
- parsedBody: Server;
1054
- };
1055
- };
1043
+ /** Optional parameters. */
1044
+ export interface BackupsListByServerNextOptionalParams
1045
+ extends coreClient.OperationOptions {}
1056
1046
 
1057
- /**
1058
- * Contains response data for the listByResourceGroup operation.
1059
- */
1060
- export type ServersListByResourceGroupResponse = ServerListResult & {
1061
- /**
1062
- * The underlying HTTP response.
1063
- */
1064
- _response: msRest.HttpResponse & {
1065
- /**
1066
- * The response body as text (string format)
1067
- */
1068
- bodyAsText: string;
1069
-
1070
- /**
1071
- * The response body as parsed JSON or XML
1072
- */
1073
- parsedBody: ServerListResult;
1074
- };
1075
- };
1047
+ /** Contains response data for the listByServerNext operation. */
1048
+ export type BackupsListByServerNextResponse = ServerBackupListResult;
1076
1049
 
1077
- /**
1078
- * Contains response data for the list operation.
1079
- */
1080
- export type ServersListResponse = ServerListResult & {
1081
- /**
1082
- * The underlying HTTP response.
1083
- */
1084
- _response: msRest.HttpResponse & {
1085
- /**
1086
- * The response body as text (string format)
1087
- */
1088
- bodyAsText: string;
1089
-
1090
- /**
1091
- * The response body as parsed JSON or XML
1092
- */
1093
- parsedBody: ServerListResult;
1094
- };
1095
- };
1050
+ /** Optional parameters. */
1051
+ export interface FirewallRulesCreateOrUpdateOptionalParams
1052
+ extends coreClient.OperationOptions {
1053
+ /** Delay to wait until next poll, in milliseconds. */
1054
+ updateIntervalInMs?: number;
1055
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1056
+ resumeFrom?: string;
1057
+ }
1096
1058
 
1097
- /**
1098
- * Contains response data for the beginCreate operation.
1099
- */
1100
- export type ServersBeginCreateResponse = Server & {
1101
- /**
1102
- * The underlying HTTP response.
1103
- */
1104
- _response: msRest.HttpResponse & {
1105
- /**
1106
- * The response body as text (string format)
1107
- */
1108
- bodyAsText: string;
1109
-
1110
- /**
1111
- * The response body as parsed JSON or XML
1112
- */
1113
- parsedBody: Server;
1114
- };
1115
- };
1059
+ /** Contains response data for the createOrUpdate operation. */
1060
+ export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
1116
1061
 
1117
- /**
1118
- * Contains response data for the beginUpdate operation.
1119
- */
1120
- export type ServersBeginUpdateResponse = Server & {
1121
- /**
1122
- * The underlying HTTP response.
1123
- */
1124
- _response: msRest.HttpResponse & {
1125
- /**
1126
- * The response body as text (string format)
1127
- */
1128
- bodyAsText: string;
1129
-
1130
- /**
1131
- * The response body as parsed JSON or XML
1132
- */
1133
- parsedBody: Server;
1134
- };
1135
- };
1062
+ /** Optional parameters. */
1063
+ export interface FirewallRulesDeleteOptionalParams
1064
+ extends coreClient.OperationOptions {
1065
+ /** Delay to wait until next poll, in milliseconds. */
1066
+ updateIntervalInMs?: number;
1067
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1068
+ resumeFrom?: string;
1069
+ }
1136
1070
 
1137
- /**
1138
- * Contains response data for the listByResourceGroupNext operation.
1139
- */
1140
- export type ServersListByResourceGroupNextResponse = ServerListResult & {
1141
- /**
1142
- * The underlying HTTP response.
1143
- */
1144
- _response: msRest.HttpResponse & {
1145
- /**
1146
- * The response body as text (string format)
1147
- */
1148
- bodyAsText: string;
1149
-
1150
- /**
1151
- * The response body as parsed JSON or XML
1152
- */
1153
- parsedBody: ServerListResult;
1154
- };
1155
- };
1071
+ /** Optional parameters. */
1072
+ export interface FirewallRulesGetOptionalParams
1073
+ extends coreClient.OperationOptions {}
1156
1074
 
1157
- /**
1158
- * Contains response data for the listNext operation.
1159
- */
1160
- export type ServersListNextResponse = ServerListResult & {
1161
- /**
1162
- * The underlying HTTP response.
1163
- */
1164
- _response: msRest.HttpResponse & {
1165
- /**
1166
- * The response body as text (string format)
1167
- */
1168
- bodyAsText: string;
1169
-
1170
- /**
1171
- * The response body as parsed JSON or XML
1172
- */
1173
- parsedBody: ServerListResult;
1174
- };
1175
- };
1075
+ /** Contains response data for the get operation. */
1076
+ export type FirewallRulesGetResponse = FirewallRule;
1176
1077
 
1177
- /**
1178
- * Contains response data for the listByServer operation.
1179
- */
1180
- export type ReplicasListByServerResponse = ServerListResult & {
1181
- /**
1182
- * The underlying HTTP response.
1183
- */
1184
- _response: msRest.HttpResponse & {
1185
- /**
1186
- * The response body as text (string format)
1187
- */
1188
- bodyAsText: string;
1189
-
1190
- /**
1191
- * The response body as parsed JSON or XML
1192
- */
1193
- parsedBody: ServerListResult;
1194
- };
1195
- };
1078
+ /** Optional parameters. */
1079
+ export interface FirewallRulesListByServerOptionalParams
1080
+ extends coreClient.OperationOptions {}
1196
1081
 
1197
- /**
1198
- * Contains response data for the listByServerNext operation.
1199
- */
1200
- export type ReplicasListByServerNextResponse = ServerListResult & {
1201
- /**
1202
- * The underlying HTTP response.
1203
- */
1204
- _response: msRest.HttpResponse & {
1205
- /**
1206
- * The response body as text (string format)
1207
- */
1208
- bodyAsText: string;
1209
-
1210
- /**
1211
- * The response body as parsed JSON or XML
1212
- */
1213
- parsedBody: ServerListResult;
1214
- };
1215
- };
1082
+ /** Contains response data for the listByServer operation. */
1083
+ export type FirewallRulesListByServerResponse = FirewallRuleListResult;
1216
1084
 
1217
- /**
1218
- * Contains response data for the get operation.
1219
- */
1220
- export type BackupsGetResponse = ServerBackup & {
1221
- /**
1222
- * The underlying HTTP response.
1223
- */
1224
- _response: msRest.HttpResponse & {
1225
- /**
1226
- * The response body as text (string format)
1227
- */
1228
- bodyAsText: string;
1229
-
1230
- /**
1231
- * The response body as parsed JSON or XML
1232
- */
1233
- parsedBody: ServerBackup;
1234
- };
1235
- };
1085
+ /** Optional parameters. */
1086
+ export interface FirewallRulesListByServerNextOptionalParams
1087
+ extends coreClient.OperationOptions {}
1236
1088
 
1237
- /**
1238
- * Contains response data for the listByServer operation.
1239
- */
1240
- export type BackupsListByServerResponse = ServerBackupListResult & {
1241
- /**
1242
- * The underlying HTTP response.
1243
- */
1244
- _response: msRest.HttpResponse & {
1245
- /**
1246
- * The response body as text (string format)
1247
- */
1248
- bodyAsText: string;
1249
-
1250
- /**
1251
- * The response body as parsed JSON or XML
1252
- */
1253
- parsedBody: ServerBackupListResult;
1254
- };
1255
- };
1089
+ /** Contains response data for the listByServerNext operation. */
1090
+ export type FirewallRulesListByServerNextResponse = FirewallRuleListResult;
1256
1091
 
1257
- /**
1258
- * Contains response data for the listByServerNext operation.
1259
- */
1260
- export type BackupsListByServerNextResponse = ServerBackupListResult & {
1261
- /**
1262
- * The underlying HTTP response.
1263
- */
1264
- _response: msRest.HttpResponse & {
1265
- /**
1266
- * The response body as text (string format)
1267
- */
1268
- bodyAsText: string;
1269
-
1270
- /**
1271
- * The response body as parsed JSON or XML
1272
- */
1273
- parsedBody: ServerBackupListResult;
1274
- };
1275
- };
1092
+ /** Optional parameters. */
1093
+ export interface DatabasesCreateOrUpdateOptionalParams
1094
+ extends coreClient.OperationOptions {
1095
+ /** Delay to wait until next poll, in milliseconds. */
1096
+ updateIntervalInMs?: number;
1097
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1098
+ resumeFrom?: string;
1099
+ }
1276
1100
 
1277
- /**
1278
- * Contains response data for the createOrUpdate operation.
1279
- */
1280
- export type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
1281
- /**
1282
- * The underlying HTTP response.
1283
- */
1284
- _response: msRest.HttpResponse & {
1285
- /**
1286
- * The response body as text (string format)
1287
- */
1288
- bodyAsText: string;
1289
-
1290
- /**
1291
- * The response body as parsed JSON or XML
1292
- */
1293
- parsedBody: FirewallRule;
1294
- };
1295
- };
1101
+ /** Contains response data for the createOrUpdate operation. */
1102
+ export type DatabasesCreateOrUpdateResponse = Database;
1296
1103
 
1297
- /**
1298
- * Contains response data for the get operation.
1299
- */
1300
- export type FirewallRulesGetResponse = FirewallRule & {
1301
- /**
1302
- * The underlying HTTP response.
1303
- */
1304
- _response: msRest.HttpResponse & {
1305
- /**
1306
- * The response body as text (string format)
1307
- */
1308
- bodyAsText: string;
1309
-
1310
- /**
1311
- * The response body as parsed JSON or XML
1312
- */
1313
- parsedBody: FirewallRule;
1314
- };
1315
- };
1104
+ /** Optional parameters. */
1105
+ export interface DatabasesDeleteOptionalParams
1106
+ extends coreClient.OperationOptions {
1107
+ /** Delay to wait until next poll, in milliseconds. */
1108
+ updateIntervalInMs?: number;
1109
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1110
+ resumeFrom?: string;
1111
+ }
1316
1112
 
1317
- /**
1318
- * Contains response data for the listByServer operation.
1319
- */
1320
- export type FirewallRulesListByServerResponse = FirewallRuleListResult & {
1321
- /**
1322
- * The underlying HTTP response.
1323
- */
1324
- _response: msRest.HttpResponse & {
1325
- /**
1326
- * The response body as text (string format)
1327
- */
1328
- bodyAsText: string;
1329
-
1330
- /**
1331
- * The response body as parsed JSON or XML
1332
- */
1333
- parsedBody: FirewallRuleListResult;
1334
- };
1335
- };
1113
+ /** Optional parameters. */
1114
+ export interface DatabasesGetOptionalParams
1115
+ extends coreClient.OperationOptions {}
1336
1116
 
1337
- /**
1338
- * Contains response data for the beginCreateOrUpdate operation.
1339
- */
1340
- export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & {
1341
- /**
1342
- * The underlying HTTP response.
1343
- */
1344
- _response: msRest.HttpResponse & {
1345
- /**
1346
- * The response body as text (string format)
1347
- */
1348
- bodyAsText: string;
1349
-
1350
- /**
1351
- * The response body as parsed JSON or XML
1352
- */
1353
- parsedBody: FirewallRule;
1354
- };
1355
- };
1117
+ /** Contains response data for the get operation. */
1118
+ export type DatabasesGetResponse = Database;
1356
1119
 
1357
- /**
1358
- * Contains response data for the listByServerNext operation.
1359
- */
1360
- export type FirewallRulesListByServerNextResponse = FirewallRuleListResult & {
1361
- /**
1362
- * The underlying HTTP response.
1363
- */
1364
- _response: msRest.HttpResponse & {
1365
- /**
1366
- * The response body as text (string format)
1367
- */
1368
- bodyAsText: string;
1369
-
1370
- /**
1371
- * The response body as parsed JSON or XML
1372
- */
1373
- parsedBody: FirewallRuleListResult;
1374
- };
1375
- };
1120
+ /** Optional parameters. */
1121
+ export interface DatabasesListByServerOptionalParams
1122
+ extends coreClient.OperationOptions {}
1376
1123
 
1377
- /**
1378
- * Contains response data for the createOrUpdate operation.
1379
- */
1380
- export type DatabasesCreateOrUpdateResponse = Database & {
1381
- /**
1382
- * The underlying HTTP response.
1383
- */
1384
- _response: msRest.HttpResponse & {
1385
- /**
1386
- * The response body as text (string format)
1387
- */
1388
- bodyAsText: string;
1389
-
1390
- /**
1391
- * The response body as parsed JSON or XML
1392
- */
1393
- parsedBody: Database;
1394
- };
1395
- };
1124
+ /** Contains response data for the listByServer operation. */
1125
+ export type DatabasesListByServerResponse = DatabaseListResult;
1396
1126
 
1397
- /**
1398
- * Contains response data for the get operation.
1399
- */
1400
- export type DatabasesGetResponse = Database & {
1401
- /**
1402
- * The underlying HTTP response.
1403
- */
1404
- _response: msRest.HttpResponse & {
1405
- /**
1406
- * The response body as text (string format)
1407
- */
1408
- bodyAsText: string;
1409
-
1410
- /**
1411
- * The response body as parsed JSON or XML
1412
- */
1413
- parsedBody: Database;
1414
- };
1415
- };
1127
+ /** Optional parameters. */
1128
+ export interface DatabasesListByServerNextOptionalParams
1129
+ extends coreClient.OperationOptions {}
1416
1130
 
1417
- /**
1418
- * Contains response data for the listByServer operation.
1419
- */
1420
- export type DatabasesListByServerResponse = DatabaseListResult & {
1421
- /**
1422
- * The underlying HTTP response.
1423
- */
1424
- _response: msRest.HttpResponse & {
1425
- /**
1426
- * The response body as text (string format)
1427
- */
1428
- bodyAsText: string;
1429
-
1430
- /**
1431
- * The response body as parsed JSON or XML
1432
- */
1433
- parsedBody: DatabaseListResult;
1434
- };
1435
- };
1131
+ /** Contains response data for the listByServerNext operation. */
1132
+ export type DatabasesListByServerNextResponse = DatabaseListResult;
1436
1133
 
1437
- /**
1438
- * Contains response data for the beginCreateOrUpdate operation.
1439
- */
1440
- export type DatabasesBeginCreateOrUpdateResponse = Database & {
1441
- /**
1442
- * The underlying HTTP response.
1443
- */
1444
- _response: msRest.HttpResponse & {
1445
- /**
1446
- * The response body as text (string format)
1447
- */
1448
- bodyAsText: string;
1449
-
1450
- /**
1451
- * The response body as parsed JSON or XML
1452
- */
1453
- parsedBody: Database;
1454
- };
1455
- };
1134
+ /** Optional parameters. */
1135
+ export interface ConfigurationsUpdateOptionalParams
1136
+ extends coreClient.OperationOptions {
1137
+ /** Delay to wait until next poll, in milliseconds. */
1138
+ updateIntervalInMs?: number;
1139
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1140
+ resumeFrom?: string;
1141
+ }
1456
1142
 
1457
- /**
1458
- * Contains response data for the listByServerNext operation.
1459
- */
1460
- export type DatabasesListByServerNextResponse = DatabaseListResult & {
1461
- /**
1462
- * The underlying HTTP response.
1463
- */
1464
- _response: msRest.HttpResponse & {
1465
- /**
1466
- * The response body as text (string format)
1467
- */
1468
- bodyAsText: string;
1469
-
1470
- /**
1471
- * The response body as parsed JSON or XML
1472
- */
1473
- parsedBody: DatabaseListResult;
1474
- };
1475
- };
1143
+ /** Contains response data for the update operation. */
1144
+ export type ConfigurationsUpdateResponse = Configuration;
1476
1145
 
1477
- /**
1478
- * Contains response data for the update operation.
1479
- */
1480
- export type ConfigurationsUpdateResponse = Configuration & {
1481
- /**
1482
- * The underlying HTTP response.
1483
- */
1484
- _response: msRest.HttpResponse & {
1485
- /**
1486
- * The response body as text (string format)
1487
- */
1488
- bodyAsText: string;
1489
-
1490
- /**
1491
- * The response body as parsed JSON or XML
1492
- */
1493
- parsedBody: Configuration;
1494
- };
1495
- };
1146
+ /** Optional parameters. */
1147
+ export interface ConfigurationsGetOptionalParams
1148
+ extends coreClient.OperationOptions {}
1496
1149
 
1497
- /**
1498
- * Contains response data for the get operation.
1499
- */
1500
- export type ConfigurationsGetResponse = Configuration & {
1501
- /**
1502
- * The underlying HTTP response.
1503
- */
1504
- _response: msRest.HttpResponse & {
1505
- /**
1506
- * The response body as text (string format)
1507
- */
1508
- bodyAsText: string;
1509
-
1510
- /**
1511
- * The response body as parsed JSON or XML
1512
- */
1513
- parsedBody: Configuration;
1514
- };
1515
- };
1150
+ /** Contains response data for the get operation. */
1151
+ export type ConfigurationsGetResponse = Configuration;
1516
1152
 
1517
- /**
1518
- * Contains response data for the batchUpdate operation.
1519
- */
1520
- export type ConfigurationsBatchUpdateResponse = ConfigurationListResult & {
1521
- /**
1522
- * The underlying HTTP response.
1523
- */
1524
- _response: msRest.HttpResponse & {
1525
- /**
1526
- * The response body as text (string format)
1527
- */
1528
- bodyAsText: string;
1529
-
1530
- /**
1531
- * The response body as parsed JSON or XML
1532
- */
1533
- parsedBody: ConfigurationListResult;
1534
- };
1535
- };
1153
+ /** Optional parameters. */
1154
+ export interface ConfigurationsBatchUpdateOptionalParams
1155
+ extends coreClient.OperationOptions {
1156
+ /** Delay to wait until next poll, in milliseconds. */
1157
+ updateIntervalInMs?: number;
1158
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1159
+ resumeFrom?: string;
1160
+ }
1536
1161
 
1537
- /**
1538
- * Contains response data for the listByServer operation.
1539
- */
1540
- export type ConfigurationsListByServerResponse = ConfigurationListResult & {
1541
- /**
1542
- * The underlying HTTP response.
1543
- */
1544
- _response: msRest.HttpResponse & {
1545
- /**
1546
- * The response body as text (string format)
1547
- */
1548
- bodyAsText: string;
1549
-
1550
- /**
1551
- * The response body as parsed JSON or XML
1552
- */
1553
- parsedBody: ConfigurationListResult;
1554
- };
1555
- };
1162
+ /** Contains response data for the batchUpdate operation. */
1163
+ export type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
1556
1164
 
1557
- /**
1558
- * Contains response data for the beginUpdate operation.
1559
- */
1560
- export type ConfigurationsBeginUpdateResponse = Configuration & {
1561
- /**
1562
- * The underlying HTTP response.
1563
- */
1564
- _response: msRest.HttpResponse & {
1565
- /**
1566
- * The response body as text (string format)
1567
- */
1568
- bodyAsText: string;
1569
-
1570
- /**
1571
- * The response body as parsed JSON or XML
1572
- */
1573
- parsedBody: Configuration;
1574
- };
1575
- };
1165
+ /** Optional parameters. */
1166
+ export interface ConfigurationsListByServerOptionalParams
1167
+ extends coreClient.OperationOptions {}
1576
1168
 
1577
- /**
1578
- * Contains response data for the beginBatchUpdate operation.
1579
- */
1580
- export type ConfigurationsBeginBatchUpdateResponse = ConfigurationListResult & {
1581
- /**
1582
- * The underlying HTTP response.
1583
- */
1584
- _response: msRest.HttpResponse & {
1585
- /**
1586
- * The response body as text (string format)
1587
- */
1588
- bodyAsText: string;
1589
-
1590
- /**
1591
- * The response body as parsed JSON or XML
1592
- */
1593
- parsedBody: ConfigurationListResult;
1594
- };
1595
- };
1169
+ /** Contains response data for the listByServer operation. */
1170
+ export type ConfigurationsListByServerResponse = ConfigurationListResult;
1596
1171
 
1597
- /**
1598
- * Contains response data for the listByServerNext operation.
1599
- */
1600
- export type ConfigurationsListByServerNextResponse = ConfigurationListResult & {
1601
- /**
1602
- * The underlying HTTP response.
1603
- */
1604
- _response: msRest.HttpResponse & {
1605
- /**
1606
- * The response body as text (string format)
1607
- */
1608
- bodyAsText: string;
1609
-
1610
- /**
1611
- * The response body as parsed JSON or XML
1612
- */
1613
- parsedBody: ConfigurationListResult;
1614
- };
1615
- };
1172
+ /** Optional parameters. */
1173
+ export interface ConfigurationsListByServerNextOptionalParams
1174
+ extends coreClient.OperationOptions {}
1616
1175
 
1617
- /**
1618
- * Contains response data for the list operation.
1619
- */
1620
- export type LocationBasedCapabilitiesListResponse = CapabilitiesListResult & {
1621
- /**
1622
- * The underlying HTTP response.
1623
- */
1624
- _response: msRest.HttpResponse & {
1625
- /**
1626
- * The response body as text (string format)
1627
- */
1628
- bodyAsText: string;
1629
-
1630
- /**
1631
- * The response body as parsed JSON or XML
1632
- */
1633
- parsedBody: CapabilitiesListResult;
1634
- };
1635
- };
1176
+ /** Contains response data for the listByServerNext operation. */
1177
+ export type ConfigurationsListByServerNextResponse = ConfigurationListResult;
1636
1178
 
1637
- /**
1638
- * Contains response data for the listNext operation.
1639
- */
1640
- export type LocationBasedCapabilitiesListNextResponse = CapabilitiesListResult & {
1641
- /**
1642
- * The underlying HTTP response.
1643
- */
1644
- _response: msRest.HttpResponse & {
1645
- /**
1646
- * The response body as text (string format)
1647
- */
1648
- bodyAsText: string;
1649
-
1650
- /**
1651
- * The response body as parsed JSON or XML
1652
- */
1653
- parsedBody: CapabilitiesListResult;
1654
- };
1655
- };
1179
+ /** Optional parameters. */
1180
+ export interface LocationBasedCapabilitiesListOptionalParams
1181
+ extends coreClient.OperationOptions {}
1656
1182
 
1657
- /**
1658
- * Contains response data for the execute operation.
1659
- */
1660
- export type CheckVirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult & {
1661
- /**
1662
- * The underlying HTTP response.
1663
- */
1664
- _response: msRest.HttpResponse & {
1665
- /**
1666
- * The response body as text (string format)
1667
- */
1668
- bodyAsText: string;
1669
-
1670
- /**
1671
- * The response body as parsed JSON or XML
1672
- */
1673
- parsedBody: VirtualNetworkSubnetUsageResult;
1674
- };
1675
- };
1183
+ /** Contains response data for the list operation. */
1184
+ export type LocationBasedCapabilitiesListResponse = CapabilitiesListResult;
1676
1185
 
1677
- /**
1678
- * Contains response data for the execute operation.
1679
- */
1680
- export type CheckNameAvailabilityExecuteResponse = NameAvailability & {
1681
- /**
1682
- * The underlying HTTP response.
1683
- */
1684
- _response: msRest.HttpResponse & {
1685
- /**
1686
- * The response body as text (string format)
1687
- */
1688
- bodyAsText: string;
1689
-
1690
- /**
1691
- * The response body as parsed JSON or XML
1692
- */
1693
- parsedBody: NameAvailability;
1694
- };
1695
- };
1186
+ /** Optional parameters. */
1187
+ export interface LocationBasedCapabilitiesListNextOptionalParams
1188
+ extends coreClient.OperationOptions {}
1696
1189
 
1697
- /**
1698
- * Contains response data for the execute operation.
1699
- */
1700
- export type GetPrivateDnsZoneSuffixExecuteResponse = GetPrivateDnsZoneSuffixResponse & {
1701
- /**
1702
- * The underlying HTTP response.
1703
- */
1704
- _response: msRest.HttpResponse & {
1705
- /**
1706
- * The response body as text (string format)
1707
- */
1708
- bodyAsText: string;
1709
-
1710
- /**
1711
- * The response body as parsed JSON or XML
1712
- */
1713
- parsedBody: GetPrivateDnsZoneSuffixResponse;
1714
- };
1715
- };
1190
+ /** Contains response data for the listNext operation. */
1191
+ export type LocationBasedCapabilitiesListNextResponse = CapabilitiesListResult;
1716
1192
 
1717
- /**
1718
- * Contains response data for the list operation.
1719
- */
1720
- export type OperationsListResponse = OperationListResult & {
1721
- /**
1722
- * The underlying HTTP response.
1723
- */
1724
- _response: msRest.HttpResponse & {
1725
- /**
1726
- * The response body as text (string format)
1727
- */
1728
- bodyAsText: string;
1729
-
1730
- /**
1731
- * The response body as parsed JSON or XML
1732
- */
1733
- parsedBody: OperationListResult;
1734
- };
1735
- };
1193
+ /** Optional parameters. */
1194
+ export interface CheckVirtualNetworkSubnetUsageExecuteOptionalParams
1195
+ extends coreClient.OperationOptions {}
1736
1196
 
1737
- /**
1738
- * Contains response data for the listNext operation.
1739
- */
1740
- export type OperationsListNextResponse = OperationListResult & {
1741
- /**
1742
- * The underlying HTTP response.
1743
- */
1744
- _response: msRest.HttpResponse & {
1745
- /**
1746
- * The response body as text (string format)
1747
- */
1748
- bodyAsText: string;
1749
-
1750
- /**
1751
- * The response body as parsed JSON or XML
1752
- */
1753
- parsedBody: OperationListResult;
1754
- };
1755
- };
1197
+ /** Contains response data for the execute operation. */
1198
+ export type CheckVirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
1199
+
1200
+ /** Optional parameters. */
1201
+ export interface CheckNameAvailabilityExecuteOptionalParams
1202
+ extends coreClient.OperationOptions {}
1203
+
1204
+ /** Contains response data for the execute operation. */
1205
+ export type CheckNameAvailabilityExecuteResponse = NameAvailability;
1206
+
1207
+ /** Optional parameters. */
1208
+ export interface GetPrivateDnsZoneSuffixExecuteOptionalParams
1209
+ extends coreClient.OperationOptions {}
1210
+
1211
+ /** Contains response data for the execute operation. */
1212
+ export type GetPrivateDnsZoneSuffixExecuteResponse = GetPrivateDnsZoneSuffixResponse;
1213
+
1214
+ /** Optional parameters. */
1215
+ export interface OperationsListOptionalParams
1216
+ extends coreClient.OperationOptions {}
1217
+
1218
+ /** Contains response data for the list operation. */
1219
+ export type OperationsListResponse = OperationListResult;
1220
+
1221
+ /** Optional parameters. */
1222
+ export interface OperationsListNextOptionalParams
1223
+ extends coreClient.OperationOptions {}
1224
+
1225
+ /** Contains response data for the listNext operation. */
1226
+ export type OperationsListNextResponse = OperationListResult;
1227
+
1228
+ /** Optional parameters. */
1229
+ export interface MySQLManagementFlexibleServerClientOptionalParams
1230
+ extends coreClient.ServiceClientOptions {
1231
+ /** server parameter */
1232
+ $host?: string;
1233
+ /** Api Version */
1234
+ apiVersion?: string;
1235
+ /** Overrides client endpoint. */
1236
+ endpoint?: string;
1237
+ }