@azure/arm-postgresql-flexible 7.1.1-alpha.20230502.1 → 8.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 +141 -8
- package/README.md +1 -1
- package/dist/index.js +4729 -2620
- 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/administratorsCreateSample.js +1 -1
- package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
- package/dist-esm/samples-dev/administratorsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/backupsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +43 -0
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/databasesCreateSample.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/flexibleServerStartLtrBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +43 -0
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +42 -0
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.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/ltrBackupOperationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/ltrBackupOperationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +40 -0
- package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +60 -0
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/migrationsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/migrationsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/migrationsCreateSample.js +45 -0
- package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/migrationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/migrationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/migrationsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/migrationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/migrationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/migrationsGetSample.js +40 -0
- package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +64 -0
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -0
- package/dist-esm/samples-dev/migrationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/migrationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/migrationsUpdateSample.js +43 -0
- package/dist-esm/samples-dev/migrationsUpdateSample.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/serverCapabilitiesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverCapabilitiesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js +60 -0
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -0
- package/dist-esm/samples-dev/serversCreateSample.js +63 -9
- package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/serversDeleteSample.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/serversRestartSample.js +2 -2
- 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 +11 -9
- package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +1105 -252
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +240 -2
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +34 -10
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1388 -641
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +11 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +96 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/flexibleServer.d.ts +39 -0
- package/dist-esm/src/operations/flexibleServer.d.ts.map +1 -0
- package/dist-esm/src/operations/flexibleServer.js +157 -0
- package/dist-esm/src/operations/flexibleServer.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +5 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +5 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts +2 -2
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts.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/ltrBackupOperations.d.ts +46 -0
- package/dist-esm/src/operations/ltrBackupOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/ltrBackupOperations.js +187 -0
- package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -0
- package/dist-esm/src/operations/migrations.d.ts +80 -0
- package/dist-esm/src/operations/migrations.d.ts.map +1 -0
- package/dist-esm/src/operations/migrations.js +331 -0
- package/dist-esm/src/operations/migrations.js.map +1 -0
- package/dist-esm/src/operations/serverCapabilities.d.ts +38 -0
- package/dist-esm/src/operations/serverCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/serverCapabilities.js +155 -0
- package/dist-esm/src/operations/serverCapabilities.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/flexibleServer.d.ts +31 -0
- package/dist-esm/src/operationsInterfaces/flexibleServer.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/flexibleServer.js +9 -0
- package/dist-esm/src/operationsInterfaces/flexibleServer.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +5 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.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/ltrBackupOperations.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/ltrBackupOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/ltrBackupOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/migrations.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/migrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/migrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/migrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverCapabilities.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/serverCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverCapabilities.js.map +1 -0
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +16 -2
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +52 -3
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/package.json +4 -4
- package/review/arm-postgresql-flexible.api.md +642 -58
- package/src/models/index.ts +1244 -289
- package/src/models/mappers.ts +1588 -718
- package/src/models/parameters.ts +114 -2
- package/src/operations/flexibleServer.ts +223 -0
- package/src/operations/index.ts +5 -0
- package/src/operations/locationBasedCapabilities.ts +4 -4
- package/src/operations/logFiles.ts +198 -0
- package/src/operations/ltrBackupOperations.ts +242 -0
- package/src/operations/migrations.ts +442 -0
- package/src/operations/serverCapabilities.ts +194 -0
- package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
- package/src/operationsInterfaces/flexibleServer.ts +66 -0
- package/src/operationsInterfaces/index.ts +5 -0
- package/src/operationsInterfaces/locationBasedCapabilities.ts +2 -2
- package/src/operationsInterfaces/logFiles.ts +26 -0
- package/src/operationsInterfaces/ltrBackupOperations.ts +44 -0
- package/src/operationsInterfaces/migrations.ts +104 -0
- package/src/operationsInterfaces/serverCapabilities.ts +29 -0
- package/src/postgreSQLManagementFlexibleServerClient.ts +86 -5
- package/types/arm-postgresql-flexible.d.ts +1273 -183
- package/types/tsdoc-metadata.json +1 -1
|
@@ -28,6 +28,12 @@ export interface ActiveDirectoryAdministratorAdd {
|
|
|
28
28
|
// @public
|
|
29
29
|
export type ActiveDirectoryAuthEnum = string;
|
|
30
30
|
|
|
31
|
+
// @public
|
|
32
|
+
export interface AdminCredentials {
|
|
33
|
+
sourceServerPassword: string;
|
|
34
|
+
targetServerPassword: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
31
37
|
// @public
|
|
32
38
|
export interface AdministratorListResult {
|
|
33
39
|
nextLink?: string;
|
|
@@ -102,6 +108,9 @@ export interface AuthConfig {
|
|
|
102
108
|
tenantId?: string;
|
|
103
109
|
}
|
|
104
110
|
|
|
111
|
+
// @public
|
|
112
|
+
export type AzureManagedDiskPerformanceTiers = string;
|
|
113
|
+
|
|
105
114
|
// @public
|
|
106
115
|
export interface Backup {
|
|
107
116
|
backupRetentionDays?: number;
|
|
@@ -109,12 +118,22 @@ export interface Backup {
|
|
|
109
118
|
geoRedundantBackup?: GeoRedundantBackupEnum;
|
|
110
119
|
}
|
|
111
120
|
|
|
121
|
+
// @public
|
|
122
|
+
export interface BackupRequestBase {
|
|
123
|
+
backupSettings: BackupSettings;
|
|
124
|
+
}
|
|
125
|
+
|
|
112
126
|
// @public
|
|
113
127
|
export interface Backups {
|
|
114
128
|
get(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsGetOptionalParams): Promise<BackupsGetResponse>;
|
|
115
129
|
listByServer(resourceGroupName: string, serverName: string, options?: BackupsListByServerOptionalParams): PagedAsyncIterableIterator<ServerBackup>;
|
|
116
130
|
}
|
|
117
131
|
|
|
132
|
+
// @public
|
|
133
|
+
export interface BackupSettings {
|
|
134
|
+
backupName: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
118
137
|
// @public
|
|
119
138
|
export interface BackupsGetOptionalParams extends coreClient.OperationOptions {
|
|
120
139
|
}
|
|
@@ -136,26 +155,36 @@ export interface BackupsListByServerOptionalParams extends coreClient.OperationO
|
|
|
136
155
|
// @public
|
|
137
156
|
export type BackupsListByServerResponse = ServerBackupListResult;
|
|
138
157
|
|
|
158
|
+
// @public
|
|
159
|
+
export interface BackupStoreDetails {
|
|
160
|
+
sasUriList: string[];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// @public
|
|
164
|
+
export type CancelEnum = string;
|
|
165
|
+
|
|
139
166
|
// @public
|
|
140
167
|
export interface CapabilitiesListResult {
|
|
141
168
|
readonly nextLink?: string;
|
|
142
|
-
readonly value?:
|
|
169
|
+
readonly value?: FlexibleServerCapability[];
|
|
143
170
|
}
|
|
144
171
|
|
|
145
172
|
// @public
|
|
146
|
-
export interface
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
149
|
-
readonly status?: string;
|
|
150
|
-
readonly supportedFastProvisioningEditions?: FastProvisioningEditionCapability[];
|
|
151
|
-
readonly supportedFlexibleServerEditions?: FlexibleServerEditionCapability[];
|
|
152
|
-
readonly supportedHAMode?: string[];
|
|
153
|
-
readonly supportedHyperscaleNodeEditions?: HyperscaleNodeEditionCapability[];
|
|
154
|
-
readonly zone?: string;
|
|
155
|
-
readonly zoneRedundantHaAndGeoBackupSupported?: boolean;
|
|
156
|
-
readonly zoneRedundantHaSupported?: boolean;
|
|
173
|
+
export interface CapabilityBase {
|
|
174
|
+
readonly reason?: string;
|
|
175
|
+
readonly status?: CapabilityStatus;
|
|
157
176
|
}
|
|
158
177
|
|
|
178
|
+
// @public
|
|
179
|
+
export type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled";
|
|
180
|
+
|
|
181
|
+
// @public
|
|
182
|
+
export interface CheckMigrationNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// @public
|
|
186
|
+
export type CheckMigrationNameAvailabilityResponse = MigrationNameAvailabilityResource;
|
|
187
|
+
|
|
159
188
|
// @public
|
|
160
189
|
export interface CheckNameAvailability {
|
|
161
190
|
execute(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityExecuteOptionalParams): Promise<CheckNameAvailabilityExecuteResponse>;
|
|
@@ -377,11 +406,23 @@ export type DatabasesListByServerResponse = DatabaseListResult;
|
|
|
377
406
|
|
|
378
407
|
// @public
|
|
379
408
|
export interface DataEncryption {
|
|
409
|
+
geoBackupEncryptionKeyStatus?: KeyStatusEnum;
|
|
410
|
+
geoBackupKeyURI?: string;
|
|
411
|
+
geoBackupUserAssignedIdentityId?: string;
|
|
412
|
+
primaryEncryptionKeyStatus?: KeyStatusEnum;
|
|
380
413
|
primaryKeyURI?: string;
|
|
381
414
|
primaryUserAssignedIdentityId?: string;
|
|
382
415
|
type?: ArmServerKeyType;
|
|
383
416
|
}
|
|
384
417
|
|
|
418
|
+
// @public
|
|
419
|
+
export interface DbServerMetadata {
|
|
420
|
+
readonly location?: string;
|
|
421
|
+
sku?: ServerSkuAutoGenerated;
|
|
422
|
+
storageMb?: number;
|
|
423
|
+
version?: string;
|
|
424
|
+
}
|
|
425
|
+
|
|
385
426
|
// @public
|
|
386
427
|
export interface DelegatedSubnetUsage {
|
|
387
428
|
readonly subnetName?: string;
|
|
@@ -408,16 +449,24 @@ export interface ErrorResponse {
|
|
|
408
449
|
error?: ErrorDetail;
|
|
409
450
|
}
|
|
410
451
|
|
|
452
|
+
// @public
|
|
453
|
+
export type ExecutionStatus = string;
|
|
454
|
+
|
|
411
455
|
// @public
|
|
412
456
|
export type FailoverMode = string;
|
|
413
457
|
|
|
414
|
-
// @public
|
|
415
|
-
export interface FastProvisioningEditionCapability {
|
|
458
|
+
// @public
|
|
459
|
+
export interface FastProvisioningEditionCapability extends CapabilityBase {
|
|
460
|
+
readonly serverCount?: number;
|
|
416
461
|
readonly supportedServerVersions?: string;
|
|
417
462
|
readonly supportedSku?: string;
|
|
418
463
|
readonly supportedStorageGb?: number;
|
|
464
|
+
readonly supportedTier?: string;
|
|
419
465
|
}
|
|
420
466
|
|
|
467
|
+
// @public
|
|
468
|
+
export type FastProvisioningSupportedEnum = string;
|
|
469
|
+
|
|
421
470
|
// @public
|
|
422
471
|
export interface FirewallRule extends ProxyResource {
|
|
423
472
|
endIpAddress: string;
|
|
@@ -489,13 +538,76 @@ export interface FirewallRulesListByServerOptionalParams extends coreClient.Oper
|
|
|
489
538
|
export type FirewallRulesListByServerResponse = FirewallRuleListResult;
|
|
490
539
|
|
|
491
540
|
// @public
|
|
492
|
-
export interface
|
|
493
|
-
|
|
494
|
-
|
|
541
|
+
export interface FlexibleServer {
|
|
542
|
+
beginStartLtrBackup(resourceGroupName: string, serverName: string, parameters: LtrBackupRequest, options?: FlexibleServerStartLtrBackupOptionalParams): Promise<SimplePollerLike<OperationState<FlexibleServerStartLtrBackupResponse>, FlexibleServerStartLtrBackupResponse>>;
|
|
543
|
+
beginStartLtrBackupAndWait(resourceGroupName: string, serverName: string, parameters: LtrBackupRequest, options?: FlexibleServerStartLtrBackupOptionalParams): Promise<FlexibleServerStartLtrBackupResponse>;
|
|
544
|
+
triggerLtrPreBackup(resourceGroupName: string, serverName: string, parameters: LtrPreBackupRequest, options?: FlexibleServerTriggerLtrPreBackupOptionalParams): Promise<FlexibleServerTriggerLtrPreBackupResponse>;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
// @public
|
|
548
|
+
export interface FlexibleServerCapability extends CapabilityBase {
|
|
549
|
+
readonly fastProvisioningSupported?: FastProvisioningSupportedEnum;
|
|
550
|
+
readonly geoBackupSupported?: GeoBackupSupportedEnum;
|
|
551
|
+
name?: string;
|
|
552
|
+
readonly onlineResizeSupported?: OnlineResizeSupportedEnum;
|
|
553
|
+
readonly restricted?: RestrictedEnum;
|
|
554
|
+
readonly storageAutoGrowthSupported?: StorageAutoGrowthSupportedEnum;
|
|
555
|
+
readonly supportedFastProvisioningEditions?: FastProvisioningEditionCapability[];
|
|
556
|
+
readonly supportedServerEditions?: FlexibleServerEditionCapability[];
|
|
495
557
|
readonly supportedServerVersions?: ServerVersionCapability[];
|
|
558
|
+
readonly zoneRedundantHaAndGeoBackupSupported?: ZoneRedundantHaAndGeoBackupSupportedEnum;
|
|
559
|
+
readonly zoneRedundantHaSupported?: ZoneRedundantHaSupportedEnum;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// @public
|
|
563
|
+
export interface FlexibleServerEditionCapability extends CapabilityBase {
|
|
564
|
+
readonly defaultSkuName?: string;
|
|
565
|
+
readonly name?: string;
|
|
566
|
+
readonly supportedServerSkus?: ServerSku[];
|
|
496
567
|
readonly supportedStorageEditions?: StorageEditionCapability[];
|
|
497
568
|
}
|
|
498
569
|
|
|
570
|
+
// @public
|
|
571
|
+
export interface FlexibleServerStartLtrBackupExceptionHeaders {
|
|
572
|
+
xMsErrorCode?: string;
|
|
573
|
+
xMsRequestId?: string;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
// @public
|
|
577
|
+
export interface FlexibleServerStartLtrBackupHeaders {
|
|
578
|
+
xMsRequestId?: string;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// @public
|
|
582
|
+
export interface FlexibleServerStartLtrBackupOptionalParams extends coreClient.OperationOptions {
|
|
583
|
+
resumeFrom?: string;
|
|
584
|
+
updateIntervalInMs?: number;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
// @public
|
|
588
|
+
export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders & LtrBackupResponse;
|
|
589
|
+
|
|
590
|
+
// @public
|
|
591
|
+
export interface FlexibleServerTriggerLtrPreBackupExceptionHeaders {
|
|
592
|
+
xMsErrorCode?: string;
|
|
593
|
+
xMsRequestId?: string;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
// @public
|
|
597
|
+
export interface FlexibleServerTriggerLtrPreBackupHeaders {
|
|
598
|
+
xMsRequestId?: string;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
// @public
|
|
602
|
+
export interface FlexibleServerTriggerLtrPreBackupOptionalParams extends coreClient.OperationOptions {
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// @public
|
|
606
|
+
export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders & LtrPreBackupResponse;
|
|
607
|
+
|
|
608
|
+
// @public
|
|
609
|
+
export type GeoBackupSupportedEnum = string;
|
|
610
|
+
|
|
499
611
|
// @public
|
|
500
612
|
export type GeoRedundantBackupEnum = string;
|
|
501
613
|
|
|
@@ -516,6 +628,9 @@ export type GetPrivateDnsZoneSuffixExecuteResponse = {
|
|
|
516
628
|
body: string;
|
|
517
629
|
};
|
|
518
630
|
|
|
631
|
+
// @public
|
|
632
|
+
export type HaMode = string;
|
|
633
|
+
|
|
519
634
|
// @public
|
|
520
635
|
export interface HighAvailability {
|
|
521
636
|
mode?: HighAvailabilityMode;
|
|
@@ -527,16 +642,10 @@ export interface HighAvailability {
|
|
|
527
642
|
export type HighAvailabilityMode = string;
|
|
528
643
|
|
|
529
644
|
// @public
|
|
530
|
-
export
|
|
531
|
-
readonly name?: string;
|
|
532
|
-
readonly status?: string;
|
|
533
|
-
readonly supportedNodeTypes?: NodeTypeCapability[];
|
|
534
|
-
readonly supportedServerVersions?: ServerVersionCapability[];
|
|
535
|
-
readonly supportedStorageEditions?: StorageEditionCapability[];
|
|
536
|
-
}
|
|
645
|
+
export type IdentityType = string;
|
|
537
646
|
|
|
538
647
|
// @public
|
|
539
|
-
export type
|
|
648
|
+
export type KeyStatusEnum = string;
|
|
540
649
|
|
|
541
650
|
// @public
|
|
542
651
|
export enum KnownActiveDirectoryAuthEnum {
|
|
@@ -550,6 +659,30 @@ export enum KnownArmServerKeyType {
|
|
|
550
659
|
SystemManaged = "SystemManaged"
|
|
551
660
|
}
|
|
552
661
|
|
|
662
|
+
// @public
|
|
663
|
+
export enum KnownAzureManagedDiskPerformanceTiers {
|
|
664
|
+
P1 = "P1",
|
|
665
|
+
P10 = "P10",
|
|
666
|
+
P15 = "P15",
|
|
667
|
+
P2 = "P2",
|
|
668
|
+
P20 = "P20",
|
|
669
|
+
P3 = "P3",
|
|
670
|
+
P30 = "P30",
|
|
671
|
+
P4 = "P4",
|
|
672
|
+
P40 = "P40",
|
|
673
|
+
P50 = "P50",
|
|
674
|
+
P6 = "P6",
|
|
675
|
+
P60 = "P60",
|
|
676
|
+
P70 = "P70",
|
|
677
|
+
P80 = "P80"
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// @public
|
|
681
|
+
export enum KnownCancelEnum {
|
|
682
|
+
Disabled = "Disabled",
|
|
683
|
+
Enabled = "Enabled"
|
|
684
|
+
}
|
|
685
|
+
|
|
553
686
|
// @public
|
|
554
687
|
export enum KnownCheckNameAvailabilityReason {
|
|
555
688
|
AlreadyExists = "AlreadyExists",
|
|
@@ -579,6 +712,7 @@ export enum KnownCreateMode {
|
|
|
579
712
|
GeoRestore = "GeoRestore",
|
|
580
713
|
PointInTimeRestore = "PointInTimeRestore",
|
|
581
714
|
Replica = "Replica",
|
|
715
|
+
ReviveDropped = "ReviveDropped",
|
|
582
716
|
Update = "Update"
|
|
583
717
|
}
|
|
584
718
|
|
|
@@ -588,6 +722,14 @@ export enum KnownCreateModeForUpdate {
|
|
|
588
722
|
Update = "Update"
|
|
589
723
|
}
|
|
590
724
|
|
|
725
|
+
// @public
|
|
726
|
+
export enum KnownExecutionStatus {
|
|
727
|
+
Cancelled = "Cancelled",
|
|
728
|
+
Failed = "Failed",
|
|
729
|
+
Running = "Running",
|
|
730
|
+
Succeeded = "Succeeded"
|
|
731
|
+
}
|
|
732
|
+
|
|
591
733
|
// @public
|
|
592
734
|
export enum KnownFailoverMode {
|
|
593
735
|
ForcedFailover = "ForcedFailover",
|
|
@@ -596,12 +738,30 @@ export enum KnownFailoverMode {
|
|
|
596
738
|
PlannedSwitchover = "PlannedSwitchover"
|
|
597
739
|
}
|
|
598
740
|
|
|
741
|
+
// @public
|
|
742
|
+
export enum KnownFastProvisioningSupportedEnum {
|
|
743
|
+
Disabled = "Disabled",
|
|
744
|
+
Enabled = "Enabled"
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
// @public
|
|
748
|
+
export enum KnownGeoBackupSupportedEnum {
|
|
749
|
+
Disabled = "Disabled",
|
|
750
|
+
Enabled = "Enabled"
|
|
751
|
+
}
|
|
752
|
+
|
|
599
753
|
// @public
|
|
600
754
|
export enum KnownGeoRedundantBackupEnum {
|
|
601
755
|
Disabled = "Disabled",
|
|
602
756
|
Enabled = "Enabled"
|
|
603
757
|
}
|
|
604
758
|
|
|
759
|
+
// @public
|
|
760
|
+
export enum KnownHaMode {
|
|
761
|
+
SameZone = "SameZone",
|
|
762
|
+
ZoneRedundant = "ZoneRedundant"
|
|
763
|
+
}
|
|
764
|
+
|
|
605
765
|
// @public
|
|
606
766
|
export enum KnownHighAvailabilityMode {
|
|
607
767
|
Disabled = "Disabled",
|
|
@@ -612,10 +772,75 @@ export enum KnownHighAvailabilityMode {
|
|
|
612
772
|
// @public
|
|
613
773
|
export enum KnownIdentityType {
|
|
614
774
|
None = "None",
|
|
615
|
-
SystemAssigned = "SystemAssigned",
|
|
616
775
|
UserAssigned = "UserAssigned"
|
|
617
776
|
}
|
|
618
777
|
|
|
778
|
+
// @public
|
|
779
|
+
export enum KnownKeyStatusEnum {
|
|
780
|
+
Invalid = "Invalid",
|
|
781
|
+
Valid = "Valid"
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
// @public
|
|
785
|
+
export enum KnownLogicalReplicationOnSourceDbEnum {
|
|
786
|
+
Disabled = "Disabled",
|
|
787
|
+
Enabled = "Enabled"
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
// @public
|
|
791
|
+
export enum KnownMigrationDetailsLevel {
|
|
792
|
+
Default = "Default",
|
|
793
|
+
Full = "Full",
|
|
794
|
+
Summary = "Summary"
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
// @public
|
|
798
|
+
export enum KnownMigrationListFilter {
|
|
799
|
+
Active = "Active",
|
|
800
|
+
All = "All"
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
// @public
|
|
804
|
+
export enum KnownMigrationMode {
|
|
805
|
+
Offline = "Offline",
|
|
806
|
+
Online = "Online"
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
// @public
|
|
810
|
+
export enum KnownMigrationNameAvailabilityReason {
|
|
811
|
+
AlreadyExists = "AlreadyExists",
|
|
812
|
+
Invalid = "Invalid"
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
// @public
|
|
816
|
+
export enum KnownMigrationState {
|
|
817
|
+
Canceled = "Canceled",
|
|
818
|
+
Failed = "Failed",
|
|
819
|
+
InProgress = "InProgress",
|
|
820
|
+
Succeeded = "Succeeded",
|
|
821
|
+
WaitingForUserAction = "WaitingForUserAction"
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
// @public
|
|
825
|
+
export enum KnownMigrationSubState {
|
|
826
|
+
Completed = "Completed",
|
|
827
|
+
CompletingMigration = "CompletingMigration",
|
|
828
|
+
MigratingData = "MigratingData",
|
|
829
|
+
PerformingPreRequisiteSteps = "PerformingPreRequisiteSteps",
|
|
830
|
+
WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
|
|
831
|
+
WaitingForDataMigrationScheduling = "WaitingForDataMigrationScheduling",
|
|
832
|
+
WaitingForDataMigrationWindow = "WaitingForDataMigrationWindow",
|
|
833
|
+
WaitingForDBsToMigrateSpecification = "WaitingForDBsToMigrateSpecification",
|
|
834
|
+
WaitingForLogicalReplicationSetupRequestOnSourceDB = "WaitingForLogicalReplicationSetupRequestOnSourceDB",
|
|
835
|
+
WaitingForTargetDBOverwriteConfirmation = "WaitingForTargetDBOverwriteConfirmation"
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
// @public
|
|
839
|
+
export enum KnownOnlineResizeSupportedEnum {
|
|
840
|
+
Disabled = "Disabled",
|
|
841
|
+
Enabled = "Enabled"
|
|
842
|
+
}
|
|
843
|
+
|
|
619
844
|
// @public
|
|
620
845
|
export enum KnownOperationOrigin {
|
|
621
846
|
NotSpecified = "NotSpecified",
|
|
@@ -628,6 +853,12 @@ export enum KnownOrigin {
|
|
|
628
853
|
Full = "Full"
|
|
629
854
|
}
|
|
630
855
|
|
|
856
|
+
// @public
|
|
857
|
+
export enum KnownOverwriteDbsInTargetEnum {
|
|
858
|
+
Disabled = "Disabled",
|
|
859
|
+
Enabled = "Enabled"
|
|
860
|
+
}
|
|
861
|
+
|
|
631
862
|
// @public
|
|
632
863
|
export enum KnownPasswordAuthEnum {
|
|
633
864
|
Disabled = "Disabled",
|
|
@@ -650,6 +881,12 @@ export enum KnownReplicationRole {
|
|
|
650
881
|
Primary = "Primary"
|
|
651
882
|
}
|
|
652
883
|
|
|
884
|
+
// @public
|
|
885
|
+
export enum KnownRestrictedEnum {
|
|
886
|
+
Disabled = "Disabled",
|
|
887
|
+
Enabled = "Enabled"
|
|
888
|
+
}
|
|
889
|
+
|
|
653
890
|
// @public
|
|
654
891
|
export enum KnownServerHAState {
|
|
655
892
|
CreatingStandby = "CreatingStandby",
|
|
@@ -680,6 +917,7 @@ export enum KnownServerState {
|
|
|
680
917
|
// @public
|
|
681
918
|
export enum KnownServerVersion {
|
|
682
919
|
Eleven = "11",
|
|
920
|
+
Fifteen = "15",
|
|
683
921
|
Fourteen = "14",
|
|
684
922
|
Thirteen = "13",
|
|
685
923
|
Twelve = "12"
|
|
@@ -692,9 +930,45 @@ export enum KnownSkuTier {
|
|
|
692
930
|
MemoryOptimized = "MemoryOptimized"
|
|
693
931
|
}
|
|
694
932
|
|
|
933
|
+
// @public
|
|
934
|
+
export enum KnownStartDataMigrationEnum {
|
|
935
|
+
Disabled = "Disabled",
|
|
936
|
+
Enabled = "Enabled"
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
// @public
|
|
940
|
+
export enum KnownStorageAutoGrow {
|
|
941
|
+
Disabled = "Disabled",
|
|
942
|
+
Enabled = "Enabled"
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
// @public
|
|
946
|
+
export enum KnownStorageAutoGrowthSupportedEnum {
|
|
947
|
+
Disabled = "Disabled",
|
|
948
|
+
Enabled = "Enabled"
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
// @public
|
|
952
|
+
export enum KnownTriggerCutoverEnum {
|
|
953
|
+
Disabled = "Disabled",
|
|
954
|
+
Enabled = "Enabled"
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
// @public
|
|
958
|
+
export enum KnownZoneRedundantHaAndGeoBackupSupportedEnum {
|
|
959
|
+
Disabled = "Disabled",
|
|
960
|
+
Enabled = "Enabled"
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
// @public
|
|
964
|
+
export enum KnownZoneRedundantHaSupportedEnum {
|
|
965
|
+
Disabled = "Disabled",
|
|
966
|
+
Enabled = "Enabled"
|
|
967
|
+
}
|
|
968
|
+
|
|
695
969
|
// @public
|
|
696
970
|
export interface LocationBasedCapabilities {
|
|
697
|
-
listExecute(locationName: string, options?: LocationBasedCapabilitiesExecuteOptionalParams): PagedAsyncIterableIterator<
|
|
971
|
+
listExecute(locationName: string, options?: LocationBasedCapabilitiesExecuteOptionalParams): PagedAsyncIterableIterator<FlexibleServerCapability>;
|
|
698
972
|
}
|
|
699
973
|
|
|
700
974
|
// @public
|
|
@@ -711,6 +985,118 @@ export interface LocationBasedCapabilitiesExecuteOptionalParams extends coreClie
|
|
|
711
985
|
// @public
|
|
712
986
|
export type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult;
|
|
713
987
|
|
|
988
|
+
// @public
|
|
989
|
+
export interface LogFile extends ProxyResource {
|
|
990
|
+
createdTime?: Date;
|
|
991
|
+
lastModifiedTime?: Date;
|
|
992
|
+
sizeInKb?: number;
|
|
993
|
+
typePropertiesType?: string;
|
|
994
|
+
url?: string;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
// @public
|
|
998
|
+
export interface LogFileListResult {
|
|
999
|
+
nextLink?: string;
|
|
1000
|
+
value?: LogFile[];
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
// @public
|
|
1004
|
+
export interface LogFiles {
|
|
1005
|
+
listByServer(resourceGroupName: string, serverName: string, options?: LogFilesListByServerOptionalParams): PagedAsyncIterableIterator<LogFile>;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
// @public
|
|
1009
|
+
export interface LogFilesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
// @public
|
|
1013
|
+
export type LogFilesListByServerNextResponse = LogFileListResult;
|
|
1014
|
+
|
|
1015
|
+
// @public
|
|
1016
|
+
export interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
// @public
|
|
1020
|
+
export type LogFilesListByServerResponse = LogFileListResult;
|
|
1021
|
+
|
|
1022
|
+
// @public
|
|
1023
|
+
export type LogicalReplicationOnSourceDbEnum = string;
|
|
1024
|
+
|
|
1025
|
+
// @public
|
|
1026
|
+
export interface LtrBackupOperations {
|
|
1027
|
+
get(resourceGroupName: string, serverName: string, backupName: string, options?: LtrBackupOperationsGetOptionalParams): Promise<LtrBackupOperationsGetResponse>;
|
|
1028
|
+
listByServer(resourceGroupName: string, serverName: string, options?: LtrBackupOperationsListByServerOptionalParams): PagedAsyncIterableIterator<LtrServerBackupOperation>;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
// @public
|
|
1032
|
+
export interface LtrBackupOperationsGetOptionalParams extends coreClient.OperationOptions {
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
// @public
|
|
1036
|
+
export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
|
|
1037
|
+
|
|
1038
|
+
// @public
|
|
1039
|
+
export interface LtrBackupOperationsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
// @public
|
|
1043
|
+
export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
|
|
1044
|
+
|
|
1045
|
+
// @public
|
|
1046
|
+
export interface LtrBackupOperationsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
// @public
|
|
1050
|
+
export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
|
|
1051
|
+
|
|
1052
|
+
// @public
|
|
1053
|
+
export interface LtrBackupRequest extends BackupRequestBase {
|
|
1054
|
+
targetDetails: BackupStoreDetails;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
// @public
|
|
1058
|
+
export interface LtrBackupResponse {
|
|
1059
|
+
backupMetadata?: string;
|
|
1060
|
+
backupName?: string;
|
|
1061
|
+
datasourceSizeInBytes?: number;
|
|
1062
|
+
dataTransferredInBytes?: number;
|
|
1063
|
+
endTime?: Date;
|
|
1064
|
+
readonly errorCode?: string;
|
|
1065
|
+
readonly errorMessage?: string;
|
|
1066
|
+
percentComplete?: number;
|
|
1067
|
+
startTime?: Date;
|
|
1068
|
+
status?: ExecutionStatus;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
// @public
|
|
1072
|
+
export interface LtrPreBackupRequest extends BackupRequestBase {
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
// @public
|
|
1076
|
+
export interface LtrPreBackupResponse {
|
|
1077
|
+
numberOfContainers: number;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
// @public
|
|
1081
|
+
export interface LtrServerBackupOperation extends ProxyResource {
|
|
1082
|
+
backupMetadata?: string;
|
|
1083
|
+
backupName?: string;
|
|
1084
|
+
datasourceSizeInBytes?: number;
|
|
1085
|
+
dataTransferredInBytes?: number;
|
|
1086
|
+
endTime?: Date;
|
|
1087
|
+
readonly errorCode?: string;
|
|
1088
|
+
readonly errorMessage?: string;
|
|
1089
|
+
percentComplete?: number;
|
|
1090
|
+
startTime?: Date;
|
|
1091
|
+
status?: ExecutionStatus;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
// @public
|
|
1095
|
+
export interface LtrServerBackupOperationList {
|
|
1096
|
+
nextLink?: string;
|
|
1097
|
+
value?: LtrServerBackupOperation[];
|
|
1098
|
+
}
|
|
1099
|
+
|
|
714
1100
|
// @public
|
|
715
1101
|
export interface MaintenanceWindow {
|
|
716
1102
|
customWindow?: string;
|
|
@@ -719,6 +1105,150 @@ export interface MaintenanceWindow {
|
|
|
719
1105
|
startMinute?: number;
|
|
720
1106
|
}
|
|
721
1107
|
|
|
1108
|
+
// @public
|
|
1109
|
+
export type MigrationDetailsLevel = string;
|
|
1110
|
+
|
|
1111
|
+
// @public
|
|
1112
|
+
export type MigrationListFilter = string;
|
|
1113
|
+
|
|
1114
|
+
// @public
|
|
1115
|
+
export type MigrationMode = string;
|
|
1116
|
+
|
|
1117
|
+
// @public
|
|
1118
|
+
export type MigrationNameAvailabilityReason = string;
|
|
1119
|
+
|
|
1120
|
+
// @public
|
|
1121
|
+
export interface MigrationNameAvailabilityResource {
|
|
1122
|
+
readonly message?: string;
|
|
1123
|
+
name: string;
|
|
1124
|
+
readonly nameAvailable?: boolean;
|
|
1125
|
+
readonly reason?: MigrationNameAvailabilityReason;
|
|
1126
|
+
type: string;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
// @public
|
|
1130
|
+
export interface MigrationResource extends TrackedResource {
|
|
1131
|
+
cancel?: CancelEnum;
|
|
1132
|
+
readonly currentStatus?: MigrationStatus;
|
|
1133
|
+
dbsToCancelMigrationOn?: string[];
|
|
1134
|
+
dbsToMigrate?: string[];
|
|
1135
|
+
dbsToTriggerCutoverOn?: string[];
|
|
1136
|
+
readonly migrationId?: string;
|
|
1137
|
+
migrationMode?: MigrationMode;
|
|
1138
|
+
migrationWindowEndTimeInUtc?: Date;
|
|
1139
|
+
migrationWindowStartTimeInUtc?: Date;
|
|
1140
|
+
overwriteDbsInTarget?: OverwriteDbsInTargetEnum;
|
|
1141
|
+
secretParameters?: MigrationSecretParameters;
|
|
1142
|
+
setupLogicalReplicationOnSourceDbIfNeeded?: LogicalReplicationOnSourceDbEnum;
|
|
1143
|
+
sourceDbServerFullyQualifiedDomainName?: string;
|
|
1144
|
+
readonly sourceDbServerMetadata?: DbServerMetadata;
|
|
1145
|
+
sourceDbServerResourceId?: string;
|
|
1146
|
+
startDataMigration?: StartDataMigrationEnum;
|
|
1147
|
+
targetDbServerFullyQualifiedDomainName?: string;
|
|
1148
|
+
readonly targetDbServerMetadata?: DbServerMetadata;
|
|
1149
|
+
readonly targetDbServerResourceId?: string;
|
|
1150
|
+
triggerCutover?: TriggerCutoverEnum;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
// @public
|
|
1154
|
+
export interface MigrationResourceForPatch {
|
|
1155
|
+
cancel?: CancelEnum;
|
|
1156
|
+
dbsToCancelMigrationOn?: string[];
|
|
1157
|
+
dbsToMigrate?: string[];
|
|
1158
|
+
dbsToTriggerCutoverOn?: string[];
|
|
1159
|
+
migrationMode?: MigrationMode;
|
|
1160
|
+
migrationWindowStartTimeInUtc?: Date;
|
|
1161
|
+
overwriteDbsInTarget?: OverwriteDbsInTargetEnum;
|
|
1162
|
+
secretParameters?: MigrationSecretParameters;
|
|
1163
|
+
setupLogicalReplicationOnSourceDbIfNeeded?: LogicalReplicationOnSourceDbEnum;
|
|
1164
|
+
sourceDbServerFullyQualifiedDomainName?: string;
|
|
1165
|
+
sourceDbServerResourceId?: string;
|
|
1166
|
+
startDataMigration?: StartDataMigrationEnum;
|
|
1167
|
+
tags?: {
|
|
1168
|
+
[propertyName: string]: string;
|
|
1169
|
+
};
|
|
1170
|
+
targetDbServerFullyQualifiedDomainName?: string;
|
|
1171
|
+
triggerCutover?: TriggerCutoverEnum;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
// @public
|
|
1175
|
+
export interface MigrationResourceListResult {
|
|
1176
|
+
readonly nextLink?: string;
|
|
1177
|
+
readonly value?: MigrationResource[];
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
// @public
|
|
1181
|
+
export interface Migrations {
|
|
1182
|
+
create(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, parameters: MigrationResource, options?: MigrationsCreateOptionalParams): Promise<MigrationsCreateResponse>;
|
|
1183
|
+
delete(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, options?: MigrationsDeleteOptionalParams): Promise<void>;
|
|
1184
|
+
get(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, options?: MigrationsGetOptionalParams): Promise<MigrationsGetResponse>;
|
|
1185
|
+
listByTargetServer(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, options?: MigrationsListByTargetServerOptionalParams): PagedAsyncIterableIterator<MigrationResource>;
|
|
1186
|
+
update(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, migrationName: string, parameters: MigrationResourceForPatch, options?: MigrationsUpdateOptionalParams): Promise<MigrationsUpdateResponse>;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
// @public
|
|
1190
|
+
export interface MigrationsCreateOptionalParams extends coreClient.OperationOptions {
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
// @public
|
|
1194
|
+
export type MigrationsCreateResponse = MigrationResource;
|
|
1195
|
+
|
|
1196
|
+
// @public
|
|
1197
|
+
export interface MigrationsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
// @public
|
|
1201
|
+
export interface MigrationSecretParameters {
|
|
1202
|
+
adminCredentials: AdminCredentials;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
// @public
|
|
1206
|
+
export interface MigrationsGetOptionalParams extends coreClient.OperationOptions {
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
// @public
|
|
1210
|
+
export type MigrationsGetResponse = MigrationResource;
|
|
1211
|
+
|
|
1212
|
+
// @public
|
|
1213
|
+
export interface MigrationsListByTargetServerNextOptionalParams extends coreClient.OperationOptions {
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
// @public
|
|
1217
|
+
export type MigrationsListByTargetServerNextResponse = MigrationResourceListResult;
|
|
1218
|
+
|
|
1219
|
+
// @public
|
|
1220
|
+
export interface MigrationsListByTargetServerOptionalParams extends coreClient.OperationOptions {
|
|
1221
|
+
migrationListFilter?: MigrationListFilter;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
// @public
|
|
1225
|
+
export type MigrationsListByTargetServerResponse = MigrationResourceListResult;
|
|
1226
|
+
|
|
1227
|
+
// @public
|
|
1228
|
+
export type MigrationState = string;
|
|
1229
|
+
|
|
1230
|
+
// @public
|
|
1231
|
+
export interface MigrationStatus {
|
|
1232
|
+
readonly currentSubStateDetails?: MigrationSubStateDetails;
|
|
1233
|
+
readonly error?: string;
|
|
1234
|
+
readonly state?: MigrationState;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
// @public
|
|
1238
|
+
export type MigrationSubState = string;
|
|
1239
|
+
|
|
1240
|
+
// @public
|
|
1241
|
+
export interface MigrationSubStateDetails {
|
|
1242
|
+
readonly currentSubState?: MigrationSubState;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
// @public
|
|
1246
|
+
export interface MigrationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
// @public
|
|
1250
|
+
export type MigrationsUpdateResponse = MigrationResource;
|
|
1251
|
+
|
|
722
1252
|
// @public
|
|
723
1253
|
export interface NameAvailability extends CheckNameAvailabilityResponse {
|
|
724
1254
|
readonly name?: string;
|
|
@@ -733,11 +1263,7 @@ export interface Network {
|
|
|
733
1263
|
}
|
|
734
1264
|
|
|
735
1265
|
// @public
|
|
736
|
-
export
|
|
737
|
-
readonly name?: string;
|
|
738
|
-
readonly nodeType?: string;
|
|
739
|
-
readonly status?: string;
|
|
740
|
-
}
|
|
1266
|
+
export type OnlineResizeSupportedEnum = string;
|
|
741
1267
|
|
|
742
1268
|
// @public
|
|
743
1269
|
export interface Operation {
|
|
@@ -782,6 +1308,9 @@ export type OperationsListResponse = OperationListResult;
|
|
|
782
1308
|
// @public
|
|
783
1309
|
export type Origin = string;
|
|
784
1310
|
|
|
1311
|
+
// @public
|
|
1312
|
+
export type OverwriteDbsInTargetEnum = string;
|
|
1313
|
+
|
|
785
1314
|
// @public
|
|
786
1315
|
export type PasswordAuthEnum = string;
|
|
787
1316
|
|
|
@@ -796,6 +1325,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
796
1325
|
apiVersion: string;
|
|
797
1326
|
// (undocumented)
|
|
798
1327
|
backups: Backups;
|
|
1328
|
+
checkMigrationNameAvailability(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, parameters: MigrationNameAvailabilityResource, options?: CheckMigrationNameAvailabilityOptionalParams): Promise<CheckMigrationNameAvailabilityResponse>;
|
|
799
1329
|
// (undocumented)
|
|
800
1330
|
checkNameAvailability: CheckNameAvailability;
|
|
801
1331
|
// (undocumented)
|
|
@@ -807,14 +1337,24 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
807
1337
|
// (undocumented)
|
|
808
1338
|
firewallRules: FirewallRules;
|
|
809
1339
|
// (undocumented)
|
|
1340
|
+
flexibleServer: FlexibleServer;
|
|
1341
|
+
// (undocumented)
|
|
810
1342
|
getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
|
|
811
1343
|
// (undocumented)
|
|
812
1344
|
locationBasedCapabilities: LocationBasedCapabilities;
|
|
813
1345
|
// (undocumented)
|
|
1346
|
+
logFiles: LogFiles;
|
|
1347
|
+
// (undocumented)
|
|
1348
|
+
ltrBackupOperations: LtrBackupOperations;
|
|
1349
|
+
// (undocumented)
|
|
1350
|
+
migrations: Migrations;
|
|
1351
|
+
// (undocumented)
|
|
814
1352
|
operations: Operations;
|
|
815
1353
|
// (undocumented)
|
|
816
1354
|
replicas: Replicas;
|
|
817
1355
|
// (undocumented)
|
|
1356
|
+
serverCapabilities: ServerCapabilities;
|
|
1357
|
+
// (undocumented)
|
|
818
1358
|
servers: Servers;
|
|
819
1359
|
// (undocumented)
|
|
820
1360
|
subscriptionId: string;
|
|
@@ -865,6 +1405,9 @@ export interface RestartParameter {
|
|
|
865
1405
|
restartWithFailover?: boolean;
|
|
866
1406
|
}
|
|
867
1407
|
|
|
1408
|
+
// @public
|
|
1409
|
+
export type RestrictedEnum = string;
|
|
1410
|
+
|
|
868
1411
|
// @public
|
|
869
1412
|
export interface Server extends TrackedResource {
|
|
870
1413
|
administratorLogin?: string;
|
|
@@ -881,7 +1424,7 @@ export interface Server extends TrackedResource {
|
|
|
881
1424
|
readonly minorVersion?: string;
|
|
882
1425
|
network?: Network;
|
|
883
1426
|
pointInTimeUTC?: Date;
|
|
884
|
-
replicaCapacity?: number;
|
|
1427
|
+
readonly replicaCapacity?: number;
|
|
885
1428
|
replicationRole?: ReplicationRole;
|
|
886
1429
|
sku?: Sku;
|
|
887
1430
|
sourceServerResourceId?: string;
|
|
@@ -903,6 +1446,25 @@ export interface ServerBackupListResult {
|
|
|
903
1446
|
value?: ServerBackup[];
|
|
904
1447
|
}
|
|
905
1448
|
|
|
1449
|
+
// @public
|
|
1450
|
+
export interface ServerCapabilities {
|
|
1451
|
+
list(resourceGroupName: string, serverName: string, options?: ServerCapabilitiesListOptionalParams): PagedAsyncIterableIterator<FlexibleServerCapability>;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
// @public
|
|
1455
|
+
export interface ServerCapabilitiesListNextOptionalParams extends coreClient.OperationOptions {
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
// @public
|
|
1459
|
+
export type ServerCapabilitiesListNextResponse = CapabilitiesListResult;
|
|
1460
|
+
|
|
1461
|
+
// @public
|
|
1462
|
+
export interface ServerCapabilitiesListOptionalParams extends coreClient.OperationOptions {
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
// @public
|
|
1466
|
+
export type ServerCapabilitiesListResponse = CapabilitiesListResult;
|
|
1467
|
+
|
|
906
1468
|
// @public
|
|
907
1469
|
export interface ServerForUpdate {
|
|
908
1470
|
administratorLoginPassword?: string;
|
|
@@ -987,6 +1549,22 @@ export interface ServersGetOptionalParams extends coreClient.OperationOptions {
|
|
|
987
1549
|
// @public
|
|
988
1550
|
export type ServersGetResponse = Server;
|
|
989
1551
|
|
|
1552
|
+
// @public
|
|
1553
|
+
export interface ServerSku extends CapabilityBase {
|
|
1554
|
+
readonly name?: string;
|
|
1555
|
+
readonly supportedHaMode?: HaMode[];
|
|
1556
|
+
readonly supportedIops?: number;
|
|
1557
|
+
readonly supportedMemoryPerVcoreMb?: number;
|
|
1558
|
+
readonly supportedZones?: string[];
|
|
1559
|
+
readonly vCores?: number;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
// @public
|
|
1563
|
+
export interface ServerSkuAutoGenerated {
|
|
1564
|
+
name: string;
|
|
1565
|
+
tier: SkuTier;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
990
1568
|
// @public
|
|
991
1569
|
export interface ServersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
992
1570
|
}
|
|
@@ -1074,10 +1652,8 @@ export type ServersUpdateResponse = Server;
|
|
|
1074
1652
|
export type ServerVersion = string;
|
|
1075
1653
|
|
|
1076
1654
|
// @public
|
|
1077
|
-
export interface ServerVersionCapability {
|
|
1655
|
+
export interface ServerVersionCapability extends CapabilityBase {
|
|
1078
1656
|
readonly name?: string;
|
|
1079
|
-
readonly status?: string;
|
|
1080
|
-
readonly supportedVcores?: VcoreCapability[];
|
|
1081
1657
|
readonly supportedVersionsToUpgrade?: string[];
|
|
1082
1658
|
}
|
|
1083
1659
|
|
|
@@ -1090,35 +1666,43 @@ export interface Sku {
|
|
|
1090
1666
|
// @public
|
|
1091
1667
|
export type SkuTier = string;
|
|
1092
1668
|
|
|
1669
|
+
// @public
|
|
1670
|
+
export type StartDataMigrationEnum = string;
|
|
1671
|
+
|
|
1093
1672
|
// @public
|
|
1094
1673
|
interface Storage_2 {
|
|
1674
|
+
autoGrow?: StorageAutoGrow;
|
|
1675
|
+
readonly iops?: number;
|
|
1676
|
+
iopsTier?: AzureManagedDiskPerformanceTiers;
|
|
1095
1677
|
storageSizeGB?: number;
|
|
1096
1678
|
}
|
|
1097
1679
|
export { Storage_2 as Storage }
|
|
1098
1680
|
|
|
1099
1681
|
// @public
|
|
1100
|
-
export
|
|
1682
|
+
export type StorageAutoGrow = string;
|
|
1683
|
+
|
|
1684
|
+
// @public
|
|
1685
|
+
export type StorageAutoGrowthSupportedEnum = string;
|
|
1686
|
+
|
|
1687
|
+
// @public
|
|
1688
|
+
export interface StorageEditionCapability extends CapabilityBase {
|
|
1689
|
+
readonly defaultStorageSizeMb?: number;
|
|
1101
1690
|
readonly name?: string;
|
|
1102
|
-
readonly
|
|
1103
|
-
readonly supportedStorageMB?: StorageMBCapability[];
|
|
1691
|
+
readonly supportedStorageMb?: StorageMbCapability[];
|
|
1104
1692
|
}
|
|
1105
1693
|
|
|
1106
1694
|
// @public
|
|
1107
|
-
export interface
|
|
1108
|
-
readonly
|
|
1109
|
-
readonly
|
|
1110
|
-
readonly storageSizeMB?: number;
|
|
1695
|
+
export interface StorageMbCapability extends CapabilityBase {
|
|
1696
|
+
readonly defaultIopsTier?: string;
|
|
1697
|
+
readonly storageSizeMb?: number;
|
|
1111
1698
|
readonly supportedIops?: number;
|
|
1112
|
-
readonly
|
|
1699
|
+
readonly supportedIopsTiers?: StorageTierCapability[];
|
|
1113
1700
|
}
|
|
1114
1701
|
|
|
1115
|
-
// @public
|
|
1116
|
-
export interface StorageTierCapability {
|
|
1702
|
+
// @public
|
|
1703
|
+
export interface StorageTierCapability extends CapabilityBase {
|
|
1117
1704
|
readonly iops?: number;
|
|
1118
|
-
readonly isBaseline?: boolean;
|
|
1119
1705
|
readonly name?: string;
|
|
1120
|
-
readonly status?: string;
|
|
1121
|
-
readonly tierName?: string;
|
|
1122
1706
|
}
|
|
1123
1707
|
|
|
1124
1708
|
// @public
|
|
@@ -1139,6 +1723,9 @@ export interface TrackedResource extends Resource {
|
|
|
1139
1723
|
};
|
|
1140
1724
|
}
|
|
1141
1725
|
|
|
1726
|
+
// @public
|
|
1727
|
+
export type TriggerCutoverEnum = string;
|
|
1728
|
+
|
|
1142
1729
|
// @public
|
|
1143
1730
|
export interface UserAssignedIdentity {
|
|
1144
1731
|
type: IdentityType;
|
|
@@ -1153,15 +1740,6 @@ export interface UserIdentity {
|
|
|
1153
1740
|
principalId?: string;
|
|
1154
1741
|
}
|
|
1155
1742
|
|
|
1156
|
-
// @public
|
|
1157
|
-
export interface VcoreCapability {
|
|
1158
|
-
readonly name?: string;
|
|
1159
|
-
readonly status?: string;
|
|
1160
|
-
readonly supportedIops?: number;
|
|
1161
|
-
readonly supportedMemoryPerVcoreMB?: number;
|
|
1162
|
-
readonly vCores?: number;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
1743
|
// @public
|
|
1166
1744
|
export interface VirtualNetworkSubnetUsage {
|
|
1167
1745
|
execute(locationName: string, parameters: VirtualNetworkSubnetUsageParameter, options?: VirtualNetworkSubnetUsageExecuteOptionalParams): Promise<VirtualNetworkSubnetUsageExecuteResponse>;
|
|
@@ -1186,6 +1764,12 @@ export interface VirtualNetworkSubnetUsageResult {
|
|
|
1186
1764
|
readonly subscriptionId?: string;
|
|
1187
1765
|
}
|
|
1188
1766
|
|
|
1767
|
+
// @public
|
|
1768
|
+
export type ZoneRedundantHaAndGeoBackupSupportedEnum = string;
|
|
1769
|
+
|
|
1770
|
+
// @public
|
|
1771
|
+
export type ZoneRedundantHaSupportedEnum = string;
|
|
1772
|
+
|
|
1189
1773
|
// (No @packageDocumentation comment for this package)
|
|
1190
1774
|
|
|
1191
1775
|
```
|