@azure/arm-postgresql-flexible 8.0.0-beta.2 → 8.0.0-beta.4
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 +540 -1
- package/dist/index.js +6111 -3678
- 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 +4 -9
- package/dist-esm/samples-dev/administratorsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/backupsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupsListByServerSample.js +4 -9
- package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +3 -4
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -1
- 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 +4 -9
- package/dist-esm/samples-dev/configurationsListByServerSample.js.map +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 +4 -9
- package/dist-esm/samples-dev/databasesListByServerSample.js.map +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 +4 -9
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +1 -1
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +1 -1
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +2 -4
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +4 -9
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/logFilesListByServerSample.js +4 -9
- package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +1 -1
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +4 -9
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsCreateSample.js +74 -8
- package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsDeleteSample.js +3 -4
- package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsGetSample.js +79 -4
- package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +6 -12
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsUpdateSample.js +6 -8
- package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +40 -0
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +46 -0
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +55 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +40 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +55 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.js +54 -0
- package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -0
- package/dist-esm/samples-dev/replicasListByServerSample.js +4 -9
- package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js +4 -9
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +40 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +55 -0
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/serversCreateSample.js +9 -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 +21 -2
- package/dist-esm/samples-dev/serversGetSample.js.map +1 -1
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serversListSample.js +4 -9
- package/dist-esm/samples-dev/serversListSample.js.map +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 +95 -7
- package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +44 -0
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.js +40 -0
- package/dist-esm/samples-dev/virtualEndpointsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +55 -0
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +44 -0
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +822 -119
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +158 -12
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +32 -7
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +972 -160
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +12 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +82 -18
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/administrators.js +3 -8
- package/dist-esm/src/operations/administrators.js.map +1 -1
- package/dist-esm/src/operations/backups.js +3 -8
- package/dist-esm/src/operations/backups.js.map +1 -1
- package/dist-esm/src/operations/configurations.js +3 -8
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/databases.js +3 -8
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +3 -8
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/flexibleServer.js +2 -2
- package/dist-esm/src/operations/flexibleServer.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +8 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +8 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/locationBasedCapabilities.js +3 -8
- package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
- package/dist-esm/src/operations/logFiles.js +3 -8
- package/dist-esm/src/operations/logFiles.js.map +1 -1
- package/dist-esm/src/operations/ltrBackupOperations.js +3 -8
- package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
- package/dist-esm/src/operations/migrations.js +5 -10
- package/dist-esm/src/operations/migrations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +48 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +218 -0
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +46 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +182 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +182 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/quotaUsages.d.ts +35 -0
- package/dist-esm/src/operations/quotaUsages.d.ts.map +1 -0
- package/dist-esm/src/operations/quotaUsages.js +145 -0
- package/dist-esm/src/operations/quotaUsages.js.map +1 -0
- package/dist-esm/src/operations/replicas.js +3 -8
- package/dist-esm/src/operations/replicas.js.map +1 -1
- package/dist-esm/src/operations/serverCapabilities.js +3 -8
- package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
- package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts +65 -0
- package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/serverThreatProtectionSettings.js +283 -0
- package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -0
- package/dist-esm/src/operations/servers.js +6 -16
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/src/operations/virtualEndpoints.d.ts +101 -0
- package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualEndpoints.js +473 -0
- package/dist-esm/src/operations/virtualEndpoints.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +8 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.js +9 -0
- package/dist-esm/src/operationsInterfaces/quotaUsages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts +76 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualEndpoints.js.map +1 -0
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +12 -5
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +19 -15
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/postgresql_flexible_operations_test.spec.js +55 -0
- package/dist-esm/test/postgresql_flexible_operations_test.spec.js.map +1 -0
- package/package.json +15 -19
- package/review/arm-postgresql-flexible.api.md +551 -6
- package/src/models/index.ts +934 -135
- package/src/models/mappers.ts +1189 -325
- package/src/models/parameters.ts +96 -20
- package/src/operations/flexibleServer.ts +2 -2
- package/src/operations/index.ts +8 -2
- package/src/operations/migrations.ts +2 -2
- package/src/operations/privateEndpointConnectionOperations.ts +316 -0
- package/src/operations/privateEndpointConnections.ts +243 -0
- package/src/operations/privateLinkResources.ts +242 -0
- package/src/operations/quotaUsages.ts +170 -0
- package/src/operations/serverThreatProtectionSettings.ts +393 -0
- package/src/operations/virtualEndpoints.ts +667 -0
- package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
- package/src/operationsInterfaces/index.ts +8 -2
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +86 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +44 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/quotaUsages.ts +24 -0
- package/src/operationsInterfaces/serverThreatProtectionSettings.ts +83 -0
- package/src/operationsInterfaces/virtualEndpoints.ts +155 -0
- package/src/postgreSQLManagementFlexibleServerClient.ts +61 -17
- package/types/arm-postgresql-flexible.d.ts +1025 -27
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
|
@@ -11,7 +11,7 @@ export interface ActiveDirectoryAdministratorAdd {
|
|
|
11
11
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
12
12
|
export interface Resource {
|
|
13
13
|
/**
|
|
14
|
-
* Fully qualified resource ID for the resource.
|
|
14
|
+
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
15
15
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
16
16
|
*/
|
|
17
17
|
readonly id?: string;
|
|
@@ -256,12 +256,13 @@ export interface Storage {
|
|
|
256
256
|
/** Flag to enable / disable Storage Auto grow for flexible server. */
|
|
257
257
|
autoGrow?: StorageAutoGrow;
|
|
258
258
|
/** Name of storage tier for IOPS. */
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
259
|
+
tier?: AzureManagedDiskPerformanceTiers;
|
|
260
|
+
/** Storage tier IOPS quantity. This property is required to be set for storage Type PremiumV2_LRS */
|
|
261
|
+
iops?: number;
|
|
262
|
+
/** Storage throughput for the server. This is required to be set for storage Type PremiumV2_LRS */
|
|
263
|
+
throughput?: number;
|
|
264
|
+
/** Storage type for the server. Allowed values are Premium_LRS and PremiumV2_LRS, and default is Premium_LRS if not specified */
|
|
265
|
+
type?: StorageType;
|
|
265
266
|
}
|
|
266
267
|
/** Authentication configuration properties of a server */
|
|
267
268
|
export interface AuthConfig {
|
|
@@ -303,11 +304,8 @@ export interface Backup {
|
|
|
303
304
|
}
|
|
304
305
|
/** Network properties of a server. */
|
|
305
306
|
export interface Network {
|
|
306
|
-
/**
|
|
307
|
-
|
|
308
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
309
|
-
*/
|
|
310
|
-
readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
|
|
307
|
+
/** public network access is enabled or not */
|
|
308
|
+
publicNetworkAccess?: ServerPublicNetworkAccessState;
|
|
311
309
|
/** Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone. */
|
|
312
310
|
delegatedSubnetResourceId?: string;
|
|
313
311
|
/** Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone. */
|
|
@@ -336,6 +334,42 @@ export interface MaintenanceWindow {
|
|
|
336
334
|
/** day of week for maintenance window */
|
|
337
335
|
dayOfWeek?: number;
|
|
338
336
|
}
|
|
337
|
+
/** Replica properties of a server */
|
|
338
|
+
export interface Replica {
|
|
339
|
+
/** Used to indicate role of the server in replication set. */
|
|
340
|
+
role?: ReplicationRole;
|
|
341
|
+
/**
|
|
342
|
+
* Replicas allowed for a server.
|
|
343
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
344
|
+
*/
|
|
345
|
+
readonly capacity?: number;
|
|
346
|
+
/**
|
|
347
|
+
* Gets the replication state of a replica server. This property is returned only for replicas api call. Supported values are Active, Catchup, Provisioning, Updating, Broken, Reconfiguring
|
|
348
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
349
|
+
*/
|
|
350
|
+
readonly replicationState?: ReplicationState;
|
|
351
|
+
/** Sets the promote mode for a replica server. This is a write only property. */
|
|
352
|
+
promoteMode?: ReadReplicaPromoteMode;
|
|
353
|
+
/** Sets the promote options for a replica server. This is a write only property. */
|
|
354
|
+
promoteOption?: ReplicationPromoteOption;
|
|
355
|
+
}
|
|
356
|
+
/** The private endpoint resource. */
|
|
357
|
+
export interface PrivateEndpoint {
|
|
358
|
+
/**
|
|
359
|
+
* The ARM identifier for private endpoint.
|
|
360
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
361
|
+
*/
|
|
362
|
+
readonly id?: string;
|
|
363
|
+
}
|
|
364
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
365
|
+
export interface PrivateLinkServiceConnectionState {
|
|
366
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
367
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
368
|
+
/** The reason for approval/rejection of the connection. */
|
|
369
|
+
description?: string;
|
|
370
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
371
|
+
actionsRequired?: string;
|
|
372
|
+
}
|
|
339
373
|
/** Represents a server to be updated. */
|
|
340
374
|
export interface ServerForUpdate {
|
|
341
375
|
/** The SKU (pricing tier) of the server. */
|
|
@@ -351,7 +385,7 @@ export interface ServerForUpdate {
|
|
|
351
385
|
* This value contains a credential. Consider obscuring before showing to users
|
|
352
386
|
*/
|
|
353
387
|
administratorLoginPassword?: string;
|
|
354
|
-
/** PostgreSQL Server version. */
|
|
388
|
+
/** PostgreSQL Server version. Version 16 is currently not supported for MVU. */
|
|
355
389
|
version?: ServerVersion;
|
|
356
390
|
/** Storage properties of a server. */
|
|
357
391
|
storage?: Storage;
|
|
@@ -369,6 +403,8 @@ export interface ServerForUpdate {
|
|
|
369
403
|
createMode?: CreateModeForUpdate;
|
|
370
404
|
/** Replication role of the server */
|
|
371
405
|
replicationRole?: ReplicationRole;
|
|
406
|
+
/** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
|
|
407
|
+
replica?: Replica;
|
|
372
408
|
/** Network properties of a server. These are required to be passed only in case if server is a private access server. */
|
|
373
409
|
network?: Network;
|
|
374
410
|
}
|
|
@@ -379,6 +415,62 @@ export interface ServerListResult {
|
|
|
379
415
|
/** The link used to get the next page of operations. */
|
|
380
416
|
nextLink?: string;
|
|
381
417
|
}
|
|
418
|
+
/** BackupRequestBase is the base for all backup request. */
|
|
419
|
+
export interface BackupRequestBase {
|
|
420
|
+
/** Backup Settings */
|
|
421
|
+
backupSettings: BackupSettings;
|
|
422
|
+
}
|
|
423
|
+
/** The settings for the long term backup. */
|
|
424
|
+
export interface BackupSettings {
|
|
425
|
+
/** Backup Name for the current backup */
|
|
426
|
+
backupName: string;
|
|
427
|
+
}
|
|
428
|
+
/** Response for the LTR pre-backup API call */
|
|
429
|
+
export interface LtrPreBackupResponse {
|
|
430
|
+
/** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
|
|
431
|
+
numberOfContainers: number;
|
|
432
|
+
}
|
|
433
|
+
/** Details about the target where the backup content will be stored. */
|
|
434
|
+
export interface BackupStoreDetails {
|
|
435
|
+
/** List of SAS uri of storage containers where backup data is to be streamed/copied. */
|
|
436
|
+
sasUriList: string[];
|
|
437
|
+
}
|
|
438
|
+
/** Response for the LTR backup API call */
|
|
439
|
+
export interface LtrBackupResponse {
|
|
440
|
+
/** Size of datasource in bytes */
|
|
441
|
+
datasourceSizeInBytes?: number;
|
|
442
|
+
/** Data transferred in bytes */
|
|
443
|
+
dataTransferredInBytes?: number;
|
|
444
|
+
/** Name of Backup operation */
|
|
445
|
+
backupName?: string;
|
|
446
|
+
/** Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc */
|
|
447
|
+
backupMetadata?: string;
|
|
448
|
+
/** Service-set extensible enum indicating the status of operation */
|
|
449
|
+
status?: ExecutionStatus;
|
|
450
|
+
/** Start time of the operation. */
|
|
451
|
+
startTime?: Date;
|
|
452
|
+
/** End time of the operation. */
|
|
453
|
+
endTime?: Date;
|
|
454
|
+
/** PercentageCompleted */
|
|
455
|
+
percentComplete?: number;
|
|
456
|
+
/**
|
|
457
|
+
* The error code.
|
|
458
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
459
|
+
*/
|
|
460
|
+
readonly errorCode?: string;
|
|
461
|
+
/**
|
|
462
|
+
* The error message.
|
|
463
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
464
|
+
*/
|
|
465
|
+
readonly errorMessage?: string;
|
|
466
|
+
}
|
|
467
|
+
/** A list of long term retention backup operations for server. */
|
|
468
|
+
export interface LtrServerBackupOperationList {
|
|
469
|
+
/** The list of long term retention server backup operations */
|
|
470
|
+
value?: LtrServerBackupOperation[];
|
|
471
|
+
/** The link used to get the next page of operations. */
|
|
472
|
+
nextLink?: string;
|
|
473
|
+
}
|
|
382
474
|
/** Migration status. */
|
|
383
475
|
export interface MigrationStatus {
|
|
384
476
|
/**
|
|
@@ -404,6 +496,87 @@ export interface MigrationSubStateDetails {
|
|
|
404
496
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
405
497
|
*/
|
|
406
498
|
readonly currentSubState?: MigrationSubState;
|
|
499
|
+
/** Dictionary of <DbMigrationStatus> */
|
|
500
|
+
dbDetails?: {
|
|
501
|
+
[propertyName: string]: DbMigrationStatus;
|
|
502
|
+
};
|
|
503
|
+
/** Details for the validation for migration */
|
|
504
|
+
validationDetails?: ValidationDetails;
|
|
505
|
+
}
|
|
506
|
+
/** Migration status of an individual database */
|
|
507
|
+
export interface DbMigrationStatus {
|
|
508
|
+
/** Name of the database */
|
|
509
|
+
databaseName?: string;
|
|
510
|
+
/** Migration db state of an individual database */
|
|
511
|
+
migrationState?: MigrationDbState;
|
|
512
|
+
/** Migration operation of an individual database */
|
|
513
|
+
migrationOperation?: string;
|
|
514
|
+
/** Start date-time of a migration state */
|
|
515
|
+
startedOn?: Date;
|
|
516
|
+
/** End date-time of a migration state */
|
|
517
|
+
endedOn?: Date;
|
|
518
|
+
/** Number of tables queued for the migration of a DB */
|
|
519
|
+
fullLoadQueuedTables?: number;
|
|
520
|
+
/** Number of tables errored out during the migration of a DB */
|
|
521
|
+
fullLoadErroredTables?: number;
|
|
522
|
+
/** Number of tables loading during the migration of a DB */
|
|
523
|
+
fullLoadLoadingTables?: number;
|
|
524
|
+
/** Number of tables loaded during the migration of a DB */
|
|
525
|
+
fullLoadCompletedTables?: number;
|
|
526
|
+
/** CDC update counter */
|
|
527
|
+
cdcUpdateCounter?: number;
|
|
528
|
+
/** CDC delete counter */
|
|
529
|
+
cdcDeleteCounter?: number;
|
|
530
|
+
/** CDC insert counter */
|
|
531
|
+
cdcInsertCounter?: number;
|
|
532
|
+
/** CDC applied changes counter */
|
|
533
|
+
appliedChanges?: number;
|
|
534
|
+
/** CDC incoming changes counter */
|
|
535
|
+
incomingChanges?: number;
|
|
536
|
+
/** Lag in seconds between source and target during online phase */
|
|
537
|
+
latency?: number;
|
|
538
|
+
/** Error message, if any, for the migration state */
|
|
539
|
+
message?: string;
|
|
540
|
+
}
|
|
541
|
+
/** Details for the validation for migration */
|
|
542
|
+
export interface ValidationDetails {
|
|
543
|
+
/** Validation status for migration */
|
|
544
|
+
status?: ValidationState;
|
|
545
|
+
/** Validation Start date-time in UTC */
|
|
546
|
+
validationStartTimeInUtc?: Date;
|
|
547
|
+
/** Validation End date-time in UTC */
|
|
548
|
+
validationEndTimeInUtc?: Date;
|
|
549
|
+
/** Details of server level validations */
|
|
550
|
+
serverLevelValidationDetails?: ValidationSummaryItem[];
|
|
551
|
+
/** Details of server level validations */
|
|
552
|
+
dbLevelValidationDetails?: DbLevelValidationStatus[];
|
|
553
|
+
}
|
|
554
|
+
/** Validation summary object */
|
|
555
|
+
export interface ValidationSummaryItem {
|
|
556
|
+
/** Validation type */
|
|
557
|
+
type?: string;
|
|
558
|
+
/** Validation status for migration */
|
|
559
|
+
state?: ValidationState;
|
|
560
|
+
/** Validation messages */
|
|
561
|
+
messages?: ValidationMessage[];
|
|
562
|
+
}
|
|
563
|
+
/** Validation message object */
|
|
564
|
+
export interface ValidationMessage {
|
|
565
|
+
/** Severity of validation message */
|
|
566
|
+
state?: ValidationState;
|
|
567
|
+
/** Validation message string */
|
|
568
|
+
message?: string;
|
|
569
|
+
}
|
|
570
|
+
/** Validation status summary for an individual database */
|
|
571
|
+
export interface DbLevelValidationStatus {
|
|
572
|
+
/** Name of the database */
|
|
573
|
+
databaseName?: string;
|
|
574
|
+
/** Start date-time of a database level validation */
|
|
575
|
+
startedOn?: Date;
|
|
576
|
+
/** End date-time of a database level validation */
|
|
577
|
+
endedOn?: Date;
|
|
578
|
+
/** Summary of database level validations */
|
|
579
|
+
summary?: ValidationSummaryItem[];
|
|
407
580
|
}
|
|
408
581
|
/** Database server metadata. */
|
|
409
582
|
export interface DbServerMetadata {
|
|
@@ -416,15 +589,15 @@ export interface DbServerMetadata {
|
|
|
416
589
|
version?: string;
|
|
417
590
|
/** Storage size in MB for database server */
|
|
418
591
|
storageMb?: number;
|
|
419
|
-
/** SKU for the database server */
|
|
592
|
+
/** SKU for the database server. This object is empty for PG single server */
|
|
420
593
|
sku?: ServerSku;
|
|
421
594
|
}
|
|
422
595
|
/** Sku information related properties of a server. */
|
|
423
596
|
export interface ServerSku {
|
|
424
597
|
/** The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. */
|
|
425
|
-
name
|
|
598
|
+
name?: string;
|
|
426
599
|
/** The tier of the particular SKU, e.g. Burstable. */
|
|
427
|
-
tier
|
|
600
|
+
tier?: SkuTier;
|
|
428
601
|
}
|
|
429
602
|
/** Migration secret parameters. */
|
|
430
603
|
export interface MigrationSecretParameters {
|
|
@@ -572,6 +745,65 @@ export interface OperationDisplay {
|
|
|
572
745
|
*/
|
|
573
746
|
readonly description?: string;
|
|
574
747
|
}
|
|
748
|
+
/** A list of private endpoint connections. */
|
|
749
|
+
export interface PrivateEndpointConnectionListResult {
|
|
750
|
+
/**
|
|
751
|
+
* Array of results.
|
|
752
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
753
|
+
*/
|
|
754
|
+
readonly value?: PrivateEndpointConnection[];
|
|
755
|
+
/**
|
|
756
|
+
* The URL to get the next set of results.
|
|
757
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
758
|
+
*/
|
|
759
|
+
readonly nextLink?: string;
|
|
760
|
+
}
|
|
761
|
+
/** A list of private link resources */
|
|
762
|
+
export interface PrivateLinkResourceListResult {
|
|
763
|
+
/**
|
|
764
|
+
* Array of results.
|
|
765
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
766
|
+
*/
|
|
767
|
+
readonly value?: PrivateLinkResource[];
|
|
768
|
+
/**
|
|
769
|
+
* Link to retrieve next page of results.
|
|
770
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
771
|
+
*/
|
|
772
|
+
readonly nextLink?: string;
|
|
773
|
+
}
|
|
774
|
+
/** Capability for the PostgreSQL server */
|
|
775
|
+
export interface QuotaUsagesListResult {
|
|
776
|
+
/**
|
|
777
|
+
* A list of quota usages.
|
|
778
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
779
|
+
*/
|
|
780
|
+
readonly value?: QuotaUsage[];
|
|
781
|
+
/**
|
|
782
|
+
* Link to retrieve next page of results.
|
|
783
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
784
|
+
*/
|
|
785
|
+
readonly nextLink?: string;
|
|
786
|
+
}
|
|
787
|
+
/** Quota usage for flexible servers */
|
|
788
|
+
export interface QuotaUsage {
|
|
789
|
+
/** Name of quota usage for flexible servers */
|
|
790
|
+
name?: NameProperty;
|
|
791
|
+
/** Quota limit */
|
|
792
|
+
limit?: number;
|
|
793
|
+
/** Quota unit */
|
|
794
|
+
unit?: string;
|
|
795
|
+
/** Current Quota usage value */
|
|
796
|
+
currentValue?: number;
|
|
797
|
+
/** Fully qualified ARM resource Id */
|
|
798
|
+
id?: string;
|
|
799
|
+
}
|
|
800
|
+
/** Name property for quota usage */
|
|
801
|
+
export interface NameProperty {
|
|
802
|
+
/** Name value */
|
|
803
|
+
value?: string;
|
|
804
|
+
/** Localized name */
|
|
805
|
+
localizedValue?: string;
|
|
806
|
+
}
|
|
575
807
|
/** A List of logFiles. */
|
|
576
808
|
export interface LogFileListResult {
|
|
577
809
|
/** The list of logFiles in a server */
|
|
@@ -586,6 +818,38 @@ export interface RestartParameter {
|
|
|
586
818
|
/** Failover mode. */
|
|
587
819
|
failoverMode?: FailoverMode;
|
|
588
820
|
}
|
|
821
|
+
/** A list of the server's Advanced Threat Protection settings. */
|
|
822
|
+
export interface ServerThreatProtectionListResult {
|
|
823
|
+
/**
|
|
824
|
+
* Array of results.
|
|
825
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
826
|
+
*/
|
|
827
|
+
readonly value?: ServerThreatProtectionSettingsModel[];
|
|
828
|
+
/**
|
|
829
|
+
* Link to retrieve next page of results.
|
|
830
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
831
|
+
*/
|
|
832
|
+
readonly nextLink?: string;
|
|
833
|
+
}
|
|
834
|
+
/** Represents a virtual endpoint for a server. */
|
|
835
|
+
export interface VirtualEndpointResourceForPatch {
|
|
836
|
+
/** The endpoint type for the virtual endpoint. */
|
|
837
|
+
endpointType?: VirtualEndpointType;
|
|
838
|
+
/** List of members for a virtual endpoint */
|
|
839
|
+
members?: string[];
|
|
840
|
+
/**
|
|
841
|
+
* List of virtual endpoints for a server
|
|
842
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
843
|
+
*/
|
|
844
|
+
readonly virtualEndpoints?: string[];
|
|
845
|
+
}
|
|
846
|
+
/** A list of virtual endpoints. */
|
|
847
|
+
export interface VirtualEndpointsListResult {
|
|
848
|
+
/** The list of virtual endpoints */
|
|
849
|
+
value?: VirtualEndpointResource[];
|
|
850
|
+
/** The link used to get the next page of operations. */
|
|
851
|
+
nextLink?: string;
|
|
852
|
+
}
|
|
589
853
|
/** Virtual network subnet usage parameter */
|
|
590
854
|
export interface VirtualNetworkSubnetUsageParameter {
|
|
591
855
|
/** Virtual network resource id. */
|
|
@@ -619,64 +883,25 @@ export interface DelegatedSubnetUsage {
|
|
|
619
883
|
*/
|
|
620
884
|
readonly usage?: number;
|
|
621
885
|
}
|
|
622
|
-
/**
|
|
623
|
-
export interface
|
|
624
|
-
/** Backup Settings */
|
|
625
|
-
backupSettings: BackupSettings;
|
|
626
|
-
}
|
|
627
|
-
/** The settings for the long term backup. */
|
|
628
|
-
export interface BackupSettings {
|
|
629
|
-
/** Backup Name for the current backup */
|
|
630
|
-
backupName: string;
|
|
631
|
-
}
|
|
632
|
-
/** Response for the LTR pre-backup API call */
|
|
633
|
-
export interface LtrPreBackupResponse {
|
|
634
|
-
/** Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. */
|
|
635
|
-
numberOfContainers: number;
|
|
636
|
-
}
|
|
637
|
-
/** Details about the target where the backup content will be stored. */
|
|
638
|
-
export interface BackupStoreDetails {
|
|
639
|
-
/** List of SAS uri of storage containers where backup data is to be streamed/copied. */
|
|
640
|
-
sasUriList: string[];
|
|
886
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
887
|
+
export interface ProxyResource extends Resource {
|
|
641
888
|
}
|
|
642
|
-
/**
|
|
643
|
-
export interface
|
|
644
|
-
/** Size of datasource in bytes */
|
|
645
|
-
datasourceSizeInBytes?: number;
|
|
646
|
-
/** Data transferred in bytes */
|
|
647
|
-
dataTransferredInBytes?: number;
|
|
648
|
-
/** Name of Backup operation */
|
|
649
|
-
backupName?: string;
|
|
650
|
-
/** Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc */
|
|
651
|
-
backupMetadata?: string;
|
|
652
|
-
/** Service-set extensible enum indicating the status of operation */
|
|
653
|
-
status?: ExecutionStatus;
|
|
654
|
-
/** Start time of the operation. */
|
|
655
|
-
startTime?: Date;
|
|
656
|
-
/** End time of the operation. */
|
|
657
|
-
endTime?: Date;
|
|
658
|
-
/** PercentageCompleted */
|
|
659
|
-
percentComplete?: number;
|
|
889
|
+
/** The private endpoint connection resource. */
|
|
890
|
+
export interface PrivateEndpointConnection extends Resource {
|
|
660
891
|
/**
|
|
661
|
-
* The
|
|
892
|
+
* The group ids for the private endpoint resource.
|
|
662
893
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
663
894
|
*/
|
|
664
|
-
readonly
|
|
895
|
+
readonly groupIds?: string[];
|
|
896
|
+
/** The private endpoint resource. */
|
|
897
|
+
privateEndpoint?: PrivateEndpoint;
|
|
898
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
899
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
665
900
|
/**
|
|
666
|
-
* The
|
|
901
|
+
* The provisioning state of the private endpoint connection resource.
|
|
667
902
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
668
903
|
*/
|
|
669
|
-
readonly
|
|
670
|
-
}
|
|
671
|
-
/** A list of long term retention backup operations for server. */
|
|
672
|
-
export interface LtrServerBackupOperationList {
|
|
673
|
-
/** The list of long term retention server backup operations */
|
|
674
|
-
value?: LtrServerBackupOperation[];
|
|
675
|
-
/** The link used to get the next page of operations. */
|
|
676
|
-
nextLink?: string;
|
|
677
|
-
}
|
|
678
|
-
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
679
|
-
export interface ProxyResource extends Resource {
|
|
904
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
680
905
|
}
|
|
681
906
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
682
907
|
export interface TrackedResource extends Resource {
|
|
@@ -687,6 +912,24 @@ export interface TrackedResource extends Resource {
|
|
|
687
912
|
/** The geo-location where the resource lives */
|
|
688
913
|
location: string;
|
|
689
914
|
}
|
|
915
|
+
/** A private link resource. */
|
|
916
|
+
export interface PrivateLinkResource extends Resource {
|
|
917
|
+
/**
|
|
918
|
+
* The private link resource group id.
|
|
919
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
920
|
+
*/
|
|
921
|
+
readonly groupId?: string;
|
|
922
|
+
/**
|
|
923
|
+
* The private link resource required member names.
|
|
924
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
925
|
+
*/
|
|
926
|
+
readonly requiredMembers?: string[];
|
|
927
|
+
/** The private link resource private link DNS zone name. */
|
|
928
|
+
requiredZoneNames?: string[];
|
|
929
|
+
}
|
|
930
|
+
/** Represents a virtual endpoint for a server. */
|
|
931
|
+
export interface VirtualEndpointResource extends VirtualEndpointResourceForPatch, Resource {
|
|
932
|
+
}
|
|
690
933
|
/** Represents capability of a storage tier */
|
|
691
934
|
export interface StorageTierCapability extends CapabilityBase {
|
|
692
935
|
/**
|
|
@@ -707,11 +950,31 @@ export interface StorageMbCapability extends CapabilityBase {
|
|
|
707
950
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
708
951
|
*/
|
|
709
952
|
readonly supportedIops?: number;
|
|
953
|
+
/**
|
|
954
|
+
* Maximum IOPS supported by this #Vcores or PremiumV2_LRS Storage Size
|
|
955
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
956
|
+
*/
|
|
957
|
+
readonly supportedMaximumIops?: number;
|
|
710
958
|
/**
|
|
711
959
|
* Storage size in MB
|
|
712
960
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
713
961
|
*/
|
|
714
962
|
readonly storageSizeMb?: number;
|
|
963
|
+
/**
|
|
964
|
+
* Maximum value of Storage size in MB
|
|
965
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
966
|
+
*/
|
|
967
|
+
readonly maximumStorageSizeMb?: number;
|
|
968
|
+
/**
|
|
969
|
+
* Values of throughput in MB/s
|
|
970
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
971
|
+
*/
|
|
972
|
+
readonly supportedThroughput?: number;
|
|
973
|
+
/**
|
|
974
|
+
* Maximum values of throughput in MB/s
|
|
975
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
976
|
+
*/
|
|
977
|
+
readonly supportedMaximumThroughput?: number;
|
|
715
978
|
/**
|
|
716
979
|
* Default tier for IOPS
|
|
717
980
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1000,19 +1263,6 @@ export interface FirewallRule extends ProxyResource {
|
|
|
1000
1263
|
/** The end IP address of the server firewall rule. Must be IPv4 format. */
|
|
1001
1264
|
endIpAddress: string;
|
|
1002
1265
|
}
|
|
1003
|
-
/** Represents a logFile. */
|
|
1004
|
-
export interface LogFile extends ProxyResource {
|
|
1005
|
-
/** Creation timestamp of the log file. */
|
|
1006
|
-
createdTime?: Date;
|
|
1007
|
-
/** Last modified timestamp of the log file. */
|
|
1008
|
-
lastModifiedTime?: Date;
|
|
1009
|
-
/** The size in kb of the logFile. */
|
|
1010
|
-
sizeInKb?: number;
|
|
1011
|
-
/** Type of the log file. */
|
|
1012
|
-
typePropertiesType?: string;
|
|
1013
|
-
/** The url to download the log file from. */
|
|
1014
|
-
url?: string;
|
|
1015
|
-
}
|
|
1016
1266
|
/** Response for the LTR backup Operation API call */
|
|
1017
1267
|
export interface LtrServerBackupOperation extends ProxyResource {
|
|
1018
1268
|
/** Size of datasource in bytes */
|
|
@@ -1042,6 +1292,29 @@ export interface LtrServerBackupOperation extends ProxyResource {
|
|
|
1042
1292
|
*/
|
|
1043
1293
|
readonly errorMessage?: string;
|
|
1044
1294
|
}
|
|
1295
|
+
/** Represents a logFile. */
|
|
1296
|
+
export interface LogFile extends ProxyResource {
|
|
1297
|
+
/** Creation timestamp of the log file. */
|
|
1298
|
+
createdTime?: Date;
|
|
1299
|
+
/** Last modified timestamp of the log file. */
|
|
1300
|
+
lastModifiedTime?: Date;
|
|
1301
|
+
/** The size in kb of the logFile. */
|
|
1302
|
+
sizeInKb?: number;
|
|
1303
|
+
/** Type of the log file. */
|
|
1304
|
+
typePropertiesType?: string;
|
|
1305
|
+
/** The url to download the log file from. */
|
|
1306
|
+
url?: string;
|
|
1307
|
+
}
|
|
1308
|
+
/** Server's Advanced Threat Protection settings. */
|
|
1309
|
+
export interface ServerThreatProtectionSettingsModel extends ProxyResource {
|
|
1310
|
+
/** Specifies the state of the Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific server. */
|
|
1311
|
+
state?: ThreatProtectionState;
|
|
1312
|
+
/**
|
|
1313
|
+
* Specifies the UTC creation time of the policy.
|
|
1314
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1315
|
+
*/
|
|
1316
|
+
readonly creationTime?: Date;
|
|
1317
|
+
}
|
|
1045
1318
|
/** Represents a server. */
|
|
1046
1319
|
export interface Server extends TrackedResource {
|
|
1047
1320
|
/** The SKU (pricing tier) of the server. */
|
|
@@ -1099,8 +1372,15 @@ export interface Server extends TrackedResource {
|
|
|
1099
1372
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1100
1373
|
*/
|
|
1101
1374
|
readonly replicaCapacity?: number;
|
|
1375
|
+
/** Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server. */
|
|
1376
|
+
replica?: Replica;
|
|
1102
1377
|
/** The mode to create a new PostgreSQL server. */
|
|
1103
1378
|
createMode?: CreateMode;
|
|
1379
|
+
/**
|
|
1380
|
+
* List of private endpoint connections associated with the specified resource.
|
|
1381
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1382
|
+
*/
|
|
1383
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
1104
1384
|
}
|
|
1105
1385
|
/** Represents a migration resource. */
|
|
1106
1386
|
export interface MigrationResource extends TrackedResource {
|
|
@@ -1116,6 +1396,12 @@ export interface MigrationResource extends TrackedResource {
|
|
|
1116
1396
|
readonly currentStatus?: MigrationStatus;
|
|
1117
1397
|
/** There are two types of migration modes Online and Offline */
|
|
1118
1398
|
migrationMode?: MigrationMode;
|
|
1399
|
+
/** This indicates the supported Migration option for the migration */
|
|
1400
|
+
migrationOption?: MigrationOption;
|
|
1401
|
+
/** migration source server type : OnPremises, AWS, GCP, AzureVM or PostgreSQLSingleServer */
|
|
1402
|
+
sourceType?: SourceType;
|
|
1403
|
+
/** SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types */
|
|
1404
|
+
sslMode?: SslMode;
|
|
1119
1405
|
/**
|
|
1120
1406
|
* Metadata of the source database server
|
|
1121
1407
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1126,7 +1412,7 @@ export interface MigrationResource extends TrackedResource {
|
|
|
1126
1412
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1127
1413
|
*/
|
|
1128
1414
|
readonly targetDbServerMetadata?: DbServerMetadata;
|
|
1129
|
-
/** ResourceId of the source database server */
|
|
1415
|
+
/** ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username */
|
|
1130
1416
|
sourceDbServerResourceId?: string;
|
|
1131
1417
|
/** Source server fully qualified domain name or ip. It is a optional value, if customer provide it, dms will always use it for connection */
|
|
1132
1418
|
sourceDbServerFullyQualifiedDomainName?: string;
|
|
@@ -1240,6 +1526,26 @@ export interface FlexibleServerStartLtrBackupExceptionHeaders {
|
|
|
1240
1526
|
/** A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging. */
|
|
1241
1527
|
xMsRequestId?: string;
|
|
1242
1528
|
}
|
|
1529
|
+
/** Defines headers for PrivateEndpointConnection_update operation. */
|
|
1530
|
+
export interface PrivateEndpointConnectionUpdateHeaders {
|
|
1531
|
+
location?: string;
|
|
1532
|
+
}
|
|
1533
|
+
/** Defines headers for PrivateEndpointConnection_delete operation. */
|
|
1534
|
+
export interface PrivateEndpointConnectionDeleteHeaders {
|
|
1535
|
+
location?: string;
|
|
1536
|
+
}
|
|
1537
|
+
/** Defines headers for VirtualEndpoints_create operation. */
|
|
1538
|
+
export interface VirtualEndpointsCreateHeaders {
|
|
1539
|
+
location?: string;
|
|
1540
|
+
}
|
|
1541
|
+
/** Defines headers for VirtualEndpoints_update operation. */
|
|
1542
|
+
export interface VirtualEndpointsUpdateHeaders {
|
|
1543
|
+
location?: string;
|
|
1544
|
+
}
|
|
1545
|
+
/** Defines headers for VirtualEndpoints_delete operation. */
|
|
1546
|
+
export interface VirtualEndpointsDeleteHeaders {
|
|
1547
|
+
location?: string;
|
|
1548
|
+
}
|
|
1243
1549
|
/** Known values of {@link PrincipalType} that the service accepts. */
|
|
1244
1550
|
export declare enum KnownPrincipalType {
|
|
1245
1551
|
/** Unknown */
|
|
@@ -1509,7 +1815,9 @@ export declare enum KnownServerVersion {
|
|
|
1509
1815
|
/** Twelve */
|
|
1510
1816
|
Twelve = "12",
|
|
1511
1817
|
/** Eleven */
|
|
1512
|
-
Eleven = "11"
|
|
1818
|
+
Eleven = "11",
|
|
1819
|
+
/** Sixteen */
|
|
1820
|
+
Sixteen = "16"
|
|
1513
1821
|
}
|
|
1514
1822
|
/**
|
|
1515
1823
|
* Defines values for ServerVersion. \
|
|
@@ -1520,7 +1828,8 @@ export declare enum KnownServerVersion {
|
|
|
1520
1828
|
* **14** \
|
|
1521
1829
|
* **13** \
|
|
1522
1830
|
* **12** \
|
|
1523
|
-
* **11**
|
|
1831
|
+
* **11** \
|
|
1832
|
+
* **16**
|
|
1524
1833
|
*/
|
|
1525
1834
|
export type ServerVersion = string;
|
|
1526
1835
|
/** Known values of {@link ServerState} that the service accepts. */
|
|
@@ -1622,6 +1931,22 @@ export declare enum KnownAzureManagedDiskPerformanceTiers {
|
|
|
1622
1931
|
* **P80**
|
|
1623
1932
|
*/
|
|
1624
1933
|
export type AzureManagedDiskPerformanceTiers = string;
|
|
1934
|
+
/** Known values of {@link StorageType} that the service accepts. */
|
|
1935
|
+
export declare enum KnownStorageType {
|
|
1936
|
+
/** PremiumLRS */
|
|
1937
|
+
PremiumLRS = "Premium_LRS",
|
|
1938
|
+
/** PremiumV2LRS */
|
|
1939
|
+
PremiumV2LRS = "PremiumV2_LRS"
|
|
1940
|
+
}
|
|
1941
|
+
/**
|
|
1942
|
+
* Defines values for StorageType. \
|
|
1943
|
+
* {@link KnownStorageType} can be used interchangeably with StorageType,
|
|
1944
|
+
* this enum contains the known values that the service supports.
|
|
1945
|
+
* ### Known values supported by the service
|
|
1946
|
+
* **Premium_LRS** \
|
|
1947
|
+
* **PremiumV2_LRS**
|
|
1948
|
+
*/
|
|
1949
|
+
export type StorageType = string;
|
|
1625
1950
|
/** Known values of {@link ActiveDirectoryAuthEnum} that the service accepts. */
|
|
1626
1951
|
export declare enum KnownActiveDirectoryAuthEnum {
|
|
1627
1952
|
/** Enabled */
|
|
@@ -1787,6 +2112,66 @@ export declare enum KnownReplicationRole {
|
|
|
1787
2112
|
* **GeoAsyncReplica**
|
|
1788
2113
|
*/
|
|
1789
2114
|
export type ReplicationRole = string;
|
|
2115
|
+
/** Known values of {@link ReplicationState} that the service accepts. */
|
|
2116
|
+
export declare enum KnownReplicationState {
|
|
2117
|
+
/** Active */
|
|
2118
|
+
Active = "Active",
|
|
2119
|
+
/** Catchup */
|
|
2120
|
+
Catchup = "Catchup",
|
|
2121
|
+
/** Provisioning */
|
|
2122
|
+
Provisioning = "Provisioning",
|
|
2123
|
+
/** Updating */
|
|
2124
|
+
Updating = "Updating",
|
|
2125
|
+
/** Broken */
|
|
2126
|
+
Broken = "Broken",
|
|
2127
|
+
/** Reconfiguring */
|
|
2128
|
+
Reconfiguring = "Reconfiguring"
|
|
2129
|
+
}
|
|
2130
|
+
/**
|
|
2131
|
+
* Defines values for ReplicationState. \
|
|
2132
|
+
* {@link KnownReplicationState} can be used interchangeably with ReplicationState,
|
|
2133
|
+
* this enum contains the known values that the service supports.
|
|
2134
|
+
* ### Known values supported by the service
|
|
2135
|
+
* **Active** \
|
|
2136
|
+
* **Catchup** \
|
|
2137
|
+
* **Provisioning** \
|
|
2138
|
+
* **Updating** \
|
|
2139
|
+
* **Broken** \
|
|
2140
|
+
* **Reconfiguring**
|
|
2141
|
+
*/
|
|
2142
|
+
export type ReplicationState = string;
|
|
2143
|
+
/** Known values of {@link ReadReplicaPromoteMode} that the service accepts. */
|
|
2144
|
+
export declare enum KnownReadReplicaPromoteMode {
|
|
2145
|
+
/** Standalone */
|
|
2146
|
+
Standalone = "standalone",
|
|
2147
|
+
/** Switchover */
|
|
2148
|
+
Switchover = "switchover"
|
|
2149
|
+
}
|
|
2150
|
+
/**
|
|
2151
|
+
* Defines values for ReadReplicaPromoteMode. \
|
|
2152
|
+
* {@link KnownReadReplicaPromoteMode} can be used interchangeably with ReadReplicaPromoteMode,
|
|
2153
|
+
* this enum contains the known values that the service supports.
|
|
2154
|
+
* ### Known values supported by the service
|
|
2155
|
+
* **standalone** \
|
|
2156
|
+
* **switchover**
|
|
2157
|
+
*/
|
|
2158
|
+
export type ReadReplicaPromoteMode = string;
|
|
2159
|
+
/** Known values of {@link ReplicationPromoteOption} that the service accepts. */
|
|
2160
|
+
export declare enum KnownReplicationPromoteOption {
|
|
2161
|
+
/** Planned */
|
|
2162
|
+
Planned = "planned",
|
|
2163
|
+
/** Forced */
|
|
2164
|
+
Forced = "forced"
|
|
2165
|
+
}
|
|
2166
|
+
/**
|
|
2167
|
+
* Defines values for ReplicationPromoteOption. \
|
|
2168
|
+
* {@link KnownReplicationPromoteOption} can be used interchangeably with ReplicationPromoteOption,
|
|
2169
|
+
* this enum contains the known values that the service supports.
|
|
2170
|
+
* ### Known values supported by the service
|
|
2171
|
+
* **planned** \
|
|
2172
|
+
* **forced**
|
|
2173
|
+
*/
|
|
2174
|
+
export type ReplicationPromoteOption = string;
|
|
1790
2175
|
/** Known values of {@link CreateMode} that the service accepts. */
|
|
1791
2176
|
export declare enum KnownCreateMode {
|
|
1792
2177
|
/** Default */
|
|
@@ -1818,6 +2203,47 @@ export declare enum KnownCreateMode {
|
|
|
1818
2203
|
* **ReviveDropped**
|
|
1819
2204
|
*/
|
|
1820
2205
|
export type CreateMode = string;
|
|
2206
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
2207
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
2208
|
+
/** Pending */
|
|
2209
|
+
Pending = "Pending",
|
|
2210
|
+
/** Approved */
|
|
2211
|
+
Approved = "Approved",
|
|
2212
|
+
/** Rejected */
|
|
2213
|
+
Rejected = "Rejected"
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
2217
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
2218
|
+
* this enum contains the known values that the service supports.
|
|
2219
|
+
* ### Known values supported by the service
|
|
2220
|
+
* **Pending** \
|
|
2221
|
+
* **Approved** \
|
|
2222
|
+
* **Rejected**
|
|
2223
|
+
*/
|
|
2224
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
2225
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
2226
|
+
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
2227
|
+
/** Succeeded */
|
|
2228
|
+
Succeeded = "Succeeded",
|
|
2229
|
+
/** Creating */
|
|
2230
|
+
Creating = "Creating",
|
|
2231
|
+
/** Deleting */
|
|
2232
|
+
Deleting = "Deleting",
|
|
2233
|
+
/** Failed */
|
|
2234
|
+
Failed = "Failed"
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
2238
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
2239
|
+
* this enum contains the known values that the service supports.
|
|
2240
|
+
* ### Known values supported by the service
|
|
2241
|
+
* **Succeeded** \
|
|
2242
|
+
* **Creating** \
|
|
2243
|
+
* **Deleting** \
|
|
2244
|
+
* **Failed**
|
|
2245
|
+
*/
|
|
2246
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
1821
2247
|
/** Known values of {@link CreateModeForUpdate} that the service accepts. */
|
|
1822
2248
|
export declare enum KnownCreateModeForUpdate {
|
|
1823
2249
|
/** Default */
|
|
@@ -1834,6 +2260,28 @@ export declare enum KnownCreateModeForUpdate {
|
|
|
1834
2260
|
* **Update**
|
|
1835
2261
|
*/
|
|
1836
2262
|
export type CreateModeForUpdate = string;
|
|
2263
|
+
/** Known values of {@link ExecutionStatus} that the service accepts. */
|
|
2264
|
+
export declare enum KnownExecutionStatus {
|
|
2265
|
+
/** Running */
|
|
2266
|
+
Running = "Running",
|
|
2267
|
+
/** Cancelled */
|
|
2268
|
+
Cancelled = "Cancelled",
|
|
2269
|
+
/** Failed */
|
|
2270
|
+
Failed = "Failed",
|
|
2271
|
+
/** Succeeded */
|
|
2272
|
+
Succeeded = "Succeeded"
|
|
2273
|
+
}
|
|
2274
|
+
/**
|
|
2275
|
+
* Defines values for ExecutionStatus. \
|
|
2276
|
+
* {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
|
|
2277
|
+
* this enum contains the known values that the service supports.
|
|
2278
|
+
* ### Known values supported by the service
|
|
2279
|
+
* **Running** \
|
|
2280
|
+
* **Cancelled** \
|
|
2281
|
+
* **Failed** \
|
|
2282
|
+
* **Succeeded**
|
|
2283
|
+
*/
|
|
2284
|
+
export type ExecutionStatus = string;
|
|
1837
2285
|
/** Known values of {@link MigrationState} that the service accepts. */
|
|
1838
2286
|
export declare enum KnownMigrationState {
|
|
1839
2287
|
/** InProgress */
|
|
@@ -1845,7 +2293,11 @@ export declare enum KnownMigrationState {
|
|
|
1845
2293
|
/** Failed */
|
|
1846
2294
|
Failed = "Failed",
|
|
1847
2295
|
/** Succeeded */
|
|
1848
|
-
Succeeded = "Succeeded"
|
|
2296
|
+
Succeeded = "Succeeded",
|
|
2297
|
+
/** ValidationFailed */
|
|
2298
|
+
ValidationFailed = "ValidationFailed",
|
|
2299
|
+
/** CleaningUp */
|
|
2300
|
+
CleaningUp = "CleaningUp"
|
|
1849
2301
|
}
|
|
1850
2302
|
/**
|
|
1851
2303
|
* Defines values for MigrationState. \
|
|
@@ -1856,7 +2308,9 @@ export declare enum KnownMigrationState {
|
|
|
1856
2308
|
* **WaitingForUserAction** \
|
|
1857
2309
|
* **Canceled** \
|
|
1858
2310
|
* **Failed** \
|
|
1859
|
-
* **Succeeded**
|
|
2311
|
+
* **Succeeded** \
|
|
2312
|
+
* **ValidationFailed** \
|
|
2313
|
+
* **CleaningUp**
|
|
1860
2314
|
*/
|
|
1861
2315
|
export type MigrationState = string;
|
|
1862
2316
|
/** Known values of {@link MigrationSubState} that the service accepts. */
|
|
@@ -1880,7 +2334,11 @@ export declare enum KnownMigrationSubState {
|
|
|
1880
2334
|
/** CompletingMigration */
|
|
1881
2335
|
CompletingMigration = "CompletingMigration",
|
|
1882
2336
|
/** Completed */
|
|
1883
|
-
Completed = "Completed"
|
|
2337
|
+
Completed = "Completed",
|
|
2338
|
+
/** CancelingRequestedDBMigrations */
|
|
2339
|
+
CancelingRequestedDBMigrations = "CancelingRequestedDBMigrations",
|
|
2340
|
+
/** ValidationInProgress */
|
|
2341
|
+
ValidationInProgress = "ValidationInProgress"
|
|
1884
2342
|
}
|
|
1885
2343
|
/**
|
|
1886
2344
|
* Defines values for MigrationSubState. \
|
|
@@ -1896,9 +2354,58 @@ export declare enum KnownMigrationSubState {
|
|
|
1896
2354
|
* **MigratingData** \
|
|
1897
2355
|
* **WaitingForCutoverTrigger** \
|
|
1898
2356
|
* **CompletingMigration** \
|
|
1899
|
-
* **Completed**
|
|
2357
|
+
* **Completed** \
|
|
2358
|
+
* **CancelingRequestedDBMigrations** \
|
|
2359
|
+
* **ValidationInProgress**
|
|
1900
2360
|
*/
|
|
1901
2361
|
export type MigrationSubState = string;
|
|
2362
|
+
/** Known values of {@link MigrationDbState} that the service accepts. */
|
|
2363
|
+
export declare enum KnownMigrationDbState {
|
|
2364
|
+
/** InProgress */
|
|
2365
|
+
InProgress = "InProgress",
|
|
2366
|
+
/** WaitingForCutoverTrigger */
|
|
2367
|
+
WaitingForCutoverTrigger = "WaitingForCutoverTrigger",
|
|
2368
|
+
/** Failed */
|
|
2369
|
+
Failed = "Failed",
|
|
2370
|
+
/** Canceled */
|
|
2371
|
+
Canceled = "Canceled",
|
|
2372
|
+
/** Succeeded */
|
|
2373
|
+
Succeeded = "Succeeded",
|
|
2374
|
+
/** Canceling */
|
|
2375
|
+
Canceling = "Canceling"
|
|
2376
|
+
}
|
|
2377
|
+
/**
|
|
2378
|
+
* Defines values for MigrationDbState. \
|
|
2379
|
+
* {@link KnownMigrationDbState} can be used interchangeably with MigrationDbState,
|
|
2380
|
+
* this enum contains the known values that the service supports.
|
|
2381
|
+
* ### Known values supported by the service
|
|
2382
|
+
* **InProgress** \
|
|
2383
|
+
* **WaitingForCutoverTrigger** \
|
|
2384
|
+
* **Failed** \
|
|
2385
|
+
* **Canceled** \
|
|
2386
|
+
* **Succeeded** \
|
|
2387
|
+
* **Canceling**
|
|
2388
|
+
*/
|
|
2389
|
+
export type MigrationDbState = string;
|
|
2390
|
+
/** Known values of {@link ValidationState} that the service accepts. */
|
|
2391
|
+
export declare enum KnownValidationState {
|
|
2392
|
+
/** Failed */
|
|
2393
|
+
Failed = "Failed",
|
|
2394
|
+
/** Succeeded */
|
|
2395
|
+
Succeeded = "Succeeded",
|
|
2396
|
+
/** Warning */
|
|
2397
|
+
Warning = "Warning"
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* Defines values for ValidationState. \
|
|
2401
|
+
* {@link KnownValidationState} can be used interchangeably with ValidationState,
|
|
2402
|
+
* this enum contains the known values that the service supports.
|
|
2403
|
+
* ### Known values supported by the service
|
|
2404
|
+
* **Failed** \
|
|
2405
|
+
* **Succeeded** \
|
|
2406
|
+
* **Warning**
|
|
2407
|
+
*/
|
|
2408
|
+
export type ValidationState = string;
|
|
1902
2409
|
/** Known values of {@link MigrationMode} that the service accepts. */
|
|
1903
2410
|
export declare enum KnownMigrationMode {
|
|
1904
2411
|
/** Offline */
|
|
@@ -1915,6 +2422,72 @@ export declare enum KnownMigrationMode {
|
|
|
1915
2422
|
* **Online**
|
|
1916
2423
|
*/
|
|
1917
2424
|
export type MigrationMode = string;
|
|
2425
|
+
/** Known values of {@link MigrationOption} that the service accepts. */
|
|
2426
|
+
export declare enum KnownMigrationOption {
|
|
2427
|
+
/** Validate */
|
|
2428
|
+
Validate = "Validate",
|
|
2429
|
+
/** Migrate */
|
|
2430
|
+
Migrate = "Migrate",
|
|
2431
|
+
/** ValidateAndMigrate */
|
|
2432
|
+
ValidateAndMigrate = "ValidateAndMigrate"
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
* Defines values for MigrationOption. \
|
|
2436
|
+
* {@link KnownMigrationOption} can be used interchangeably with MigrationOption,
|
|
2437
|
+
* this enum contains the known values that the service supports.
|
|
2438
|
+
* ### Known values supported by the service
|
|
2439
|
+
* **Validate** \
|
|
2440
|
+
* **Migrate** \
|
|
2441
|
+
* **ValidateAndMigrate**
|
|
2442
|
+
*/
|
|
2443
|
+
export type MigrationOption = string;
|
|
2444
|
+
/** Known values of {@link SourceType} that the service accepts. */
|
|
2445
|
+
export declare enum KnownSourceType {
|
|
2446
|
+
/** OnPremises */
|
|
2447
|
+
OnPremises = "OnPremises",
|
|
2448
|
+
/** AWS */
|
|
2449
|
+
AWS = "AWS",
|
|
2450
|
+
/** GCP */
|
|
2451
|
+
GCP = "GCP",
|
|
2452
|
+
/** AzureVM */
|
|
2453
|
+
AzureVM = "AzureVM",
|
|
2454
|
+
/** PostgreSQLSingleServer */
|
|
2455
|
+
PostgreSQLSingleServer = "PostgreSQLSingleServer"
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* Defines values for SourceType. \
|
|
2459
|
+
* {@link KnownSourceType} can be used interchangeably with SourceType,
|
|
2460
|
+
* this enum contains the known values that the service supports.
|
|
2461
|
+
* ### Known values supported by the service
|
|
2462
|
+
* **OnPremises** \
|
|
2463
|
+
* **AWS** \
|
|
2464
|
+
* **GCP** \
|
|
2465
|
+
* **AzureVM** \
|
|
2466
|
+
* **PostgreSQLSingleServer**
|
|
2467
|
+
*/
|
|
2468
|
+
export type SourceType = string;
|
|
2469
|
+
/** Known values of {@link SslMode} that the service accepts. */
|
|
2470
|
+
export declare enum KnownSslMode {
|
|
2471
|
+
/** Prefer */
|
|
2472
|
+
Prefer = "Prefer",
|
|
2473
|
+
/** Require */
|
|
2474
|
+
Require = "Require",
|
|
2475
|
+
/** VerifyCA */
|
|
2476
|
+
VerifyCA = "VerifyCA",
|
|
2477
|
+
/** VerifyFull */
|
|
2478
|
+
VerifyFull = "VerifyFull"
|
|
2479
|
+
}
|
|
2480
|
+
/**
|
|
2481
|
+
* Defines values for SslMode. \
|
|
2482
|
+
* {@link KnownSslMode} can be used interchangeably with SslMode,
|
|
2483
|
+
* this enum contains the known values that the service supports.
|
|
2484
|
+
* ### Known values supported by the service
|
|
2485
|
+
* **Prefer** \
|
|
2486
|
+
* **Require** \
|
|
2487
|
+
* **VerifyCA** \
|
|
2488
|
+
* **VerifyFull**
|
|
2489
|
+
*/
|
|
2490
|
+
export type SslMode = string;
|
|
1918
2491
|
/** Known values of {@link LogicalReplicationOnSourceDbEnum} that the service accepts. */
|
|
1919
2492
|
export declare enum KnownLogicalReplicationOnSourceDbEnum {
|
|
1920
2493
|
/** True */
|
|
@@ -2068,28 +2641,32 @@ export declare enum KnownFailoverMode {
|
|
|
2068
2641
|
* **ForcedSwitchover**
|
|
2069
2642
|
*/
|
|
2070
2643
|
export type FailoverMode = string;
|
|
2071
|
-
/** Known values of {@link
|
|
2072
|
-
export declare enum
|
|
2073
|
-
/**
|
|
2074
|
-
|
|
2075
|
-
/** Cancelled */
|
|
2076
|
-
Cancelled = "Cancelled",
|
|
2077
|
-
/** Failed */
|
|
2078
|
-
Failed = "Failed",
|
|
2079
|
-
/** Succeeded */
|
|
2080
|
-
Succeeded = "Succeeded"
|
|
2644
|
+
/** Known values of {@link ThreatProtectionName} that the service accepts. */
|
|
2645
|
+
export declare enum KnownThreatProtectionName {
|
|
2646
|
+
/** Default */
|
|
2647
|
+
Default = "Default"
|
|
2081
2648
|
}
|
|
2082
2649
|
/**
|
|
2083
|
-
* Defines values for
|
|
2084
|
-
* {@link
|
|
2650
|
+
* Defines values for ThreatProtectionName. \
|
|
2651
|
+
* {@link KnownThreatProtectionName} can be used interchangeably with ThreatProtectionName,
|
|
2085
2652
|
* this enum contains the known values that the service supports.
|
|
2086
2653
|
* ### Known values supported by the service
|
|
2087
|
-
* **
|
|
2088
|
-
* **Cancelled** \
|
|
2089
|
-
* **Failed** \
|
|
2090
|
-
* **Succeeded**
|
|
2654
|
+
* **Default**
|
|
2091
2655
|
*/
|
|
2092
|
-
export type
|
|
2656
|
+
export type ThreatProtectionName = string;
|
|
2657
|
+
/** Known values of {@link VirtualEndpointType} that the service accepts. */
|
|
2658
|
+
export declare enum KnownVirtualEndpointType {
|
|
2659
|
+
/** ReadWrite */
|
|
2660
|
+
ReadWrite = "ReadWrite"
|
|
2661
|
+
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Defines values for VirtualEndpointType. \
|
|
2664
|
+
* {@link KnownVirtualEndpointType} can be used interchangeably with VirtualEndpointType,
|
|
2665
|
+
* this enum contains the known values that the service supports.
|
|
2666
|
+
* ### Known values supported by the service
|
|
2667
|
+
* **ReadWrite**
|
|
2668
|
+
*/
|
|
2669
|
+
export type VirtualEndpointType = string;
|
|
2093
2670
|
/** Known values of {@link MigrationDetailsLevel} that the service accepts. */
|
|
2094
2671
|
export declare enum KnownMigrationDetailsLevel {
|
|
2095
2672
|
/** Default */
|
|
@@ -2111,6 +2688,8 @@ export declare enum KnownMigrationDetailsLevel {
|
|
|
2111
2688
|
export type MigrationDetailsLevel = string;
|
|
2112
2689
|
/** Defines values for CapabilityStatus. */
|
|
2113
2690
|
export type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled";
|
|
2691
|
+
/** Defines values for ThreatProtectionState. */
|
|
2692
|
+
export type ThreatProtectionState = "Enabled" | "Disabled";
|
|
2114
2693
|
/** Optional parameters. */
|
|
2115
2694
|
export interface AdministratorsCreateOptionalParams extends coreClient.OperationOptions {
|
|
2116
2695
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -2356,6 +2935,35 @@ export interface ServersListNextOptionalParams extends coreClient.OperationOptio
|
|
|
2356
2935
|
/** Contains response data for the listNext operation. */
|
|
2357
2936
|
export type ServersListNextResponse = ServerListResult;
|
|
2358
2937
|
/** Optional parameters. */
|
|
2938
|
+
export interface FlexibleServerTriggerLtrPreBackupOptionalParams extends coreClient.OperationOptions {
|
|
2939
|
+
}
|
|
2940
|
+
/** Contains response data for the triggerLtrPreBackup operation. */
|
|
2941
|
+
export type FlexibleServerTriggerLtrPreBackupResponse = FlexibleServerTriggerLtrPreBackupHeaders & LtrPreBackupResponse;
|
|
2942
|
+
/** Optional parameters. */
|
|
2943
|
+
export interface FlexibleServerStartLtrBackupOptionalParams extends coreClient.OperationOptions {
|
|
2944
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2945
|
+
updateIntervalInMs?: number;
|
|
2946
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2947
|
+
resumeFrom?: string;
|
|
2948
|
+
}
|
|
2949
|
+
/** Contains response data for the startLtrBackup operation. */
|
|
2950
|
+
export type FlexibleServerStartLtrBackupResponse = FlexibleServerStartLtrBackupHeaders & LtrBackupResponse;
|
|
2951
|
+
/** Optional parameters. */
|
|
2952
|
+
export interface LtrBackupOperationsGetOptionalParams extends coreClient.OperationOptions {
|
|
2953
|
+
}
|
|
2954
|
+
/** Contains response data for the get operation. */
|
|
2955
|
+
export type LtrBackupOperationsGetResponse = LtrServerBackupOperation;
|
|
2956
|
+
/** Optional parameters. */
|
|
2957
|
+
export interface LtrBackupOperationsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
2958
|
+
}
|
|
2959
|
+
/** Contains response data for the listByServer operation. */
|
|
2960
|
+
export type LtrBackupOperationsListByServerResponse = LtrServerBackupOperationList;
|
|
2961
|
+
/** Optional parameters. */
|
|
2962
|
+
export interface LtrBackupOperationsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
2963
|
+
}
|
|
2964
|
+
/** Contains response data for the listByServerNext operation. */
|
|
2965
|
+
export type LtrBackupOperationsListByServerNextResponse = LtrServerBackupOperationList;
|
|
2966
|
+
/** Optional parameters. */
|
|
2359
2967
|
export interface MigrationsCreateOptionalParams extends coreClient.OperationOptions {
|
|
2360
2968
|
}
|
|
2361
2969
|
/** Contains response data for the create operation. */
|
|
@@ -2404,6 +3012,64 @@ export type GetPrivateDnsZoneSuffixExecuteResponse = {
|
|
|
2404
3012
|
body: string;
|
|
2405
3013
|
};
|
|
2406
3014
|
/** Optional parameters. */
|
|
3015
|
+
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
3016
|
+
}
|
|
3017
|
+
/** Contains response data for the get operation. */
|
|
3018
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
3019
|
+
/** Optional parameters. */
|
|
3020
|
+
export interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
3021
|
+
}
|
|
3022
|
+
/** Contains response data for the listByServer operation. */
|
|
3023
|
+
export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
|
|
3024
|
+
/** Optional parameters. */
|
|
3025
|
+
export interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
3026
|
+
}
|
|
3027
|
+
/** Contains response data for the listByServerNext operation. */
|
|
3028
|
+
export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
|
|
3029
|
+
/** Optional parameters. */
|
|
3030
|
+
export interface PrivateEndpointConnectionUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3031
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3032
|
+
updateIntervalInMs?: number;
|
|
3033
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3034
|
+
resumeFrom?: string;
|
|
3035
|
+
}
|
|
3036
|
+
/** Contains response data for the update operation. */
|
|
3037
|
+
export type PrivateEndpointConnectionUpdateResponse = PrivateEndpointConnection;
|
|
3038
|
+
/** Optional parameters. */
|
|
3039
|
+
export interface PrivateEndpointConnectionDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3040
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3041
|
+
updateIntervalInMs?: number;
|
|
3042
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3043
|
+
resumeFrom?: string;
|
|
3044
|
+
}
|
|
3045
|
+
/** Contains response data for the delete operation. */
|
|
3046
|
+
export type PrivateEndpointConnectionDeleteResponse = PrivateEndpointConnectionDeleteHeaders;
|
|
3047
|
+
/** Optional parameters. */
|
|
3048
|
+
export interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
|
|
3049
|
+
}
|
|
3050
|
+
/** Contains response data for the listByServer operation. */
|
|
3051
|
+
export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
|
|
3052
|
+
/** Optional parameters. */
|
|
3053
|
+
export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
|
|
3054
|
+
}
|
|
3055
|
+
/** Contains response data for the get operation. */
|
|
3056
|
+
export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
|
|
3057
|
+
/** Optional parameters. */
|
|
3058
|
+
export interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
3059
|
+
}
|
|
3060
|
+
/** Contains response data for the listByServerNext operation. */
|
|
3061
|
+
export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
|
|
3062
|
+
/** Optional parameters. */
|
|
3063
|
+
export interface QuotaUsagesListOptionalParams extends coreClient.OperationOptions {
|
|
3064
|
+
}
|
|
3065
|
+
/** Contains response data for the list operation. */
|
|
3066
|
+
export type QuotaUsagesListResponse = QuotaUsagesListResult;
|
|
3067
|
+
/** Optional parameters. */
|
|
3068
|
+
export interface QuotaUsagesListNextOptionalParams extends coreClient.OperationOptions {
|
|
3069
|
+
}
|
|
3070
|
+
/** Contains response data for the listNext operation. */
|
|
3071
|
+
export type QuotaUsagesListNextResponse = QuotaUsagesListResult;
|
|
3072
|
+
/** Optional parameters. */
|
|
2407
3073
|
export interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
|
|
2408
3074
|
}
|
|
2409
3075
|
/** Contains response data for the listByServer operation. */
|
|
@@ -2419,39 +3085,76 @@ export interface LogFilesListByServerNextOptionalParams extends coreClient.Opera
|
|
|
2419
3085
|
/** Contains response data for the listByServerNext operation. */
|
|
2420
3086
|
export type LogFilesListByServerNextResponse = LogFileListResult;
|
|
2421
3087
|
/** Optional parameters. */
|
|
2422
|
-
export interface
|
|
3088
|
+
export interface ServerThreatProtectionSettingsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
2423
3089
|
}
|
|
2424
|
-
/** Contains response data for the
|
|
2425
|
-
export type
|
|
3090
|
+
/** Contains response data for the listByServer operation. */
|
|
3091
|
+
export type ServerThreatProtectionSettingsListByServerResponse = ServerThreatProtectionListResult;
|
|
2426
3092
|
/** Optional parameters. */
|
|
2427
|
-
export interface
|
|
3093
|
+
export interface ServerThreatProtectionSettingsGetOptionalParams extends coreClient.OperationOptions {
|
|
2428
3094
|
}
|
|
2429
|
-
/** Contains response data for the
|
|
2430
|
-
export type
|
|
3095
|
+
/** Contains response data for the get operation. */
|
|
3096
|
+
export type ServerThreatProtectionSettingsGetResponse = ServerThreatProtectionSettingsModel;
|
|
2431
3097
|
/** Optional parameters. */
|
|
2432
|
-
export interface
|
|
3098
|
+
export interface ServerThreatProtectionSettingsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2433
3099
|
/** Delay to wait until next poll, in milliseconds. */
|
|
2434
3100
|
updateIntervalInMs?: number;
|
|
2435
3101
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2436
3102
|
resumeFrom?: string;
|
|
2437
3103
|
}
|
|
2438
|
-
/** Contains response data for the
|
|
2439
|
-
export type
|
|
3104
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
3105
|
+
export type ServerThreatProtectionSettingsCreateOrUpdateResponse = ServerThreatProtectionSettingsModel;
|
|
2440
3106
|
/** Optional parameters. */
|
|
2441
|
-
export interface
|
|
3107
|
+
export interface ServerThreatProtectionSettingsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
3108
|
+
}
|
|
3109
|
+
/** Contains response data for the listByServerNext operation. */
|
|
3110
|
+
export type ServerThreatProtectionSettingsListByServerNextResponse = ServerThreatProtectionListResult;
|
|
3111
|
+
/** Optional parameters. */
|
|
3112
|
+
export interface VirtualEndpointsCreateOptionalParams extends coreClient.OperationOptions {
|
|
3113
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3114
|
+
updateIntervalInMs?: number;
|
|
3115
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3116
|
+
resumeFrom?: string;
|
|
3117
|
+
}
|
|
3118
|
+
/** Contains response data for the create operation. */
|
|
3119
|
+
export type VirtualEndpointsCreateResponse = VirtualEndpointResource;
|
|
3120
|
+
/** Optional parameters. */
|
|
3121
|
+
export interface VirtualEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
3122
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3123
|
+
updateIntervalInMs?: number;
|
|
3124
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3125
|
+
resumeFrom?: string;
|
|
3126
|
+
}
|
|
3127
|
+
/** Contains response data for the update operation. */
|
|
3128
|
+
export type VirtualEndpointsUpdateResponse = VirtualEndpointResource;
|
|
3129
|
+
/** Optional parameters. */
|
|
3130
|
+
export interface VirtualEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3131
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
3132
|
+
updateIntervalInMs?: number;
|
|
3133
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
3134
|
+
resumeFrom?: string;
|
|
3135
|
+
}
|
|
3136
|
+
/** Contains response data for the delete operation. */
|
|
3137
|
+
export type VirtualEndpointsDeleteResponse = VirtualEndpointsDeleteHeaders;
|
|
3138
|
+
/** Optional parameters. */
|
|
3139
|
+
export interface VirtualEndpointsGetOptionalParams extends coreClient.OperationOptions {
|
|
2442
3140
|
}
|
|
2443
3141
|
/** Contains response data for the get operation. */
|
|
2444
|
-
export type
|
|
3142
|
+
export type VirtualEndpointsGetResponse = VirtualEndpointResource;
|
|
2445
3143
|
/** Optional parameters. */
|
|
2446
|
-
export interface
|
|
3144
|
+
export interface VirtualEndpointsListByServerOptionalParams extends coreClient.OperationOptions {
|
|
2447
3145
|
}
|
|
2448
3146
|
/** Contains response data for the listByServer operation. */
|
|
2449
|
-
export type
|
|
3147
|
+
export type VirtualEndpointsListByServerResponse = VirtualEndpointsListResult;
|
|
2450
3148
|
/** Optional parameters. */
|
|
2451
|
-
export interface
|
|
3149
|
+
export interface VirtualEndpointsListByServerNextOptionalParams extends coreClient.OperationOptions {
|
|
2452
3150
|
}
|
|
2453
3151
|
/** Contains response data for the listByServerNext operation. */
|
|
2454
|
-
export type
|
|
3152
|
+
export type VirtualEndpointsListByServerNextResponse = VirtualEndpointsListResult;
|
|
3153
|
+
/** Optional parameters. */
|
|
3154
|
+
export interface VirtualNetworkSubnetUsageExecuteOptionalParams extends coreClient.OperationOptions {
|
|
3155
|
+
}
|
|
3156
|
+
/** Contains response data for the execute operation. */
|
|
3157
|
+
export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult;
|
|
2455
3158
|
/** Optional parameters. */
|
|
2456
3159
|
export interface PostgreSQLManagementFlexibleServerClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
2457
3160
|
/** server parameter */
|