@azure/arm-postgresql-flexible 8.0.0-beta.3 → 8.0.0-beta.5
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 +501 -0
- package/dist/index.js +6142 -3689
- 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 +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 +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 +70 -2
- 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 +77 -1
- package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +4 -9
- package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
- package/dist-esm/samples-dev/migrationsUpdateSample.js +2 -2
- 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 +7 -7
- 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 +93 -5
- 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 +825 -118
- 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 +33 -7
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1108 -282
- 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 +10 -4
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +12 -6
- package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/package.json +9 -7
- package/review/arm-postgresql-flexible.api.md +554 -4
- package/src/models/index.ts +938 -134
- package/src/models/mappers.ts +1252 -373
- 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 +42 -14
- package/types/arm-postgresql-flexible.d.ts +1027 -25
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
|
+
import {
|
|
11
|
+
PrivateEndpointConnection,
|
|
12
|
+
PrivateEndpointConnectionUpdateOptionalParams,
|
|
13
|
+
PrivateEndpointConnectionUpdateResponse,
|
|
14
|
+
PrivateEndpointConnectionDeleteOptionalParams,
|
|
15
|
+
PrivateEndpointConnectionDeleteResponse
|
|
16
|
+
} from "../models";
|
|
17
|
+
|
|
18
|
+
/** Interface representing a PrivateEndpointConnectionOperations. */
|
|
19
|
+
export interface PrivateEndpointConnectionOperations {
|
|
20
|
+
/**
|
|
21
|
+
* Approve or reject a private endpoint connection with a given name.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param serverName The name of the server.
|
|
24
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
25
|
+
* @param parameters The required parameters for updating private endpoint connection.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
beginUpdate(
|
|
29
|
+
resourceGroupName: string,
|
|
30
|
+
serverName: string,
|
|
31
|
+
privateEndpointConnectionName: string,
|
|
32
|
+
parameters: PrivateEndpointConnection,
|
|
33
|
+
options?: PrivateEndpointConnectionUpdateOptionalParams
|
|
34
|
+
): Promise<
|
|
35
|
+
SimplePollerLike<
|
|
36
|
+
OperationState<PrivateEndpointConnectionUpdateResponse>,
|
|
37
|
+
PrivateEndpointConnectionUpdateResponse
|
|
38
|
+
>
|
|
39
|
+
>;
|
|
40
|
+
/**
|
|
41
|
+
* Approve or reject a private endpoint connection with a given name.
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param serverName The name of the server.
|
|
44
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
45
|
+
* @param parameters The required parameters for updating private endpoint connection.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginUpdateAndWait(
|
|
49
|
+
resourceGroupName: string,
|
|
50
|
+
serverName: string,
|
|
51
|
+
privateEndpointConnectionName: string,
|
|
52
|
+
parameters: PrivateEndpointConnection,
|
|
53
|
+
options?: PrivateEndpointConnectionUpdateOptionalParams
|
|
54
|
+
): Promise<PrivateEndpointConnectionUpdateResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Deletes a private endpoint connection with a given name.
|
|
57
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
|
+
* @param serverName The name of the server.
|
|
59
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginDelete(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
serverName: string,
|
|
65
|
+
privateEndpointConnectionName: string,
|
|
66
|
+
options?: PrivateEndpointConnectionDeleteOptionalParams
|
|
67
|
+
): Promise<
|
|
68
|
+
SimplePollerLike<
|
|
69
|
+
OperationState<PrivateEndpointConnectionDeleteResponse>,
|
|
70
|
+
PrivateEndpointConnectionDeleteResponse
|
|
71
|
+
>
|
|
72
|
+
>;
|
|
73
|
+
/**
|
|
74
|
+
* Deletes a private endpoint connection with a given name.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param serverName The name of the server.
|
|
77
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
beginDeleteAndWait(
|
|
81
|
+
resourceGroupName: string,
|
|
82
|
+
serverName: string,
|
|
83
|
+
privateEndpointConnectionName: string,
|
|
84
|
+
options?: PrivateEndpointConnectionDeleteOptionalParams
|
|
85
|
+
): Promise<PrivateEndpointConnectionDeleteResponse>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PrivateEndpointConnection,
|
|
12
|
+
PrivateEndpointConnectionsListByServerOptionalParams,
|
|
13
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
|
14
|
+
PrivateEndpointConnectionsGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
19
|
+
export interface PrivateEndpointConnections {
|
|
20
|
+
/**
|
|
21
|
+
* Gets all private endpoint connections on a server.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param serverName The name of the server.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByServer(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
serverName: string,
|
|
29
|
+
options?: PrivateEndpointConnectionsListByServerOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets a private endpoint connection.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param serverName The name of the server.
|
|
35
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
serverName: string,
|
|
41
|
+
privateEndpointConnectionName: string,
|
|
42
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
43
|
+
): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PrivateLinkResource,
|
|
12
|
+
PrivateLinkResourcesListByServerOptionalParams,
|
|
13
|
+
PrivateLinkResourcesGetOptionalParams,
|
|
14
|
+
PrivateLinkResourcesGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a PrivateLinkResources. */
|
|
19
|
+
export interface PrivateLinkResources {
|
|
20
|
+
/**
|
|
21
|
+
* Gets the private link resources for PostgreSQL server.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param serverName The name of the server.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByServer(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
serverName: string,
|
|
29
|
+
options?: PrivateLinkResourcesListByServerOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets a private link resource for PostgreSQL server.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param serverName The name of the server.
|
|
35
|
+
* @param groupName The name of the private link resource.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
serverName: string,
|
|
41
|
+
groupName: string,
|
|
42
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
|
43
|
+
): Promise<PrivateLinkResourcesGetResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { QuotaUsage, QuotaUsagesListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a QuotaUsages. */
|
|
14
|
+
export interface QuotaUsages {
|
|
15
|
+
/**
|
|
16
|
+
* Get quota usages at specified location in a given subscription.
|
|
17
|
+
* @param locationName The name of the location.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(
|
|
21
|
+
locationName: string,
|
|
22
|
+
options?: QuotaUsagesListOptionalParams
|
|
23
|
+
): PagedAsyncIterableIterator<QuotaUsage>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
ServerThreatProtectionSettingsModel,
|
|
13
|
+
ServerThreatProtectionSettingsListByServerOptionalParams,
|
|
14
|
+
ThreatProtectionName,
|
|
15
|
+
ServerThreatProtectionSettingsGetOptionalParams,
|
|
16
|
+
ServerThreatProtectionSettingsGetResponse,
|
|
17
|
+
ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,
|
|
18
|
+
ServerThreatProtectionSettingsCreateOrUpdateResponse
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a ServerThreatProtectionSettings. */
|
|
23
|
+
export interface ServerThreatProtectionSettings {
|
|
24
|
+
/**
|
|
25
|
+
* Get a list of server's Threat Protection state.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param serverName The name of the server.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByServer(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
serverName: string,
|
|
33
|
+
options?: ServerThreatProtectionSettingsListByServerOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel>;
|
|
35
|
+
/**
|
|
36
|
+
* Get a server's Advanced Threat Protection settings.
|
|
37
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
38
|
+
* @param serverName The name of the server.
|
|
39
|
+
* @param threatProtectionName The name of the Threat Protection state.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
serverName: string,
|
|
45
|
+
threatProtectionName: ThreatProtectionName,
|
|
46
|
+
options?: ServerThreatProtectionSettingsGetOptionalParams
|
|
47
|
+
): Promise<ServerThreatProtectionSettingsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Creates or updates a server's Advanced Threat Protection settings.
|
|
50
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
+
* @param serverName The name of the server.
|
|
52
|
+
* @param threatProtectionName The name of the Threat Protection state.
|
|
53
|
+
* @param parameters The Advanced Threat Protection state for the flexible server.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginCreateOrUpdate(
|
|
57
|
+
resourceGroupName: string,
|
|
58
|
+
serverName: string,
|
|
59
|
+
threatProtectionName: ThreatProtectionName,
|
|
60
|
+
parameters: ServerThreatProtectionSettingsModel,
|
|
61
|
+
options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams
|
|
62
|
+
): Promise<
|
|
63
|
+
SimplePollerLike<
|
|
64
|
+
OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>,
|
|
65
|
+
ServerThreatProtectionSettingsCreateOrUpdateResponse
|
|
66
|
+
>
|
|
67
|
+
>;
|
|
68
|
+
/**
|
|
69
|
+
* Creates or updates a server's Advanced Threat Protection settings.
|
|
70
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
+
* @param serverName The name of the server.
|
|
72
|
+
* @param threatProtectionName The name of the Threat Protection state.
|
|
73
|
+
* @param parameters The Advanced Threat Protection state for the flexible server.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginCreateOrUpdateAndWait(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
serverName: string,
|
|
79
|
+
threatProtectionName: ThreatProtectionName,
|
|
80
|
+
parameters: ServerThreatProtectionSettingsModel,
|
|
81
|
+
options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams
|
|
82
|
+
): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
VirtualEndpointResource,
|
|
13
|
+
VirtualEndpointsListByServerOptionalParams,
|
|
14
|
+
VirtualEndpointsCreateOptionalParams,
|
|
15
|
+
VirtualEndpointsCreateResponse,
|
|
16
|
+
VirtualEndpointResourceForPatch,
|
|
17
|
+
VirtualEndpointsUpdateOptionalParams,
|
|
18
|
+
VirtualEndpointsUpdateResponse,
|
|
19
|
+
VirtualEndpointsDeleteOptionalParams,
|
|
20
|
+
VirtualEndpointsDeleteResponse,
|
|
21
|
+
VirtualEndpointsGetOptionalParams,
|
|
22
|
+
VirtualEndpointsGetResponse
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Interface representing a VirtualEndpoints. */
|
|
27
|
+
export interface VirtualEndpoints {
|
|
28
|
+
/**
|
|
29
|
+
* List all the servers in a given resource group.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param serverName The name of the server.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
listByServer(
|
|
35
|
+
resourceGroupName: string,
|
|
36
|
+
serverName: string,
|
|
37
|
+
options?: VirtualEndpointsListByServerOptionalParams
|
|
38
|
+
): PagedAsyncIterableIterator<VirtualEndpointResource>;
|
|
39
|
+
/**
|
|
40
|
+
* Creates a new virtual endpoint for PostgreSQL flexible server.
|
|
41
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
42
|
+
* @param serverName The name of the server.
|
|
43
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
44
|
+
* @param parameters The required parameters for creating or updating virtual endpoints.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
beginCreate(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
serverName: string,
|
|
50
|
+
virtualEndpointName: string,
|
|
51
|
+
parameters: VirtualEndpointResource,
|
|
52
|
+
options?: VirtualEndpointsCreateOptionalParams
|
|
53
|
+
): Promise<
|
|
54
|
+
SimplePollerLike<
|
|
55
|
+
OperationState<VirtualEndpointsCreateResponse>,
|
|
56
|
+
VirtualEndpointsCreateResponse
|
|
57
|
+
>
|
|
58
|
+
>;
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new virtual endpoint for PostgreSQL flexible server.
|
|
61
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
+
* @param serverName The name of the server.
|
|
63
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
64
|
+
* @param parameters The required parameters for creating or updating virtual endpoints.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
beginCreateAndWait(
|
|
68
|
+
resourceGroupName: string,
|
|
69
|
+
serverName: string,
|
|
70
|
+
virtualEndpointName: string,
|
|
71
|
+
parameters: VirtualEndpointResource,
|
|
72
|
+
options?: VirtualEndpointsCreateOptionalParams
|
|
73
|
+
): Promise<VirtualEndpointsCreateResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Updates an existing virtual endpoint. The request body can contain one to many of the properties
|
|
76
|
+
* present in the normal virtual endpoint definition.
|
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param serverName The name of the server.
|
|
79
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
80
|
+
* @param parameters The required parameters for updating a server.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
beginUpdate(
|
|
84
|
+
resourceGroupName: string,
|
|
85
|
+
serverName: string,
|
|
86
|
+
virtualEndpointName: string,
|
|
87
|
+
parameters: VirtualEndpointResourceForPatch,
|
|
88
|
+
options?: VirtualEndpointsUpdateOptionalParams
|
|
89
|
+
): Promise<
|
|
90
|
+
SimplePollerLike<
|
|
91
|
+
OperationState<VirtualEndpointsUpdateResponse>,
|
|
92
|
+
VirtualEndpointsUpdateResponse
|
|
93
|
+
>
|
|
94
|
+
>;
|
|
95
|
+
/**
|
|
96
|
+
* Updates an existing virtual endpoint. The request body can contain one to many of the properties
|
|
97
|
+
* present in the normal virtual endpoint definition.
|
|
98
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
+
* @param serverName The name of the server.
|
|
100
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
101
|
+
* @param parameters The required parameters for updating a server.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
beginUpdateAndWait(
|
|
105
|
+
resourceGroupName: string,
|
|
106
|
+
serverName: string,
|
|
107
|
+
virtualEndpointName: string,
|
|
108
|
+
parameters: VirtualEndpointResourceForPatch,
|
|
109
|
+
options?: VirtualEndpointsUpdateOptionalParams
|
|
110
|
+
): Promise<VirtualEndpointsUpdateResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* Deletes a virtual endpoint.
|
|
113
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
+
* @param serverName The name of the server.
|
|
115
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
beginDelete(
|
|
119
|
+
resourceGroupName: string,
|
|
120
|
+
serverName: string,
|
|
121
|
+
virtualEndpointName: string,
|
|
122
|
+
options?: VirtualEndpointsDeleteOptionalParams
|
|
123
|
+
): Promise<
|
|
124
|
+
SimplePollerLike<
|
|
125
|
+
OperationState<VirtualEndpointsDeleteResponse>,
|
|
126
|
+
VirtualEndpointsDeleteResponse
|
|
127
|
+
>
|
|
128
|
+
>;
|
|
129
|
+
/**
|
|
130
|
+
* Deletes a virtual endpoint.
|
|
131
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
132
|
+
* @param serverName The name of the server.
|
|
133
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
134
|
+
* @param options The options parameters.
|
|
135
|
+
*/
|
|
136
|
+
beginDeleteAndWait(
|
|
137
|
+
resourceGroupName: string,
|
|
138
|
+
serverName: string,
|
|
139
|
+
virtualEndpointName: string,
|
|
140
|
+
options?: VirtualEndpointsDeleteOptionalParams
|
|
141
|
+
): Promise<VirtualEndpointsDeleteResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Gets information about a virtual endpoint.
|
|
144
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
145
|
+
* @param serverName The name of the server.
|
|
146
|
+
* @param virtualEndpointName The name of the virtual endpoint.
|
|
147
|
+
* @param options The options parameters.
|
|
148
|
+
*/
|
|
149
|
+
get(
|
|
150
|
+
resourceGroupName: string,
|
|
151
|
+
serverName: string,
|
|
152
|
+
virtualEndpointName: string,
|
|
153
|
+
options?: VirtualEndpointsGetOptionalParams
|
|
154
|
+
): Promise<VirtualEndpointsGetResponse>;
|
|
155
|
+
}
|
|
@@ -25,14 +25,20 @@ import {
|
|
|
25
25
|
DatabasesImpl,
|
|
26
26
|
FirewallRulesImpl,
|
|
27
27
|
ServersImpl,
|
|
28
|
+
FlexibleServerImpl,
|
|
29
|
+
LtrBackupOperationsImpl,
|
|
28
30
|
MigrationsImpl,
|
|
29
31
|
OperationsImpl,
|
|
30
32
|
GetPrivateDnsZoneSuffixImpl,
|
|
33
|
+
PrivateEndpointConnectionsImpl,
|
|
34
|
+
PrivateEndpointConnectionOperationsImpl,
|
|
35
|
+
PrivateLinkResourcesImpl,
|
|
36
|
+
QuotaUsagesImpl,
|
|
31
37
|
ReplicasImpl,
|
|
32
38
|
LogFilesImpl,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
ServerThreatProtectionSettingsImpl,
|
|
40
|
+
VirtualEndpointsImpl,
|
|
41
|
+
VirtualNetworkSubnetUsageImpl
|
|
36
42
|
} from "./operations";
|
|
37
43
|
import {
|
|
38
44
|
Administrators,
|
|
@@ -45,14 +51,20 @@ import {
|
|
|
45
51
|
Databases,
|
|
46
52
|
FirewallRules,
|
|
47
53
|
Servers,
|
|
54
|
+
FlexibleServer,
|
|
55
|
+
LtrBackupOperations,
|
|
48
56
|
Migrations,
|
|
49
57
|
Operations,
|
|
50
58
|
GetPrivateDnsZoneSuffix,
|
|
59
|
+
PrivateEndpointConnections,
|
|
60
|
+
PrivateEndpointConnectionOperations,
|
|
61
|
+
PrivateLinkResources,
|
|
62
|
+
QuotaUsages,
|
|
51
63
|
Replicas,
|
|
52
64
|
LogFiles,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
65
|
+
ServerThreatProtectionSettings,
|
|
66
|
+
VirtualEndpoints,
|
|
67
|
+
VirtualNetworkSubnetUsage
|
|
56
68
|
} from "./operationsInterfaces";
|
|
57
69
|
import * as Parameters from "./models/parameters";
|
|
58
70
|
import * as Mappers from "./models/mappers";
|
|
@@ -71,7 +83,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
71
83
|
/**
|
|
72
84
|
* Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
|
|
73
85
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
74
|
-
* @param subscriptionId The ID of the target subscription.
|
|
86
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
75
87
|
* @param options The parameter options
|
|
76
88
|
*/
|
|
77
89
|
constructor(
|
|
@@ -111,7 +123,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
111
123
|
credential: credentials
|
|
112
124
|
};
|
|
113
125
|
|
|
114
|
-
const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.
|
|
126
|
+
const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.5`;
|
|
115
127
|
const userAgentPrefix =
|
|
116
128
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
117
129
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -164,7 +176,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
164
176
|
|
|
165
177
|
// Assigning values to Constant parameters
|
|
166
178
|
this.$host = options.$host || "https://management.azure.com";
|
|
167
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
179
|
+
this.apiVersion = options.apiVersion || "2023-06-01-preview";
|
|
168
180
|
this.administrators = new AdministratorsImpl(this);
|
|
169
181
|
this.backups = new BackupsImpl(this);
|
|
170
182
|
this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);
|
|
@@ -177,14 +189,24 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
177
189
|
this.databases = new DatabasesImpl(this);
|
|
178
190
|
this.firewallRules = new FirewallRulesImpl(this);
|
|
179
191
|
this.servers = new ServersImpl(this);
|
|
192
|
+
this.flexibleServer = new FlexibleServerImpl(this);
|
|
193
|
+
this.ltrBackupOperations = new LtrBackupOperationsImpl(this);
|
|
180
194
|
this.migrations = new MigrationsImpl(this);
|
|
181
195
|
this.operations = new OperationsImpl(this);
|
|
182
196
|
this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);
|
|
197
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
198
|
+
this.privateEndpointConnectionOperations = new PrivateEndpointConnectionOperationsImpl(
|
|
199
|
+
this
|
|
200
|
+
);
|
|
201
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
202
|
+
this.quotaUsages = new QuotaUsagesImpl(this);
|
|
183
203
|
this.replicas = new ReplicasImpl(this);
|
|
184
204
|
this.logFiles = new LogFilesImpl(this);
|
|
205
|
+
this.serverThreatProtectionSettings = new ServerThreatProtectionSettingsImpl(
|
|
206
|
+
this
|
|
207
|
+
);
|
|
208
|
+
this.virtualEndpoints = new VirtualEndpointsImpl(this);
|
|
185
209
|
this.virtualNetworkSubnetUsage = new VirtualNetworkSubnetUsageImpl(this);
|
|
186
|
-
this.flexibleServer = new FlexibleServerImpl(this);
|
|
187
|
-
this.ltrBackupOperations = new LtrBackupOperationsImpl(this);
|
|
188
210
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
189
211
|
}
|
|
190
212
|
|
|
@@ -253,14 +275,20 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
|
|
|
253
275
|
databases: Databases;
|
|
254
276
|
firewallRules: FirewallRules;
|
|
255
277
|
servers: Servers;
|
|
278
|
+
flexibleServer: FlexibleServer;
|
|
279
|
+
ltrBackupOperations: LtrBackupOperations;
|
|
256
280
|
migrations: Migrations;
|
|
257
281
|
operations: Operations;
|
|
258
282
|
getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
|
|
283
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
284
|
+
privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
|
|
285
|
+
privateLinkResources: PrivateLinkResources;
|
|
286
|
+
quotaUsages: QuotaUsages;
|
|
259
287
|
replicas: Replicas;
|
|
260
288
|
logFiles: LogFiles;
|
|
289
|
+
serverThreatProtectionSettings: ServerThreatProtectionSettings;
|
|
290
|
+
virtualEndpoints: VirtualEndpoints;
|
|
261
291
|
virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
|
|
262
|
-
flexibleServer: FlexibleServer;
|
|
263
|
-
ltrBackupOperations: LtrBackupOperations;
|
|
264
292
|
}
|
|
265
293
|
// Operation Specifications
|
|
266
294
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -277,7 +305,7 @@ const checkMigrationNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
|
277
305
|
bodyMapper: Mappers.ErrorResponse
|
|
278
306
|
}
|
|
279
307
|
},
|
|
280
|
-
requestBody: Parameters.
|
|
308
|
+
requestBody: Parameters.parameters12,
|
|
281
309
|
queryParameters: [Parameters.apiVersion],
|
|
282
310
|
urlParameters: [
|
|
283
311
|
Parameters.$host,
|