@azure/arm-mysql-flexible 3.1.1-alpha.20230511.1 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +96 -8
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +3646 -1927
- 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/samples-dev/azureAdAdministratorsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/azureAdAdministratorsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/azureAdAdministratorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureAdAdministratorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsGetSample.js +40 -0
- package/dist-esm/samples-dev/azureAdAdministratorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.js +60 -0
- package/dist-esm/samples-dev/azureAdAdministratorsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/backupAndExportCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupAndExportCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupAndExportCreateSample.js +46 -0
- package/dist-esm/samples-dev/backupAndExportCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupAndExportValidateBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupAndExportValidateBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupAndExportValidateBackupSample.js +39 -0
- package/dist-esm/samples-dev/backupAndExportValidateBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/backupsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/backupsPutSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupsPutSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupsPutSample.js +40 -0
- package/dist-esm/samples-dev/backupsPutSample.js.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.js +41 -0
- package/dist-esm/samples-dev/checkNameAvailabilityWithoutLocationExecuteSample.js.map +1 -0
- package/dist-esm/samples-dev/checkVirtualNetworkSubnetUsageExecuteSample.js +1 -1
- package/dist-esm/samples-dev/configurationsBatchUpdateSample.js +2 -1
- package/dist-esm/samples-dev/configurationsBatchUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/configurationsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByServerSample.js +5 -2
- package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/databasesGetSample.js +1 -1
- package/dist-esm/samples-dev/databasesListByServerSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js +1 -1
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
- package/dist-esm/samples-dev/locationBasedCapabilitiesListSample.js +1 -1
- package/dist-esm/samples-dev/logFilesListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/logFilesListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/logFilesListByServerSample.js +60 -0
- package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/replicasListByServerSample.js +1 -1
- package/dist-esm/samples-dev/serversCreateSample.js +48 -3
- package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
- package/dist-esm/samples-dev/serversFailoverSample.js +1 -1
- package/dist-esm/samples-dev/serversGetSample.js +2 -2
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/serversListSample.js +1 -1
- package/dist-esm/samples-dev/serversResetGtidSample.d.ts +2 -0
- package/dist-esm/samples-dev/serversResetGtidSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serversResetGtidSample.js +42 -0
- package/dist-esm/samples-dev/serversResetGtidSample.js.map +1 -0
- package/dist-esm/samples-dev/serversRestartSample.js +1 -1
- package/dist-esm/samples-dev/serversStartSample.js +1 -1
- package/dist-esm/samples-dev/serversStopSample.js +1 -1
- package/dist-esm/samples-dev/serversUpdateSample.js +42 -3
- package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +767 -378
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +78 -44
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +44 -15
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1232 -601
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +14 -5
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +96 -21
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts +9 -8
- package/dist-esm/src/mySQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist-esm/src/mySQLManagementFlexibleServerClient.js +10 -36
- package/dist-esm/src/mySQLManagementFlexibleServerClient.js.map +1 -1
- package/dist-esm/src/operations/azureADAdministrators.d.ts +81 -0
- package/dist-esm/src/operations/azureADAdministrators.d.ts.map +1 -0
- package/dist-esm/src/operations/azureADAdministrators.js +368 -0
- package/dist-esm/src/operations/azureADAdministrators.js.map +1 -0
- package/dist-esm/src/operations/backupAndExport.d.ts +37 -0
- package/dist-esm/src/operations/backupAndExport.d.ts.map +1 -0
- package/dist-esm/src/operations/backupAndExport.js +146 -0
- package/dist-esm/src/operations/backupAndExport.js.map +1 -0
- package/dist-esm/src/operations/backups.d.ts +9 -1
- package/dist-esm/src/operations/backups.d.ts.map +1 -1
- package/dist-esm/src/operations/backups.js +34 -2
- package/dist-esm/src/operations/backups.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.d.ts +19 -0
- package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.d.ts.map +1 -0
- package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.js +49 -0
- package/dist-esm/src/operations/checkNameAvailabilityWithoutLocation.js.map +1 -0
- package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js +1 -1
- package/dist-esm/src/operations/checkVirtualNetworkSubnetUsage.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts +22 -4
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +132 -14
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/databases.d.ts +3 -3
- package/dist-esm/src/operations/databases.d.ts.map +1 -1
- package/dist-esm/src/operations/databases.js +24 -10
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.d.ts +3 -3
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +25 -11
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +8 -4
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +8 -4
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/logFiles.d.ts +38 -0
- package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
- package/dist-esm/src/operations/logFiles.js +155 -0
- package/dist-esm/src/operations/logFiles.js.map +1 -0
- package/dist-esm/src/operations/replicas.js +1 -1
- package/dist-esm/src/operations/replicas.js.map +1 -1
- package/dist-esm/src/operations/servers.d.ts +25 -9
- package/dist-esm/src/operations/servers.d.ts.map +1 -1
- package/dist-esm/src/operations/servers.js +155 -44
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/azureADAdministrators.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/azureADAdministrators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/azureADAdministrators.js +9 -0
- package/dist-esm/src/operationsInterfaces/azureADAdministrators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupAndExport.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/backupAndExport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupAndExport.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupAndExport.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backups.d.ts +9 -1
- package/dist-esm/src/operationsInterfaces/backups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.js +9 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +22 -4
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/databases.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -4
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +8 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/logFiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/servers.d.ts +25 -9
- package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -1
- package/package.json +6 -6
- package/review/arm-mysql-flexible.api.md +383 -18
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +842 -382
- package/src/models/mappers.ts +1315 -622
- package/src/models/parameters.ts +112 -25
- package/src/mySQLManagementFlexibleServerClient.ts +35 -53
- package/src/operations/azureADAdministrators.ts +504 -0
- package/src/operations/backupAndExport.ts +210 -0
- package/src/operations/backups.ts +46 -2
- package/src/operations/checkNameAvailabilityWithoutLocation.ts +69 -0
- package/src/operations/checkVirtualNetworkSubnetUsage.ts +1 -1
- package/src/operations/configurations.ts +190 -26
- package/src/operations/databases.ts +34 -21
- package/src/operations/firewallRules.ts +35 -22
- package/src/operations/index.ts +8 -4
- package/src/operations/logFiles.ts +198 -0
- package/src/operations/replicas.ts +1 -1
- package/src/operations/servers.ts +211 -79
- package/src/operationsInterfaces/azureADAdministrators.ts +110 -0
- package/src/operationsInterfaces/backupAndExport.ts +62 -0
- package/src/operationsInterfaces/backups.ts +15 -0
- package/src/operationsInterfaces/checkNameAvailabilityWithoutLocation.ts +26 -0
- package/src/operationsInterfaces/configurations.ts +42 -5
- package/src/operationsInterfaces/databases.ts +4 -4
- package/src/operationsInterfaces/firewallRules.ts +4 -4
- package/src/operationsInterfaces/index.ts +8 -4
- package/src/operationsInterfaces/logFiles.ts +26 -0
- package/src/operationsInterfaces/servers.ts +43 -9
- package/types/arm-mysql-flexible.d.ts +624 -29
|
@@ -1,72 +1,5 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
|
|
3
|
-
export interface Sku {
|
|
4
|
-
/** The name of the sku, e.g. Standard_D32s_v3. */
|
|
5
|
-
name: string;
|
|
6
|
-
/** The tier of the particular SKU, e.g. GeneralPurpose. */
|
|
7
|
-
tier: SkuTier;
|
|
8
|
-
}
|
|
9
|
-
/** Storage Profile properties of a server */
|
|
10
|
-
export interface Storage {
|
|
11
|
-
/** Max storage size allowed for a server. */
|
|
12
|
-
storageSizeGB?: number;
|
|
13
|
-
/** Storage IOPS for a server. */
|
|
14
|
-
iops?: number;
|
|
15
|
-
/** Enable Storage Auto Grow or not. */
|
|
16
|
-
autoGrow?: EnableStatusEnum;
|
|
17
|
-
/**
|
|
18
|
-
* The sku name of the server storage.
|
|
19
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
20
|
-
*/
|
|
21
|
-
readonly storageSku?: string;
|
|
22
|
-
}
|
|
23
|
-
/** Storage Profile properties of a server */
|
|
24
|
-
export interface Backup {
|
|
25
|
-
/** Backup retention days for the server. */
|
|
26
|
-
backupRetentionDays?: number;
|
|
27
|
-
/** Whether or not geo redundant backup is enabled. */
|
|
28
|
-
geoRedundantBackup?: EnableStatusEnum;
|
|
29
|
-
/**
|
|
30
|
-
* Earliest restore point creation time (ISO8601 format)
|
|
31
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
32
|
-
*/
|
|
33
|
-
readonly earliestRestoreDate?: Date;
|
|
34
|
-
}
|
|
35
|
-
/** Network related properties of a server */
|
|
36
|
-
export interface HighAvailability {
|
|
37
|
-
/** High availability mode for a server. */
|
|
38
|
-
mode?: HighAvailabilityMode;
|
|
39
|
-
/**
|
|
40
|
-
* The state of server high availability.
|
|
41
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
42
|
-
*/
|
|
43
|
-
readonly state?: HighAvailabilityState;
|
|
44
|
-
/** Availability zone of the standby server. */
|
|
45
|
-
standbyAvailabilityZone?: string;
|
|
46
|
-
}
|
|
47
|
-
/** Network related properties of a server */
|
|
48
|
-
export interface Network {
|
|
49
|
-
/**
|
|
50
|
-
* Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
|
|
51
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
52
|
-
*/
|
|
53
|
-
readonly publicNetworkAccess?: EnableStatusEnum;
|
|
54
|
-
/** Delegated subnet resource id used to setup vnet for a server. */
|
|
55
|
-
delegatedSubnetResourceId?: string;
|
|
56
|
-
/** Private DNS zone resource id. */
|
|
57
|
-
privateDnsZoneResourceId?: string;
|
|
58
|
-
}
|
|
59
|
-
/** Maintenance window of a server. */
|
|
60
|
-
export interface MaintenanceWindow {
|
|
61
|
-
/** indicates whether custom window is enabled or disabled */
|
|
62
|
-
customWindow?: string;
|
|
63
|
-
/** start hour for maintenance window */
|
|
64
|
-
startHour?: number;
|
|
65
|
-
/** start minute for maintenance window */
|
|
66
|
-
startMinute?: number;
|
|
67
|
-
/** day of week for maintenance window */
|
|
68
|
-
dayOfWeek?: number;
|
|
69
|
-
}
|
|
2
|
+
export type BackupStoreDetailsUnion = BackupStoreDetails | FullBackupStoreDetails;
|
|
70
3
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
71
4
|
export interface SystemData {
|
|
72
5
|
/** The identity that created the resource. */
|
|
@@ -146,8 +79,184 @@ export interface ErrorAdditionalInfo {
|
|
|
146
79
|
*/
|
|
147
80
|
readonly info?: Record<string, unknown>;
|
|
148
81
|
}
|
|
82
|
+
/** A List of azure ad administrators. */
|
|
83
|
+
export interface AdministratorListResult {
|
|
84
|
+
/** The list of azure ad administrator of a server */
|
|
85
|
+
value?: AzureADAdministrator[];
|
|
86
|
+
/** The link used to get the next page of operations. */
|
|
87
|
+
nextLink?: string;
|
|
88
|
+
}
|
|
89
|
+
/** A list of server backups. */
|
|
90
|
+
export interface ServerBackupListResult {
|
|
91
|
+
/** The list of backups of a server. */
|
|
92
|
+
value?: ServerBackup[];
|
|
93
|
+
/** The link used to get the next page of operations. */
|
|
94
|
+
nextLink?: string;
|
|
95
|
+
}
|
|
96
|
+
/** Details about the target where the backup content will be stored. */
|
|
97
|
+
export interface BackupStoreDetails {
|
|
98
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
99
|
+
objectType: "FullBackupStoreDetails";
|
|
100
|
+
}
|
|
101
|
+
/** BackupRequestBase is the base for all backup request. */
|
|
102
|
+
export interface BackupRequestBase {
|
|
103
|
+
/** Backup Settings */
|
|
104
|
+
backupSettings: BackupSettings;
|
|
105
|
+
}
|
|
106
|
+
/** Backup Settings */
|
|
107
|
+
export interface BackupSettings {
|
|
108
|
+
/** The name of the backup. */
|
|
109
|
+
backupName: string;
|
|
110
|
+
/** Backup Format for the current backup. (CollatedFormat is INTERNAL – DO NOT USE) */
|
|
111
|
+
backupFormat?: BackupFormat;
|
|
112
|
+
}
|
|
113
|
+
/** Represents ValidateBackup API Response */
|
|
114
|
+
export interface ValidateBackupResponse {
|
|
115
|
+
/** Estimated no of storage containers required for resource data to be backed up. */
|
|
116
|
+
numberOfContainers?: number;
|
|
117
|
+
}
|
|
118
|
+
/** A list of server configurations to update. */
|
|
119
|
+
export interface ConfigurationListForBatchUpdate {
|
|
120
|
+
/** The list of server configurations. */
|
|
121
|
+
value?: ConfigurationForBatchUpdate[];
|
|
122
|
+
/** Whether to reset all server parameters to default. */
|
|
123
|
+
resetAllToDefault?: ResetAllToDefault;
|
|
124
|
+
}
|
|
125
|
+
/** Represents a Configuration. */
|
|
126
|
+
export interface ConfigurationForBatchUpdate {
|
|
127
|
+
/** Name of the configuration. */
|
|
128
|
+
name?: string;
|
|
129
|
+
/** Value of the configuration. */
|
|
130
|
+
value?: string;
|
|
131
|
+
/** Source of the configuration. */
|
|
132
|
+
source?: string;
|
|
133
|
+
}
|
|
134
|
+
/** A list of server configurations. */
|
|
135
|
+
export interface ConfigurationListResult {
|
|
136
|
+
/** The list of server configurations. */
|
|
137
|
+
value?: Configuration[];
|
|
138
|
+
/** The link used to get the next page of operations. */
|
|
139
|
+
nextLink?: string;
|
|
140
|
+
}
|
|
141
|
+
/** A List of databases. */
|
|
142
|
+
export interface DatabaseListResult {
|
|
143
|
+
/** The list of databases housed in a server */
|
|
144
|
+
value?: Database[];
|
|
145
|
+
/** The link used to get the next page of operations. */
|
|
146
|
+
nextLink?: string;
|
|
147
|
+
}
|
|
148
|
+
/** A list of firewall rules. */
|
|
149
|
+
export interface FirewallRuleListResult {
|
|
150
|
+
/** The list of firewall rules in a server. */
|
|
151
|
+
value?: FirewallRule[];
|
|
152
|
+
/** The link used to get the next page of operations. */
|
|
153
|
+
nextLink?: string;
|
|
154
|
+
}
|
|
155
|
+
/** Properties to configure Identity for Bring your Own Keys */
|
|
156
|
+
export interface Identity {
|
|
157
|
+
/**
|
|
158
|
+
* ObjectId from the KeyVault
|
|
159
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
160
|
+
*/
|
|
161
|
+
readonly principalId?: string;
|
|
162
|
+
/**
|
|
163
|
+
* TenantId from the KeyVault
|
|
164
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
165
|
+
*/
|
|
166
|
+
readonly tenantId?: string;
|
|
167
|
+
/** Type of managed service identity. */
|
|
168
|
+
type?: ManagedServiceIdentityType;
|
|
169
|
+
/** Metadata of user assigned identity. */
|
|
170
|
+
userAssignedIdentities?: {
|
|
171
|
+
[propertyName: string]: Record<string, unknown>;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
/** Billing information related properties of a server. */
|
|
175
|
+
export interface Sku {
|
|
176
|
+
/** The name of the sku, e.g. Standard_D32s_v3. */
|
|
177
|
+
name: string;
|
|
178
|
+
/** The tier of the particular SKU, e.g. GeneralPurpose. */
|
|
179
|
+
tier: SkuTier;
|
|
180
|
+
}
|
|
181
|
+
/** The date encryption for cmk. */
|
|
182
|
+
export interface DataEncryption {
|
|
183
|
+
/** Primary user identity resource id */
|
|
184
|
+
primaryUserAssignedIdentityId?: string;
|
|
185
|
+
/** Primary key uri */
|
|
186
|
+
primaryKeyURI?: string;
|
|
187
|
+
/** Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup */
|
|
188
|
+
geoBackupUserAssignedIdentityId?: string;
|
|
189
|
+
/** Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup */
|
|
190
|
+
geoBackupKeyURI?: string;
|
|
191
|
+
/** The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk. */
|
|
192
|
+
type?: DataEncryptionType;
|
|
193
|
+
}
|
|
194
|
+
/** Storage Profile properties of a server */
|
|
195
|
+
export interface Storage {
|
|
196
|
+
/** Max storage size allowed for a server. */
|
|
197
|
+
storageSizeGB?: number;
|
|
198
|
+
/** Storage IOPS for a server. */
|
|
199
|
+
iops?: number;
|
|
200
|
+
/** Enable Storage Auto Grow or not. */
|
|
201
|
+
autoGrow?: EnableStatusEnum;
|
|
202
|
+
/** Enable Log On Disk or not. */
|
|
203
|
+
logOnDisk?: EnableStatusEnum;
|
|
204
|
+
/**
|
|
205
|
+
* The sku name of the server storage.
|
|
206
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
207
|
+
*/
|
|
208
|
+
readonly storageSku?: string;
|
|
209
|
+
/** Enable IO Auto Scaling or not. */
|
|
210
|
+
autoIoScaling?: EnableStatusEnum;
|
|
211
|
+
}
|
|
212
|
+
/** Storage Profile properties of a server */
|
|
213
|
+
export interface Backup {
|
|
214
|
+
/** Backup retention days for the server. */
|
|
215
|
+
backupRetentionDays?: number;
|
|
216
|
+
/** Whether or not geo redundant backup is enabled. */
|
|
217
|
+
geoRedundantBackup?: EnableStatusEnum;
|
|
218
|
+
/**
|
|
219
|
+
* Earliest restore point creation time (ISO8601 format)
|
|
220
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
221
|
+
*/
|
|
222
|
+
readonly earliestRestoreDate?: Date;
|
|
223
|
+
}
|
|
224
|
+
/** Network related properties of a server */
|
|
225
|
+
export interface HighAvailability {
|
|
226
|
+
/** High availability mode for a server. */
|
|
227
|
+
mode?: HighAvailabilityMode;
|
|
228
|
+
/**
|
|
229
|
+
* The state of server high availability.
|
|
230
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
231
|
+
*/
|
|
232
|
+
readonly state?: HighAvailabilityState;
|
|
233
|
+
/** Availability zone of the standby server. */
|
|
234
|
+
standbyAvailabilityZone?: string;
|
|
235
|
+
}
|
|
236
|
+
/** Network related properties of a server */
|
|
237
|
+
export interface Network {
|
|
238
|
+
/** Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration. */
|
|
239
|
+
publicNetworkAccess?: EnableStatusEnum;
|
|
240
|
+
/** Delegated subnet resource id used to setup vnet for a server. */
|
|
241
|
+
delegatedSubnetResourceId?: string;
|
|
242
|
+
/** Private DNS zone resource id. */
|
|
243
|
+
privateDnsZoneResourceId?: string;
|
|
244
|
+
}
|
|
245
|
+
/** Maintenance window of a server. */
|
|
246
|
+
export interface MaintenanceWindow {
|
|
247
|
+
/** indicates whether custom window is enabled or disabled */
|
|
248
|
+
customWindow?: string;
|
|
249
|
+
/** start hour for maintenance window */
|
|
250
|
+
startHour?: number;
|
|
251
|
+
/** start minute for maintenance window */
|
|
252
|
+
startMinute?: number;
|
|
253
|
+
/** day of week for maintenance window */
|
|
254
|
+
dayOfWeek?: number;
|
|
255
|
+
}
|
|
149
256
|
/** Parameters allowed to update for a server. */
|
|
150
257
|
export interface ServerForUpdate {
|
|
258
|
+
/** The cmk identity for the server. */
|
|
259
|
+
identity?: Identity;
|
|
151
260
|
/** The SKU (pricing tier) of the server. */
|
|
152
261
|
sku?: Sku;
|
|
153
262
|
/** Application-specific metadata in the form of key-value pairs. */
|
|
@@ -159,6 +268,8 @@ export interface ServerForUpdate {
|
|
|
159
268
|
* This value contains a credential. Consider obscuring before showing to users
|
|
160
269
|
*/
|
|
161
270
|
administratorLoginPassword?: string;
|
|
271
|
+
/** Server version. */
|
|
272
|
+
version?: ServerVersion;
|
|
162
273
|
/** Storage related properties of a server. */
|
|
163
274
|
storage?: Storage;
|
|
164
275
|
/** Backup related properties of a server. */
|
|
@@ -169,6 +280,8 @@ export interface ServerForUpdate {
|
|
|
169
280
|
maintenanceWindow?: MaintenanceWindow;
|
|
170
281
|
/** The replication role of the server. */
|
|
171
282
|
replicationRole?: ReplicationRole;
|
|
283
|
+
/** The Data Encryption for CMK. */
|
|
284
|
+
dataEncryption?: DataEncryption;
|
|
172
285
|
}
|
|
173
286
|
/** A list of servers. */
|
|
174
287
|
export interface ServerListResult {
|
|
@@ -184,45 +297,15 @@ export interface ServerRestartParameter {
|
|
|
184
297
|
/** The maximum allowed failover time in seconds. */
|
|
185
298
|
maxFailoverSeconds?: number;
|
|
186
299
|
}
|
|
187
|
-
/**
|
|
188
|
-
export interface
|
|
189
|
-
/** The
|
|
190
|
-
|
|
191
|
-
/** The link used to get the next page of operations. */
|
|
192
|
-
nextLink?: string;
|
|
193
|
-
}
|
|
194
|
-
/** A list of firewall rules. */
|
|
195
|
-
export interface FirewallRuleListResult {
|
|
196
|
-
/** The list of firewall rules in a server. */
|
|
197
|
-
value?: FirewallRule[];
|
|
198
|
-
/** The link used to get the next page of operations. */
|
|
199
|
-
nextLink?: string;
|
|
200
|
-
}
|
|
201
|
-
/** A List of databases. */
|
|
202
|
-
export interface DatabaseListResult {
|
|
203
|
-
/** The list of databases housed in a server */
|
|
204
|
-
value?: Database[];
|
|
205
|
-
/** The link used to get the next page of operations. */
|
|
206
|
-
nextLink?: string;
|
|
207
|
-
}
|
|
208
|
-
/** A list of server configurations to update. */
|
|
209
|
-
export interface ConfigurationListForBatchUpdate {
|
|
210
|
-
/** The list of server configurations. */
|
|
211
|
-
value?: ConfigurationForBatchUpdate[];
|
|
212
|
-
}
|
|
213
|
-
/** Represents a Configuration. */
|
|
214
|
-
export interface ConfigurationForBatchUpdate {
|
|
215
|
-
/** Name of the configuration. */
|
|
216
|
-
name?: string;
|
|
217
|
-
/** Value of the configuration. */
|
|
218
|
-
value?: string;
|
|
219
|
-
/** Source of the configuration. */
|
|
220
|
-
source?: string;
|
|
300
|
+
/** Server gtid set parameters. */
|
|
301
|
+
export interface ServerGtidSetParameter {
|
|
302
|
+
/** The gtid set of server. */
|
|
303
|
+
gtidSet?: string;
|
|
221
304
|
}
|
|
222
|
-
/** A
|
|
223
|
-
export interface
|
|
224
|
-
/** The list of server
|
|
225
|
-
value?:
|
|
305
|
+
/** A List of logFiles. */
|
|
306
|
+
export interface LogFileListResult {
|
|
307
|
+
/** The list of logFiles in a server */
|
|
308
|
+
value?: LogFile[];
|
|
226
309
|
/** The link used to get the next page of operations. */
|
|
227
310
|
nextLink?: string;
|
|
228
311
|
}
|
|
@@ -351,6 +434,16 @@ export interface VirtualNetworkSubnetUsageParameter {
|
|
|
351
434
|
}
|
|
352
435
|
/** Virtual network subnet usage data. */
|
|
353
436
|
export interface VirtualNetworkSubnetUsageResult {
|
|
437
|
+
/**
|
|
438
|
+
* The location name.
|
|
439
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
440
|
+
*/
|
|
441
|
+
readonly location?: string;
|
|
442
|
+
/**
|
|
443
|
+
* The subscription id.
|
|
444
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
445
|
+
*/
|
|
446
|
+
readonly subscriptionId?: string;
|
|
354
447
|
/**
|
|
355
448
|
* A list of delegated subnet usage
|
|
356
449
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -422,6 +515,22 @@ export interface OperationDisplay {
|
|
|
422
515
|
/** Operation description. */
|
|
423
516
|
description?: string;
|
|
424
517
|
}
|
|
518
|
+
/** Metadata of user assigned identity. */
|
|
519
|
+
export interface UserAssignedIdentity {
|
|
520
|
+
/**
|
|
521
|
+
* Principal Id of user assigned identity
|
|
522
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
523
|
+
*/
|
|
524
|
+
readonly principalId?: string;
|
|
525
|
+
/**
|
|
526
|
+
* Client Id of user assigned identity
|
|
527
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
528
|
+
*/
|
|
529
|
+
readonly clientId?: string;
|
|
530
|
+
}
|
|
531
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
532
|
+
export interface ProxyResource extends Resource {
|
|
533
|
+
}
|
|
425
534
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
426
535
|
export interface TrackedResource extends Resource {
|
|
427
536
|
/** Resource tags. */
|
|
@@ -431,65 +540,38 @@ export interface TrackedResource extends Resource {
|
|
|
431
540
|
/** The geo-location where the resource lives */
|
|
432
541
|
location: string;
|
|
433
542
|
}
|
|
434
|
-
/**
|
|
435
|
-
export interface
|
|
543
|
+
/** FullBackupStoreDetails is used for scenarios where backup data is streamed/copied over to a storage destination. */
|
|
544
|
+
export interface FullBackupStoreDetails extends BackupStoreDetails {
|
|
545
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
546
|
+
objectType: "FullBackupStoreDetails";
|
|
547
|
+
/** SASUriList of storage containers where backup data is to be streamed/copied. */
|
|
548
|
+
sasUriList: string[];
|
|
436
549
|
}
|
|
437
|
-
/**
|
|
438
|
-
export interface
|
|
439
|
-
/**
|
|
440
|
-
|
|
550
|
+
/** BackupAndExport API Request */
|
|
551
|
+
export interface BackupAndExportRequest extends BackupRequestBase {
|
|
552
|
+
/** Backup Target Store Details */
|
|
553
|
+
targetDetails: BackupStoreDetailsUnion;
|
|
554
|
+
}
|
|
555
|
+
/** Represents a Administrator. */
|
|
556
|
+
export interface AzureADAdministrator extends ProxyResource {
|
|
441
557
|
/**
|
|
442
558
|
* The system metadata relating to this resource.
|
|
443
559
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
444
560
|
*/
|
|
445
561
|
readonly systemData?: SystemData;
|
|
446
|
-
/**
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
/** The source MySQL server id. */
|
|
460
|
-
sourceServerResourceId?: string;
|
|
461
|
-
/** Restore point creation time (ISO8601 format), specifying the time to restore from. */
|
|
462
|
-
restorePointInTime?: Date;
|
|
463
|
-
/** The replication role. */
|
|
464
|
-
replicationRole?: ReplicationRole;
|
|
465
|
-
/**
|
|
466
|
-
* The maximum number of replicas that a primary server can have.
|
|
467
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
468
|
-
*/
|
|
469
|
-
readonly replicaCapacity?: number;
|
|
470
|
-
/**
|
|
471
|
-
* The state of a server.
|
|
472
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
473
|
-
*/
|
|
474
|
-
readonly state?: ServerState;
|
|
475
|
-
/**
|
|
476
|
-
* The fully qualified domain name of a server.
|
|
477
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
478
|
-
*/
|
|
479
|
-
readonly fullyQualifiedDomainName?: string;
|
|
480
|
-
/** Storage related properties of a server. */
|
|
481
|
-
storage?: Storage;
|
|
482
|
-
/** Backup related properties of a server. */
|
|
483
|
-
backup?: Backup;
|
|
484
|
-
/** High availability related properties of a server. */
|
|
485
|
-
highAvailability?: HighAvailability;
|
|
486
|
-
/** Network related properties of a server. */
|
|
487
|
-
network?: Network;
|
|
488
|
-
/** Maintenance window of a server. */
|
|
489
|
-
maintenanceWindow?: MaintenanceWindow;
|
|
490
|
-
}
|
|
491
|
-
/** Server backup properties */
|
|
492
|
-
export interface ServerBackup extends ProxyResource {
|
|
562
|
+
/** Type of the sever administrator. */
|
|
563
|
+
administratorType?: AdministratorType;
|
|
564
|
+
/** Login name of the server administrator. */
|
|
565
|
+
login?: string;
|
|
566
|
+
/** SID (object ID) of the server administrator. */
|
|
567
|
+
sid?: string;
|
|
568
|
+
/** Tenant ID of the administrator. */
|
|
569
|
+
tenantId?: string;
|
|
570
|
+
/** The resource id of the identity used for AAD Authentication. */
|
|
571
|
+
identityResourceId?: string;
|
|
572
|
+
}
|
|
573
|
+
/** Server backup properties */
|
|
574
|
+
export interface ServerBackup extends ProxyResource {
|
|
493
575
|
/**
|
|
494
576
|
* The system metadata relating to this resource.
|
|
495
577
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -502,29 +584,24 @@ export interface ServerBackup extends ProxyResource {
|
|
|
502
584
|
/** Backup source */
|
|
503
585
|
source?: string;
|
|
504
586
|
}
|
|
505
|
-
/** Represents
|
|
506
|
-
export interface
|
|
507
|
-
/**
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
readonly systemData?: SystemData;
|
|
524
|
-
/** The charset of the database. */
|
|
525
|
-
charset?: string;
|
|
526
|
-
/** The collation of the database. */
|
|
527
|
-
collation?: string;
|
|
587
|
+
/** Represents BackupAndExport API Response */
|
|
588
|
+
export interface BackupAndExportResponse extends ProxyResource {
|
|
589
|
+
/** The operation status */
|
|
590
|
+
status?: OperationStatus;
|
|
591
|
+
/** Start time */
|
|
592
|
+
startTime?: Date;
|
|
593
|
+
/** End time */
|
|
594
|
+
endTime?: Date;
|
|
595
|
+
/** Operation progress (0-100). */
|
|
596
|
+
percentComplete?: number;
|
|
597
|
+
/** The BackupAndExport operation error response. */
|
|
598
|
+
error?: ErrorResponse;
|
|
599
|
+
/** Size of datasource in bytes */
|
|
600
|
+
datasourceSizeInBytes?: number;
|
|
601
|
+
/** Data transferred in bytes */
|
|
602
|
+
dataTransferredInBytes?: number;
|
|
603
|
+
/** Metadata related to backup to be stored for restoring resource in key-value pairs. */
|
|
604
|
+
backupMetadata?: string;
|
|
528
605
|
}
|
|
529
606
|
/** Represents a Configuration. */
|
|
530
607
|
export interface Configuration extends ProxyResource {
|
|
@@ -535,11 +612,18 @@ export interface Configuration extends ProxyResource {
|
|
|
535
612
|
readonly systemData?: SystemData;
|
|
536
613
|
/** Value of the configuration. */
|
|
537
614
|
value?: string;
|
|
615
|
+
/** Current value of the configuration. */
|
|
616
|
+
currentValue?: string;
|
|
538
617
|
/**
|
|
539
618
|
* Description of the configuration.
|
|
540
619
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
541
620
|
*/
|
|
542
621
|
readonly description?: string;
|
|
622
|
+
/**
|
|
623
|
+
* The link used to get the document from community or Azure site.
|
|
624
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
625
|
+
*/
|
|
626
|
+
readonly documentationLink?: string;
|
|
543
627
|
/**
|
|
544
628
|
* Default value of the configuration.
|
|
545
629
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -573,6 +657,306 @@ export interface Configuration extends ProxyResource {
|
|
|
573
657
|
*/
|
|
574
658
|
readonly isDynamicConfig?: IsDynamicConfig;
|
|
575
659
|
}
|
|
660
|
+
/** Represents a Database. */
|
|
661
|
+
export interface Database extends ProxyResource {
|
|
662
|
+
/**
|
|
663
|
+
* The system metadata relating to this resource.
|
|
664
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
665
|
+
*/
|
|
666
|
+
readonly systemData?: SystemData;
|
|
667
|
+
/** The charset of the database. */
|
|
668
|
+
charset?: string;
|
|
669
|
+
/** The collation of the database. */
|
|
670
|
+
collation?: string;
|
|
671
|
+
}
|
|
672
|
+
/** Represents a server firewall rule. */
|
|
673
|
+
export interface FirewallRule extends ProxyResource {
|
|
674
|
+
/**
|
|
675
|
+
* The system metadata relating to this resource.
|
|
676
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
677
|
+
*/
|
|
678
|
+
readonly systemData?: SystemData;
|
|
679
|
+
/** The start IP address of the server firewall rule. Must be IPv4 format. */
|
|
680
|
+
startIpAddress: string;
|
|
681
|
+
/** The end IP address of the server firewall rule. Must be IPv4 format. */
|
|
682
|
+
endIpAddress: string;
|
|
683
|
+
}
|
|
684
|
+
/** Represents a logFile. */
|
|
685
|
+
export interface LogFile extends ProxyResource {
|
|
686
|
+
/**
|
|
687
|
+
* The system metadata relating to this resource.
|
|
688
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
689
|
+
*/
|
|
690
|
+
readonly systemData?: SystemData;
|
|
691
|
+
/** The size in kb of the logFile. */
|
|
692
|
+
sizeInKB?: number;
|
|
693
|
+
/** Creation timestamp of the log file. */
|
|
694
|
+
createdTime?: Date;
|
|
695
|
+
/** Type of the log file. */
|
|
696
|
+
typePropertiesType?: string;
|
|
697
|
+
/** Last modified timestamp of the log file. */
|
|
698
|
+
lastModifiedTime?: Date;
|
|
699
|
+
/** The url to download the log file from. */
|
|
700
|
+
url?: string;
|
|
701
|
+
}
|
|
702
|
+
/** Represents a server. */
|
|
703
|
+
export interface Server extends TrackedResource {
|
|
704
|
+
/** The cmk identity for the server. */
|
|
705
|
+
identity?: Identity;
|
|
706
|
+
/** The SKU (pricing tier) of the server. */
|
|
707
|
+
sku?: Sku;
|
|
708
|
+
/**
|
|
709
|
+
* The system metadata relating to this resource.
|
|
710
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
711
|
+
*/
|
|
712
|
+
readonly systemData?: SystemData;
|
|
713
|
+
/** The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). */
|
|
714
|
+
administratorLogin?: string;
|
|
715
|
+
/**
|
|
716
|
+
* The password of the administrator login (required for server creation).
|
|
717
|
+
* This value contains a credential. Consider obscuring before showing to users
|
|
718
|
+
*/
|
|
719
|
+
administratorLoginPassword?: string;
|
|
720
|
+
/** Server version. */
|
|
721
|
+
version?: ServerVersion;
|
|
722
|
+
/** availability Zone information of the server. */
|
|
723
|
+
availabilityZone?: string;
|
|
724
|
+
/** The mode to create a new MySQL server. */
|
|
725
|
+
createMode?: CreateMode;
|
|
726
|
+
/** The source MySQL server id. */
|
|
727
|
+
sourceServerResourceId?: string;
|
|
728
|
+
/** Restore point creation time (ISO8601 format), specifying the time to restore from. */
|
|
729
|
+
restorePointInTime?: Date;
|
|
730
|
+
/** The replication role. */
|
|
731
|
+
replicationRole?: ReplicationRole;
|
|
732
|
+
/**
|
|
733
|
+
* The maximum number of replicas that a primary server can have.
|
|
734
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
735
|
+
*/
|
|
736
|
+
readonly replicaCapacity?: number;
|
|
737
|
+
/** The Data Encryption for CMK. */
|
|
738
|
+
dataEncryption?: DataEncryption;
|
|
739
|
+
/**
|
|
740
|
+
* The state of a server.
|
|
741
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
742
|
+
*/
|
|
743
|
+
readonly state?: ServerState;
|
|
744
|
+
/**
|
|
745
|
+
* The fully qualified domain name of a server.
|
|
746
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
747
|
+
*/
|
|
748
|
+
readonly fullyQualifiedDomainName?: string;
|
|
749
|
+
/** Storage related properties of a server. */
|
|
750
|
+
storage?: Storage;
|
|
751
|
+
/** Backup related properties of a server. */
|
|
752
|
+
backup?: Backup;
|
|
753
|
+
/** High availability related properties of a server. */
|
|
754
|
+
highAvailability?: HighAvailability;
|
|
755
|
+
/** Network related properties of a server. */
|
|
756
|
+
network?: Network;
|
|
757
|
+
/** Maintenance window of a server. */
|
|
758
|
+
maintenanceWindow?: MaintenanceWindow;
|
|
759
|
+
}
|
|
760
|
+
/** Defines headers for BackupAndExport_create operation. */
|
|
761
|
+
export interface BackupAndExportCreateHeaders {
|
|
762
|
+
/** URL to retrieve the final result after operation completes. */
|
|
763
|
+
location?: string;
|
|
764
|
+
/** URL to query for status of the operation. */
|
|
765
|
+
azureAsyncOperation?: string;
|
|
766
|
+
}
|
|
767
|
+
/** Defines headers for Configurations_createOrUpdate operation. */
|
|
768
|
+
export interface ConfigurationsCreateOrUpdateHeaders {
|
|
769
|
+
location?: string;
|
|
770
|
+
}
|
|
771
|
+
/** Defines headers for Servers_create operation. */
|
|
772
|
+
export interface ServersCreateHeaders {
|
|
773
|
+
location?: string;
|
|
774
|
+
}
|
|
775
|
+
/** Defines headers for Servers_update operation. */
|
|
776
|
+
export interface ServersUpdateHeaders {
|
|
777
|
+
location?: string;
|
|
778
|
+
}
|
|
779
|
+
/** Defines headers for Servers_delete operation. */
|
|
780
|
+
export interface ServersDeleteHeaders {
|
|
781
|
+
location?: string;
|
|
782
|
+
}
|
|
783
|
+
/** Defines headers for Servers_failover operation. */
|
|
784
|
+
export interface ServersFailoverHeaders {
|
|
785
|
+
location?: string;
|
|
786
|
+
}
|
|
787
|
+
/** Defines headers for Servers_restart operation. */
|
|
788
|
+
export interface ServersRestartHeaders {
|
|
789
|
+
location?: string;
|
|
790
|
+
}
|
|
791
|
+
/** Defines headers for Servers_start operation. */
|
|
792
|
+
export interface ServersStartHeaders {
|
|
793
|
+
location?: string;
|
|
794
|
+
}
|
|
795
|
+
/** Defines headers for Servers_stop operation. */
|
|
796
|
+
export interface ServersStopHeaders {
|
|
797
|
+
location?: string;
|
|
798
|
+
}
|
|
799
|
+
/** Defines headers for Servers_resetGtid operation. */
|
|
800
|
+
export interface ServersResetGtidHeaders {
|
|
801
|
+
location?: string;
|
|
802
|
+
}
|
|
803
|
+
/** Known values of {@link AdministratorName} that the service accepts. */
|
|
804
|
+
export declare enum KnownAdministratorName {
|
|
805
|
+
/** ActiveDirectory */
|
|
806
|
+
ActiveDirectory = "ActiveDirectory"
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Defines values for AdministratorName. \
|
|
810
|
+
* {@link KnownAdministratorName} can be used interchangeably with AdministratorName,
|
|
811
|
+
* this enum contains the known values that the service supports.
|
|
812
|
+
* ### Known values supported by the service
|
|
813
|
+
* **ActiveDirectory**
|
|
814
|
+
*/
|
|
815
|
+
export type AdministratorName = string;
|
|
816
|
+
/** Known values of {@link AdministratorType} that the service accepts. */
|
|
817
|
+
export declare enum KnownAdministratorType {
|
|
818
|
+
/** ActiveDirectory */
|
|
819
|
+
ActiveDirectory = "ActiveDirectory"
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* Defines values for AdministratorType. \
|
|
823
|
+
* {@link KnownAdministratorType} can be used interchangeably with AdministratorType,
|
|
824
|
+
* this enum contains the known values that the service supports.
|
|
825
|
+
* ### Known values supported by the service
|
|
826
|
+
* **ActiveDirectory**
|
|
827
|
+
*/
|
|
828
|
+
export type AdministratorType = string;
|
|
829
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
830
|
+
export declare enum KnownCreatedByType {
|
|
831
|
+
/** User */
|
|
832
|
+
User = "User",
|
|
833
|
+
/** Application */
|
|
834
|
+
Application = "Application",
|
|
835
|
+
/** ManagedIdentity */
|
|
836
|
+
ManagedIdentity = "ManagedIdentity",
|
|
837
|
+
/** Key */
|
|
838
|
+
Key = "Key"
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Defines values for CreatedByType. \
|
|
842
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
843
|
+
* this enum contains the known values that the service supports.
|
|
844
|
+
* ### Known values supported by the service
|
|
845
|
+
* **User** \
|
|
846
|
+
* **Application** \
|
|
847
|
+
* **ManagedIdentity** \
|
|
848
|
+
* **Key**
|
|
849
|
+
*/
|
|
850
|
+
export type CreatedByType = string;
|
|
851
|
+
/** Known values of {@link BackupFormat} that the service accepts. */
|
|
852
|
+
export declare enum KnownBackupFormat {
|
|
853
|
+
/** None */
|
|
854
|
+
None = "None",
|
|
855
|
+
/** CollatedFormat */
|
|
856
|
+
CollatedFormat = "CollatedFormat"
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* Defines values for BackupFormat. \
|
|
860
|
+
* {@link KnownBackupFormat} can be used interchangeably with BackupFormat,
|
|
861
|
+
* this enum contains the known values that the service supports.
|
|
862
|
+
* ### Known values supported by the service
|
|
863
|
+
* **None** \
|
|
864
|
+
* **CollatedFormat**
|
|
865
|
+
*/
|
|
866
|
+
export type BackupFormat = string;
|
|
867
|
+
/** Known values of {@link ConfigurationSource} that the service accepts. */
|
|
868
|
+
export declare enum KnownConfigurationSource {
|
|
869
|
+
/** SystemDefault */
|
|
870
|
+
SystemDefault = "system-default",
|
|
871
|
+
/** UserOverride */
|
|
872
|
+
UserOverride = "user-override"
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Defines values for ConfigurationSource. \
|
|
876
|
+
* {@link KnownConfigurationSource} can be used interchangeably with ConfigurationSource,
|
|
877
|
+
* this enum contains the known values that the service supports.
|
|
878
|
+
* ### Known values supported by the service
|
|
879
|
+
* **system-default** \
|
|
880
|
+
* **user-override**
|
|
881
|
+
*/
|
|
882
|
+
export type ConfigurationSource = string;
|
|
883
|
+
/** Known values of {@link IsReadOnly} that the service accepts. */
|
|
884
|
+
export declare enum KnownIsReadOnly {
|
|
885
|
+
/** True */
|
|
886
|
+
True = "True",
|
|
887
|
+
/** False */
|
|
888
|
+
False = "False"
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Defines values for IsReadOnly. \
|
|
892
|
+
* {@link KnownIsReadOnly} can be used interchangeably with IsReadOnly,
|
|
893
|
+
* this enum contains the known values that the service supports.
|
|
894
|
+
* ### Known values supported by the service
|
|
895
|
+
* **True** \
|
|
896
|
+
* **False**
|
|
897
|
+
*/
|
|
898
|
+
export type IsReadOnly = string;
|
|
899
|
+
/** Known values of {@link IsConfigPendingRestart} that the service accepts. */
|
|
900
|
+
export declare enum KnownIsConfigPendingRestart {
|
|
901
|
+
/** True */
|
|
902
|
+
True = "True",
|
|
903
|
+
/** False */
|
|
904
|
+
False = "False"
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Defines values for IsConfigPendingRestart. \
|
|
908
|
+
* {@link KnownIsConfigPendingRestart} can be used interchangeably with IsConfigPendingRestart,
|
|
909
|
+
* this enum contains the known values that the service supports.
|
|
910
|
+
* ### Known values supported by the service
|
|
911
|
+
* **True** \
|
|
912
|
+
* **False**
|
|
913
|
+
*/
|
|
914
|
+
export type IsConfigPendingRestart = string;
|
|
915
|
+
/** Known values of {@link IsDynamicConfig} that the service accepts. */
|
|
916
|
+
export declare enum KnownIsDynamicConfig {
|
|
917
|
+
/** True */
|
|
918
|
+
True = "True",
|
|
919
|
+
/** False */
|
|
920
|
+
False = "False"
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Defines values for IsDynamicConfig. \
|
|
924
|
+
* {@link KnownIsDynamicConfig} can be used interchangeably with IsDynamicConfig,
|
|
925
|
+
* this enum contains the known values that the service supports.
|
|
926
|
+
* ### Known values supported by the service
|
|
927
|
+
* **True** \
|
|
928
|
+
* **False**
|
|
929
|
+
*/
|
|
930
|
+
export type IsDynamicConfig = string;
|
|
931
|
+
/** Known values of {@link ResetAllToDefault} that the service accepts. */
|
|
932
|
+
export declare enum KnownResetAllToDefault {
|
|
933
|
+
/** True */
|
|
934
|
+
True = "True",
|
|
935
|
+
/** False */
|
|
936
|
+
False = "False"
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* Defines values for ResetAllToDefault. \
|
|
940
|
+
* {@link KnownResetAllToDefault} can be used interchangeably with ResetAllToDefault,
|
|
941
|
+
* this enum contains the known values that the service supports.
|
|
942
|
+
* ### Known values supported by the service
|
|
943
|
+
* **True** \
|
|
944
|
+
* **False**
|
|
945
|
+
*/
|
|
946
|
+
export type ResetAllToDefault = string;
|
|
947
|
+
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
948
|
+
export declare enum KnownManagedServiceIdentityType {
|
|
949
|
+
/** UserAssigned */
|
|
950
|
+
UserAssigned = "UserAssigned"
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* Defines values for ManagedServiceIdentityType. \
|
|
954
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
955
|
+
* this enum contains the known values that the service supports.
|
|
956
|
+
* ### Known values supported by the service
|
|
957
|
+
* **UserAssigned**
|
|
958
|
+
*/
|
|
959
|
+
export type ManagedServiceIdentityType = string;
|
|
576
960
|
/** Known values of {@link SkuTier} that the service accepts. */
|
|
577
961
|
export declare enum KnownSkuTier {
|
|
578
962
|
/** Burstable */
|
|
@@ -683,252 +1067,213 @@ export type ServerState = string;
|
|
|
683
1067
|
/** Known values of {@link EnableStatusEnum} that the service accepts. */
|
|
684
1068
|
export declare enum KnownEnableStatusEnum {
|
|
685
1069
|
/** Enabled */
|
|
686
|
-
Enabled = "Enabled",
|
|
687
|
-
/** Disabled */
|
|
688
|
-
Disabled = "Disabled"
|
|
689
|
-
}
|
|
690
|
-
/**
|
|
691
|
-
* Defines values for EnableStatusEnum. \
|
|
692
|
-
* {@link KnownEnableStatusEnum} can be used interchangeably with EnableStatusEnum,
|
|
693
|
-
* this enum contains the known values that the service supports.
|
|
694
|
-
* ### Known values supported by the service
|
|
695
|
-
* **Enabled** \
|
|
696
|
-
* **Disabled**
|
|
697
|
-
*/
|
|
698
|
-
export type EnableStatusEnum = string;
|
|
699
|
-
/** Known values of {@link HighAvailabilityMode} that the service accepts. */
|
|
700
|
-
export declare enum KnownHighAvailabilityMode {
|
|
701
|
-
/** Disabled */
|
|
702
|
-
Disabled = "Disabled",
|
|
703
|
-
/** ZoneRedundant */
|
|
704
|
-
ZoneRedundant = "ZoneRedundant",
|
|
705
|
-
/** SameZone */
|
|
706
|
-
SameZone = "SameZone"
|
|
707
|
-
}
|
|
708
|
-
/**
|
|
709
|
-
* Defines values for HighAvailabilityMode. \
|
|
710
|
-
* {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode,
|
|
711
|
-
* this enum contains the known values that the service supports.
|
|
712
|
-
* ### Known values supported by the service
|
|
713
|
-
* **Disabled** \
|
|
714
|
-
* **ZoneRedundant** \
|
|
715
|
-
* **SameZone**
|
|
716
|
-
*/
|
|
717
|
-
export type HighAvailabilityMode = string;
|
|
718
|
-
/** Known values of {@link HighAvailabilityState} that the service accepts. */
|
|
719
|
-
export declare enum KnownHighAvailabilityState {
|
|
720
|
-
/** NotEnabled */
|
|
721
|
-
NotEnabled = "NotEnabled",
|
|
722
|
-
/** CreatingStandby */
|
|
723
|
-
CreatingStandby = "CreatingStandby",
|
|
724
|
-
/** Healthy */
|
|
725
|
-
Healthy = "Healthy",
|
|
726
|
-
/** FailingOver */
|
|
727
|
-
FailingOver = "FailingOver",
|
|
728
|
-
/** RemovingStandby */
|
|
729
|
-
RemovingStandby = "RemovingStandby"
|
|
730
|
-
}
|
|
731
|
-
/**
|
|
732
|
-
* Defines values for HighAvailabilityState. \
|
|
733
|
-
* {@link KnownHighAvailabilityState} can be used interchangeably with HighAvailabilityState,
|
|
734
|
-
* this enum contains the known values that the service supports.
|
|
735
|
-
* ### Known values supported by the service
|
|
736
|
-
* **NotEnabled** \
|
|
737
|
-
* **CreatingStandby** \
|
|
738
|
-
* **Healthy** \
|
|
739
|
-
* **FailingOver** \
|
|
740
|
-
* **RemovingStandby**
|
|
741
|
-
*/
|
|
742
|
-
export type HighAvailabilityState = string;
|
|
743
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
744
|
-
export declare enum KnownCreatedByType {
|
|
745
|
-
/** User */
|
|
746
|
-
User = "User",
|
|
747
|
-
/** Application */
|
|
748
|
-
Application = "Application",
|
|
749
|
-
/** ManagedIdentity */
|
|
750
|
-
ManagedIdentity = "ManagedIdentity",
|
|
751
|
-
/** Key */
|
|
752
|
-
Key = "Key"
|
|
753
|
-
}
|
|
754
|
-
/**
|
|
755
|
-
* Defines values for CreatedByType. \
|
|
756
|
-
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
757
|
-
* this enum contains the known values that the service supports.
|
|
758
|
-
* ### Known values supported by the service
|
|
759
|
-
* **User** \
|
|
760
|
-
* **Application** \
|
|
761
|
-
* **ManagedIdentity** \
|
|
762
|
-
* **Key**
|
|
763
|
-
*/
|
|
764
|
-
export type CreatedByType = string;
|
|
765
|
-
/** Known values of {@link ConfigurationSource} that the service accepts. */
|
|
766
|
-
export declare enum KnownConfigurationSource {
|
|
767
|
-
/** SystemDefault */
|
|
768
|
-
SystemDefault = "system-default",
|
|
769
|
-
/** UserOverride */
|
|
770
|
-
UserOverride = "user-override"
|
|
771
|
-
}
|
|
772
|
-
/**
|
|
773
|
-
* Defines values for ConfigurationSource. \
|
|
774
|
-
* {@link KnownConfigurationSource} can be used interchangeably with ConfigurationSource,
|
|
775
|
-
* this enum contains the known values that the service supports.
|
|
776
|
-
* ### Known values supported by the service
|
|
777
|
-
* **system-default** \
|
|
778
|
-
* **user-override**
|
|
779
|
-
*/
|
|
780
|
-
export type ConfigurationSource = string;
|
|
781
|
-
/** Known values of {@link IsReadOnly} that the service accepts. */
|
|
782
|
-
export declare enum KnownIsReadOnly {
|
|
783
|
-
/** True */
|
|
784
|
-
True = "True",
|
|
785
|
-
/** False */
|
|
786
|
-
False = "False"
|
|
1070
|
+
Enabled = "Enabled",
|
|
1071
|
+
/** Disabled */
|
|
1072
|
+
Disabled = "Disabled"
|
|
787
1073
|
}
|
|
788
1074
|
/**
|
|
789
|
-
* Defines values for
|
|
790
|
-
* {@link
|
|
1075
|
+
* Defines values for EnableStatusEnum. \
|
|
1076
|
+
* {@link KnownEnableStatusEnum} can be used interchangeably with EnableStatusEnum,
|
|
791
1077
|
* this enum contains the known values that the service supports.
|
|
792
1078
|
* ### Known values supported by the service
|
|
793
|
-
* **
|
|
794
|
-
* **
|
|
1079
|
+
* **Enabled** \
|
|
1080
|
+
* **Disabled**
|
|
795
1081
|
*/
|
|
796
|
-
export type
|
|
797
|
-
/** Known values of {@link
|
|
798
|
-
export declare enum
|
|
799
|
-
/**
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
|
|
1082
|
+
export type EnableStatusEnum = string;
|
|
1083
|
+
/** Known values of {@link HighAvailabilityMode} that the service accepts. */
|
|
1084
|
+
export declare enum KnownHighAvailabilityMode {
|
|
1085
|
+
/** Disabled */
|
|
1086
|
+
Disabled = "Disabled",
|
|
1087
|
+
/** ZoneRedundant */
|
|
1088
|
+
ZoneRedundant = "ZoneRedundant",
|
|
1089
|
+
/** SameZone */
|
|
1090
|
+
SameZone = "SameZone"
|
|
803
1091
|
}
|
|
804
1092
|
/**
|
|
805
|
-
* Defines values for
|
|
806
|
-
* {@link
|
|
1093
|
+
* Defines values for HighAvailabilityMode. \
|
|
1094
|
+
* {@link KnownHighAvailabilityMode} can be used interchangeably with HighAvailabilityMode,
|
|
807
1095
|
* this enum contains the known values that the service supports.
|
|
808
1096
|
* ### Known values supported by the service
|
|
809
|
-
* **
|
|
810
|
-
* **
|
|
1097
|
+
* **Disabled** \
|
|
1098
|
+
* **ZoneRedundant** \
|
|
1099
|
+
* **SameZone**
|
|
811
1100
|
*/
|
|
812
|
-
export type
|
|
813
|
-
/** Known values of {@link
|
|
814
|
-
export declare enum
|
|
815
|
-
/**
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
|
|
1101
|
+
export type HighAvailabilityMode = string;
|
|
1102
|
+
/** Known values of {@link HighAvailabilityState} that the service accepts. */
|
|
1103
|
+
export declare enum KnownHighAvailabilityState {
|
|
1104
|
+
/** NotEnabled */
|
|
1105
|
+
NotEnabled = "NotEnabled",
|
|
1106
|
+
/** CreatingStandby */
|
|
1107
|
+
CreatingStandby = "CreatingStandby",
|
|
1108
|
+
/** Healthy */
|
|
1109
|
+
Healthy = "Healthy",
|
|
1110
|
+
/** FailingOver */
|
|
1111
|
+
FailingOver = "FailingOver",
|
|
1112
|
+
/** RemovingStandby */
|
|
1113
|
+
RemovingStandby = "RemovingStandby"
|
|
819
1114
|
}
|
|
820
1115
|
/**
|
|
821
|
-
* Defines values for
|
|
822
|
-
* {@link
|
|
1116
|
+
* Defines values for HighAvailabilityState. \
|
|
1117
|
+
* {@link KnownHighAvailabilityState} can be used interchangeably with HighAvailabilityState,
|
|
823
1118
|
* this enum contains the known values that the service supports.
|
|
824
1119
|
* ### Known values supported by the service
|
|
825
|
-
* **
|
|
826
|
-
* **
|
|
1120
|
+
* **NotEnabled** \
|
|
1121
|
+
* **CreatingStandby** \
|
|
1122
|
+
* **Healthy** \
|
|
1123
|
+
* **FailingOver** \
|
|
1124
|
+
* **RemovingStandby**
|
|
827
1125
|
*/
|
|
828
|
-
export type
|
|
1126
|
+
export type HighAvailabilityState = string;
|
|
1127
|
+
/** Defines values for OperationStatus. */
|
|
1128
|
+
export type OperationStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "CancelInProgress" | "Canceled";
|
|
1129
|
+
/** Defines values for DataEncryptionType. */
|
|
1130
|
+
export type DataEncryptionType = "AzureKeyVault" | "SystemManaged";
|
|
829
1131
|
/** Optional parameters. */
|
|
830
|
-
export interface
|
|
1132
|
+
export interface AzureADAdministratorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
831
1133
|
/** Delay to wait until next poll, in milliseconds. */
|
|
832
1134
|
updateIntervalInMs?: number;
|
|
833
1135
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
834
1136
|
resumeFrom?: string;
|
|
835
1137
|
}
|
|
836
|
-
/** Contains response data for the
|
|
837
|
-
export type
|
|
1138
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1139
|
+
export type AzureADAdministratorsCreateOrUpdateResponse = AzureADAdministrator;
|
|
838
1140
|
/** Optional parameters. */
|
|
839
|
-
export interface
|
|
1141
|
+
export interface AzureADAdministratorsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
840
1142
|
/** Delay to wait until next poll, in milliseconds. */
|
|
841
1143
|
updateIntervalInMs?: number;
|
|
842
1144
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
843
1145
|
resumeFrom?: string;
|
|
844
1146
|
}
|
|
845
|
-
/** Contains response data for the update operation. */
|
|
846
|
-
export type ServersUpdateResponse = Server;
|
|
847
1147
|
/** Optional parameters. */
|
|
848
|
-
export interface
|
|
849
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
850
|
-
updateIntervalInMs?: number;
|
|
851
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
852
|
-
resumeFrom?: string;
|
|
1148
|
+
export interface AzureADAdministratorsGetOptionalParams extends coreClient.OperationOptions {
|
|
853
1149
|
}
|
|
1150
|
+
/** Contains response data for the get operation. */
|
|
1151
|
+
export type AzureADAdministratorsGetResponse = AzureADAdministrator;
|
|
854
1152
|
/** Optional parameters. */
|
|
855
|
-
export interface
|
|
1153
|
+
export interface AzureADAdministratorsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1154
|
+
}
|
|
1155
|
+
/** Contains response data for the listByServer operation. */
|
|
1156
|
+
export type AzureADAdministratorsListByServerResponse = AdministratorListResult;
|
|
1157
|
+
/** Optional parameters. */
|
|
1158
|
+
export interface AzureADAdministratorsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1159
|
+
}
|
|
1160
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1161
|
+
export type AzureADAdministratorsListByServerNextResponse = AdministratorListResult;
|
|
1162
|
+
/** Optional parameters. */
|
|
1163
|
+
export interface BackupsPutOptionalParams extends coreClient.OperationOptions {
|
|
1164
|
+
}
|
|
1165
|
+
/** Contains response data for the put operation. */
|
|
1166
|
+
export type BackupsPutResponse = ServerBackup;
|
|
1167
|
+
/** Optional parameters. */
|
|
1168
|
+
export interface BackupsGetOptionalParams extends coreClient.OperationOptions {
|
|
856
1169
|
}
|
|
857
1170
|
/** Contains response data for the get operation. */
|
|
858
|
-
export type
|
|
1171
|
+
export type BackupsGetResponse = ServerBackup;
|
|
859
1172
|
/** Optional parameters. */
|
|
860
|
-
export interface
|
|
1173
|
+
export interface BackupsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
861
1174
|
}
|
|
862
|
-
/** Contains response data for the
|
|
863
|
-
export type
|
|
1175
|
+
/** Contains response data for the listByServer operation. */
|
|
1176
|
+
export type BackupsListByServerResponse = ServerBackupListResult;
|
|
864
1177
|
/** Optional parameters. */
|
|
865
|
-
export interface
|
|
1178
|
+
export interface BackupsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
866
1179
|
}
|
|
867
|
-
/** Contains response data for the
|
|
868
|
-
export type
|
|
1180
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1181
|
+
export type BackupsListByServerNextResponse = ServerBackupListResult;
|
|
869
1182
|
/** Optional parameters. */
|
|
870
|
-
export interface
|
|
1183
|
+
export interface BackupAndExportCreateOptionalParams extends coreClient.OperationOptions {
|
|
871
1184
|
/** Delay to wait until next poll, in milliseconds. */
|
|
872
1185
|
updateIntervalInMs?: number;
|
|
873
1186
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
874
1187
|
resumeFrom?: string;
|
|
875
1188
|
}
|
|
1189
|
+
/** Contains response data for the create operation. */
|
|
1190
|
+
export type BackupAndExportCreateResponse = BackupAndExportResponse;
|
|
1191
|
+
/** Optional parameters. */
|
|
1192
|
+
export interface BackupAndExportValidateBackupOptionalParams extends coreClient.OperationOptions {
|
|
1193
|
+
}
|
|
1194
|
+
/** Contains response data for the validateBackup operation. */
|
|
1195
|
+
export type BackupAndExportValidateBackupResponse = ValidateBackupResponse;
|
|
876
1196
|
/** Optional parameters. */
|
|
877
|
-
export interface
|
|
1197
|
+
export interface ConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
878
1198
|
/** Delay to wait until next poll, in milliseconds. */
|
|
879
1199
|
updateIntervalInMs?: number;
|
|
880
1200
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
881
1201
|
resumeFrom?: string;
|
|
882
1202
|
}
|
|
1203
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1204
|
+
export type ConfigurationsCreateOrUpdateResponse = Configuration;
|
|
883
1205
|
/** Optional parameters. */
|
|
884
|
-
export interface
|
|
1206
|
+
export interface ConfigurationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
885
1207
|
/** Delay to wait until next poll, in milliseconds. */
|
|
886
1208
|
updateIntervalInMs?: number;
|
|
887
1209
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
888
1210
|
resumeFrom?: string;
|
|
889
1211
|
}
|
|
1212
|
+
/** Contains response data for the update operation. */
|
|
1213
|
+
export type ConfigurationsUpdateResponse = Configuration;
|
|
890
1214
|
/** Optional parameters. */
|
|
891
|
-
export interface
|
|
1215
|
+
export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
|
|
1216
|
+
}
|
|
1217
|
+
/** Contains response data for the get operation. */
|
|
1218
|
+
export type ConfigurationsGetResponse = Configuration;
|
|
1219
|
+
/** Optional parameters. */
|
|
1220
|
+
export interface ConfigurationsBatchUpdateOptionalParams extends coreClient.OperationOptions {
|
|
892
1221
|
/** Delay to wait until next poll, in milliseconds. */
|
|
893
1222
|
updateIntervalInMs?: number;
|
|
894
1223
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
895
1224
|
resumeFrom?: string;
|
|
896
1225
|
}
|
|
1226
|
+
/** Contains response data for the batchUpdate operation. */
|
|
1227
|
+
export type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
|
|
897
1228
|
/** Optional parameters. */
|
|
898
|
-
export interface
|
|
1229
|
+
export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1230
|
+
/** The tags of the server configuration. */
|
|
1231
|
+
tags?: string;
|
|
1232
|
+
/** The keyword of the server configuration. */
|
|
1233
|
+
keyword?: string;
|
|
1234
|
+
/** The page of the server configuration. */
|
|
1235
|
+
page?: number;
|
|
1236
|
+
/** The pageSize of the server configuration. */
|
|
1237
|
+
pageSize?: number;
|
|
899
1238
|
}
|
|
900
|
-
/** Contains response data for the
|
|
901
|
-
export type
|
|
1239
|
+
/** Contains response data for the listByServer operation. */
|
|
1240
|
+
export type ConfigurationsListByServerResponse = ConfigurationListResult;
|
|
902
1241
|
/** Optional parameters. */
|
|
903
|
-
export interface
|
|
1242
|
+
export interface ConfigurationsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
904
1243
|
}
|
|
905
|
-
/** Contains response data for the
|
|
906
|
-
export type
|
|
1244
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1245
|
+
export type ConfigurationsListByServerNextResponse = ConfigurationListResult;
|
|
907
1246
|
/** Optional parameters. */
|
|
908
|
-
export interface
|
|
1247
|
+
export interface DatabasesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1248
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1249
|
+
updateIntervalInMs?: number;
|
|
1250
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1251
|
+
resumeFrom?: string;
|
|
909
1252
|
}
|
|
910
|
-
/** Contains response data for the
|
|
911
|
-
export type
|
|
1253
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1254
|
+
export type DatabasesCreateOrUpdateResponse = Database;
|
|
912
1255
|
/** Optional parameters. */
|
|
913
|
-
export interface
|
|
1256
|
+
export interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1257
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1258
|
+
updateIntervalInMs?: number;
|
|
1259
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1260
|
+
resumeFrom?: string;
|
|
914
1261
|
}
|
|
915
|
-
/** Contains response data for the listByServerNext operation. */
|
|
916
|
-
export type ReplicasListByServerNextResponse = ServerListResult;
|
|
917
1262
|
/** Optional parameters. */
|
|
918
|
-
export interface
|
|
1263
|
+
export interface DatabasesGetOptionalParams extends coreClient.OperationOptions {
|
|
919
1264
|
}
|
|
920
1265
|
/** Contains response data for the get operation. */
|
|
921
|
-
export type
|
|
1266
|
+
export type DatabasesGetResponse = Database;
|
|
922
1267
|
/** Optional parameters. */
|
|
923
|
-
export interface
|
|
1268
|
+
export interface DatabasesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
924
1269
|
}
|
|
925
1270
|
/** Contains response data for the listByServer operation. */
|
|
926
|
-
export type
|
|
1271
|
+
export type DatabasesListByServerResponse = DatabaseListResult;
|
|
927
1272
|
/** Optional parameters. */
|
|
928
|
-
export interface
|
|
1273
|
+
export interface DatabasesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
929
1274
|
}
|
|
930
1275
|
/** Contains response data for the listByServerNext operation. */
|
|
931
|
-
export type
|
|
1276
|
+
export type DatabasesListByServerNextResponse = DatabaseListResult;
|
|
932
1277
|
/** Optional parameters. */
|
|
933
1278
|
export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
934
1279
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -961,69 +1306,110 @@ export interface FirewallRulesListByServerNextOptionalParams extends coreClient.
|
|
|
961
1306
|
/** Contains response data for the listByServerNext operation. */
|
|
962
1307
|
export type FirewallRulesListByServerNextResponse = FirewallRuleListResult;
|
|
963
1308
|
/** Optional parameters. */
|
|
964
|
-
export interface
|
|
1309
|
+
export interface ServersCreateOptionalParams extends coreClient.OperationOptions {
|
|
965
1310
|
/** Delay to wait until next poll, in milliseconds. */
|
|
966
1311
|
updateIntervalInMs?: number;
|
|
967
1312
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
968
1313
|
resumeFrom?: string;
|
|
969
1314
|
}
|
|
970
|
-
/** Contains response data for the
|
|
971
|
-
export type
|
|
1315
|
+
/** Contains response data for the create operation. */
|
|
1316
|
+
export type ServersCreateResponse = Server;
|
|
972
1317
|
/** Optional parameters. */
|
|
973
|
-
export interface
|
|
1318
|
+
export interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1319
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1320
|
+
updateIntervalInMs?: number;
|
|
1321
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1322
|
+
resumeFrom?: string;
|
|
1323
|
+
}
|
|
1324
|
+
/** Contains response data for the update operation. */
|
|
1325
|
+
export type ServersUpdateResponse = Server;
|
|
1326
|
+
/** Optional parameters. */
|
|
1327
|
+
export interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
|
|
974
1328
|
/** Delay to wait until next poll, in milliseconds. */
|
|
975
1329
|
updateIntervalInMs?: number;
|
|
976
1330
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
977
1331
|
resumeFrom?: string;
|
|
978
1332
|
}
|
|
979
1333
|
/** Optional parameters. */
|
|
980
|
-
export interface
|
|
1334
|
+
export interface ServersGetOptionalParams extends coreClient.OperationOptions {
|
|
981
1335
|
}
|
|
982
1336
|
/** Contains response data for the get operation. */
|
|
983
|
-
export type
|
|
1337
|
+
export type ServersGetResponse = Server;
|
|
984
1338
|
/** Optional parameters. */
|
|
985
|
-
export interface
|
|
1339
|
+
export interface ServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
986
1340
|
}
|
|
987
|
-
/** Contains response data for the
|
|
988
|
-
export type
|
|
1341
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1342
|
+
export type ServersListByResourceGroupResponse = ServerListResult;
|
|
989
1343
|
/** Optional parameters. */
|
|
990
|
-
export interface
|
|
1344
|
+
export interface ServersListOptionalParams extends coreClient.OperationOptions {
|
|
991
1345
|
}
|
|
992
|
-
/** Contains response data for the
|
|
993
|
-
export type
|
|
1346
|
+
/** Contains response data for the list operation. */
|
|
1347
|
+
export type ServersListResponse = ServerListResult;
|
|
994
1348
|
/** Optional parameters. */
|
|
995
|
-
export interface
|
|
1349
|
+
export interface ServersFailoverOptionalParams extends coreClient.OperationOptions {
|
|
996
1350
|
/** Delay to wait until next poll, in milliseconds. */
|
|
997
1351
|
updateIntervalInMs?: number;
|
|
998
1352
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
999
1353
|
resumeFrom?: string;
|
|
1000
1354
|
}
|
|
1001
|
-
/** Contains response data for the update operation. */
|
|
1002
|
-
export type ConfigurationsUpdateResponse = Configuration;
|
|
1003
1355
|
/** Optional parameters. */
|
|
1004
|
-
export interface
|
|
1356
|
+
export interface ServersRestartOptionalParams extends coreClient.OperationOptions {
|
|
1357
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1358
|
+
updateIntervalInMs?: number;
|
|
1359
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1360
|
+
resumeFrom?: string;
|
|
1005
1361
|
}
|
|
1006
|
-
/** Contains response data for the get operation. */
|
|
1007
|
-
export type ConfigurationsGetResponse = Configuration;
|
|
1008
1362
|
/** Optional parameters. */
|
|
1009
|
-
export interface
|
|
1363
|
+
export interface ServersStartOptionalParams extends coreClient.OperationOptions {
|
|
1010
1364
|
/** Delay to wait until next poll, in milliseconds. */
|
|
1011
1365
|
updateIntervalInMs?: number;
|
|
1012
1366
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1013
1367
|
resumeFrom?: string;
|
|
1014
1368
|
}
|
|
1015
|
-
/** Contains response data for the batchUpdate operation. */
|
|
1016
|
-
export type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
|
|
1017
1369
|
/** Optional parameters. */
|
|
1018
|
-
export interface
|
|
1370
|
+
export interface ServersStopOptionalParams extends coreClient.OperationOptions {
|
|
1371
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1372
|
+
updateIntervalInMs?: number;
|
|
1373
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1374
|
+
resumeFrom?: string;
|
|
1375
|
+
}
|
|
1376
|
+
/** Optional parameters. */
|
|
1377
|
+
export interface ServersResetGtidOptionalParams extends coreClient.OperationOptions {
|
|
1378
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1379
|
+
updateIntervalInMs?: number;
|
|
1380
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1381
|
+
resumeFrom?: string;
|
|
1382
|
+
}
|
|
1383
|
+
/** Optional parameters. */
|
|
1384
|
+
export interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1385
|
+
}
|
|
1386
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1387
|
+
export type ServersListByResourceGroupNextResponse = ServerListResult;
|
|
1388
|
+
/** Optional parameters. */
|
|
1389
|
+
export interface ServersListNextOptionalParams extends coreClient.OperationOptions {
|
|
1390
|
+
}
|
|
1391
|
+
/** Contains response data for the listNext operation. */
|
|
1392
|
+
export type ServersListNextResponse = ServerListResult;
|
|
1393
|
+
/** Optional parameters. */
|
|
1394
|
+
export interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1019
1395
|
}
|
|
1020
1396
|
/** Contains response data for the listByServer operation. */
|
|
1021
|
-
export type
|
|
1397
|
+
export type ReplicasListByServerResponse = ServerListResult;
|
|
1022
1398
|
/** Optional parameters. */
|
|
1023
|
-
export interface
|
|
1399
|
+
export interface ReplicasListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1024
1400
|
}
|
|
1025
1401
|
/** Contains response data for the listByServerNext operation. */
|
|
1026
|
-
export type
|
|
1402
|
+
export type ReplicasListByServerNextResponse = ServerListResult;
|
|
1403
|
+
/** Optional parameters. */
|
|
1404
|
+
export interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1405
|
+
}
|
|
1406
|
+
/** Contains response data for the listByServer operation. */
|
|
1407
|
+
export type LogFilesListByServerResponse = LogFileListResult;
|
|
1408
|
+
/** Optional parameters. */
|
|
1409
|
+
export interface LogFilesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1410
|
+
}
|
|
1411
|
+
/** Contains response data for the listByServerNext operation. */
|
|
1412
|
+
export type LogFilesListByServerNextResponse = LogFileListResult;
|
|
1027
1413
|
/** Optional parameters. */
|
|
1028
1414
|
export interface LocationBasedCapabilitiesListOptionalParams extends coreClient.OperationOptions {
|
|
1029
1415
|
}
|
|
@@ -1045,6 +1431,11 @@ export interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.O
|
|
|
1045
1431
|
/** Contains response data for the execute operation. */
|
|
1046
1432
|
export type CheckNameAvailabilityExecuteResponse = NameAvailability;
|
|
1047
1433
|
/** Optional parameters. */
|
|
1434
|
+
export interface CheckNameAvailabilityWithoutLocationExecuteOptionalParams extends coreClient.OperationOptions {
|
|
1435
|
+
}
|
|
1436
|
+
/** Contains response data for the execute operation. */
|
|
1437
|
+
export type CheckNameAvailabilityWithoutLocationExecuteResponse = NameAvailability;
|
|
1438
|
+
/** Optional parameters. */
|
|
1048
1439
|
export interface GetPrivateDnsZoneSuffixExecuteOptionalParams extends coreClient.OperationOptions {
|
|
1049
1440
|
}
|
|
1050
1441
|
/** Contains response data for the execute operation. */
|
|
@@ -1063,8 +1454,6 @@ export type OperationsListNextResponse = OperationListResult;
|
|
|
1063
1454
|
export interface MySQLManagementFlexibleServerClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
1064
1455
|
/** server parameter */
|
|
1065
1456
|
$host?: string;
|
|
1066
|
-
/** Api Version */
|
|
1067
|
-
apiVersion?: string;
|
|
1068
1457
|
/** Overrides client endpoint. */
|
|
1069
1458
|
endpoint?: string;
|
|
1070
1459
|
}
|