@azure/arm-cosmosdbforpostgresql 1.0.1-alpha.20240312.1 → 1.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -10
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1060 -948
- 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/clustersCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/clustersCreateSample.js +13 -13
- package/dist-esm/samples-dev/clustersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clustersGetSample.js +1 -1
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/clustersListSample.js +1 -1
- package/dist-esm/samples-dev/clustersPromoteReadReplicaSample.js +1 -1
- package/dist-esm/samples-dev/clustersRestartSample.js +1 -1
- package/dist-esm/samples-dev/clustersStartSample.js +1 -1
- package/dist-esm/samples-dev/clustersStopSample.js +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +9 -9
- package/dist-esm/samples-dev/clustersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsGetCoordinatorSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetNodeSample.js +1 -1
- package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/configurationsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.js +2 -2
- package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.js +2 -2
- package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.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/firewallRulesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/rolesCreateSample.js +1 -1
- package/dist-esm/samples-dev/rolesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/rolesGetSample.js +1 -1
- package/dist-esm/samples-dev/rolesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/serversGetSample.js +1 -1
- package/dist-esm/samples-dev/serversListByClusterSample.js +1 -1
- package/dist-esm/src/cosmosDBForPostgreSQL.d.ts.map +1 -1
- package/dist-esm/src/cosmosDBForPostgreSQL.js +9 -9
- package/dist-esm/src/cosmosDBForPostgreSQL.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +91 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +34 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +649 -579
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +63 -59
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts.map +1 -1
- package/dist-esm/src/operations/clusters.js +106 -104
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js +64 -64
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +37 -37
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/operations.js +5 -5
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +39 -39
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +11 -11
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/roles.d.ts.map +1 -1
- package/dist-esm/src/operations/roles.js +36 -36
- package/dist-esm/src/operations/roles.js.map +1 -1
- package/dist-esm/src/operations/servers.js +11 -11
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js +2 -2
- package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-cosmosdbforpostgresql.api.md +63 -1
- package/src/cosmosDBForPostgreSQL.ts +18 -17
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +124 -17
- package/src/models/mappers.ts +710 -628
- package/src/models/parameters.ts +66 -60
- package/src/operations/clusters.ts +208 -224
- package/src/operations/configurations.ts +122 -131
- package/src/operations/firewallRules.ts +72 -78
- package/src/operations/operations.ts +10 -10
- package/src/operations/privateEndpointConnections.ts +76 -81
- package/src/operations/privateLinkResources.ts +24 -26
- package/src/operations/roles.ts +71 -77
- package/src/operations/servers.ts +24 -26
- package/src/operationsInterfaces/clusters.ts +19 -19
- package/src/operationsInterfaces/configurations.ts +10 -10
- package/src/operationsInterfaces/firewallRules.ts +7 -7
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/roles.ts +7 -7
- package/src/operationsInterfaces/servers.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-cosmosdbforpostgresql.d.ts +101 -2
- package/types/tsdoc-metadata.json +1 -1
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Starts stopped compute on all cluster nodes.
|
|
17
17
|
*
|
|
18
18
|
* @summary Starts stopped compute on all cluster nodes.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterStart.json
|
|
20
20
|
*/
|
|
21
21
|
function startAllServersInTheCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Stops compute on all cluster nodes.
|
|
17
17
|
*
|
|
18
18
|
* @summary Stops compute on all cluster nodes.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterStop.json
|
|
20
20
|
*/
|
|
21
21
|
function stopAllServersInTheCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { CosmosDBForPostgreSQL } from "@azure/arm-cosmosdbforpostgresql";
|
|
11
|
+
import { CosmosDBForPostgreSQL, } from "@azure/arm-cosmosdbforpostgresql";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterScaleCompute.json
|
|
20
20
|
*/
|
|
21
21
|
function scaleComputeUpOrDown() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -35,7 +35,7 @@ function scaleComputeUpOrDown() {
|
|
|
35
35
|
* This sample demonstrates how to Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
36
36
|
*
|
|
37
37
|
* @summary Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
38
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
38
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterAddNode.json
|
|
39
39
|
*/
|
|
40
40
|
function scaleOutAddNewWorkerNodes() {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -54,7 +54,7 @@ function scaleOutAddNewWorkerNodes() {
|
|
|
54
54
|
* This sample demonstrates how to Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
55
55
|
*
|
|
56
56
|
* @summary Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
57
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
57
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterScaleStorage.json
|
|
58
58
|
*/
|
|
59
59
|
function scaleUpStorage() {
|
|
60
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -73,7 +73,7 @@ function scaleUpStorage() {
|
|
|
73
73
|
* This sample demonstrates how to Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
74
74
|
*
|
|
75
75
|
* @summary Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
76
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
76
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterUpdate.json
|
|
77
77
|
*/
|
|
78
78
|
function updateMultipleConfigurationSettingsOfTheCluster() {
|
|
79
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -85,7 +85,7 @@ function updateMultipleConfigurationSettingsOfTheCluster() {
|
|
|
85
85
|
administratorLoginPassword: "newpassword",
|
|
86
86
|
coordinatorVCores: 16,
|
|
87
87
|
nodeCount: 4,
|
|
88
|
-
nodeVCores: 16
|
|
88
|
+
nodeVCores: 16,
|
|
89
89
|
};
|
|
90
90
|
const credential = new DefaultAzureCredential();
|
|
91
91
|
const client = new CosmosDBForPostgreSQL(credential, subscriptionId);
|
|
@@ -97,7 +97,7 @@ function updateMultipleConfigurationSettingsOfTheCluster() {
|
|
|
97
97
|
* This sample demonstrates how to Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
98
98
|
*
|
|
99
99
|
* @summary Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
|
|
100
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
100
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ClusterUpdateMaintenanceWindow.json
|
|
101
101
|
*/
|
|
102
102
|
function updateOrDefineMaintenanceWindow() {
|
|
103
103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -110,8 +110,8 @@ function updateOrDefineMaintenanceWindow() {
|
|
|
110
110
|
customWindow: "Enabled",
|
|
111
111
|
dayOfWeek: 0,
|
|
112
112
|
startHour: 8,
|
|
113
|
-
startMinute: 0
|
|
114
|
-
}
|
|
113
|
+
startMinute: 0,
|
|
114
|
+
},
|
|
115
115
|
};
|
|
116
116
|
const credential = new DefaultAzureCredential();
|
|
117
117
|
const client = new CosmosDBForPostgreSQL(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clustersUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/clustersUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"clustersUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/clustersUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC;YAClD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,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O,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,WAAW,CAAC;QACnE,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAAqB;YACnC,iBAAiB,EAAE;gBACjB,YAAY,EAAE,SAAS;gBACvB,SAAS,EAAE,CAAC;gBACZ,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE,CAAC;aACf;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CACrD,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;QACvB,yBAAyB,EAAE,CAAC;QAC5B,cAAc,EAAE,CAAC;QACjB,+CAA+C,EAAE,CAAC;QAClD,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information of a configuration for coordinator.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information of a configuration for coordinator.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationGetCoordinator.json
|
|
20
20
|
*/
|
|
21
21
|
function getConfigurationDetailsForCoordinator() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information of a configuration for worker nodes.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information of a configuration for worker nodes.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationGetNode.json
|
|
20
20
|
*/
|
|
21
21
|
function getConfigurationDetailsForNode() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information of a configuration for coordinator and nodes.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information of a configuration for coordinator and nodes.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getConfigurationDetails() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the configurations of a cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the configurations of a cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationListByCluster.json
|
|
20
20
|
*/
|
|
21
21
|
function listConfigurationsOfTheCluster() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the configurations of a server in cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the configurations of a server in cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationListByServer.json
|
|
20
20
|
*/
|
|
21
21
|
function listConfigurationsOfTheServerThatInTheCluster() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { CosmosDBForPostgreSQL } from "@azure/arm-cosmosdbforpostgresql";
|
|
11
|
+
import { CosmosDBForPostgreSQL, } from "@azure/arm-cosmosdbforpostgresql";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates configuration of coordinator in a cluster
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates configuration of coordinator in a cluster
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationUpdateCoordinator.json
|
|
20
20
|
*/
|
|
21
21
|
function updateSingleConfigurationOfCoordinator() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationsUpdateOnCoordinatorSample.js","sourceRoot":"","sources":["../../samples-dev/configurationsUpdateOnCoordinatorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"configurationsUpdateOnCoordinatorSample.js","sourceRoot":"","sources":["../../samples-dev/configurationsUpdateOnCoordinatorSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sCAAsC;;QACnD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC;YAClD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,mBAAmB,CAAC;QAC3E,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,iBAAiB,GAAG,aAAa,CAAC;QACxC,MAAM,UAAU,GAAwB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACxD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,+BAA+B,CACxE,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { CosmosDBForPostgreSQL } from "@azure/arm-cosmosdbforpostgresql";
|
|
11
|
+
import { CosmosDBForPostgreSQL, } from "@azure/arm-cosmosdbforpostgresql";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates configuration of worker nodes in a cluster
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates configuration of worker nodes in a cluster
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ConfigurationUpdateNode.json
|
|
20
20
|
*/
|
|
21
21
|
function updateSingleConfigurationOfNodes() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationsUpdateOnNodeSample.js","sourceRoot":"","sources":["../../samples-dev/configurationsUpdateOnNodeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"configurationsUpdateOnNodeSample.js","sourceRoot":"","sources":["../../samples-dev/configurationsUpdateOnNodeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC;YAClD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,mBAAmB,CAAC;QAC3E,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,iBAAiB,GAAG,aAAa,CAAC;QACxC,MAAM,UAAU,GAAwB,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QACzD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,wBAAwB,CACjE,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { CosmosDBForPostgreSQL } from "@azure/arm-cosmosdbforpostgresql";
|
|
11
|
+
import { CosmosDBForPostgreSQL, } from "@azure/arm-cosmosdbforpostgresql";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a new cluster firewall rule or updates an existing cluster firewall rule.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new cluster firewall rule or updates an existing cluster firewall rule.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/FirewallRuleCreate.json
|
|
20
20
|
*/
|
|
21
21
|
function createAFirewallRuleOfTheCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -27,7 +27,7 @@ function createAFirewallRuleOfTheCluster() {
|
|
|
27
27
|
const firewallRuleName = "rule1";
|
|
28
28
|
const parameters = {
|
|
29
29
|
endIpAddress: "255.255.255.255",
|
|
30
|
-
startIpAddress: "0.0.0.0"
|
|
30
|
+
startIpAddress: "0.0.0.0",
|
|
31
31
|
};
|
|
32
32
|
const credential = new DefaultAzureCredential();
|
|
33
33
|
const client = new CosmosDBForPostgreSQL(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewallRulesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/firewallRulesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"firewallRulesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/firewallRulesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC;YAClD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,WAAW,CAAC;QACnE,MAAM,WAAW,GAAG,YAAY,CAAC;QACjC,MAAM,gBAAgB,GAAG,OAAO,CAAC;QACjC,MAAM,UAAU,GAAiB;YAC/B,YAAY,EAAE,iBAAiB;YAC/B,cAAc,EAAE,SAAS;SAC1B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,0BAA0B,CAClE,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a cluster firewall rule.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a cluster firewall rule.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/FirewallRuleDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function deleteTheFirewallRuleOfTheCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information about a cluster firewall rule.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information about a cluster firewall rule.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/FirewallRuleGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getTheFirewallRuleOfTheCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all the firewall rules on cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all the firewall rules on cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/FirewallRuleListByCluster.json
|
|
20
20
|
*/
|
|
21
21
|
function listFirewallRulesOfTheCluster() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all of the available REST API operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all of the available REST API operations.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/OperationList.json
|
|
20
20
|
*/
|
|
21
21
|
function listAllAvailableOperations() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { CosmosDBForPostgreSQL } from "@azure/arm-cosmosdbforpostgresql";
|
|
11
|
+
import { CosmosDBForPostgreSQL, } from "@azure/arm-cosmosdbforpostgresql";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Approves or Rejects a private endpoint connection with a given name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Approves or Rejects a private endpoint connection with a given name.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function approvesOrRejectsAPrivateEndpointConnectionWithAGivenName() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -28,8 +28,8 @@ function approvesOrRejectsAPrivateEndpointConnectionWithAGivenName() {
|
|
|
28
28
|
const parameters = {
|
|
29
29
|
privateLinkServiceConnectionState: {
|
|
30
30
|
description: "Approved by johndoe@contoso.com",
|
|
31
|
-
status: "Approved"
|
|
32
|
-
}
|
|
31
|
+
status: "Approved",
|
|
32
|
+
},
|
|
33
33
|
};
|
|
34
34
|
const credential = new DefaultAzureCredential();
|
|
35
35
|
const client = new CosmosDBForPostgreSQL(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yDAAyD;;QACtE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC;YAClD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,oCAAoC,CAAC,IAAI,WAAW,CAAC;QACnE,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,6BAA6B,GAAG,kCAAkC,CAAC;QACzE,MAAM,UAAU,GAA8B;YAC5C,iCAAiC,EAAE;gBACjC,WAAW,EAAE,iCAAiC;gBAC9C,MAAM,EAAE,UAAU;aACnB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,0BAA0B,CAAC,0BAA0B,CAChE,iBAAiB,EACjB,WAAW,EACX,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yDAAyD,EAAE,CAAC;IAC9D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a private endpoint connection with a given name.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a private endpoint connection with a given name.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/PrivateEndpointConnectionsDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function deletesAPrivateEndpointConnectionWithAGivenName() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets private endpoint connection.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets private endpoint connection.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/PrivateEndpointConnectionsGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getsPrivateEndpointConnection() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets list of private endpoint connections on a cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets list of private endpoint connections on a cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/PrivateEndpointConnectionsListByCluster.json
|
|
20
20
|
*/
|
|
21
21
|
function getsListOfPrivateEndpointConnectionsOnACluster() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a private link resource for cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a private link resource for cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/PrivateLinkResourcesGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getsAPrivateLinkResourceForCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets the private link resources for cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets the private link resources for cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/PrivateLinkResourceListByCluster.json
|
|
20
20
|
*/
|
|
21
21
|
function getsThePrivateLinkResourcesForCluster() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a new role or updates an existing role.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new role or updates an existing role.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/RoleCreate.json
|
|
20
20
|
*/
|
|
21
21
|
function roleCreate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a cluster role.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a cluster role.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/RoleDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function roleDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information about a cluster role.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information about a cluster role.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/RoleGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getTheRoleOfTheCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the roles in a given cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the roles in a given cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/RoleListByCluster.json
|
|
20
20
|
*/
|
|
21
21
|
function roleList() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets information about a server in cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets information about a server in cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ServerGet.json
|
|
20
20
|
*/
|
|
21
21
|
function getTheServerOfCluster() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists servers of a cluster.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists servers of a cluster.
|
|
19
|
-
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
|
|
19
|
+
* x-ms-original-file: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-03-02-preview/examples/ServerListByCluster.json
|
|
20
20
|
*/
|
|
21
21
|
function listServersOfTheCluster() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosDBForPostgreSQL.d.ts","sourceRoot":"","sources":["../../src/cosmosDBForPostgreSQL.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAW7C,OAAO,EACL,QAAQ,EACR,OAAO,EACP,cAAc,EACd,aAAa,EACb,KAAK,EACL,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC;
|
|
1
|
+
{"version":3,"file":"cosmosDBForPostgreSQL.d.ts","sourceRoot":"","sources":["../../src/cosmosDBForPostgreSQL.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAW7C,OAAO,EACL,QAAQ,EACR,OAAO,EACP,cAAc,EACd,aAAa,EACb,KAAK,EACL,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC;IAoF/C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,UAAU,CAAC;IACvB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { ClustersImpl, ServersImpl, ConfigurationsImpl, FirewallRulesImpl, RolesImpl, OperationsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl } from "./operations";
|
|
11
|
+
import { ClustersImpl, ServersImpl, ConfigurationsImpl, FirewallRulesImpl, RolesImpl, OperationsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, } from "./operations";
|
|
12
12
|
export class CosmosDBForPostgreSQL extends coreClient.ServiceClient {
|
|
13
13
|
/**
|
|
14
14
|
* Initializes a new instance of the CosmosDBForPostgreSQL class.
|
|
@@ -30,14 +30,14 @@ export class CosmosDBForPostgreSQL extends coreClient.ServiceClient {
|
|
|
30
30
|
}
|
|
31
31
|
const defaults = {
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
|
-
credential: credentials
|
|
33
|
+
credential: credentials,
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-cosmosdbforpostgresql/1.0.1`;
|
|
35
|
+
const packageDetails = `azsdk-js-arm-cosmosdbforpostgresql/1.1.0-beta.1`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
39
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
40
|
-
userAgentPrefix
|
|
40
|
+
userAgentPrefix,
|
|
41
41
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
42
42
|
super(optionsWithDefaults);
|
|
43
43
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -51,21 +51,21 @@ export class CosmosDBForPostgreSQL extends coreClient.ServiceClient {
|
|
|
51
51
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
52
52
|
!bearerTokenAuthenticationPolicyFound) {
|
|
53
53
|
this.pipeline.removePolicy({
|
|
54
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
55
55
|
});
|
|
56
56
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
57
|
credential: credentials,
|
|
58
58
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
59
59
|
challengeCallbacks: {
|
|
60
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
61
|
-
}
|
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
|
+
},
|
|
62
62
|
}));
|
|
63
63
|
}
|
|
64
64
|
// Parameter assignments
|
|
65
65
|
this.subscriptionId = subscriptionId;
|
|
66
66
|
// Assigning values to Constant parameters
|
|
67
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
-
this.apiVersion = options.apiVersion || "
|
|
68
|
+
this.apiVersion = options.apiVersion || "2023-03-02-preview";
|
|
69
69
|
this.clusters = new ClustersImpl(this);
|
|
70
70
|
this.servers = new ServersImpl(this);
|
|
71
71
|
this.configurations = new ConfigurationsImpl(this);
|
|
@@ -99,7 +99,7 @@ export class CosmosDBForPostgreSQL extends coreClient.ServiceClient {
|
|
|
99
99
|
}
|
|
100
100
|
return next(request);
|
|
101
101
|
});
|
|
102
|
-
}
|
|
102
|
+
},
|
|
103
103
|
};
|
|
104
104
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
105
105
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosDBForPostgreSQL.js","sourceRoot":"","sources":["../../src/cosmosDBForPostgreSQL.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"cosmosDBForPostgreSQL.js","sourceRoot":"","sources":["../../src/cosmosDBForPostgreSQL.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,GACzB,MAAM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AAC;CAUF"}
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
|
|
|
15
15
|
sendPollRequest: (path, options) => {
|
|
16
16
|
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
17
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=lroImpl.js.map
|