@azure/arm-postgresql 6.0.0-beta.1 → 6.0.0
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 +7 -10
- package/README.md +4 -0
- package/dist/index.js +34 -54
- 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/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +18 -18
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +29 -29
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.d.ts +2 -2
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
- package/dist-esm/src/operations/configurations.d.ts +2 -2
- package/dist-esm/src/operations/configurations.d.ts.map +1 -1
- package/dist-esm/src/operations/configurations.js.map +1 -1
- package/dist-esm/src/operations/databases.d.ts +2 -2
- package/dist-esm/src/operations/databases.d.ts.map +1 -1
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.d.ts +2 -2
- package/dist-esm/src/operations/firewallRules.d.ts.map +1 -1
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts +2 -2
- package/dist-esm/src/operations/locationBasedPerformanceTier.d.ts.map +1 -1
- package/dist-esm/src/operations/locationBasedPerformanceTier.js.map +1 -1
- package/dist-esm/src/operations/logFiles.d.ts +2 -2
- package/dist-esm/src/operations/logFiles.d.ts.map +1 -1
- package/dist-esm/src/operations/logFiles.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/recoverableServers.d.ts +2 -2
- package/dist-esm/src/operations/recoverableServers.d.ts.map +1 -1
- package/dist-esm/src/operations/recoverableServers.js.map +1 -1
- package/dist-esm/src/operations/replicas.d.ts +2 -2
- package/dist-esm/src/operations/replicas.d.ts.map +1 -1
- package/dist-esm/src/operations/replicas.js.map +1 -1
- package/dist-esm/src/operations/serverAdministrators.d.ts +2 -2
- package/dist-esm/src/operations/serverAdministrators.d.ts.map +1 -1
- package/dist-esm/src/operations/serverAdministrators.js.map +1 -1
- package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts +2 -2
- package/dist-esm/src/operations/serverBasedPerformanceTier.d.ts.map +1 -1
- package/dist-esm/src/operations/serverBasedPerformanceTier.js.map +1 -1
- package/dist-esm/src/operations/serverKeys.d.ts +2 -2
- package/dist-esm/src/operations/serverKeys.d.ts.map +1 -1
- package/dist-esm/src/operations/serverKeys.js.map +1 -1
- package/dist-esm/src/operations/serverParameters.d.ts +2 -2
- package/dist-esm/src/operations/serverParameters.d.ts.map +1 -1
- package/dist-esm/src/operations/serverParameters.js.map +1 -1
- package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts +2 -2
- package/dist-esm/src/operations/serverSecurityAlertPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/serverSecurityAlertPolicies.js.map +1 -1
- package/dist-esm/src/operations/servers.d.ts +2 -2
- package/dist-esm/src/operations/servers.d.ts.map +1 -1
- package/dist-esm/src/operations/servers.js.map +1 -1
- package/dist-esm/src/operations/virtualNetworkRules.d.ts +2 -2
- package/dist-esm/src/operations/virtualNetworkRules.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualNetworkRules.js.map +1 -1
- package/dist-esm/src/postgreSQLManagementClient.d.ts +4 -2
- package/dist-esm/src/postgreSQLManagementClient.d.ts.map +1 -1
- package/dist-esm/src/postgreSQLManagementClient.js +31 -3
- package/dist-esm/src/postgreSQLManagementClient.js.map +1 -1
- package/package.json +8 -8
- package/review/arm-postgresql.api.md +5 -11
- package/src/index.ts +0 -1
- package/src/models/index.ts +19 -19
- package/src/models/mappers.ts +30 -30
- package/src/operations/checkNameAvailability.ts +3 -3
- package/src/operations/configurations.ts +3 -3
- package/src/operations/databases.ts +3 -3
- package/src/operations/firewallRules.ts +3 -3
- package/src/operations/locationBasedPerformanceTier.ts +3 -3
- package/src/operations/logFiles.ts +3 -3
- package/src/operations/operations.ts +3 -3
- package/src/operations/privateEndpointConnections.ts +3 -3
- package/src/operations/privateLinkResources.ts +3 -3
- package/src/operations/recoverableServers.ts +3 -3
- package/src/operations/replicas.ts +3 -3
- package/src/operations/serverAdministrators.ts +3 -3
- package/src/operations/serverBasedPerformanceTier.ts +3 -3
- package/src/operations/serverKeys.ts +3 -3
- package/src/operations/serverParameters.ts +3 -3
- package/src/operations/serverSecurityAlertPolicies.ts +3 -3
- package/src/operations/servers.ts +3 -3
- package/src/operations/virtualNetworkRules.ts +3 -3
- package/src/postgreSQLManagementClient.ts +44 -3
- package/types/arm-postgresql.d.ts +3 -13
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/postgreSQLManagementClientContext.d.ts +0 -15
- package/dist-esm/src/postgreSQLManagementClientContext.d.ts.map +0 -1
- package/dist-esm/src/postgreSQLManagementClientContext.js +0 -48
- package/dist-esm/src/postgreSQLManagementClientContext.js.map +0 -1
- package/src/postgreSQLManagementClientContext.ts +0 -68
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtualNetworkRules.js","sourceRoot":"","sources":["../../../src/operations/virtualNetworkRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAcrC,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,
|
|
1
|
+
{"version":3,"file":"virtualNetworkRules.js","sourceRoot":"","sources":["../../../src/operations/virtualNetworkRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAcrC,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,YAAY,CACjB,iBAAyB,EACzB,UAAkB,EAClB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CACrC,iBAAiB,EACjB,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE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AC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
1
2
|
import * as coreAuth from "@azure/core-auth";
|
|
2
3
|
import { Servers, Replicas, FirewallRules, VirtualNetworkRules, Databases, Configurations, ServerParameters, LogFiles, ServerAdministrators, RecoverableServers, ServerBasedPerformanceTier, LocationBasedPerformanceTier, CheckNameAvailability, Operations, ServerSecurityAlertPolicies, PrivateEndpointConnections, PrivateLinkResources, ServerKeys } from "./operationsInterfaces";
|
|
3
|
-
import { PostgreSQLManagementClientContext } from "./postgreSQLManagementClientContext";
|
|
4
4
|
import { PostgreSQLManagementClientOptionalParams } from "./models";
|
|
5
|
-
export declare class PostgreSQLManagementClient extends
|
|
5
|
+
export declare class PostgreSQLManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
6
8
|
/**
|
|
7
9
|
* Initializes a new instance of the PostgreSQLManagementClient class.
|
|
8
10
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgreSQLManagementClient.d.ts","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAqB7C,OAAO,EACL,OAAO,EACP,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACR,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,UAAU,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAo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AC7C,UAAU,EAAE,UAAU,CAAC;IACvB,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
8
9
|
import { ServersImpl, ReplicasImpl, FirewallRulesImpl, VirtualNetworkRulesImpl, DatabasesImpl, ConfigurationsImpl, ServerParametersImpl, LogFilesImpl, ServerAdministratorsImpl, RecoverableServersImpl, ServerBasedPerformanceTierImpl, LocationBasedPerformanceTierImpl, CheckNameAvailabilityImpl, OperationsImpl, ServerSecurityAlertPoliciesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ServerKeysImpl } from "./operations";
|
|
9
|
-
|
|
10
|
-
export class PostgreSQLManagementClient extends PostgreSQLManagementClientContext {
|
|
10
|
+
export class PostgreSQLManagementClient extends coreClient.ServiceClient {
|
|
11
11
|
/**
|
|
12
12
|
* Initializes a new instance of the PostgreSQLManagementClient class.
|
|
13
13
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -15,7 +15,35 @@ export class PostgreSQLManagementClient extends PostgreSQLManagementClientContex
|
|
|
15
15
|
* @param options The parameter options
|
|
16
16
|
*/
|
|
17
17
|
constructor(credentials, subscriptionId, options) {
|
|
18
|
-
|
|
18
|
+
if (credentials === undefined) {
|
|
19
|
+
throw new Error("'credentials' cannot be null");
|
|
20
|
+
}
|
|
21
|
+
if (subscriptionId === undefined) {
|
|
22
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
23
|
+
}
|
|
24
|
+
// Initializing default values for options
|
|
25
|
+
if (!options) {
|
|
26
|
+
options = {};
|
|
27
|
+
}
|
|
28
|
+
const defaults = {
|
|
29
|
+
requestContentType: "application/json; charset=utf-8",
|
|
30
|
+
credential: credentials
|
|
31
|
+
};
|
|
32
|
+
const packageDetails = `azsdk-js-arm-postgresql/6.0.0`;
|
|
33
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
35
|
+
: `${packageDetails}`;
|
|
36
|
+
if (!options.credentialScopes) {
|
|
37
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
38
|
+
}
|
|
39
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
40
|
+
userAgentPrefix
|
|
41
|
+
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
42
|
+
super(optionsWithDefaults);
|
|
43
|
+
// Parameter assignments
|
|
44
|
+
this.subscriptionId = subscriptionId;
|
|
45
|
+
// Assigning values to Constant parameters
|
|
46
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
19
47
|
this.servers = new ServersImpl(this);
|
|
20
48
|
this.replicas = new ReplicasImpl(this);
|
|
21
49
|
this.firewallRules = new FirewallRulesImpl(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,EACz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C,IAAI,CAAC,CAAC;IAC7C,CAAC;CAoBF"}
|
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for PostgreSQLManagementClient.",
|
|
6
|
-
"version": "6.0.0
|
|
6
|
+
"version": "6.0.0",
|
|
7
7
|
"engines": { "node": ">=12.0.0" },
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@azure/core-lro": "^2.2.0",
|
|
10
10
|
"@azure/abort-controller": "^1.0.0",
|
|
11
|
-
"@azure/core-paging": "^1.
|
|
11
|
+
"@azure/core-paging": "^1.2.0",
|
|
12
12
|
"@azure/core-client": "^1.0.0",
|
|
13
13
|
"@azure/core-auth": "^1.3.0",
|
|
14
14
|
"@azure/core-rest-pipeline": "^1.1.0",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"module": "./dist-esm/src/index.js",
|
|
21
21
|
"types": "./types/arm-postgresql.d.ts",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@microsoft/api-extractor": "7.
|
|
23
|
+
"@microsoft/api-extractor": "^7.18.11",
|
|
24
24
|
"@rollup/plugin-commonjs": "11.0.2",
|
|
25
25
|
"@rollup/plugin-json": "^4.0.0",
|
|
26
26
|
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
31
31
|
"typescript": "~4.2.0",
|
|
32
32
|
"uglify-js": "^3.4.9",
|
|
33
|
-
"
|
|
33
|
+
"rimraf": "^3.0.0",
|
|
34
|
+
"@azure/identity": "^2.0.1",
|
|
34
35
|
"@azure-tools/test-recorder": "^1.0.0",
|
|
35
36
|
"mocha": "^7.1.1",
|
|
36
37
|
"cross-env": "^7.0.2"
|
|
@@ -60,14 +61,14 @@
|
|
|
60
61
|
"types/*"
|
|
61
62
|
],
|
|
62
63
|
"scripts": {
|
|
63
|
-
"build": "tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
64
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
64
65
|
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
65
66
|
"prepack": "npm run build",
|
|
66
67
|
"pack": "npm pack 2>&1",
|
|
67
68
|
"extract-api": "api-extractor run --local",
|
|
68
69
|
"lint": "echo skipped",
|
|
69
70
|
"audit": "echo skipped",
|
|
70
|
-
"clean": "
|
|
71
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
71
72
|
"build:node": "echo skipped",
|
|
72
73
|
"build:browser": "echo skipped",
|
|
73
74
|
"build:test": "echo skipped",
|
|
@@ -76,14 +77,13 @@
|
|
|
76
77
|
"execute:samples": "echo skipped",
|
|
77
78
|
"format": "echo skipped",
|
|
78
79
|
"test": "npm run integration-test",
|
|
79
|
-
"prebuild": "echo skipped",
|
|
80
80
|
"test:node": "echo skipped",
|
|
81
81
|
"test:browser": "echo skipped",
|
|
82
82
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
83
83
|
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
84
84
|
"unit-test:browser": "echo skipped",
|
|
85
85
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
86
|
-
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts",
|
|
86
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
87
87
|
"integration-test:browser": "echo skipped",
|
|
88
88
|
"docs": "echo skipped"
|
|
89
89
|
},
|
|
@@ -488,7 +488,9 @@ export interface PerformanceTierServiceLevelObjectives {
|
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
// @public (undocumented)
|
|
491
|
-
export class PostgreSQLManagementClient extends
|
|
491
|
+
export class PostgreSQLManagementClient extends coreClient.ServiceClient {
|
|
492
|
+
// (undocumented)
|
|
493
|
+
$host: string;
|
|
492
494
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementClientOptionalParams);
|
|
493
495
|
// (undocumented)
|
|
494
496
|
checkNameAvailability: CheckNameAvailability;
|
|
@@ -525,16 +527,9 @@ export class PostgreSQLManagementClient extends PostgreSQLManagementClientContex
|
|
|
525
527
|
// (undocumented)
|
|
526
528
|
serverSecurityAlertPolicies: ServerSecurityAlertPolicies;
|
|
527
529
|
// (undocumented)
|
|
528
|
-
virtualNetworkRules: VirtualNetworkRules;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
// @public (undocumented)
|
|
532
|
-
export class PostgreSQLManagementClientContext extends coreClient.ServiceClient {
|
|
533
|
-
// (undocumented)
|
|
534
|
-
$host: string;
|
|
535
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementClientOptionalParams);
|
|
536
|
-
// (undocumented)
|
|
537
530
|
subscriptionId: string;
|
|
531
|
+
// (undocumented)
|
|
532
|
+
virtualNetworkRules: VirtualNetworkRules;
|
|
538
533
|
}
|
|
539
534
|
|
|
540
535
|
// @public
|
|
@@ -1223,7 +1218,6 @@ export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResu
|
|
|
1223
1218
|
// @public
|
|
1224
1219
|
export type VirtualNetworkRuleState = string;
|
|
1225
1220
|
|
|
1226
|
-
|
|
1227
1221
|
// (No @packageDocumentation comment for this package)
|
|
1228
1222
|
|
|
1229
1223
|
```
|
package/src/index.ts
CHANGED
|
@@ -9,5 +9,4 @@
|
|
|
9
9
|
/// <reference lib="esnext.asynciterable" />
|
|
10
10
|
export * from "./models";
|
|
11
11
|
export { PostgreSQLManagementClient } from "./postgreSQLManagementClient";
|
|
12
|
-
export { PostgreSQLManagementClientContext } from "./postgreSQLManagementClientContext";
|
|
13
12
|
export * from "./operationsInterfaces";
|
package/src/models/index.ts
CHANGED
|
@@ -89,25 +89,6 @@ export interface StorageProfile {
|
|
|
89
89
|
storageAutogrow?: StorageAutogrow;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
93
|
-
export interface Resource {
|
|
94
|
-
/**
|
|
95
|
-
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
96
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
97
|
-
*/
|
|
98
|
-
readonly id?: string;
|
|
99
|
-
/**
|
|
100
|
-
* The name of the resource
|
|
101
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
102
|
-
*/
|
|
103
|
-
readonly name?: string;
|
|
104
|
-
/**
|
|
105
|
-
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
106
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
107
|
-
*/
|
|
108
|
-
readonly type?: string;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
92
|
/** A private endpoint connection under a server */
|
|
112
93
|
export interface ServerPrivateEndpointConnection {
|
|
113
94
|
/**
|
|
@@ -152,6 +133,25 @@ export interface ServerPrivateLinkServiceConnectionStateProperty {
|
|
|
152
133
|
readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
|
|
153
134
|
}
|
|
154
135
|
|
|
136
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
137
|
+
export interface Resource {
|
|
138
|
+
/**
|
|
139
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
140
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
141
|
+
*/
|
|
142
|
+
readonly id?: string;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the resource
|
|
145
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
146
|
+
*/
|
|
147
|
+
readonly name?: string;
|
|
148
|
+
/**
|
|
149
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
150
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
151
|
+
*/
|
|
152
|
+
readonly type?: string;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
155
|
/** An error response from the Batch service. */
|
|
156
156
|
export interface CloudError {
|
|
157
157
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */
|
package/src/models/mappers.ts
CHANGED
|
@@ -216,36 +216,6 @@ export const StorageProfile: coreClient.CompositeMapper = {
|
|
|
216
216
|
}
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export const Resource: coreClient.CompositeMapper = {
|
|
220
|
-
type: {
|
|
221
|
-
name: "Composite",
|
|
222
|
-
className: "Resource",
|
|
223
|
-
modelProperties: {
|
|
224
|
-
id: {
|
|
225
|
-
serializedName: "id",
|
|
226
|
-
readOnly: true,
|
|
227
|
-
type: {
|
|
228
|
-
name: "String"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
name: {
|
|
232
|
-
serializedName: "name",
|
|
233
|
-
readOnly: true,
|
|
234
|
-
type: {
|
|
235
|
-
name: "String"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
type: {
|
|
239
|
-
serializedName: "type",
|
|
240
|
-
readOnly: true,
|
|
241
|
-
type: {
|
|
242
|
-
name: "String"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
|
|
249
219
|
export const ServerPrivateEndpointConnection: coreClient.CompositeMapper = {
|
|
250
220
|
type: {
|
|
251
221
|
name: "Composite",
|
|
@@ -344,6 +314,36 @@ export const ServerPrivateLinkServiceConnectionStateProperty: coreClient.Composi
|
|
|
344
314
|
}
|
|
345
315
|
};
|
|
346
316
|
|
|
317
|
+
export const Resource: coreClient.CompositeMapper = {
|
|
318
|
+
type: {
|
|
319
|
+
name: "Composite",
|
|
320
|
+
className: "Resource",
|
|
321
|
+
modelProperties: {
|
|
322
|
+
id: {
|
|
323
|
+
serializedName: "id",
|
|
324
|
+
readOnly: true,
|
|
325
|
+
type: {
|
|
326
|
+
name: "String"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
name: {
|
|
330
|
+
serializedName: "name",
|
|
331
|
+
readOnly: true,
|
|
332
|
+
type: {
|
|
333
|
+
name: "String"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
type: {
|
|
337
|
+
serializedName: "type",
|
|
338
|
+
readOnly: true,
|
|
339
|
+
type: {
|
|
340
|
+
name: "String"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
|
|
347
347
|
export const CloudError: coreClient.CompositeMapper = {
|
|
348
348
|
type: {
|
|
349
349
|
name: "Composite",
|
|
@@ -10,7 +10,7 @@ import { CheckNameAvailability } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
14
14
|
import {
|
|
15
15
|
NameAvailabilityRequest,
|
|
16
16
|
CheckNameAvailabilityExecuteOptionalParams,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
|
|
20
20
|
/** Class containing CheckNameAvailability operations. */
|
|
21
21
|
export class CheckNameAvailabilityImpl implements CheckNameAvailability {
|
|
22
|
-
private readonly client:
|
|
22
|
+
private readonly client: PostgreSQLManagementClient;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Initialize a new instance of the class CheckNameAvailability class.
|
|
26
26
|
* @param client Reference to the service client
|
|
27
27
|
*/
|
|
28
|
-
constructor(client:
|
|
28
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
29
29
|
this.client = client;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -11,7 +11,7 @@ import { Configurations } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
/// <reference lib="esnext.asynciterable" />
|
|
28
28
|
/** Class containing Configurations operations. */
|
|
29
29
|
export class ConfigurationsImpl implements Configurations {
|
|
30
|
-
private readonly client:
|
|
30
|
+
private readonly client: PostgreSQLManagementClient;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Initialize a new instance of the class Configurations class.
|
|
34
34
|
* @param client Reference to the service client
|
|
35
35
|
*/
|
|
36
|
-
constructor(client:
|
|
36
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
37
37
|
this.client = client;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -11,7 +11,7 @@ import { Databases } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
/// <reference lib="esnext.asynciterable" />
|
|
29
29
|
/** Class containing Databases operations. */
|
|
30
30
|
export class DatabasesImpl implements Databases {
|
|
31
|
-
private readonly client:
|
|
31
|
+
private readonly client: PostgreSQLManagementClient;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Initialize a new instance of the class Databases class.
|
|
35
35
|
* @param client Reference to the service client
|
|
36
36
|
*/
|
|
37
|
-
constructor(client:
|
|
37
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
38
38
|
this.client = client;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -11,7 +11,7 @@ import { FirewallRules } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
/// <reference lib="esnext.asynciterable" />
|
|
29
29
|
/** Class containing FirewallRules operations. */
|
|
30
30
|
export class FirewallRulesImpl implements FirewallRules {
|
|
31
|
-
private readonly client:
|
|
31
|
+
private readonly client: PostgreSQLManagementClient;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Initialize a new instance of the class FirewallRules class.
|
|
35
35
|
* @param client Reference to the service client
|
|
36
36
|
*/
|
|
37
|
-
constructor(client:
|
|
37
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
38
38
|
this.client = client;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -11,7 +11,7 @@ import { LocationBasedPerformanceTier } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
PerformanceTierProperties,
|
|
17
17
|
LocationBasedPerformanceTierListOptionalParams,
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
/** Class containing LocationBasedPerformanceTier operations. */
|
|
23
23
|
export class LocationBasedPerformanceTierImpl
|
|
24
24
|
implements LocationBasedPerformanceTier {
|
|
25
|
-
private readonly client:
|
|
25
|
+
private readonly client: PostgreSQLManagementClient;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Initialize a new instance of the class LocationBasedPerformanceTier class.
|
|
29
29
|
* @param client Reference to the service client
|
|
30
30
|
*/
|
|
31
|
-
constructor(client:
|
|
31
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
32
32
|
this.client = client;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -11,7 +11,7 @@ import { LogFiles } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
LogFile,
|
|
17
17
|
LogFilesListByServerOptionalParams,
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
22
22
|
/** Class containing LogFiles operations. */
|
|
23
23
|
export class LogFilesImpl implements LogFiles {
|
|
24
|
-
private readonly client:
|
|
24
|
+
private readonly client: PostgreSQLManagementClient;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Initialize a new instance of the class LogFiles class.
|
|
28
28
|
* @param client Reference to the service client
|
|
29
29
|
*/
|
|
30
|
-
constructor(client:
|
|
30
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
31
31
|
this.client = client;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -10,7 +10,7 @@ import { Operations } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
14
14
|
import {
|
|
15
15
|
OperationsListOptionalParams,
|
|
16
16
|
OperationsListResponse
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
|
|
19
19
|
/** Class containing Operations operations. */
|
|
20
20
|
export class OperationsImpl implements Operations {
|
|
21
|
-
private readonly client:
|
|
21
|
+
private readonly client: PostgreSQLManagementClient;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Initialize a new instance of the class Operations class.
|
|
25
25
|
* @param client Reference to the service client
|
|
26
26
|
*/
|
|
27
|
-
constructor(client:
|
|
27
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
28
28
|
this.client = client;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -11,7 +11,7 @@ import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
16
|
import { LroImpl } from "../lroImpl";
|
|
17
17
|
import {
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
/** Class containing PrivateEndpointConnections operations. */
|
|
35
35
|
export class PrivateEndpointConnectionsImpl
|
|
36
36
|
implements PrivateEndpointConnections {
|
|
37
|
-
private readonly client:
|
|
37
|
+
private readonly client: PostgreSQLManagementClient;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
41
41
|
* @param client Reference to the service client
|
|
42
42
|
*/
|
|
43
|
-
constructor(client:
|
|
43
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
44
44
|
this.client = client;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -11,7 +11,7 @@ import { PrivateLinkResources } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
PrivateLinkResource,
|
|
17
17
|
PrivateLinkResourcesListByServerNextOptionalParams,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
/// <reference lib="esnext.asynciterable" />
|
|
26
26
|
/** Class containing PrivateLinkResources operations. */
|
|
27
27
|
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
28
|
-
private readonly client:
|
|
28
|
+
private readonly client: PostgreSQLManagementClient;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Initialize a new instance of the class PrivateLinkResources class.
|
|
32
32
|
* @param client Reference to the service client
|
|
33
33
|
*/
|
|
34
|
-
constructor(client:
|
|
34
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
35
35
|
this.client = client;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -10,7 +10,7 @@ import { RecoverableServers } from "../operationsInterfaces";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import {
|
|
13
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
14
14
|
import {
|
|
15
15
|
RecoverableServersGetOptionalParams,
|
|
16
16
|
RecoverableServersGetResponse
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
|
|
19
19
|
/** Class containing RecoverableServers operations. */
|
|
20
20
|
export class RecoverableServersImpl implements RecoverableServers {
|
|
21
|
-
private readonly client:
|
|
21
|
+
private readonly client: PostgreSQLManagementClient;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Initialize a new instance of the class RecoverableServers class.
|
|
25
25
|
* @param client Reference to the service client
|
|
26
26
|
*/
|
|
27
|
-
constructor(client:
|
|
27
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
28
28
|
this.client = client;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -11,7 +11,7 @@ import { Replicas } from "../operationsInterfaces";
|
|
|
11
11
|
import * as coreClient from "@azure/core-client";
|
|
12
12
|
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
|
|
15
15
|
import {
|
|
16
16
|
Server,
|
|
17
17
|
ReplicasListByServerOptionalParams,
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
22
22
|
/** Class containing Replicas operations. */
|
|
23
23
|
export class ReplicasImpl implements Replicas {
|
|
24
|
-
private readonly client:
|
|
24
|
+
private readonly client: PostgreSQLManagementClient;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Initialize a new instance of the class Replicas class.
|
|
28
28
|
* @param client Reference to the service client
|
|
29
29
|
*/
|
|
30
|
-
constructor(client:
|
|
30
|
+
constructor(client: PostgreSQLManagementClient) {
|
|
31
31
|
this.client = client;
|
|
32
32
|
}
|
|
33
33
|
|