@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/types/arm-mysql.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { PollerLike } from '@azure/core-lro';
|
|
|
5
5
|
import { PollOperationState } from '@azure/core-lro';
|
|
6
6
|
|
|
7
7
|
/** Represents a recommendation action advisor. */
|
|
8
|
-
export declare
|
|
8
|
+
export declare interface Advisor extends ProxyResource {
|
|
9
9
|
/** The properties of a recommendation action advisor. */
|
|
10
10
|
properties?: Record<string, unknown>;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
|
|
13
13
|
/** Interface representing a Advisors. */
|
|
14
14
|
export declare interface Advisors {
|
|
@@ -94,7 +94,7 @@ export declare interface CloudErrorAutoGenerated {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/** Represents a Configuration. */
|
|
97
|
-
export declare
|
|
97
|
+
export declare interface Configuration extends ProxyResource {
|
|
98
98
|
/** Value of the configuration. */
|
|
99
99
|
value?: string;
|
|
100
100
|
/**
|
|
@@ -119,7 +119,7 @@ export declare type Configuration = ProxyResource & {
|
|
|
119
119
|
readonly allowedValues?: string;
|
|
120
120
|
/** Source of the configuration. */
|
|
121
121
|
source?: string;
|
|
122
|
-
}
|
|
122
|
+
}
|
|
123
123
|
|
|
124
124
|
/** A list of server configurations. */
|
|
125
125
|
export declare interface ConfigurationListResult {
|
|
@@ -210,12 +210,12 @@ export declare interface CreateRecommendedActionSessionOptionalParams extends co
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/** Represents a Database. */
|
|
213
|
-
export declare
|
|
213
|
+
export declare interface Database extends ProxyResource {
|
|
214
214
|
/** The charset of the database. */
|
|
215
215
|
charset?: string;
|
|
216
216
|
/** The collation of the database. */
|
|
217
217
|
collation?: string;
|
|
218
|
-
}
|
|
218
|
+
}
|
|
219
219
|
|
|
220
220
|
/** A List of databases. */
|
|
221
221
|
export declare interface DatabaseListResult {
|
|
@@ -353,12 +353,12 @@ export declare interface ErrorResponse {
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
/** Represents a server firewall rule. */
|
|
356
|
-
export declare
|
|
356
|
+
export declare interface FirewallRule extends ProxyResource {
|
|
357
357
|
/** The start IP address of the server firewall rule. Must be IPv4 format. */
|
|
358
358
|
startIpAddress: string;
|
|
359
359
|
/** The end IP address of the server firewall rule. Must be IPv4 format. */
|
|
360
360
|
endIpAddress: string;
|
|
361
|
-
}
|
|
361
|
+
}
|
|
362
362
|
|
|
363
363
|
/** A list of firewall rules. */
|
|
364
364
|
export declare interface FirewallRuleListResult {
|
|
@@ -462,6 +462,15 @@ export declare type FirewallRulesListByServerResponse = FirewallRuleListResult;
|
|
|
462
462
|
*/
|
|
463
463
|
export declare type GeoRedundantBackup = string;
|
|
464
464
|
|
|
465
|
+
/**
|
|
466
|
+
* Given a result page from a pageable operation, returns a
|
|
467
|
+
* continuation token that can be used to begin paging from
|
|
468
|
+
* that point later.
|
|
469
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
470
|
+
* @returns The continuation token that can be passed into byPage().
|
|
471
|
+
*/
|
|
472
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
473
|
+
|
|
465
474
|
/**
|
|
466
475
|
* Defines values for IdentityType. \
|
|
467
476
|
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
@@ -483,20 +492,27 @@ export declare type InfrastructureEncryption = string;
|
|
|
483
492
|
|
|
484
493
|
/** Known values of {@link CreateMode} that the service accepts. */
|
|
485
494
|
export declare enum KnownCreateMode {
|
|
495
|
+
/** Default */
|
|
486
496
|
Default = "Default",
|
|
497
|
+
/** PointInTimeRestore */
|
|
487
498
|
PointInTimeRestore = "PointInTimeRestore",
|
|
499
|
+
/** GeoRestore */
|
|
488
500
|
GeoRestore = "GeoRestore",
|
|
501
|
+
/** Replica */
|
|
489
502
|
Replica = "Replica"
|
|
490
503
|
}
|
|
491
504
|
|
|
492
505
|
/** Known values of {@link GeoRedundantBackup} that the service accepts. */
|
|
493
506
|
export declare enum KnownGeoRedundantBackup {
|
|
507
|
+
/** Enabled */
|
|
494
508
|
Enabled = "Enabled",
|
|
509
|
+
/** Disabled */
|
|
495
510
|
Disabled = "Disabled"
|
|
496
511
|
}
|
|
497
512
|
|
|
498
513
|
/** Known values of {@link IdentityType} that the service accepts. */
|
|
499
514
|
export declare enum KnownIdentityType {
|
|
515
|
+
/** SystemAssigned */
|
|
500
516
|
SystemAssigned = "SystemAssigned"
|
|
501
517
|
}
|
|
502
518
|
|
|
@@ -510,97 +526,137 @@ export declare enum KnownInfrastructureEncryption {
|
|
|
510
526
|
|
|
511
527
|
/** Known values of {@link MinimalTlsVersionEnum} that the service accepts. */
|
|
512
528
|
export declare enum KnownMinimalTlsVersionEnum {
|
|
529
|
+
/** TLS10 */
|
|
513
530
|
TLS10 = "TLS1_0",
|
|
531
|
+
/** TLS11 */
|
|
514
532
|
TLS11 = "TLS1_1",
|
|
533
|
+
/** TLS12 */
|
|
515
534
|
TLS12 = "TLS1_2",
|
|
535
|
+
/** TLSEnforcementDisabled */
|
|
516
536
|
TLSEnforcementDisabled = "TLSEnforcementDisabled"
|
|
517
537
|
}
|
|
518
538
|
|
|
519
539
|
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
520
540
|
export declare enum KnownOperationOrigin {
|
|
541
|
+
/** NotSpecified */
|
|
521
542
|
NotSpecified = "NotSpecified",
|
|
543
|
+
/** User */
|
|
522
544
|
User = "user",
|
|
545
|
+
/** System */
|
|
523
546
|
System = "system"
|
|
524
547
|
}
|
|
525
548
|
|
|
526
549
|
/** Known values of {@link PrivateEndpointProvisioningState} that the service accepts. */
|
|
527
550
|
export declare enum KnownPrivateEndpointProvisioningState {
|
|
551
|
+
/** Approving */
|
|
528
552
|
Approving = "Approving",
|
|
553
|
+
/** Ready */
|
|
529
554
|
Ready = "Ready",
|
|
555
|
+
/** Dropping */
|
|
530
556
|
Dropping = "Dropping",
|
|
557
|
+
/** Failed */
|
|
531
558
|
Failed = "Failed",
|
|
559
|
+
/** Rejecting */
|
|
532
560
|
Rejecting = "Rejecting"
|
|
533
561
|
}
|
|
534
562
|
|
|
535
563
|
/** Known values of {@link PrivateLinkServiceConnectionStateActionsRequire} that the service accepts. */
|
|
536
564
|
export declare enum KnownPrivateLinkServiceConnectionStateActionsRequire {
|
|
565
|
+
/** None */
|
|
537
566
|
None = "None"
|
|
538
567
|
}
|
|
539
568
|
|
|
540
569
|
/** Known values of {@link PrivateLinkServiceConnectionStateStatus} that the service accepts. */
|
|
541
570
|
export declare enum KnownPrivateLinkServiceConnectionStateStatus {
|
|
571
|
+
/** Approved */
|
|
542
572
|
Approved = "Approved",
|
|
573
|
+
/** Pending */
|
|
543
574
|
Pending = "Pending",
|
|
575
|
+
/** Rejected */
|
|
544
576
|
Rejected = "Rejected",
|
|
577
|
+
/** Disconnected */
|
|
545
578
|
Disconnected = "Disconnected"
|
|
546
579
|
}
|
|
547
580
|
|
|
548
581
|
/** Known values of {@link PublicNetworkAccessEnum} that the service accepts. */
|
|
549
582
|
export declare enum KnownPublicNetworkAccessEnum {
|
|
583
|
+
/** Enabled */
|
|
550
584
|
Enabled = "Enabled",
|
|
585
|
+
/** Disabled */
|
|
551
586
|
Disabled = "Disabled"
|
|
552
587
|
}
|
|
553
588
|
|
|
554
589
|
/** Known values of {@link QueryPerformanceInsightResetDataResultState} that the service accepts. */
|
|
555
590
|
export declare enum KnownQueryPerformanceInsightResetDataResultState {
|
|
591
|
+
/** Succeeded */
|
|
556
592
|
Succeeded = "Succeeded",
|
|
593
|
+
/** Failed */
|
|
557
594
|
Failed = "Failed"
|
|
558
595
|
}
|
|
559
596
|
|
|
560
597
|
/** Known values of {@link SecurityAlertPolicyName} that the service accepts. */
|
|
561
598
|
export declare enum KnownSecurityAlertPolicyName {
|
|
599
|
+
/** Default */
|
|
562
600
|
Default = "Default"
|
|
563
601
|
}
|
|
564
602
|
|
|
565
603
|
/** Known values of {@link ServerKeyType} that the service accepts. */
|
|
566
604
|
export declare enum KnownServerKeyType {
|
|
605
|
+
/** AzureKeyVault */
|
|
567
606
|
AzureKeyVault = "AzureKeyVault"
|
|
568
607
|
}
|
|
569
608
|
|
|
570
609
|
/** Known values of {@link ServerState} that the service accepts. */
|
|
571
610
|
export declare enum KnownServerState {
|
|
611
|
+
/** Ready */
|
|
572
612
|
Ready = "Ready",
|
|
613
|
+
/** Dropping */
|
|
573
614
|
Dropping = "Dropping",
|
|
615
|
+
/** Disabled */
|
|
574
616
|
Disabled = "Disabled",
|
|
617
|
+
/** Inaccessible */
|
|
575
618
|
Inaccessible = "Inaccessible"
|
|
576
619
|
}
|
|
577
620
|
|
|
578
621
|
/** Known values of {@link ServerVersion} that the service accepts. */
|
|
579
622
|
export declare enum KnownServerVersion {
|
|
623
|
+
/** Five6 */
|
|
580
624
|
Five6 = "5.6",
|
|
625
|
+
/** Five7 */
|
|
581
626
|
Five7 = "5.7",
|
|
627
|
+
/** Eight0 */
|
|
582
628
|
Eight0 = "8.0"
|
|
583
629
|
}
|
|
584
630
|
|
|
585
631
|
/** Known values of {@link SkuTier} that the service accepts. */
|
|
586
632
|
export declare enum KnownSkuTier {
|
|
633
|
+
/** Basic */
|
|
587
634
|
Basic = "Basic",
|
|
635
|
+
/** GeneralPurpose */
|
|
588
636
|
GeneralPurpose = "GeneralPurpose",
|
|
637
|
+
/** MemoryOptimized */
|
|
589
638
|
MemoryOptimized = "MemoryOptimized"
|
|
590
639
|
}
|
|
591
640
|
|
|
592
641
|
/** Known values of {@link StorageAutogrow} that the service accepts. */
|
|
593
642
|
export declare enum KnownStorageAutogrow {
|
|
643
|
+
/** Enabled */
|
|
594
644
|
Enabled = "Enabled",
|
|
645
|
+
/** Disabled */
|
|
595
646
|
Disabled = "Disabled"
|
|
596
647
|
}
|
|
597
648
|
|
|
598
649
|
/** Known values of {@link VirtualNetworkRuleState} that the service accepts. */
|
|
599
650
|
export declare enum KnownVirtualNetworkRuleState {
|
|
651
|
+
/** Initializing */
|
|
600
652
|
Initializing = "Initializing",
|
|
653
|
+
/** InProgress */
|
|
601
654
|
InProgress = "InProgress",
|
|
655
|
+
/** Ready */
|
|
602
656
|
Ready = "Ready",
|
|
657
|
+
/** Deleting */
|
|
603
658
|
Deleting = "Deleting",
|
|
659
|
+
/** Unknown */
|
|
604
660
|
Unknown = "Unknown"
|
|
605
661
|
}
|
|
606
662
|
|
|
@@ -665,7 +721,7 @@ export declare interface LocationBasedRecommendedActionSessionsResultListOptiona
|
|
|
665
721
|
export declare type LocationBasedRecommendedActionSessionsResultListResponse = RecommendationActionsResultList;
|
|
666
722
|
|
|
667
723
|
/** Represents a log file. */
|
|
668
|
-
export declare
|
|
724
|
+
export declare interface LogFile extends ProxyResource {
|
|
669
725
|
/** Size of the log file. */
|
|
670
726
|
sizeInKB?: number;
|
|
671
727
|
/**
|
|
@@ -682,7 +738,7 @@ export declare type LogFile = ProxyResource & {
|
|
|
682
738
|
typePropertiesType?: string;
|
|
683
739
|
/** The url to download the log file from. */
|
|
684
740
|
url?: string;
|
|
685
|
-
}
|
|
741
|
+
}
|
|
686
742
|
|
|
687
743
|
/** A list of log files. */
|
|
688
744
|
export declare interface LogFileListResult {
|
|
@@ -938,7 +994,7 @@ export declare interface PerformanceTierServiceLevelObjectives {
|
|
|
938
994
|
}
|
|
939
995
|
|
|
940
996
|
/** A private endpoint connection */
|
|
941
|
-
export declare
|
|
997
|
+
export declare interface PrivateEndpointConnection extends ProxyResource {
|
|
942
998
|
/** Private endpoint which the connection belongs to. */
|
|
943
999
|
privateEndpoint?: PrivateEndpointProperty;
|
|
944
1000
|
/** Connection state of the private endpoint connection. */
|
|
@@ -948,7 +1004,7 @@ export declare type PrivateEndpointConnection = ProxyResource & {
|
|
|
948
1004
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
949
1005
|
*/
|
|
950
1006
|
readonly provisioningState?: string;
|
|
951
|
-
}
|
|
1007
|
+
}
|
|
952
1008
|
|
|
953
1009
|
/** A list of private endpoint connections. */
|
|
954
1010
|
export declare interface PrivateEndpointConnectionListResult {
|
|
@@ -1105,13 +1161,13 @@ export declare interface PrivateEndpointProperty {
|
|
|
1105
1161
|
export declare type PrivateEndpointProvisioningState = string;
|
|
1106
1162
|
|
|
1107
1163
|
/** A private link resource */
|
|
1108
|
-
export declare
|
|
1164
|
+
export declare interface PrivateLinkResource extends ProxyResource {
|
|
1109
1165
|
/**
|
|
1110
1166
|
* The private link resource group id.
|
|
1111
1167
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1112
1168
|
*/
|
|
1113
1169
|
readonly properties?: PrivateLinkResourceProperties;
|
|
1114
|
-
}
|
|
1170
|
+
}
|
|
1115
1171
|
|
|
1116
1172
|
/** A list of private link resources */
|
|
1117
1173
|
export declare interface PrivateLinkResourceListResult {
|
|
@@ -1215,7 +1271,8 @@ export declare interface PrivateLinkServiceConnectionStateProperty {
|
|
|
1215
1271
|
export declare type PrivateLinkServiceConnectionStateStatus = string;
|
|
1216
1272
|
|
|
1217
1273
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1218
|
-
export declare
|
|
1274
|
+
export declare interface ProxyResource extends Resource {
|
|
1275
|
+
}
|
|
1219
1276
|
|
|
1220
1277
|
/**
|
|
1221
1278
|
* Defines values for PublicNetworkAccessEnum. \
|
|
@@ -1246,7 +1303,7 @@ export declare interface QueryPerformanceInsightResetDataResult {
|
|
|
1246
1303
|
export declare type QueryPerformanceInsightResetDataResultState = string;
|
|
1247
1304
|
|
|
1248
1305
|
/** Represents a Query Statistic. */
|
|
1249
|
-
export declare
|
|
1306
|
+
export declare interface QueryStatistic extends ProxyResource {
|
|
1250
1307
|
/** Database query identifier. */
|
|
1251
1308
|
queryId?: string;
|
|
1252
1309
|
/** Observation start time. */
|
|
@@ -1267,15 +1324,15 @@ export declare type QueryStatistic = ProxyResource & {
|
|
|
1267
1324
|
metricValue?: number;
|
|
1268
1325
|
/** Metric value unit. */
|
|
1269
1326
|
metricValueUnit?: string;
|
|
1270
|
-
}
|
|
1327
|
+
}
|
|
1271
1328
|
|
|
1272
1329
|
/** Represents a Query Text. */
|
|
1273
|
-
export declare
|
|
1330
|
+
export declare interface QueryText extends ProxyResource {
|
|
1274
1331
|
/** Query identifier unique to the server. */
|
|
1275
1332
|
queryId?: string;
|
|
1276
1333
|
/** Query text. */
|
|
1277
1334
|
queryText?: string;
|
|
1278
|
-
}
|
|
1335
|
+
}
|
|
1279
1336
|
|
|
1280
1337
|
/** Interface representing a QueryTexts. */
|
|
1281
1338
|
export declare interface QueryTexts {
|
|
@@ -1333,7 +1390,7 @@ export declare interface QueryTextsResultList {
|
|
|
1333
1390
|
}
|
|
1334
1391
|
|
|
1335
1392
|
/** Represents a Recommendation Action. */
|
|
1336
|
-
export declare
|
|
1393
|
+
export declare interface RecommendationAction extends ProxyResource {
|
|
1337
1394
|
/** Advisor name. */
|
|
1338
1395
|
advisorName?: string;
|
|
1339
1396
|
/** Recommendation action session identifier. */
|
|
@@ -1352,7 +1409,7 @@ export declare type RecommendationAction = ProxyResource & {
|
|
|
1352
1409
|
details?: {
|
|
1353
1410
|
[propertyName: string]: string;
|
|
1354
1411
|
};
|
|
1355
|
-
}
|
|
1412
|
+
}
|
|
1356
1413
|
|
|
1357
1414
|
/** A list of recommendation actions. */
|
|
1358
1415
|
export declare interface RecommendationActionsResultList {
|
|
@@ -1425,7 +1482,7 @@ export declare interface RecommendedActionsListByServerOptionalParams extends co
|
|
|
1425
1482
|
export declare type RecommendedActionsListByServerResponse = RecommendationActionsResultList;
|
|
1426
1483
|
|
|
1427
1484
|
/** A recoverable server resource. */
|
|
1428
|
-
export declare
|
|
1485
|
+
export declare interface RecoverableServerResource extends ProxyResource {
|
|
1429
1486
|
/**
|
|
1430
1487
|
* The last available backup date time.
|
|
1431
1488
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1456,7 +1513,7 @@ export declare type RecoverableServerResource = ProxyResource & {
|
|
|
1456
1513
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1457
1514
|
*/
|
|
1458
1515
|
readonly version?: string;
|
|
1459
|
-
}
|
|
1516
|
+
}
|
|
1460
1517
|
|
|
1461
1518
|
/** Interface representing a RecoverableServers. */
|
|
1462
1519
|
export declare interface RecoverableServers {
|
|
@@ -1546,7 +1603,7 @@ export declare interface ResourceIdentity {
|
|
|
1546
1603
|
export declare type SecurityAlertPolicyName = string;
|
|
1547
1604
|
|
|
1548
1605
|
/** Represents a server. */
|
|
1549
|
-
export declare
|
|
1606
|
+
export declare interface Server extends TrackedResource {
|
|
1550
1607
|
/** The Azure Active Directory identity of the server. */
|
|
1551
1608
|
identity?: ResourceIdentity;
|
|
1552
1609
|
/** The SKU (pricing tier) of the server. */
|
|
@@ -1587,10 +1644,10 @@ export declare type Server = TrackedResource & {
|
|
|
1587
1644
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1588
1645
|
*/
|
|
1589
1646
|
readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
|
|
1590
|
-
}
|
|
1647
|
+
}
|
|
1591
1648
|
|
|
1592
1649
|
/** Represents a and external administrator to be created. */
|
|
1593
|
-
export declare
|
|
1650
|
+
export declare interface ServerAdministratorResource extends ProxyResource {
|
|
1594
1651
|
/** The type of administrator. */
|
|
1595
1652
|
administratorType?: "ActiveDirectory";
|
|
1596
1653
|
/** The server administrator login account name. */
|
|
@@ -1599,7 +1656,7 @@ export declare type ServerAdministratorResource = ProxyResource & {
|
|
|
1599
1656
|
sid?: string;
|
|
1600
1657
|
/** The server Active Directory Administrator tenant id. */
|
|
1601
1658
|
tenantId?: string;
|
|
1602
|
-
}
|
|
1659
|
+
}
|
|
1603
1660
|
|
|
1604
1661
|
/** The response to a list Active Directory Administrators request. */
|
|
1605
1662
|
export declare interface ServerAdministratorResourceListResult {
|
|
@@ -1725,7 +1782,7 @@ export declare interface ServerForCreate {
|
|
|
1725
1782
|
}
|
|
1726
1783
|
|
|
1727
1784
|
/** A MySQL Server key. */
|
|
1728
|
-
export declare
|
|
1785
|
+
export declare interface ServerKey extends ProxyResource {
|
|
1729
1786
|
/**
|
|
1730
1787
|
* Kind of encryption protector used to protect the key.
|
|
1731
1788
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1740,7 +1797,7 @@ export declare type ServerKey = ProxyResource & {
|
|
|
1740
1797
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1741
1798
|
*/
|
|
1742
1799
|
readonly creationDate?: Date;
|
|
1743
|
-
}
|
|
1800
|
+
}
|
|
1744
1801
|
|
|
1745
1802
|
/** A list of MySQL Server keys. */
|
|
1746
1803
|
export declare interface ServerKeyListResult {
|
|
@@ -1955,7 +2012,7 @@ export declare interface ServerPropertiesForCreate {
|
|
|
1955
2012
|
export declare type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
|
|
1956
2013
|
|
|
1957
2014
|
/** The properties used to create a new server. */
|
|
1958
|
-
export declare
|
|
2015
|
+
export declare interface ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate {
|
|
1959
2016
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1960
2017
|
createMode: "Default";
|
|
1961
2018
|
/** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). The login name is required when updating password. */
|
|
@@ -1965,33 +2022,33 @@ export declare type ServerPropertiesForDefaultCreate = ServerPropertiesForCreate
|
|
|
1965
2022
|
* This value contains a credential. Consider obscuring before showing to users
|
|
1966
2023
|
*/
|
|
1967
2024
|
administratorLoginPassword: string;
|
|
1968
|
-
}
|
|
2025
|
+
}
|
|
1969
2026
|
|
|
1970
2027
|
/** The properties used to create a new server by restoring to a different region from a geo replicated backup. */
|
|
1971
|
-
export declare
|
|
2028
|
+
export declare interface ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
|
|
1972
2029
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1973
2030
|
createMode: "GeoRestore";
|
|
1974
2031
|
/** The source server id to restore from. */
|
|
1975
2032
|
sourceServerId: string;
|
|
1976
|
-
}
|
|
2033
|
+
}
|
|
1977
2034
|
|
|
1978
2035
|
/** The properties to create a new replica. */
|
|
1979
|
-
export declare
|
|
2036
|
+
export declare interface ServerPropertiesForReplica extends ServerPropertiesForCreate {
|
|
1980
2037
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1981
2038
|
createMode: "Replica";
|
|
1982
2039
|
/** The master server id to create replica from. */
|
|
1983
2040
|
sourceServerId: string;
|
|
1984
|
-
}
|
|
2041
|
+
}
|
|
1985
2042
|
|
|
1986
2043
|
/** The properties used to create a new server by restoring from a backup. */
|
|
1987
|
-
export declare
|
|
2044
|
+
export declare interface ServerPropertiesForRestore extends ServerPropertiesForCreate {
|
|
1988
2045
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1989
2046
|
createMode: "PointInTimeRestore";
|
|
1990
2047
|
/** The source server id to restore from. */
|
|
1991
2048
|
sourceServerId: string;
|
|
1992
2049
|
/** Restore point creation time (ISO8601 format), specifying the time to restore from. */
|
|
1993
2050
|
restorePointInTime: Date;
|
|
1994
|
-
}
|
|
2051
|
+
}
|
|
1995
2052
|
|
|
1996
2053
|
/** Interface representing a Servers. */
|
|
1997
2054
|
export declare interface Servers {
|
|
@@ -2212,7 +2269,7 @@ export declare interface ServerSecurityAlertPoliciesListByServerOptionalParams e
|
|
|
2212
2269
|
export declare type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
|
|
2213
2270
|
|
|
2214
2271
|
/** A server security alert policy. */
|
|
2215
|
-
export declare
|
|
2272
|
+
export declare interface ServerSecurityAlertPolicy extends ProxyResource {
|
|
2216
2273
|
/** Specifies the state of the policy, whether it is enabled or disabled. */
|
|
2217
2274
|
state?: ServerSecurityAlertPolicyState;
|
|
2218
2275
|
/** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly */
|
|
@@ -2227,7 +2284,7 @@ export declare type ServerSecurityAlertPolicy = ProxyResource & {
|
|
|
2227
2284
|
storageAccountAccessKey?: string;
|
|
2228
2285
|
/** Specifies the number of days to keep in the Threat Detection audit logs. */
|
|
2229
2286
|
retentionDays?: number;
|
|
2230
|
-
}
|
|
2287
|
+
}
|
|
2231
2288
|
|
|
2232
2289
|
/** A list of the server's security alert policies. */
|
|
2233
2290
|
export declare interface ServerSecurityAlertPolicyListResult {
|
|
@@ -2497,17 +2554,17 @@ export declare interface TopQueryStatisticsResultList {
|
|
|
2497
2554
|
}
|
|
2498
2555
|
|
|
2499
2556
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2500
|
-
export declare
|
|
2557
|
+
export declare interface TrackedResource extends Resource {
|
|
2501
2558
|
/** Resource tags. */
|
|
2502
2559
|
tags?: {
|
|
2503
2560
|
[propertyName: string]: string;
|
|
2504
2561
|
};
|
|
2505
2562
|
/** The geo-location where the resource lives */
|
|
2506
2563
|
location: string;
|
|
2507
|
-
}
|
|
2564
|
+
}
|
|
2508
2565
|
|
|
2509
2566
|
/** A virtual network rule. */
|
|
2510
|
-
export declare
|
|
2567
|
+
export declare interface VirtualNetworkRule extends ProxyResource {
|
|
2511
2568
|
/** The ARM resource id of the virtual network subnet. */
|
|
2512
2569
|
virtualNetworkSubnetId?: string;
|
|
2513
2570
|
/** Create firewall rule before the virtual network has vnet service endpoint enabled. */
|
|
@@ -2517,7 +2574,7 @@ export declare type VirtualNetworkRule = ProxyResource & {
|
|
|
2517
2574
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2518
2575
|
*/
|
|
2519
2576
|
readonly state?: VirtualNetworkRuleState;
|
|
2520
|
-
}
|
|
2577
|
+
}
|
|
2521
2578
|
|
|
2522
2579
|
/** A list of virtual network rules. */
|
|
2523
2580
|
export declare interface VirtualNetworkRuleListResult {
|
|
@@ -2640,7 +2697,7 @@ export declare type VirtualNetworkRulesListByServerResponse = VirtualNetworkRule
|
|
|
2640
2697
|
export declare type VirtualNetworkRuleState = string;
|
|
2641
2698
|
|
|
2642
2699
|
/** Represents a Wait Statistic. */
|
|
2643
|
-
export declare
|
|
2700
|
+
export declare interface WaitStatistic extends ProxyResource {
|
|
2644
2701
|
/** Observation start time. */
|
|
2645
2702
|
startTime?: Date;
|
|
2646
2703
|
/** Observation end time. */
|
|
@@ -2659,7 +2716,7 @@ export declare type WaitStatistic = ProxyResource & {
|
|
|
2659
2716
|
count?: number;
|
|
2660
2717
|
/** Total time of wait in milliseconds in this time interval. */
|
|
2661
2718
|
totalTimeInMs?: number;
|
|
2662
|
-
}
|
|
2719
|
+
}
|
|
2663
2720
|
|
|
2664
2721
|
/** Interface representing a WaitStatistics. */
|
|
2665
2722
|
export declare interface WaitStatistics {
|