@alicloud/polardb20170801 7.7.0 → 7.9.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 +82 -6
- package/dist/client.js +217 -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/CreateApplicationAgentRelationRequest.d.ts +43 -0
- package/dist/models/CreateApplicationAgentRelationRequest.js +62 -0
- package/dist/models/CreateApplicationAgentRelationRequest.js.map +1 -0
- package/dist/models/CreateApplicationAgentRelationResponse.d.ts +19 -0
- package/dist/models/CreateApplicationAgentRelationResponse.js +69 -0
- package/dist/models/CreateApplicationAgentRelationResponse.js.map +1 -0
- package/dist/models/CreateApplicationAgentRelationResponseBody.d.ts +29 -0
- package/dist/models/CreateApplicationAgentRelationResponseBody.js +60 -0
- package/dist/models/CreateApplicationAgentRelationResponseBody.js.map +1 -0
- 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/GetLakebaseTenantTokenRequest.d.ts +49 -0
- package/dist/models/GetLakebaseTenantTokenRequest.js +64 -0
- package/dist/models/GetLakebaseTenantTokenRequest.js.map +1 -0
- package/dist/models/GetLakebaseTenantTokenResponse.d.ts +19 -0
- package/dist/models/GetLakebaseTenantTokenResponse.js +69 -0
- package/dist/models/GetLakebaseTenantTokenResponse.js.map +1 -0
- package/dist/models/GetLakebaseTenantTokenResponseBody.d.ts +61 -0
- package/dist/models/GetLakebaseTenantTokenResponseBody.js +68 -0
- package/dist/models/GetLakebaseTenantTokenResponseBody.js.map +1 -0
- 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/RestartAidbclusterRequest.d.ts +21 -0
- package/dist/models/RestartAidbclusterRequest.js +58 -0
- package/dist/models/RestartAidbclusterRequest.js.map +1 -0
- package/dist/models/RestartAidbclusterResponse.d.ts +19 -0
- package/dist/models/RestartAidbclusterResponse.js +69 -0
- package/dist/models/RestartAidbclusterResponse.js.map +1 -0
- package/dist/models/RestartAidbclusterResponseBody.d.ts +21 -0
- package/dist/models/RestartAidbclusterResponseBody.js +58 -0
- package/dist/models/RestartAidbclusterResponseBody.js.map +1 -0
- 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 +12 -0
- package/dist/models/model.js +49 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +242 -8
- package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
- package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
- package/src/models/CreateApplicationAgentRelationRequest.ts +60 -0
- package/src/models/CreateApplicationAgentRelationResponse.ts +40 -0
- package/src/models/CreateApplicationAgentRelationResponseBody.ts +44 -0
- 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/GetLakebaseTenantTokenRequest.ts +68 -0
- package/src/models/GetLakebaseTenantTokenResponse.ts +40 -0
- package/src/models/GetLakebaseTenantTokenResponseBody.ts +84 -0
- package/src/models/ModifyDbclusterSslrequest.ts +16 -9
- package/src/models/RestartAidbclusterRequest.ts +34 -0
- package/src/models/RestartAidbclusterResponse.ts +40 -0
- package/src/models/RestartAidbclusterResponseBody.ts +34 -0
- package/src/models/RestartPolarClawGatewayRequest.ts +7 -0
- package/src/models/RestartPolarClawGatewayResponseBody.ts +36 -0
- package/src/models/model.ts +12 -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
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetLakebaseTenantTokenRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The associated PolarDB instance ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pc-xxx
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The PolarFS instance ID.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* pfs-xxx
|
|
22
|
+
*/
|
|
23
|
+
polarFsInstanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The mount subdirectory. Specify an absolute path.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* /home/project/p1
|
|
32
|
+
*/
|
|
33
|
+
subdir?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The tenant identifier.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* tenant-xxx
|
|
40
|
+
*/
|
|
41
|
+
tenant?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
DBClusterId: 'DBClusterId',
|
|
45
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
46
|
+
subdir: 'Subdir',
|
|
47
|
+
tenant: 'Tenant',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static types(): { [key: string]: any } {
|
|
52
|
+
return {
|
|
53
|
+
DBClusterId: 'string',
|
|
54
|
+
polarFsInstanceId: 'string',
|
|
55
|
+
subdir: 'string',
|
|
56
|
+
tenant: 'string',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(map?: { [key: string]: any }) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetLakebaseTenantTokenResponseBody } from "./GetLakebaseTenantTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetLakebaseTenantTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetLakebaseTenantTokenResponseBody;
|
|
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: GetLakebaseTenantTokenResponseBody,
|
|
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,84 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetLakebaseTenantTokenResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The associated PolarDB instance ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pc-xxx
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Id of the request
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* CD35F3-F3-44CA-AFFF-BAF869******
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The status.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ACTIVATION
|
|
28
|
+
*/
|
|
29
|
+
status?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The mount subdirectory.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* /home/project
|
|
36
|
+
*/
|
|
37
|
+
subdir?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The tenant identifier.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* admin
|
|
44
|
+
*/
|
|
45
|
+
tenant?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The tenant token.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ***
|
|
52
|
+
*/
|
|
53
|
+
token?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
DBClusterId: 'DBClusterId',
|
|
57
|
+
requestId: 'RequestId',
|
|
58
|
+
status: 'Status',
|
|
59
|
+
subdir: 'Subdir',
|
|
60
|
+
tenant: 'Tenant',
|
|
61
|
+
token: 'Token',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
DBClusterId: 'string',
|
|
68
|
+
requestId: 'string',
|
|
69
|
+
status: 'string',
|
|
70
|
+
subdir: 'string',
|
|
71
|
+
tenant: 'string',
|
|
72
|
+
token: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -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',
|