@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
|
@@ -6,9 +6,77 @@
|
|
|
6
6
|
|
|
7
7
|
import * as coreAuth from '@azure/core-auth';
|
|
8
8
|
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { OperationState } from '@azure/core-lro';
|
|
9
10
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
import {
|
|
11
|
-
|
|
11
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export interface AdministratorListResult {
|
|
15
|
+
nextLink?: string;
|
|
16
|
+
value?: AzureADAdministrator[];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// @public
|
|
20
|
+
export type AdministratorName = string;
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export type AdministratorType = string;
|
|
24
|
+
|
|
25
|
+
// @public
|
|
26
|
+
export interface AzureADAdministrator extends ProxyResource {
|
|
27
|
+
administratorType?: AdministratorType;
|
|
28
|
+
identityResourceId?: string;
|
|
29
|
+
login?: string;
|
|
30
|
+
sid?: string;
|
|
31
|
+
readonly systemData?: SystemData;
|
|
32
|
+
tenantId?: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// @public
|
|
36
|
+
export interface AzureADAdministrators {
|
|
37
|
+
beginCreateOrUpdate(resourceGroupName: string, serverName: string, administratorName: AdministratorName, parameters: AzureADAdministrator, options?: AzureADAdministratorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AzureADAdministratorsCreateOrUpdateResponse>, AzureADAdministratorsCreateOrUpdateResponse>>;
|
|
38
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, administratorName: AdministratorName, parameters: AzureADAdministrator, options?: AzureADAdministratorsCreateOrUpdateOptionalParams): Promise<AzureADAdministratorsCreateOrUpdateResponse>;
|
|
39
|
+
beginDelete(resourceGroupName: string, serverName: string, administratorName: AdministratorName, options?: AzureADAdministratorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
40
|
+
beginDeleteAndWait(resourceGroupName: string, serverName: string, administratorName: AdministratorName, options?: AzureADAdministratorsDeleteOptionalParams): Promise<void>;
|
|
41
|
+
get(resourceGroupName: string, serverName: string, administratorName: AdministratorName, options?: AzureADAdministratorsGetOptionalParams): Promise<AzureADAdministratorsGetResponse>;
|
|
42
|
+
listByServer(resourceGroupName: string, serverName: string, options?: AzureADAdministratorsListByServerOptionalParams): PagedAsyncIterableIterator<AzureADAdministrator>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// @public
|
|
46
|
+
export interface AzureADAdministratorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
47
|
+
resumeFrom?: string;
|
|
48
|
+
updateIntervalInMs?: number;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// @public
|
|
52
|
+
export type AzureADAdministratorsCreateOrUpdateResponse = AzureADAdministrator;
|
|
53
|
+
|
|
54
|
+
// @public
|
|
55
|
+
export interface AzureADAdministratorsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
56
|
+
resumeFrom?: string;
|
|
57
|
+
updateIntervalInMs?: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// @public
|
|
61
|
+
export interface AzureADAdministratorsGetOptionalParams extends coreClient.OperationOptions {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// @public
|
|
65
|
+
export type AzureADAdministratorsGetResponse = AzureADAdministrator;
|
|
66
|
+
|
|
67
|
+
// @public
|
|
68
|
+
export interface AzureADAdministratorsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export type AzureADAdministratorsListByServerNextResponse = AdministratorListResult;
|
|
73
|
+
|
|
74
|
+
// @public
|
|
75
|
+
export interface AzureADAdministratorsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// @public
|
|
79
|
+
export type AzureADAdministratorsListByServerResponse = AdministratorListResult;
|
|
12
80
|
|
|
13
81
|
// @public
|
|
14
82
|
export interface Backup {
|
|
@@ -17,10 +85,71 @@ export interface Backup {
|
|
|
17
85
|
geoRedundantBackup?: EnableStatusEnum;
|
|
18
86
|
}
|
|
19
87
|
|
|
88
|
+
// @public
|
|
89
|
+
export interface BackupAndExport {
|
|
90
|
+
beginCreate(resourceGroupName: string, serverName: string, parameters: BackupAndExportRequest, options?: BackupAndExportCreateOptionalParams): Promise<SimplePollerLike<OperationState<BackupAndExportCreateResponse>, BackupAndExportCreateResponse>>;
|
|
91
|
+
beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: BackupAndExportRequest, options?: BackupAndExportCreateOptionalParams): Promise<BackupAndExportCreateResponse>;
|
|
92
|
+
validateBackup(resourceGroupName: string, serverName: string, options?: BackupAndExportValidateBackupOptionalParams): Promise<BackupAndExportValidateBackupResponse>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// @public
|
|
96
|
+
export interface BackupAndExportCreateHeaders {
|
|
97
|
+
azureAsyncOperation?: string;
|
|
98
|
+
location?: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// @public
|
|
102
|
+
export interface BackupAndExportCreateOptionalParams extends coreClient.OperationOptions {
|
|
103
|
+
resumeFrom?: string;
|
|
104
|
+
updateIntervalInMs?: number;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public
|
|
108
|
+
export type BackupAndExportCreateResponse = BackupAndExportResponse;
|
|
109
|
+
|
|
110
|
+
// @public
|
|
111
|
+
export interface BackupAndExportRequest extends BackupRequestBase {
|
|
112
|
+
targetDetails: BackupStoreDetailsUnion;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// @public
|
|
116
|
+
export interface BackupAndExportResponse extends ProxyResource {
|
|
117
|
+
backupMetadata?: string;
|
|
118
|
+
datasourceSizeInBytes?: number;
|
|
119
|
+
dataTransferredInBytes?: number;
|
|
120
|
+
endTime?: Date;
|
|
121
|
+
error?: ErrorResponse;
|
|
122
|
+
percentComplete?: number;
|
|
123
|
+
startTime?: Date;
|
|
124
|
+
status?: OperationStatus;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// @public
|
|
128
|
+
export interface BackupAndExportValidateBackupOptionalParams extends coreClient.OperationOptions {
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// @public
|
|
132
|
+
export type BackupAndExportValidateBackupResponse = ValidateBackupResponse;
|
|
133
|
+
|
|
134
|
+
// @public
|
|
135
|
+
export type BackupFormat = string;
|
|
136
|
+
|
|
137
|
+
// @public
|
|
138
|
+
export interface BackupRequestBase {
|
|
139
|
+
backupSettings: BackupSettings;
|
|
140
|
+
}
|
|
141
|
+
|
|
20
142
|
// @public
|
|
21
143
|
export interface Backups {
|
|
22
144
|
get(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsGetOptionalParams): Promise<BackupsGetResponse>;
|
|
23
145
|
listByServer(resourceGroupName: string, serverName: string, options?: BackupsListByServerOptionalParams): PagedAsyncIterableIterator<ServerBackup>;
|
|
146
|
+
put(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsPutOptionalParams): Promise<BackupsPutResponse>;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// @public
|
|
150
|
+
export interface BackupSettings {
|
|
151
|
+
backupFormat?: BackupFormat;
|
|
152
|
+
backupName: string;
|
|
24
153
|
}
|
|
25
154
|
|
|
26
155
|
// @public
|
|
@@ -44,6 +173,21 @@ export interface BackupsListByServerOptionalParams extends coreClient.OperationO
|
|
|
44
173
|
// @public
|
|
45
174
|
export type BackupsListByServerResponse = ServerBackupListResult;
|
|
46
175
|
|
|
176
|
+
// @public
|
|
177
|
+
export interface BackupsPutOptionalParams extends coreClient.OperationOptions {
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// @public
|
|
181
|
+
export type BackupsPutResponse = ServerBackup;
|
|
182
|
+
|
|
183
|
+
// @public
|
|
184
|
+
export interface BackupStoreDetails {
|
|
185
|
+
objectType: "FullBackupStoreDetails";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// @public (undocumented)
|
|
189
|
+
export type BackupStoreDetailsUnion = BackupStoreDetails | FullBackupStoreDetails;
|
|
190
|
+
|
|
47
191
|
// @public
|
|
48
192
|
export interface CapabilitiesListResult {
|
|
49
193
|
readonly nextLink?: string;
|
|
@@ -70,6 +214,18 @@ export interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.O
|
|
|
70
214
|
// @public
|
|
71
215
|
export type CheckNameAvailabilityExecuteResponse = NameAvailability;
|
|
72
216
|
|
|
217
|
+
// @public
|
|
218
|
+
export interface CheckNameAvailabilityWithoutLocation {
|
|
219
|
+
execute(nameAvailabilityRequest: NameAvailabilityRequest, options?: CheckNameAvailabilityWithoutLocationExecuteOptionalParams): Promise<CheckNameAvailabilityWithoutLocationExecuteResponse>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// @public
|
|
223
|
+
export interface CheckNameAvailabilityWithoutLocationExecuteOptionalParams extends coreClient.OperationOptions {
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// @public
|
|
227
|
+
export type CheckNameAvailabilityWithoutLocationExecuteResponse = NameAvailability;
|
|
228
|
+
|
|
73
229
|
// @public
|
|
74
230
|
export interface CheckVirtualNetworkSubnetUsage {
|
|
75
231
|
execute(locationName: string, parameters: VirtualNetworkSubnetUsageParameter, options?: CheckVirtualNetworkSubnetUsageExecuteOptionalParams): Promise<CheckVirtualNetworkSubnetUsageExecuteResponse>;
|
|
@@ -90,9 +246,11 @@ export interface CloudError {
|
|
|
90
246
|
// @public
|
|
91
247
|
export interface Configuration extends ProxyResource {
|
|
92
248
|
readonly allowedValues?: string;
|
|
249
|
+
currentValue?: string;
|
|
93
250
|
readonly dataType?: string;
|
|
94
251
|
readonly defaultValue?: string;
|
|
95
252
|
readonly description?: string;
|
|
253
|
+
readonly documentationLink?: string;
|
|
96
254
|
readonly isConfigPendingRestart?: IsConfigPendingRestart;
|
|
97
255
|
readonly isDynamicConfig?: IsDynamicConfig;
|
|
98
256
|
readonly isReadOnly?: IsReadOnly;
|
|
@@ -110,6 +268,7 @@ export interface ConfigurationForBatchUpdate {
|
|
|
110
268
|
|
|
111
269
|
// @public
|
|
112
270
|
export interface ConfigurationListForBatchUpdate {
|
|
271
|
+
resetAllToDefault?: ResetAllToDefault;
|
|
113
272
|
value?: ConfigurationForBatchUpdate[];
|
|
114
273
|
}
|
|
115
274
|
|
|
@@ -121,9 +280,11 @@ export interface ConfigurationListResult {
|
|
|
121
280
|
|
|
122
281
|
// @public
|
|
123
282
|
export interface Configurations {
|
|
124
|
-
beginBatchUpdate(resourceGroupName: string, serverName: string, parameters: ConfigurationListForBatchUpdate, options?: ConfigurationsBatchUpdateOptionalParams): Promise<
|
|
283
|
+
beginBatchUpdate(resourceGroupName: string, serverName: string, parameters: ConfigurationListForBatchUpdate, options?: ConfigurationsBatchUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ConfigurationsBatchUpdateResponse>, ConfigurationsBatchUpdateResponse>>;
|
|
125
284
|
beginBatchUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ConfigurationListForBatchUpdate, options?: ConfigurationsBatchUpdateOptionalParams): Promise<ConfigurationsBatchUpdateResponse>;
|
|
126
|
-
|
|
285
|
+
beginCreateOrUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ConfigurationsCreateOrUpdateResponse>, ConfigurationsCreateOrUpdateResponse>>;
|
|
286
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<ConfigurationsCreateOrUpdateResponse>;
|
|
287
|
+
beginUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ConfigurationsUpdateResponse>, ConfigurationsUpdateResponse>>;
|
|
127
288
|
beginUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsUpdateOptionalParams): Promise<ConfigurationsUpdateResponse>;
|
|
128
289
|
get(resourceGroupName: string, serverName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<ConfigurationsGetResponse>;
|
|
129
290
|
listByServer(resourceGroupName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<Configuration>;
|
|
@@ -138,6 +299,21 @@ export interface ConfigurationsBatchUpdateOptionalParams extends coreClient.Oper
|
|
|
138
299
|
// @public
|
|
139
300
|
export type ConfigurationsBatchUpdateResponse = ConfigurationListResult;
|
|
140
301
|
|
|
302
|
+
// @public
|
|
303
|
+
export interface ConfigurationsCreateOrUpdateHeaders {
|
|
304
|
+
// (undocumented)
|
|
305
|
+
location?: string;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// @public
|
|
309
|
+
export interface ConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
310
|
+
resumeFrom?: string;
|
|
311
|
+
updateIntervalInMs?: number;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// @public
|
|
315
|
+
export type ConfigurationsCreateOrUpdateResponse = Configuration;
|
|
316
|
+
|
|
141
317
|
// @public
|
|
142
318
|
export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
|
|
143
319
|
}
|
|
@@ -154,6 +330,10 @@ export type ConfigurationsListByServerNextResponse = ConfigurationListResult;
|
|
|
154
330
|
|
|
155
331
|
// @public
|
|
156
332
|
export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
333
|
+
keyword?: string;
|
|
334
|
+
page?: number;
|
|
335
|
+
pageSize?: number;
|
|
336
|
+
tags?: string;
|
|
157
337
|
}
|
|
158
338
|
|
|
159
339
|
// @public
|
|
@@ -192,9 +372,9 @@ export interface DatabaseListResult {
|
|
|
192
372
|
|
|
193
373
|
// @public
|
|
194
374
|
export interface Databases {
|
|
195
|
-
beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<
|
|
375
|
+
beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesCreateOrUpdateResponse>, DatabasesCreateOrUpdateResponse>>;
|
|
196
376
|
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<DatabasesCreateOrUpdateResponse>;
|
|
197
|
-
beginDelete(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<
|
|
377
|
+
beginDelete(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
198
378
|
beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
|
|
199
379
|
get(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
|
|
200
380
|
listByServer(resourceGroupName: string, serverName: string, options?: DatabasesListByServerOptionalParams): PagedAsyncIterableIterator<Database>;
|
|
@@ -236,6 +416,18 @@ export interface DatabasesListByServerOptionalParams extends coreClient.Operatio
|
|
|
236
416
|
// @public
|
|
237
417
|
export type DatabasesListByServerResponse = DatabaseListResult;
|
|
238
418
|
|
|
419
|
+
// @public
|
|
420
|
+
export interface DataEncryption {
|
|
421
|
+
geoBackupKeyURI?: string;
|
|
422
|
+
geoBackupUserAssignedIdentityId?: string;
|
|
423
|
+
primaryKeyURI?: string;
|
|
424
|
+
primaryUserAssignedIdentityId?: string;
|
|
425
|
+
type?: DataEncryptionType;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
// @public
|
|
429
|
+
export type DataEncryptionType = "AzureKeyVault" | "SystemManaged";
|
|
430
|
+
|
|
239
431
|
// @public
|
|
240
432
|
export interface DelegatedSubnetUsage {
|
|
241
433
|
readonly subnetName?: string;
|
|
@@ -275,9 +467,9 @@ export interface FirewallRuleListResult {
|
|
|
275
467
|
|
|
276
468
|
// @public
|
|
277
469
|
export interface FirewallRules {
|
|
278
|
-
beginCreateOrUpdate(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<
|
|
470
|
+
beginCreateOrUpdate(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FirewallRulesCreateOrUpdateResponse>, FirewallRulesCreateOrUpdateResponse>>;
|
|
279
471
|
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
|
|
280
|
-
beginDelete(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<
|
|
472
|
+
beginDelete(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
281
473
|
beginDeleteAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>;
|
|
282
474
|
get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
|
|
283
475
|
listByServer(resourceGroupName: string, serverName: string, options?: FirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator<FirewallRule>;
|
|
@@ -319,6 +511,12 @@ export interface FirewallRulesListByServerOptionalParams extends coreClient.Oper
|
|
|
319
511
|
// @public
|
|
320
512
|
export type FirewallRulesListByServerResponse = FirewallRuleListResult;
|
|
321
513
|
|
|
514
|
+
// @public
|
|
515
|
+
export interface FullBackupStoreDetails extends BackupStoreDetails {
|
|
516
|
+
objectType: "FullBackupStoreDetails";
|
|
517
|
+
sasUriList: string[];
|
|
518
|
+
}
|
|
519
|
+
|
|
322
520
|
// @public
|
|
323
521
|
export function getContinuationToken(page: unknown): string | undefined;
|
|
324
522
|
|
|
@@ -352,6 +550,16 @@ export type HighAvailabilityMode = string;
|
|
|
352
550
|
// @public
|
|
353
551
|
export type HighAvailabilityState = string;
|
|
354
552
|
|
|
553
|
+
// @public
|
|
554
|
+
export interface Identity {
|
|
555
|
+
readonly principalId?: string;
|
|
556
|
+
readonly tenantId?: string;
|
|
557
|
+
type?: ManagedServiceIdentityType;
|
|
558
|
+
userAssignedIdentities?: {
|
|
559
|
+
[propertyName: string]: Record<string, unknown>;
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
|
|
355
563
|
// @public
|
|
356
564
|
export type IsConfigPendingRestart = string;
|
|
357
565
|
|
|
@@ -361,6 +569,22 @@ export type IsDynamicConfig = string;
|
|
|
361
569
|
// @public
|
|
362
570
|
export type IsReadOnly = string;
|
|
363
571
|
|
|
572
|
+
// @public
|
|
573
|
+
export enum KnownAdministratorName {
|
|
574
|
+
ActiveDirectory = "ActiveDirectory"
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
// @public
|
|
578
|
+
export enum KnownAdministratorType {
|
|
579
|
+
ActiveDirectory = "ActiveDirectory"
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
// @public
|
|
583
|
+
export enum KnownBackupFormat {
|
|
584
|
+
CollatedFormat = "CollatedFormat",
|
|
585
|
+
None = "None"
|
|
586
|
+
}
|
|
587
|
+
|
|
364
588
|
// @public
|
|
365
589
|
export enum KnownConfigurationSource {
|
|
366
590
|
SystemDefault = "system-default",
|
|
@@ -423,6 +647,11 @@ export enum KnownIsReadOnly {
|
|
|
423
647
|
True = "True"
|
|
424
648
|
}
|
|
425
649
|
|
|
650
|
+
// @public
|
|
651
|
+
export enum KnownManagedServiceIdentityType {
|
|
652
|
+
UserAssigned = "UserAssigned"
|
|
653
|
+
}
|
|
654
|
+
|
|
426
655
|
// @public
|
|
427
656
|
export enum KnownReplicationRole {
|
|
428
657
|
None = "None",
|
|
@@ -430,6 +659,12 @@ export enum KnownReplicationRole {
|
|
|
430
659
|
Source = "Source"
|
|
431
660
|
}
|
|
432
661
|
|
|
662
|
+
// @public
|
|
663
|
+
export enum KnownResetAllToDefault {
|
|
664
|
+
False = "False",
|
|
665
|
+
True = "True"
|
|
666
|
+
}
|
|
667
|
+
|
|
433
668
|
// @public
|
|
434
669
|
export enum KnownServerState {
|
|
435
670
|
Disabled = "Disabled",
|
|
@@ -473,6 +708,41 @@ export interface LocationBasedCapabilitiesListOptionalParams extends coreClient.
|
|
|
473
708
|
// @public
|
|
474
709
|
export type LocationBasedCapabilitiesListResponse = CapabilitiesListResult;
|
|
475
710
|
|
|
711
|
+
// @public
|
|
712
|
+
export interface LogFile extends ProxyResource {
|
|
713
|
+
createdTime?: Date;
|
|
714
|
+
lastModifiedTime?: Date;
|
|
715
|
+
sizeInKB?: number;
|
|
716
|
+
readonly systemData?: SystemData;
|
|
717
|
+
typePropertiesType?: string;
|
|
718
|
+
url?: string;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
// @public
|
|
722
|
+
export interface LogFileListResult {
|
|
723
|
+
nextLink?: string;
|
|
724
|
+
value?: LogFile[];
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
// @public
|
|
728
|
+
export interface LogFiles {
|
|
729
|
+
listByServer(resourceGroupName: string, serverName: string, options?: LogFilesListByServerOptionalParams): PagedAsyncIterableIterator<LogFile>;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
// @public
|
|
733
|
+
export interface LogFilesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
// @public
|
|
737
|
+
export type LogFilesListByServerNextResponse = LogFileListResult;
|
|
738
|
+
|
|
739
|
+
// @public
|
|
740
|
+
export interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
// @public
|
|
744
|
+
export type LogFilesListByServerResponse = LogFileListResult;
|
|
745
|
+
|
|
476
746
|
// @public
|
|
477
747
|
export interface MaintenanceWindow {
|
|
478
748
|
customWindow?: string;
|
|
@@ -481,18 +751,25 @@ export interface MaintenanceWindow {
|
|
|
481
751
|
startMinute?: number;
|
|
482
752
|
}
|
|
483
753
|
|
|
754
|
+
// @public
|
|
755
|
+
export type ManagedServiceIdentityType = string;
|
|
756
|
+
|
|
484
757
|
// @public (undocumented)
|
|
485
758
|
export class MySQLManagementFlexibleServerClient extends coreClient.ServiceClient {
|
|
486
759
|
// (undocumented)
|
|
487
760
|
$host: string;
|
|
488
761
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MySQLManagementFlexibleServerClientOptionalParams);
|
|
489
762
|
// (undocumented)
|
|
490
|
-
|
|
763
|
+
azureADAdministrators: AzureADAdministrators;
|
|
764
|
+
// (undocumented)
|
|
765
|
+
backupAndExport: BackupAndExport;
|
|
491
766
|
// (undocumented)
|
|
492
767
|
backups: Backups;
|
|
493
768
|
// (undocumented)
|
|
494
769
|
checkNameAvailability: CheckNameAvailability;
|
|
495
770
|
// (undocumented)
|
|
771
|
+
checkNameAvailabilityWithoutLocation: CheckNameAvailabilityWithoutLocation;
|
|
772
|
+
// (undocumented)
|
|
496
773
|
checkVirtualNetworkSubnetUsage: CheckVirtualNetworkSubnetUsage;
|
|
497
774
|
// (undocumented)
|
|
498
775
|
configurations: Configurations;
|
|
@@ -505,6 +782,8 @@ export class MySQLManagementFlexibleServerClient extends coreClient.ServiceClien
|
|
|
505
782
|
// (undocumented)
|
|
506
783
|
locationBasedCapabilities: LocationBasedCapabilities;
|
|
507
784
|
// (undocumented)
|
|
785
|
+
logFiles: LogFiles;
|
|
786
|
+
// (undocumented)
|
|
508
787
|
operations: Operations;
|
|
509
788
|
// (undocumented)
|
|
510
789
|
replicas: Replicas;
|
|
@@ -517,7 +796,6 @@ export class MySQLManagementFlexibleServerClient extends coreClient.ServiceClien
|
|
|
517
796
|
// @public
|
|
518
797
|
export interface MySQLManagementFlexibleServerClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
519
798
|
$host?: string;
|
|
520
|
-
apiVersion?: string;
|
|
521
799
|
endpoint?: string;
|
|
522
800
|
}
|
|
523
801
|
|
|
@@ -538,7 +816,7 @@ export interface NameAvailabilityRequest {
|
|
|
538
816
|
export interface Network {
|
|
539
817
|
delegatedSubnetResourceId?: string;
|
|
540
818
|
privateDnsZoneResourceId?: string;
|
|
541
|
-
|
|
819
|
+
publicNetworkAccess?: EnableStatusEnum;
|
|
542
820
|
}
|
|
543
821
|
|
|
544
822
|
// @public
|
|
@@ -584,6 +862,9 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
|
|
|
584
862
|
// @public
|
|
585
863
|
export type OperationsListResponse = OperationListResult;
|
|
586
864
|
|
|
865
|
+
// @public
|
|
866
|
+
export type OperationStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "CancelInProgress" | "Canceled";
|
|
867
|
+
|
|
587
868
|
// @public
|
|
588
869
|
export interface ProxyResource extends Resource {
|
|
589
870
|
}
|
|
@@ -610,6 +891,9 @@ export type ReplicasListByServerResponse = ServerListResult;
|
|
|
610
891
|
// @public
|
|
611
892
|
export type ReplicationRole = string;
|
|
612
893
|
|
|
894
|
+
// @public
|
|
895
|
+
export type ResetAllToDefault = string;
|
|
896
|
+
|
|
613
897
|
// @public
|
|
614
898
|
export interface Resource {
|
|
615
899
|
readonly id?: string;
|
|
@@ -624,8 +908,10 @@ export interface Server extends TrackedResource {
|
|
|
624
908
|
availabilityZone?: string;
|
|
625
909
|
backup?: Backup;
|
|
626
910
|
createMode?: CreateMode;
|
|
911
|
+
dataEncryption?: DataEncryption;
|
|
627
912
|
readonly fullyQualifiedDomainName?: string;
|
|
628
913
|
highAvailability?: HighAvailability;
|
|
914
|
+
identity?: Identity;
|
|
629
915
|
maintenanceWindow?: MaintenanceWindow;
|
|
630
916
|
network?: Network;
|
|
631
917
|
readonly replicaCapacity?: number;
|
|
@@ -664,7 +950,9 @@ export interface ServerEditionCapability {
|
|
|
664
950
|
export interface ServerForUpdate {
|
|
665
951
|
administratorLoginPassword?: string;
|
|
666
952
|
backup?: Backup;
|
|
953
|
+
dataEncryption?: DataEncryption;
|
|
667
954
|
highAvailability?: HighAvailability;
|
|
955
|
+
identity?: Identity;
|
|
668
956
|
maintenanceWindow?: MaintenanceWindow;
|
|
669
957
|
replicationRole?: ReplicationRole;
|
|
670
958
|
sku?: Sku;
|
|
@@ -672,6 +960,12 @@ export interface ServerForUpdate {
|
|
|
672
960
|
tags?: {
|
|
673
961
|
[propertyName: string]: string;
|
|
674
962
|
};
|
|
963
|
+
version?: ServerVersion;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
// @public
|
|
967
|
+
export interface ServerGtidSetParameter {
|
|
968
|
+
gtidSet?: string;
|
|
675
969
|
}
|
|
676
970
|
|
|
677
971
|
// @public
|
|
@@ -688,25 +982,33 @@ export interface ServerRestartParameter {
|
|
|
688
982
|
|
|
689
983
|
// @public
|
|
690
984
|
export interface Servers {
|
|
691
|
-
beginCreate(resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOptionalParams): Promise<
|
|
985
|
+
beginCreate(resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ServersCreateResponse>, ServersCreateResponse>>;
|
|
692
986
|
beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: Server, options?: ServersCreateOptionalParams): Promise<ServersCreateResponse>;
|
|
693
|
-
beginDelete(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<
|
|
987
|
+
beginDelete(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
694
988
|
beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<void>;
|
|
695
|
-
beginFailover(resourceGroupName: string, serverName: string, options?: ServersFailoverOptionalParams): Promise<
|
|
989
|
+
beginFailover(resourceGroupName: string, serverName: string, options?: ServersFailoverOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
696
990
|
beginFailoverAndWait(resourceGroupName: string, serverName: string, options?: ServersFailoverOptionalParams): Promise<void>;
|
|
697
|
-
|
|
991
|
+
beginResetGtid(resourceGroupName: string, serverName: string, parameters: ServerGtidSetParameter, options?: ServersResetGtidOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
992
|
+
beginResetGtidAndWait(resourceGroupName: string, serverName: string, parameters: ServerGtidSetParameter, options?: ServersResetGtidOptionalParams): Promise<void>;
|
|
993
|
+
beginRestart(resourceGroupName: string, serverName: string, parameters: ServerRestartParameter, options?: ServersRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
698
994
|
beginRestartAndWait(resourceGroupName: string, serverName: string, parameters: ServerRestartParameter, options?: ServersRestartOptionalParams): Promise<void>;
|
|
699
|
-
beginStart(resourceGroupName: string, serverName: string, options?: ServersStartOptionalParams): Promise<
|
|
995
|
+
beginStart(resourceGroupName: string, serverName: string, options?: ServersStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
700
996
|
beginStartAndWait(resourceGroupName: string, serverName: string, options?: ServersStartOptionalParams): Promise<void>;
|
|
701
|
-
beginStop(resourceGroupName: string, serverName: string, options?: ServersStopOptionalParams): Promise<
|
|
997
|
+
beginStop(resourceGroupName: string, serverName: string, options?: ServersStopOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
702
998
|
beginStopAndWait(resourceGroupName: string, serverName: string, options?: ServersStopOptionalParams): Promise<void>;
|
|
703
|
-
beginUpdate(resourceGroupName: string, serverName: string, parameters: ServerForUpdate, options?: ServersUpdateOptionalParams): Promise<
|
|
999
|
+
beginUpdate(resourceGroupName: string, serverName: string, parameters: ServerForUpdate, options?: ServersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServersUpdateResponse>, ServersUpdateResponse>>;
|
|
704
1000
|
beginUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ServerForUpdate, options?: ServersUpdateOptionalParams): Promise<ServersUpdateResponse>;
|
|
705
1001
|
get(resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ServersGetResponse>;
|
|
706
1002
|
list(options?: ServersListOptionalParams): PagedAsyncIterableIterator<Server>;
|
|
707
1003
|
listByResourceGroup(resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Server>;
|
|
708
1004
|
}
|
|
709
1005
|
|
|
1006
|
+
// @public
|
|
1007
|
+
export interface ServersCreateHeaders {
|
|
1008
|
+
// (undocumented)
|
|
1009
|
+
location?: string;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
710
1012
|
// @public
|
|
711
1013
|
export interface ServersCreateOptionalParams extends coreClient.OperationOptions {
|
|
712
1014
|
resumeFrom?: string;
|
|
@@ -716,12 +1018,24 @@ export interface ServersCreateOptionalParams extends coreClient.OperationOptions
|
|
|
716
1018
|
// @public
|
|
717
1019
|
export type ServersCreateResponse = Server;
|
|
718
1020
|
|
|
1021
|
+
// @public
|
|
1022
|
+
export interface ServersDeleteHeaders {
|
|
1023
|
+
// (undocumented)
|
|
1024
|
+
location?: string;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
719
1027
|
// @public
|
|
720
1028
|
export interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
|
|
721
1029
|
resumeFrom?: string;
|
|
722
1030
|
updateIntervalInMs?: number;
|
|
723
1031
|
}
|
|
724
1032
|
|
|
1033
|
+
// @public
|
|
1034
|
+
export interface ServersFailoverHeaders {
|
|
1035
|
+
// (undocumented)
|
|
1036
|
+
location?: string;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
725
1039
|
// @public
|
|
726
1040
|
export interface ServersFailoverOptionalParams extends coreClient.OperationOptions {
|
|
727
1041
|
resumeFrom?: string;
|
|
@@ -763,18 +1077,48 @@ export interface ServersListOptionalParams extends coreClient.OperationOptions {
|
|
|
763
1077
|
// @public
|
|
764
1078
|
export type ServersListResponse = ServerListResult;
|
|
765
1079
|
|
|
1080
|
+
// @public
|
|
1081
|
+
export interface ServersResetGtidHeaders {
|
|
1082
|
+
// (undocumented)
|
|
1083
|
+
location?: string;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
// @public
|
|
1087
|
+
export interface ServersResetGtidOptionalParams extends coreClient.OperationOptions {
|
|
1088
|
+
resumeFrom?: string;
|
|
1089
|
+
updateIntervalInMs?: number;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
// @public
|
|
1093
|
+
export interface ServersRestartHeaders {
|
|
1094
|
+
// (undocumented)
|
|
1095
|
+
location?: string;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
766
1098
|
// @public
|
|
767
1099
|
export interface ServersRestartOptionalParams extends coreClient.OperationOptions {
|
|
768
1100
|
resumeFrom?: string;
|
|
769
1101
|
updateIntervalInMs?: number;
|
|
770
1102
|
}
|
|
771
1103
|
|
|
1104
|
+
// @public
|
|
1105
|
+
export interface ServersStartHeaders {
|
|
1106
|
+
// (undocumented)
|
|
1107
|
+
location?: string;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
772
1110
|
// @public
|
|
773
1111
|
export interface ServersStartOptionalParams extends coreClient.OperationOptions {
|
|
774
1112
|
resumeFrom?: string;
|
|
775
1113
|
updateIntervalInMs?: number;
|
|
776
1114
|
}
|
|
777
1115
|
|
|
1116
|
+
// @public
|
|
1117
|
+
export interface ServersStopHeaders {
|
|
1118
|
+
// (undocumented)
|
|
1119
|
+
location?: string;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
778
1122
|
// @public
|
|
779
1123
|
export interface ServersStopOptionalParams extends coreClient.OperationOptions {
|
|
780
1124
|
resumeFrom?: string;
|
|
@@ -784,6 +1128,12 @@ export interface ServersStopOptionalParams extends coreClient.OperationOptions {
|
|
|
784
1128
|
// @public
|
|
785
1129
|
export type ServerState = string;
|
|
786
1130
|
|
|
1131
|
+
// @public
|
|
1132
|
+
export interface ServersUpdateHeaders {
|
|
1133
|
+
// (undocumented)
|
|
1134
|
+
location?: string;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
787
1137
|
// @public
|
|
788
1138
|
export interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
|
|
789
1139
|
resumeFrom?: string;
|
|
@@ -822,7 +1172,9 @@ export type SkuTier = string;
|
|
|
822
1172
|
// @public
|
|
823
1173
|
interface Storage_2 {
|
|
824
1174
|
autoGrow?: EnableStatusEnum;
|
|
1175
|
+
autoIoScaling?: EnableStatusEnum;
|
|
825
1176
|
iops?: number;
|
|
1177
|
+
logOnDisk?: EnableStatusEnum;
|
|
826
1178
|
storageSizeGB?: number;
|
|
827
1179
|
readonly storageSku?: string;
|
|
828
1180
|
}
|
|
@@ -855,6 +1207,17 @@ export interface TrackedResource extends Resource {
|
|
|
855
1207
|
};
|
|
856
1208
|
}
|
|
857
1209
|
|
|
1210
|
+
// @public
|
|
1211
|
+
export interface UserAssignedIdentity {
|
|
1212
|
+
readonly clientId?: string;
|
|
1213
|
+
readonly principalId?: string;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
// @public
|
|
1217
|
+
export interface ValidateBackupResponse {
|
|
1218
|
+
numberOfContainers?: number;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
858
1221
|
// @public
|
|
859
1222
|
export interface VirtualNetworkSubnetUsageParameter {
|
|
860
1223
|
virtualNetworkResourceId?: string;
|
|
@@ -863,6 +1226,8 @@ export interface VirtualNetworkSubnetUsageParameter {
|
|
|
863
1226
|
// @public
|
|
864
1227
|
export interface VirtualNetworkSubnetUsageResult {
|
|
865
1228
|
readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
|
|
1229
|
+
readonly location?: string;
|
|
1230
|
+
readonly subscriptionId?: string;
|
|
866
1231
|
}
|
|
867
1232
|
|
|
868
1233
|
// (No @packageDocumentation comment for this package)
|