@azure/arm-postgresql-flexible 8.0.0-beta.5 → 8.0.0-beta.6
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 +253 -0
- package/LICENSE +1 -1
- package/dist/index.js +1937 -1894
- 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 +3 -3
- package/dist-esm/samples-dev/administratorsCreateSample.js.map +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 +2 -2
- 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 +2 -2
- package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +3 -3
- package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +3 -3
- package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByServerSample.js +2 -2
- package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsPutSample.js +2 -2
- package/dist-esm/samples-dev/configurationsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/configurationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesCreateSample.js +2 -2
- package/dist-esm/samples-dev/databasesCreateSample.js.map +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 +2 -2
- package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +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 +2 -2
- package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +3 -3
- package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js.map +1 -1
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +3 -3
- package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js.map +1 -1
- package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +2 -2
- package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
- package/dist-esm/samples-dev/logFilesListByServerSample.js +2 -2
- 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 +2 -2
- package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsCreateSample.js +84 -17
- package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/migrationsGetSample.js +5 -5
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +4 -4
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsUpdateSample.js +4 -4
- 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.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +2 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaUsagesListSample.js +2 -2
- package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicasListByServerSample.js +2 -2
- package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js +2 -2
- package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +1 -1
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +2 -2
- package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/serversCreateSample.js +28 -28
- 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 +3 -3
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/serversListSample.js +2 -2
- package/dist-esm/samples-dev/serversListSample.js.map +1 -1
- package/dist-esm/samples-dev/serversRestartSample.js +4 -4
- package/dist-esm/samples-dev/serversRestartSample.js.map +1 -1
- package/dist-esm/samples-dev/serversStartSample.js +1 -1
- package/dist-esm/samples-dev/serversStopSample.js +1 -1
- package/dist-esm/samples-dev/serversUpdateSample.js +23 -23
- package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +3 -3
- package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualEndpointsGetSample.js +1 -1
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +2 -2
- package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +3 -3
- package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +46 -3
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1250 -1232
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +108 -108
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/administrators.d.ts.map +1 -1
- package/dist-esm/src/operations/administrators.js +37 -37
- package/dist-esm/src/operations/administrators.js.map +1 -1
- package/dist-esm/src/operations/backups.js +16 -16
- package/dist-esm/src/operations/backups.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.js +4 -4
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist-esm/src/operations/checkNameAvailabilityWithLocation.js +5 -5
- package/dist-esm/src/operations/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +43 -43
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/databases.d.ts.map +1 -1
- package/dist-esm/src/operations/databases.js +38 -38
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +38 -38
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/flexibleServer.d.ts.map +1 -1
- package/dist-esm/src/operations/flexibleServer.js +18 -18
- package/dist-esm/src/operations/flexibleServer.js.map +1 -1
- package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +4 -4
- package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -1
- package/dist-esm/src/operations/locationBasedCapabilities.js +11 -11
- package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
- package/dist-esm/src/operations/logFiles.js +11 -11
- package/dist-esm/src/operations/logFiles.js.map +1 -1
- package/dist-esm/src/operations/ltrBackupOperations.js +16 -16
- package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
- package/dist-esm/src/operations/migrations.js +36 -36
- package/dist-esm/src/operations/migrations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +4 -4
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +27 -27
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +16 -16
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +16 -16
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/quotaUsages.js +11 -11
- package/dist-esm/src/operations/quotaUsages.js.map +1 -1
- package/dist-esm/src/operations/replicas.js +6 -6
- package/dist-esm/src/operations/replicas.js.map +1 -1
- package/dist-esm/src/operations/serverCapabilities.js +11 -11
- package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
- package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/serverThreatProtectionSettings.js +30 -30
- package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -1
- package/dist-esm/src/operations/servers.d.ts.map +1 -1
- package/dist-esm/src/operations/servers.js +83 -83
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualEndpoints.js +55 -55
- package/dist-esm/src/operations/virtualEndpoints.js.map +1 -1
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +5 -5
- package/dist-esm/src/operations/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +21 -18
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist-esm/test/postgresql_flexible_operations_test.spec.js +1 -1
- package/dist-esm/test/postgresql_flexible_operations_test.spec.js.map +1 -1
- package/package.json +7 -9
- package/review/arm-postgresql-flexible.api.md +19 -0
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +140 -79
- package/src/models/mappers.ts +1354 -1328
- package/src/models/parameters.ts +110 -110
- package/src/operations/administrators.ts +75 -81
- package/src/operations/backups.ts +32 -34
- package/src/operations/checkNameAvailability.ts +8 -9
- package/src/operations/checkNameAvailabilityWithLocation.ts +11 -11
- package/src/operations/configurations.ts +81 -87
- package/src/operations/databases.ts +76 -82
- package/src/operations/firewallRules.ts +76 -82
- package/src/operations/flexibleServer.ts +33 -36
- package/src/operations/getPrivateDnsZoneSuffix.ts +6 -6
- package/src/operations/locationBasedCapabilities.ts +23 -23
- package/src/operations/logFiles.ts +24 -25
- package/src/operations/ltrBackupOperations.ts +32 -34
- package/src/operations/migrations.ts +62 -67
- package/src/operations/operations.ts +6 -6
- package/src/operations/privateEndpointConnectionOperations.ts +52 -55
- package/src/operations/privateEndpointConnections.ts +34 -35
- package/src/operations/privateLinkResources.ts +32 -34
- package/src/operations/quotaUsages.ts +20 -21
- package/src/operations/replicas.ts +16 -17
- package/src/operations/serverCapabilities.ts +23 -24
- package/src/operations/serverThreatProtectionSettings.ts +59 -62
- package/src/operations/servers.ts +170 -185
- package/src/operations/virtualEndpoints.ts +104 -112
- package/src/operations/virtualNetworkSubnetUsage.ts +11 -11
- package/src/operationsInterfaces/administrators.ts +7 -7
- package/src/operationsInterfaces/backups.ts +3 -3
- package/src/operationsInterfaces/checkNameAvailability.ts +2 -2
- package/src/operationsInterfaces/checkNameAvailabilityWithLocation.ts +2 -2
- package/src/operationsInterfaces/configurations.ts +7 -7
- package/src/operationsInterfaces/databases.ts +7 -7
- package/src/operationsInterfaces/firewallRules.ts +7 -7
- package/src/operationsInterfaces/flexibleServer.ts +4 -4
- package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +2 -2
- package/src/operationsInterfaces/locationBasedCapabilities.ts +2 -2
- package/src/operationsInterfaces/logFiles.ts +1 -1
- package/src/operationsInterfaces/ltrBackupOperations.ts +3 -3
- package/src/operationsInterfaces/migrations.ts +6 -6
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +5 -5
- package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/quotaUsages.ts +1 -1
- package/src/operationsInterfaces/replicas.ts +1 -1
- package/src/operationsInterfaces/serverCapabilities.ts +2 -2
- package/src/operationsInterfaces/serverThreatProtectionSettings.ts +5 -5
- package/src/operationsInterfaces/servers.ts +15 -15
- package/src/operationsInterfaces/virtualEndpoints.ts +9 -9
- package/src/operationsInterfaces/virtualNetworkSubnetUsage.ts +2 -2
- package/src/pagingHelper.ts +1 -1
- package/src/postgreSQLManagementFlexibleServerClient.ts +36 -39
- package/types/arm-postgresql-flexible.d.ts +48 -3
- package/types/tsdoc-metadata.json +1 -1
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ServersGetResponse,
|
|
23
23
|
ServersRestartOptionalParams,
|
|
24
24
|
ServersStartOptionalParams,
|
|
25
|
-
ServersStopOptionalParams
|
|
25
|
+
ServersStopOptionalParams,
|
|
26
26
|
} from "../models";
|
|
27
27
|
|
|
28
28
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -35,7 +35,7 @@ export interface Servers {
|
|
|
35
35
|
*/
|
|
36
36
|
listByResourceGroup(
|
|
37
37
|
resourceGroupName: string,
|
|
38
|
-
options?: ServersListByResourceGroupOptionalParams
|
|
38
|
+
options?: ServersListByResourceGroupOptionalParams,
|
|
39
39
|
): PagedAsyncIterableIterator<Server>;
|
|
40
40
|
/**
|
|
41
41
|
* List all the servers in a given subscription.
|
|
@@ -53,7 +53,7 @@ export interface Servers {
|
|
|
53
53
|
resourceGroupName: string,
|
|
54
54
|
serverName: string,
|
|
55
55
|
parameters: Server,
|
|
56
|
-
options?: ServersCreateOptionalParams
|
|
56
|
+
options?: ServersCreateOptionalParams,
|
|
57
57
|
): Promise<
|
|
58
58
|
SimplePollerLike<
|
|
59
59
|
OperationState<ServersCreateResponse>,
|
|
@@ -71,7 +71,7 @@ export interface Servers {
|
|
|
71
71
|
resourceGroupName: string,
|
|
72
72
|
serverName: string,
|
|
73
73
|
parameters: Server,
|
|
74
|
-
options?: ServersCreateOptionalParams
|
|
74
|
+
options?: ServersCreateOptionalParams,
|
|
75
75
|
): Promise<ServersCreateResponse>;
|
|
76
76
|
/**
|
|
77
77
|
* Updates an existing server. The request body can contain one to many of the properties present in
|
|
@@ -85,7 +85,7 @@ export interface Servers {
|
|
|
85
85
|
resourceGroupName: string,
|
|
86
86
|
serverName: string,
|
|
87
87
|
parameters: ServerForUpdate,
|
|
88
|
-
options?: ServersUpdateOptionalParams
|
|
88
|
+
options?: ServersUpdateOptionalParams,
|
|
89
89
|
): Promise<
|
|
90
90
|
SimplePollerLike<
|
|
91
91
|
OperationState<ServersUpdateResponse>,
|
|
@@ -104,7 +104,7 @@ export interface Servers {
|
|
|
104
104
|
resourceGroupName: string,
|
|
105
105
|
serverName: string,
|
|
106
106
|
parameters: ServerForUpdate,
|
|
107
|
-
options?: ServersUpdateOptionalParams
|
|
107
|
+
options?: ServersUpdateOptionalParams,
|
|
108
108
|
): Promise<ServersUpdateResponse>;
|
|
109
109
|
/**
|
|
110
110
|
* Deletes a server.
|
|
@@ -115,7 +115,7 @@ export interface Servers {
|
|
|
115
115
|
beginDelete(
|
|
116
116
|
resourceGroupName: string,
|
|
117
117
|
serverName: string,
|
|
118
|
-
options?: ServersDeleteOptionalParams
|
|
118
|
+
options?: ServersDeleteOptionalParams,
|
|
119
119
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
120
120
|
/**
|
|
121
121
|
* Deletes a server.
|
|
@@ -126,7 +126,7 @@ export interface Servers {
|
|
|
126
126
|
beginDeleteAndWait(
|
|
127
127
|
resourceGroupName: string,
|
|
128
128
|
serverName: string,
|
|
129
|
-
options?: ServersDeleteOptionalParams
|
|
129
|
+
options?: ServersDeleteOptionalParams,
|
|
130
130
|
): Promise<void>;
|
|
131
131
|
/**
|
|
132
132
|
* Gets information about a server.
|
|
@@ -137,7 +137,7 @@ export interface Servers {
|
|
|
137
137
|
get(
|
|
138
138
|
resourceGroupName: string,
|
|
139
139
|
serverName: string,
|
|
140
|
-
options?: ServersGetOptionalParams
|
|
140
|
+
options?: ServersGetOptionalParams,
|
|
141
141
|
): Promise<ServersGetResponse>;
|
|
142
142
|
/**
|
|
143
143
|
* Restarts a server.
|
|
@@ -148,7 +148,7 @@ export interface Servers {
|
|
|
148
148
|
beginRestart(
|
|
149
149
|
resourceGroupName: string,
|
|
150
150
|
serverName: string,
|
|
151
|
-
options?: ServersRestartOptionalParams
|
|
151
|
+
options?: ServersRestartOptionalParams,
|
|
152
152
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
153
153
|
/**
|
|
154
154
|
* Restarts a server.
|
|
@@ -159,7 +159,7 @@ export interface Servers {
|
|
|
159
159
|
beginRestartAndWait(
|
|
160
160
|
resourceGroupName: string,
|
|
161
161
|
serverName: string,
|
|
162
|
-
options?: ServersRestartOptionalParams
|
|
162
|
+
options?: ServersRestartOptionalParams,
|
|
163
163
|
): Promise<void>;
|
|
164
164
|
/**
|
|
165
165
|
* Starts a server.
|
|
@@ -170,7 +170,7 @@ export interface Servers {
|
|
|
170
170
|
beginStart(
|
|
171
171
|
resourceGroupName: string,
|
|
172
172
|
serverName: string,
|
|
173
|
-
options?: ServersStartOptionalParams
|
|
173
|
+
options?: ServersStartOptionalParams,
|
|
174
174
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
175
175
|
/**
|
|
176
176
|
* Starts a server.
|
|
@@ -181,7 +181,7 @@ export interface Servers {
|
|
|
181
181
|
beginStartAndWait(
|
|
182
182
|
resourceGroupName: string,
|
|
183
183
|
serverName: string,
|
|
184
|
-
options?: ServersStartOptionalParams
|
|
184
|
+
options?: ServersStartOptionalParams,
|
|
185
185
|
): Promise<void>;
|
|
186
186
|
/**
|
|
187
187
|
* Stops a server.
|
|
@@ -192,7 +192,7 @@ export interface Servers {
|
|
|
192
192
|
beginStop(
|
|
193
193
|
resourceGroupName: string,
|
|
194
194
|
serverName: string,
|
|
195
|
-
options?: ServersStopOptionalParams
|
|
195
|
+
options?: ServersStopOptionalParams,
|
|
196
196
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
197
197
|
/**
|
|
198
198
|
* Stops a server.
|
|
@@ -203,6 +203,6 @@ export interface Servers {
|
|
|
203
203
|
beginStopAndWait(
|
|
204
204
|
resourceGroupName: string,
|
|
205
205
|
serverName: string,
|
|
206
|
-
options?: ServersStopOptionalParams
|
|
206
|
+
options?: ServersStopOptionalParams,
|
|
207
207
|
): Promise<void>;
|
|
208
208
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
VirtualEndpointsDeleteOptionalParams,
|
|
20
20
|
VirtualEndpointsDeleteResponse,
|
|
21
21
|
VirtualEndpointsGetOptionalParams,
|
|
22
|
-
VirtualEndpointsGetResponse
|
|
22
|
+
VirtualEndpointsGetResponse,
|
|
23
23
|
} from "../models";
|
|
24
24
|
|
|
25
25
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -34,7 +34,7 @@ export interface VirtualEndpoints {
|
|
|
34
34
|
listByServer(
|
|
35
35
|
resourceGroupName: string,
|
|
36
36
|
serverName: string,
|
|
37
|
-
options?: VirtualEndpointsListByServerOptionalParams
|
|
37
|
+
options?: VirtualEndpointsListByServerOptionalParams,
|
|
38
38
|
): PagedAsyncIterableIterator<VirtualEndpointResource>;
|
|
39
39
|
/**
|
|
40
40
|
* Creates a new virtual endpoint for PostgreSQL flexible server.
|
|
@@ -49,7 +49,7 @@ export interface VirtualEndpoints {
|
|
|
49
49
|
serverName: string,
|
|
50
50
|
virtualEndpointName: string,
|
|
51
51
|
parameters: VirtualEndpointResource,
|
|
52
|
-
options?: VirtualEndpointsCreateOptionalParams
|
|
52
|
+
options?: VirtualEndpointsCreateOptionalParams,
|
|
53
53
|
): Promise<
|
|
54
54
|
SimplePollerLike<
|
|
55
55
|
OperationState<VirtualEndpointsCreateResponse>,
|
|
@@ -69,7 +69,7 @@ export interface VirtualEndpoints {
|
|
|
69
69
|
serverName: string,
|
|
70
70
|
virtualEndpointName: string,
|
|
71
71
|
parameters: VirtualEndpointResource,
|
|
72
|
-
options?: VirtualEndpointsCreateOptionalParams
|
|
72
|
+
options?: VirtualEndpointsCreateOptionalParams,
|
|
73
73
|
): Promise<VirtualEndpointsCreateResponse>;
|
|
74
74
|
/**
|
|
75
75
|
* Updates an existing virtual endpoint. The request body can contain one to many of the properties
|
|
@@ -85,7 +85,7 @@ export interface VirtualEndpoints {
|
|
|
85
85
|
serverName: string,
|
|
86
86
|
virtualEndpointName: string,
|
|
87
87
|
parameters: VirtualEndpointResourceForPatch,
|
|
88
|
-
options?: VirtualEndpointsUpdateOptionalParams
|
|
88
|
+
options?: VirtualEndpointsUpdateOptionalParams,
|
|
89
89
|
): Promise<
|
|
90
90
|
SimplePollerLike<
|
|
91
91
|
OperationState<VirtualEndpointsUpdateResponse>,
|
|
@@ -106,7 +106,7 @@ export interface VirtualEndpoints {
|
|
|
106
106
|
serverName: string,
|
|
107
107
|
virtualEndpointName: string,
|
|
108
108
|
parameters: VirtualEndpointResourceForPatch,
|
|
109
|
-
options?: VirtualEndpointsUpdateOptionalParams
|
|
109
|
+
options?: VirtualEndpointsUpdateOptionalParams,
|
|
110
110
|
): Promise<VirtualEndpointsUpdateResponse>;
|
|
111
111
|
/**
|
|
112
112
|
* Deletes a virtual endpoint.
|
|
@@ -119,7 +119,7 @@ export interface VirtualEndpoints {
|
|
|
119
119
|
resourceGroupName: string,
|
|
120
120
|
serverName: string,
|
|
121
121
|
virtualEndpointName: string,
|
|
122
|
-
options?: VirtualEndpointsDeleteOptionalParams
|
|
122
|
+
options?: VirtualEndpointsDeleteOptionalParams,
|
|
123
123
|
): Promise<
|
|
124
124
|
SimplePollerLike<
|
|
125
125
|
OperationState<VirtualEndpointsDeleteResponse>,
|
|
@@ -137,7 +137,7 @@ export interface VirtualEndpoints {
|
|
|
137
137
|
resourceGroupName: string,
|
|
138
138
|
serverName: string,
|
|
139
139
|
virtualEndpointName: string,
|
|
140
|
-
options?: VirtualEndpointsDeleteOptionalParams
|
|
140
|
+
options?: VirtualEndpointsDeleteOptionalParams,
|
|
141
141
|
): Promise<VirtualEndpointsDeleteResponse>;
|
|
142
142
|
/**
|
|
143
143
|
* Gets information about a virtual endpoint.
|
|
@@ -150,6 +150,6 @@ export interface VirtualEndpoints {
|
|
|
150
150
|
resourceGroupName: string,
|
|
151
151
|
serverName: string,
|
|
152
152
|
virtualEndpointName: string,
|
|
153
|
-
options?: VirtualEndpointsGetOptionalParams
|
|
153
|
+
options?: VirtualEndpointsGetOptionalParams,
|
|
154
154
|
): Promise<VirtualEndpointsGetResponse>;
|
|
155
155
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import {
|
|
10
10
|
VirtualNetworkSubnetUsageParameter,
|
|
11
11
|
VirtualNetworkSubnetUsageExecuteOptionalParams,
|
|
12
|
-
VirtualNetworkSubnetUsageExecuteResponse
|
|
12
|
+
VirtualNetworkSubnetUsageExecuteResponse,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/** Interface representing a VirtualNetworkSubnetUsage. */
|
|
@@ -23,6 +23,6 @@ export interface VirtualNetworkSubnetUsage {
|
|
|
23
23
|
execute(
|
|
24
24
|
locationName: string,
|
|
25
25
|
parameters: VirtualNetworkSubnetUsageParameter,
|
|
26
|
-
options?: VirtualNetworkSubnetUsageExecuteOptionalParams
|
|
26
|
+
options?: VirtualNetworkSubnetUsageExecuteOptionalParams,
|
|
27
27
|
): Promise<VirtualNetworkSubnetUsageExecuteResponse>;
|
|
28
28
|
}
|
package/src/pagingHelper.ts
CHANGED
|
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
|
|
|
28
28
|
|
|
29
29
|
export function setContinuationToken(
|
|
30
30
|
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
31
|
+
continuationToken: string | undefined,
|
|
32
32
|
): void {
|
|
33
33
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
34
|
return;
|
|
@@ -11,7 +11,7 @@ import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
|
11
11
|
import {
|
|
12
12
|
PipelineRequest,
|
|
13
13
|
PipelineResponse,
|
|
14
|
-
SendRequest
|
|
14
|
+
SendRequest,
|
|
15
15
|
} from "@azure/core-rest-pipeline";
|
|
16
16
|
import * as coreAuth from "@azure/core-auth";
|
|
17
17
|
import {
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
LogFilesImpl,
|
|
39
39
|
ServerThreatProtectionSettingsImpl,
|
|
40
40
|
VirtualEndpointsImpl,
|
|
41
|
-
VirtualNetworkSubnetUsageImpl
|
|
41
|
+
VirtualNetworkSubnetUsageImpl,
|
|
42
42
|
} from "./operations";
|
|
43
43
|
import {
|
|
44
44
|
Administrators,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
LogFiles,
|
|
65
65
|
ServerThreatProtectionSettings,
|
|
66
66
|
VirtualEndpoints,
|
|
67
|
-
VirtualNetworkSubnetUsage
|
|
67
|
+
VirtualNetworkSubnetUsage,
|
|
68
68
|
} from "./operationsInterfaces";
|
|
69
69
|
import * as Parameters from "./models/parameters";
|
|
70
70
|
import * as Mappers from "./models/mappers";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
PostgreSQLManagementFlexibleServerClientOptionalParams,
|
|
73
73
|
MigrationNameAvailabilityResource,
|
|
74
74
|
CheckMigrationNameAvailabilityOptionalParams,
|
|
75
|
-
CheckMigrationNameAvailabilityResponse
|
|
75
|
+
CheckMigrationNameAvailabilityResponse,
|
|
76
76
|
} from "./models";
|
|
77
77
|
|
|
78
78
|
export class PostgreSQLManagementFlexibleServerClient extends coreClient.ServiceClient {
|
|
@@ -89,18 +89,18 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
89
89
|
constructor(
|
|
90
90
|
credentials: coreAuth.TokenCredential,
|
|
91
91
|
subscriptionId: string,
|
|
92
|
-
options?: PostgreSQLManagementFlexibleServerClientOptionalParams
|
|
92
|
+
options?: PostgreSQLManagementFlexibleServerClientOptionalParams,
|
|
93
93
|
);
|
|
94
94
|
constructor(
|
|
95
95
|
credentials: coreAuth.TokenCredential,
|
|
96
|
-
options?: PostgreSQLManagementFlexibleServerClientOptionalParams
|
|
96
|
+
options?: PostgreSQLManagementFlexibleServerClientOptionalParams,
|
|
97
97
|
);
|
|
98
98
|
constructor(
|
|
99
99
|
credentials: coreAuth.TokenCredential,
|
|
100
100
|
subscriptionIdOrOptions?:
|
|
101
101
|
| PostgreSQLManagementFlexibleServerClientOptionalParams
|
|
102
102
|
| string,
|
|
103
|
-
options?: PostgreSQLManagementFlexibleServerClientOptionalParams
|
|
103
|
+
options?: PostgreSQLManagementFlexibleServerClientOptionalParams,
|
|
104
104
|
) {
|
|
105
105
|
if (credentials === undefined) {
|
|
106
106
|
throw new Error("'credentials' cannot be null");
|
|
@@ -120,10 +120,10 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
120
120
|
}
|
|
121
121
|
const defaults: PostgreSQLManagementFlexibleServerClientOptionalParams = {
|
|
122
122
|
requestContentType: "application/json; charset=utf-8",
|
|
123
|
-
credential: credentials
|
|
123
|
+
credential: credentials,
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.
|
|
126
|
+
const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.6`;
|
|
127
127
|
const userAgentPrefix =
|
|
128
128
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
129
129
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -133,20 +133,21 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
133
133
|
...defaults,
|
|
134
134
|
...options,
|
|
135
135
|
userAgentOptions: {
|
|
136
|
-
userAgentPrefix
|
|
136
|
+
userAgentPrefix,
|
|
137
137
|
},
|
|
138
138
|
endpoint:
|
|
139
|
-
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
139
|
+
options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
140
140
|
};
|
|
141
141
|
super(optionsWithDefaults);
|
|
142
142
|
|
|
143
143
|
let bearerTokenAuthenticationPolicyFound: boolean = false;
|
|
144
144
|
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
145
|
-
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
|
|
145
|
+
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
|
|
146
|
+
options.pipeline.getOrderedPolicies();
|
|
146
147
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
147
148
|
(pipelinePolicy) =>
|
|
148
149
|
pipelinePolicy.name ===
|
|
149
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
150
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
150
151
|
);
|
|
151
152
|
}
|
|
152
153
|
if (
|
|
@@ -156,7 +157,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
156
157
|
!bearerTokenAuthenticationPolicyFound
|
|
157
158
|
) {
|
|
158
159
|
this.pipeline.removePolicy({
|
|
159
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
160
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
160
161
|
});
|
|
161
162
|
this.pipeline.addPolicy(
|
|
162
163
|
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
@@ -166,9 +167,9 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
166
167
|
`${optionsWithDefaults.endpoint}/.default`,
|
|
167
168
|
challengeCallbacks: {
|
|
168
169
|
authorizeRequestOnChallenge:
|
|
169
|
-
coreClient.authorizeRequestOnClaimChallenge
|
|
170
|
-
}
|
|
171
|
-
})
|
|
170
|
+
coreClient.authorizeRequestOnClaimChallenge,
|
|
171
|
+
},
|
|
172
|
+
}),
|
|
172
173
|
);
|
|
173
174
|
}
|
|
174
175
|
// Parameter assignments
|
|
@@ -176,15 +177,14 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
176
177
|
|
|
177
178
|
// Assigning values to Constant parameters
|
|
178
179
|
this.$host = options.$host || "https://management.azure.com";
|
|
179
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
180
|
+
this.apiVersion = options.apiVersion || "2023-12-01-preview";
|
|
180
181
|
this.administrators = new AdministratorsImpl(this);
|
|
181
182
|
this.backups = new BackupsImpl(this);
|
|
182
183
|
this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);
|
|
183
184
|
this.serverCapabilities = new ServerCapabilitiesImpl(this);
|
|
184
185
|
this.checkNameAvailability = new CheckNameAvailabilityImpl(this);
|
|
185
|
-
this.checkNameAvailabilityWithLocation =
|
|
186
|
-
this
|
|
187
|
-
);
|
|
186
|
+
this.checkNameAvailabilityWithLocation =
|
|
187
|
+
new CheckNameAvailabilityWithLocationImpl(this);
|
|
188
188
|
this.configurations = new ConfigurationsImpl(this);
|
|
189
189
|
this.databases = new DatabasesImpl(this);
|
|
190
190
|
this.firewallRules = new FirewallRulesImpl(this);
|
|
@@ -195,16 +195,14 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
195
195
|
this.operations = new OperationsImpl(this);
|
|
196
196
|
this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);
|
|
197
197
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
198
|
-
this.privateEndpointConnectionOperations =
|
|
199
|
-
this
|
|
200
|
-
);
|
|
198
|
+
this.privateEndpointConnectionOperations =
|
|
199
|
+
new PrivateEndpointConnectionOperationsImpl(this);
|
|
201
200
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
202
201
|
this.quotaUsages = new QuotaUsagesImpl(this);
|
|
203
202
|
this.replicas = new ReplicasImpl(this);
|
|
204
203
|
this.logFiles = new LogFilesImpl(this);
|
|
205
|
-
this.serverThreatProtectionSettings =
|
|
206
|
-
this
|
|
207
|
-
);
|
|
204
|
+
this.serverThreatProtectionSettings =
|
|
205
|
+
new ServerThreatProtectionSettingsImpl(this);
|
|
208
206
|
this.virtualEndpoints = new VirtualEndpointsImpl(this);
|
|
209
207
|
this.virtualNetworkSubnetUsage = new VirtualNetworkSubnetUsageImpl(this);
|
|
210
208
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
@@ -219,7 +217,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
219
217
|
name: "CustomApiVersionPolicy",
|
|
220
218
|
async sendRequest(
|
|
221
219
|
request: PipelineRequest,
|
|
222
|
-
next: SendRequest
|
|
220
|
+
next: SendRequest,
|
|
223
221
|
): Promise<PipelineResponse> {
|
|
224
222
|
const param = request.url.split("?");
|
|
225
223
|
if (param.length > 1) {
|
|
@@ -233,7 +231,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
233
231
|
request.url = param[0] + "?" + newParams.join("&");
|
|
234
232
|
}
|
|
235
233
|
return next(request);
|
|
236
|
-
}
|
|
234
|
+
},
|
|
237
235
|
};
|
|
238
236
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
239
237
|
}
|
|
@@ -251,7 +249,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
251
249
|
resourceGroupName: string,
|
|
252
250
|
targetDbServerName: string,
|
|
253
251
|
parameters: MigrationNameAvailabilityResource,
|
|
254
|
-
options?: CheckMigrationNameAvailabilityOptionalParams
|
|
252
|
+
options?: CheckMigrationNameAvailabilityOptionalParams,
|
|
255
253
|
): Promise<CheckMigrationNameAvailabilityResponse> {
|
|
256
254
|
return this.sendOperationRequest(
|
|
257
255
|
{
|
|
@@ -259,9 +257,9 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
259
257
|
resourceGroupName,
|
|
260
258
|
targetDbServerName,
|
|
261
259
|
parameters,
|
|
262
|
-
options
|
|
260
|
+
options,
|
|
263
261
|
},
|
|
264
|
-
checkMigrationNameAvailabilityOperationSpec
|
|
262
|
+
checkMigrationNameAvailabilityOperationSpec,
|
|
265
263
|
);
|
|
266
264
|
}
|
|
267
265
|
|
|
@@ -294,16 +292,15 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
294
292
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
295
293
|
|
|
296
294
|
const checkMigrationNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
297
|
-
path:
|
|
298
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/checkMigrationNameAvailability",
|
|
295
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/checkMigrationNameAvailability",
|
|
299
296
|
httpMethod: "POST",
|
|
300
297
|
responses: {
|
|
301
298
|
200: {
|
|
302
|
-
bodyMapper: Mappers.MigrationNameAvailabilityResource
|
|
299
|
+
bodyMapper: Mappers.MigrationNameAvailabilityResource,
|
|
303
300
|
},
|
|
304
301
|
default: {
|
|
305
|
-
bodyMapper: Mappers.ErrorResponse
|
|
306
|
-
}
|
|
302
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
303
|
+
},
|
|
307
304
|
},
|
|
308
305
|
requestBody: Parameters.parameters12,
|
|
309
306
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -311,9 +308,9 @@ const checkMigrationNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
|
311
308
|
Parameters.$host,
|
|
312
309
|
Parameters.subscriptionId1,
|
|
313
310
|
Parameters.resourceGroupName1,
|
|
314
|
-
Parameters.targetDbServerName
|
|
311
|
+
Parameters.targetDbServerName,
|
|
315
312
|
],
|
|
316
313
|
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
317
314
|
mediaType: "json",
|
|
318
|
-
serializer
|
|
315
|
+
serializer,
|
|
319
316
|
};
|
|
@@ -1556,6 +1556,14 @@ export declare enum KnownLogicalReplicationOnSourceDbEnum {
|
|
|
1556
1556
|
False = "False"
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
+
/** Known values of {@link MigrateRolesEnum} that the service accepts. */
|
|
1560
|
+
export declare enum KnownMigrateRolesEnum {
|
|
1561
|
+
/** True */
|
|
1562
|
+
True = "True",
|
|
1563
|
+
/** False */
|
|
1564
|
+
False = "False"
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1559
1567
|
/** Known values of {@link MigrationDbState} that the service accepts. */
|
|
1560
1568
|
export declare enum KnownMigrationDbState {
|
|
1561
1569
|
/** InProgress */
|
|
@@ -1867,7 +1875,21 @@ export declare enum KnownSourceType {
|
|
|
1867
1875
|
/** AzureVM */
|
|
1868
1876
|
AzureVM = "AzureVM",
|
|
1869
1877
|
/** PostgreSQLSingleServer */
|
|
1870
|
-
PostgreSQLSingleServer = "PostgreSQLSingleServer"
|
|
1878
|
+
PostgreSQLSingleServer = "PostgreSQLSingleServer",
|
|
1879
|
+
/** AWSRDS */
|
|
1880
|
+
AWSRDS = "AWS_RDS",
|
|
1881
|
+
/** AWSAurora */
|
|
1882
|
+
AWSAurora = "AWS_AURORA",
|
|
1883
|
+
/** AWSEC2 */
|
|
1884
|
+
AWSEC2 = "AWS_EC2",
|
|
1885
|
+
/** GCPCloudSQL */
|
|
1886
|
+
GCPCloudSQL = "GCP_CloudSQL",
|
|
1887
|
+
/** GCPAlloyDB */
|
|
1888
|
+
GCPAlloyDB = "GCP_AlloyDB",
|
|
1889
|
+
/** GCPCompute */
|
|
1890
|
+
GCPCompute = "GCP_Compute",
|
|
1891
|
+
/** EDB */
|
|
1892
|
+
EDB = "EDB"
|
|
1871
1893
|
}
|
|
1872
1894
|
|
|
1873
1895
|
/** Known values of {@link SslMode} that the service accepts. */
|
|
@@ -2177,6 +2199,16 @@ export declare interface MaintenanceWindow {
|
|
|
2177
2199
|
dayOfWeek?: number;
|
|
2178
2200
|
}
|
|
2179
2201
|
|
|
2202
|
+
/**
|
|
2203
|
+
* Defines values for MigrateRolesEnum. \
|
|
2204
|
+
* {@link KnownMigrateRolesEnum} can be used interchangeably with MigrateRolesEnum,
|
|
2205
|
+
* this enum contains the known values that the service supports.
|
|
2206
|
+
* ### Known values supported by the service
|
|
2207
|
+
* **True** \
|
|
2208
|
+
* **False**
|
|
2209
|
+
*/
|
|
2210
|
+
export declare type MigrateRolesEnum = string;
|
|
2211
|
+
|
|
2180
2212
|
/**
|
|
2181
2213
|
* Defines values for MigrationDbState. \
|
|
2182
2214
|
* {@link KnownMigrationDbState} can be used interchangeably with MigrationDbState,
|
|
@@ -2278,11 +2310,13 @@ export declare interface MigrationResource extends TrackedResource {
|
|
|
2278
2310
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2279
2311
|
*/
|
|
2280
2312
|
readonly currentStatus?: MigrationStatus;
|
|
2313
|
+
/** ResourceId of the private endpoint migration instance */
|
|
2314
|
+
migrationInstanceResourceId?: string;
|
|
2281
2315
|
/** There are two types of migration modes Online and Offline */
|
|
2282
2316
|
migrationMode?: MigrationMode;
|
|
2283
2317
|
/** This indicates the supported Migration option for the migration */
|
|
2284
2318
|
migrationOption?: MigrationOption;
|
|
2285
|
-
/** migration source server type : OnPremises, AWS, GCP, AzureVM or
|
|
2319
|
+
/** migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB */
|
|
2286
2320
|
sourceType?: SourceType;
|
|
2287
2321
|
/** SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types */
|
|
2288
2322
|
sslMode?: SslMode;
|
|
@@ -2319,6 +2353,8 @@ export declare interface MigrationResource extends TrackedResource {
|
|
|
2319
2353
|
migrationWindowStartTimeInUtc?: Date;
|
|
2320
2354
|
/** End time in UTC for migration window */
|
|
2321
2355
|
migrationWindowEndTimeInUtc?: Date;
|
|
2356
|
+
/** To migrate roles and permissions we need to send this flag as True */
|
|
2357
|
+
migrateRoles?: MigrateRolesEnum;
|
|
2322
2358
|
/** Indicates whether the data migration should start right away */
|
|
2323
2359
|
startDataMigration?: StartDataMigrationEnum;
|
|
2324
2360
|
/** To trigger cutover for entire migration we need to send this flag as True */
|
|
@@ -2353,6 +2389,8 @@ export declare interface MigrationResourceForPatch {
|
|
|
2353
2389
|
overwriteDbsInTarget?: OverwriteDbsInTargetEnum;
|
|
2354
2390
|
/** Start time in UTC for migration window */
|
|
2355
2391
|
migrationWindowStartTimeInUtc?: Date;
|
|
2392
|
+
/** To migrate roles and permissions we need to send this flag as True */
|
|
2393
|
+
migrateRoles?: MigrateRolesEnum;
|
|
2356
2394
|
/** Indicates whether the data migration should start right away */
|
|
2357
2395
|
startDataMigration?: StartDataMigrationEnum;
|
|
2358
2396
|
/** To trigger cutover for entire migration we need to send this flag as True */
|
|
@@ -3847,7 +3885,14 @@ export declare type SkuTier = string;
|
|
|
3847
3885
|
* **AWS** \
|
|
3848
3886
|
* **GCP** \
|
|
3849
3887
|
* **AzureVM** \
|
|
3850
|
-
* **PostgreSQLSingleServer**
|
|
3888
|
+
* **PostgreSQLSingleServer** \
|
|
3889
|
+
* **AWS_RDS** \
|
|
3890
|
+
* **AWS_AURORA** \
|
|
3891
|
+
* **AWS_EC2** \
|
|
3892
|
+
* **GCP_CloudSQL** \
|
|
3893
|
+
* **GCP_AlloyDB** \
|
|
3894
|
+
* **GCP_Compute** \
|
|
3895
|
+
* **EDB**
|
|
3851
3896
|
*/
|
|
3852
3897
|
export declare type SourceType = string;
|
|
3853
3898
|
|