@alicloud/polardb20170801 7.7.0 → 7.8.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 +37 -6
- package/dist/client.js +85 -8
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarFsPathMappingRequest.d.ts +6 -4
- package/dist/models/AddPolarFsPathMappingRequest.js +4 -0
- package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
- package/dist/models/AddPolarFsPathMappingResponseBody.d.ts +1 -1
- package/dist/models/CreateBatchConsumerRequest.d.ts +19 -7
- package/dist/models/CreateBatchConsumerRequest.js +4 -0
- package/dist/models/CreateBatchConsumerRequest.js.map +1 -1
- package/dist/models/CreateBatchConsumerResponseBody.d.ts +90 -2
- package/dist/models/CreateBatchConsumerResponseBody.js +22 -0
- package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -1
- package/dist/models/CreateDbclusterRequest.d.ts +47 -261
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/CreateDbclusterResponseBody.d.ts +14 -0
- package/dist/models/CreateDbclusterResponseBody.js.map +1 -1
- package/dist/models/CreateGwConsumerOrderRequest.d.ts +76 -0
- package/dist/models/CreateGwConsumerOrderRequest.js +68 -0
- package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -0
- package/dist/models/CreateGwConsumerOrderResponse.d.ts +19 -0
- package/dist/models/CreateGwConsumerOrderResponse.js +69 -0
- package/dist/models/CreateGwConsumerOrderResponse.js.map +1 -0
- package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +53 -0
- package/dist/models/CreateGwConsumerOrderResponseBody.js +66 -0
- package/dist/models/CreateGwConsumerOrderResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
- package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
- package/dist/models/ModifyDbclusterSslrequest.js +2 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/RestartPolarClawGatewayRequest.d.ts +7 -0
- package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -1
- package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +36 -0
- package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +29 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +96 -8
- package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
- package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
- package/src/models/CreateBatchConsumerRequest.ts +23 -7
- package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
- package/src/models/CreateDbclusterRequest.ts +51 -265
- package/src/models/CreateDbclusterResponseBody.ts +14 -0
- package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
- package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
- package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
- package/src/models/DescribeApplicationLogsRequest.ts +4 -4
- package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
- package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
- package/src/models/ModifyDbclusterSslrequest.ts +16 -9
- package/src/models/RestartPolarClawGatewayRequest.ts +7 -0
- package/src/models/RestartPolarClawGatewayResponseBody.ts +36 -0
- package/src/models/model.ts +3 -0
|
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDBClusterResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Agentic cluster description.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pagc-***************
|
|
12
|
+
*/
|
|
6
13
|
agenticDbClusterDescription?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Agentic cluster ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pagc-***************
|
|
20
|
+
*/
|
|
7
21
|
agenticDbClusterId?: string;
|
|
8
22
|
/**
|
|
9
23
|
* @remarks
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The idempotence token.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 6000170000591aed949d0f54a343f1a42***********
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The expiration time of the API key in ISO 8601 format. The value must be later than the current time.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 2027-07-23T03:09:08Z
|
|
22
|
+
*/
|
|
23
|
+
expireTime?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The ID of the AI gateway instance.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* pg-2ze24rr575j5b18cg
|
|
32
|
+
*/
|
|
33
|
+
gatewayId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The number of API keys to generate, which corresponds to the number of resource plans to purchase. Valid values: 1 to 30.
|
|
37
|
+
*
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 6
|
|
42
|
+
*/
|
|
43
|
+
keyCount?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The specification tier of the resource plan. Valid values:
|
|
47
|
+
*
|
|
48
|
+
* - basic: 3000 points per plan.
|
|
49
|
+
* - advanced: 6000 points per plan.
|
|
50
|
+
* - pro: 9000 points per plan.
|
|
51
|
+
*
|
|
52
|
+
* This parameter is required.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* basic
|
|
56
|
+
*/
|
|
57
|
+
packageSpec?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The region ID.
|
|
61
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query region information.
|
|
62
|
+
*
|
|
63
|
+
* This parameter is required.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* cn-beijing
|
|
67
|
+
*/
|
|
68
|
+
regionId?: string;
|
|
69
|
+
static names(): { [key: string]: string } {
|
|
70
|
+
return {
|
|
71
|
+
clientToken: 'ClientToken',
|
|
72
|
+
expireTime: 'ExpireTime',
|
|
73
|
+
gatewayId: 'GatewayId',
|
|
74
|
+
keyCount: 'KeyCount',
|
|
75
|
+
packageSpec: 'PackageSpec',
|
|
76
|
+
regionId: 'RegionId',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
clientToken: 'string',
|
|
83
|
+
expireTime: 'string',
|
|
84
|
+
gatewayId: 'string',
|
|
85
|
+
keyCount: 'number',
|
|
86
|
+
packageSpec: 'string',
|
|
87
|
+
regionId: 'string',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
validate() {
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateGwConsumerOrderResponseBody } from "./CreateGwConsumerOrderResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateGwConsumerOrderResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateGwConsumerOrderResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: CreateGwConsumerOrderResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateGwConsumerOrderResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The redemption code used for subsequent activation.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* "9"
|
|
12
|
+
*/
|
|
13
|
+
creditToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The expiration time.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2020-11-14T16:00:00Z
|
|
20
|
+
*/
|
|
21
|
+
expireTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the AI gateway instance.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* pg-2ze24rr575j5b18cg
|
|
28
|
+
*/
|
|
29
|
+
gatewayId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The order ID returned after the order is placed.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 2035638*******
|
|
36
|
+
*/
|
|
37
|
+
orderId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* Id of the request
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* A7E6A8FD-C50B-46B2-BA85-D8B8D3******
|
|
44
|
+
*/
|
|
45
|
+
requestId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
creditToken: 'CreditToken',
|
|
49
|
+
expireTime: 'ExpireTime',
|
|
50
|
+
gatewayId: 'GatewayId',
|
|
51
|
+
orderId: 'OrderId',
|
|
52
|
+
requestId: 'RequestId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
creditToken: 'string',
|
|
59
|
+
expireTime: 'string',
|
|
60
|
+
gatewayId: 'string',
|
|
61
|
+
orderId: 'string',
|
|
62
|
+
requestId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -15,7 +15,7 @@ export class DescribeApplicationLogsRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The instance ID
|
|
18
|
+
* The subcomponent instance ID.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* pac-xxx
|
|
@@ -41,7 +41,7 @@ export class DescribeApplicationLogsRequest extends $dara.Model {
|
|
|
41
41
|
endTime?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The search keyword. This parameter is used for
|
|
44
|
+
* The search keyword. This parameter is used for polarclaw instances.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* Config
|
|
@@ -49,7 +49,7 @@ export class DescribeApplicationLogsRequest extends $dara.Model {
|
|
|
49
49
|
keyword?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The log level. This parameter is used for
|
|
52
|
+
* The log level. This parameter is used for polarclaw instances.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* WARN
|
|
@@ -96,7 +96,7 @@ export class DescribeApplicationLogsRequest extends $dara.Model {
|
|
|
96
96
|
startTime?: string;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The log type. This parameter is used for
|
|
99
|
+
* The log type. This parameter is used for polarclaw instances. Currently, only gateway is supported.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* gateway
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The application cluster ID.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The
|
|
18
|
+
* The user.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* c-xxxxxxx
|
|
@@ -23,17 +23,31 @@ export class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
23
23
|
consumer?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The user group.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* cg-xxxxxx
|
|
30
30
|
*/
|
|
31
31
|
consumerGroup?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The downsampling policy.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* raw_sample
|
|
38
|
+
*/
|
|
32
39
|
downsample?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The end step number.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* 100
|
|
46
|
+
*/
|
|
33
47
|
endStep?: number;
|
|
34
48
|
/**
|
|
35
49
|
* @remarks
|
|
36
|
-
* The end time
|
|
50
|
+
* The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format (UTC).
|
|
37
51
|
*
|
|
38
52
|
* This parameter is required.
|
|
39
53
|
*
|
|
@@ -43,20 +57,13 @@ export class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
43
57
|
endTime?: string;
|
|
44
58
|
/**
|
|
45
59
|
* @remarks
|
|
46
|
-
* The granularity of
|
|
47
|
-
*
|
|
60
|
+
* The data granularity of performance data. Valid values:
|
|
48
61
|
* - 5
|
|
49
|
-
*
|
|
50
62
|
* - 30
|
|
51
|
-
*
|
|
52
63
|
* - 60
|
|
53
|
-
*
|
|
54
64
|
* - 600
|
|
55
|
-
*
|
|
56
65
|
* - 1800
|
|
57
|
-
*
|
|
58
66
|
* - 3600
|
|
59
|
-
*
|
|
60
67
|
* - 86400
|
|
61
68
|
*
|
|
62
69
|
* @example
|
|
@@ -65,7 +72,9 @@ export class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
65
72
|
interval?: string;
|
|
66
73
|
/**
|
|
67
74
|
* @remarks
|
|
68
|
-
* The performance metrics to query. Separate multiple
|
|
75
|
+
* The performance metrics to query. Separate multiple values with commas (,).
|
|
76
|
+
*
|
|
77
|
+
* > **Note** You can specify up to 5 performance metrics.
|
|
69
78
|
*
|
|
70
79
|
* This parameter is required.
|
|
71
80
|
*
|
|
@@ -73,19 +82,33 @@ export class DescribeApplicationPerformanceRequest extends $dara.Model {
|
|
|
73
82
|
* PolarDBSupabaseMemUsage
|
|
74
83
|
*/
|
|
75
84
|
key?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The maximum number of data points to return.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* 1000
|
|
91
|
+
*/
|
|
76
92
|
maxPoints?: number;
|
|
77
93
|
/**
|
|
78
94
|
* @remarks
|
|
79
|
-
* The
|
|
95
|
+
* The model service.
|
|
80
96
|
*
|
|
81
97
|
* @example
|
|
82
98
|
* ms-xxxxxx
|
|
83
99
|
*/
|
|
84
100
|
modelService?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The start step number.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* 1
|
|
107
|
+
*/
|
|
85
108
|
startStep?: number;
|
|
86
109
|
/**
|
|
87
110
|
* @remarks
|
|
88
|
-
* The
|
|
111
|
+
* The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mmZ format (UTC).
|
|
89
112
|
*
|
|
90
113
|
* This parameter is required.
|
|
91
114
|
*
|
|
@@ -140,17 +140,20 @@ export class DescribeApplicationPerformanceResponseBody extends $dara.Model {
|
|
|
140
140
|
applicationType?: string;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The end
|
|
143
|
+
* The end of the time range to query. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format (UTC).
|
|
144
144
|
*
|
|
145
145
|
* @example
|
|
146
146
|
* 2025-05-23T02:21:00Z
|
|
147
147
|
*/
|
|
148
148
|
endTime?: string;
|
|
149
|
-
interval?: string;
|
|
150
149
|
/**
|
|
151
150
|
* @remarks
|
|
152
|
-
* The
|
|
151
|
+
* The data granularity.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* 60
|
|
153
155
|
*/
|
|
156
|
+
interval?: string;
|
|
154
157
|
performanceKeys?: DescribeApplicationPerformanceResponseBodyPerformanceKeys;
|
|
155
158
|
/**
|
|
156
159
|
* @remarks
|
|
@@ -162,7 +165,7 @@ export class DescribeApplicationPerformanceResponseBody extends $dara.Model {
|
|
|
162
165
|
requestId?: string;
|
|
163
166
|
/**
|
|
164
167
|
* @remarks
|
|
165
|
-
* The
|
|
168
|
+
* The beginning of the time range to query. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format (UTC).
|
|
166
169
|
*
|
|
167
170
|
* @example
|
|
168
171
|
* 2022-11-15T16:00Z
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1095
|
|
9
|
+
*/
|
|
10
|
+
certValidDays?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @example
|
|
8
13
|
* xxx
|
|
@@ -23,7 +28,7 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
23
28
|
* The endpoint ID.
|
|
24
29
|
*
|
|
25
30
|
* >* If the cluster is a PolarDB for MySQL cluster, this parameter is required.
|
|
26
|
-
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. SSL encryption is enabled for all endpoints by default.
|
|
31
|
+
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. Secure Sockets Layer (SSL) encryption is enabled for all endpoints by default.
|
|
27
32
|
* >* You can call the [DescribeDBClusterSSL](https://help.aliyun.com/document_detail/2319159.html) operation to query endpoint details.
|
|
28
33
|
*
|
|
29
34
|
* @example
|
|
@@ -32,13 +37,13 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
32
37
|
DBEndpointId?: string;
|
|
33
38
|
/**
|
|
34
39
|
* @remarks
|
|
35
|
-
* The network type of the endpoint. The value must be
|
|
40
|
+
* The network type of the endpoint. The value must be consistent with the network type of the endpoint specified by the **DBEndpointId** parameter. Valid values:
|
|
36
41
|
* * **Public**: public network
|
|
37
42
|
* * **Private**: private network
|
|
38
43
|
* * **Inner**: private network (classic network)
|
|
39
44
|
*
|
|
40
45
|
* >* If the cluster is a PolarDB for MySQL cluster, this parameter is required.
|
|
41
|
-
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. SSL encryption is enabled for all endpoints by default.
|
|
46
|
+
* >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. Secure Sockets Layer (SSL) encryption is enabled for all endpoints by default.
|
|
42
47
|
*
|
|
43
48
|
* @example
|
|
44
49
|
* Public
|
|
@@ -57,9 +62,9 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
57
62
|
* @remarks
|
|
58
63
|
* Specifies whether to enable automatic SSL certificate rotation. Valid values:
|
|
59
64
|
*
|
|
60
|
-
* - **Enable**:
|
|
65
|
+
* - **Enable**: Enables automatic rotation.
|
|
61
66
|
*
|
|
62
|
-
* - **Disable**:
|
|
67
|
+
* - **Disable**: Disables automatic rotation.
|
|
63
68
|
*
|
|
64
69
|
* @example
|
|
65
70
|
* Enable
|
|
@@ -68,11 +73,11 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
68
73
|
/**
|
|
69
74
|
* @remarks
|
|
70
75
|
* The SSL status. Valid values:
|
|
71
|
-
* * **Disable**:
|
|
72
|
-
* * **Enable**:
|
|
73
|
-
* * **Update**:
|
|
76
|
+
* * **Disable**: Shutdown of Secure Sockets Layer (SSL) encryption.
|
|
77
|
+
* * **Enable**: Enables Secure Sockets Layer (SSL) encryption.
|
|
78
|
+
* * **Update**: Updates the CA certificate.
|
|
74
79
|
*
|
|
75
|
-
* > After you enable SSL encryption or update the CA certificate, you must download and configure the certificate. For details, see [Settings for SSL encryption](https://help.aliyun.com/document_detail/153182.html).
|
|
80
|
+
* > After you enable Secure Sockets Layer (SSL) encryption or update the CA certificate, you must download and configure the certificate. For details, see [Settings for SSL encryption](https://help.aliyun.com/document_detail/153182.html).
|
|
76
81
|
*
|
|
77
82
|
* @example
|
|
78
83
|
* Enable
|
|
@@ -80,6 +85,7 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
80
85
|
SSLEnabled?: string;
|
|
81
86
|
static names(): { [key: string]: string } {
|
|
82
87
|
return {
|
|
88
|
+
certValidDays: 'CertValidDays',
|
|
83
89
|
connectionString: 'ConnectionString',
|
|
84
90
|
DBClusterId: 'DBClusterId',
|
|
85
91
|
DBEndpointId: 'DBEndpointId',
|
|
@@ -96,6 +102,7 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
|
|
|
96
102
|
|
|
97
103
|
static types(): { [key: string]: any } {
|
|
98
104
|
return {
|
|
105
|
+
certValidDays: 'string',
|
|
99
106
|
connectionString: 'string',
|
|
100
107
|
DBClusterId: 'string',
|
|
101
108
|
DBEndpointId: 'string',
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RestartPolarClawGatewayRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The application ID.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,6 +14,11 @@ export class RestartPolarClawGatewayRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
applicationId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The restart mode. Valid values:
|
|
19
|
+
* - in-process: lightweight restart without applying environment variable changes. This is the default value.
|
|
20
|
+
* - pkill: cold start that applies environment variable changes.
|
|
21
|
+
*
|
|
15
22
|
* @example
|
|
16
23
|
* in-process
|
|
17
24
|
*/
|
|
@@ -4,61 +4,97 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class RestartPolarClawGatewayResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The application ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* pa-xxx
|
|
9
12
|
*/
|
|
10
13
|
applicationId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The response status code.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 200
|
|
14
20
|
*/
|
|
15
21
|
code?: number;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The approximate downtime of this restart, in milliseconds. This value is returned synchronously.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 3235
|
|
19
28
|
*/
|
|
20
29
|
downtimeMs?: number;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The gateway version after the restart. This value is returned synchronously.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* 2026.5.7
|
|
24
36
|
*/
|
|
25
37
|
gatewayVersion?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The response message.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* successful
|
|
29
44
|
*/
|
|
30
45
|
message?: string;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The actual restart mode used.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* in-process
|
|
34
52
|
*/
|
|
35
53
|
mode?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Indicates whether the operation was successful.
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* true
|
|
39
60
|
*/
|
|
40
61
|
ok?: boolean;
|
|
41
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The operation name. This value is returned when Async is set to true.
|
|
65
|
+
*
|
|
42
66
|
* @example
|
|
43
67
|
* RestartPolarClawGateway
|
|
44
68
|
*/
|
|
45
69
|
operation?: string;
|
|
46
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* Id of the request
|
|
73
|
+
*
|
|
47
74
|
* @example
|
|
48
75
|
* F45FFACC-xxx
|
|
49
76
|
*/
|
|
50
77
|
requestId?: string;
|
|
51
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* Indicates whether the gateway has been confirmed available after the restart. This value is returned synchronously.
|
|
81
|
+
*
|
|
52
82
|
* @example
|
|
53
83
|
* true
|
|
54
84
|
*/
|
|
55
85
|
restarted?: boolean;
|
|
56
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The initial state of the asynchronous task. This value is returned when Async is set to true.
|
|
89
|
+
*
|
|
57
90
|
* @example
|
|
58
91
|
* pending
|
|
59
92
|
*/
|
|
60
93
|
state?: string;
|
|
61
94
|
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The asynchronous task ID. This value is returned when Async is set to true. You can poll the task status by calling DescribePolarClawTask.
|
|
97
|
+
*
|
|
62
98
|
* @example
|
|
63
99
|
* 0ee00f56-f467-4d41-858c-ca4ede2c770e
|
|
64
100
|
*/
|
package/src/models/model.ts
CHANGED
|
@@ -584,6 +584,9 @@ export { CreateGlobalDatabaseNetworkResponse } from './CreateGlobalDatabaseNetwo
|
|
|
584
584
|
export { CreateGlobalSecurityIPGroupRequest } from './CreateGlobalSecurityIpgroupRequest';
|
|
585
585
|
export { CreateGlobalSecurityIPGroupResponseBody } from './CreateGlobalSecurityIpgroupResponseBody';
|
|
586
586
|
export { CreateGlobalSecurityIPGroupResponse } from './CreateGlobalSecurityIpgroupResponse';
|
|
587
|
+
export { CreateGwConsumerOrderRequest } from './CreateGwConsumerOrderRequest';
|
|
588
|
+
export { CreateGwConsumerOrderResponseBody } from './CreateGwConsumerOrderResponseBody';
|
|
589
|
+
export { CreateGwConsumerOrderResponse } from './CreateGwConsumerOrderResponse';
|
|
587
590
|
export { CreateModelApiRequest } from './CreateModelApiRequest';
|
|
588
591
|
export { CreateModelApiResponseBody } from './CreateModelApiResponseBody';
|
|
589
592
|
export { CreateModelApiResponse } from './CreateModelApiResponse';
|