@azure/arm-mysql 5.0.2-alpha.20221128.1 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -10
- package/dist/index.js +378 -135
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +93 -45
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +47 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/mySQLManagementClient.d.ts.map +1 -1
- package/dist-esm/src/mySQLManagementClient.js +20 -18
- package/dist-esm/src/mySQLManagementClient.js.map +1 -1
- package/dist-esm/src/operations/advisors.d.ts.map +1 -1
- package/dist-esm/src/operations/advisors.js +19 -7
- package/dist-esm/src/operations/advisors.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +8 -4
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/databases.d.ts.map +1 -1
- package/dist-esm/src/operations/databases.js +8 -4
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +8 -4
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts.map +1 -1
- package/dist-esm/src/operations/locationBasedPerformanceTier.js +8 -4
- package/dist-esm/src/operations/locationBasedPerformanceTier.js.map +1 -1
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.d.ts.map +1 -1
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js +19 -7
- package/dist-esm/src/operations/locationBasedRecommendedActionSessionsResult.js.map +1 -1
- package/dist-esm/src/operations/logFiles.d.ts.map +1 -1
- package/dist-esm/src/operations/logFiles.js +8 -4
- package/dist-esm/src/operations/logFiles.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +19 -7
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +19 -7
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/queryTexts.d.ts.map +1 -1
- package/dist-esm/src/operations/queryTexts.js +19 -7
- package/dist-esm/src/operations/queryTexts.js.map +1 -1
- package/dist-esm/src/operations/recommendedActions.d.ts.map +1 -1
- package/dist-esm/src/operations/recommendedActions.js +19 -7
- package/dist-esm/src/operations/recommendedActions.js.map +1 -1
- package/dist-esm/src/operations/replicas.d.ts.map +1 -1
- package/dist-esm/src/operations/replicas.js +8 -4
- package/dist-esm/src/operations/replicas.js.map +1 -1
- package/dist-esm/src/operations/serverAdministrators.d.ts.map +1 -1
- package/dist-esm/src/operations/serverAdministrators.js +8 -4
- package/dist-esm/src/operations/serverAdministrators.js.map +1 -1
- package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts.map +1 -1
- package/dist-esm/src/operations/serverBasedPerformanceTier.js +8 -4
- package/dist-esm/src/operations/serverBasedPerformanceTier.js.map +1 -1
- package/dist-esm/src/operations/serverKeys.d.ts.map +1 -1
- package/dist-esm/src/operations/serverKeys.js +19 -7
- package/dist-esm/src/operations/serverKeys.js.map +1 -1
- package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/serverSecurityAlertPolicies.js +19 -7
- package/dist-esm/src/operations/serverSecurityAlertPolicies.js.map +1 -1
- package/dist-esm/src/operations/servers.d.ts.map +1 -1
- package/dist-esm/src/operations/servers.js +16 -8
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/src/operations/topQueryStatistics.d.ts.map +1 -1
- package/dist-esm/src/operations/topQueryStatistics.js +19 -7
- package/dist-esm/src/operations/topQueryStatistics.js.map +1 -1
- package/dist-esm/src/operations/virtualNetworkRules.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualNetworkRules.js +19 -7
- package/dist-esm/src/operations/virtualNetworkRules.js.map +1 -1
- package/dist-esm/src/operations/waitStatistics.d.ts.map +1 -1
- package/dist-esm/src/operations/waitStatistics.js +19 -7
- package/dist-esm/src/operations/waitStatistics.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +13 -9
- package/review/arm-mysql.api.md +92 -135
- package/src/index.ts +1 -0
- package/src/models/index.ts +94 -45
- package/src/mySQLManagementClient.ts +26 -20
- package/src/operations/advisors.ts +23 -13
- package/src/operations/configurations.ts +13 -11
- package/src/operations/databases.ts +13 -11
- package/src/operations/firewallRules.ts +13 -11
- package/src/operations/locationBasedPerformanceTier.ts +10 -5
- package/src/operations/locationBasedRecommendedActionSessionsResult.ts +26 -8
- package/src/operations/logFiles.ts +11 -9
- package/src/operations/privateEndpointConnections.ts +23 -13
- package/src/operations/privateLinkResources.ts +22 -12
- package/src/operations/queryTexts.ts +28 -14
- package/src/operations/recommendedActions.ts +28 -14
- package/src/operations/replicas.ts +11 -9
- package/src/operations/serverAdministrators.ts +17 -7
- package/src/operations/serverBasedPerformanceTier.ts +15 -5
- package/src/operations/serverKeys.ts +26 -8
- package/src/operations/serverSecurityAlertPolicies.ts +23 -13
- package/src/operations/servers.ts +25 -11
- package/src/operations/topQueryStatistics.ts +28 -14
- package/src/operations/virtualNetworkRules.ts +23 -13
- package/src/operations/waitStatistics.ts +28 -14
- package/src/pagingHelper.ts +39 -0
- package/types/arm-mysql.d.ts +102 -45
package/review/arm-mysql.api.md
CHANGED
|
@@ -11,9 +11,9 @@ import { PollerLike } from '@azure/core-lro';
|
|
|
11
11
|
import { PollOperationState } from '@azure/core-lro';
|
|
12
12
|
|
|
13
13
|
// @public
|
|
14
|
-
export
|
|
14
|
+
export interface Advisor extends ProxyResource {
|
|
15
15
|
properties?: Record<string, unknown>;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
|
|
18
18
|
// @public
|
|
19
19
|
export interface Advisors {
|
|
@@ -71,14 +71,14 @@ export interface CloudErrorAutoGenerated {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// @public
|
|
74
|
-
export
|
|
75
|
-
value?: string;
|
|
76
|
-
readonly description?: string;
|
|
77
|
-
readonly defaultValue?: string;
|
|
78
|
-
readonly dataType?: string;
|
|
74
|
+
export interface Configuration extends ProxyResource {
|
|
79
75
|
readonly allowedValues?: string;
|
|
76
|
+
readonly dataType?: string;
|
|
77
|
+
readonly defaultValue?: string;
|
|
78
|
+
readonly description?: string;
|
|
80
79
|
source?: string;
|
|
81
|
-
|
|
80
|
+
value?: string;
|
|
81
|
+
}
|
|
82
82
|
|
|
83
83
|
// @public
|
|
84
84
|
export interface ConfigurationListResult {
|
|
@@ -126,10 +126,10 @@ export interface CreateRecommendedActionSessionOptionalParams extends coreClient
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
// @public
|
|
129
|
-
export
|
|
129
|
+
export interface Database extends ProxyResource {
|
|
130
130
|
charset?: string;
|
|
131
131
|
collation?: string;
|
|
132
|
-
}
|
|
132
|
+
}
|
|
133
133
|
|
|
134
134
|
// @public
|
|
135
135
|
export interface DatabaseListResult {
|
|
@@ -191,10 +191,10 @@ export interface ErrorResponse {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
// @public
|
|
194
|
-
export
|
|
195
|
-
startIpAddress: string;
|
|
194
|
+
export interface FirewallRule extends ProxyResource {
|
|
196
195
|
endIpAddress: string;
|
|
197
|
-
|
|
196
|
+
startIpAddress: string;
|
|
197
|
+
}
|
|
198
198
|
|
|
199
199
|
// @public
|
|
200
200
|
export interface FirewallRuleListResult {
|
|
@@ -243,6 +243,9 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult;
|
|
|
243
243
|
// @public
|
|
244
244
|
export type GeoRedundantBackup = string;
|
|
245
245
|
|
|
246
|
+
// @public
|
|
247
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
248
|
+
|
|
246
249
|
// @public
|
|
247
250
|
export type IdentityType = string;
|
|
248
251
|
|
|
@@ -251,27 +254,20 @@ export type InfrastructureEncryption = string;
|
|
|
251
254
|
|
|
252
255
|
// @public
|
|
253
256
|
export enum KnownCreateMode {
|
|
254
|
-
// (undocumented)
|
|
255
257
|
Default = "Default",
|
|
256
|
-
// (undocumented)
|
|
257
258
|
GeoRestore = "GeoRestore",
|
|
258
|
-
// (undocumented)
|
|
259
259
|
PointInTimeRestore = "PointInTimeRestore",
|
|
260
|
-
// (undocumented)
|
|
261
260
|
Replica = "Replica"
|
|
262
261
|
}
|
|
263
262
|
|
|
264
263
|
// @public
|
|
265
264
|
export enum KnownGeoRedundantBackup {
|
|
266
|
-
// (undocumented)
|
|
267
265
|
Disabled = "Disabled",
|
|
268
|
-
// (undocumented)
|
|
269
266
|
Enabled = "Enabled"
|
|
270
267
|
}
|
|
271
268
|
|
|
272
269
|
// @public
|
|
273
270
|
export enum KnownIdentityType {
|
|
274
|
-
// (undocumented)
|
|
275
271
|
SystemAssigned = "SystemAssigned"
|
|
276
272
|
}
|
|
277
273
|
|
|
@@ -283,137 +279,97 @@ export enum KnownInfrastructureEncryption {
|
|
|
283
279
|
|
|
284
280
|
// @public
|
|
285
281
|
export enum KnownMinimalTlsVersionEnum {
|
|
286
|
-
// (undocumented)
|
|
287
282
|
TLS10 = "TLS1_0",
|
|
288
|
-
// (undocumented)
|
|
289
283
|
TLS11 = "TLS1_1",
|
|
290
|
-
// (undocumented)
|
|
291
284
|
TLS12 = "TLS1_2",
|
|
292
|
-
// (undocumented)
|
|
293
285
|
TLSEnforcementDisabled = "TLSEnforcementDisabled"
|
|
294
286
|
}
|
|
295
287
|
|
|
296
288
|
// @public
|
|
297
289
|
export enum KnownOperationOrigin {
|
|
298
|
-
// (undocumented)
|
|
299
290
|
NotSpecified = "NotSpecified",
|
|
300
|
-
// (undocumented)
|
|
301
291
|
System = "system",
|
|
302
|
-
// (undocumented)
|
|
303
292
|
User = "user"
|
|
304
293
|
}
|
|
305
294
|
|
|
306
295
|
// @public
|
|
307
296
|
export enum KnownPrivateEndpointProvisioningState {
|
|
308
|
-
// (undocumented)
|
|
309
297
|
Approving = "Approving",
|
|
310
|
-
// (undocumented)
|
|
311
298
|
Dropping = "Dropping",
|
|
312
|
-
// (undocumented)
|
|
313
299
|
Failed = "Failed",
|
|
314
|
-
// (undocumented)
|
|
315
300
|
Ready = "Ready",
|
|
316
|
-
// (undocumented)
|
|
317
301
|
Rejecting = "Rejecting"
|
|
318
302
|
}
|
|
319
303
|
|
|
320
304
|
// @public
|
|
321
305
|
export enum KnownPrivateLinkServiceConnectionStateActionsRequire {
|
|
322
|
-
// (undocumented)
|
|
323
306
|
None = "None"
|
|
324
307
|
}
|
|
325
308
|
|
|
326
309
|
// @public
|
|
327
310
|
export enum KnownPrivateLinkServiceConnectionStateStatus {
|
|
328
|
-
// (undocumented)
|
|
329
311
|
Approved = "Approved",
|
|
330
|
-
// (undocumented)
|
|
331
312
|
Disconnected = "Disconnected",
|
|
332
|
-
// (undocumented)
|
|
333
313
|
Pending = "Pending",
|
|
334
|
-
// (undocumented)
|
|
335
314
|
Rejected = "Rejected"
|
|
336
315
|
}
|
|
337
316
|
|
|
338
317
|
// @public
|
|
339
318
|
export enum KnownPublicNetworkAccessEnum {
|
|
340
|
-
// (undocumented)
|
|
341
319
|
Disabled = "Disabled",
|
|
342
|
-
// (undocumented)
|
|
343
320
|
Enabled = "Enabled"
|
|
344
321
|
}
|
|
345
322
|
|
|
346
323
|
// @public
|
|
347
324
|
export enum KnownQueryPerformanceInsightResetDataResultState {
|
|
348
|
-
// (undocumented)
|
|
349
325
|
Failed = "Failed",
|
|
350
|
-
// (undocumented)
|
|
351
326
|
Succeeded = "Succeeded"
|
|
352
327
|
}
|
|
353
328
|
|
|
354
329
|
// @public
|
|
355
330
|
export enum KnownSecurityAlertPolicyName {
|
|
356
|
-
// (undocumented)
|
|
357
331
|
Default = "Default"
|
|
358
332
|
}
|
|
359
333
|
|
|
360
334
|
// @public
|
|
361
335
|
export enum KnownServerKeyType {
|
|
362
|
-
// (undocumented)
|
|
363
336
|
AzureKeyVault = "AzureKeyVault"
|
|
364
337
|
}
|
|
365
338
|
|
|
366
339
|
// @public
|
|
367
340
|
export enum KnownServerState {
|
|
368
|
-
// (undocumented)
|
|
369
341
|
Disabled = "Disabled",
|
|
370
|
-
// (undocumented)
|
|
371
342
|
Dropping = "Dropping",
|
|
372
|
-
// (undocumented)
|
|
373
343
|
Inaccessible = "Inaccessible",
|
|
374
|
-
// (undocumented)
|
|
375
344
|
Ready = "Ready"
|
|
376
345
|
}
|
|
377
346
|
|
|
378
347
|
// @public
|
|
379
348
|
export enum KnownServerVersion {
|
|
380
|
-
// (undocumented)
|
|
381
349
|
Eight0 = "8.0",
|
|
382
|
-
// (undocumented)
|
|
383
350
|
Five6 = "5.6",
|
|
384
|
-
// (undocumented)
|
|
385
351
|
Five7 = "5.7"
|
|
386
352
|
}
|
|
387
353
|
|
|
388
354
|
// @public
|
|
389
355
|
export enum KnownSkuTier {
|
|
390
|
-
// (undocumented)
|
|
391
356
|
Basic = "Basic",
|
|
392
|
-
// (undocumented)
|
|
393
357
|
GeneralPurpose = "GeneralPurpose",
|
|
394
|
-
// (undocumented)
|
|
395
358
|
MemoryOptimized = "MemoryOptimized"
|
|
396
359
|
}
|
|
397
360
|
|
|
398
361
|
// @public
|
|
399
362
|
export enum KnownStorageAutogrow {
|
|
400
|
-
// (undocumented)
|
|
401
363
|
Disabled = "Disabled",
|
|
402
|
-
// (undocumented)
|
|
403
364
|
Enabled = "Enabled"
|
|
404
365
|
}
|
|
405
366
|
|
|
406
367
|
// @public
|
|
407
368
|
export enum KnownVirtualNetworkRuleState {
|
|
408
|
-
// (undocumented)
|
|
409
369
|
Deleting = "Deleting",
|
|
410
|
-
// (undocumented)
|
|
411
370
|
Initializing = "Initializing",
|
|
412
|
-
// (undocumented)
|
|
413
371
|
InProgress = "InProgress",
|
|
414
|
-
// (undocumented)
|
|
415
372
|
Ready = "Ready",
|
|
416
|
-
// (undocumented)
|
|
417
373
|
Unknown = "Unknown"
|
|
418
374
|
}
|
|
419
375
|
|
|
@@ -461,13 +417,13 @@ export interface LocationBasedRecommendedActionSessionsResultListOptionalParams
|
|
|
461
417
|
export type LocationBasedRecommendedActionSessionsResultListResponse = RecommendationActionsResultList;
|
|
462
418
|
|
|
463
419
|
// @public
|
|
464
|
-
export
|
|
465
|
-
sizeInKB?: number;
|
|
420
|
+
export interface LogFile extends ProxyResource {
|
|
466
421
|
readonly createdTime?: Date;
|
|
467
422
|
readonly lastModifiedTime?: Date;
|
|
423
|
+
sizeInKB?: number;
|
|
468
424
|
typePropertiesType?: string;
|
|
469
425
|
url?: string;
|
|
470
|
-
}
|
|
426
|
+
}
|
|
471
427
|
|
|
472
428
|
// @public
|
|
473
429
|
export interface LogFileListResult {
|
|
@@ -638,11 +594,11 @@ export interface PerformanceTierServiceLevelObjectives {
|
|
|
638
594
|
}
|
|
639
595
|
|
|
640
596
|
// @public
|
|
641
|
-
export
|
|
597
|
+
export interface PrivateEndpointConnection extends ProxyResource {
|
|
642
598
|
privateEndpoint?: PrivateEndpointProperty;
|
|
643
599
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
|
|
644
600
|
readonly provisioningState?: string;
|
|
645
|
-
}
|
|
601
|
+
}
|
|
646
602
|
|
|
647
603
|
// @public
|
|
648
604
|
export interface PrivateEndpointConnectionListResult {
|
|
@@ -716,9 +672,9 @@ export interface PrivateEndpointProperty {
|
|
|
716
672
|
export type PrivateEndpointProvisioningState = string;
|
|
717
673
|
|
|
718
674
|
// @public
|
|
719
|
-
export
|
|
675
|
+
export interface PrivateLinkResource extends ProxyResource {
|
|
720
676
|
readonly properties?: PrivateLinkResourceProperties;
|
|
721
|
-
}
|
|
677
|
+
}
|
|
722
678
|
|
|
723
679
|
// @public
|
|
724
680
|
export interface PrivateLinkResourceListResult {
|
|
@@ -773,7 +729,8 @@ export interface PrivateLinkServiceConnectionStateProperty {
|
|
|
773
729
|
export type PrivateLinkServiceConnectionStateStatus = string;
|
|
774
730
|
|
|
775
731
|
// @public
|
|
776
|
-
export
|
|
732
|
+
export interface ProxyResource extends Resource {
|
|
733
|
+
}
|
|
777
734
|
|
|
778
735
|
// @public
|
|
779
736
|
export type PublicNetworkAccessEnum = string;
|
|
@@ -788,24 +745,24 @@ export interface QueryPerformanceInsightResetDataResult {
|
|
|
788
745
|
export type QueryPerformanceInsightResetDataResultState = string;
|
|
789
746
|
|
|
790
747
|
// @public
|
|
791
|
-
export
|
|
792
|
-
queryId?: string;
|
|
793
|
-
startTime?: Date;
|
|
794
|
-
endTime?: Date;
|
|
748
|
+
export interface QueryStatistic extends ProxyResource {
|
|
795
749
|
aggregationFunction?: string;
|
|
796
750
|
databaseNames?: string[];
|
|
797
|
-
|
|
798
|
-
metricName?: string;
|
|
751
|
+
endTime?: Date;
|
|
799
752
|
metricDisplayName?: string;
|
|
753
|
+
metricName?: string;
|
|
800
754
|
metricValue?: number;
|
|
801
755
|
metricValueUnit?: string;
|
|
802
|
-
|
|
756
|
+
queryExecutionCount?: number;
|
|
757
|
+
queryId?: string;
|
|
758
|
+
startTime?: Date;
|
|
759
|
+
}
|
|
803
760
|
|
|
804
761
|
// @public
|
|
805
|
-
export
|
|
762
|
+
export interface QueryText extends ProxyResource {
|
|
806
763
|
queryId?: string;
|
|
807
764
|
queryText?: string;
|
|
808
|
-
}
|
|
765
|
+
}
|
|
809
766
|
|
|
810
767
|
// @public
|
|
811
768
|
export interface QueryTexts {
|
|
@@ -841,18 +798,18 @@ export interface QueryTextsResultList {
|
|
|
841
798
|
}
|
|
842
799
|
|
|
843
800
|
// @public
|
|
844
|
-
export
|
|
845
|
-
advisorName?: string;
|
|
846
|
-
sessionId?: string;
|
|
801
|
+
export interface RecommendationAction extends ProxyResource {
|
|
847
802
|
actionId?: number;
|
|
803
|
+
advisorName?: string;
|
|
848
804
|
createdTime?: Date;
|
|
849
|
-
expirationTime?: Date;
|
|
850
|
-
reason?: string;
|
|
851
|
-
recommendationType?: string;
|
|
852
805
|
details?: {
|
|
853
806
|
[propertyName: string]: string;
|
|
854
807
|
};
|
|
855
|
-
|
|
808
|
+
expirationTime?: Date;
|
|
809
|
+
reason?: string;
|
|
810
|
+
recommendationType?: string;
|
|
811
|
+
sessionId?: string;
|
|
812
|
+
}
|
|
856
813
|
|
|
857
814
|
// @public
|
|
858
815
|
export interface RecommendationActionsResultList {
|
|
@@ -897,14 +854,14 @@ export interface RecommendedActionsListByServerOptionalParams extends coreClient
|
|
|
897
854
|
export type RecommendedActionsListByServerResponse = RecommendationActionsResultList;
|
|
898
855
|
|
|
899
856
|
// @public
|
|
900
|
-
export
|
|
857
|
+
export interface RecoverableServerResource extends ProxyResource {
|
|
858
|
+
readonly edition?: string;
|
|
859
|
+
readonly hardwareGeneration?: string;
|
|
901
860
|
readonly lastAvailableBackupDateTime?: string;
|
|
902
861
|
readonly serviceLevelObjective?: string;
|
|
903
|
-
readonly edition?: string;
|
|
904
862
|
readonly vCore?: number;
|
|
905
|
-
readonly hardwareGeneration?: string;
|
|
906
863
|
readonly version?: string;
|
|
907
|
-
}
|
|
864
|
+
}
|
|
908
865
|
|
|
909
866
|
// @public
|
|
910
867
|
export interface RecoverableServers {
|
|
@@ -955,33 +912,33 @@ export interface ResourceIdentity {
|
|
|
955
912
|
export type SecurityAlertPolicyName = string;
|
|
956
913
|
|
|
957
914
|
// @public
|
|
958
|
-
export
|
|
959
|
-
identity?: ResourceIdentity;
|
|
960
|
-
sku?: Sku;
|
|
915
|
+
export interface Server extends TrackedResource {
|
|
961
916
|
administratorLogin?: string;
|
|
962
|
-
version?: ServerVersion;
|
|
963
|
-
sslEnforcement?: SslEnforcementEnum;
|
|
964
|
-
minimalTlsVersion?: MinimalTlsVersionEnum;
|
|
965
917
|
readonly byokEnforcement?: string;
|
|
966
|
-
infrastructureEncryption?: InfrastructureEncryption;
|
|
967
|
-
userVisibleState?: ServerState;
|
|
968
|
-
fullyQualifiedDomainName?: string;
|
|
969
918
|
earliestRestoreDate?: Date;
|
|
970
|
-
|
|
971
|
-
|
|
919
|
+
fullyQualifiedDomainName?: string;
|
|
920
|
+
identity?: ResourceIdentity;
|
|
921
|
+
infrastructureEncryption?: InfrastructureEncryption;
|
|
972
922
|
masterServerId?: string;
|
|
973
|
-
|
|
974
|
-
publicNetworkAccess?: PublicNetworkAccessEnum;
|
|
923
|
+
minimalTlsVersion?: MinimalTlsVersionEnum;
|
|
975
924
|
readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
|
|
976
|
-
|
|
925
|
+
publicNetworkAccess?: PublicNetworkAccessEnum;
|
|
926
|
+
replicaCapacity?: number;
|
|
927
|
+
replicationRole?: string;
|
|
928
|
+
sku?: Sku;
|
|
929
|
+
sslEnforcement?: SslEnforcementEnum;
|
|
930
|
+
storageProfile?: StorageProfile;
|
|
931
|
+
userVisibleState?: ServerState;
|
|
932
|
+
version?: ServerVersion;
|
|
933
|
+
}
|
|
977
934
|
|
|
978
935
|
// @public
|
|
979
|
-
export
|
|
936
|
+
export interface ServerAdministratorResource extends ProxyResource {
|
|
980
937
|
administratorType?: "ActiveDirectory";
|
|
981
938
|
login?: string;
|
|
982
939
|
sid?: string;
|
|
983
940
|
tenantId?: string;
|
|
984
|
-
}
|
|
941
|
+
}
|
|
985
942
|
|
|
986
943
|
// @public
|
|
987
944
|
export interface ServerAdministratorResourceListResult {
|
|
@@ -1051,12 +1008,12 @@ export interface ServerForCreate {
|
|
|
1051
1008
|
}
|
|
1052
1009
|
|
|
1053
1010
|
// @public
|
|
1054
|
-
export
|
|
1011
|
+
export interface ServerKey extends ProxyResource {
|
|
1012
|
+
readonly creationDate?: Date;
|
|
1055
1013
|
readonly kind?: string;
|
|
1056
1014
|
serverKeyType?: ServerKeyType;
|
|
1057
1015
|
uri?: string;
|
|
1058
|
-
|
|
1059
|
-
};
|
|
1016
|
+
}
|
|
1060
1017
|
|
|
1061
1018
|
// @public
|
|
1062
1019
|
export interface ServerKeyListResult {
|
|
@@ -1168,30 +1125,30 @@ export interface ServerPropertiesForCreate {
|
|
|
1168
1125
|
export type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
|
|
1169
1126
|
|
|
1170
1127
|
// @public
|
|
1171
|
-
export
|
|
1172
|
-
createMode: "Default";
|
|
1128
|
+
export interface ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate {
|
|
1173
1129
|
administratorLogin: string;
|
|
1174
1130
|
administratorLoginPassword: string;
|
|
1175
|
-
|
|
1131
|
+
createMode: "Default";
|
|
1132
|
+
}
|
|
1176
1133
|
|
|
1177
1134
|
// @public
|
|
1178
|
-
export
|
|
1135
|
+
export interface ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
|
|
1179
1136
|
createMode: "GeoRestore";
|
|
1180
1137
|
sourceServerId: string;
|
|
1181
|
-
}
|
|
1138
|
+
}
|
|
1182
1139
|
|
|
1183
1140
|
// @public
|
|
1184
|
-
export
|
|
1141
|
+
export interface ServerPropertiesForReplica extends ServerPropertiesForCreate {
|
|
1185
1142
|
createMode: "Replica";
|
|
1186
1143
|
sourceServerId: string;
|
|
1187
|
-
}
|
|
1144
|
+
}
|
|
1188
1145
|
|
|
1189
1146
|
// @public
|
|
1190
|
-
export
|
|
1147
|
+
export interface ServerPropertiesForRestore extends ServerPropertiesForCreate {
|
|
1191
1148
|
createMode: "PointInTimeRestore";
|
|
1192
|
-
sourceServerId: string;
|
|
1193
1149
|
restorePointInTime: Date;
|
|
1194
|
-
|
|
1150
|
+
sourceServerId: string;
|
|
1151
|
+
}
|
|
1195
1152
|
|
|
1196
1153
|
// @public
|
|
1197
1154
|
export interface Servers {
|
|
@@ -1268,15 +1225,15 @@ export interface ServerSecurityAlertPoliciesListByServerOptionalParams extends c
|
|
|
1268
1225
|
export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
|
|
1269
1226
|
|
|
1270
1227
|
// @public
|
|
1271
|
-
export
|
|
1272
|
-
state?: ServerSecurityAlertPolicyState;
|
|
1228
|
+
export interface ServerSecurityAlertPolicy extends ProxyResource {
|
|
1273
1229
|
disabledAlerts?: string[];
|
|
1274
|
-
emailAddresses?: string[];
|
|
1275
1230
|
emailAccountAdmins?: boolean;
|
|
1276
|
-
|
|
1277
|
-
storageAccountAccessKey?: string;
|
|
1231
|
+
emailAddresses?: string[];
|
|
1278
1232
|
retentionDays?: number;
|
|
1279
|
-
|
|
1233
|
+
state?: ServerSecurityAlertPolicyState;
|
|
1234
|
+
storageAccountAccessKey?: string;
|
|
1235
|
+
storageEndpoint?: string;
|
|
1236
|
+
}
|
|
1280
1237
|
|
|
1281
1238
|
// @public
|
|
1282
1239
|
export interface ServerSecurityAlertPolicyListResult {
|
|
@@ -1445,19 +1402,19 @@ export interface TopQueryStatisticsResultList {
|
|
|
1445
1402
|
}
|
|
1446
1403
|
|
|
1447
1404
|
// @public
|
|
1448
|
-
export
|
|
1405
|
+
export interface TrackedResource extends Resource {
|
|
1406
|
+
location: string;
|
|
1449
1407
|
tags?: {
|
|
1450
1408
|
[propertyName: string]: string;
|
|
1451
1409
|
};
|
|
1452
|
-
|
|
1453
|
-
};
|
|
1410
|
+
}
|
|
1454
1411
|
|
|
1455
1412
|
// @public
|
|
1456
|
-
export
|
|
1457
|
-
virtualNetworkSubnetId?: string;
|
|
1413
|
+
export interface VirtualNetworkRule extends ProxyResource {
|
|
1458
1414
|
ignoreMissingVnetServiceEndpoint?: boolean;
|
|
1459
1415
|
readonly state?: VirtualNetworkRuleState;
|
|
1460
|
-
|
|
1416
|
+
virtualNetworkSubnetId?: string;
|
|
1417
|
+
}
|
|
1461
1418
|
|
|
1462
1419
|
// @public
|
|
1463
1420
|
export interface VirtualNetworkRuleListResult {
|
|
@@ -1515,17 +1472,17 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu
|
|
|
1515
1472
|
export type VirtualNetworkRuleState = string;
|
|
1516
1473
|
|
|
1517
1474
|
// @public
|
|
1518
|
-
export
|
|
1519
|
-
|
|
1475
|
+
export interface WaitStatistic extends ProxyResource {
|
|
1476
|
+
count?: number;
|
|
1477
|
+
databaseName?: string;
|
|
1520
1478
|
endTime?: Date;
|
|
1521
1479
|
eventName?: string;
|
|
1522
1480
|
eventTypeName?: string;
|
|
1523
1481
|
queryId?: number;
|
|
1524
|
-
|
|
1525
|
-
userId?: number;
|
|
1526
|
-
count?: number;
|
|
1482
|
+
startTime?: Date;
|
|
1527
1483
|
totalTimeInMs?: number;
|
|
1528
|
-
|
|
1484
|
+
userId?: number;
|
|
1485
|
+
}
|
|
1529
1486
|
|
|
1530
1487
|
// @public
|
|
1531
1488
|
export interface WaitStatistics {
|
package/src/index.ts
CHANGED