@scaleway/sdk-redis 2.3.1 → 2.4.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/dist/_virtual/_rolldown/runtime.js +2 -0
- package/dist/v1/api.gen.js +5 -3
- package/dist/v1/content.gen.js +3 -1
- package/dist/v1/index.gen.js +3 -1
- package/dist/v1/marshalling.gen.js +24 -22
- package/dist/v1/metadata.gen.d.ts +89 -0
- package/dist/v1/metadata.gen.js +100 -0
- package/dist/v1/types.gen.js +0 -0
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __exportAll = (all, no_symbols) => {
|
|
3
4
|
let target = {};
|
|
@@ -8,4 +9,5 @@ var __exportAll = (all, no_symbols) => {
|
|
|
8
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
9
10
|
return target;
|
|
10
11
|
};
|
|
12
|
+
//#endregion
|
|
11
13
|
export { __exportAll };
|
package/dist/v1/api.gen.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { CLUSTER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
2
|
import { marshalAddAclRulesRequest, marshalAddClusterSettingsRequest, marshalAddEndpointsRequest, marshalCreateClusterRequest, marshalMigrateClusterRequest, marshalSetAclRulesRequest, marshalSetClusterSettingsRequest, marshalSetEndpointsRequest, marshalUpdateClusterRequest, marshalUpdateEndpointRequest, unmarshalACLRule, unmarshalAddAclRulesResponse, unmarshalAddEndpointsResponse, unmarshalCluster, unmarshalClusterMetricsResponse, unmarshalClusterSettingsResponse, unmarshalEndpoint, unmarshalListClusterVersionsResponse, unmarshalListClustersResponse, unmarshalListNodeTypesResponse, unmarshalSetAclRulesResponse, unmarshalSetEndpointsResponse } from "./marshalling.gen.js";
|
|
3
|
-
import { API, enrichForPagination, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
3
|
+
import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
4
|
+
//#region src/v1/api.gen.ts
|
|
4
5
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
5
6
|
/**
|
|
6
7
|
* Managed Database for Redis™ API.
|
|
7
8
|
|
|
8
9
|
This API allows you to manage your Managed Databases for Redis™.
|
|
9
10
|
*/
|
|
10
|
-
var API
|
|
11
|
+
var API = class extends API$1 {
|
|
11
12
|
/**
|
|
12
13
|
* Locality of this API.
|
|
13
14
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -290,4 +291,5 @@ var API$1 = class extends API {
|
|
|
290
291
|
path: `/redis/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/endpoints/${validatePathParam("endpointId", request.endpointId)}`
|
|
291
292
|
}, unmarshalEndpoint);
|
|
292
293
|
};
|
|
293
|
-
|
|
294
|
+
//#endregion
|
|
295
|
+
export { API };
|
package/dist/v1/content.gen.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
//#region src/v1/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link ClusterStatus}. */
|
|
2
|
-
|
|
3
|
+
var CLUSTER_TRANSIENT_STATUSES = [
|
|
3
4
|
"provisioning",
|
|
4
5
|
"configuring",
|
|
5
6
|
"deleting",
|
|
6
7
|
"autohealing",
|
|
7
8
|
"initializing"
|
|
8
9
|
];
|
|
10
|
+
//#endregion
|
|
9
11
|
export { CLUSTER_TRANSIENT_STATUSES };
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -2,6 +2,7 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { CLUSTER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAddAclRulesRequest, marshalAddClusterSettingsRequest, marshalAddEndpointsRequest, marshalCreateClusterRequest, marshalMigrateClusterRequest, marshalSetAclRulesRequest, marshalSetClusterSettingsRequest, marshalSetEndpointsRequest, marshalUpdateClusterRequest, marshalUpdateEndpointRequest, unmarshalACLRule, unmarshalAddAclRulesResponse, unmarshalAddEndpointsResponse, unmarshalCluster, unmarshalClusterMetricsResponse, unmarshalClusterSettingsResponse, unmarshalEndpoint, unmarshalListClusterVersionsResponse, unmarshalListClustersResponse, unmarshalListNodeTypesResponse, unmarshalSetAclRulesResponse, unmarshalSetEndpointsResponse } from "./marshalling.gen.js";
|
|
4
4
|
import { API } from "./api.gen.js";
|
|
5
|
+
//#region src/v1/index.gen.ts
|
|
5
6
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
API: () => API,
|
|
7
8
|
CLUSTER_TRANSIENT_STATUSES: () => CLUSTER_TRANSIENT_STATUSES,
|
|
@@ -28,4 +29,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
28
29
|
unmarshalSetAclRulesResponse: () => unmarshalSetAclRulesResponse,
|
|
29
30
|
unmarshalSetEndpointsResponse: () => unmarshalSetEndpointsResponse
|
|
30
31
|
});
|
|
31
|
-
|
|
32
|
+
//#endregion
|
|
33
|
+
export { API, CLUSTER_TRANSIENT_STATUSES, index_gen_exports, marshalAddAclRulesRequest, marshalAddClusterSettingsRequest, marshalAddEndpointsRequest, marshalCreateClusterRequest, marshalMigrateClusterRequest, marshalSetAclRulesRequest, marshalSetClusterSettingsRequest, marshalSetEndpointsRequest, marshalUpdateClusterRequest, marshalUpdateEndpointRequest, unmarshalACLRule, unmarshalAddAclRulesResponse, unmarshalAddEndpointsResponse, unmarshalCluster, unmarshalClusterMetricsResponse, unmarshalClusterSettingsResponse, unmarshalEndpoint, unmarshalListClusterVersionsResponse, unmarshalListClustersResponse, unmarshalListNodeTypesResponse, unmarshalSetAclRulesResponse, unmarshalSetEndpointsResponse };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalTimeSeries } from "@scaleway/sdk-client";
|
|
2
2
|
import randomName from "@scaleway/random-name";
|
|
3
|
-
|
|
3
|
+
//#region src/v1/marshalling.gen.ts
|
|
4
|
+
var unmarshalACLRule = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ACLRule' failed as data isn't a dictionary.`);
|
|
5
6
|
return {
|
|
6
7
|
description: data.description,
|
|
@@ -21,7 +22,7 @@ var unmarshalPublicNetwork = (data) => {
|
|
|
21
22
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicNetwork' failed as data isn't a dictionary.`);
|
|
22
23
|
return {};
|
|
23
24
|
};
|
|
24
|
-
|
|
25
|
+
var unmarshalEndpoint = (data) => {
|
|
25
26
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Endpoint' failed as data isn't a dictionary.`);
|
|
26
27
|
return {
|
|
27
28
|
id: data.id,
|
|
@@ -38,7 +39,7 @@ var unmarshalClusterSetting = (data) => {
|
|
|
38
39
|
value: data.value
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
+
var unmarshalCluster = (data) => {
|
|
42
43
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Cluster' failed as data isn't a dictionary.`);
|
|
43
44
|
return {
|
|
44
45
|
aclRules: unmarshalArrayOfObject(data.acl_rules, unmarshalACLRule),
|
|
@@ -60,25 +61,25 @@ const unmarshalCluster = (data) => {
|
|
|
60
61
|
zone: data.zone
|
|
61
62
|
};
|
|
62
63
|
};
|
|
63
|
-
|
|
64
|
+
var unmarshalAddAclRulesResponse = (data) => {
|
|
64
65
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AddAclRulesResponse' failed as data isn't a dictionary.`);
|
|
65
66
|
return {
|
|
66
67
|
aclRules: unmarshalArrayOfObject(data.acl_rules, unmarshalACLRule),
|
|
67
68
|
totalCount: data.total_count
|
|
68
69
|
};
|
|
69
70
|
};
|
|
70
|
-
|
|
71
|
+
var unmarshalAddEndpointsResponse = (data) => {
|
|
71
72
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AddEndpointsResponse' failed as data isn't a dictionary.`);
|
|
72
73
|
return {
|
|
73
74
|
endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint),
|
|
74
75
|
totalCount: data.total_count
|
|
75
76
|
};
|
|
76
77
|
};
|
|
77
|
-
|
|
78
|
+
var unmarshalClusterMetricsResponse = (data) => {
|
|
78
79
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ClusterMetricsResponse' failed as data isn't a dictionary.`);
|
|
79
80
|
return { timeseries: unmarshalArrayOfObject(data.timeseries, unmarshalTimeSeries) };
|
|
80
81
|
};
|
|
81
|
-
|
|
82
|
+
var unmarshalClusterSettingsResponse = (data) => {
|
|
82
83
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ClusterSettingsResponse' failed as data isn't a dictionary.`);
|
|
83
84
|
return { settings: unmarshalArrayOfObject(data.settings, unmarshalClusterSetting) };
|
|
84
85
|
};
|
|
@@ -105,14 +106,14 @@ var unmarshalClusterVersion = (data) => {
|
|
|
105
106
|
zone: data.zone
|
|
106
107
|
};
|
|
107
108
|
};
|
|
108
|
-
|
|
109
|
+
var unmarshalListClusterVersionsResponse = (data) => {
|
|
109
110
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListClusterVersionsResponse' failed as data isn't a dictionary.`);
|
|
110
111
|
return {
|
|
111
112
|
totalCount: data.total_count,
|
|
112
113
|
versions: unmarshalArrayOfObject(data.versions, unmarshalClusterVersion)
|
|
113
114
|
};
|
|
114
115
|
};
|
|
115
|
-
|
|
116
|
+
var unmarshalListClustersResponse = (data) => {
|
|
116
117
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListClustersResponse' failed as data isn't a dictionary.`);
|
|
117
118
|
return {
|
|
118
119
|
clusters: unmarshalArrayOfObject(data.clusters, unmarshalCluster),
|
|
@@ -132,18 +133,18 @@ var unmarshalNodeType = (data) => {
|
|
|
132
133
|
zone: data.zone
|
|
133
134
|
};
|
|
134
135
|
};
|
|
135
|
-
|
|
136
|
+
var unmarshalListNodeTypesResponse = (data) => {
|
|
136
137
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListNodeTypesResponse' failed as data isn't a dictionary.`);
|
|
137
138
|
return {
|
|
138
139
|
nodeTypes: unmarshalArrayOfObject(data.node_types, unmarshalNodeType),
|
|
139
140
|
totalCount: data.total_count
|
|
140
141
|
};
|
|
141
142
|
};
|
|
142
|
-
|
|
143
|
+
var unmarshalSetAclRulesResponse = (data) => {
|
|
143
144
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetAclRulesResponse' failed as data isn't a dictionary.`);
|
|
144
145
|
return { aclRules: unmarshalArrayOfObject(data.acl_rules, unmarshalACLRule) };
|
|
145
146
|
};
|
|
146
|
-
|
|
147
|
+
var unmarshalSetEndpointsResponse = (data) => {
|
|
147
148
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetEndpointsResponse' failed as data isn't a dictionary.`);
|
|
148
149
|
return { endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint) };
|
|
149
150
|
};
|
|
@@ -151,12 +152,12 @@ var marshalACLRuleSpec = (request, defaults) => ({
|
|
|
151
152
|
description: request.description,
|
|
152
153
|
ip_cidr: request.ipCidr
|
|
153
154
|
});
|
|
154
|
-
|
|
155
|
+
var marshalAddAclRulesRequest = (request, defaults) => ({ acl_rules: request.aclRules.map((elt) => marshalACLRuleSpec(elt, defaults)) });
|
|
155
156
|
var marshalClusterSetting = (request, defaults) => ({
|
|
156
157
|
name: request.name,
|
|
157
158
|
value: request.value
|
|
158
159
|
});
|
|
159
|
-
|
|
160
|
+
var marshalAddClusterSettingsRequest = (request, defaults) => ({ settings: request.settings.map((elt) => marshalClusterSetting(elt, defaults)) });
|
|
160
161
|
var marshalEndpointSpecPrivateNetworkSpecIpamConfig = (request, defaults) => ({});
|
|
161
162
|
var marshalEndpointSpecPrivateNetworkSpec = (request, defaults) => ({
|
|
162
163
|
id: request.id,
|
|
@@ -171,8 +172,8 @@ var marshalEndpointSpec = (request, defaults) => ({ ...resolveOneOf([{
|
|
|
171
172
|
param: "public_network",
|
|
172
173
|
value: request.publicNetwork !== void 0 ? marshalEndpointSpecPublicNetworkSpec(request.publicNetwork, defaults) : void 0
|
|
173
174
|
}]) });
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
var marshalAddEndpointsRequest = (request, defaults) => ({ endpoints: request.endpoints.map((elt) => marshalEndpointSpec(elt, defaults)) });
|
|
176
|
+
var marshalCreateClusterRequest = (request, defaults) => ({
|
|
176
177
|
acl_rules: request.aclRules !== void 0 ? request.aclRules.map((elt) => marshalACLRuleSpec(elt, defaults)) : void 0,
|
|
177
178
|
cluster_settings: request.clusterSettings !== void 0 ? request.clusterSettings.map((elt) => marshalClusterSetting(elt, defaults)) : void 0,
|
|
178
179
|
cluster_size: request.clusterSize,
|
|
@@ -186,7 +187,7 @@ const marshalCreateClusterRequest = (request, defaults) => ({
|
|
|
186
187
|
user_name: request.userName,
|
|
187
188
|
version: request.version
|
|
188
189
|
});
|
|
189
|
-
|
|
190
|
+
var marshalMigrateClusterRequest = (request, defaults) => ({ ...resolveOneOf([
|
|
190
191
|
{
|
|
191
192
|
param: "version",
|
|
192
193
|
value: request.version
|
|
@@ -200,20 +201,21 @@ const marshalMigrateClusterRequest = (request, defaults) => ({ ...resolveOneOf([
|
|
|
200
201
|
value: request.clusterSize
|
|
201
202
|
}
|
|
202
203
|
]) });
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
var marshalSetAclRulesRequest = (request, defaults) => ({ acl_rules: request.aclRules.map((elt) => marshalACLRuleSpec(elt, defaults)) });
|
|
205
|
+
var marshalSetClusterSettingsRequest = (request, defaults) => ({ settings: request.settings.map((elt) => marshalClusterSetting(elt, defaults)) });
|
|
206
|
+
var marshalSetEndpointsRequest = (request, defaults) => ({ endpoints: request.endpoints.map((elt) => marshalEndpointSpec(elt, defaults)) });
|
|
207
|
+
var marshalUpdateClusterRequest = (request, defaults) => ({
|
|
207
208
|
name: request.name,
|
|
208
209
|
password: request.password,
|
|
209
210
|
tags: request.tags,
|
|
210
211
|
user_name: request.userName
|
|
211
212
|
});
|
|
212
|
-
|
|
213
|
+
var marshalUpdateEndpointRequest = (request, defaults) => ({ ...resolveOneOf([{
|
|
213
214
|
param: "private_network",
|
|
214
215
|
value: request.privateNetwork !== void 0 ? marshalEndpointSpecPrivateNetworkSpec(request.privateNetwork, defaults) : void 0
|
|
215
216
|
}, {
|
|
216
217
|
param: "public_network",
|
|
217
218
|
value: request.publicNetwork !== void 0 ? marshalEndpointSpecPublicNetworkSpec(request.publicNetwork, defaults) : void 0
|
|
218
219
|
}]) });
|
|
220
|
+
//#endregion
|
|
219
221
|
export { marshalAddAclRulesRequest, marshalAddClusterSettingsRequest, marshalAddEndpointsRequest, marshalCreateClusterRequest, marshalMigrateClusterRequest, marshalSetAclRulesRequest, marshalSetClusterSettingsRequest, marshalSetEndpointsRequest, marshalUpdateClusterRequest, marshalUpdateEndpointRequest, unmarshalACLRule, unmarshalAddAclRulesResponse, unmarshalAddEndpointsResponse, unmarshalCluster, unmarshalClusterMetricsResponse, unmarshalClusterSettingsResponse, unmarshalEndpoint, unmarshalListClusterVersionsResponse, unmarshalListClustersResponse, unmarshalListNodeTypesResponse, unmarshalSetAclRulesResponse, unmarshalSetEndpointsResponse };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export declare const queriesMetadata: {
|
|
2
|
+
readonly namespace: "redis";
|
|
3
|
+
readonly version: "v1";
|
|
4
|
+
readonly folderName: "redisv1";
|
|
5
|
+
readonly services: readonly [{
|
|
6
|
+
readonly apiClass: "API";
|
|
7
|
+
readonly methods: readonly [{
|
|
8
|
+
readonly methodName: "getCluster";
|
|
9
|
+
readonly protoName: "GetCluster";
|
|
10
|
+
readonly paramsType: "GetClusterRequest";
|
|
11
|
+
readonly returnType: "Cluster";
|
|
12
|
+
readonly isList: false;
|
|
13
|
+
readonly paginationType: "none";
|
|
14
|
+
readonly isPrivate: false;
|
|
15
|
+
readonly description: "\"";
|
|
16
|
+
readonly hasWaiter: true;
|
|
17
|
+
}, {
|
|
18
|
+
readonly methodName: "listClusters";
|
|
19
|
+
readonly protoName: "ListClusters";
|
|
20
|
+
readonly paramsType: "ListClustersRequest";
|
|
21
|
+
readonly returnType: "ListClustersResponse";
|
|
22
|
+
readonly isList: true;
|
|
23
|
+
readonly paginationType: "offset";
|
|
24
|
+
readonly pageParamKey: "page";
|
|
25
|
+
readonly listItemType: "Cluster";
|
|
26
|
+
readonly isPrivate: false;
|
|
27
|
+
readonly description: "\"";
|
|
28
|
+
}, {
|
|
29
|
+
readonly methodName: "getClusterMetrics";
|
|
30
|
+
readonly protoName: "GetClusterMetrics";
|
|
31
|
+
readonly paramsType: "GetClusterMetricsRequest";
|
|
32
|
+
readonly returnType: "ClusterMetricsResponse";
|
|
33
|
+
readonly isList: false;
|
|
34
|
+
readonly paginationType: "none";
|
|
35
|
+
readonly isPrivate: false;
|
|
36
|
+
readonly description: "\"";
|
|
37
|
+
}, {
|
|
38
|
+
readonly methodName: "listNodeTypes";
|
|
39
|
+
readonly protoName: "ListNodeTypes";
|
|
40
|
+
readonly paramsType: "ListNodeTypesRequest";
|
|
41
|
+
readonly returnType: "ListNodeTypesResponse";
|
|
42
|
+
readonly isList: true;
|
|
43
|
+
readonly paginationType: "offset";
|
|
44
|
+
readonly pageParamKey: "page";
|
|
45
|
+
readonly listItemType: "NodeType";
|
|
46
|
+
readonly isPrivate: false;
|
|
47
|
+
readonly description: "\"";
|
|
48
|
+
}, {
|
|
49
|
+
readonly methodName: "listClusterVersions";
|
|
50
|
+
readonly protoName: "ListClusterVersions";
|
|
51
|
+
readonly paramsType: "ListClusterVersionsRequest";
|
|
52
|
+
readonly returnType: "ListClusterVersionsResponse";
|
|
53
|
+
readonly isList: true;
|
|
54
|
+
readonly paginationType: "offset";
|
|
55
|
+
readonly pageParamKey: "page";
|
|
56
|
+
readonly listItemType: "ClusterVersion";
|
|
57
|
+
readonly isPrivate: false;
|
|
58
|
+
readonly description: "\"";
|
|
59
|
+
}, {
|
|
60
|
+
readonly methodName: "getClusterCertificate";
|
|
61
|
+
readonly protoName: "GetClusterCertificate";
|
|
62
|
+
readonly paramsType: "GetClusterCertificateRequest";
|
|
63
|
+
readonly returnType: "Blob";
|
|
64
|
+
readonly isList: false;
|
|
65
|
+
readonly paginationType: "none";
|
|
66
|
+
readonly isPrivate: false;
|
|
67
|
+
readonly description: "\"";
|
|
68
|
+
}, {
|
|
69
|
+
readonly methodName: "getAclRule";
|
|
70
|
+
readonly protoName: "GetAclRule";
|
|
71
|
+
readonly paramsType: "GetAclRuleRequest";
|
|
72
|
+
readonly returnType: "ACLRule";
|
|
73
|
+
readonly isList: false;
|
|
74
|
+
readonly paginationType: "none";
|
|
75
|
+
readonly isPrivate: false;
|
|
76
|
+
readonly description: "\"";
|
|
77
|
+
}, {
|
|
78
|
+
readonly methodName: "getEndpoint";
|
|
79
|
+
readonly protoName: "GetEndpoint";
|
|
80
|
+
readonly paramsType: "GetEndpointRequest";
|
|
81
|
+
readonly returnType: "Endpoint";
|
|
82
|
+
readonly isList: false;
|
|
83
|
+
readonly paginationType: "none";
|
|
84
|
+
readonly isPrivate: false;
|
|
85
|
+
readonly description: "\"";
|
|
86
|
+
}];
|
|
87
|
+
}];
|
|
88
|
+
};
|
|
89
|
+
export type QueriesMetadata = typeof queriesMetadata;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//#region src/v1/metadata.gen.ts
|
|
2
|
+
var queriesMetadata = {
|
|
3
|
+
namespace: "redis",
|
|
4
|
+
version: "v1",
|
|
5
|
+
folderName: "redisv1",
|
|
6
|
+
services: [{
|
|
7
|
+
apiClass: "API",
|
|
8
|
+
methods: [
|
|
9
|
+
{
|
|
10
|
+
methodName: "getCluster",
|
|
11
|
+
protoName: "GetCluster",
|
|
12
|
+
paramsType: "GetClusterRequest",
|
|
13
|
+
returnType: "Cluster",
|
|
14
|
+
isList: false,
|
|
15
|
+
paginationType: "none",
|
|
16
|
+
isPrivate: false,
|
|
17
|
+
description: "\"",
|
|
18
|
+
hasWaiter: true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
methodName: "listClusters",
|
|
22
|
+
protoName: "ListClusters",
|
|
23
|
+
paramsType: "ListClustersRequest",
|
|
24
|
+
returnType: "ListClustersResponse",
|
|
25
|
+
isList: true,
|
|
26
|
+
paginationType: "offset",
|
|
27
|
+
pageParamKey: "page",
|
|
28
|
+
listItemType: "Cluster",
|
|
29
|
+
isPrivate: false,
|
|
30
|
+
description: "\""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
methodName: "getClusterMetrics",
|
|
34
|
+
protoName: "GetClusterMetrics",
|
|
35
|
+
paramsType: "GetClusterMetricsRequest",
|
|
36
|
+
returnType: "ClusterMetricsResponse",
|
|
37
|
+
isList: false,
|
|
38
|
+
paginationType: "none",
|
|
39
|
+
isPrivate: false,
|
|
40
|
+
description: "\""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
methodName: "listNodeTypes",
|
|
44
|
+
protoName: "ListNodeTypes",
|
|
45
|
+
paramsType: "ListNodeTypesRequest",
|
|
46
|
+
returnType: "ListNodeTypesResponse",
|
|
47
|
+
isList: true,
|
|
48
|
+
paginationType: "offset",
|
|
49
|
+
pageParamKey: "page",
|
|
50
|
+
listItemType: "NodeType",
|
|
51
|
+
isPrivate: false,
|
|
52
|
+
description: "\""
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
methodName: "listClusterVersions",
|
|
56
|
+
protoName: "ListClusterVersions",
|
|
57
|
+
paramsType: "ListClusterVersionsRequest",
|
|
58
|
+
returnType: "ListClusterVersionsResponse",
|
|
59
|
+
isList: true,
|
|
60
|
+
paginationType: "offset",
|
|
61
|
+
pageParamKey: "page",
|
|
62
|
+
listItemType: "ClusterVersion",
|
|
63
|
+
isPrivate: false,
|
|
64
|
+
description: "\""
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
methodName: "getClusterCertificate",
|
|
68
|
+
protoName: "GetClusterCertificate",
|
|
69
|
+
paramsType: "GetClusterCertificateRequest",
|
|
70
|
+
returnType: "Blob",
|
|
71
|
+
isList: false,
|
|
72
|
+
paginationType: "none",
|
|
73
|
+
isPrivate: false,
|
|
74
|
+
description: "\""
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
methodName: "getAclRule",
|
|
78
|
+
protoName: "GetAclRule",
|
|
79
|
+
paramsType: "GetAclRuleRequest",
|
|
80
|
+
returnType: "ACLRule",
|
|
81
|
+
isList: false,
|
|
82
|
+
paginationType: "none",
|
|
83
|
+
isPrivate: false,
|
|
84
|
+
description: "\""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
methodName: "getEndpoint",
|
|
88
|
+
protoName: "GetEndpoint",
|
|
89
|
+
paramsType: "GetEndpointRequest",
|
|
90
|
+
returnType: "Endpoint",
|
|
91
|
+
isList: false,
|
|
92
|
+
paginationType: "none",
|
|
93
|
+
isPrivate: false,
|
|
94
|
+
description: "\""
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}]
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
export { queriesMetadata };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-redis",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Scaleway SDK redis",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"node": ">=20.19.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/random-name": "5.1.
|
|
30
|
-
"@scaleway/sdk-std": "2.2.
|
|
29
|
+
"@scaleway/random-name": "5.1.4",
|
|
30
|
+
"@scaleway/sdk-std": "2.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.2.
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.2.
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|