@azure/arm-postgresql 6.0.1-alpha.20220119.1 → 6.0.1-alpha.20220131.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/dist/index.js +210 -156
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -13,14 +33,20 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
33
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
34
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
35
|
*/
|
|
36
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
37
|
+
exports.KnownIdentityType = void 0;
|
|
16
38
|
(function (KnownIdentityType) {
|
|
17
39
|
KnownIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
18
40
|
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
41
|
+
/** Known values of {@link SkuTier} that the service accepts. */
|
|
42
|
+
exports.KnownSkuTier = void 0;
|
|
19
43
|
(function (KnownSkuTier) {
|
|
20
44
|
KnownSkuTier["Basic"] = "Basic";
|
|
21
45
|
KnownSkuTier["GeneralPurpose"] = "GeneralPurpose";
|
|
22
46
|
KnownSkuTier["MemoryOptimized"] = "MemoryOptimized";
|
|
23
47
|
})(exports.KnownSkuTier || (exports.KnownSkuTier = {}));
|
|
48
|
+
/** Known values of {@link ServerVersion} that the service accepts. */
|
|
49
|
+
exports.KnownServerVersion = void 0;
|
|
24
50
|
(function (KnownServerVersion) {
|
|
25
51
|
KnownServerVersion["Nine5"] = "9.5";
|
|
26
52
|
KnownServerVersion["Nine6"] = "9.6";
|
|
@@ -29,51 +55,71 @@ var coreLro = require('@azure/core-lro');
|
|
|
29
55
|
KnownServerVersion["Ten2"] = "10.2";
|
|
30
56
|
KnownServerVersion["Eleven"] = "11";
|
|
31
57
|
})(exports.KnownServerVersion || (exports.KnownServerVersion = {}));
|
|
58
|
+
/** Known values of {@link MinimalTlsVersionEnum} that the service accepts. */
|
|
59
|
+
exports.KnownMinimalTlsVersionEnum = void 0;
|
|
32
60
|
(function (KnownMinimalTlsVersionEnum) {
|
|
33
61
|
KnownMinimalTlsVersionEnum["TLS10"] = "TLS1_0";
|
|
34
62
|
KnownMinimalTlsVersionEnum["TLS11"] = "TLS1_1";
|
|
35
63
|
KnownMinimalTlsVersionEnum["TLS12"] = "TLS1_2";
|
|
36
64
|
KnownMinimalTlsVersionEnum["TLSEnforcementDisabled"] = "TLSEnforcementDisabled";
|
|
37
65
|
})(exports.KnownMinimalTlsVersionEnum || (exports.KnownMinimalTlsVersionEnum = {}));
|
|
66
|
+
/** Known values of {@link InfrastructureEncryption} that the service accepts. */
|
|
67
|
+
exports.KnownInfrastructureEncryption = void 0;
|
|
38
68
|
(function (KnownInfrastructureEncryption) {
|
|
39
69
|
/** Default value for single layer of encryption for data at rest. */
|
|
40
70
|
KnownInfrastructureEncryption["Enabled"] = "Enabled";
|
|
41
71
|
/** Additional (2nd) layer of encryption for data at rest */
|
|
42
72
|
KnownInfrastructureEncryption["Disabled"] = "Disabled";
|
|
43
73
|
})(exports.KnownInfrastructureEncryption || (exports.KnownInfrastructureEncryption = {}));
|
|
74
|
+
/** Known values of {@link PublicNetworkAccessEnum} that the service accepts. */
|
|
75
|
+
exports.KnownPublicNetworkAccessEnum = void 0;
|
|
44
76
|
(function (KnownPublicNetworkAccessEnum) {
|
|
45
77
|
KnownPublicNetworkAccessEnum["Enabled"] = "Enabled";
|
|
46
78
|
KnownPublicNetworkAccessEnum["Disabled"] = "Disabled";
|
|
47
79
|
})(exports.KnownPublicNetworkAccessEnum || (exports.KnownPublicNetworkAccessEnum = {}));
|
|
80
|
+
/** Known values of {@link GeoRedundantBackup} that the service accepts. */
|
|
81
|
+
exports.KnownGeoRedundantBackup = void 0;
|
|
48
82
|
(function (KnownGeoRedundantBackup) {
|
|
49
83
|
KnownGeoRedundantBackup["Enabled"] = "Enabled";
|
|
50
84
|
KnownGeoRedundantBackup["Disabled"] = "Disabled";
|
|
51
85
|
})(exports.KnownGeoRedundantBackup || (exports.KnownGeoRedundantBackup = {}));
|
|
86
|
+
/** Known values of {@link StorageAutogrow} that the service accepts. */
|
|
87
|
+
exports.KnownStorageAutogrow = void 0;
|
|
52
88
|
(function (KnownStorageAutogrow) {
|
|
53
89
|
KnownStorageAutogrow["Enabled"] = "Enabled";
|
|
54
90
|
KnownStorageAutogrow["Disabled"] = "Disabled";
|
|
55
91
|
})(exports.KnownStorageAutogrow || (exports.KnownStorageAutogrow = {}));
|
|
92
|
+
/** Known values of {@link CreateMode} that the service accepts. */
|
|
93
|
+
exports.KnownCreateMode = void 0;
|
|
56
94
|
(function (KnownCreateMode) {
|
|
57
95
|
KnownCreateMode["Default"] = "Default";
|
|
58
96
|
KnownCreateMode["PointInTimeRestore"] = "PointInTimeRestore";
|
|
59
97
|
KnownCreateMode["GeoRestore"] = "GeoRestore";
|
|
60
98
|
KnownCreateMode["Replica"] = "Replica";
|
|
61
99
|
})(exports.KnownCreateMode || (exports.KnownCreateMode = {}));
|
|
100
|
+
/** Known values of {@link ServerState} that the service accepts. */
|
|
101
|
+
exports.KnownServerState = void 0;
|
|
62
102
|
(function (KnownServerState) {
|
|
63
103
|
KnownServerState["Ready"] = "Ready";
|
|
64
104
|
KnownServerState["Dropping"] = "Dropping";
|
|
65
105
|
KnownServerState["Disabled"] = "Disabled";
|
|
66
106
|
KnownServerState["Inaccessible"] = "Inaccessible";
|
|
67
107
|
})(exports.KnownServerState || (exports.KnownServerState = {}));
|
|
108
|
+
/** Known values of {@link PrivateLinkServiceConnectionStateStatus} that the service accepts. */
|
|
109
|
+
exports.KnownPrivateLinkServiceConnectionStateStatus = void 0;
|
|
68
110
|
(function (KnownPrivateLinkServiceConnectionStateStatus) {
|
|
69
111
|
KnownPrivateLinkServiceConnectionStateStatus["Approved"] = "Approved";
|
|
70
112
|
KnownPrivateLinkServiceConnectionStateStatus["Pending"] = "Pending";
|
|
71
113
|
KnownPrivateLinkServiceConnectionStateStatus["Rejected"] = "Rejected";
|
|
72
114
|
KnownPrivateLinkServiceConnectionStateStatus["Disconnected"] = "Disconnected";
|
|
73
115
|
})(exports.KnownPrivateLinkServiceConnectionStateStatus || (exports.KnownPrivateLinkServiceConnectionStateStatus = {}));
|
|
116
|
+
/** Known values of {@link PrivateLinkServiceConnectionStateActionsRequire} that the service accepts. */
|
|
117
|
+
exports.KnownPrivateLinkServiceConnectionStateActionsRequire = void 0;
|
|
74
118
|
(function (KnownPrivateLinkServiceConnectionStateActionsRequire) {
|
|
75
119
|
KnownPrivateLinkServiceConnectionStateActionsRequire["None"] = "None";
|
|
76
120
|
})(exports.KnownPrivateLinkServiceConnectionStateActionsRequire || (exports.KnownPrivateLinkServiceConnectionStateActionsRequire = {}));
|
|
121
|
+
/** Known values of {@link PrivateEndpointProvisioningState} that the service accepts. */
|
|
122
|
+
exports.KnownPrivateEndpointProvisioningState = void 0;
|
|
77
123
|
(function (KnownPrivateEndpointProvisioningState) {
|
|
78
124
|
KnownPrivateEndpointProvisioningState["Approving"] = "Approving";
|
|
79
125
|
KnownPrivateEndpointProvisioningState["Ready"] = "Ready";
|
|
@@ -81,6 +127,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
81
127
|
KnownPrivateEndpointProvisioningState["Failed"] = "Failed";
|
|
82
128
|
KnownPrivateEndpointProvisioningState["Rejecting"] = "Rejecting";
|
|
83
129
|
})(exports.KnownPrivateEndpointProvisioningState || (exports.KnownPrivateEndpointProvisioningState = {}));
|
|
130
|
+
/** Known values of {@link VirtualNetworkRuleState} that the service accepts. */
|
|
131
|
+
exports.KnownVirtualNetworkRuleState = void 0;
|
|
84
132
|
(function (KnownVirtualNetworkRuleState) {
|
|
85
133
|
KnownVirtualNetworkRuleState["Initializing"] = "Initializing";
|
|
86
134
|
KnownVirtualNetworkRuleState["InProgress"] = "InProgress";
|
|
@@ -88,14 +136,20 @@ var coreLro = require('@azure/core-lro');
|
|
|
88
136
|
KnownVirtualNetworkRuleState["Deleting"] = "Deleting";
|
|
89
137
|
KnownVirtualNetworkRuleState["Unknown"] = "Unknown";
|
|
90
138
|
})(exports.KnownVirtualNetworkRuleState || (exports.KnownVirtualNetworkRuleState = {}));
|
|
139
|
+
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
140
|
+
exports.KnownOperationOrigin = void 0;
|
|
91
141
|
(function (KnownOperationOrigin) {
|
|
92
142
|
KnownOperationOrigin["NotSpecified"] = "NotSpecified";
|
|
93
143
|
KnownOperationOrigin["User"] = "user";
|
|
94
144
|
KnownOperationOrigin["System"] = "system";
|
|
95
145
|
})(exports.KnownOperationOrigin || (exports.KnownOperationOrigin = {}));
|
|
146
|
+
/** Known values of {@link SecurityAlertPolicyName} that the service accepts. */
|
|
147
|
+
exports.KnownSecurityAlertPolicyName = void 0;
|
|
96
148
|
(function (KnownSecurityAlertPolicyName) {
|
|
97
149
|
KnownSecurityAlertPolicyName["Default"] = "Default";
|
|
98
150
|
})(exports.KnownSecurityAlertPolicyName || (exports.KnownSecurityAlertPolicyName = {}));
|
|
151
|
+
/** Known values of {@link ServerKeyType} that the service accepts. */
|
|
152
|
+
exports.KnownServerKeyType = void 0;
|
|
99
153
|
(function (KnownServerKeyType) {
|
|
100
154
|
KnownServerKeyType["AzureKeyVault"] = "AzureKeyVault";
|
|
101
155
|
})(exports.KnownServerKeyType || (exports.KnownServerKeyType = {}));
|
|
@@ -2346,7 +2400,7 @@ class ServersImpl {
|
|
|
2346
2400
|
}
|
|
2347
2401
|
};
|
|
2348
2402
|
});
|
|
2349
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec);
|
|
2403
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec$6);
|
|
2350
2404
|
return new coreLro.LroEngine(lro, {
|
|
2351
2405
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2352
2406
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -2372,7 +2426,7 @@ class ServersImpl {
|
|
|
2372
2426
|
* @param options The options parameters.
|
|
2373
2427
|
*/
|
|
2374
2428
|
get(resourceGroupName, serverName, options) {
|
|
2375
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec);
|
|
2429
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$a);
|
|
2376
2430
|
}
|
|
2377
2431
|
/**
|
|
2378
2432
|
* List all the servers in a given resource group.
|
|
@@ -2387,7 +2441,7 @@ class ServersImpl {
|
|
|
2387
2441
|
* @param options The options parameters.
|
|
2388
2442
|
*/
|
|
2389
2443
|
_list(options) {
|
|
2390
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
2444
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$5);
|
|
2391
2445
|
}
|
|
2392
2446
|
/**
|
|
2393
2447
|
* Restarts a server.
|
|
@@ -2440,7 +2494,7 @@ class ServersImpl {
|
|
|
2440
2494
|
}
|
|
2441
2495
|
}
|
|
2442
2496
|
// Operation Specifications
|
|
2443
|
-
const serializer =
|
|
2497
|
+
const serializer$h = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2444
2498
|
const createOperationSpec = {
|
|
2445
2499
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}",
|
|
2446
2500
|
httpMethod: "PUT",
|
|
@@ -2471,7 +2525,7 @@ const createOperationSpec = {
|
|
|
2471
2525
|
],
|
|
2472
2526
|
headerParameters: [contentType, accept],
|
|
2473
2527
|
mediaType: "json",
|
|
2474
|
-
serializer
|
|
2528
|
+
serializer: serializer$h
|
|
2475
2529
|
};
|
|
2476
2530
|
const updateOperationSpec = {
|
|
2477
2531
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}",
|
|
@@ -2503,9 +2557,9 @@ const updateOperationSpec = {
|
|
|
2503
2557
|
],
|
|
2504
2558
|
headerParameters: [contentType, accept],
|
|
2505
2559
|
mediaType: "json",
|
|
2506
|
-
serializer
|
|
2560
|
+
serializer: serializer$h
|
|
2507
2561
|
};
|
|
2508
|
-
const deleteOperationSpec = {
|
|
2562
|
+
const deleteOperationSpec$6 = {
|
|
2509
2563
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}",
|
|
2510
2564
|
httpMethod: "DELETE",
|
|
2511
2565
|
responses: {
|
|
@@ -2525,9 +2579,9 @@ const deleteOperationSpec = {
|
|
|
2525
2579
|
serverName
|
|
2526
2580
|
],
|
|
2527
2581
|
headerParameters: [accept],
|
|
2528
|
-
serializer
|
|
2582
|
+
serializer: serializer$h
|
|
2529
2583
|
};
|
|
2530
|
-
const getOperationSpec = {
|
|
2584
|
+
const getOperationSpec$a = {
|
|
2531
2585
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}",
|
|
2532
2586
|
httpMethod: "GET",
|
|
2533
2587
|
responses: {
|
|
@@ -2546,7 +2600,7 @@ const getOperationSpec = {
|
|
|
2546
2600
|
serverName
|
|
2547
2601
|
],
|
|
2548
2602
|
headerParameters: [accept],
|
|
2549
|
-
serializer
|
|
2603
|
+
serializer: serializer$h
|
|
2550
2604
|
};
|
|
2551
2605
|
const listByResourceGroupOperationSpec = {
|
|
2552
2606
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers",
|
|
@@ -2566,9 +2620,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
2566
2620
|
resourceGroupName
|
|
2567
2621
|
],
|
|
2568
2622
|
headerParameters: [accept],
|
|
2569
|
-
serializer
|
|
2623
|
+
serializer: serializer$h
|
|
2570
2624
|
};
|
|
2571
|
-
const listOperationSpec = {
|
|
2625
|
+
const listOperationSpec$5 = {
|
|
2572
2626
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers",
|
|
2573
2627
|
httpMethod: "GET",
|
|
2574
2628
|
responses: {
|
|
@@ -2582,7 +2636,7 @@ const listOperationSpec = {
|
|
|
2582
2636
|
queryParameters: [apiVersion],
|
|
2583
2637
|
urlParameters: [$host, subscriptionId],
|
|
2584
2638
|
headerParameters: [accept],
|
|
2585
|
-
serializer
|
|
2639
|
+
serializer: serializer$h
|
|
2586
2640
|
};
|
|
2587
2641
|
const restartOperationSpec = {
|
|
2588
2642
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/restart",
|
|
@@ -2604,7 +2658,7 @@ const restartOperationSpec = {
|
|
|
2604
2658
|
serverName
|
|
2605
2659
|
],
|
|
2606
2660
|
headerParameters: [accept],
|
|
2607
|
-
serializer
|
|
2661
|
+
serializer: serializer$h
|
|
2608
2662
|
};
|
|
2609
2663
|
|
|
2610
2664
|
/*
|
|
@@ -2675,12 +2729,12 @@ class ReplicasImpl {
|
|
|
2675
2729
|
* @param options The options parameters.
|
|
2676
2730
|
*/
|
|
2677
2731
|
_listByServer(resourceGroupName, serverName, options) {
|
|
2678
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec);
|
|
2732
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$8);
|
|
2679
2733
|
}
|
|
2680
2734
|
}
|
|
2681
2735
|
// Operation Specifications
|
|
2682
|
-
const serializer$
|
|
2683
|
-
const listByServerOperationSpec = {
|
|
2736
|
+
const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2737
|
+
const listByServerOperationSpec$8 = {
|
|
2684
2738
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/replicas",
|
|
2685
2739
|
httpMethod: "GET",
|
|
2686
2740
|
responses: {
|
|
@@ -2699,7 +2753,7 @@ const listByServerOperationSpec = {
|
|
|
2699
2753
|
serverName
|
|
2700
2754
|
],
|
|
2701
2755
|
headerParameters: [accept],
|
|
2702
|
-
serializer: serializer$
|
|
2756
|
+
serializer: serializer$g
|
|
2703
2757
|
};
|
|
2704
2758
|
|
|
2705
2759
|
/*
|
|
@@ -2795,7 +2849,7 @@ class FirewallRulesImpl {
|
|
|
2795
2849
|
}
|
|
2796
2850
|
};
|
|
2797
2851
|
});
|
|
2798
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec);
|
|
2852
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec$7);
|
|
2799
2853
|
return new coreLro.LroEngine(lro, {
|
|
2800
2854
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2801
2855
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -2847,7 +2901,7 @@ class FirewallRulesImpl {
|
|
|
2847
2901
|
}
|
|
2848
2902
|
};
|
|
2849
2903
|
});
|
|
2850
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, options }, deleteOperationSpec$
|
|
2904
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, options }, deleteOperationSpec$5);
|
|
2851
2905
|
return new coreLro.LroEngine(lro, {
|
|
2852
2906
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2853
2907
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -2875,7 +2929,7 @@ class FirewallRulesImpl {
|
|
|
2875
2929
|
* @param options The options parameters.
|
|
2876
2930
|
*/
|
|
2877
2931
|
get(resourceGroupName, serverName, firewallRuleName, options) {
|
|
2878
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, firewallRuleName, options }, getOperationSpec$
|
|
2932
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, firewallRuleName, options }, getOperationSpec$9);
|
|
2879
2933
|
}
|
|
2880
2934
|
/**
|
|
2881
2935
|
* List all the firewall rules in a given server.
|
|
@@ -2884,12 +2938,12 @@ class FirewallRulesImpl {
|
|
|
2884
2938
|
* @param options The options parameters.
|
|
2885
2939
|
*/
|
|
2886
2940
|
_listByServer(resourceGroupName, serverName, options) {
|
|
2887
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
2941
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$7);
|
|
2888
2942
|
}
|
|
2889
2943
|
}
|
|
2890
2944
|
// Operation Specifications
|
|
2891
|
-
const serializer$
|
|
2892
|
-
const createOrUpdateOperationSpec = {
|
|
2945
|
+
const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2946
|
+
const createOrUpdateOperationSpec$7 = {
|
|
2893
2947
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
2894
2948
|
httpMethod: "PUT",
|
|
2895
2949
|
responses: {
|
|
@@ -2920,9 +2974,9 @@ const createOrUpdateOperationSpec = {
|
|
|
2920
2974
|
],
|
|
2921
2975
|
headerParameters: [contentType, accept],
|
|
2922
2976
|
mediaType: "json",
|
|
2923
|
-
serializer: serializer$
|
|
2977
|
+
serializer: serializer$f
|
|
2924
2978
|
};
|
|
2925
|
-
const deleteOperationSpec$
|
|
2979
|
+
const deleteOperationSpec$5 = {
|
|
2926
2980
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
2927
2981
|
httpMethod: "DELETE",
|
|
2928
2982
|
responses: {
|
|
@@ -2943,9 +2997,9 @@ const deleteOperationSpec$1 = {
|
|
|
2943
2997
|
firewallRuleName
|
|
2944
2998
|
],
|
|
2945
2999
|
headerParameters: [accept],
|
|
2946
|
-
serializer: serializer$
|
|
3000
|
+
serializer: serializer$f
|
|
2947
3001
|
};
|
|
2948
|
-
const getOperationSpec$
|
|
3002
|
+
const getOperationSpec$9 = {
|
|
2949
3003
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}",
|
|
2950
3004
|
httpMethod: "GET",
|
|
2951
3005
|
responses: {
|
|
@@ -2965,9 +3019,9 @@ const getOperationSpec$1 = {
|
|
|
2965
3019
|
firewallRuleName
|
|
2966
3020
|
],
|
|
2967
3021
|
headerParameters: [accept],
|
|
2968
|
-
serializer: serializer$
|
|
3022
|
+
serializer: serializer$f
|
|
2969
3023
|
};
|
|
2970
|
-
const listByServerOperationSpec$
|
|
3024
|
+
const listByServerOperationSpec$7 = {
|
|
2971
3025
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules",
|
|
2972
3026
|
httpMethod: "GET",
|
|
2973
3027
|
responses: {
|
|
@@ -2986,7 +3040,7 @@ const listByServerOperationSpec$1 = {
|
|
|
2986
3040
|
serverName
|
|
2987
3041
|
],
|
|
2988
3042
|
headerParameters: [accept],
|
|
2989
|
-
serializer: serializer$
|
|
3043
|
+
serializer: serializer$f
|
|
2990
3044
|
};
|
|
2991
3045
|
|
|
2992
3046
|
/*
|
|
@@ -3064,7 +3118,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3064
3118
|
* @param options The options parameters.
|
|
3065
3119
|
*/
|
|
3066
3120
|
get(resourceGroupName, serverName, virtualNetworkRuleName, options) {
|
|
3067
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, virtualNetworkRuleName, options }, getOperationSpec$
|
|
3121
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, virtualNetworkRuleName, options }, getOperationSpec$8);
|
|
3068
3122
|
}
|
|
3069
3123
|
/**
|
|
3070
3124
|
* Creates or updates an existing virtual network rule.
|
|
@@ -3104,7 +3158,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3104
3158
|
virtualNetworkRuleName,
|
|
3105
3159
|
parameters,
|
|
3106
3160
|
options
|
|
3107
|
-
}, createOrUpdateOperationSpec$
|
|
3161
|
+
}, createOrUpdateOperationSpec$6);
|
|
3108
3162
|
return new coreLro.LroEngine(lro, {
|
|
3109
3163
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3110
3164
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3156,7 +3210,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3156
3210
|
}
|
|
3157
3211
|
};
|
|
3158
3212
|
});
|
|
3159
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, virtualNetworkRuleName, options }, deleteOperationSpec$
|
|
3213
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, virtualNetworkRuleName, options }, deleteOperationSpec$4);
|
|
3160
3214
|
return new coreLro.LroEngine(lro, {
|
|
3161
3215
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3162
3216
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3183,7 +3237,7 @@ class VirtualNetworkRulesImpl {
|
|
|
3183
3237
|
* @param options The options parameters.
|
|
3184
3238
|
*/
|
|
3185
3239
|
_listByServer(resourceGroupName, serverName, options) {
|
|
3186
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
3240
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$6);
|
|
3187
3241
|
}
|
|
3188
3242
|
/**
|
|
3189
3243
|
* ListByServerNext
|
|
@@ -3193,12 +3247,12 @@ class VirtualNetworkRulesImpl {
|
|
|
3193
3247
|
* @param options The options parameters.
|
|
3194
3248
|
*/
|
|
3195
3249
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
3196
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec);
|
|
3250
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$3);
|
|
3197
3251
|
}
|
|
3198
3252
|
}
|
|
3199
3253
|
// Operation Specifications
|
|
3200
|
-
const serializer$
|
|
3201
|
-
const getOperationSpec$
|
|
3254
|
+
const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3255
|
+
const getOperationSpec$8 = {
|
|
3202
3256
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
3203
3257
|
httpMethod: "GET",
|
|
3204
3258
|
responses: {
|
|
@@ -3216,9 +3270,9 @@ const getOperationSpec$2 = {
|
|
|
3216
3270
|
virtualNetworkRuleName
|
|
3217
3271
|
],
|
|
3218
3272
|
headerParameters: [accept],
|
|
3219
|
-
serializer: serializer$
|
|
3273
|
+
serializer: serializer$e
|
|
3220
3274
|
};
|
|
3221
|
-
const createOrUpdateOperationSpec$
|
|
3275
|
+
const createOrUpdateOperationSpec$6 = {
|
|
3222
3276
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
3223
3277
|
httpMethod: "PUT",
|
|
3224
3278
|
responses: {
|
|
@@ -3247,9 +3301,9 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
3247
3301
|
],
|
|
3248
3302
|
headerParameters: [contentType, accept],
|
|
3249
3303
|
mediaType: "json",
|
|
3250
|
-
serializer: serializer$
|
|
3304
|
+
serializer: serializer$e
|
|
3251
3305
|
};
|
|
3252
|
-
const deleteOperationSpec$
|
|
3306
|
+
const deleteOperationSpec$4 = {
|
|
3253
3307
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}",
|
|
3254
3308
|
httpMethod: "DELETE",
|
|
3255
3309
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
@@ -3261,9 +3315,9 @@ const deleteOperationSpec$2 = {
|
|
|
3261
3315
|
serverName,
|
|
3262
3316
|
virtualNetworkRuleName
|
|
3263
3317
|
],
|
|
3264
|
-
serializer: serializer$
|
|
3318
|
+
serializer: serializer$e
|
|
3265
3319
|
};
|
|
3266
|
-
const listByServerOperationSpec$
|
|
3320
|
+
const listByServerOperationSpec$6 = {
|
|
3267
3321
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules",
|
|
3268
3322
|
httpMethod: "GET",
|
|
3269
3323
|
responses: {
|
|
@@ -3280,9 +3334,9 @@ const listByServerOperationSpec$2 = {
|
|
|
3280
3334
|
serverName
|
|
3281
3335
|
],
|
|
3282
3336
|
headerParameters: [accept],
|
|
3283
|
-
serializer: serializer$
|
|
3337
|
+
serializer: serializer$e
|
|
3284
3338
|
};
|
|
3285
|
-
const listByServerNextOperationSpec = {
|
|
3339
|
+
const listByServerNextOperationSpec$3 = {
|
|
3286
3340
|
path: "{nextLink}",
|
|
3287
3341
|
httpMethod: "GET",
|
|
3288
3342
|
responses: {
|
|
@@ -3300,7 +3354,7 @@ const listByServerNextOperationSpec = {
|
|
|
3300
3354
|
nextLink
|
|
3301
3355
|
],
|
|
3302
3356
|
headerParameters: [accept],
|
|
3303
|
-
serializer: serializer$
|
|
3357
|
+
serializer: serializer$e
|
|
3304
3358
|
};
|
|
3305
3359
|
|
|
3306
3360
|
/*
|
|
@@ -3396,7 +3450,7 @@ class DatabasesImpl {
|
|
|
3396
3450
|
}
|
|
3397
3451
|
};
|
|
3398
3452
|
});
|
|
3399
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, databaseName, parameters, options }, createOrUpdateOperationSpec$
|
|
3453
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, databaseName, parameters, options }, createOrUpdateOperationSpec$5);
|
|
3400
3454
|
return new coreLro.LroEngine(lro, {
|
|
3401
3455
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3402
3456
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3476,7 +3530,7 @@ class DatabasesImpl {
|
|
|
3476
3530
|
* @param options The options parameters.
|
|
3477
3531
|
*/
|
|
3478
3532
|
get(resourceGroupName, serverName, databaseName, options) {
|
|
3479
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, databaseName, options }, getOperationSpec$
|
|
3533
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, databaseName, options }, getOperationSpec$7);
|
|
3480
3534
|
}
|
|
3481
3535
|
/**
|
|
3482
3536
|
* List all the databases in a given server.
|
|
@@ -3485,12 +3539,12 @@ class DatabasesImpl {
|
|
|
3485
3539
|
* @param options The options parameters.
|
|
3486
3540
|
*/
|
|
3487
3541
|
_listByServer(resourceGroupName, serverName, options) {
|
|
3488
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
3542
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$5);
|
|
3489
3543
|
}
|
|
3490
3544
|
}
|
|
3491
3545
|
// Operation Specifications
|
|
3492
|
-
const serializer$
|
|
3493
|
-
const createOrUpdateOperationSpec$
|
|
3546
|
+
const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3547
|
+
const createOrUpdateOperationSpec$5 = {
|
|
3494
3548
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}",
|
|
3495
3549
|
httpMethod: "PUT",
|
|
3496
3550
|
responses: {
|
|
@@ -3521,7 +3575,7 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
3521
3575
|
],
|
|
3522
3576
|
headerParameters: [contentType, accept],
|
|
3523
3577
|
mediaType: "json",
|
|
3524
|
-
serializer: serializer$
|
|
3578
|
+
serializer: serializer$d
|
|
3525
3579
|
};
|
|
3526
3580
|
const deleteOperationSpec$3 = {
|
|
3527
3581
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}",
|
|
@@ -3544,9 +3598,9 @@ const deleteOperationSpec$3 = {
|
|
|
3544
3598
|
databaseName
|
|
3545
3599
|
],
|
|
3546
3600
|
headerParameters: [accept],
|
|
3547
|
-
serializer: serializer$
|
|
3601
|
+
serializer: serializer$d
|
|
3548
3602
|
};
|
|
3549
|
-
const getOperationSpec$
|
|
3603
|
+
const getOperationSpec$7 = {
|
|
3550
3604
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}",
|
|
3551
3605
|
httpMethod: "GET",
|
|
3552
3606
|
responses: {
|
|
@@ -3566,9 +3620,9 @@ const getOperationSpec$3 = {
|
|
|
3566
3620
|
databaseName
|
|
3567
3621
|
],
|
|
3568
3622
|
headerParameters: [accept],
|
|
3569
|
-
serializer: serializer$
|
|
3623
|
+
serializer: serializer$d
|
|
3570
3624
|
};
|
|
3571
|
-
const listByServerOperationSpec$
|
|
3625
|
+
const listByServerOperationSpec$5 = {
|
|
3572
3626
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases",
|
|
3573
3627
|
httpMethod: "GET",
|
|
3574
3628
|
responses: {
|
|
@@ -3587,7 +3641,7 @@ const listByServerOperationSpec$3 = {
|
|
|
3587
3641
|
serverName
|
|
3588
3642
|
],
|
|
3589
3643
|
headerParameters: [accept],
|
|
3590
|
-
serializer: serializer$
|
|
3644
|
+
serializer: serializer$d
|
|
3591
3645
|
};
|
|
3592
3646
|
|
|
3593
3647
|
/*
|
|
@@ -3683,7 +3737,7 @@ class ConfigurationsImpl {
|
|
|
3683
3737
|
}
|
|
3684
3738
|
};
|
|
3685
3739
|
});
|
|
3686
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, configurationName, parameters, options }, createOrUpdateOperationSpec$
|
|
3740
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, configurationName, parameters, options }, createOrUpdateOperationSpec$4);
|
|
3687
3741
|
return new coreLro.LroEngine(lro, {
|
|
3688
3742
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3689
3743
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3712,7 +3766,7 @@ class ConfigurationsImpl {
|
|
|
3712
3766
|
* @param options The options parameters.
|
|
3713
3767
|
*/
|
|
3714
3768
|
get(resourceGroupName, serverName, configurationName, options) {
|
|
3715
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, configurationName, options }, getOperationSpec$
|
|
3769
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, configurationName, options }, getOperationSpec$6);
|
|
3716
3770
|
}
|
|
3717
3771
|
/**
|
|
3718
3772
|
* List all the configurations in a given server.
|
|
@@ -3725,8 +3779,8 @@ class ConfigurationsImpl {
|
|
|
3725
3779
|
}
|
|
3726
3780
|
}
|
|
3727
3781
|
// Operation Specifications
|
|
3728
|
-
const serializer$
|
|
3729
|
-
const createOrUpdateOperationSpec$
|
|
3782
|
+
const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3783
|
+
const createOrUpdateOperationSpec$4 = {
|
|
3730
3784
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}",
|
|
3731
3785
|
httpMethod: "PUT",
|
|
3732
3786
|
responses: {
|
|
@@ -3757,9 +3811,9 @@ const createOrUpdateOperationSpec$3 = {
|
|
|
3757
3811
|
],
|
|
3758
3812
|
headerParameters: [contentType, accept],
|
|
3759
3813
|
mediaType: "json",
|
|
3760
|
-
serializer: serializer$
|
|
3814
|
+
serializer: serializer$c
|
|
3761
3815
|
};
|
|
3762
|
-
const getOperationSpec$
|
|
3816
|
+
const getOperationSpec$6 = {
|
|
3763
3817
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}",
|
|
3764
3818
|
httpMethod: "GET",
|
|
3765
3819
|
responses: {
|
|
@@ -3779,7 +3833,7 @@ const getOperationSpec$4 = {
|
|
|
3779
3833
|
configurationName
|
|
3780
3834
|
],
|
|
3781
3835
|
headerParameters: [accept],
|
|
3782
|
-
serializer: serializer$
|
|
3836
|
+
serializer: serializer$c
|
|
3783
3837
|
};
|
|
3784
3838
|
const listByServerOperationSpec$4 = {
|
|
3785
3839
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations",
|
|
@@ -3800,7 +3854,7 @@ const listByServerOperationSpec$4 = {
|
|
|
3800
3854
|
serverName
|
|
3801
3855
|
],
|
|
3802
3856
|
headerParameters: [accept],
|
|
3803
|
-
serializer: serializer$
|
|
3857
|
+
serializer: serializer$c
|
|
3804
3858
|
};
|
|
3805
3859
|
|
|
3806
3860
|
/*
|
|
@@ -3873,7 +3927,7 @@ class ServerParametersImpl {
|
|
|
3873
3927
|
}
|
|
3874
3928
|
}
|
|
3875
3929
|
// Operation Specifications
|
|
3876
|
-
const serializer$
|
|
3930
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3877
3931
|
const listUpdateConfigurationsOperationSpec = {
|
|
3878
3932
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/updateConfigurations",
|
|
3879
3933
|
httpMethod: "POST",
|
|
@@ -3904,7 +3958,7 @@ const listUpdateConfigurationsOperationSpec = {
|
|
|
3904
3958
|
],
|
|
3905
3959
|
headerParameters: [contentType, accept],
|
|
3906
3960
|
mediaType: "json",
|
|
3907
|
-
serializer: serializer$
|
|
3961
|
+
serializer: serializer$b
|
|
3908
3962
|
};
|
|
3909
3963
|
|
|
3910
3964
|
/*
|
|
@@ -3975,12 +4029,12 @@ class LogFilesImpl {
|
|
|
3975
4029
|
* @param options The options parameters.
|
|
3976
4030
|
*/
|
|
3977
4031
|
_listByServer(resourceGroupName, serverName, options) {
|
|
3978
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
4032
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$3);
|
|
3979
4033
|
}
|
|
3980
4034
|
}
|
|
3981
4035
|
// Operation Specifications
|
|
3982
|
-
const serializer$
|
|
3983
|
-
const listByServerOperationSpec$
|
|
4036
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4037
|
+
const listByServerOperationSpec$3 = {
|
|
3984
4038
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/logFiles",
|
|
3985
4039
|
httpMethod: "GET",
|
|
3986
4040
|
responses: {
|
|
@@ -3999,7 +4053,7 @@ const listByServerOperationSpec$5 = {
|
|
|
3999
4053
|
serverName
|
|
4000
4054
|
],
|
|
4001
4055
|
headerParameters: [accept],
|
|
4002
|
-
serializer: serializer$
|
|
4056
|
+
serializer: serializer$a
|
|
4003
4057
|
};
|
|
4004
4058
|
|
|
4005
4059
|
/*
|
|
@@ -4104,7 +4158,7 @@ class ServerAdministratorsImpl {
|
|
|
4104
4158
|
}
|
|
4105
4159
|
};
|
|
4106
4160
|
});
|
|
4107
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, properties, options }, createOrUpdateOperationSpec$
|
|
4161
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, properties, options }, createOrUpdateOperationSpec$3);
|
|
4108
4162
|
return new coreLro.LroEngine(lro, {
|
|
4109
4163
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4110
4164
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4155,7 +4209,7 @@ class ServerAdministratorsImpl {
|
|
|
4155
4209
|
}
|
|
4156
4210
|
};
|
|
4157
4211
|
});
|
|
4158
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec$
|
|
4212
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec$2);
|
|
4159
4213
|
return new coreLro.LroEngine(lro, {
|
|
4160
4214
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4161
4215
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4181,11 +4235,11 @@ class ServerAdministratorsImpl {
|
|
|
4181
4235
|
* @param options The options parameters.
|
|
4182
4236
|
*/
|
|
4183
4237
|
_list(resourceGroupName, serverName, options) {
|
|
4184
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$
|
|
4238
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$4);
|
|
4185
4239
|
}
|
|
4186
4240
|
}
|
|
4187
4241
|
// Operation Specifications
|
|
4188
|
-
const serializer$
|
|
4242
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4189
4243
|
const getOperationSpec$5 = {
|
|
4190
4244
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory",
|
|
4191
4245
|
httpMethod: "GET",
|
|
@@ -4205,9 +4259,9 @@ const getOperationSpec$5 = {
|
|
|
4205
4259
|
serverName
|
|
4206
4260
|
],
|
|
4207
4261
|
headerParameters: [accept],
|
|
4208
|
-
serializer: serializer$
|
|
4262
|
+
serializer: serializer$9
|
|
4209
4263
|
};
|
|
4210
|
-
const createOrUpdateOperationSpec$
|
|
4264
|
+
const createOrUpdateOperationSpec$3 = {
|
|
4211
4265
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory",
|
|
4212
4266
|
httpMethod: "PUT",
|
|
4213
4267
|
responses: {
|
|
@@ -4237,9 +4291,9 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
4237
4291
|
],
|
|
4238
4292
|
headerParameters: [contentType, accept],
|
|
4239
4293
|
mediaType: "json",
|
|
4240
|
-
serializer: serializer$
|
|
4294
|
+
serializer: serializer$9
|
|
4241
4295
|
};
|
|
4242
|
-
const deleteOperationSpec$
|
|
4296
|
+
const deleteOperationSpec$2 = {
|
|
4243
4297
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory",
|
|
4244
4298
|
httpMethod: "DELETE",
|
|
4245
4299
|
responses: {
|
|
@@ -4259,9 +4313,9 @@ const deleteOperationSpec$4 = {
|
|
|
4259
4313
|
serverName
|
|
4260
4314
|
],
|
|
4261
4315
|
headerParameters: [accept],
|
|
4262
|
-
serializer: serializer$
|
|
4316
|
+
serializer: serializer$9
|
|
4263
4317
|
};
|
|
4264
|
-
const listOperationSpec$
|
|
4318
|
+
const listOperationSpec$4 = {
|
|
4265
4319
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators",
|
|
4266
4320
|
httpMethod: "GET",
|
|
4267
4321
|
responses: {
|
|
@@ -4280,7 +4334,7 @@ const listOperationSpec$1 = {
|
|
|
4280
4334
|
serverName
|
|
4281
4335
|
],
|
|
4282
4336
|
headerParameters: [accept],
|
|
4283
|
-
serializer: serializer$
|
|
4337
|
+
serializer: serializer$9
|
|
4284
4338
|
};
|
|
4285
4339
|
|
|
4286
4340
|
/*
|
|
@@ -4306,12 +4360,12 @@ class RecoverableServersImpl {
|
|
|
4306
4360
|
* @param options The options parameters.
|
|
4307
4361
|
*/
|
|
4308
4362
|
get(resourceGroupName, serverName, options) {
|
|
4309
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$
|
|
4363
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, getOperationSpec$4);
|
|
4310
4364
|
}
|
|
4311
4365
|
}
|
|
4312
4366
|
// Operation Specifications
|
|
4313
|
-
const serializer$
|
|
4314
|
-
const getOperationSpec$
|
|
4367
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4368
|
+
const getOperationSpec$4 = {
|
|
4315
4369
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/recoverableServers",
|
|
4316
4370
|
httpMethod: "GET",
|
|
4317
4371
|
responses: {
|
|
@@ -4330,7 +4384,7 @@ const getOperationSpec$6 = {
|
|
|
4330
4384
|
serverName
|
|
4331
4385
|
],
|
|
4332
4386
|
headerParameters: [accept],
|
|
4333
|
-
serializer: serializer$
|
|
4387
|
+
serializer: serializer$8
|
|
4334
4388
|
};
|
|
4335
4389
|
|
|
4336
4390
|
/*
|
|
@@ -4401,12 +4455,12 @@ class ServerBasedPerformanceTierImpl {
|
|
|
4401
4455
|
* @param options The options parameters.
|
|
4402
4456
|
*/
|
|
4403
4457
|
_list(resourceGroupName, serverName, options) {
|
|
4404
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$
|
|
4458
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec$3);
|
|
4405
4459
|
}
|
|
4406
4460
|
}
|
|
4407
4461
|
// Operation Specifications
|
|
4408
|
-
const serializer$
|
|
4409
|
-
const listOperationSpec$
|
|
4462
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4463
|
+
const listOperationSpec$3 = {
|
|
4410
4464
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/performanceTiers",
|
|
4411
4465
|
httpMethod: "GET",
|
|
4412
4466
|
responses: {
|
|
@@ -4425,7 +4479,7 @@ const listOperationSpec$2 = {
|
|
|
4425
4479
|
serverName
|
|
4426
4480
|
],
|
|
4427
4481
|
headerParameters: [accept],
|
|
4428
|
-
serializer: serializer$
|
|
4482
|
+
serializer: serializer$7
|
|
4429
4483
|
};
|
|
4430
4484
|
|
|
4431
4485
|
/*
|
|
@@ -4494,12 +4548,12 @@ class LocationBasedPerformanceTierImpl {
|
|
|
4494
4548
|
* @param options The options parameters.
|
|
4495
4549
|
*/
|
|
4496
4550
|
_list(locationName, options) {
|
|
4497
|
-
return this.client.sendOperationRequest({ locationName, options }, listOperationSpec$
|
|
4551
|
+
return this.client.sendOperationRequest({ locationName, options }, listOperationSpec$2);
|
|
4498
4552
|
}
|
|
4499
4553
|
}
|
|
4500
4554
|
// Operation Specifications
|
|
4501
|
-
const serializer$
|
|
4502
|
-
const listOperationSpec$
|
|
4555
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4556
|
+
const listOperationSpec$2 = {
|
|
4503
4557
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/performanceTiers",
|
|
4504
4558
|
httpMethod: "GET",
|
|
4505
4559
|
responses: {
|
|
@@ -4517,7 +4571,7 @@ const listOperationSpec$3 = {
|
|
|
4517
4571
|
locationName
|
|
4518
4572
|
],
|
|
4519
4573
|
headerParameters: [accept],
|
|
4520
|
-
serializer: serializer$
|
|
4574
|
+
serializer: serializer$6
|
|
4521
4575
|
};
|
|
4522
4576
|
|
|
4523
4577
|
/*
|
|
@@ -4546,7 +4600,7 @@ class CheckNameAvailabilityImpl {
|
|
|
4546
4600
|
}
|
|
4547
4601
|
}
|
|
4548
4602
|
// Operation Specifications
|
|
4549
|
-
const serializer$
|
|
4603
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4550
4604
|
const executeOperationSpec = {
|
|
4551
4605
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability",
|
|
4552
4606
|
httpMethod: "POST",
|
|
@@ -4563,7 +4617,7 @@ const executeOperationSpec = {
|
|
|
4563
4617
|
urlParameters: [$host, subscriptionId],
|
|
4564
4618
|
headerParameters: [contentType, accept],
|
|
4565
4619
|
mediaType: "json",
|
|
4566
|
-
serializer: serializer$
|
|
4620
|
+
serializer: serializer$5
|
|
4567
4621
|
};
|
|
4568
4622
|
|
|
4569
4623
|
/*
|
|
@@ -4587,12 +4641,12 @@ class OperationsImpl {
|
|
|
4587
4641
|
* @param options The options parameters.
|
|
4588
4642
|
*/
|
|
4589
4643
|
list(options) {
|
|
4590
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
4644
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
4591
4645
|
}
|
|
4592
4646
|
}
|
|
4593
4647
|
// Operation Specifications
|
|
4594
|
-
const serializer$
|
|
4595
|
-
const listOperationSpec$
|
|
4648
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4649
|
+
const listOperationSpec$1 = {
|
|
4596
4650
|
path: "/providers/Microsoft.DBforPostgreSQL/operations",
|
|
4597
4651
|
httpMethod: "GET",
|
|
4598
4652
|
responses: {
|
|
@@ -4606,7 +4660,7 @@ const listOperationSpec$4 = {
|
|
|
4606
4660
|
queryParameters: [apiVersion],
|
|
4607
4661
|
urlParameters: [$host],
|
|
4608
4662
|
headerParameters: [accept],
|
|
4609
|
-
serializer: serializer$
|
|
4663
|
+
serializer: serializer$4
|
|
4610
4664
|
};
|
|
4611
4665
|
|
|
4612
4666
|
/*
|
|
@@ -4684,7 +4738,7 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
4684
4738
|
* @param options The options parameters.
|
|
4685
4739
|
*/
|
|
4686
4740
|
get(resourceGroupName, serverName, securityAlertPolicyName, options) {
|
|
4687
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, securityAlertPolicyName, options }, getOperationSpec$
|
|
4741
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, securityAlertPolicyName, options }, getOperationSpec$3);
|
|
4688
4742
|
}
|
|
4689
4743
|
/**
|
|
4690
4744
|
* Creates or updates a threat detection policy.
|
|
@@ -4724,7 +4778,7 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
4724
4778
|
securityAlertPolicyName,
|
|
4725
4779
|
parameters,
|
|
4726
4780
|
options
|
|
4727
|
-
}, createOrUpdateOperationSpec$
|
|
4781
|
+
}, createOrUpdateOperationSpec$2);
|
|
4728
4782
|
return new coreLro.LroEngine(lro, {
|
|
4729
4783
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4730
4784
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4752,7 +4806,7 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
4752
4806
|
* @param options The options parameters.
|
|
4753
4807
|
*/
|
|
4754
4808
|
_listByServer(resourceGroupName, serverName, options) {
|
|
4755
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
4809
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$2);
|
|
4756
4810
|
}
|
|
4757
4811
|
/**
|
|
4758
4812
|
* ListByServerNext
|
|
@@ -4762,12 +4816,12 @@ class ServerSecurityAlertPoliciesImpl {
|
|
|
4762
4816
|
* @param options The options parameters.
|
|
4763
4817
|
*/
|
|
4764
4818
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
4765
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$
|
|
4819
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$2);
|
|
4766
4820
|
}
|
|
4767
4821
|
}
|
|
4768
4822
|
// Operation Specifications
|
|
4769
|
-
const serializer$
|
|
4770
|
-
const getOperationSpec$
|
|
4823
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4824
|
+
const getOperationSpec$3 = {
|
|
4771
4825
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}",
|
|
4772
4826
|
httpMethod: "GET",
|
|
4773
4827
|
responses: {
|
|
@@ -4785,9 +4839,9 @@ const getOperationSpec$7 = {
|
|
|
4785
4839
|
securityAlertPolicyName
|
|
4786
4840
|
],
|
|
4787
4841
|
headerParameters: [accept],
|
|
4788
|
-
serializer: serializer$
|
|
4842
|
+
serializer: serializer$3
|
|
4789
4843
|
};
|
|
4790
|
-
const createOrUpdateOperationSpec$
|
|
4844
|
+
const createOrUpdateOperationSpec$2 = {
|
|
4791
4845
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}",
|
|
4792
4846
|
httpMethod: "PUT",
|
|
4793
4847
|
responses: {
|
|
@@ -4816,9 +4870,9 @@ const createOrUpdateOperationSpec$5 = {
|
|
|
4816
4870
|
],
|
|
4817
4871
|
headerParameters: [contentType, accept],
|
|
4818
4872
|
mediaType: "json",
|
|
4819
|
-
serializer: serializer$
|
|
4873
|
+
serializer: serializer$3
|
|
4820
4874
|
};
|
|
4821
|
-
const listByServerOperationSpec$
|
|
4875
|
+
const listByServerOperationSpec$2 = {
|
|
4822
4876
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies",
|
|
4823
4877
|
httpMethod: "GET",
|
|
4824
4878
|
responses: {
|
|
@@ -4835,9 +4889,9 @@ const listByServerOperationSpec$6 = {
|
|
|
4835
4889
|
serverName
|
|
4836
4890
|
],
|
|
4837
4891
|
headerParameters: [accept],
|
|
4838
|
-
serializer: serializer$
|
|
4892
|
+
serializer: serializer$3
|
|
4839
4893
|
};
|
|
4840
|
-
const listByServerNextOperationSpec$
|
|
4894
|
+
const listByServerNextOperationSpec$2 = {
|
|
4841
4895
|
path: "{nextLink}",
|
|
4842
4896
|
httpMethod: "GET",
|
|
4843
4897
|
responses: {
|
|
@@ -4855,7 +4909,7 @@ const listByServerNextOperationSpec$1 = {
|
|
|
4855
4909
|
nextLink
|
|
4856
4910
|
],
|
|
4857
4911
|
headerParameters: [accept],
|
|
4858
|
-
serializer: serializer$
|
|
4912
|
+
serializer: serializer$3
|
|
4859
4913
|
};
|
|
4860
4914
|
|
|
4861
4915
|
/*
|
|
@@ -4933,7 +4987,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4933
4987
|
* @param options The options parameters.
|
|
4934
4988
|
*/
|
|
4935
4989
|
get(resourceGroupName, serverName, privateEndpointConnectionName, options) {
|
|
4936
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, privateEndpointConnectionName, options }, getOperationSpec$
|
|
4990
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, privateEndpointConnectionName, options }, getOperationSpec$2);
|
|
4937
4991
|
}
|
|
4938
4992
|
/**
|
|
4939
4993
|
* Approve or reject a private endpoint connection with a given name.
|
|
@@ -4973,7 +5027,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4973
5027
|
privateEndpointConnectionName,
|
|
4974
5028
|
parameters,
|
|
4975
5029
|
options
|
|
4976
|
-
}, createOrUpdateOperationSpec$
|
|
5030
|
+
}, createOrUpdateOperationSpec$1);
|
|
4977
5031
|
return new coreLro.LroEngine(lro, {
|
|
4978
5032
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4979
5033
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5025,7 +5079,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
5025
5079
|
}
|
|
5026
5080
|
};
|
|
5027
5081
|
});
|
|
5028
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, privateEndpointConnectionName, options }, deleteOperationSpec$
|
|
5082
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, privateEndpointConnectionName, options }, deleteOperationSpec$1);
|
|
5029
5083
|
return new coreLro.LroEngine(lro, {
|
|
5030
5084
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5031
5085
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5111,7 +5165,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
5111
5165
|
* @param options The options parameters.
|
|
5112
5166
|
*/
|
|
5113
5167
|
_listByServer(resourceGroupName, serverName, options) {
|
|
5114
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$
|
|
5168
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec$1);
|
|
5115
5169
|
}
|
|
5116
5170
|
/**
|
|
5117
5171
|
* ListByServerNext
|
|
@@ -5121,12 +5175,12 @@ class PrivateEndpointConnectionsImpl {
|
|
|
5121
5175
|
* @param options The options parameters.
|
|
5122
5176
|
*/
|
|
5123
5177
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
5124
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$
|
|
5178
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec$1);
|
|
5125
5179
|
}
|
|
5126
5180
|
}
|
|
5127
5181
|
// Operation Specifications
|
|
5128
|
-
const serializer$
|
|
5129
|
-
const getOperationSpec$
|
|
5182
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5183
|
+
const getOperationSpec$2 = {
|
|
5130
5184
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
5131
5185
|
httpMethod: "GET",
|
|
5132
5186
|
responses: {
|
|
@@ -5146,9 +5200,9 @@ const getOperationSpec$8 = {
|
|
|
5146
5200
|
privateEndpointConnectionName
|
|
5147
5201
|
],
|
|
5148
5202
|
headerParameters: [accept],
|
|
5149
|
-
serializer: serializer$
|
|
5203
|
+
serializer: serializer$2
|
|
5150
5204
|
};
|
|
5151
|
-
const createOrUpdateOperationSpec$
|
|
5205
|
+
const createOrUpdateOperationSpec$1 = {
|
|
5152
5206
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
5153
5207
|
httpMethod: "PUT",
|
|
5154
5208
|
responses: {
|
|
@@ -5179,9 +5233,9 @@ const createOrUpdateOperationSpec$6 = {
|
|
|
5179
5233
|
],
|
|
5180
5234
|
headerParameters: [contentType, accept],
|
|
5181
5235
|
mediaType: "json",
|
|
5182
|
-
serializer: serializer$
|
|
5236
|
+
serializer: serializer$2
|
|
5183
5237
|
};
|
|
5184
|
-
const deleteOperationSpec$
|
|
5238
|
+
const deleteOperationSpec$1 = {
|
|
5185
5239
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
5186
5240
|
httpMethod: "DELETE",
|
|
5187
5241
|
responses: {
|
|
@@ -5202,7 +5256,7 @@ const deleteOperationSpec$5 = {
|
|
|
5202
5256
|
privateEndpointConnectionName
|
|
5203
5257
|
],
|
|
5204
5258
|
headerParameters: [accept],
|
|
5205
|
-
serializer: serializer$
|
|
5259
|
+
serializer: serializer$2
|
|
5206
5260
|
};
|
|
5207
5261
|
const updateTagsOperationSpec = {
|
|
5208
5262
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -5235,9 +5289,9 @@ const updateTagsOperationSpec = {
|
|
|
5235
5289
|
],
|
|
5236
5290
|
headerParameters: [contentType, accept],
|
|
5237
5291
|
mediaType: "json",
|
|
5238
|
-
serializer: serializer$
|
|
5292
|
+
serializer: serializer$2
|
|
5239
5293
|
};
|
|
5240
|
-
const listByServerOperationSpec$
|
|
5294
|
+
const listByServerOperationSpec$1 = {
|
|
5241
5295
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections",
|
|
5242
5296
|
httpMethod: "GET",
|
|
5243
5297
|
responses: {
|
|
@@ -5256,9 +5310,9 @@ const listByServerOperationSpec$7 = {
|
|
|
5256
5310
|
serverName
|
|
5257
5311
|
],
|
|
5258
5312
|
headerParameters: [accept],
|
|
5259
|
-
serializer: serializer$
|
|
5313
|
+
serializer: serializer$2
|
|
5260
5314
|
};
|
|
5261
|
-
const listByServerNextOperationSpec$
|
|
5315
|
+
const listByServerNextOperationSpec$1 = {
|
|
5262
5316
|
path: "{nextLink}",
|
|
5263
5317
|
httpMethod: "GET",
|
|
5264
5318
|
responses: {
|
|
@@ -5278,7 +5332,7 @@ const listByServerNextOperationSpec$2 = {
|
|
|
5278
5332
|
nextLink
|
|
5279
5333
|
],
|
|
5280
5334
|
headerParameters: [accept],
|
|
5281
|
-
serializer: serializer$
|
|
5335
|
+
serializer: serializer$2
|
|
5282
5336
|
};
|
|
5283
5337
|
|
|
5284
5338
|
/*
|
|
@@ -5355,7 +5409,7 @@ class PrivateLinkResourcesImpl {
|
|
|
5355
5409
|
* @param options The options parameters.
|
|
5356
5410
|
*/
|
|
5357
5411
|
_listByServer(resourceGroupName, serverName, options) {
|
|
5358
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec
|
|
5412
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listByServerOperationSpec);
|
|
5359
5413
|
}
|
|
5360
5414
|
/**
|
|
5361
5415
|
* Gets a private link resource for PostgreSQL server.
|
|
@@ -5365,7 +5419,7 @@ class PrivateLinkResourcesImpl {
|
|
|
5365
5419
|
* @param options The options parameters.
|
|
5366
5420
|
*/
|
|
5367
5421
|
get(resourceGroupName, serverName, groupName, options) {
|
|
5368
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, groupName, options }, getOperationSpec$
|
|
5422
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, groupName, options }, getOperationSpec$1);
|
|
5369
5423
|
}
|
|
5370
5424
|
/**
|
|
5371
5425
|
* ListByServerNext
|
|
@@ -5375,12 +5429,12 @@ class PrivateLinkResourcesImpl {
|
|
|
5375
5429
|
* @param options The options parameters.
|
|
5376
5430
|
*/
|
|
5377
5431
|
_listByServerNext(resourceGroupName, serverName, nextLink, options) {
|
|
5378
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec
|
|
5432
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, nextLink, options }, listByServerNextOperationSpec);
|
|
5379
5433
|
}
|
|
5380
5434
|
}
|
|
5381
5435
|
// Operation Specifications
|
|
5382
|
-
const serializer$
|
|
5383
|
-
const listByServerOperationSpec
|
|
5436
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5437
|
+
const listByServerOperationSpec = {
|
|
5384
5438
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources",
|
|
5385
5439
|
httpMethod: "GET",
|
|
5386
5440
|
responses: {
|
|
@@ -5399,9 +5453,9 @@ const listByServerOperationSpec$8 = {
|
|
|
5399
5453
|
serverName
|
|
5400
5454
|
],
|
|
5401
5455
|
headerParameters: [accept],
|
|
5402
|
-
serializer: serializer$
|
|
5456
|
+
serializer: serializer$1
|
|
5403
5457
|
};
|
|
5404
|
-
const getOperationSpec$
|
|
5458
|
+
const getOperationSpec$1 = {
|
|
5405
5459
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}",
|
|
5406
5460
|
httpMethod: "GET",
|
|
5407
5461
|
responses: {
|
|
@@ -5421,9 +5475,9 @@ const getOperationSpec$9 = {
|
|
|
5421
5475
|
groupName
|
|
5422
5476
|
],
|
|
5423
5477
|
headerParameters: [accept],
|
|
5424
|
-
serializer: serializer$
|
|
5478
|
+
serializer: serializer$1
|
|
5425
5479
|
};
|
|
5426
|
-
const listByServerNextOperationSpec
|
|
5480
|
+
const listByServerNextOperationSpec = {
|
|
5427
5481
|
path: "{nextLink}",
|
|
5428
5482
|
httpMethod: "GET",
|
|
5429
5483
|
responses: {
|
|
@@ -5443,7 +5497,7 @@ const listByServerNextOperationSpec$3 = {
|
|
|
5443
5497
|
nextLink
|
|
5444
5498
|
],
|
|
5445
5499
|
headerParameters: [accept],
|
|
5446
|
-
serializer: serializer$
|
|
5500
|
+
serializer: serializer$1
|
|
5447
5501
|
};
|
|
5448
5502
|
|
|
5449
5503
|
/*
|
|
@@ -5520,7 +5574,7 @@ class ServerKeysImpl {
|
|
|
5520
5574
|
* @param options The options parameters.
|
|
5521
5575
|
*/
|
|
5522
5576
|
_list(resourceGroupName, serverName, options) {
|
|
5523
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec
|
|
5577
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, options }, listOperationSpec);
|
|
5524
5578
|
}
|
|
5525
5579
|
/**
|
|
5526
5580
|
* Gets a PostgreSQL Server key.
|
|
@@ -5530,7 +5584,7 @@ class ServerKeysImpl {
|
|
|
5530
5584
|
* @param options The options parameters.
|
|
5531
5585
|
*/
|
|
5532
5586
|
get(resourceGroupName, serverName, keyName, options) {
|
|
5533
|
-
return this.client.sendOperationRequest({ resourceGroupName, serverName, keyName, options }, getOperationSpec
|
|
5587
|
+
return this.client.sendOperationRequest({ resourceGroupName, serverName, keyName, options }, getOperationSpec);
|
|
5534
5588
|
}
|
|
5535
5589
|
/**
|
|
5536
5590
|
* Creates or updates a PostgreSQL Server key.
|
|
@@ -5564,7 +5618,7 @@ class ServerKeysImpl {
|
|
|
5564
5618
|
}
|
|
5565
5619
|
};
|
|
5566
5620
|
});
|
|
5567
|
-
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, parameters, options }, createOrUpdateOperationSpec
|
|
5621
|
+
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, parameters, options }, createOrUpdateOperationSpec);
|
|
5568
5622
|
return new coreLro.LroEngine(lro, {
|
|
5569
5623
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5570
5624
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5616,7 +5670,7 @@ class ServerKeysImpl {
|
|
|
5616
5670
|
}
|
|
5617
5671
|
};
|
|
5618
5672
|
});
|
|
5619
|
-
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, options }, deleteOperationSpec
|
|
5673
|
+
const lro = new LroImpl(sendOperation, { serverName, keyName, resourceGroupName, options }, deleteOperationSpec);
|
|
5620
5674
|
return new coreLro.LroEngine(lro, {
|
|
5621
5675
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5622
5676
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5648,8 +5702,8 @@ class ServerKeysImpl {
|
|
|
5648
5702
|
}
|
|
5649
5703
|
}
|
|
5650
5704
|
// Operation Specifications
|
|
5651
|
-
const serializer
|
|
5652
|
-
const listOperationSpec
|
|
5705
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5706
|
+
const listOperationSpec = {
|
|
5653
5707
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys",
|
|
5654
5708
|
httpMethod: "GET",
|
|
5655
5709
|
responses: {
|
|
@@ -5668,9 +5722,9 @@ const listOperationSpec$5 = {
|
|
|
5668
5722
|
serverName
|
|
5669
5723
|
],
|
|
5670
5724
|
headerParameters: [accept],
|
|
5671
|
-
serializer
|
|
5725
|
+
serializer
|
|
5672
5726
|
};
|
|
5673
|
-
const getOperationSpec
|
|
5727
|
+
const getOperationSpec = {
|
|
5674
5728
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys/{keyName}",
|
|
5675
5729
|
httpMethod: "GET",
|
|
5676
5730
|
responses: {
|
|
@@ -5690,9 +5744,9 @@ const getOperationSpec$a = {
|
|
|
5690
5744
|
keyName
|
|
5691
5745
|
],
|
|
5692
5746
|
headerParameters: [accept],
|
|
5693
|
-
serializer
|
|
5747
|
+
serializer
|
|
5694
5748
|
};
|
|
5695
|
-
const createOrUpdateOperationSpec
|
|
5749
|
+
const createOrUpdateOperationSpec = {
|
|
5696
5750
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys/{keyName}",
|
|
5697
5751
|
httpMethod: "PUT",
|
|
5698
5752
|
responses: {
|
|
@@ -5723,9 +5777,9 @@ const createOrUpdateOperationSpec$7 = {
|
|
|
5723
5777
|
],
|
|
5724
5778
|
headerParameters: [contentType, accept],
|
|
5725
5779
|
mediaType: "json",
|
|
5726
|
-
serializer
|
|
5780
|
+
serializer
|
|
5727
5781
|
};
|
|
5728
|
-
const deleteOperationSpec
|
|
5782
|
+
const deleteOperationSpec = {
|
|
5729
5783
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys/{keyName}",
|
|
5730
5784
|
httpMethod: "DELETE",
|
|
5731
5785
|
responses: {
|
|
@@ -5746,7 +5800,7 @@ const deleteOperationSpec$6 = {
|
|
|
5746
5800
|
keyName
|
|
5747
5801
|
],
|
|
5748
5802
|
headerParameters: [accept],
|
|
5749
|
-
serializer
|
|
5803
|
+
serializer
|
|
5750
5804
|
};
|
|
5751
5805
|
const listNextOperationSpec = {
|
|
5752
5806
|
path: "{nextLink}",
|
|
@@ -5768,7 +5822,7 @@ const listNextOperationSpec = {
|
|
|
5768
5822
|
nextLink
|
|
5769
5823
|
],
|
|
5770
5824
|
headerParameters: [accept],
|
|
5771
|
-
serializer
|
|
5825
|
+
serializer
|
|
5772
5826
|
};
|
|
5773
5827
|
|
|
5774
5828
|
/*
|
|
@@ -5778,7 +5832,7 @@ const listNextOperationSpec = {
|
|
|
5778
5832
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
5779
5833
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5780
5834
|
*/
|
|
5781
|
-
class PostgreSQLManagementClient extends
|
|
5835
|
+
class PostgreSQLManagementClient extends coreClient__namespace.ServiceClient {
|
|
5782
5836
|
/**
|
|
5783
5837
|
* Initializes a new instance of the PostgreSQLManagementClient class.
|
|
5784
5838
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|