@azure/arm-postgresql 6.1.1-alpha.20250718.1 → 6.1.1-alpha.20250730.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 (179) hide show
  1. package/dist/browser/lroImpl.js +11 -3
  2. package/dist/browser/lroImpl.js.map +1 -1
  3. package/dist/browser/models/mappers.js +190 -86
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/checkNameAvailability.js +1 -0
  6. package/dist/browser/operations/checkNameAvailability.js.map +1 -1
  7. package/dist/browser/operations/configurations.js +21 -33
  8. package/dist/browser/operations/configurations.js.map +1 -1
  9. package/dist/browser/operations/databases.js +32 -39
  10. package/dist/browser/operations/databases.js.map +1 -1
  11. package/dist/browser/operations/firewallRules.js +32 -39
  12. package/dist/browser/operations/firewallRules.js.map +1 -1
  13. package/dist/browser/operations/locationBasedPerformanceTier.js +10 -27
  14. package/dist/browser/operations/locationBasedPerformanceTier.js.map +1 -1
  15. package/dist/browser/operations/logFiles.js +10 -27
  16. package/dist/browser/operations/logFiles.js.map +1 -1
  17. package/dist/browser/operations/operations.js +1 -0
  18. package/dist/browser/operations/operations.js.map +1 -1
  19. package/dist/browser/operations/privateEndpointConnections.js +56 -58
  20. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  21. package/dist/browser/operations/privateLinkResources.js +23 -40
  22. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  23. package/dist/browser/operations/recoverableServers.js +1 -0
  24. package/dist/browser/operations/recoverableServers.js.map +1 -1
  25. package/dist/browser/operations/replicas.js +10 -27
  26. package/dist/browser/operations/replicas.js.map +1 -1
  27. package/dist/browser/operations/serverAdministrators.js +32 -39
  28. package/dist/browser/operations/serverAdministrators.js.map +1 -1
  29. package/dist/browser/operations/serverBasedPerformanceTier.js +10 -27
  30. package/dist/browser/operations/serverBasedPerformanceTier.js.map +1 -1
  31. package/dist/browser/operations/serverKeys.js +45 -52
  32. package/dist/browser/operations/serverKeys.js.map +1 -1
  33. package/dist/browser/operations/serverParameters.js +12 -6
  34. package/dist/browser/operations/serverParameters.js.map +1 -1
  35. package/dist/browser/operations/serverSecurityAlertPolicies.js +34 -46
  36. package/dist/browser/operations/serverSecurityAlertPolicies.js.map +1 -1
  37. package/dist/browser/operations/servers.js +63 -77
  38. package/dist/browser/operations/servers.js.map +1 -1
  39. package/dist/browser/operations/virtualNetworkRules.js +45 -52
  40. package/dist/browser/operations/virtualNetworkRules.js.map +1 -1
  41. package/dist/browser/pagingHelper.js +2 -4
  42. package/dist/browser/pagingHelper.js.map +1 -1
  43. package/dist/browser/postgreSQLManagementClient.js +30 -5
  44. package/dist/browser/postgreSQLManagementClient.js.map +1 -1
  45. package/dist/commonjs/lroImpl.js +11 -3
  46. package/dist/commonjs/lroImpl.js.map +1 -1
  47. package/dist/commonjs/models/mappers.js +190 -86
  48. package/dist/commonjs/models/mappers.js.map +1 -1
  49. package/dist/commonjs/operations/checkNameAvailability.js +1 -0
  50. package/dist/commonjs/operations/checkNameAvailability.js.map +1 -1
  51. package/dist/commonjs/operations/configurations.js +21 -32
  52. package/dist/commonjs/operations/configurations.js.map +1 -1
  53. package/dist/commonjs/operations/databases.js +32 -38
  54. package/dist/commonjs/operations/databases.js.map +1 -1
  55. package/dist/commonjs/operations/firewallRules.js +32 -38
  56. package/dist/commonjs/operations/firewallRules.js.map +1 -1
  57. package/dist/commonjs/operations/locationBasedPerformanceTier.js +10 -26
  58. package/dist/commonjs/operations/locationBasedPerformanceTier.js.map +1 -1
  59. package/dist/commonjs/operations/logFiles.js +10 -26
  60. package/dist/commonjs/operations/logFiles.js.map +1 -1
  61. package/dist/commonjs/operations/operations.js +1 -0
  62. package/dist/commonjs/operations/operations.js.map +1 -1
  63. package/dist/commonjs/operations/privateEndpointConnections.js +56 -57
  64. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  65. package/dist/commonjs/operations/privateLinkResources.js +23 -39
  66. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  67. package/dist/commonjs/operations/recoverableServers.js +1 -0
  68. package/dist/commonjs/operations/recoverableServers.js.map +1 -1
  69. package/dist/commonjs/operations/replicas.js +10 -26
  70. package/dist/commonjs/operations/replicas.js.map +1 -1
  71. package/dist/commonjs/operations/serverAdministrators.js +32 -38
  72. package/dist/commonjs/operations/serverAdministrators.js.map +1 -1
  73. package/dist/commonjs/operations/serverBasedPerformanceTier.js +10 -26
  74. package/dist/commonjs/operations/serverBasedPerformanceTier.js.map +1 -1
  75. package/dist/commonjs/operations/serverKeys.js +45 -51
  76. package/dist/commonjs/operations/serverKeys.js.map +1 -1
  77. package/dist/commonjs/operations/serverParameters.js +12 -6
  78. package/dist/commonjs/operations/serverParameters.js.map +1 -1
  79. package/dist/commonjs/operations/serverSecurityAlertPolicies.js +34 -45
  80. package/dist/commonjs/operations/serverSecurityAlertPolicies.js.map +1 -1
  81. package/dist/commonjs/operations/servers.js +63 -76
  82. package/dist/commonjs/operations/servers.js.map +1 -1
  83. package/dist/commonjs/operations/virtualNetworkRules.js +45 -51
  84. package/dist/commonjs/operations/virtualNetworkRules.js.map +1 -1
  85. package/dist/commonjs/pagingHelper.js +2 -4
  86. package/dist/commonjs/pagingHelper.js.map +1 -1
  87. package/dist/commonjs/postgreSQLManagementClient.js +30 -5
  88. package/dist/commonjs/postgreSQLManagementClient.js.map +1 -1
  89. package/dist/commonjs/tsdoc-metadata.json +11 -11
  90. package/dist/esm/lroImpl.js +11 -3
  91. package/dist/esm/lroImpl.js.map +1 -1
  92. package/dist/esm/models/mappers.js +190 -86
  93. package/dist/esm/models/mappers.js.map +1 -1
  94. package/dist/esm/operations/checkNameAvailability.js +1 -0
  95. package/dist/esm/operations/checkNameAvailability.js.map +1 -1
  96. package/dist/esm/operations/configurations.js +21 -33
  97. package/dist/esm/operations/configurations.js.map +1 -1
  98. package/dist/esm/operations/databases.js +32 -39
  99. package/dist/esm/operations/databases.js.map +1 -1
  100. package/dist/esm/operations/firewallRules.js +32 -39
  101. package/dist/esm/operations/firewallRules.js.map +1 -1
  102. package/dist/esm/operations/locationBasedPerformanceTier.js +10 -27
  103. package/dist/esm/operations/locationBasedPerformanceTier.js.map +1 -1
  104. package/dist/esm/operations/logFiles.js +10 -27
  105. package/dist/esm/operations/logFiles.js.map +1 -1
  106. package/dist/esm/operations/operations.js +1 -0
  107. package/dist/esm/operations/operations.js.map +1 -1
  108. package/dist/esm/operations/privateEndpointConnections.js +56 -58
  109. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  110. package/dist/esm/operations/privateLinkResources.js +23 -40
  111. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  112. package/dist/esm/operations/recoverableServers.js +1 -0
  113. package/dist/esm/operations/recoverableServers.js.map +1 -1
  114. package/dist/esm/operations/replicas.js +10 -27
  115. package/dist/esm/operations/replicas.js.map +1 -1
  116. package/dist/esm/operations/serverAdministrators.js +32 -39
  117. package/dist/esm/operations/serverAdministrators.js.map +1 -1
  118. package/dist/esm/operations/serverBasedPerformanceTier.js +10 -27
  119. package/dist/esm/operations/serverBasedPerformanceTier.js.map +1 -1
  120. package/dist/esm/operations/serverKeys.js +45 -52
  121. package/dist/esm/operations/serverKeys.js.map +1 -1
  122. package/dist/esm/operations/serverParameters.js +12 -6
  123. package/dist/esm/operations/serverParameters.js.map +1 -1
  124. package/dist/esm/operations/serverSecurityAlertPolicies.js +34 -46
  125. package/dist/esm/operations/serverSecurityAlertPolicies.js.map +1 -1
  126. package/dist/esm/operations/servers.js +63 -77
  127. package/dist/esm/operations/servers.js.map +1 -1
  128. package/dist/esm/operations/virtualNetworkRules.js +45 -52
  129. package/dist/esm/operations/virtualNetworkRules.js.map +1 -1
  130. package/dist/esm/pagingHelper.js +2 -4
  131. package/dist/esm/pagingHelper.js.map +1 -1
  132. package/dist/esm/postgreSQLManagementClient.js +30 -5
  133. package/dist/esm/postgreSQLManagementClient.js.map +1 -1
  134. package/dist/react-native/lroImpl.js +11 -3
  135. package/dist/react-native/lroImpl.js.map +1 -1
  136. package/dist/react-native/models/mappers.js +190 -86
  137. package/dist/react-native/models/mappers.js.map +1 -1
  138. package/dist/react-native/operations/checkNameAvailability.js +1 -0
  139. package/dist/react-native/operations/checkNameAvailability.js.map +1 -1
  140. package/dist/react-native/operations/configurations.js +21 -33
  141. package/dist/react-native/operations/configurations.js.map +1 -1
  142. package/dist/react-native/operations/databases.js +32 -39
  143. package/dist/react-native/operations/databases.js.map +1 -1
  144. package/dist/react-native/operations/firewallRules.js +32 -39
  145. package/dist/react-native/operations/firewallRules.js.map +1 -1
  146. package/dist/react-native/operations/locationBasedPerformanceTier.js +10 -27
  147. package/dist/react-native/operations/locationBasedPerformanceTier.js.map +1 -1
  148. package/dist/react-native/operations/logFiles.js +10 -27
  149. package/dist/react-native/operations/logFiles.js.map +1 -1
  150. package/dist/react-native/operations/operations.js +1 -0
  151. package/dist/react-native/operations/operations.js.map +1 -1
  152. package/dist/react-native/operations/privateEndpointConnections.js +56 -58
  153. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  154. package/dist/react-native/operations/privateLinkResources.js +23 -40
  155. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  156. package/dist/react-native/operations/recoverableServers.js +1 -0
  157. package/dist/react-native/operations/recoverableServers.js.map +1 -1
  158. package/dist/react-native/operations/replicas.js +10 -27
  159. package/dist/react-native/operations/replicas.js.map +1 -1
  160. package/dist/react-native/operations/serverAdministrators.js +32 -39
  161. package/dist/react-native/operations/serverAdministrators.js.map +1 -1
  162. package/dist/react-native/operations/serverBasedPerformanceTier.js +10 -27
  163. package/dist/react-native/operations/serverBasedPerformanceTier.js.map +1 -1
  164. package/dist/react-native/operations/serverKeys.js +45 -52
  165. package/dist/react-native/operations/serverKeys.js.map +1 -1
  166. package/dist/react-native/operations/serverParameters.js +12 -6
  167. package/dist/react-native/operations/serverParameters.js.map +1 -1
  168. package/dist/react-native/operations/serverSecurityAlertPolicies.js +34 -46
  169. package/dist/react-native/operations/serverSecurityAlertPolicies.js.map +1 -1
  170. package/dist/react-native/operations/servers.js +63 -77
  171. package/dist/react-native/operations/servers.js.map +1 -1
  172. package/dist/react-native/operations/virtualNetworkRules.js +45 -52
  173. package/dist/react-native/operations/virtualNetworkRules.js.map +1 -1
  174. package/dist/react-native/pagingHelper.js +2 -4
  175. package/dist/react-native/pagingHelper.js.map +1 -1
  176. package/dist/react-native/postgreSQLManagementClient.js +30 -5
  177. package/dist/react-native/postgreSQLManagementClient.js.map +1 -1
  178. package/package.json +2 -2
  179. package/review/arm-postgresql-node.api.md +1179 -1179
@@ -1,1179 +1,1179 @@
1
- ## API Report File for "@azure/arm-postgresql"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
12
-
13
- // @public
14
- export interface CheckNameAvailability {
15
- execute(nameAvailabilityRequest: NameAvailabilityRequest, options?: CheckNameAvailabilityExecuteOptionalParams): Promise<CheckNameAvailabilityExecuteResponse>;
16
- }
17
-
18
- // @public
19
- export interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions {
20
- }
21
-
22
- // @public
23
- export type CheckNameAvailabilityExecuteResponse = NameAvailability;
24
-
25
- // @public
26
- export interface CloudError {
27
- error?: ErrorResponse;
28
- }
29
-
30
- // @public
31
- export interface Configuration extends ProxyResource {
32
- readonly allowedValues?: string;
33
- readonly dataType?: string;
34
- readonly defaultValue?: string;
35
- readonly description?: string;
36
- source?: string;
37
- value?: string;
38
- }
39
-
40
- // @public
41
- export interface ConfigurationListResult {
42
- value?: Configuration[];
43
- }
44
-
45
- // @public
46
- export interface Configurations {
47
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationsCreateOrUpdateResponse>, ConfigurationsCreateOrUpdateResponse>>;
48
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<ConfigurationsCreateOrUpdateResponse>;
49
- get(resourceGroupName: string, serverName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<ConfigurationsGetResponse>;
50
- listByServer(resourceGroupName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<Configuration>;
51
- }
52
-
53
- // @public
54
- export interface ConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
55
- resumeFrom?: string;
56
- updateIntervalInMs?: number;
57
- }
58
-
59
- // @public
60
- export type ConfigurationsCreateOrUpdateResponse = Configuration;
61
-
62
- // @public
63
- export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
64
- }
65
-
66
- // @public
67
- export type ConfigurationsGetResponse = Configuration;
68
-
69
- // @public
70
- export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
71
- }
72
-
73
- // @public
74
- export type ConfigurationsListByServerResponse = ConfigurationListResult;
75
-
76
- // @public
77
- export type CreateMode = string;
78
-
79
- // @public
80
- export interface Database extends ProxyResource {
81
- charset?: string;
82
- collation?: string;
83
- }
84
-
85
- // @public
86
- export interface DatabaseListResult {
87
- value?: Database[];
88
- }
89
-
90
- // @public
91
- export interface Databases {
92
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateOrUpdateResponse>, DatabasesCreateOrUpdateResponse>>;
93
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<DatabasesCreateOrUpdateResponse>;
94
- beginDelete(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
95
- beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
96
- get(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
97
- listByServer(resourceGroupName: string, serverName: string, options?: DatabasesListByServerOptionalParams): PagedAsyncIterableIterator<Database>;
98
- }
99
-
100
- // @public
101
- export interface DatabasesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
102
- resumeFrom?: string;
103
- updateIntervalInMs?: number;
104
- }
105
-
106
- // @public
107
- export type DatabasesCreateOrUpdateResponse = Database;
108
-
109
- // @public
110
- export interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
111
- resumeFrom?: string;
112
- updateIntervalInMs?: number;
113
- }
114
-
115
- // @public
116
- export interface DatabasesGetOptionalParams extends coreClient.OperationOptions {
117
- }
118
-
119
- // @public
120
- export type DatabasesGetResponse = Database;
121
-
122
- // @public
123
- export interface DatabasesListByServerOptionalParams extends coreClient.OperationOptions {
124
- }
125
-
126
- // @public
127
- export type DatabasesListByServerResponse = DatabaseListResult;
128
-
129
- // @public
130
- export interface ErrorAdditionalInfo {
131
- readonly info?: Record<string, unknown>;
132
- readonly type?: string;
133
- }
134
-
135
- // @public
136
- export interface ErrorResponse {
137
- readonly additionalInfo?: ErrorAdditionalInfo[];
138
- readonly code?: string;
139
- readonly details?: ErrorResponse[];
140
- readonly message?: string;
141
- readonly target?: string;
142
- }
143
-
144
- // @public
145
- export interface FirewallRule extends ProxyResource {
146
- endIpAddress: string;
147
- startIpAddress: string;
148
- }
149
-
150
- // @public
151
- export interface FirewallRuleListResult {
152
- value?: FirewallRule[];
153
- }
154
-
155
- // @public
156
- export interface FirewallRules {
157
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FirewallRulesCreateOrUpdateResponse>, FirewallRulesCreateOrUpdateResponse>>;
158
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
159
- beginDelete(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
160
- beginDeleteAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>;
161
- get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
162
- listByServer(resourceGroupName: string, serverName: string, options?: FirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator<FirewallRule>;
163
- }
164
-
165
- // @public
166
- export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
167
- resumeFrom?: string;
168
- updateIntervalInMs?: number;
169
- }
170
-
171
- // @public
172
- export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
173
-
174
- // @public
175
- export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
176
- resumeFrom?: string;
177
- updateIntervalInMs?: number;
178
- }
179
-
180
- // @public
181
- export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
182
- }
183
-
184
- // @public
185
- export type FirewallRulesGetResponse = FirewallRule;
186
-
187
- // @public
188
- export interface FirewallRulesListByServerOptionalParams extends coreClient.OperationOptions {
189
- }
190
-
191
- // @public
192
- export type FirewallRulesListByServerResponse = FirewallRuleListResult;
193
-
194
- // @public
195
- export type GeoRedundantBackup = string;
196
-
197
- // @public
198
- export function getContinuationToken(page: unknown): string | undefined;
199
-
200
- // @public
201
- export type IdentityType = string;
202
-
203
- // @public
204
- export type InfrastructureEncryption = string;
205
-
206
- // @public
207
- export enum KnownCreateMode {
208
- Default = "Default",
209
- GeoRestore = "GeoRestore",
210
- PointInTimeRestore = "PointInTimeRestore",
211
- Replica = "Replica"
212
- }
213
-
214
- // @public
215
- export enum KnownGeoRedundantBackup {
216
- Disabled = "Disabled",
217
- Enabled = "Enabled"
218
- }
219
-
220
- // @public
221
- export enum KnownIdentityType {
222
- SystemAssigned = "SystemAssigned"
223
- }
224
-
225
- // @public
226
- export enum KnownInfrastructureEncryption {
227
- Disabled = "Disabled",
228
- Enabled = "Enabled"
229
- }
230
-
231
- // @public
232
- export enum KnownMinimalTlsVersionEnum {
233
- TLS10 = "TLS1_0",
234
- TLS11 = "TLS1_1",
235
- TLS12 = "TLS1_2",
236
- TLSEnforcementDisabled = "TLSEnforcementDisabled"
237
- }
238
-
239
- // @public
240
- export enum KnownOperationOrigin {
241
- NotSpecified = "NotSpecified",
242
- System = "system",
243
- User = "user"
244
- }
245
-
246
- // @public
247
- export enum KnownPrivateEndpointProvisioningState {
248
- Approving = "Approving",
249
- Dropping = "Dropping",
250
- Failed = "Failed",
251
- Ready = "Ready",
252
- Rejecting = "Rejecting"
253
- }
254
-
255
- // @public
256
- export enum KnownPrivateLinkServiceConnectionStateActionsRequire {
257
- None = "None"
258
- }
259
-
260
- // @public
261
- export enum KnownPrivateLinkServiceConnectionStateStatus {
262
- Approved = "Approved",
263
- Disconnected = "Disconnected",
264
- Pending = "Pending",
265
- Rejected = "Rejected"
266
- }
267
-
268
- // @public
269
- export enum KnownPublicNetworkAccessEnum {
270
- Disabled = "Disabled",
271
- Enabled = "Enabled"
272
- }
273
-
274
- // @public
275
- export enum KnownSecurityAlertPolicyName {
276
- Default = "Default"
277
- }
278
-
279
- // @public
280
- export enum KnownServerKeyType {
281
- AzureKeyVault = "AzureKeyVault"
282
- }
283
-
284
- // @public
285
- export enum KnownServerState {
286
- Disabled = "Disabled",
287
- Dropping = "Dropping",
288
- Inaccessible = "Inaccessible",
289
- Ready = "Ready"
290
- }
291
-
292
- // @public
293
- export enum KnownServerVersion {
294
- Eleven = "11",
295
- Nine5 = "9.5",
296
- Nine6 = "9.6",
297
- Ten = "10",
298
- Ten0 = "10.0",
299
- Ten2 = "10.2"
300
- }
301
-
302
- // @public
303
- export enum KnownSkuTier {
304
- Basic = "Basic",
305
- GeneralPurpose = "GeneralPurpose",
306
- MemoryOptimized = "MemoryOptimized"
307
- }
308
-
309
- // @public
310
- export enum KnownStorageAutogrow {
311
- Disabled = "Disabled",
312
- Enabled = "Enabled"
313
- }
314
-
315
- // @public
316
- export enum KnownVirtualNetworkRuleState {
317
- Deleting = "Deleting",
318
- Initializing = "Initializing",
319
- InProgress = "InProgress",
320
- Ready = "Ready",
321
- Unknown = "Unknown"
322
- }
323
-
324
- // @public
325
- export interface LocationBasedPerformanceTier {
326
- list(locationName: string, options?: LocationBasedPerformanceTierListOptionalParams): PagedAsyncIterableIterator<PerformanceTierProperties>;
327
- }
328
-
329
- // @public
330
- export interface LocationBasedPerformanceTierListOptionalParams extends coreClient.OperationOptions {
331
- }
332
-
333
- // @public
334
- export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult;
335
-
336
- // @public
337
- export interface LogFile extends ProxyResource {
338
- readonly createdTime?: Date;
339
- readonly lastModifiedTime?: Date;
340
- sizeInKB?: number;
341
- typePropertiesType?: string;
342
- url?: string;
343
- }
344
-
345
- // @public
346
- export interface LogFileListResult {
347
- value?: LogFile[];
348
- }
349
-
350
- // @public
351
- export interface LogFiles {
352
- listByServer(resourceGroupName: string, serverName: string, options?: LogFilesListByServerOptionalParams): PagedAsyncIterableIterator<LogFile>;
353
- }
354
-
355
- // @public
356
- export interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
357
- }
358
-
359
- // @public
360
- export type LogFilesListByServerResponse = LogFileListResult;
361
-
362
- // @public
363
- export type MinimalTlsVersionEnum = string;
364
-
365
- // @public
366
- export interface NameAvailability {
367
- message?: string;
368
- nameAvailable?: boolean;
369
- reason?: string;
370
- }
371
-
372
- // @public
373
- export interface NameAvailabilityRequest {
374
- name: string;
375
- type?: string;
376
- }
377
-
378
- // @public
379
- export interface Operation {
380
- readonly display?: OperationDisplay;
381
- readonly name?: string;
382
- readonly origin?: OperationOrigin;
383
- readonly properties?: {
384
- [propertyName: string]: Record<string, unknown>;
385
- };
386
- }
387
-
388
- // @public
389
- export interface OperationDisplay {
390
- readonly description?: string;
391
- readonly operation?: string;
392
- readonly provider?: string;
393
- readonly resource?: string;
394
- }
395
-
396
- // @public
397
- export interface OperationListResult {
398
- value?: Operation[];
399
- }
400
-
401
- // @public
402
- export type OperationOrigin = string;
403
-
404
- // @public
405
- export interface Operations {
406
- list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
407
- }
408
-
409
- // @public
410
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
411
- }
412
-
413
- // @public
414
- export type OperationsListResponse = OperationListResult;
415
-
416
- // @public
417
- export interface PerformanceTierListResult {
418
- value?: PerformanceTierProperties[];
419
- }
420
-
421
- // @public
422
- export interface PerformanceTierProperties {
423
- id?: string;
424
- maxBackupRetentionDays?: number;
425
- maxLargeStorageMB?: number;
426
- maxStorageMB?: number;
427
- minBackupRetentionDays?: number;
428
- minLargeStorageMB?: number;
429
- minStorageMB?: number;
430
- serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[];
431
- }
432
-
433
- // @public
434
- export interface PerformanceTierServiceLevelObjectives {
435
- edition?: string;
436
- hardwareGeneration?: string;
437
- id?: string;
438
- maxBackupRetentionDays?: number;
439
- maxStorageMB?: number;
440
- minBackupRetentionDays?: number;
441
- minStorageMB?: number;
442
- vCore?: number;
443
- }
444
-
445
- // @public (undocumented)
446
- export class PostgreSQLManagementClient extends coreClient.ServiceClient {
447
- // (undocumented)
448
- $host: string;
449
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementClientOptionalParams);
450
- // (undocumented)
451
- checkNameAvailability: CheckNameAvailability;
452
- // (undocumented)
453
- configurations: Configurations;
454
- // (undocumented)
455
- databases: Databases;
456
- // (undocumented)
457
- firewallRules: FirewallRules;
458
- // (undocumented)
459
- locationBasedPerformanceTier: LocationBasedPerformanceTier;
460
- // (undocumented)
461
- logFiles: LogFiles;
462
- // (undocumented)
463
- operations: Operations;
464
- // (undocumented)
465
- privateEndpointConnections: PrivateEndpointConnections;
466
- // (undocumented)
467
- privateLinkResources: PrivateLinkResources;
468
- // (undocumented)
469
- recoverableServers: RecoverableServers;
470
- // (undocumented)
471
- replicas: Replicas;
472
- // (undocumented)
473
- serverAdministrators: ServerAdministrators;
474
- // (undocumented)
475
- serverBasedPerformanceTier: ServerBasedPerformanceTier;
476
- // (undocumented)
477
- serverKeys: ServerKeys;
478
- // (undocumented)
479
- serverParameters: ServerParameters;
480
- // (undocumented)
481
- servers: Servers;
482
- // (undocumented)
483
- serverSecurityAlertPolicies: ServerSecurityAlertPolicies;
484
- // (undocumented)
485
- subscriptionId: string;
486
- // (undocumented)
487
- virtualNetworkRules: VirtualNetworkRules;
488
- }
489
-
490
- // @public
491
- export interface PostgreSQLManagementClientOptionalParams extends coreClient.ServiceClientOptions {
492
- $host?: string;
493
- endpoint?: string;
494
- }
495
-
496
- // @public
497
- export interface PrivateEndpointConnection extends ProxyResource {
498
- privateEndpoint?: PrivateEndpointProperty;
499
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
500
- readonly provisioningState?: string;
501
- }
502
-
503
- // @public
504
- export interface PrivateEndpointConnectionListResult {
505
- readonly nextLink?: string;
506
- readonly value?: PrivateEndpointConnection[];
507
- }
508
-
509
- // @public
510
- export interface PrivateEndpointConnections {
511
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
512
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
513
- beginDelete(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
514
- beginDeleteAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
515
- beginUpdateTags(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: TagsObject, options?: PrivateEndpointConnectionsUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsUpdateTagsResponse>, PrivateEndpointConnectionsUpdateTagsResponse>>;
516
- beginUpdateTagsAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: TagsObject, options?: PrivateEndpointConnectionsUpdateTagsOptionalParams): Promise<PrivateEndpointConnectionsUpdateTagsResponse>;
517
- get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
518
- listByServer(resourceGroupName: string, serverName: string, options?: PrivateEndpointConnectionsListByServerOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
519
- }
520
-
521
- // @public
522
- export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
523
- resumeFrom?: string;
524
- updateIntervalInMs?: number;
525
- }
526
-
527
- // @public
528
- export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
529
-
530
- // @public
531
- export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
532
- resumeFrom?: string;
533
- updateIntervalInMs?: number;
534
- }
535
-
536
- // @public
537
- export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
538
- }
539
-
540
- // @public
541
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
542
-
543
- // @public
544
- export interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
545
- }
546
-
547
- // @public
548
- export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
549
-
550
- // @public
551
- export interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
552
- }
553
-
554
- // @public
555
- export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
556
-
557
- // @public
558
- export interface PrivateEndpointConnectionsUpdateTagsOptionalParams extends coreClient.OperationOptions {
559
- resumeFrom?: string;
560
- updateIntervalInMs?: number;
561
- }
562
-
563
- // @public
564
- export type PrivateEndpointConnectionsUpdateTagsResponse = PrivateEndpointConnection;
565
-
566
- // @public (undocumented)
567
- export interface PrivateEndpointProperty {
568
- id?: string;
569
- }
570
-
571
- // @public
572
- export type PrivateEndpointProvisioningState = string;
573
-
574
- // @public
575
- export interface PrivateLinkResource extends ProxyResource {
576
- readonly properties?: PrivateLinkResourceProperties;
577
- }
578
-
579
- // @public
580
- export interface PrivateLinkResourceListResult {
581
- readonly nextLink?: string;
582
- readonly value?: PrivateLinkResource[];
583
- }
584
-
585
- // @public
586
- export interface PrivateLinkResourceProperties {
587
- readonly groupId?: string;
588
- readonly requiredMembers?: string[];
589
- }
590
-
591
- // @public
592
- export interface PrivateLinkResources {
593
- get(resourceGroupName: string, serverName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
594
- listByServer(resourceGroupName: string, serverName: string, options?: PrivateLinkResourcesListByServerOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
595
- }
596
-
597
- // @public
598
- export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
599
- }
600
-
601
- // @public
602
- export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
603
-
604
- // @public
605
- export interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
606
- }
607
-
608
- // @public
609
- export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
610
-
611
- // @public
612
- export interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
613
- }
614
-
615
- // @public
616
- export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
617
-
618
- // @public
619
- export type PrivateLinkServiceConnectionStateActionsRequire = string;
620
-
621
- // @public (undocumented)
622
- export interface PrivateLinkServiceConnectionStateProperty {
623
- readonly actionsRequired?: string;
624
- description: string;
625
- status: string;
626
- }
627
-
628
- // @public
629
- export type PrivateLinkServiceConnectionStateStatus = string;
630
-
631
- // @public
632
- export interface ProxyResource extends Resource {
633
- }
634
-
635
- // @public
636
- export type PublicNetworkAccessEnum = string;
637
-
638
- // @public
639
- export interface RecoverableServerResource extends ProxyResource {
640
- readonly edition?: string;
641
- readonly hardwareGeneration?: string;
642
- readonly lastAvailableBackupDateTime?: string;
643
- readonly serviceLevelObjective?: string;
644
- readonly vCore?: number;
645
- readonly version?: string;
646
- }
647
-
648
- // @public
649
- export interface RecoverableServers {
650
- get(resourceGroupName: string, serverName: string, options?: RecoverableServersGetOptionalParams): Promise<RecoverableServersGetResponse>;
651
- }
652
-
653
- // @public
654
- export interface RecoverableServersGetOptionalParams extends coreClient.OperationOptions {
655
- }
656
-
657
- // @public
658
- export type RecoverableServersGetResponse = RecoverableServerResource;
659
-
660
- // @public
661
- export interface Replicas {
662
- listByServer(resourceGroupName: string, serverName: string, options?: ReplicasListByServerOptionalParams): PagedAsyncIterableIterator<Server>;
663
- }
664
-
665
- // @public
666
- export interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
667
- }
668
-
669
- // @public
670
- export type ReplicasListByServerResponse = ServerListResult;
671
-
672
- // @public
673
- export interface Resource {
674
- readonly id?: string;
675
- readonly name?: string;
676
- readonly type?: string;
677
- }
678
-
679
- // @public
680
- export interface ResourceIdentity {
681
- readonly principalId?: string;
682
- readonly tenantId?: string;
683
- type?: IdentityType;
684
- }
685
-
686
- // @public
687
- export type SecurityAlertPolicyName = string;
688
-
689
- // @public
690
- export interface Server extends TrackedResource {
691
- administratorLogin?: string;
692
- readonly byokEnforcement?: string;
693
- earliestRestoreDate?: Date;
694
- fullyQualifiedDomainName?: string;
695
- identity?: ResourceIdentity;
696
- infrastructureEncryption?: InfrastructureEncryption;
697
- masterServerId?: string;
698
- minimalTlsVersion?: MinimalTlsVersionEnum;
699
- readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
700
- publicNetworkAccess?: PublicNetworkAccessEnum;
701
- replicaCapacity?: number;
702
- replicationRole?: string;
703
- sku?: Sku;
704
- sslEnforcement?: SslEnforcementEnum;
705
- storageProfile?: StorageProfile;
706
- userVisibleState?: ServerState;
707
- version?: ServerVersion;
708
- }
709
-
710
- // @public
711
- export interface ServerAdministratorResource extends ProxyResource {
712
- administratorType?: "ActiveDirectory";
713
- login?: string;
714
- sid?: string;
715
- tenantId?: string;
716
- }
717
-
718
- // @public
719
- export interface ServerAdministratorResourceListResult {
720
- value?: ServerAdministratorResource[];
721
- }
722
-
723
- // @public
724
- export interface ServerAdministrators {
725
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, properties: ServerAdministratorResource, options?: ServerAdministratorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerAdministratorsCreateOrUpdateResponse>, ServerAdministratorsCreateOrUpdateResponse>>;
726
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, properties: ServerAdministratorResource, options?: ServerAdministratorsCreateOrUpdateOptionalParams): Promise<ServerAdministratorsCreateOrUpdateResponse>;
727
- beginDelete(resourceGroupName: string, serverName: string, options?: ServerAdministratorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
728
- beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServerAdministratorsDeleteOptionalParams): Promise<void>;
729
- get(resourceGroupName: string, serverName: string, options?: ServerAdministratorsGetOptionalParams): Promise<ServerAdministratorsGetResponse>;
730
- list(resourceGroupName: string, serverName: string, options?: ServerAdministratorsListOptionalParams): PagedAsyncIterableIterator<ServerAdministratorResource>;
731
- }
732
-
733
- // @public
734
- export interface ServerAdministratorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
735
- resumeFrom?: string;
736
- updateIntervalInMs?: number;
737
- }
738
-
739
- // @public
740
- export type ServerAdministratorsCreateOrUpdateResponse = ServerAdministratorResource;
741
-
742
- // @public
743
- export interface ServerAdministratorsDeleteOptionalParams extends coreClient.OperationOptions {
744
- resumeFrom?: string;
745
- updateIntervalInMs?: number;
746
- }
747
-
748
- // @public
749
- export interface ServerAdministratorsGetOptionalParams extends coreClient.OperationOptions {
750
- }
751
-
752
- // @public
753
- export type ServerAdministratorsGetResponse = ServerAdministratorResource;
754
-
755
- // @public
756
- export interface ServerAdministratorsListOptionalParams extends coreClient.OperationOptions {
757
- }
758
-
759
- // @public
760
- export type ServerAdministratorsListResponse = ServerAdministratorResourceListResult;
761
-
762
- // @public
763
- export interface ServerBasedPerformanceTier {
764
- list(resourceGroupName: string, serverName: string, options?: ServerBasedPerformanceTierListOptionalParams): PagedAsyncIterableIterator<PerformanceTierProperties>;
765
- }
766
-
767
- // @public
768
- export interface ServerBasedPerformanceTierListOptionalParams extends coreClient.OperationOptions {
769
- }
770
-
771
- // @public
772
- export type ServerBasedPerformanceTierListResponse = PerformanceTierListResult;
773
-
774
- // @public
775
- export interface ServerForCreate {
776
- identity?: ResourceIdentity;
777
- location: string;
778
- properties: ServerPropertiesForCreateUnion;
779
- sku?: Sku;
780
- tags?: {
781
- [propertyName: string]: string;
782
- };
783
- }
784
-
785
- // @public
786
- export interface ServerKey extends ProxyResource {
787
- readonly creationDate?: Date;
788
- readonly kind?: string;
789
- serverKeyType?: ServerKeyType;
790
- uri?: string;
791
- }
792
-
793
- // @public
794
- export interface ServerKeyListResult {
795
- readonly nextLink?: string;
796
- readonly value?: ServerKey[];
797
- }
798
-
799
- // @public
800
- export interface ServerKeys {
801
- beginCreateOrUpdate(serverName: string, keyName: string, resourceGroupName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerKeysCreateOrUpdateResponse>, ServerKeysCreateOrUpdateResponse>>;
802
- beginCreateOrUpdateAndWait(serverName: string, keyName: string, resourceGroupName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams): Promise<ServerKeysCreateOrUpdateResponse>;
803
- beginDelete(serverName: string, keyName: string, resourceGroupName: string, options?: ServerKeysDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
804
- beginDeleteAndWait(serverName: string, keyName: string, resourceGroupName: string, options?: ServerKeysDeleteOptionalParams): Promise<void>;
805
- get(resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysGetOptionalParams): Promise<ServerKeysGetResponse>;
806
- list(resourceGroupName: string, serverName: string, options?: ServerKeysListOptionalParams): PagedAsyncIterableIterator<ServerKey>;
807
- }
808
-
809
- // @public
810
- export interface ServerKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
811
- resumeFrom?: string;
812
- updateIntervalInMs?: number;
813
- }
814
-
815
- // @public
816
- export type ServerKeysCreateOrUpdateResponse = ServerKey;
817
-
818
- // @public
819
- export interface ServerKeysDeleteOptionalParams extends coreClient.OperationOptions {
820
- resumeFrom?: string;
821
- updateIntervalInMs?: number;
822
- }
823
-
824
- // @public
825
- export interface ServerKeysGetOptionalParams extends coreClient.OperationOptions {
826
- }
827
-
828
- // @public
829
- export type ServerKeysGetResponse = ServerKey;
830
-
831
- // @public
832
- export interface ServerKeysListNextOptionalParams extends coreClient.OperationOptions {
833
- }
834
-
835
- // @public
836
- export type ServerKeysListNextResponse = ServerKeyListResult;
837
-
838
- // @public
839
- export interface ServerKeysListOptionalParams extends coreClient.OperationOptions {
840
- }
841
-
842
- // @public
843
- export type ServerKeysListResponse = ServerKeyListResult;
844
-
845
- // @public
846
- export type ServerKeyType = string;
847
-
848
- // @public
849
- export interface ServerListResult {
850
- value?: Server[];
851
- }
852
-
853
- // @public
854
- export interface ServerParameters {
855
- beginListUpdateConfigurations(resourceGroupName: string, serverName: string, value: ConfigurationListResult, options?: ServerParametersListUpdateConfigurationsOptionalParams): Promise<PollerLike<PollOperationState<ServerParametersListUpdateConfigurationsResponse>, ServerParametersListUpdateConfigurationsResponse>>;
856
- beginListUpdateConfigurationsAndWait(resourceGroupName: string, serverName: string, value: ConfigurationListResult, options?: ServerParametersListUpdateConfigurationsOptionalParams): Promise<ServerParametersListUpdateConfigurationsResponse>;
857
- }
858
-
859
- // @public
860
- export interface ServerParametersListUpdateConfigurationsOptionalParams extends coreClient.OperationOptions {
861
- resumeFrom?: string;
862
- updateIntervalInMs?: number;
863
- }
864
-
865
- // @public
866
- export type ServerParametersListUpdateConfigurationsResponse = ConfigurationListResult;
867
-
868
- // @public
869
- export interface ServerPrivateEndpointConnection {
870
- readonly id?: string;
871
- readonly properties?: ServerPrivateEndpointConnectionProperties;
872
- }
873
-
874
- // @public
875
- export interface ServerPrivateEndpointConnectionProperties {
876
- privateEndpoint?: PrivateEndpointProperty;
877
- privateLinkServiceConnectionState?: ServerPrivateLinkServiceConnectionStateProperty;
878
- readonly provisioningState?: PrivateEndpointProvisioningState;
879
- }
880
-
881
- // @public (undocumented)
882
- export interface ServerPrivateLinkServiceConnectionStateProperty {
883
- readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
884
- description: string;
885
- status: PrivateLinkServiceConnectionStateStatus;
886
- }
887
-
888
- // @public
889
- export interface ServerPropertiesForCreate {
890
- createMode: "Default" | "PointInTimeRestore" | "GeoRestore" | "Replica";
891
- infrastructureEncryption?: InfrastructureEncryption;
892
- minimalTlsVersion?: MinimalTlsVersionEnum;
893
- publicNetworkAccess?: PublicNetworkAccessEnum;
894
- sslEnforcement?: SslEnforcementEnum;
895
- storageProfile?: StorageProfile;
896
- version?: ServerVersion;
897
- }
898
-
899
- // @public (undocumented)
900
- export type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
901
-
902
- // @public
903
- export interface ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate {
904
- administratorLogin: string;
905
- administratorLoginPassword: string;
906
- createMode: "Default";
907
- }
908
-
909
- // @public
910
- export interface ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
911
- createMode: "GeoRestore";
912
- sourceServerId: string;
913
- }
914
-
915
- // @public
916
- export interface ServerPropertiesForReplica extends ServerPropertiesForCreate {
917
- createMode: "Replica";
918
- sourceServerId: string;
919
- }
920
-
921
- // @public
922
- export interface ServerPropertiesForRestore extends ServerPropertiesForCreate {
923
- createMode: "PointInTimeRestore";
924
- restorePointInTime: Date;
925
- sourceServerId: string;
926
- }
927
-
928
- // @public
929
- export interface Servers {
930
- beginCreate(resourceGroupName: string, serverName: string, parameters: ServerForCreate, options?: ServersCreateOptionalParams): Promise<PollerLike<PollOperationState<ServersCreateResponse>, ServersCreateResponse>>;
931
- beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: ServerForCreate, options?: ServersCreateOptionalParams): Promise<ServersCreateResponse>;
932
- beginDelete(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
933
- beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<void>;
934
- beginRestart(resourceGroupName: string, serverName: string, options?: ServersRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
935
- beginRestartAndWait(resourceGroupName: string, serverName: string, options?: ServersRestartOptionalParams): Promise<void>;
936
- beginUpdate(resourceGroupName: string, serverName: string, parameters: ServerUpdateParameters, options?: ServersUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServersUpdateResponse>, ServersUpdateResponse>>;
937
- beginUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ServerUpdateParameters, options?: ServersUpdateOptionalParams): Promise<ServersUpdateResponse>;
938
- get(resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ServersGetResponse>;
939
- list(options?: ServersListOptionalParams): PagedAsyncIterableIterator<Server>;
940
- listByResourceGroup(resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Server>;
941
- }
942
-
943
- // @public
944
- export interface ServersCreateOptionalParams extends coreClient.OperationOptions {
945
- resumeFrom?: string;
946
- updateIntervalInMs?: number;
947
- }
948
-
949
- // @public
950
- export type ServersCreateResponse = Server;
951
-
952
- // @public
953
- export interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
954
- resumeFrom?: string;
955
- updateIntervalInMs?: number;
956
- }
957
-
958
- // @public
959
- export interface ServerSecurityAlertPolicies {
960
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerSecurityAlertPoliciesCreateOrUpdateResponse>, ServerSecurityAlertPoliciesCreateOrUpdateResponse>>;
961
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ServerSecurityAlertPoliciesCreateOrUpdateResponse>;
962
- get(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, options?: ServerSecurityAlertPoliciesGetOptionalParams): Promise<ServerSecurityAlertPoliciesGetResponse>;
963
- listByServer(resourceGroupName: string, serverName: string, options?: ServerSecurityAlertPoliciesListByServerOptionalParams): PagedAsyncIterableIterator<ServerSecurityAlertPolicy>;
964
- }
965
-
966
- // @public
967
- export interface ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
968
- resumeFrom?: string;
969
- updateIntervalInMs?: number;
970
- }
971
-
972
- // @public
973
- export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy;
974
-
975
- // @public
976
- export interface ServerSecurityAlertPoliciesGetOptionalParams extends coreClient.OperationOptions {
977
- }
978
-
979
- // @public
980
- export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy;
981
-
982
- // @public
983
- export interface ServerSecurityAlertPoliciesListByServerNextOptionalParams extends coreClient.OperationOptions {
984
- }
985
-
986
- // @public
987
- export type ServerSecurityAlertPoliciesListByServerNextResponse = ServerSecurityAlertPolicyListResult;
988
-
989
- // @public
990
- export interface ServerSecurityAlertPoliciesListByServerOptionalParams extends coreClient.OperationOptions {
991
- }
992
-
993
- // @public
994
- export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
995
-
996
- // @public
997
- export interface ServerSecurityAlertPolicy extends ProxyResource {
998
- disabledAlerts?: string[];
999
- emailAccountAdmins?: boolean;
1000
- emailAddresses?: string[];
1001
- retentionDays?: number;
1002
- state?: ServerSecurityAlertPolicyState;
1003
- storageAccountAccessKey?: string;
1004
- storageEndpoint?: string;
1005
- }
1006
-
1007
- // @public
1008
- export interface ServerSecurityAlertPolicyListResult {
1009
- readonly nextLink?: string;
1010
- readonly value?: ServerSecurityAlertPolicy[];
1011
- }
1012
-
1013
- // @public
1014
- export type ServerSecurityAlertPolicyState = "Enabled" | "Disabled";
1015
-
1016
- // @public
1017
- export interface ServersGetOptionalParams extends coreClient.OperationOptions {
1018
- }
1019
-
1020
- // @public
1021
- export type ServersGetResponse = Server;
1022
-
1023
- // @public
1024
- export interface ServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1025
- }
1026
-
1027
- // @public
1028
- export type ServersListByResourceGroupResponse = ServerListResult;
1029
-
1030
- // @public
1031
- export interface ServersListOptionalParams extends coreClient.OperationOptions {
1032
- }
1033
-
1034
- // @public
1035
- export type ServersListResponse = ServerListResult;
1036
-
1037
- // @public
1038
- export interface ServersRestartOptionalParams extends coreClient.OperationOptions {
1039
- resumeFrom?: string;
1040
- updateIntervalInMs?: number;
1041
- }
1042
-
1043
- // @public
1044
- export type ServerState = string;
1045
-
1046
- // @public
1047
- export interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
1048
- resumeFrom?: string;
1049
- updateIntervalInMs?: number;
1050
- }
1051
-
1052
- // @public
1053
- export type ServersUpdateResponse = Server;
1054
-
1055
- // @public
1056
- export interface ServerUpdateParameters {
1057
- administratorLoginPassword?: string;
1058
- identity?: ResourceIdentity;
1059
- minimalTlsVersion?: MinimalTlsVersionEnum;
1060
- publicNetworkAccess?: PublicNetworkAccessEnum;
1061
- replicationRole?: string;
1062
- sku?: Sku;
1063
- sslEnforcement?: SslEnforcementEnum;
1064
- storageProfile?: StorageProfile;
1065
- tags?: {
1066
- [propertyName: string]: string;
1067
- };
1068
- version?: ServerVersion;
1069
- }
1070
-
1071
- // @public
1072
- export type ServerVersion = string;
1073
-
1074
- // @public
1075
- export interface Sku {
1076
- capacity?: number;
1077
- family?: string;
1078
- name: string;
1079
- size?: string;
1080
- tier?: SkuTier;
1081
- }
1082
-
1083
- // @public
1084
- export type SkuTier = string;
1085
-
1086
- // @public
1087
- export type SslEnforcementEnum = "Enabled" | "Disabled";
1088
-
1089
- // @public
1090
- export type StorageAutogrow = string;
1091
-
1092
- // @public
1093
- export interface StorageProfile {
1094
- backupRetentionDays?: number;
1095
- geoRedundantBackup?: GeoRedundantBackup;
1096
- storageAutogrow?: StorageAutogrow;
1097
- storageMB?: number;
1098
- }
1099
-
1100
- // @public
1101
- export interface TagsObject {
1102
- tags?: {
1103
- [propertyName: string]: string;
1104
- };
1105
- }
1106
-
1107
- // @public
1108
- export interface TrackedResource extends Resource {
1109
- location: string;
1110
- tags?: {
1111
- [propertyName: string]: string;
1112
- };
1113
- }
1114
-
1115
- // @public
1116
- export interface VirtualNetworkRule extends ProxyResource {
1117
- ignoreMissingVnetServiceEndpoint?: boolean;
1118
- readonly state?: VirtualNetworkRuleState;
1119
- virtualNetworkSubnetId?: string;
1120
- }
1121
-
1122
- // @public
1123
- export interface VirtualNetworkRuleListResult {
1124
- readonly nextLink?: string;
1125
- readonly value?: VirtualNetworkRule[];
1126
- }
1127
-
1128
- // @public
1129
- export interface VirtualNetworkRules {
1130
- beginCreateOrUpdate(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkRulesCreateOrUpdateResponse>, VirtualNetworkRulesCreateOrUpdateResponse>>;
1131
- beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<VirtualNetworkRulesCreateOrUpdateResponse>;
1132
- beginDelete(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1133
- beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<void>;
1134
- get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesGetOptionalParams): Promise<VirtualNetworkRulesGetResponse>;
1135
- listByServer(resourceGroupName: string, serverName: string, options?: VirtualNetworkRulesListByServerOptionalParams): PagedAsyncIterableIterator<VirtualNetworkRule>;
1136
- }
1137
-
1138
- // @public
1139
- export interface VirtualNetworkRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1140
- resumeFrom?: string;
1141
- updateIntervalInMs?: number;
1142
- }
1143
-
1144
- // @public
1145
- export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule;
1146
-
1147
- // @public
1148
- export interface VirtualNetworkRulesDeleteOptionalParams extends coreClient.OperationOptions {
1149
- resumeFrom?: string;
1150
- updateIntervalInMs?: number;
1151
- }
1152
-
1153
- // @public
1154
- export interface VirtualNetworkRulesGetOptionalParams extends coreClient.OperationOptions {
1155
- }
1156
-
1157
- // @public
1158
- export type VirtualNetworkRulesGetResponse = VirtualNetworkRule;
1159
-
1160
- // @public
1161
- export interface VirtualNetworkRulesListByServerNextOptionalParams extends coreClient.OperationOptions {
1162
- }
1163
-
1164
- // @public
1165
- export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult;
1166
-
1167
- // @public
1168
- export interface VirtualNetworkRulesListByServerOptionalParams extends coreClient.OperationOptions {
1169
- }
1170
-
1171
- // @public
1172
- export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult;
1173
-
1174
- // @public
1175
- export type VirtualNetworkRuleState = string;
1176
-
1177
- // (No @packageDocumentation comment for this package)
1178
-
1179
- ```
1
+ ## API Report File for "@azure/arm-postgresql"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export interface CheckNameAvailability {
15
+ execute(nameAvailabilityRequest: NameAvailabilityRequest, options?: CheckNameAvailabilityExecuteOptionalParams): Promise<CheckNameAvailabilityExecuteResponse>;
16
+ }
17
+
18
+ // @public
19
+ export interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions {
20
+ }
21
+
22
+ // @public
23
+ export type CheckNameAvailabilityExecuteResponse = NameAvailability;
24
+
25
+ // @public
26
+ export interface CloudError {
27
+ error?: ErrorResponse;
28
+ }
29
+
30
+ // @public
31
+ export interface Configuration extends ProxyResource {
32
+ readonly allowedValues?: string;
33
+ readonly dataType?: string;
34
+ readonly defaultValue?: string;
35
+ readonly description?: string;
36
+ source?: string;
37
+ value?: string;
38
+ }
39
+
40
+ // @public
41
+ export interface ConfigurationListResult {
42
+ value?: Configuration[];
43
+ }
44
+
45
+ // @public
46
+ export interface Configurations {
47
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationsCreateOrUpdateResponse>, ConfigurationsCreateOrUpdateResponse>>;
48
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<ConfigurationsCreateOrUpdateResponse>;
49
+ get(resourceGroupName: string, serverName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<ConfigurationsGetResponse>;
50
+ listByServer(resourceGroupName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<Configuration>;
51
+ }
52
+
53
+ // @public
54
+ export interface ConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
55
+ resumeFrom?: string;
56
+ updateIntervalInMs?: number;
57
+ }
58
+
59
+ // @public
60
+ export type ConfigurationsCreateOrUpdateResponse = Configuration;
61
+
62
+ // @public
63
+ export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
64
+ }
65
+
66
+ // @public
67
+ export type ConfigurationsGetResponse = Configuration;
68
+
69
+ // @public
70
+ export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
71
+ }
72
+
73
+ // @public
74
+ export type ConfigurationsListByServerResponse = ConfigurationListResult;
75
+
76
+ // @public
77
+ export type CreateMode = string;
78
+
79
+ // @public
80
+ export interface Database extends ProxyResource {
81
+ charset?: string;
82
+ collation?: string;
83
+ }
84
+
85
+ // @public
86
+ export interface DatabaseListResult {
87
+ value?: Database[];
88
+ }
89
+
90
+ // @public
91
+ export interface Databases {
92
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateOrUpdateResponse>, DatabasesCreateOrUpdateResponse>>;
93
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<DatabasesCreateOrUpdateResponse>;
94
+ beginDelete(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
95
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
96
+ get(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
97
+ listByServer(resourceGroupName: string, serverName: string, options?: DatabasesListByServerOptionalParams): PagedAsyncIterableIterator<Database>;
98
+ }
99
+
100
+ // @public
101
+ export interface DatabasesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
102
+ resumeFrom?: string;
103
+ updateIntervalInMs?: number;
104
+ }
105
+
106
+ // @public
107
+ export type DatabasesCreateOrUpdateResponse = Database;
108
+
109
+ // @public
110
+ export interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
111
+ resumeFrom?: string;
112
+ updateIntervalInMs?: number;
113
+ }
114
+
115
+ // @public
116
+ export interface DatabasesGetOptionalParams extends coreClient.OperationOptions {
117
+ }
118
+
119
+ // @public
120
+ export type DatabasesGetResponse = Database;
121
+
122
+ // @public
123
+ export interface DatabasesListByServerOptionalParams extends coreClient.OperationOptions {
124
+ }
125
+
126
+ // @public
127
+ export type DatabasesListByServerResponse = DatabaseListResult;
128
+
129
+ // @public
130
+ export interface ErrorAdditionalInfo {
131
+ readonly info?: Record<string, unknown>;
132
+ readonly type?: string;
133
+ }
134
+
135
+ // @public
136
+ export interface ErrorResponse {
137
+ readonly additionalInfo?: ErrorAdditionalInfo[];
138
+ readonly code?: string;
139
+ readonly details?: ErrorResponse[];
140
+ readonly message?: string;
141
+ readonly target?: string;
142
+ }
143
+
144
+ // @public
145
+ export interface FirewallRule extends ProxyResource {
146
+ endIpAddress: string;
147
+ startIpAddress: string;
148
+ }
149
+
150
+ // @public
151
+ export interface FirewallRuleListResult {
152
+ value?: FirewallRule[];
153
+ }
154
+
155
+ // @public
156
+ export interface FirewallRules {
157
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FirewallRulesCreateOrUpdateResponse>, FirewallRulesCreateOrUpdateResponse>>;
158
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
159
+ beginDelete(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
160
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>;
161
+ get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
162
+ listByServer(resourceGroupName: string, serverName: string, options?: FirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator<FirewallRule>;
163
+ }
164
+
165
+ // @public
166
+ export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
167
+ resumeFrom?: string;
168
+ updateIntervalInMs?: number;
169
+ }
170
+
171
+ // @public
172
+ export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
173
+
174
+ // @public
175
+ export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
176
+ resumeFrom?: string;
177
+ updateIntervalInMs?: number;
178
+ }
179
+
180
+ // @public
181
+ export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
182
+ }
183
+
184
+ // @public
185
+ export type FirewallRulesGetResponse = FirewallRule;
186
+
187
+ // @public
188
+ export interface FirewallRulesListByServerOptionalParams extends coreClient.OperationOptions {
189
+ }
190
+
191
+ // @public
192
+ export type FirewallRulesListByServerResponse = FirewallRuleListResult;
193
+
194
+ // @public
195
+ export type GeoRedundantBackup = string;
196
+
197
+ // @public
198
+ export function getContinuationToken(page: unknown): string | undefined;
199
+
200
+ // @public
201
+ export type IdentityType = string;
202
+
203
+ // @public
204
+ export type InfrastructureEncryption = string;
205
+
206
+ // @public
207
+ export enum KnownCreateMode {
208
+ Default = "Default",
209
+ GeoRestore = "GeoRestore",
210
+ PointInTimeRestore = "PointInTimeRestore",
211
+ Replica = "Replica"
212
+ }
213
+
214
+ // @public
215
+ export enum KnownGeoRedundantBackup {
216
+ Disabled = "Disabled",
217
+ Enabled = "Enabled"
218
+ }
219
+
220
+ // @public
221
+ export enum KnownIdentityType {
222
+ SystemAssigned = "SystemAssigned"
223
+ }
224
+
225
+ // @public
226
+ export enum KnownInfrastructureEncryption {
227
+ Disabled = "Disabled",
228
+ Enabled = "Enabled"
229
+ }
230
+
231
+ // @public
232
+ export enum KnownMinimalTlsVersionEnum {
233
+ TLS10 = "TLS1_0",
234
+ TLS11 = "TLS1_1",
235
+ TLS12 = "TLS1_2",
236
+ TLSEnforcementDisabled = "TLSEnforcementDisabled"
237
+ }
238
+
239
+ // @public
240
+ export enum KnownOperationOrigin {
241
+ NotSpecified = "NotSpecified",
242
+ System = "system",
243
+ User = "user"
244
+ }
245
+
246
+ // @public
247
+ export enum KnownPrivateEndpointProvisioningState {
248
+ Approving = "Approving",
249
+ Dropping = "Dropping",
250
+ Failed = "Failed",
251
+ Ready = "Ready",
252
+ Rejecting = "Rejecting"
253
+ }
254
+
255
+ // @public
256
+ export enum KnownPrivateLinkServiceConnectionStateActionsRequire {
257
+ None = "None"
258
+ }
259
+
260
+ // @public
261
+ export enum KnownPrivateLinkServiceConnectionStateStatus {
262
+ Approved = "Approved",
263
+ Disconnected = "Disconnected",
264
+ Pending = "Pending",
265
+ Rejected = "Rejected"
266
+ }
267
+
268
+ // @public
269
+ export enum KnownPublicNetworkAccessEnum {
270
+ Disabled = "Disabled",
271
+ Enabled = "Enabled"
272
+ }
273
+
274
+ // @public
275
+ export enum KnownSecurityAlertPolicyName {
276
+ Default = "Default"
277
+ }
278
+
279
+ // @public
280
+ export enum KnownServerKeyType {
281
+ AzureKeyVault = "AzureKeyVault"
282
+ }
283
+
284
+ // @public
285
+ export enum KnownServerState {
286
+ Disabled = "Disabled",
287
+ Dropping = "Dropping",
288
+ Inaccessible = "Inaccessible",
289
+ Ready = "Ready"
290
+ }
291
+
292
+ // @public
293
+ export enum KnownServerVersion {
294
+ Eleven = "11",
295
+ Nine5 = "9.5",
296
+ Nine6 = "9.6",
297
+ Ten = "10",
298
+ Ten0 = "10.0",
299
+ Ten2 = "10.2"
300
+ }
301
+
302
+ // @public
303
+ export enum KnownSkuTier {
304
+ Basic = "Basic",
305
+ GeneralPurpose = "GeneralPurpose",
306
+ MemoryOptimized = "MemoryOptimized"
307
+ }
308
+
309
+ // @public
310
+ export enum KnownStorageAutogrow {
311
+ Disabled = "Disabled",
312
+ Enabled = "Enabled"
313
+ }
314
+
315
+ // @public
316
+ export enum KnownVirtualNetworkRuleState {
317
+ Deleting = "Deleting",
318
+ Initializing = "Initializing",
319
+ InProgress = "InProgress",
320
+ Ready = "Ready",
321
+ Unknown = "Unknown"
322
+ }
323
+
324
+ // @public
325
+ export interface LocationBasedPerformanceTier {
326
+ list(locationName: string, options?: LocationBasedPerformanceTierListOptionalParams): PagedAsyncIterableIterator<PerformanceTierProperties>;
327
+ }
328
+
329
+ // @public
330
+ export interface LocationBasedPerformanceTierListOptionalParams extends coreClient.OperationOptions {
331
+ }
332
+
333
+ // @public
334
+ export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult;
335
+
336
+ // @public
337
+ export interface LogFile extends ProxyResource {
338
+ readonly createdTime?: Date;
339
+ readonly lastModifiedTime?: Date;
340
+ sizeInKB?: number;
341
+ typePropertiesType?: string;
342
+ url?: string;
343
+ }
344
+
345
+ // @public
346
+ export interface LogFileListResult {
347
+ value?: LogFile[];
348
+ }
349
+
350
+ // @public
351
+ export interface LogFiles {
352
+ listByServer(resourceGroupName: string, serverName: string, options?: LogFilesListByServerOptionalParams): PagedAsyncIterableIterator<LogFile>;
353
+ }
354
+
355
+ // @public
356
+ export interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
357
+ }
358
+
359
+ // @public
360
+ export type LogFilesListByServerResponse = LogFileListResult;
361
+
362
+ // @public
363
+ export type MinimalTlsVersionEnum = string;
364
+
365
+ // @public
366
+ export interface NameAvailability {
367
+ message?: string;
368
+ nameAvailable?: boolean;
369
+ reason?: string;
370
+ }
371
+
372
+ // @public
373
+ export interface NameAvailabilityRequest {
374
+ name: string;
375
+ type?: string;
376
+ }
377
+
378
+ // @public
379
+ export interface Operation {
380
+ readonly display?: OperationDisplay;
381
+ readonly name?: string;
382
+ readonly origin?: OperationOrigin;
383
+ readonly properties?: {
384
+ [propertyName: string]: Record<string, unknown>;
385
+ };
386
+ }
387
+
388
+ // @public
389
+ export interface OperationDisplay {
390
+ readonly description?: string;
391
+ readonly operation?: string;
392
+ readonly provider?: string;
393
+ readonly resource?: string;
394
+ }
395
+
396
+ // @public
397
+ export interface OperationListResult {
398
+ value?: Operation[];
399
+ }
400
+
401
+ // @public
402
+ export type OperationOrigin = string;
403
+
404
+ // @public
405
+ export interface Operations {
406
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
407
+ }
408
+
409
+ // @public
410
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
411
+ }
412
+
413
+ // @public
414
+ export type OperationsListResponse = OperationListResult;
415
+
416
+ // @public
417
+ export interface PerformanceTierListResult {
418
+ value?: PerformanceTierProperties[];
419
+ }
420
+
421
+ // @public
422
+ export interface PerformanceTierProperties {
423
+ id?: string;
424
+ maxBackupRetentionDays?: number;
425
+ maxLargeStorageMB?: number;
426
+ maxStorageMB?: number;
427
+ minBackupRetentionDays?: number;
428
+ minLargeStorageMB?: number;
429
+ minStorageMB?: number;
430
+ serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[];
431
+ }
432
+
433
+ // @public
434
+ export interface PerformanceTierServiceLevelObjectives {
435
+ edition?: string;
436
+ hardwareGeneration?: string;
437
+ id?: string;
438
+ maxBackupRetentionDays?: number;
439
+ maxStorageMB?: number;
440
+ minBackupRetentionDays?: number;
441
+ minStorageMB?: number;
442
+ vCore?: number;
443
+ }
444
+
445
+ // @public (undocumented)
446
+ export class PostgreSQLManagementClient extends coreClient.ServiceClient {
447
+ // (undocumented)
448
+ $host: string;
449
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementClientOptionalParams);
450
+ // (undocumented)
451
+ checkNameAvailability: CheckNameAvailability;
452
+ // (undocumented)
453
+ configurations: Configurations;
454
+ // (undocumented)
455
+ databases: Databases;
456
+ // (undocumented)
457
+ firewallRules: FirewallRules;
458
+ // (undocumented)
459
+ locationBasedPerformanceTier: LocationBasedPerformanceTier;
460
+ // (undocumented)
461
+ logFiles: LogFiles;
462
+ // (undocumented)
463
+ operations: Operations;
464
+ // (undocumented)
465
+ privateEndpointConnections: PrivateEndpointConnections;
466
+ // (undocumented)
467
+ privateLinkResources: PrivateLinkResources;
468
+ // (undocumented)
469
+ recoverableServers: RecoverableServers;
470
+ // (undocumented)
471
+ replicas: Replicas;
472
+ // (undocumented)
473
+ serverAdministrators: ServerAdministrators;
474
+ // (undocumented)
475
+ serverBasedPerformanceTier: ServerBasedPerformanceTier;
476
+ // (undocumented)
477
+ serverKeys: ServerKeys;
478
+ // (undocumented)
479
+ serverParameters: ServerParameters;
480
+ // (undocumented)
481
+ servers: Servers;
482
+ // (undocumented)
483
+ serverSecurityAlertPolicies: ServerSecurityAlertPolicies;
484
+ // (undocumented)
485
+ subscriptionId: string;
486
+ // (undocumented)
487
+ virtualNetworkRules: VirtualNetworkRules;
488
+ }
489
+
490
+ // @public
491
+ export interface PostgreSQLManagementClientOptionalParams extends coreClient.ServiceClientOptions {
492
+ $host?: string;
493
+ endpoint?: string;
494
+ }
495
+
496
+ // @public
497
+ export interface PrivateEndpointConnection extends ProxyResource {
498
+ privateEndpoint?: PrivateEndpointProperty;
499
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
500
+ readonly provisioningState?: string;
501
+ }
502
+
503
+ // @public
504
+ export interface PrivateEndpointConnectionListResult {
505
+ readonly nextLink?: string;
506
+ readonly value?: PrivateEndpointConnection[];
507
+ }
508
+
509
+ // @public
510
+ export interface PrivateEndpointConnections {
511
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
512
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
513
+ beginDelete(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
514
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
515
+ beginUpdateTags(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: TagsObject, options?: PrivateEndpointConnectionsUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsUpdateTagsResponse>, PrivateEndpointConnectionsUpdateTagsResponse>>;
516
+ beginUpdateTagsAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: TagsObject, options?: PrivateEndpointConnectionsUpdateTagsOptionalParams): Promise<PrivateEndpointConnectionsUpdateTagsResponse>;
517
+ get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
518
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateEndpointConnectionsListByServerOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
519
+ }
520
+
521
+ // @public
522
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
523
+ resumeFrom?: string;
524
+ updateIntervalInMs?: number;
525
+ }
526
+
527
+ // @public
528
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
529
+
530
+ // @public
531
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
532
+ resumeFrom?: string;
533
+ updateIntervalInMs?: number;
534
+ }
535
+
536
+ // @public
537
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
538
+ }
539
+
540
+ // @public
541
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
542
+
543
+ // @public
544
+ export interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
545
+ }
546
+
547
+ // @public
548
+ export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
549
+
550
+ // @public
551
+ export interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
552
+ }
553
+
554
+ // @public
555
+ export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
556
+
557
+ // @public
558
+ export interface PrivateEndpointConnectionsUpdateTagsOptionalParams extends coreClient.OperationOptions {
559
+ resumeFrom?: string;
560
+ updateIntervalInMs?: number;
561
+ }
562
+
563
+ // @public
564
+ export type PrivateEndpointConnectionsUpdateTagsResponse = PrivateEndpointConnection;
565
+
566
+ // @public (undocumented)
567
+ export interface PrivateEndpointProperty {
568
+ id?: string;
569
+ }
570
+
571
+ // @public
572
+ export type PrivateEndpointProvisioningState = string;
573
+
574
+ // @public
575
+ export interface PrivateLinkResource extends ProxyResource {
576
+ readonly properties?: PrivateLinkResourceProperties;
577
+ }
578
+
579
+ // @public
580
+ export interface PrivateLinkResourceListResult {
581
+ readonly nextLink?: string;
582
+ readonly value?: PrivateLinkResource[];
583
+ }
584
+
585
+ // @public
586
+ export interface PrivateLinkResourceProperties {
587
+ readonly groupId?: string;
588
+ readonly requiredMembers?: string[];
589
+ }
590
+
591
+ // @public
592
+ export interface PrivateLinkResources {
593
+ get(resourceGroupName: string, serverName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
594
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateLinkResourcesListByServerOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
595
+ }
596
+
597
+ // @public
598
+ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
599
+ }
600
+
601
+ // @public
602
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
603
+
604
+ // @public
605
+ export interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
606
+ }
607
+
608
+ // @public
609
+ export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
610
+
611
+ // @public
612
+ export interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
613
+ }
614
+
615
+ // @public
616
+ export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
617
+
618
+ // @public
619
+ export type PrivateLinkServiceConnectionStateActionsRequire = string;
620
+
621
+ // @public (undocumented)
622
+ export interface PrivateLinkServiceConnectionStateProperty {
623
+ readonly actionsRequired?: string;
624
+ description: string;
625
+ status: string;
626
+ }
627
+
628
+ // @public
629
+ export type PrivateLinkServiceConnectionStateStatus = string;
630
+
631
+ // @public
632
+ export interface ProxyResource extends Resource {
633
+ }
634
+
635
+ // @public
636
+ export type PublicNetworkAccessEnum = string;
637
+
638
+ // @public
639
+ export interface RecoverableServerResource extends ProxyResource {
640
+ readonly edition?: string;
641
+ readonly hardwareGeneration?: string;
642
+ readonly lastAvailableBackupDateTime?: string;
643
+ readonly serviceLevelObjective?: string;
644
+ readonly vCore?: number;
645
+ readonly version?: string;
646
+ }
647
+
648
+ // @public
649
+ export interface RecoverableServers {
650
+ get(resourceGroupName: string, serverName: string, options?: RecoverableServersGetOptionalParams): Promise<RecoverableServersGetResponse>;
651
+ }
652
+
653
+ // @public
654
+ export interface RecoverableServersGetOptionalParams extends coreClient.OperationOptions {
655
+ }
656
+
657
+ // @public
658
+ export type RecoverableServersGetResponse = RecoverableServerResource;
659
+
660
+ // @public
661
+ export interface Replicas {
662
+ listByServer(resourceGroupName: string, serverName: string, options?: ReplicasListByServerOptionalParams): PagedAsyncIterableIterator<Server>;
663
+ }
664
+
665
+ // @public
666
+ export interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
667
+ }
668
+
669
+ // @public
670
+ export type ReplicasListByServerResponse = ServerListResult;
671
+
672
+ // @public
673
+ export interface Resource {
674
+ readonly id?: string;
675
+ readonly name?: string;
676
+ readonly type?: string;
677
+ }
678
+
679
+ // @public
680
+ export interface ResourceIdentity {
681
+ readonly principalId?: string;
682
+ readonly tenantId?: string;
683
+ type?: IdentityType;
684
+ }
685
+
686
+ // @public
687
+ export type SecurityAlertPolicyName = string;
688
+
689
+ // @public
690
+ export interface Server extends TrackedResource {
691
+ administratorLogin?: string;
692
+ readonly byokEnforcement?: string;
693
+ earliestRestoreDate?: Date;
694
+ fullyQualifiedDomainName?: string;
695
+ identity?: ResourceIdentity;
696
+ infrastructureEncryption?: InfrastructureEncryption;
697
+ masterServerId?: string;
698
+ minimalTlsVersion?: MinimalTlsVersionEnum;
699
+ readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
700
+ publicNetworkAccess?: PublicNetworkAccessEnum;
701
+ replicaCapacity?: number;
702
+ replicationRole?: string;
703
+ sku?: Sku;
704
+ sslEnforcement?: SslEnforcementEnum;
705
+ storageProfile?: StorageProfile;
706
+ userVisibleState?: ServerState;
707
+ version?: ServerVersion;
708
+ }
709
+
710
+ // @public
711
+ export interface ServerAdministratorResource extends ProxyResource {
712
+ administratorType?: "ActiveDirectory";
713
+ login?: string;
714
+ sid?: string;
715
+ tenantId?: string;
716
+ }
717
+
718
+ // @public
719
+ export interface ServerAdministratorResourceListResult {
720
+ value?: ServerAdministratorResource[];
721
+ }
722
+
723
+ // @public
724
+ export interface ServerAdministrators {
725
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, properties: ServerAdministratorResource, options?: ServerAdministratorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerAdministratorsCreateOrUpdateResponse>, ServerAdministratorsCreateOrUpdateResponse>>;
726
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, properties: ServerAdministratorResource, options?: ServerAdministratorsCreateOrUpdateOptionalParams): Promise<ServerAdministratorsCreateOrUpdateResponse>;
727
+ beginDelete(resourceGroupName: string, serverName: string, options?: ServerAdministratorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
728
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServerAdministratorsDeleteOptionalParams): Promise<void>;
729
+ get(resourceGroupName: string, serverName: string, options?: ServerAdministratorsGetOptionalParams): Promise<ServerAdministratorsGetResponse>;
730
+ list(resourceGroupName: string, serverName: string, options?: ServerAdministratorsListOptionalParams): PagedAsyncIterableIterator<ServerAdministratorResource>;
731
+ }
732
+
733
+ // @public
734
+ export interface ServerAdministratorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
735
+ resumeFrom?: string;
736
+ updateIntervalInMs?: number;
737
+ }
738
+
739
+ // @public
740
+ export type ServerAdministratorsCreateOrUpdateResponse = ServerAdministratorResource;
741
+
742
+ // @public
743
+ export interface ServerAdministratorsDeleteOptionalParams extends coreClient.OperationOptions {
744
+ resumeFrom?: string;
745
+ updateIntervalInMs?: number;
746
+ }
747
+
748
+ // @public
749
+ export interface ServerAdministratorsGetOptionalParams extends coreClient.OperationOptions {
750
+ }
751
+
752
+ // @public
753
+ export type ServerAdministratorsGetResponse = ServerAdministratorResource;
754
+
755
+ // @public
756
+ export interface ServerAdministratorsListOptionalParams extends coreClient.OperationOptions {
757
+ }
758
+
759
+ // @public
760
+ export type ServerAdministratorsListResponse = ServerAdministratorResourceListResult;
761
+
762
+ // @public
763
+ export interface ServerBasedPerformanceTier {
764
+ list(resourceGroupName: string, serverName: string, options?: ServerBasedPerformanceTierListOptionalParams): PagedAsyncIterableIterator<PerformanceTierProperties>;
765
+ }
766
+
767
+ // @public
768
+ export interface ServerBasedPerformanceTierListOptionalParams extends coreClient.OperationOptions {
769
+ }
770
+
771
+ // @public
772
+ export type ServerBasedPerformanceTierListResponse = PerformanceTierListResult;
773
+
774
+ // @public
775
+ export interface ServerForCreate {
776
+ identity?: ResourceIdentity;
777
+ location: string;
778
+ properties: ServerPropertiesForCreateUnion;
779
+ sku?: Sku;
780
+ tags?: {
781
+ [propertyName: string]: string;
782
+ };
783
+ }
784
+
785
+ // @public
786
+ export interface ServerKey extends ProxyResource {
787
+ readonly creationDate?: Date;
788
+ readonly kind?: string;
789
+ serverKeyType?: ServerKeyType;
790
+ uri?: string;
791
+ }
792
+
793
+ // @public
794
+ export interface ServerKeyListResult {
795
+ readonly nextLink?: string;
796
+ readonly value?: ServerKey[];
797
+ }
798
+
799
+ // @public
800
+ export interface ServerKeys {
801
+ beginCreateOrUpdate(serverName: string, keyName: string, resourceGroupName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerKeysCreateOrUpdateResponse>, ServerKeysCreateOrUpdateResponse>>;
802
+ beginCreateOrUpdateAndWait(serverName: string, keyName: string, resourceGroupName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams): Promise<ServerKeysCreateOrUpdateResponse>;
803
+ beginDelete(serverName: string, keyName: string, resourceGroupName: string, options?: ServerKeysDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
804
+ beginDeleteAndWait(serverName: string, keyName: string, resourceGroupName: string, options?: ServerKeysDeleteOptionalParams): Promise<void>;
805
+ get(resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysGetOptionalParams): Promise<ServerKeysGetResponse>;
806
+ list(resourceGroupName: string, serverName: string, options?: ServerKeysListOptionalParams): PagedAsyncIterableIterator<ServerKey>;
807
+ }
808
+
809
+ // @public
810
+ export interface ServerKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
811
+ resumeFrom?: string;
812
+ updateIntervalInMs?: number;
813
+ }
814
+
815
+ // @public
816
+ export type ServerKeysCreateOrUpdateResponse = ServerKey;
817
+
818
+ // @public
819
+ export interface ServerKeysDeleteOptionalParams extends coreClient.OperationOptions {
820
+ resumeFrom?: string;
821
+ updateIntervalInMs?: number;
822
+ }
823
+
824
+ // @public
825
+ export interface ServerKeysGetOptionalParams extends coreClient.OperationOptions {
826
+ }
827
+
828
+ // @public
829
+ export type ServerKeysGetResponse = ServerKey;
830
+
831
+ // @public
832
+ export interface ServerKeysListNextOptionalParams extends coreClient.OperationOptions {
833
+ }
834
+
835
+ // @public
836
+ export type ServerKeysListNextResponse = ServerKeyListResult;
837
+
838
+ // @public
839
+ export interface ServerKeysListOptionalParams extends coreClient.OperationOptions {
840
+ }
841
+
842
+ // @public
843
+ export type ServerKeysListResponse = ServerKeyListResult;
844
+
845
+ // @public
846
+ export type ServerKeyType = string;
847
+
848
+ // @public
849
+ export interface ServerListResult {
850
+ value?: Server[];
851
+ }
852
+
853
+ // @public
854
+ export interface ServerParameters {
855
+ beginListUpdateConfigurations(resourceGroupName: string, serverName: string, value: ConfigurationListResult, options?: ServerParametersListUpdateConfigurationsOptionalParams): Promise<PollerLike<PollOperationState<ServerParametersListUpdateConfigurationsResponse>, ServerParametersListUpdateConfigurationsResponse>>;
856
+ beginListUpdateConfigurationsAndWait(resourceGroupName: string, serverName: string, value: ConfigurationListResult, options?: ServerParametersListUpdateConfigurationsOptionalParams): Promise<ServerParametersListUpdateConfigurationsResponse>;
857
+ }
858
+
859
+ // @public
860
+ export interface ServerParametersListUpdateConfigurationsOptionalParams extends coreClient.OperationOptions {
861
+ resumeFrom?: string;
862
+ updateIntervalInMs?: number;
863
+ }
864
+
865
+ // @public
866
+ export type ServerParametersListUpdateConfigurationsResponse = ConfigurationListResult;
867
+
868
+ // @public
869
+ export interface ServerPrivateEndpointConnection {
870
+ readonly id?: string;
871
+ readonly properties?: ServerPrivateEndpointConnectionProperties;
872
+ }
873
+
874
+ // @public
875
+ export interface ServerPrivateEndpointConnectionProperties {
876
+ privateEndpoint?: PrivateEndpointProperty;
877
+ privateLinkServiceConnectionState?: ServerPrivateLinkServiceConnectionStateProperty;
878
+ readonly provisioningState?: PrivateEndpointProvisioningState;
879
+ }
880
+
881
+ // @public (undocumented)
882
+ export interface ServerPrivateLinkServiceConnectionStateProperty {
883
+ readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
884
+ description: string;
885
+ status: PrivateLinkServiceConnectionStateStatus;
886
+ }
887
+
888
+ // @public
889
+ export interface ServerPropertiesForCreate {
890
+ createMode: "Default" | "PointInTimeRestore" | "GeoRestore" | "Replica";
891
+ infrastructureEncryption?: InfrastructureEncryption;
892
+ minimalTlsVersion?: MinimalTlsVersionEnum;
893
+ publicNetworkAccess?: PublicNetworkAccessEnum;
894
+ sslEnforcement?: SslEnforcementEnum;
895
+ storageProfile?: StorageProfile;
896
+ version?: ServerVersion;
897
+ }
898
+
899
+ // @public (undocumented)
900
+ export type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
901
+
902
+ // @public
903
+ export interface ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate {
904
+ administratorLogin: string;
905
+ administratorLoginPassword: string;
906
+ createMode: "Default";
907
+ }
908
+
909
+ // @public
910
+ export interface ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
911
+ createMode: "GeoRestore";
912
+ sourceServerId: string;
913
+ }
914
+
915
+ // @public
916
+ export interface ServerPropertiesForReplica extends ServerPropertiesForCreate {
917
+ createMode: "Replica";
918
+ sourceServerId: string;
919
+ }
920
+
921
+ // @public
922
+ export interface ServerPropertiesForRestore extends ServerPropertiesForCreate {
923
+ createMode: "PointInTimeRestore";
924
+ restorePointInTime: Date;
925
+ sourceServerId: string;
926
+ }
927
+
928
+ // @public
929
+ export interface Servers {
930
+ beginCreate(resourceGroupName: string, serverName: string, parameters: ServerForCreate, options?: ServersCreateOptionalParams): Promise<PollerLike<PollOperationState<ServersCreateResponse>, ServersCreateResponse>>;
931
+ beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: ServerForCreate, options?: ServersCreateOptionalParams): Promise<ServersCreateResponse>;
932
+ beginDelete(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
933
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<void>;
934
+ beginRestart(resourceGroupName: string, serverName: string, options?: ServersRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
935
+ beginRestartAndWait(resourceGroupName: string, serverName: string, options?: ServersRestartOptionalParams): Promise<void>;
936
+ beginUpdate(resourceGroupName: string, serverName: string, parameters: ServerUpdateParameters, options?: ServersUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServersUpdateResponse>, ServersUpdateResponse>>;
937
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ServerUpdateParameters, options?: ServersUpdateOptionalParams): Promise<ServersUpdateResponse>;
938
+ get(resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ServersGetResponse>;
939
+ list(options?: ServersListOptionalParams): PagedAsyncIterableIterator<Server>;
940
+ listByResourceGroup(resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Server>;
941
+ }
942
+
943
+ // @public
944
+ export interface ServersCreateOptionalParams extends coreClient.OperationOptions {
945
+ resumeFrom?: string;
946
+ updateIntervalInMs?: number;
947
+ }
948
+
949
+ // @public
950
+ export type ServersCreateResponse = Server;
951
+
952
+ // @public
953
+ export interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
954
+ resumeFrom?: string;
955
+ updateIntervalInMs?: number;
956
+ }
957
+
958
+ // @public
959
+ export interface ServerSecurityAlertPolicies {
960
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerSecurityAlertPoliciesCreateOrUpdateResponse>, ServerSecurityAlertPoliciesCreateOrUpdateResponse>>;
961
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ServerSecurityAlertPoliciesCreateOrUpdateResponse>;
962
+ get(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, options?: ServerSecurityAlertPoliciesGetOptionalParams): Promise<ServerSecurityAlertPoliciesGetResponse>;
963
+ listByServer(resourceGroupName: string, serverName: string, options?: ServerSecurityAlertPoliciesListByServerOptionalParams): PagedAsyncIterableIterator<ServerSecurityAlertPolicy>;
964
+ }
965
+
966
+ // @public
967
+ export interface ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
968
+ resumeFrom?: string;
969
+ updateIntervalInMs?: number;
970
+ }
971
+
972
+ // @public
973
+ export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy;
974
+
975
+ // @public
976
+ export interface ServerSecurityAlertPoliciesGetOptionalParams extends coreClient.OperationOptions {
977
+ }
978
+
979
+ // @public
980
+ export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy;
981
+
982
+ // @public
983
+ export interface ServerSecurityAlertPoliciesListByServerNextOptionalParams extends coreClient.OperationOptions {
984
+ }
985
+
986
+ // @public
987
+ export type ServerSecurityAlertPoliciesListByServerNextResponse = ServerSecurityAlertPolicyListResult;
988
+
989
+ // @public
990
+ export interface ServerSecurityAlertPoliciesListByServerOptionalParams extends coreClient.OperationOptions {
991
+ }
992
+
993
+ // @public
994
+ export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
995
+
996
+ // @public
997
+ export interface ServerSecurityAlertPolicy extends ProxyResource {
998
+ disabledAlerts?: string[];
999
+ emailAccountAdmins?: boolean;
1000
+ emailAddresses?: string[];
1001
+ retentionDays?: number;
1002
+ state?: ServerSecurityAlertPolicyState;
1003
+ storageAccountAccessKey?: string;
1004
+ storageEndpoint?: string;
1005
+ }
1006
+
1007
+ // @public
1008
+ export interface ServerSecurityAlertPolicyListResult {
1009
+ readonly nextLink?: string;
1010
+ readonly value?: ServerSecurityAlertPolicy[];
1011
+ }
1012
+
1013
+ // @public
1014
+ export type ServerSecurityAlertPolicyState = "Enabled" | "Disabled";
1015
+
1016
+ // @public
1017
+ export interface ServersGetOptionalParams extends coreClient.OperationOptions {
1018
+ }
1019
+
1020
+ // @public
1021
+ export type ServersGetResponse = Server;
1022
+
1023
+ // @public
1024
+ export interface ServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1025
+ }
1026
+
1027
+ // @public
1028
+ export type ServersListByResourceGroupResponse = ServerListResult;
1029
+
1030
+ // @public
1031
+ export interface ServersListOptionalParams extends coreClient.OperationOptions {
1032
+ }
1033
+
1034
+ // @public
1035
+ export type ServersListResponse = ServerListResult;
1036
+
1037
+ // @public
1038
+ export interface ServersRestartOptionalParams extends coreClient.OperationOptions {
1039
+ resumeFrom?: string;
1040
+ updateIntervalInMs?: number;
1041
+ }
1042
+
1043
+ // @public
1044
+ export type ServerState = string;
1045
+
1046
+ // @public
1047
+ export interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
1048
+ resumeFrom?: string;
1049
+ updateIntervalInMs?: number;
1050
+ }
1051
+
1052
+ // @public
1053
+ export type ServersUpdateResponse = Server;
1054
+
1055
+ // @public
1056
+ export interface ServerUpdateParameters {
1057
+ administratorLoginPassword?: string;
1058
+ identity?: ResourceIdentity;
1059
+ minimalTlsVersion?: MinimalTlsVersionEnum;
1060
+ publicNetworkAccess?: PublicNetworkAccessEnum;
1061
+ replicationRole?: string;
1062
+ sku?: Sku;
1063
+ sslEnforcement?: SslEnforcementEnum;
1064
+ storageProfile?: StorageProfile;
1065
+ tags?: {
1066
+ [propertyName: string]: string;
1067
+ };
1068
+ version?: ServerVersion;
1069
+ }
1070
+
1071
+ // @public
1072
+ export type ServerVersion = string;
1073
+
1074
+ // @public
1075
+ export interface Sku {
1076
+ capacity?: number;
1077
+ family?: string;
1078
+ name: string;
1079
+ size?: string;
1080
+ tier?: SkuTier;
1081
+ }
1082
+
1083
+ // @public
1084
+ export type SkuTier = string;
1085
+
1086
+ // @public
1087
+ export type SslEnforcementEnum = "Enabled" | "Disabled";
1088
+
1089
+ // @public
1090
+ export type StorageAutogrow = string;
1091
+
1092
+ // @public
1093
+ export interface StorageProfile {
1094
+ backupRetentionDays?: number;
1095
+ geoRedundantBackup?: GeoRedundantBackup;
1096
+ storageAutogrow?: StorageAutogrow;
1097
+ storageMB?: number;
1098
+ }
1099
+
1100
+ // @public
1101
+ export interface TagsObject {
1102
+ tags?: {
1103
+ [propertyName: string]: string;
1104
+ };
1105
+ }
1106
+
1107
+ // @public
1108
+ export interface TrackedResource extends Resource {
1109
+ location: string;
1110
+ tags?: {
1111
+ [propertyName: string]: string;
1112
+ };
1113
+ }
1114
+
1115
+ // @public
1116
+ export interface VirtualNetworkRule extends ProxyResource {
1117
+ ignoreMissingVnetServiceEndpoint?: boolean;
1118
+ readonly state?: VirtualNetworkRuleState;
1119
+ virtualNetworkSubnetId?: string;
1120
+ }
1121
+
1122
+ // @public
1123
+ export interface VirtualNetworkRuleListResult {
1124
+ readonly nextLink?: string;
1125
+ readonly value?: VirtualNetworkRule[];
1126
+ }
1127
+
1128
+ // @public
1129
+ export interface VirtualNetworkRules {
1130
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkRulesCreateOrUpdateResponse>, VirtualNetworkRulesCreateOrUpdateResponse>>;
1131
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<VirtualNetworkRulesCreateOrUpdateResponse>;
1132
+ beginDelete(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1133
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<void>;
1134
+ get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesGetOptionalParams): Promise<VirtualNetworkRulesGetResponse>;
1135
+ listByServer(resourceGroupName: string, serverName: string, options?: VirtualNetworkRulesListByServerOptionalParams): PagedAsyncIterableIterator<VirtualNetworkRule>;
1136
+ }
1137
+
1138
+ // @public
1139
+ export interface VirtualNetworkRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1140
+ resumeFrom?: string;
1141
+ updateIntervalInMs?: number;
1142
+ }
1143
+
1144
+ // @public
1145
+ export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule;
1146
+
1147
+ // @public
1148
+ export interface VirtualNetworkRulesDeleteOptionalParams extends coreClient.OperationOptions {
1149
+ resumeFrom?: string;
1150
+ updateIntervalInMs?: number;
1151
+ }
1152
+
1153
+ // @public
1154
+ export interface VirtualNetworkRulesGetOptionalParams extends coreClient.OperationOptions {
1155
+ }
1156
+
1157
+ // @public
1158
+ export type VirtualNetworkRulesGetResponse = VirtualNetworkRule;
1159
+
1160
+ // @public
1161
+ export interface VirtualNetworkRulesListByServerNextOptionalParams extends coreClient.OperationOptions {
1162
+ }
1163
+
1164
+ // @public
1165
+ export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult;
1166
+
1167
+ // @public
1168
+ export interface VirtualNetworkRulesListByServerOptionalParams extends coreClient.OperationOptions {
1169
+ }
1170
+
1171
+ // @public
1172
+ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult;
1173
+
1174
+ // @public
1175
+ export type VirtualNetworkRuleState = string;
1176
+
1177
+ // (No @packageDocumentation comment for this package)
1178
+
1179
+ ```