@azure/arm-mysql-flexible 3.1.1-alpha.20230511.1 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/CHANGELOG.md +96 -8
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +3646 -1927
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.js +47 -0
  11. package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/azureAdAdministratorsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/azureAdAdministratorsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/azureAdAdministratorsGetSample.js +40 -0
  19. package/dist-esm/samples-dev/azureAdAdministratorsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.js +60 -0
  23. package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.js.map +1 -0
  24. package/dist-esm/samples-dev/backupAndExportCreateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/backupAndExportCreateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/backupAndExportCreateSample.js +46 -0
  27. package/dist-esm/samples-dev/backupAndExportCreateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/backupAndExportValidateBackupSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/backupAndExportValidateBackupSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/backupAndExportValidateBackupSample.js +39 -0
  31. package/dist-esm/samples-dev/backupAndExportValidateBackupSample.js.map +1 -0
  32. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  33. package/dist-esm/samples-dev/backupsListByServerSample.js +1 -1
  34. package/dist-esm/samples-dev/backupsPutSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/backupsPutSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/backupsPutSample.js +40 -0
  37. package/dist-esm/samples-dev/backupsPutSample.js.map +1 -0
  38. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  39. package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.js +41 -0
  42. package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.js.map +1 -0
  43. package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js +1 -1
  44. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js +2 -1
  45. package/dist-esm/samples-dev/configurationsBatchUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.d.ts +2 -0
  47. package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.d.ts.map +1 -0
  48. package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.js +41 -0
  49. package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.js.map +1 -0
  50. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  51. package/dist-esm/samples-dev/configurationsListByServerSample.js +5 -2
  52. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  53. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  54. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +1 -1
  55. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  56. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  57. package/dist-esm/samples-dev/databasesListByServerSample.js +1 -1
  58. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
  59. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  60. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  61. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +1 -1
  62. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
  63. package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js +1 -1
  64. package/dist-esm/samples-dev/logFilesListByServerSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/logFilesListByServerSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/logFilesListByServerSample.js +60 -0
  67. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -0
  68. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  69. package/dist-esm/samples-dev/replicasListByServerSample.js +1 -1
  70. package/dist-esm/samples-dev/serversCreateSample.js +48 -3
  71. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  72. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  73. package/dist-esm/samples-dev/serversFailoverSample.js +1 -1
  74. package/dist-esm/samples-dev/serversGetSample.js +2 -2
  75. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +1 -1
  76. package/dist-esm/samples-dev/serversListSample.js +1 -1
  77. package/dist-esm/samples-dev/serversResetGtidSample.d.ts +2 -0
  78. package/dist-esm/samples-dev/serversResetGtidSample.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/serversResetGtidSample.js +42 -0
  80. package/dist-esm/samples-dev/serversResetGtidSample.js.map +1 -0
  81. package/dist-esm/samples-dev/serversRestartSample.js +1 -1
  82. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  83. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  84. package/dist-esm/samples-dev/serversUpdateSample.js +42 -3
  85. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  86. package/dist-esm/src/lroImpl.d.ts +6 -11
  87. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  88. package/dist-esm/src/lroImpl.js +12 -20
  89. package/dist-esm/src/lroImpl.js.map +1 -1
  90. package/dist-esm/src/models/index.d.ts +767 -378
  91. package/dist-esm/src/models/index.d.ts.map +1 -1
  92. package/dist-esm/src/models/index.js +78 -44
  93. package/dist-esm/src/models/index.js.map +1 -1
  94. package/dist-esm/src/models/mappers.d.ts +44 -15
  95. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  96. package/dist-esm/src/models/mappers.js +1232 -601
  97. package/dist-esm/src/models/mappers.js.map +1 -1
  98. package/dist-esm/src/models/parameters.d.ts +14 -5
  99. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  100. package/dist-esm/src/models/parameters.js +96 -21
  101. package/dist-esm/src/models/parameters.js.map +1 -1
  102. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts +9 -8
  103. package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts.map +1 -1
  104. package/dist-esm/src/mySQLManagementFlexibleServerClient.js +10 -36
  105. package/dist-esm/src/mySQLManagementFlexibleServerClient.js.map +1 -1
  106. package/dist-esm/src/operations/azureADAdministrators.d.ts +81 -0
  107. package/dist-esm/src/operations/azureADAdministrators.d.ts.map +1 -0
  108. package/dist-esm/src/operations/azureADAdministrators.js +368 -0
  109. package/dist-esm/src/operations/azureADAdministrators.js.map +1 -0
  110. package/dist-esm/src/operations/backupAndExport.d.ts +37 -0
  111. package/dist-esm/src/operations/backupAndExport.d.ts.map +1 -0
  112. package/dist-esm/src/operations/backupAndExport.js +146 -0
  113. package/dist-esm/src/operations/backupAndExport.js.map +1 -0
  114. package/dist-esm/src/operations/backups.d.ts +9 -1
  115. package/dist-esm/src/operations/backups.d.ts.map +1 -1
  116. package/dist-esm/src/operations/backups.js +34 -2
  117. package/dist-esm/src/operations/backups.js.map +1 -1
  118. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.d.ts +19 -0
  119. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.d.ts.map +1 -0
  120. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.js +49 -0
  121. package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.js.map +1 -0
  122. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js +1 -1
  123. package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js.map +1 -1
  124. package/dist-esm/src/operations/configurations.d.ts +22 -4
  125. package/dist-esm/src/operations/configurations.d.ts.map +1 -1
  126. package/dist-esm/src/operations/configurations.js +132 -14
  127. package/dist-esm/src/operations/configurations.js.map +1 -1
  128. package/dist-esm/src/operations/databases.d.ts +3 -3
  129. package/dist-esm/src/operations/databases.d.ts.map +1 -1
  130. package/dist-esm/src/operations/databases.js +24 -10
  131. package/dist-esm/src/operations/databases.js.map +1 -1
  132. package/dist-esm/src/operations/firewallRules.d.ts +3 -3
  133. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
  134. package/dist-esm/src/operations/firewallRules.js +25 -11
  135. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  136. package/dist-esm/src/operations/index.d.ts +8 -4
  137. package/dist-esm/src/operations/index.d.ts.map +1 -1
  138. package/dist-esm/src/operations/index.js +8 -4
  139. package/dist-esm/src/operations/index.js.map +1 -1
  140. package/dist-esm/src/operations/logFiles.d.ts +38 -0
  141. package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
  142. package/dist-esm/src/operations/logFiles.js +155 -0
  143. package/dist-esm/src/operations/logFiles.js.map +1 -0
  144. package/dist-esm/src/operations/replicas.js +1 -1
  145. package/dist-esm/src/operations/replicas.js.map +1 -1
  146. package/dist-esm/src/operations/servers.d.ts +25 -9
  147. package/dist-esm/src/operations/servers.d.ts.map +1 -1
  148. package/dist-esm/src/operations/servers.js +155 -44
  149. package/dist-esm/src/operations/servers.js.map +1 -1
  150. package/dist-esm/src/operationsInterfaces/azureADAdministrators.d.ts +56 -0
  151. package/dist-esm/src/operationsInterfaces/azureADAdministrators.d.ts.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/azureADAdministrators.js +9 -0
  153. package/dist-esm/src/operationsInterfaces/azureADAdministrators.js.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/backupAndExport.d.ts +29 -0
  155. package/dist-esm/src/operationsInterfaces/backupAndExport.d.ts.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/backupAndExport.js +9 -0
  157. package/dist-esm/src/operationsInterfaces/backupAndExport.js.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/backups.d.ts +9 -1
  159. package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -1
  160. package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.d.ts +11 -0
  161. package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/configurations.d.ts +22 -4
  165. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -1
  166. package/dist-esm/src/operationsInterfaces/databases.d.ts +3 -3
  167. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -1
  168. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +3 -3
  169. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -1
  170. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -4
  171. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  172. package/dist-esm/src/operationsInterfaces/index.js +8 -4
  173. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  174. package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
  175. package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
  177. package/dist-esm/src/operationsInterfaces/logFiles.js.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/servers.d.ts +25 -9
  179. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -1
  180. package/package.json +6 -6
  181. package/review/arm-mysql-flexible.api.md +383 -18
  182. package/src/lroImpl.ts +31 -23
  183. package/src/models/index.ts +842 -382
  184. package/src/models/mappers.ts +1315 -622
  185. package/src/models/parameters.ts +112 -25
  186. package/src/mySQLManagementFlexibleServerClient.ts +35 -53
  187. package/src/operations/azureADAdministrators.ts +504 -0
  188. package/src/operations/backupAndExport.ts +210 -0
  189. package/src/operations/backups.ts +46 -2
  190. package/src/operations/checkNameAvailabilityWithoutLocation.ts +69 -0
  191. package/src/operations/checkVirtualNetworkSubnetUsage.ts +1 -1
  192. package/src/operations/configurations.ts +190 -26
  193. package/src/operations/databases.ts +34 -21
  194. package/src/operations/firewallRules.ts +35 -22
  195. package/src/operations/index.ts +8 -4
  196. package/src/operations/logFiles.ts +198 -0
  197. package/src/operations/replicas.ts +1 -1
  198. package/src/operations/servers.ts +211 -79
  199. package/src/operationsInterfaces/azureADAdministrators.ts +110 -0
  200. package/src/operationsInterfaces/backupAndExport.ts +62 -0
  201. package/src/operationsInterfaces/backups.ts +15 -0
  202. package/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.ts +26 -0
  203. package/src/operationsInterfaces/configurations.ts +42 -5
  204. package/src/operationsInterfaces/databases.ts +4 -4
  205. package/src/operationsInterfaces/firewallRules.ts +4 -4
  206. package/src/operationsInterfaces/index.ts +8 -4
  207. package/src/operationsInterfaces/logFiles.ts +26 -0
  208. package/src/operationsInterfaces/servers.ts +43 -9
  209. package/types/arm-mysql-flexible.d.ts +624 -29
@@ -8,79 +8,9 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
 
11
- /** Billing information related properties of a server. */
12
- export interface Sku {
13
- /** The name of the sku, e.g. Standard_D32s_v3. */
14
- name: string;
15
- /** The tier of the particular SKU, e.g. GeneralPurpose. */
16
- tier: SkuTier;
17
- }
18
-
19
- /** Storage Profile properties of a server */
20
- export interface Storage {
21
- /** Max storage size allowed for a server. */
22
- storageSizeGB?: number;
23
- /** Storage IOPS for a server. */
24
- iops?: number;
25
- /** Enable Storage Auto Grow or not. */
26
- autoGrow?: EnableStatusEnum;
27
- /**
28
- * The sku name of the server storage.
29
- * NOTE: This property will not be serialized. It can only be populated by the server.
30
- */
31
- readonly storageSku?: string;
32
- }
33
-
34
- /** Storage Profile properties of a server */
35
- export interface Backup {
36
- /** Backup retention days for the server. */
37
- backupRetentionDays?: number;
38
- /** Whether or not geo redundant backup is enabled. */
39
- geoRedundantBackup?: EnableStatusEnum;
40
- /**
41
- * Earliest restore point creation time (ISO8601 format)
42
- * NOTE: This property will not be serialized. It can only be populated by the server.
43
- */
44
- readonly earliestRestoreDate?: Date;
45
- }
46
-
47
- /** Network related properties of a server */
48
- export interface HighAvailability {
49
- /** High availability mode for a server. */
50
- mode?: HighAvailabilityMode;
51
- /**
52
- * The state of server high availability.
53
- * NOTE: This property will not be serialized. It can only be populated by the server.
54
- */
55
- readonly state?: HighAvailabilityState;
56
- /** Availability zone of the standby server. */
57
- standbyAvailabilityZone?: string;
58
- }
59
-
60
- /** Network related properties of a server */
61
- export interface Network {
62
- /**
63
- * Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
64
- * NOTE: This property will not be serialized. It can only be populated by the server.
65
- */
66
- readonly publicNetworkAccess?: EnableStatusEnum;
67
- /** Delegated subnet resource id used to setup vnet for a server. */
68
- delegatedSubnetResourceId?: string;
69
- /** Private DNS zone resource id. */
70
- privateDnsZoneResourceId?: string;
71
- }
72
-
73
- /** Maintenance window of a server. */
74
- export interface MaintenanceWindow {
75
- /** indicates whether custom window is enabled or disabled */
76
- customWindow?: string;
77
- /** start hour for maintenance window */
78
- startHour?: number;
79
- /** start minute for maintenance window */
80
- startMinute?: number;
81
- /** day of week for maintenance window */
82
- dayOfWeek?: number;
83
- }
11
+ export type BackupStoreDetailsUnion =
12
+ | BackupStoreDetails
13
+ | FullBackupStoreDetails;
84
14
 
85
15
  /** Metadata pertaining to creation and last modification of the resource. */
86
16
  export interface SystemData {
@@ -166,8 +96,201 @@ export interface ErrorAdditionalInfo {
166
96
  readonly info?: Record<string, unknown>;
167
97
  }
168
98
 
99
+ /** A List of azure ad administrators. */
100
+ export interface AdministratorListResult {
101
+ /** The list of azure ad administrator of a server */
102
+ value?: AzureADAdministrator[];
103
+ /** The link used to get the next page of operations. */
104
+ nextLink?: string;
105
+ }
106
+
107
+ /** A list of server backups. */
108
+ export interface ServerBackupListResult {
109
+ /** The list of backups of a server. */
110
+ value?: ServerBackup[];
111
+ /** The link used to get the next page of operations. */
112
+ nextLink?: string;
113
+ }
114
+
115
+ /** Details about the target where the backup content will be stored. */
116
+ export interface BackupStoreDetails {
117
+ /** Polymorphic discriminator, which specifies the different types this object can be */
118
+ objectType: "FullBackupStoreDetails";
119
+ }
120
+
121
+ /** BackupRequestBase is the base for all backup request. */
122
+ export interface BackupRequestBase {
123
+ /** Backup Settings */
124
+ backupSettings: BackupSettings;
125
+ }
126
+
127
+ /** Backup Settings */
128
+ export interface BackupSettings {
129
+ /** The name of the backup. */
130
+ backupName: string;
131
+ /** Backup Format for the current backup. (CollatedFormat is INTERNAL – DO NOT USE) */
132
+ backupFormat?: BackupFormat;
133
+ }
134
+
135
+ /** Represents ValidateBackup API Response */
136
+ export interface ValidateBackupResponse {
137
+ /** Estimated no of storage containers required for resource data to be backed up. */
138
+ numberOfContainers?: number;
139
+ }
140
+
141
+ /** A list of server configurations to update. */
142
+ export interface ConfigurationListForBatchUpdate {
143
+ /** The list of server configurations. */
144
+ value?: ConfigurationForBatchUpdate[];
145
+ /** Whether to reset all server parameters to default. */
146
+ resetAllToDefault?: ResetAllToDefault;
147
+ }
148
+
149
+ /** Represents a Configuration. */
150
+ export interface ConfigurationForBatchUpdate {
151
+ /** Name of the configuration. */
152
+ name?: string;
153
+ /** Value of the configuration. */
154
+ value?: string;
155
+ /** Source of the configuration. */
156
+ source?: string;
157
+ }
158
+
159
+ /** A list of server configurations. */
160
+ export interface ConfigurationListResult {
161
+ /** The list of server configurations. */
162
+ value?: Configuration[];
163
+ /** The link used to get the next page of operations. */
164
+ nextLink?: string;
165
+ }
166
+
167
+ /** A List of databases. */
168
+ export interface DatabaseListResult {
169
+ /** The list of databases housed in a server */
170
+ value?: Database[];
171
+ /** The link used to get the next page of operations. */
172
+ nextLink?: string;
173
+ }
174
+
175
+ /** A list of firewall rules. */
176
+ export interface FirewallRuleListResult {
177
+ /** The list of firewall rules in a server. */
178
+ value?: FirewallRule[];
179
+ /** The link used to get the next page of operations. */
180
+ nextLink?: string;
181
+ }
182
+
183
+ /** Properties to configure Identity for Bring your Own Keys */
184
+ export interface Identity {
185
+ /**
186
+ * ObjectId from the KeyVault
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
+ */
189
+ readonly principalId?: string;
190
+ /**
191
+ * TenantId from the KeyVault
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
+ */
194
+ readonly tenantId?: string;
195
+ /** Type of managed service identity. */
196
+ type?: ManagedServiceIdentityType;
197
+ /** Metadata of user assigned identity. */
198
+ userAssignedIdentities?: { [propertyName: string]: Record<string, unknown> };
199
+ }
200
+
201
+ /** Billing information related properties of a server. */
202
+ export interface Sku {
203
+ /** The name of the sku, e.g. Standard_D32s_v3. */
204
+ name: string;
205
+ /** The tier of the particular SKU, e.g. GeneralPurpose. */
206
+ tier: SkuTier;
207
+ }
208
+
209
+ /** The date encryption for cmk. */
210
+ export interface DataEncryption {
211
+ /** Primary user identity resource id */
212
+ primaryUserAssignedIdentityId?: string;
213
+ /** Primary key uri */
214
+ primaryKeyURI?: string;
215
+ /** Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup */
216
+ geoBackupUserAssignedIdentityId?: string;
217
+ /** Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup */
218
+ geoBackupKeyURI?: string;
219
+ /** The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. */
220
+ type?: DataEncryptionType;
221
+ }
222
+
223
+ /** Storage Profile properties of a server */
224
+ export interface Storage {
225
+ /** Max storage size allowed for a server. */
226
+ storageSizeGB?: number;
227
+ /** Storage IOPS for a server. */
228
+ iops?: number;
229
+ /** Enable Storage Auto Grow or not. */
230
+ autoGrow?: EnableStatusEnum;
231
+ /** Enable Log On Disk or not. */
232
+ logOnDisk?: EnableStatusEnum;
233
+ /**
234
+ * The sku name of the server storage.
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly storageSku?: string;
238
+ /** Enable IO Auto Scaling or not. */
239
+ autoIoScaling?: EnableStatusEnum;
240
+ }
241
+
242
+ /** Storage Profile properties of a server */
243
+ export interface Backup {
244
+ /** Backup retention days for the server. */
245
+ backupRetentionDays?: number;
246
+ /** Whether or not geo redundant backup is enabled. */
247
+ geoRedundantBackup?: EnableStatusEnum;
248
+ /**
249
+ * Earliest restore point creation time (ISO8601 format)
250
+ * NOTE: This property will not be serialized. It can only be populated by the server.
251
+ */
252
+ readonly earliestRestoreDate?: Date;
253
+ }
254
+
255
+ /** Network related properties of a server */
256
+ export interface HighAvailability {
257
+ /** High availability mode for a server. */
258
+ mode?: HighAvailabilityMode;
259
+ /**
260
+ * The state of server high availability.
261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
262
+ */
263
+ readonly state?: HighAvailabilityState;
264
+ /** Availability zone of the standby server. */
265
+ standbyAvailabilityZone?: string;
266
+ }
267
+
268
+ /** Network related properties of a server */
269
+ export interface Network {
270
+ /** Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. */
271
+ publicNetworkAccess?: EnableStatusEnum;
272
+ /** Delegated subnet resource id used to setup vnet for a server. */
273
+ delegatedSubnetResourceId?: string;
274
+ /** Private DNS zone resource id. */
275
+ privateDnsZoneResourceId?: string;
276
+ }
277
+
278
+ /** Maintenance window of a server. */
279
+ export interface MaintenanceWindow {
280
+ /** indicates whether custom window is enabled or disabled */
281
+ customWindow?: string;
282
+ /** start hour for maintenance window */
283
+ startHour?: number;
284
+ /** start minute for maintenance window */
285
+ startMinute?: number;
286
+ /** day of week for maintenance window */
287
+ dayOfWeek?: number;
288
+ }
289
+
169
290
  /** Parameters allowed to update for a server. */
170
291
  export interface ServerForUpdate {
292
+ /** The cmk identity for the server. */
293
+ identity?: Identity;
171
294
  /** The SKU (pricing tier) of the server. */
172
295
  sku?: Sku;
173
296
  /** Application-specific metadata in the form of key-value pairs. */
@@ -177,6 +300,8 @@ export interface ServerForUpdate {
177
300
  * This value contains a credential. Consider obscuring before showing to users
178
301
  */
179
302
  administratorLoginPassword?: string;
303
+ /** Server version. */
304
+ version?: ServerVersion;
180
305
  /** Storage related properties of a server. */
181
306
  storage?: Storage;
182
307
  /** Backup related properties of a server. */
@@ -187,6 +312,8 @@ export interface ServerForUpdate {
187
312
  maintenanceWindow?: MaintenanceWindow;
188
313
  /** The replication role of the server. */
189
314
  replicationRole?: ReplicationRole;
315
+ /** The Data Encryption for CMK. */
316
+ dataEncryption?: DataEncryption;
190
317
  }
191
318
 
192
319
  /** A list of servers. */
@@ -205,50 +332,16 @@ export interface ServerRestartParameter {
205
332
  maxFailoverSeconds?: number;
206
333
  }
207
334
 
208
- /** A list of server backups. */
209
- export interface ServerBackupListResult {
210
- /** The list of backups of a server. */
211
- value?: ServerBackup[];
212
- /** The link used to get the next page of operations. */
213
- nextLink?: string;
214
- }
215
-
216
- /** A list of firewall rules. */
217
- export interface FirewallRuleListResult {
218
- /** The list of firewall rules in a server. */
219
- value?: FirewallRule[];
220
- /** The link used to get the next page of operations. */
221
- nextLink?: string;
222
- }
223
-
224
- /** A List of databases. */
225
- export interface DatabaseListResult {
226
- /** The list of databases housed in a server */
227
- value?: Database[];
228
- /** The link used to get the next page of operations. */
229
- nextLink?: string;
230
- }
231
-
232
- /** A list of server configurations to update. */
233
- export interface ConfigurationListForBatchUpdate {
234
- /** The list of server configurations. */
235
- value?: ConfigurationForBatchUpdate[];
236
- }
237
-
238
- /** Represents a Configuration. */
239
- export interface ConfigurationForBatchUpdate {
240
- /** Name of the configuration. */
241
- name?: string;
242
- /** Value of the configuration. */
243
- value?: string;
244
- /** Source of the configuration. */
245
- source?: string;
335
+ /** Server gtid set parameters. */
336
+ export interface ServerGtidSetParameter {
337
+ /** The gtid set of server. */
338
+ gtidSet?: string;
246
339
  }
247
340
 
248
- /** A list of server configurations. */
249
- export interface ConfigurationListResult {
250
- /** The list of server configurations. */
251
- value?: Configuration[];
341
+ /** A List of logFiles. */
342
+ export interface LogFileListResult {
343
+ /** The list of logFiles in a server */
344
+ value?: LogFile[];
252
345
  /** The link used to get the next page of operations. */
253
346
  nextLink?: string;
254
347
  }
@@ -386,10 +479,20 @@ export interface VirtualNetworkSubnetUsageParameter {
386
479
  /** Virtual network subnet usage data. */
387
480
  export interface VirtualNetworkSubnetUsageResult {
388
481
  /**
389
- * A list of delegated subnet usage
482
+ * The location name.
390
483
  * NOTE: This property will not be serialized. It can only be populated by the server.
391
484
  */
392
- readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
485
+ readonly location?: string;
486
+ /**
487
+ * The subscription id.
488
+ * NOTE: This property will not be serialized. It can only be populated by the server.
489
+ */
490
+ readonly subscriptionId?: string;
491
+ /**
492
+ * A list of delegated subnet usage
493
+ * NOTE: This property will not be serialized. It can only be populated by the server.
494
+ */
495
+ readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
393
496
  }
394
497
 
395
498
  /** Delegated subnet usage data. */
@@ -462,6 +565,23 @@ export interface OperationDisplay {
462
565
  description?: string;
463
566
  }
464
567
 
568
+ /** Metadata of user assigned identity. */
569
+ export interface UserAssignedIdentity {
570
+ /**
571
+ * Principal Id of user assigned identity
572
+ * NOTE: This property will not be serialized. It can only be populated by the server.
573
+ */
574
+ readonly principalId?: string;
575
+ /**
576
+ * Client Id of user assigned identity
577
+ * NOTE: This property will not be serialized. It can only be populated by the server.
578
+ */
579
+ readonly clientId?: string;
580
+ }
581
+
582
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
583
+ export interface ProxyResource extends Resource {}
584
+
465
585
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
466
586
  export interface TrackedResource extends Resource {
467
587
  /** Resource tags. */
@@ -470,62 +590,37 @@ export interface TrackedResource extends Resource {
470
590
  location: string;
471
591
  }
472
592
 
473
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
474
- export interface ProxyResource extends Resource {}
593
+ /** FullBackupStoreDetails is used for scenarios where backup data is streamed/copied over to a storage destination. */
594
+ export interface FullBackupStoreDetails extends BackupStoreDetails {
595
+ /** Polymorphic discriminator, which specifies the different types this object can be */
596
+ objectType: "FullBackupStoreDetails";
597
+ /** SASUriList of storage containers where backup data is to be streamed/copied. */
598
+ sasUriList: string[];
599
+ }
475
600
 
476
- /** Represents a server. */
477
- export interface Server extends TrackedResource {
478
- /** The SKU (pricing tier) of the server. */
479
- sku?: Sku;
601
+ /** BackupAndExport API Request */
602
+ export interface BackupAndExportRequest extends BackupRequestBase {
603
+ /** Backup Target Store Details */
604
+ targetDetails: BackupStoreDetailsUnion;
605
+ }
606
+
607
+ /** Represents a Administrator. */
608
+ export interface AzureADAdministrator extends ProxyResource {
480
609
  /**
481
610
  * The system metadata relating to this resource.
482
611
  * NOTE: This property will not be serialized. It can only be populated by the server.
483
612
  */
484
613
  readonly systemData?: SystemData;
485
- /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
486
- administratorLogin?: string;
487
- /**
488
- * The password of the administrator login (required for server creation).
489
- * This value contains a credential. Consider obscuring before showing to users
490
- */
491
- administratorLoginPassword?: string;
492
- /** Server version. */
493
- version?: ServerVersion;
494
- /** availability Zone information of the server. */
495
- availabilityZone?: string;
496
- /** The mode to create a new MySQL server. */
497
- createMode?: CreateMode;
498
- /** The source MySQL server id. */
499
- sourceServerResourceId?: string;
500
- /** Restore point creation time (ISO8601 format), specifying the time to restore from. */
501
- restorePointInTime?: Date;
502
- /** The replication role. */
503
- replicationRole?: ReplicationRole;
504
- /**
505
- * The maximum number of replicas that a primary server can have.
506
- * NOTE: This property will not be serialized. It can only be populated by the server.
507
- */
508
- readonly replicaCapacity?: number;
509
- /**
510
- * The state of a server.
511
- * NOTE: This property will not be serialized. It can only be populated by the server.
512
- */
513
- readonly state?: ServerState;
514
- /**
515
- * The fully qualified domain name of a server.
516
- * NOTE: This property will not be serialized. It can only be populated by the server.
517
- */
518
- readonly fullyQualifiedDomainName?: string;
519
- /** Storage related properties of a server. */
520
- storage?: Storage;
521
- /** Backup related properties of a server. */
522
- backup?: Backup;
523
- /** High availability related properties of a server. */
524
- highAvailability?: HighAvailability;
525
- /** Network related properties of a server. */
526
- network?: Network;
527
- /** Maintenance window of a server. */
528
- maintenanceWindow?: MaintenanceWindow;
614
+ /** Type of the sever administrator. */
615
+ administratorType?: AdministratorType;
616
+ /** Login name of the server administrator. */
617
+ login?: string;
618
+ /** SID (object ID) of the server administrator. */
619
+ sid?: string;
620
+ /** Tenant ID of the administrator. */
621
+ tenantId?: string;
622
+ /** The resource id of the identity used for AAD Authentication. */
623
+ identityResourceId?: string;
529
624
  }
530
625
 
531
626
  /** Server backup properties */
@@ -543,30 +638,24 @@ export interface ServerBackup extends ProxyResource {
543
638
  source?: string;
544
639
  }
545
640
 
546
- /** Represents a server firewall rule. */
547
- export interface FirewallRule extends ProxyResource {
548
- /**
549
- * The system metadata relating to this resource.
550
- * NOTE: This property will not be serialized. It can only be populated by the server.
551
- */
552
- readonly systemData?: SystemData;
553
- /** The start IP address of the server firewall rule. Must be IPv4 format. */
554
- startIpAddress: string;
555
- /** The end IP address of the server firewall rule. Must be IPv4 format. */
556
- endIpAddress: string;
557
- }
558
-
559
- /** Represents a Database. */
560
- export interface Database extends ProxyResource {
561
- /**
562
- * The system metadata relating to this resource.
563
- * NOTE: This property will not be serialized. It can only be populated by the server.
564
- */
565
- readonly systemData?: SystemData;
566
- /** The charset of the database. */
567
- charset?: string;
568
- /** The collation of the database. */
569
- collation?: string;
641
+ /** Represents BackupAndExport API Response */
642
+ export interface BackupAndExportResponse extends ProxyResource {
643
+ /** The operation status */
644
+ status?: OperationStatus;
645
+ /** Start time */
646
+ startTime?: Date;
647
+ /** End time */
648
+ endTime?: Date;
649
+ /** Operation progress (0-100). */
650
+ percentComplete?: number;
651
+ /** The BackupAndExport operation error response. */
652
+ error?: ErrorResponse;
653
+ /** Size of datasource in bytes */
654
+ datasourceSizeInBytes?: number;
655
+ /** Data transferred in bytes */
656
+ dataTransferredInBytes?: number;
657
+ /** Metadata related to backup to be stored for restoring resource in key-value pairs. */
658
+ backupMetadata?: string;
570
659
  }
571
660
 
572
661
  /** Represents a Configuration. */
@@ -578,11 +667,18 @@ export interface Configuration extends ProxyResource {
578
667
  readonly systemData?: SystemData;
579
668
  /** Value of the configuration. */
580
669
  value?: string;
670
+ /** Current value of the configuration. */
671
+ currentValue?: string;
581
672
  /**
582
673
  * Description of the configuration.
583
674
  * NOTE: This property will not be serialized. It can only be populated by the server.
584
675
  */
585
676
  readonly description?: string;
677
+ /**
678
+ * The link used to get the document from community or Azure site.
679
+ * NOTE: This property will not be serialized. It can only be populated by the server.
680
+ */
681
+ readonly documentationLink?: string;
586
682
  /**
587
683
  * Default value of the configuration.
588
684
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -617,6 +713,340 @@ export interface Configuration extends ProxyResource {
617
713
  readonly isDynamicConfig?: IsDynamicConfig;
618
714
  }
619
715
 
716
+ /** Represents a Database. */
717
+ export interface Database extends ProxyResource {
718
+ /**
719
+ * The system metadata relating to this resource.
720
+ * NOTE: This property will not be serialized. It can only be populated by the server.
721
+ */
722
+ readonly systemData?: SystemData;
723
+ /** The charset of the database. */
724
+ charset?: string;
725
+ /** The collation of the database. */
726
+ collation?: string;
727
+ }
728
+
729
+ /** Represents a server firewall rule. */
730
+ export interface FirewallRule extends ProxyResource {
731
+ /**
732
+ * The system metadata relating to this resource.
733
+ * NOTE: This property will not be serialized. It can only be populated by the server.
734
+ */
735
+ readonly systemData?: SystemData;
736
+ /** The start IP address of the server firewall rule. Must be IPv4 format. */
737
+ startIpAddress: string;
738
+ /** The end IP address of the server firewall rule. Must be IPv4 format. */
739
+ endIpAddress: string;
740
+ }
741
+
742
+ /** Represents a logFile. */
743
+ export interface LogFile extends ProxyResource {
744
+ /**
745
+ * The system metadata relating to this resource.
746
+ * NOTE: This property will not be serialized. It can only be populated by the server.
747
+ */
748
+ readonly systemData?: SystemData;
749
+ /** The size in kb of the logFile. */
750
+ sizeInKB?: number;
751
+ /** Creation timestamp of the log file. */
752
+ createdTime?: Date;
753
+ /** Type of the log file. */
754
+ typePropertiesType?: string;
755
+ /** Last modified timestamp of the log file. */
756
+ lastModifiedTime?: Date;
757
+ /** The url to download the log file from. */
758
+ url?: string;
759
+ }
760
+
761
+ /** Represents a server. */
762
+ export interface Server extends TrackedResource {
763
+ /** The cmk identity for the server. */
764
+ identity?: Identity;
765
+ /** The SKU (pricing tier) of the server. */
766
+ sku?: Sku;
767
+ /**
768
+ * The system metadata relating to this resource.
769
+ * NOTE: This property will not be serialized. It can only be populated by the server.
770
+ */
771
+ readonly systemData?: SystemData;
772
+ /** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
773
+ administratorLogin?: string;
774
+ /**
775
+ * The password of the administrator login (required for server creation).
776
+ * This value contains a credential. Consider obscuring before showing to users
777
+ */
778
+ administratorLoginPassword?: string;
779
+ /** Server version. */
780
+ version?: ServerVersion;
781
+ /** availability Zone information of the server. */
782
+ availabilityZone?: string;
783
+ /** The mode to create a new MySQL server. */
784
+ createMode?: CreateMode;
785
+ /** The source MySQL server id. */
786
+ sourceServerResourceId?: string;
787
+ /** Restore point creation time (ISO8601 format), specifying the time to restore from. */
788
+ restorePointInTime?: Date;
789
+ /** The replication role. */
790
+ replicationRole?: ReplicationRole;
791
+ /**
792
+ * The maximum number of replicas that a primary server can have.
793
+ * NOTE: This property will not be serialized. It can only be populated by the server.
794
+ */
795
+ readonly replicaCapacity?: number;
796
+ /** The Data Encryption for CMK. */
797
+ dataEncryption?: DataEncryption;
798
+ /**
799
+ * The state of a server.
800
+ * NOTE: This property will not be serialized. It can only be populated by the server.
801
+ */
802
+ readonly state?: ServerState;
803
+ /**
804
+ * The fully qualified domain name of a server.
805
+ * NOTE: This property will not be serialized. It can only be populated by the server.
806
+ */
807
+ readonly fullyQualifiedDomainName?: string;
808
+ /** Storage related properties of a server. */
809
+ storage?: Storage;
810
+ /** Backup related properties of a server. */
811
+ backup?: Backup;
812
+ /** High availability related properties of a server. */
813
+ highAvailability?: HighAvailability;
814
+ /** Network related properties of a server. */
815
+ network?: Network;
816
+ /** Maintenance window of a server. */
817
+ maintenanceWindow?: MaintenanceWindow;
818
+ }
819
+
820
+ /** Defines headers for BackupAndExport_create operation. */
821
+ export interface BackupAndExportCreateHeaders {
822
+ /** URL to retrieve the final result after operation completes. */
823
+ location?: string;
824
+ /** URL to query for status of the operation. */
825
+ azureAsyncOperation?: string;
826
+ }
827
+
828
+ /** Defines headers for Configurations_createOrUpdate operation. */
829
+ export interface ConfigurationsCreateOrUpdateHeaders {
830
+ location?: string;
831
+ }
832
+
833
+ /** Defines headers for Servers_create operation. */
834
+ export interface ServersCreateHeaders {
835
+ location?: string;
836
+ }
837
+
838
+ /** Defines headers for Servers_update operation. */
839
+ export interface ServersUpdateHeaders {
840
+ location?: string;
841
+ }
842
+
843
+ /** Defines headers for Servers_delete operation. */
844
+ export interface ServersDeleteHeaders {
845
+ location?: string;
846
+ }
847
+
848
+ /** Defines headers for Servers_failover operation. */
849
+ export interface ServersFailoverHeaders {
850
+ location?: string;
851
+ }
852
+
853
+ /** Defines headers for Servers_restart operation. */
854
+ export interface ServersRestartHeaders {
855
+ location?: string;
856
+ }
857
+
858
+ /** Defines headers for Servers_start operation. */
859
+ export interface ServersStartHeaders {
860
+ location?: string;
861
+ }
862
+
863
+ /** Defines headers for Servers_stop operation. */
864
+ export interface ServersStopHeaders {
865
+ location?: string;
866
+ }
867
+
868
+ /** Defines headers for Servers_resetGtid operation. */
869
+ export interface ServersResetGtidHeaders {
870
+ location?: string;
871
+ }
872
+
873
+ /** Known values of {@link AdministratorName} that the service accepts. */
874
+ export enum KnownAdministratorName {
875
+ /** ActiveDirectory */
876
+ ActiveDirectory = "ActiveDirectory"
877
+ }
878
+
879
+ /**
880
+ * Defines values for AdministratorName. \
881
+ * {@link KnownAdministratorName} can be used interchangeably with AdministratorName,
882
+ * this enum contains the known values that the service supports.
883
+ * ### Known values supported by the service
884
+ * **ActiveDirectory**
885
+ */
886
+ export type AdministratorName = string;
887
+
888
+ /** Known values of {@link AdministratorType} that the service accepts. */
889
+ export enum KnownAdministratorType {
890
+ /** ActiveDirectory */
891
+ ActiveDirectory = "ActiveDirectory"
892
+ }
893
+
894
+ /**
895
+ * Defines values for AdministratorType. \
896
+ * {@link KnownAdministratorType} can be used interchangeably with AdministratorType,
897
+ * this enum contains the known values that the service supports.
898
+ * ### Known values supported by the service
899
+ * **ActiveDirectory**
900
+ */
901
+ export type AdministratorType = string;
902
+
903
+ /** Known values of {@link CreatedByType} that the service accepts. */
904
+ export enum KnownCreatedByType {
905
+ /** User */
906
+ User = "User",
907
+ /** Application */
908
+ Application = "Application",
909
+ /** ManagedIdentity */
910
+ ManagedIdentity = "ManagedIdentity",
911
+ /** Key */
912
+ Key = "Key"
913
+ }
914
+
915
+ /**
916
+ * Defines values for CreatedByType. \
917
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
918
+ * this enum contains the known values that the service supports.
919
+ * ### Known values supported by the service
920
+ * **User** \
921
+ * **Application** \
922
+ * **ManagedIdentity** \
923
+ * **Key**
924
+ */
925
+ export type CreatedByType = string;
926
+
927
+ /** Known values of {@link BackupFormat} that the service accepts. */
928
+ export enum KnownBackupFormat {
929
+ /** None */
930
+ None = "None",
931
+ /** CollatedFormat */
932
+ CollatedFormat = "CollatedFormat"
933
+ }
934
+
935
+ /**
936
+ * Defines values for BackupFormat. \
937
+ * {@link KnownBackupFormat} can be used interchangeably with BackupFormat,
938
+ * this enum contains the known values that the service supports.
939
+ * ### Known values supported by the service
940
+ * **None** \
941
+ * **CollatedFormat**
942
+ */
943
+ export type BackupFormat = string;
944
+
945
+ /** Known values of {@link ConfigurationSource} that the service accepts. */
946
+ export enum KnownConfigurationSource {
947
+ /** SystemDefault */
948
+ SystemDefault = "system-default",
949
+ /** UserOverride */
950
+ UserOverride = "user-override"
951
+ }
952
+
953
+ /**
954
+ * Defines values for ConfigurationSource. \
955
+ * {@link KnownConfigurationSource} can be used interchangeably with ConfigurationSource,
956
+ * this enum contains the known values that the service supports.
957
+ * ### Known values supported by the service
958
+ * **system-default** \
959
+ * **user-override**
960
+ */
961
+ export type ConfigurationSource = string;
962
+
963
+ /** Known values of {@link IsReadOnly} that the service accepts. */
964
+ export enum KnownIsReadOnly {
965
+ /** True */
966
+ True = "True",
967
+ /** False */
968
+ False = "False"
969
+ }
970
+
971
+ /**
972
+ * Defines values for IsReadOnly. \
973
+ * {@link KnownIsReadOnly} can be used interchangeably with IsReadOnly,
974
+ * this enum contains the known values that the service supports.
975
+ * ### Known values supported by the service
976
+ * **True** \
977
+ * **False**
978
+ */
979
+ export type IsReadOnly = string;
980
+
981
+ /** Known values of {@link IsConfigPendingRestart} that the service accepts. */
982
+ export enum KnownIsConfigPendingRestart {
983
+ /** True */
984
+ True = "True",
985
+ /** False */
986
+ False = "False"
987
+ }
988
+
989
+ /**
990
+ * Defines values for IsConfigPendingRestart. \
991
+ * {@link KnownIsConfigPendingRestart} can be used interchangeably with IsConfigPendingRestart,
992
+ * this enum contains the known values that the service supports.
993
+ * ### Known values supported by the service
994
+ * **True** \
995
+ * **False**
996
+ */
997
+ export type IsConfigPendingRestart = string;
998
+
999
+ /** Known values of {@link IsDynamicConfig} that the service accepts. */
1000
+ export enum KnownIsDynamicConfig {
1001
+ /** True */
1002
+ True = "True",
1003
+ /** False */
1004
+ False = "False"
1005
+ }
1006
+
1007
+ /**
1008
+ * Defines values for IsDynamicConfig. \
1009
+ * {@link KnownIsDynamicConfig} can be used interchangeably with IsDynamicConfig,
1010
+ * this enum contains the known values that the service supports.
1011
+ * ### Known values supported by the service
1012
+ * **True** \
1013
+ * **False**
1014
+ */
1015
+ export type IsDynamicConfig = string;
1016
+
1017
+ /** Known values of {@link ResetAllToDefault} that the service accepts. */
1018
+ export enum KnownResetAllToDefault {
1019
+ /** True */
1020
+ True = "True",
1021
+ /** False */
1022
+ False = "False"
1023
+ }
1024
+
1025
+ /**
1026
+ * Defines values for ResetAllToDefault. \
1027
+ * {@link KnownResetAllToDefault} can be used interchangeably with ResetAllToDefault,
1028
+ * this enum contains the known values that the service supports.
1029
+ * ### Known values supported by the service
1030
+ * **True** \
1031
+ * **False**
1032
+ */
1033
+ export type ResetAllToDefault = string;
1034
+
1035
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
1036
+ export enum KnownManagedServiceIdentityType {
1037
+ /** UserAssigned */
1038
+ UserAssigned = "UserAssigned"
1039
+ }
1040
+
1041
+ /**
1042
+ * Defines values for ManagedServiceIdentityType. \
1043
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
1044
+ * this enum contains the known values that the service supports.
1045
+ * ### Known values supported by the service
1046
+ * **UserAssigned**
1047
+ */
1048
+ export type ManagedServiceIdentityType = string;
1049
+
620
1050
  /** Known values of {@link SkuTier} that the service accepts. */
621
1051
  export enum KnownSkuTier {
622
1052
  /** Burstable */
@@ -774,130 +1204,44 @@ export enum KnownHighAvailabilityMode {
774
1204
  export type HighAvailabilityMode = string;
775
1205
 
776
1206
  /** Known values of {@link HighAvailabilityState} that the service accepts. */
777
- export enum KnownHighAvailabilityState {
778
- /** NotEnabled */
779
- NotEnabled = "NotEnabled",
780
- /** CreatingStandby */
781
- CreatingStandby = "CreatingStandby",
782
- /** Healthy */
783
- Healthy = "Healthy",
784
- /** FailingOver */
785
- FailingOver = "FailingOver",
786
- /** RemovingStandby */
787
- RemovingStandby = "RemovingStandby"
788
- }
789
-
790
- /**
791
- * Defines values for HighAvailabilityState. \
792
- * {@link KnownHighAvailabilityState} can be used interchangeably with HighAvailabilityState,
793
- * this enum contains the known values that the service supports.
794
- * ### Known values supported by the service
795
- * **NotEnabled** \
796
- * **CreatingStandby** \
797
- * **Healthy** \
798
- * **FailingOver** \
799
- * **RemovingStandby**
800
- */
801
- export type HighAvailabilityState = string;
802
-
803
- /** Known values of {@link CreatedByType} that the service accepts. */
804
- export enum KnownCreatedByType {
805
- /** User */
806
- User = "User",
807
- /** Application */
808
- Application = "Application",
809
- /** ManagedIdentity */
810
- ManagedIdentity = "ManagedIdentity",
811
- /** Key */
812
- Key = "Key"
813
- }
814
-
815
- /**
816
- * Defines values for CreatedByType. \
817
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
818
- * this enum contains the known values that the service supports.
819
- * ### Known values supported by the service
820
- * **User** \
821
- * **Application** \
822
- * **ManagedIdentity** \
823
- * **Key**
824
- */
825
- export type CreatedByType = string;
826
-
827
- /** Known values of {@link ConfigurationSource} that the service accepts. */
828
- export enum KnownConfigurationSource {
829
- /** SystemDefault */
830
- SystemDefault = "system-default",
831
- /** UserOverride */
832
- UserOverride = "user-override"
833
- }
834
-
835
- /**
836
- * Defines values for ConfigurationSource. \
837
- * {@link KnownConfigurationSource} can be used interchangeably with ConfigurationSource,
838
- * this enum contains the known values that the service supports.
839
- * ### Known values supported by the service
840
- * **system-default** \
841
- * **user-override**
842
- */
843
- export type ConfigurationSource = string;
844
-
845
- /** Known values of {@link IsReadOnly} that the service accepts. */
846
- export enum KnownIsReadOnly {
847
- /** True */
848
- True = "True",
849
- /** False */
850
- False = "False"
851
- }
852
-
853
- /**
854
- * Defines values for IsReadOnly. \
855
- * {@link KnownIsReadOnly} can be used interchangeably with IsReadOnly,
856
- * this enum contains the known values that the service supports.
857
- * ### Known values supported by the service
858
- * **True** \
859
- * **False**
860
- */
861
- export type IsReadOnly = string;
862
-
863
- /** Known values of {@link IsConfigPendingRestart} that the service accepts. */
864
- export enum KnownIsConfigPendingRestart {
865
- /** True */
866
- True = "True",
867
- /** False */
868
- False = "False"
869
- }
870
-
871
- /**
872
- * Defines values for IsConfigPendingRestart. \
873
- * {@link KnownIsConfigPendingRestart} can be used interchangeably with IsConfigPendingRestart,
874
- * this enum contains the known values that the service supports.
875
- * ### Known values supported by the service
876
- * **True** \
877
- * **False**
878
- */
879
- export type IsConfigPendingRestart = string;
880
-
881
- /** Known values of {@link IsDynamicConfig} that the service accepts. */
882
- export enum KnownIsDynamicConfig {
883
- /** True */
884
- True = "True",
885
- /** False */
886
- False = "False"
1207
+ export enum KnownHighAvailabilityState {
1208
+ /** NotEnabled */
1209
+ NotEnabled = "NotEnabled",
1210
+ /** CreatingStandby */
1211
+ CreatingStandby = "CreatingStandby",
1212
+ /** Healthy */
1213
+ Healthy = "Healthy",
1214
+ /** FailingOver */
1215
+ FailingOver = "FailingOver",
1216
+ /** RemovingStandby */
1217
+ RemovingStandby = "RemovingStandby"
887
1218
  }
888
1219
 
889
1220
  /**
890
- * Defines values for IsDynamicConfig. \
891
- * {@link KnownIsDynamicConfig} can be used interchangeably with IsDynamicConfig,
1221
+ * Defines values for HighAvailabilityState. \
1222
+ * {@link KnownHighAvailabilityState} can be used interchangeably with HighAvailabilityState,
892
1223
  * this enum contains the known values that the service supports.
893
1224
  * ### Known values supported by the service
894
- * **True** \
895
- * **False**
1225
+ * **NotEnabled** \
1226
+ * **CreatingStandby** \
1227
+ * **Healthy** \
1228
+ * **FailingOver** \
1229
+ * **RemovingStandby**
896
1230
  */
897
- export type IsDynamicConfig = string;
1231
+ export type HighAvailabilityState = string;
1232
+ /** Defines values for OperationStatus. */
1233
+ export type OperationStatus =
1234
+ | "Pending"
1235
+ | "InProgress"
1236
+ | "Succeeded"
1237
+ | "Failed"
1238
+ | "CancelInProgress"
1239
+ | "Canceled";
1240
+ /** Defines values for DataEncryptionType. */
1241
+ export type DataEncryptionType = "AzureKeyVault" | "SystemManaged";
898
1242
 
899
1243
  /** Optional parameters. */
900
- export interface ServersCreateOptionalParams
1244
+ export interface AzureADAdministratorsCreateOrUpdateOptionalParams
901
1245
  extends coreClient.OperationOptions {
902
1246
  /** Delay to wait until next poll, in milliseconds. */
903
1247
  updateIntervalInMs?: number;
@@ -905,11 +1249,11 @@ export interface ServersCreateOptionalParams
905
1249
  resumeFrom?: string;
906
1250
  }
907
1251
 
908
- /** Contains response data for the create operation. */
909
- export type ServersCreateResponse = Server;
1252
+ /** Contains response data for the createOrUpdate operation. */
1253
+ export type AzureADAdministratorsCreateOrUpdateResponse = AzureADAdministrator;
910
1254
 
911
1255
  /** Optional parameters. */
912
- export interface ServersUpdateOptionalParams
1256
+ export interface AzureADAdministratorsDeleteOptionalParams
913
1257
  extends coreClient.OperationOptions {
914
1258
  /** Delay to wait until next poll, in milliseconds. */
915
1259
  updateIntervalInMs?: number;
@@ -917,40 +1261,55 @@ export interface ServersUpdateOptionalParams
917
1261
  resumeFrom?: string;
918
1262
  }
919
1263
 
920
- /** Contains response data for the update operation. */
921
- export type ServersUpdateResponse = Server;
1264
+ /** Optional parameters. */
1265
+ export interface AzureADAdministratorsGetOptionalParams
1266
+ extends coreClient.OperationOptions {}
1267
+
1268
+ /** Contains response data for the get operation. */
1269
+ export type AzureADAdministratorsGetResponse = AzureADAdministrator;
922
1270
 
923
1271
  /** Optional parameters. */
924
- export interface ServersDeleteOptionalParams
925
- extends coreClient.OperationOptions {
926
- /** Delay to wait until next poll, in milliseconds. */
927
- updateIntervalInMs?: number;
928
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
929
- resumeFrom?: string;
930
- }
1272
+ export interface AzureADAdministratorsListByServerOptionalParams
1273
+ extends coreClient.OperationOptions {}
1274
+
1275
+ /** Contains response data for the listByServer operation. */
1276
+ export type AzureADAdministratorsListByServerResponse = AdministratorListResult;
931
1277
 
932
1278
  /** Optional parameters. */
933
- export interface ServersGetOptionalParams extends coreClient.OperationOptions {}
1279
+ export interface AzureADAdministratorsListByServerNextOptionalParams
1280
+ extends coreClient.OperationOptions {}
1281
+
1282
+ /** Contains response data for the listByServerNext operation. */
1283
+ export type AzureADAdministratorsListByServerNextResponse = AdministratorListResult;
1284
+
1285
+ /** Optional parameters. */
1286
+ export interface BackupsPutOptionalParams extends coreClient.OperationOptions {}
1287
+
1288
+ /** Contains response data for the put operation. */
1289
+ export type BackupsPutResponse = ServerBackup;
1290
+
1291
+ /** Optional parameters. */
1292
+ export interface BackupsGetOptionalParams extends coreClient.OperationOptions {}
934
1293
 
935
1294
  /** Contains response data for the get operation. */
936
- export type ServersGetResponse = Server;
1295
+ export type BackupsGetResponse = ServerBackup;
937
1296
 
938
1297
  /** Optional parameters. */
939
- export interface ServersListByResourceGroupOptionalParams
1298
+ export interface BackupsListByServerOptionalParams
940
1299
  extends coreClient.OperationOptions {}
941
1300
 
942
- /** Contains response data for the listByResourceGroup operation. */
943
- export type ServersListByResourceGroupResponse = ServerListResult;
1301
+ /** Contains response data for the listByServer operation. */
1302
+ export type BackupsListByServerResponse = ServerBackupListResult;
944
1303
 
945
1304
  /** Optional parameters. */
946
- export interface ServersListOptionalParams
1305
+ export interface BackupsListByServerNextOptionalParams
947
1306
  extends coreClient.OperationOptions {}
948
1307
 
949
- /** Contains response data for the list operation. */
950
- export type ServersListResponse = ServerListResult;
1308
+ /** Contains response data for the listByServerNext operation. */
1309
+ export type BackupsListByServerNextResponse = ServerBackupListResult;
951
1310
 
952
1311
  /** Optional parameters. */
953
- export interface ServersFailoverOptionalParams
1312
+ export interface BackupAndExportCreateOptionalParams
954
1313
  extends coreClient.OperationOptions {
955
1314
  /** Delay to wait until next poll, in milliseconds. */
956
1315
  updateIntervalInMs?: number;
@@ -958,8 +1317,18 @@ export interface ServersFailoverOptionalParams
958
1317
  resumeFrom?: string;
959
1318
  }
960
1319
 
1320
+ /** Contains response data for the create operation. */
1321
+ export type BackupAndExportCreateResponse = BackupAndExportResponse;
1322
+
961
1323
  /** Optional parameters. */
962
- export interface ServersRestartOptionalParams
1324
+ export interface BackupAndExportValidateBackupOptionalParams
1325
+ extends coreClient.OperationOptions {}
1326
+
1327
+ /** Contains response data for the validateBackup operation. */
1328
+ export type BackupAndExportValidateBackupResponse = ValidateBackupResponse;
1329
+
1330
+ /** Optional parameters. */
1331
+ export interface ConfigurationsCreateOrUpdateOptionalParams
963
1332
  extends coreClient.OperationOptions {
964
1333
  /** Delay to wait until next poll, in milliseconds. */
965
1334
  updateIntervalInMs?: number;
@@ -967,8 +1336,11 @@ export interface ServersRestartOptionalParams
967
1336
  resumeFrom?: string;
968
1337
  }
969
1338
 
1339
+ /** Contains response data for the createOrUpdate operation. */
1340
+ export type ConfigurationsCreateOrUpdateResponse = Configuration;
1341
+
970
1342
  /** Optional parameters. */
971
- export interface ServersStartOptionalParams
1343
+ export interface ConfigurationsUpdateOptionalParams
972
1344
  extends coreClient.OperationOptions {
973
1345
  /** Delay to wait until next poll, in milliseconds. */
974
1346
  updateIntervalInMs?: number;
@@ -976,61 +1348,92 @@ export interface ServersStartOptionalParams
976
1348
  resumeFrom?: string;
977
1349
  }
978
1350
 
1351
+ /** Contains response data for the update operation. */
1352
+ export type ConfigurationsUpdateResponse = Configuration;
1353
+
979
1354
  /** Optional parameters. */
980
- export interface ServersStopOptionalParams extends coreClient.OperationOptions {
1355
+ export interface ConfigurationsGetOptionalParams
1356
+ extends coreClient.OperationOptions {}
1357
+
1358
+ /** Contains response data for the get operation. */
1359
+ export type ConfigurationsGetResponse = Configuration;
1360
+
1361
+ /** Optional parameters. */
1362
+ export interface ConfigurationsBatchUpdateOptionalParams
1363
+ extends coreClient.OperationOptions {
981
1364
  /** Delay to wait until next poll, in milliseconds. */
982
1365
  updateIntervalInMs?: number;
983
1366
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
984
1367
  resumeFrom?: string;
985
1368
  }
986
1369
 
1370
+ /** Contains response data for the batchUpdate operation. */
1371
+ export type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
1372
+
987
1373
  /** Optional parameters. */
988
- export interface ServersListByResourceGroupNextOptionalParams
989
- extends coreClient.OperationOptions {}
1374
+ export interface ConfigurationsListByServerOptionalParams
1375
+ extends coreClient.OperationOptions {
1376
+ /** The tags of the server configuration. */
1377
+ tags?: string;
1378
+ /** The keyword of the server configuration. */
1379
+ keyword?: string;
1380
+ /** The page of the server configuration. */
1381
+ page?: number;
1382
+ /** The pageSize of the server configuration. */
1383
+ pageSize?: number;
1384
+ }
990
1385
 
991
- /** Contains response data for the listByResourceGroupNext operation. */
992
- export type ServersListByResourceGroupNextResponse = ServerListResult;
1386
+ /** Contains response data for the listByServer operation. */
1387
+ export type ConfigurationsListByServerResponse = ConfigurationListResult;
993
1388
 
994
1389
  /** Optional parameters. */
995
- export interface ServersListNextOptionalParams
1390
+ export interface ConfigurationsListByServerNextOptionalParams
996
1391
  extends coreClient.OperationOptions {}
997
1392
 
998
- /** Contains response data for the listNext operation. */
999
- export type ServersListNextResponse = ServerListResult;
1393
+ /** Contains response data for the listByServerNext operation. */
1394
+ export type ConfigurationsListByServerNextResponse = ConfigurationListResult;
1000
1395
 
1001
1396
  /** Optional parameters. */
1002
- export interface ReplicasListByServerOptionalParams
1003
- extends coreClient.OperationOptions {}
1397
+ export interface DatabasesCreateOrUpdateOptionalParams
1398
+ extends coreClient.OperationOptions {
1399
+ /** Delay to wait until next poll, in milliseconds. */
1400
+ updateIntervalInMs?: number;
1401
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1402
+ resumeFrom?: string;
1403
+ }
1004
1404
 
1005
- /** Contains response data for the listByServer operation. */
1006
- export type ReplicasListByServerResponse = ServerListResult;
1405
+ /** Contains response data for the createOrUpdate operation. */
1406
+ export type DatabasesCreateOrUpdateResponse = Database;
1007
1407
 
1008
1408
  /** Optional parameters. */
1009
- export interface ReplicasListByServerNextOptionalParams
1010
- extends coreClient.OperationOptions {}
1011
-
1012
- /** Contains response data for the listByServerNext operation. */
1013
- export type ReplicasListByServerNextResponse = ServerListResult;
1409
+ export interface DatabasesDeleteOptionalParams
1410
+ extends coreClient.OperationOptions {
1411
+ /** Delay to wait until next poll, in milliseconds. */
1412
+ updateIntervalInMs?: number;
1413
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1414
+ resumeFrom?: string;
1415
+ }
1014
1416
 
1015
1417
  /** Optional parameters. */
1016
- export interface BackupsGetOptionalParams extends coreClient.OperationOptions {}
1418
+ export interface DatabasesGetOptionalParams
1419
+ extends coreClient.OperationOptions {}
1017
1420
 
1018
1421
  /** Contains response data for the get operation. */
1019
- export type BackupsGetResponse = ServerBackup;
1422
+ export type DatabasesGetResponse = Database;
1020
1423
 
1021
1424
  /** Optional parameters. */
1022
- export interface BackupsListByServerOptionalParams
1425
+ export interface DatabasesListByServerOptionalParams
1023
1426
  extends coreClient.OperationOptions {}
1024
1427
 
1025
1428
  /** Contains response data for the listByServer operation. */
1026
- export type BackupsListByServerResponse = ServerBackupListResult;
1429
+ export type DatabasesListByServerResponse = DatabaseListResult;
1027
1430
 
1028
1431
  /** Optional parameters. */
1029
- export interface BackupsListByServerNextOptionalParams
1432
+ export interface DatabasesListByServerNextOptionalParams
1030
1433
  extends coreClient.OperationOptions {}
1031
1434
 
1032
1435
  /** Contains response data for the listByServerNext operation. */
1033
- export type BackupsListByServerNextResponse = ServerBackupListResult;
1436
+ export type DatabasesListByServerNextResponse = DatabaseListResult;
1034
1437
 
1035
1438
  /** Optional parameters. */
1036
1439
  export interface FirewallRulesCreateOrUpdateOptionalParams
@@ -1075,7 +1478,7 @@ export interface FirewallRulesListByServerNextOptionalParams
1075
1478
  export type FirewallRulesListByServerNextResponse = FirewallRuleListResult;
1076
1479
 
1077
1480
  /** Optional parameters. */
1078
- export interface DatabasesCreateOrUpdateOptionalParams
1481
+ export interface ServersCreateOptionalParams
1079
1482
  extends coreClient.OperationOptions {
1080
1483
  /** Delay to wait until next poll, in milliseconds. */
1081
1484
  updateIntervalInMs?: number;
@@ -1083,11 +1486,23 @@ export interface DatabasesCreateOrUpdateOptionalParams
1083
1486
  resumeFrom?: string;
1084
1487
  }
1085
1488
 
1086
- /** Contains response data for the createOrUpdate operation. */
1087
- export type DatabasesCreateOrUpdateResponse = Database;
1489
+ /** Contains response data for the create operation. */
1490
+ export type ServersCreateResponse = Server;
1088
1491
 
1089
1492
  /** Optional parameters. */
1090
- export interface DatabasesDeleteOptionalParams
1493
+ export interface ServersUpdateOptionalParams
1494
+ extends coreClient.OperationOptions {
1495
+ /** Delay to wait until next poll, in milliseconds. */
1496
+ updateIntervalInMs?: number;
1497
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1498
+ resumeFrom?: string;
1499
+ }
1500
+
1501
+ /** Contains response data for the update operation. */
1502
+ export type ServersUpdateResponse = Server;
1503
+
1504
+ /** Optional parameters. */
1505
+ export interface ServersDeleteOptionalParams
1091
1506
  extends coreClient.OperationOptions {
1092
1507
  /** Delay to wait until next poll, in milliseconds. */
1093
1508
  updateIntervalInMs?: number;
@@ -1096,28 +1511,27 @@ export interface DatabasesDeleteOptionalParams
1096
1511
  }
1097
1512
 
1098
1513
  /** Optional parameters. */
1099
- export interface DatabasesGetOptionalParams
1100
- extends coreClient.OperationOptions {}
1514
+ export interface ServersGetOptionalParams extends coreClient.OperationOptions {}
1101
1515
 
1102
1516
  /** Contains response data for the get operation. */
1103
- export type DatabasesGetResponse = Database;
1517
+ export type ServersGetResponse = Server;
1104
1518
 
1105
1519
  /** Optional parameters. */
1106
- export interface DatabasesListByServerOptionalParams
1520
+ export interface ServersListByResourceGroupOptionalParams
1107
1521
  extends coreClient.OperationOptions {}
1108
1522
 
1109
- /** Contains response data for the listByServer operation. */
1110
- export type DatabasesListByServerResponse = DatabaseListResult;
1523
+ /** Contains response data for the listByResourceGroup operation. */
1524
+ export type ServersListByResourceGroupResponse = ServerListResult;
1111
1525
 
1112
1526
  /** Optional parameters. */
1113
- export interface DatabasesListByServerNextOptionalParams
1527
+ export interface ServersListOptionalParams
1114
1528
  extends coreClient.OperationOptions {}
1115
1529
 
1116
- /** Contains response data for the listByServerNext operation. */
1117
- export type DatabasesListByServerNextResponse = DatabaseListResult;
1530
+ /** Contains response data for the list operation. */
1531
+ export type ServersListResponse = ServerListResult;
1118
1532
 
1119
1533
  /** Optional parameters. */
1120
- export interface ConfigurationsUpdateOptionalParams
1534
+ export interface ServersFailoverOptionalParams
1121
1535
  extends coreClient.OperationOptions {
1122
1536
  /** Delay to wait until next poll, in milliseconds. */
1123
1537
  updateIntervalInMs?: number;
@@ -1125,18 +1539,34 @@ export interface ConfigurationsUpdateOptionalParams
1125
1539
  resumeFrom?: string;
1126
1540
  }
1127
1541
 
1128
- /** Contains response data for the update operation. */
1129
- export type ConfigurationsUpdateResponse = Configuration;
1542
+ /** Optional parameters. */
1543
+ export interface ServersRestartOptionalParams
1544
+ extends coreClient.OperationOptions {
1545
+ /** Delay to wait until next poll, in milliseconds. */
1546
+ updateIntervalInMs?: number;
1547
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1548
+ resumeFrom?: string;
1549
+ }
1130
1550
 
1131
1551
  /** Optional parameters. */
1132
- export interface ConfigurationsGetOptionalParams
1133
- extends coreClient.OperationOptions {}
1552
+ export interface ServersStartOptionalParams
1553
+ extends coreClient.OperationOptions {
1554
+ /** Delay to wait until next poll, in milliseconds. */
1555
+ updateIntervalInMs?: number;
1556
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1557
+ resumeFrom?: string;
1558
+ }
1134
1559
 
1135
- /** Contains response data for the get operation. */
1136
- export type ConfigurationsGetResponse = Configuration;
1560
+ /** Optional parameters. */
1561
+ export interface ServersStopOptionalParams extends coreClient.OperationOptions {
1562
+ /** Delay to wait until next poll, in milliseconds. */
1563
+ updateIntervalInMs?: number;
1564
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1565
+ resumeFrom?: string;
1566
+ }
1137
1567
 
1138
1568
  /** Optional parameters. */
1139
- export interface ConfigurationsBatchUpdateOptionalParams
1569
+ export interface ServersResetGtidOptionalParams
1140
1570
  extends coreClient.OperationOptions {
1141
1571
  /** Delay to wait until next poll, in milliseconds. */
1142
1572
  updateIntervalInMs?: number;
@@ -1144,22 +1574,47 @@ export interface ConfigurationsBatchUpdateOptionalParams
1144
1574
  resumeFrom?: string;
1145
1575
  }
1146
1576
 
1147
- /** Contains response data for the batchUpdate operation. */
1148
- export type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
1577
+ /** Optional parameters. */
1578
+ export interface ServersListByResourceGroupNextOptionalParams
1579
+ extends coreClient.OperationOptions {}
1580
+
1581
+ /** Contains response data for the listByResourceGroupNext operation. */
1582
+ export type ServersListByResourceGroupNextResponse = ServerListResult;
1149
1583
 
1150
1584
  /** Optional parameters. */
1151
- export interface ConfigurationsListByServerOptionalParams
1585
+ export interface ServersListNextOptionalParams
1586
+ extends coreClient.OperationOptions {}
1587
+
1588
+ /** Contains response data for the listNext operation. */
1589
+ export type ServersListNextResponse = ServerListResult;
1590
+
1591
+ /** Optional parameters. */
1592
+ export interface ReplicasListByServerOptionalParams
1152
1593
  extends coreClient.OperationOptions {}
1153
1594
 
1154
1595
  /** Contains response data for the listByServer operation. */
1155
- export type ConfigurationsListByServerResponse = ConfigurationListResult;
1596
+ export type ReplicasListByServerResponse = ServerListResult;
1156
1597
 
1157
1598
  /** Optional parameters. */
1158
- export interface ConfigurationsListByServerNextOptionalParams
1599
+ export interface ReplicasListByServerNextOptionalParams
1159
1600
  extends coreClient.OperationOptions {}
1160
1601
 
1161
1602
  /** Contains response data for the listByServerNext operation. */
1162
- export type ConfigurationsListByServerNextResponse = ConfigurationListResult;
1603
+ export type ReplicasListByServerNextResponse = ServerListResult;
1604
+
1605
+ /** Optional parameters. */
1606
+ export interface LogFilesListByServerOptionalParams
1607
+ extends coreClient.OperationOptions {}
1608
+
1609
+ /** Contains response data for the listByServer operation. */
1610
+ export type LogFilesListByServerResponse = LogFileListResult;
1611
+
1612
+ /** Optional parameters. */
1613
+ export interface LogFilesListByServerNextOptionalParams
1614
+ extends coreClient.OperationOptions {}
1615
+
1616
+ /** Contains response data for the listByServerNext operation. */
1617
+ export type LogFilesListByServerNextResponse = LogFileListResult;
1163
1618
 
1164
1619
  /** Optional parameters. */
1165
1620
  export interface LocationBasedCapabilitiesListOptionalParams
@@ -1189,6 +1644,13 @@ export interface CheckNameAvailabilityExecuteOptionalParams
1189
1644
  /** Contains response data for the execute operation. */
1190
1645
  export type CheckNameAvailabilityExecuteResponse = NameAvailability;
1191
1646
 
1647
+ /** Optional parameters. */
1648
+ export interface CheckNameAvailabilityWithoutLocationExecuteOptionalParams
1649
+ extends coreClient.OperationOptions {}
1650
+
1651
+ /** Contains response data for the execute operation. */
1652
+ export type CheckNameAvailabilityWithoutLocationExecuteResponse = NameAvailability;
1653
+
1192
1654
  /** Optional parameters. */
1193
1655
  export interface GetPrivateDnsZoneSuffixExecuteOptionalParams
1194
1656
  extends coreClient.OperationOptions {}
@@ -1215,8 +1677,6 @@ export interface MySQLManagementFlexibleServerClientOptionalParams
1215
1677
  extends coreClient.ServiceClientOptions {
1216
1678
  /** server parameter */
1217
1679
  $host?: string;
1218
- /** Api Version */
1219
- apiVersion?: string;
1220
1680
  /** Overrides client endpoint. */
1221
1681
  endpoint?: string;
1222
1682
  }