@alicloud/polardbx20200202 3.6.0 → 3.7.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/client.d.ts +46 -4
- package/dist/client.js +109 -4
- package/dist/client.js.map +1 -1
- package/dist/models/AllocateMem0publicConnectionRequest.d.ts +53 -0
- package/dist/models/AllocateMem0publicConnectionRequest.js +64 -0
- package/dist/models/AllocateMem0publicConnectionRequest.js.map +1 -0
- package/dist/models/AllocateMem0publicConnectionResponse.d.ts +19 -0
- package/dist/models/AllocateMem0publicConnectionResponse.js +69 -0
- package/dist/models/AllocateMem0publicConnectionResponse.js.map +1 -0
- package/dist/models/AllocateMem0publicConnectionResponseBody.d.ts +96 -0
- package/dist/models/AllocateMem0publicConnectionResponseBody.js +96 -0
- package/dist/models/AllocateMem0publicConnectionResponseBody.js.map +1 -0
- package/dist/models/CheckCloudResourceAuthorizedResponseBody.d.ts +0 -2
- package/dist/models/CheckCloudResourceAuthorizedResponseBody.js +0 -2
- package/dist/models/CheckCloudResourceAuthorizedResponseBody.js.map +1 -1
- package/dist/models/ModifyMem0securityIpsRequest.d.ts +1 -1
- package/dist/models/ModifyMem0securityIpsResponseBody.d.ts +12 -12
- package/dist/models/ReleaseMem0publicConnectionRequest.d.ts +41 -0
- package/dist/models/ReleaseMem0publicConnectionRequest.js +62 -0
- package/dist/models/ReleaseMem0publicConnectionRequest.js.map +1 -0
- package/dist/models/ReleaseMem0publicConnectionResponse.d.ts +19 -0
- package/dist/models/ReleaseMem0publicConnectionResponse.js +69 -0
- package/dist/models/ReleaseMem0publicConnectionResponse.js.map +1 -0
- package/dist/models/ReleaseMem0publicConnectionResponseBody.d.ts +94 -0
- package/dist/models/ReleaseMem0publicConnectionResponseBody.js +94 -0
- package/dist/models/ReleaseMem0publicConnectionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +29 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +120 -4
- package/src/models/AllocateMem0publicConnectionRequest.ts +72 -0
- package/src/models/AllocateMem0publicConnectionResponse.ts +40 -0
- package/src/models/AllocateMem0publicConnectionResponseBody.ts +136 -0
- package/src/models/CheckCloudResourceAuthorizedResponseBody.ts +0 -2
- package/src/models/ModifyMem0securityIpsRequest.ts +1 -1
- package/src/models/ModifyMem0securityIpsResponseBody.ts +12 -12
- package/src/models/ReleaseMem0publicConnectionRequest.ts +58 -0
- package/src/models/ReleaseMem0publicConnectionResponse.ts +40 -0
- package/src/models/ReleaseMem0publicConnectionResponseBody.ts +134 -0
- package/src/models/model.ts +8 -0
package/dist/client.d.ts
CHANGED
|
@@ -49,6 +49,27 @@ export default class Client extends OpenApi {
|
|
|
49
49
|
* @returns AllocateInstancePublicConnectionResponse
|
|
50
50
|
*/
|
|
51
51
|
allocateInstancePublicConnection(request: $_model.AllocateInstancePublicConnectionRequest): Promise<$_model.AllocateInstancePublicConnectionResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Enables a public domain name for a Mem0 instance.
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* This operation is used to confirm that no active connections exist before a rollback task, to ensure operation safety.
|
|
57
|
+
*
|
|
58
|
+
* @param request - AllocateMem0PublicConnectionRequest
|
|
59
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
60
|
+
* @returns AllocateMem0PublicConnectionResponse
|
|
61
|
+
*/
|
|
62
|
+
allocateMem0PublicConnectionWithOptions(request: $_model.AllocateMem0PublicConnectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AllocateMem0PublicConnectionResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Enables a public domain name for a Mem0 instance.
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* This operation is used to confirm that no active connections exist before a rollback task, to ensure operation safety.
|
|
68
|
+
*
|
|
69
|
+
* @param request - AllocateMem0PublicConnectionRequest
|
|
70
|
+
* @returns AllocateMem0PublicConnectionResponse
|
|
71
|
+
*/
|
|
72
|
+
allocateMem0PublicConnection(request: $_model.AllocateMem0PublicConnectionRequest): Promise<$_model.AllocateMem0PublicConnectionResponse>;
|
|
52
73
|
/**
|
|
53
74
|
* Mounts a columnar instance to a specified primary database instance.
|
|
54
75
|
*
|
|
@@ -2032,10 +2053,10 @@ export default class Client extends OpenApi {
|
|
|
2032
2053
|
*/
|
|
2033
2054
|
modifyEngineMigration(request: $_model.ModifyEngineMigrationRequest): Promise<$_model.ModifyEngineMigrationResponse>;
|
|
2034
2055
|
/**
|
|
2035
|
-
* Modifies the whitelist of a memory engine
|
|
2056
|
+
* Modifies the whitelist of a memory engine.
|
|
2036
2057
|
*
|
|
2037
2058
|
* @remarks
|
|
2038
|
-
*
|
|
2059
|
+
* ***
|
|
2039
2060
|
*
|
|
2040
2061
|
* @param request - ModifyMem0SecurityIpsRequest
|
|
2041
2062
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2043,10 +2064,10 @@ export default class Client extends OpenApi {
|
|
|
2043
2064
|
*/
|
|
2044
2065
|
modifyMem0SecurityIpsWithOptions(request: $_model.ModifyMem0SecurityIpsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMem0SecurityIpsResponse>;
|
|
2045
2066
|
/**
|
|
2046
|
-
* Modifies the whitelist of a memory engine
|
|
2067
|
+
* Modifies the whitelist of a memory engine.
|
|
2047
2068
|
*
|
|
2048
2069
|
* @remarks
|
|
2049
|
-
*
|
|
2070
|
+
* ***
|
|
2050
2071
|
*
|
|
2051
2072
|
* @param request - ModifyMem0SecurityIpsRequest
|
|
2052
2073
|
* @returns ModifyMem0SecurityIpsResponse
|
|
@@ -2142,6 +2163,27 @@ export default class Client extends OpenApi {
|
|
|
2142
2163
|
* @returns ReleaseInstancePublicConnectionResponse
|
|
2143
2164
|
*/
|
|
2144
2165
|
releaseInstancePublicConnection(request: $_model.ReleaseInstancePublicConnectionRequest): Promise<$_model.ReleaseInstancePublicConnectionResponse>;
|
|
2166
|
+
/**
|
|
2167
|
+
* Releases the public domain name for a Mem0 instance.
|
|
2168
|
+
*
|
|
2169
|
+
* @remarks
|
|
2170
|
+
* This operation is used to verify that no active connections exist before a rollback task to ensure operational safety.
|
|
2171
|
+
*
|
|
2172
|
+
* @param request - ReleaseMem0PublicConnectionRequest
|
|
2173
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2174
|
+
* @returns ReleaseMem0PublicConnectionResponse
|
|
2175
|
+
*/
|
|
2176
|
+
releaseMem0PublicConnectionWithOptions(request: $_model.ReleaseMem0PublicConnectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReleaseMem0PublicConnectionResponse>;
|
|
2177
|
+
/**
|
|
2178
|
+
* Releases the public domain name for a Mem0 instance.
|
|
2179
|
+
*
|
|
2180
|
+
* @remarks
|
|
2181
|
+
* This operation is used to verify that no active connections exist before a rollback task to ensure operational safety.
|
|
2182
|
+
*
|
|
2183
|
+
* @param request - ReleaseMem0PublicConnectionRequest
|
|
2184
|
+
* @returns ReleaseMem0PublicConnectionResponse
|
|
2185
|
+
*/
|
|
2186
|
+
releaseMem0PublicConnection(request: $_model.ReleaseMem0PublicConnectionRequest): Promise<$_model.ReleaseMem0PublicConnectionResponse>;
|
|
2145
2187
|
/**
|
|
2146
2188
|
* Resets the password of an account.
|
|
2147
2189
|
*
|
package/dist/client.js
CHANGED
|
@@ -272,6 +272,60 @@ class Client extends openapi_core_1.default {
|
|
|
272
272
|
let runtime = new $dara.RuntimeOptions({});
|
|
273
273
|
return await this.allocateInstancePublicConnectionWithOptions(request, runtime);
|
|
274
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* Enables a public domain name for a Mem0 instance.
|
|
277
|
+
*
|
|
278
|
+
* @remarks
|
|
279
|
+
* This operation is used to confirm that no active connections exist before a rollback task, to ensure operation safety.
|
|
280
|
+
*
|
|
281
|
+
* @param request - AllocateMem0PublicConnectionRequest
|
|
282
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
283
|
+
* @returns AllocateMem0PublicConnectionResponse
|
|
284
|
+
*/
|
|
285
|
+
async allocateMem0PublicConnectionWithOptions(request, runtime) {
|
|
286
|
+
request.validate();
|
|
287
|
+
let query = {};
|
|
288
|
+
if (!$dara.isNull(request.connectionStringPrefix)) {
|
|
289
|
+
query["ConnectionStringPrefix"] = request.connectionStringPrefix;
|
|
290
|
+
}
|
|
291
|
+
if (!$dara.isNull(request.DBInstanceName)) {
|
|
292
|
+
query["DBInstanceName"] = request.DBInstanceName;
|
|
293
|
+
}
|
|
294
|
+
if (!$dara.isNull(request.port)) {
|
|
295
|
+
query["Port"] = request.port;
|
|
296
|
+
}
|
|
297
|
+
if (!$dara.isNull(request.regionId)) {
|
|
298
|
+
query["RegionId"] = request.regionId;
|
|
299
|
+
}
|
|
300
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
301
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
302
|
+
});
|
|
303
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
304
|
+
action: "AllocateMem0PublicConnection",
|
|
305
|
+
version: "2020-02-02",
|
|
306
|
+
protocol: "HTTPS",
|
|
307
|
+
pathname: "/",
|
|
308
|
+
method: "POST",
|
|
309
|
+
authType: "AK",
|
|
310
|
+
style: "RPC",
|
|
311
|
+
reqBodyType: "formData",
|
|
312
|
+
bodyType: "json",
|
|
313
|
+
});
|
|
314
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AllocateMem0PublicConnectionResponse({}));
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Enables a public domain name for a Mem0 instance.
|
|
318
|
+
*
|
|
319
|
+
* @remarks
|
|
320
|
+
* This operation is used to confirm that no active connections exist before a rollback task, to ensure operation safety.
|
|
321
|
+
*
|
|
322
|
+
* @param request - AllocateMem0PublicConnectionRequest
|
|
323
|
+
* @returns AllocateMem0PublicConnectionResponse
|
|
324
|
+
*/
|
|
325
|
+
async allocateMem0PublicConnection(request) {
|
|
326
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
327
|
+
return await this.allocateMem0PublicConnectionWithOptions(request, runtime);
|
|
328
|
+
}
|
|
275
329
|
/**
|
|
276
330
|
* Mounts a columnar instance to a specified primary database instance.
|
|
277
331
|
*
|
|
@@ -6176,10 +6230,10 @@ class Client extends openapi_core_1.default {
|
|
|
6176
6230
|
return await this.modifyEngineMigrationWithOptions(request, runtime);
|
|
6177
6231
|
}
|
|
6178
6232
|
/**
|
|
6179
|
-
* Modifies the whitelist of a memory engine
|
|
6233
|
+
* Modifies the whitelist of a memory engine.
|
|
6180
6234
|
*
|
|
6181
6235
|
* @remarks
|
|
6182
|
-
*
|
|
6236
|
+
* ***
|
|
6183
6237
|
*
|
|
6184
6238
|
* @param request - ModifyMem0SecurityIpsRequest
|
|
6185
6239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6220,10 +6274,10 @@ class Client extends openapi_core_1.default {
|
|
|
6220
6274
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyMem0SecurityIpsResponse({}));
|
|
6221
6275
|
}
|
|
6222
6276
|
/**
|
|
6223
|
-
* Modifies the whitelist of a memory engine
|
|
6277
|
+
* Modifies the whitelist of a memory engine.
|
|
6224
6278
|
*
|
|
6225
6279
|
* @remarks
|
|
6226
|
-
*
|
|
6280
|
+
* ***
|
|
6227
6281
|
*
|
|
6228
6282
|
* @param request - ModifyMem0SecurityIpsRequest
|
|
6229
6283
|
* @returns ModifyMem0SecurityIpsResponse
|
|
@@ -6520,6 +6574,57 @@ class Client extends openapi_core_1.default {
|
|
|
6520
6574
|
let runtime = new $dara.RuntimeOptions({});
|
|
6521
6575
|
return await this.releaseInstancePublicConnectionWithOptions(request, runtime);
|
|
6522
6576
|
}
|
|
6577
|
+
/**
|
|
6578
|
+
* Releases the public domain name for a Mem0 instance.
|
|
6579
|
+
*
|
|
6580
|
+
* @remarks
|
|
6581
|
+
* This operation is used to verify that no active connections exist before a rollback task to ensure operational safety.
|
|
6582
|
+
*
|
|
6583
|
+
* @param request - ReleaseMem0PublicConnectionRequest
|
|
6584
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6585
|
+
* @returns ReleaseMem0PublicConnectionResponse
|
|
6586
|
+
*/
|
|
6587
|
+
async releaseMem0PublicConnectionWithOptions(request, runtime) {
|
|
6588
|
+
request.validate();
|
|
6589
|
+
let query = {};
|
|
6590
|
+
if (!$dara.isNull(request.currentConnectionString)) {
|
|
6591
|
+
query["CurrentConnectionString"] = request.currentConnectionString;
|
|
6592
|
+
}
|
|
6593
|
+
if (!$dara.isNull(request.DBInstanceName)) {
|
|
6594
|
+
query["DBInstanceName"] = request.DBInstanceName;
|
|
6595
|
+
}
|
|
6596
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6597
|
+
query["RegionId"] = request.regionId;
|
|
6598
|
+
}
|
|
6599
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6600
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6601
|
+
});
|
|
6602
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6603
|
+
action: "ReleaseMem0PublicConnection",
|
|
6604
|
+
version: "2020-02-02",
|
|
6605
|
+
protocol: "HTTPS",
|
|
6606
|
+
pathname: "/",
|
|
6607
|
+
method: "POST",
|
|
6608
|
+
authType: "AK",
|
|
6609
|
+
style: "RPC",
|
|
6610
|
+
reqBodyType: "formData",
|
|
6611
|
+
bodyType: "json",
|
|
6612
|
+
});
|
|
6613
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReleaseMem0PublicConnectionResponse({}));
|
|
6614
|
+
}
|
|
6615
|
+
/**
|
|
6616
|
+
* Releases the public domain name for a Mem0 instance.
|
|
6617
|
+
*
|
|
6618
|
+
* @remarks
|
|
6619
|
+
* This operation is used to verify that no active connections exist before a rollback task to ensure operational safety.
|
|
6620
|
+
*
|
|
6621
|
+
* @param request - ReleaseMem0PublicConnectionRequest
|
|
6622
|
+
* @returns ReleaseMem0PublicConnectionResponse
|
|
6623
|
+
*/
|
|
6624
|
+
async releaseMem0PublicConnection(request) {
|
|
6625
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6626
|
+
return await this.releaseMem0PublicConnectionWithOptions(request, runtime);
|
|
6627
|
+
}
|
|
6523
6628
|
/**
|
|
6524
6629
|
* Resets the password of an account.
|
|
6525
6630
|
*
|