@alicloud/polardb20170801 7.6.0 → 7.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 +19 -4
- package/dist/client.js +46 -4
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +75 -110
- package/dist/models/DescribeApplicationAttributeResponseBody.js +2 -0
- package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
- package/dist/models/RestartPolarClawGatewayRequest.d.ts +26 -0
- package/dist/models/RestartPolarClawGatewayRequest.js +60 -0
- package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -0
- package/dist/models/RestartPolarClawGatewayResponse.d.ts +19 -0
- package/dist/models/RestartPolarClawGatewayResponse.js +69 -0
- package/dist/models/RestartPolarClawGatewayResponse.js.map +1 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +73 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.js +80 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +50 -4
- package/src/models/DescribeApplicationAttributeResponseBody.ts +77 -110
- package/src/models/RestartPolarClawGatewayRequest.ts +41 -0
- package/src/models/RestartPolarClawGatewayResponse.ts +40 -0
- package/src/models/RestartPolarClawGatewayResponseBody.ts +108 -0
- package/src/models/model.ts +3 -0
package/dist/client.d.ts
CHANGED
|
@@ -2538,10 +2538,10 @@ export default class Client extends OpenApi {
|
|
|
2538
2538
|
*/
|
|
2539
2539
|
describeApikeyAttribute(request: $_model.DescribeApikeyAttributeRequest): Promise<$_model.DescribeApikeyAttributeResponse>;
|
|
2540
2540
|
/**
|
|
2541
|
-
* Retrieves the
|
|
2541
|
+
* Retrieves the detailed information of a specified PolarDB application.
|
|
2542
2542
|
*
|
|
2543
2543
|
* @remarks
|
|
2544
|
-
*
|
|
2544
|
+
* This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
|
|
2545
2545
|
*
|
|
2546
2546
|
* @param request - DescribeApplicationAttributeRequest
|
|
2547
2547
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2549,10 +2549,10 @@ export default class Client extends OpenApi {
|
|
|
2549
2549
|
*/
|
|
2550
2550
|
describeApplicationAttributeWithOptions(request: $_model.DescribeApplicationAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationAttributeResponse>;
|
|
2551
2551
|
/**
|
|
2552
|
-
* Retrieves the
|
|
2552
|
+
* Retrieves the detailed information of a specified PolarDB application.
|
|
2553
2553
|
*
|
|
2554
2554
|
* @remarks
|
|
2555
|
-
*
|
|
2555
|
+
* This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
|
|
2556
2556
|
*
|
|
2557
2557
|
* @param request - DescribeApplicationAttributeRequest
|
|
2558
2558
|
* @returns DescribeApplicationAttributeResponse
|
|
@@ -6676,6 +6676,21 @@ export default class Client extends OpenApi {
|
|
|
6676
6676
|
* @returns RestartDBNodeZonalResponse
|
|
6677
6677
|
*/
|
|
6678
6678
|
restartDBNodeZonal(request: $_model.RestartDBNodeZonalRequest): Promise<$_model.RestartDBNodeZonalResponse>;
|
|
6679
|
+
/**
|
|
6680
|
+
* Restarts a PolarClaw gateway.
|
|
6681
|
+
*
|
|
6682
|
+
* @param request - RestartPolarClawGatewayRequest
|
|
6683
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6684
|
+
* @returns RestartPolarClawGatewayResponse
|
|
6685
|
+
*/
|
|
6686
|
+
restartPolarClawGatewayWithOptions(request: $_model.RestartPolarClawGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartPolarClawGatewayResponse>;
|
|
6687
|
+
/**
|
|
6688
|
+
* Restarts a PolarClaw gateway.
|
|
6689
|
+
*
|
|
6690
|
+
* @param request - RestartPolarClawGatewayRequest
|
|
6691
|
+
* @returns RestartPolarClawGatewayResponse
|
|
6692
|
+
*/
|
|
6693
|
+
restartPolarClawGateway(request: $_model.RestartPolarClawGatewayRequest): Promise<$_model.RestartPolarClawGatewayResponse>;
|
|
6679
6694
|
/**
|
|
6680
6695
|
* Restores databases or tables to a PolarDB cluster.
|
|
6681
6696
|
*
|
package/dist/client.js
CHANGED
|
@@ -9106,10 +9106,10 @@ class Client extends openapi_core_1.default {
|
|
|
9106
9106
|
return await this.describeApikeyAttributeWithOptions(request, runtime);
|
|
9107
9107
|
}
|
|
9108
9108
|
/**
|
|
9109
|
-
* Retrieves the
|
|
9109
|
+
* Retrieves the detailed information of a specified PolarDB application.
|
|
9110
9110
|
*
|
|
9111
9111
|
* @remarks
|
|
9112
|
-
*
|
|
9112
|
+
* This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
|
|
9113
9113
|
*
|
|
9114
9114
|
* @param request - DescribeApplicationAttributeRequest
|
|
9115
9115
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9138,10 +9138,10 @@ class Client extends openapi_core_1.default {
|
|
|
9138
9138
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationAttributeResponse({}));
|
|
9139
9139
|
}
|
|
9140
9140
|
/**
|
|
9141
|
-
* Retrieves the
|
|
9141
|
+
* Retrieves the detailed information of a specified PolarDB application.
|
|
9142
9142
|
*
|
|
9143
9143
|
* @remarks
|
|
9144
|
-
*
|
|
9144
|
+
* This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
|
|
9145
9145
|
*
|
|
9146
9146
|
* @param request - DescribeApplicationAttributeRequest
|
|
9147
9147
|
* @returns DescribeApplicationAttributeResponse
|
|
@@ -24181,6 +24181,48 @@ class Client extends openapi_core_1.default {
|
|
|
24181
24181
|
let runtime = new $dara.RuntimeOptions({});
|
|
24182
24182
|
return await this.restartDBNodeZonalWithOptions(request, runtime);
|
|
24183
24183
|
}
|
|
24184
|
+
/**
|
|
24185
|
+
* Restarts a PolarClaw gateway.
|
|
24186
|
+
*
|
|
24187
|
+
* @param request - RestartPolarClawGatewayRequest
|
|
24188
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
24189
|
+
* @returns RestartPolarClawGatewayResponse
|
|
24190
|
+
*/
|
|
24191
|
+
async restartPolarClawGatewayWithOptions(request, runtime) {
|
|
24192
|
+
request.validate();
|
|
24193
|
+
let query = {};
|
|
24194
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
24195
|
+
query["ApplicationId"] = request.applicationId;
|
|
24196
|
+
}
|
|
24197
|
+
if (!$dara.isNull(request.mode)) {
|
|
24198
|
+
query["Mode"] = request.mode;
|
|
24199
|
+
}
|
|
24200
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
24201
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
24202
|
+
});
|
|
24203
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
24204
|
+
action: "RestartPolarClawGateway",
|
|
24205
|
+
version: "2017-08-01",
|
|
24206
|
+
protocol: "HTTPS",
|
|
24207
|
+
pathname: "/",
|
|
24208
|
+
method: "POST",
|
|
24209
|
+
authType: "AK",
|
|
24210
|
+
style: "RPC",
|
|
24211
|
+
reqBodyType: "formData",
|
|
24212
|
+
bodyType: "json",
|
|
24213
|
+
});
|
|
24214
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartPolarClawGatewayResponse({}));
|
|
24215
|
+
}
|
|
24216
|
+
/**
|
|
24217
|
+
* Restarts a PolarClaw gateway.
|
|
24218
|
+
*
|
|
24219
|
+
* @param request - RestartPolarClawGatewayRequest
|
|
24220
|
+
* @returns RestartPolarClawGatewayResponse
|
|
24221
|
+
*/
|
|
24222
|
+
async restartPolarClawGateway(request) {
|
|
24223
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
24224
|
+
return await this.restartPolarClawGatewayWithOptions(request, runtime);
|
|
24225
|
+
}
|
|
24184
24226
|
/**
|
|
24185
24227
|
* Restores databases or tables to a PolarDB cluster.
|
|
24186
24228
|
*
|