@alicloud/polardb20170801 7.3.0 → 7.5.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 +70 -44
- package/dist/client.js +237 -44
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAccountRequest.d.ts +39 -53
- package/dist/models/CreateAccountRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/CreateDbclusterEndpointRequest.d.ts +67 -92
- package/dist/models/CreateDbclusterEndpointRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbcomputeClustersRequest.d.ts +13 -0
- package/dist/models/DescribeAgenticDbcomputeClustersRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.d.ts +64 -0
- package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +118 -0
- package/dist/models/DescribePolarFsRequest.js +98 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -0
- package/dist/models/DescribePolarFsResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsResponse.js +69 -0
- package/dist/models/DescribePolarFsResponse.js.map +1 -0
- package/dist/models/DescribePolarFsResponseBody.d.ts +175 -0
- package/dist/models/DescribePolarFsResponseBody.js +280 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyRequest.d.ts +4 -0
- package/dist/models/VerifyAgenticDbtenantApiKeyRequest.js.map +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.d.ts +25 -0
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +98 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +282 -44
- package/src/models/CreateAccountRequest.ts +39 -53
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/CreateDbclusterEndpointRequest.ts +68 -93
- package/src/models/DescribeAgenticDbcomputeClustersRequest.ts +13 -0
- package/src/models/DescribeAgenticDbcomputeClustersResponseBody.ts +64 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +162 -0
- package/src/models/DescribePolarFsResponse.ts +40 -0
- package/src/models/DescribePolarFsResponseBody.ts +347 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/VerifyAgenticDbtenantApiKeyRequest.ts +4 -0
- package/src/models/VerifyAgenticDbtenantApiKeyResponseBody.ts +25 -0
- package/src/models/model.ts +29 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarFsRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* testKey
|
|
12
|
+
*/
|
|
13
|
+
key?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag value.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* testValue
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
key: 'Key',
|
|
25
|
+
value: 'Value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
key: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class DescribePolarFsRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* pc-2ze8u21s03******
|
|
52
|
+
*/
|
|
53
|
+
DBClusterId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The page number. The value must be an integer greater than 0 and not exceeding the maximum value of Integer.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1
|
|
60
|
+
*/
|
|
61
|
+
pageNumber?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The number of entries per page. Valid values:
|
|
65
|
+
*
|
|
66
|
+
* - **30**
|
|
67
|
+
*
|
|
68
|
+
* - **50**
|
|
69
|
+
*
|
|
70
|
+
* - **100**
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* 30
|
|
74
|
+
*/
|
|
75
|
+
pageSize?: number;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The description of the PolarFS instance.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* pfs-ins1********
|
|
82
|
+
*/
|
|
83
|
+
polarFsInstanceDescription?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The list of PolarFS instance IDs, separated by commas (,).
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* pfs-ins1*******
|
|
90
|
+
*/
|
|
91
|
+
polarFsInstanceIds?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The PolarFS type.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* all
|
|
98
|
+
*/
|
|
99
|
+
polarFsType?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The region ID.
|
|
103
|
+
*
|
|
104
|
+
* This parameter is required.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* cn-beijing
|
|
108
|
+
*/
|
|
109
|
+
regionId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The ID of the associated PolarDB cluster.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* pc-2zejpr41d9xk*****
|
|
116
|
+
*/
|
|
117
|
+
relativeDbClusterId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The tags.
|
|
121
|
+
*/
|
|
122
|
+
tag?: DescribePolarFsRequestTag[];
|
|
123
|
+
static names(): { [key: string]: string } {
|
|
124
|
+
return {
|
|
125
|
+
DBClusterId: 'DBClusterId',
|
|
126
|
+
pageNumber: 'PageNumber',
|
|
127
|
+
pageSize: 'PageSize',
|
|
128
|
+
polarFsInstanceDescription: 'PolarFsInstanceDescription',
|
|
129
|
+
polarFsInstanceIds: 'PolarFsInstanceIds',
|
|
130
|
+
polarFsType: 'PolarFsType',
|
|
131
|
+
regionId: 'RegionId',
|
|
132
|
+
relativeDbClusterId: 'RelativeDbClusterId',
|
|
133
|
+
tag: 'Tag',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
DBClusterId: 'string',
|
|
140
|
+
pageNumber: 'number',
|
|
141
|
+
pageSize: 'number',
|
|
142
|
+
polarFsInstanceDescription: 'string',
|
|
143
|
+
polarFsInstanceIds: 'string',
|
|
144
|
+
polarFsType: 'string',
|
|
145
|
+
regionId: 'string',
|
|
146
|
+
relativeDbClusterId: 'string',
|
|
147
|
+
tag: { 'type': 'array', 'itemType': DescribePolarFsRequestTag },
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
validate() {
|
|
152
|
+
if(Array.isArray(this.tag)) {
|
|
153
|
+
$dara.Model.validateArray(this.tag);
|
|
154
|
+
}
|
|
155
|
+
super.validate();
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
constructor(map?: { [key: string]: any }) {
|
|
159
|
+
super(map);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribePolarFsResponseBody } from "./DescribePolarFsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribePolarFsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribePolarFsResponseBody;
|
|
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: DescribePolarFsResponseBody,
|
|
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,347 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo extends $dara.Model {
|
|
6
|
+
polarDbProxy?: string;
|
|
7
|
+
polarFsCluster?: string;
|
|
8
|
+
token?: string;
|
|
9
|
+
static names(): { [key: string]: string } {
|
|
10
|
+
return {
|
|
11
|
+
polarDbProxy: 'PolarDbProxy',
|
|
12
|
+
polarFsCluster: 'PolarFsCluster',
|
|
13
|
+
token: 'Token',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
polarDbProxy: 'string',
|
|
20
|
+
polarFsCluster: 'string',
|
|
21
|
+
token: 'string',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export class DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters extends $dara.Model {
|
|
35
|
+
DBClusterId?: string;
|
|
36
|
+
mountDir?: string;
|
|
37
|
+
mountStatus?: string;
|
|
38
|
+
mountedTime?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
DBClusterId: 'DBClusterId',
|
|
42
|
+
mountDir: 'MountDir',
|
|
43
|
+
mountStatus: 'MountStatus',
|
|
44
|
+
mountedTime: 'MountedTime',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
DBClusterId: 'string',
|
|
51
|
+
mountDir: 'string',
|
|
52
|
+
mountStatus: 'string',
|
|
53
|
+
mountedTime: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export class DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters extends $dara.Model {
|
|
67
|
+
mountedAIDBClusters?: DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters[];
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
mountedAIDBClusters: 'MountedAIDBClusters',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
mountedAIDBClusters: { 'type': 'array', 'itemType': DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClustersMountedAIDBClusters },
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(Array.isArray(this.mountedAIDBClusters)) {
|
|
82
|
+
$dara.Model.validateArray(this.mountedAIDBClusters);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag extends $dara.Model {
|
|
93
|
+
/**
|
|
94
|
+
* @example
|
|
95
|
+
* testKey
|
|
96
|
+
*/
|
|
97
|
+
key?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @example
|
|
100
|
+
* testValue
|
|
101
|
+
*/
|
|
102
|
+
value?: string;
|
|
103
|
+
static names(): { [key: string]: string } {
|
|
104
|
+
return {
|
|
105
|
+
key: 'Key',
|
|
106
|
+
value: 'Value',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
static types(): { [key: string]: any } {
|
|
111
|
+
return {
|
|
112
|
+
key: 'string',
|
|
113
|
+
value: 'string',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
validate() {
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
constructor(map?: { [key: string]: any }) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export class DescribePolarFsResponseBodyItemsPolarFsPathsTags extends $dara.Model {
|
|
127
|
+
tag?: DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag[];
|
|
128
|
+
static names(): { [key: string]: string } {
|
|
129
|
+
return {
|
|
130
|
+
tag: 'Tag',
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
static types(): { [key: string]: any } {
|
|
135
|
+
return {
|
|
136
|
+
tag: { 'type': 'array', 'itemType': DescribePolarFsResponseBodyItemsPolarFsPathsTagsTag },
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
validate() {
|
|
141
|
+
if(Array.isArray(this.tag)) {
|
|
142
|
+
$dara.Model.validateArray(this.tag);
|
|
143
|
+
}
|
|
144
|
+
super.validate();
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
constructor(map?: { [key: string]: any }) {
|
|
148
|
+
super(map);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export class DescribePolarFsResponseBodyItemsPolarFsPaths extends $dara.Model {
|
|
153
|
+
accelerateType?: string;
|
|
154
|
+
acceleratedStorageSpace?: string;
|
|
155
|
+
acceleratingEnable?: string;
|
|
156
|
+
bandwidth?: number;
|
|
157
|
+
category?: string;
|
|
158
|
+
createTime?: string;
|
|
159
|
+
expireTime?: string;
|
|
160
|
+
expired?: string;
|
|
161
|
+
mountInfo?: DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo;
|
|
162
|
+
mountedAIDBClusters?: DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters;
|
|
163
|
+
payType?: string;
|
|
164
|
+
polarFsInstanceDescription?: string;
|
|
165
|
+
polarFsInstanceId?: string;
|
|
166
|
+
polarFsPath?: string;
|
|
167
|
+
polarFsStatus?: string;
|
|
168
|
+
polarFsType?: string;
|
|
169
|
+
regionId?: string;
|
|
170
|
+
relativeDbClusterId?: string;
|
|
171
|
+
securityGroupId?: string;
|
|
172
|
+
storageSpace?: number;
|
|
173
|
+
storageType?: string;
|
|
174
|
+
tags?: DescribePolarFsResponseBodyItemsPolarFsPathsTags;
|
|
175
|
+
VPCId?: string;
|
|
176
|
+
vSwitchId?: string;
|
|
177
|
+
zoneId?: string;
|
|
178
|
+
static names(): { [key: string]: string } {
|
|
179
|
+
return {
|
|
180
|
+
accelerateType: 'AccelerateType',
|
|
181
|
+
acceleratedStorageSpace: 'AcceleratedStorageSpace',
|
|
182
|
+
acceleratingEnable: 'AcceleratingEnable',
|
|
183
|
+
bandwidth: 'Bandwidth',
|
|
184
|
+
category: 'Category',
|
|
185
|
+
createTime: 'CreateTime',
|
|
186
|
+
expireTime: 'ExpireTime',
|
|
187
|
+
expired: 'Expired',
|
|
188
|
+
mountInfo: 'MountInfo',
|
|
189
|
+
mountedAIDBClusters: 'MountedAIDBClusters',
|
|
190
|
+
payType: 'PayType',
|
|
191
|
+
polarFsInstanceDescription: 'PolarFsInstanceDescription',
|
|
192
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
193
|
+
polarFsPath: 'PolarFsPath',
|
|
194
|
+
polarFsStatus: 'PolarFsStatus',
|
|
195
|
+
polarFsType: 'PolarFsType',
|
|
196
|
+
regionId: 'RegionId',
|
|
197
|
+
relativeDbClusterId: 'RelativeDbClusterId',
|
|
198
|
+
securityGroupId: 'SecurityGroupId',
|
|
199
|
+
storageSpace: 'StorageSpace',
|
|
200
|
+
storageType: 'StorageType',
|
|
201
|
+
tags: 'Tags',
|
|
202
|
+
VPCId: 'VPCId',
|
|
203
|
+
vSwitchId: 'VSwitchId',
|
|
204
|
+
zoneId: 'ZoneId',
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
static types(): { [key: string]: any } {
|
|
209
|
+
return {
|
|
210
|
+
accelerateType: 'string',
|
|
211
|
+
acceleratedStorageSpace: 'string',
|
|
212
|
+
acceleratingEnable: 'string',
|
|
213
|
+
bandwidth: 'number',
|
|
214
|
+
category: 'string',
|
|
215
|
+
createTime: 'string',
|
|
216
|
+
expireTime: 'string',
|
|
217
|
+
expired: 'string',
|
|
218
|
+
mountInfo: DescribePolarFsResponseBodyItemsPolarFsPathsMountInfo,
|
|
219
|
+
mountedAIDBClusters: DescribePolarFsResponseBodyItemsPolarFsPathsMountedAIDBClusters,
|
|
220
|
+
payType: 'string',
|
|
221
|
+
polarFsInstanceDescription: 'string',
|
|
222
|
+
polarFsInstanceId: 'string',
|
|
223
|
+
polarFsPath: 'string',
|
|
224
|
+
polarFsStatus: 'string',
|
|
225
|
+
polarFsType: 'string',
|
|
226
|
+
regionId: 'string',
|
|
227
|
+
relativeDbClusterId: 'string',
|
|
228
|
+
securityGroupId: 'string',
|
|
229
|
+
storageSpace: 'number',
|
|
230
|
+
storageType: 'string',
|
|
231
|
+
tags: DescribePolarFsResponseBodyItemsPolarFsPathsTags,
|
|
232
|
+
VPCId: 'string',
|
|
233
|
+
vSwitchId: 'string',
|
|
234
|
+
zoneId: 'string',
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
validate() {
|
|
239
|
+
if(this.mountInfo && typeof (this.mountInfo as any).validate === 'function') {
|
|
240
|
+
(this.mountInfo as any).validate();
|
|
241
|
+
}
|
|
242
|
+
if(this.mountedAIDBClusters && typeof (this.mountedAIDBClusters as any).validate === 'function') {
|
|
243
|
+
(this.mountedAIDBClusters as any).validate();
|
|
244
|
+
}
|
|
245
|
+
if(this.tags && typeof (this.tags as any).validate === 'function') {
|
|
246
|
+
(this.tags as any).validate();
|
|
247
|
+
}
|
|
248
|
+
super.validate();
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
constructor(map?: { [key: string]: any }) {
|
|
252
|
+
super(map);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export class DescribePolarFsResponseBodyItems extends $dara.Model {
|
|
257
|
+
polarFsPaths?: DescribePolarFsResponseBodyItemsPolarFsPaths[];
|
|
258
|
+
static names(): { [key: string]: string } {
|
|
259
|
+
return {
|
|
260
|
+
polarFsPaths: 'PolarFsPaths',
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
static types(): { [key: string]: any } {
|
|
265
|
+
return {
|
|
266
|
+
polarFsPaths: { 'type': 'array', 'itemType': DescribePolarFsResponseBodyItemsPolarFsPaths },
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
validate() {
|
|
271
|
+
if(Array.isArray(this.polarFsPaths)) {
|
|
272
|
+
$dara.Model.validateArray(this.polarFsPaths);
|
|
273
|
+
}
|
|
274
|
+
super.validate();
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
constructor(map?: { [key: string]: any }) {
|
|
278
|
+
super(map);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export class DescribePolarFsResponseBody extends $dara.Model {
|
|
283
|
+
items?: DescribePolarFsResponseBodyItems;
|
|
284
|
+
/**
|
|
285
|
+
* @remarks
|
|
286
|
+
* The page number.
|
|
287
|
+
*
|
|
288
|
+
* @example
|
|
289
|
+
* 1
|
|
290
|
+
*/
|
|
291
|
+
pageNumber?: number;
|
|
292
|
+
/**
|
|
293
|
+
* @remarks
|
|
294
|
+
* The number of records on the current page.
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* 13
|
|
298
|
+
*/
|
|
299
|
+
pageRecordCount?: number;
|
|
300
|
+
/**
|
|
301
|
+
* @remarks
|
|
302
|
+
* Id of the request
|
|
303
|
+
*
|
|
304
|
+
* @example
|
|
305
|
+
* 8CD1852F-8176-55E4-891C-4478DC00CC7A
|
|
306
|
+
*/
|
|
307
|
+
requestId?: string;
|
|
308
|
+
/**
|
|
309
|
+
* @remarks
|
|
310
|
+
* The total number of records.
|
|
311
|
+
*
|
|
312
|
+
* @example
|
|
313
|
+
* 16
|
|
314
|
+
*/
|
|
315
|
+
totalRecordCount?: number;
|
|
316
|
+
static names(): { [key: string]: string } {
|
|
317
|
+
return {
|
|
318
|
+
items: 'Items',
|
|
319
|
+
pageNumber: 'PageNumber',
|
|
320
|
+
pageRecordCount: 'PageRecordCount',
|
|
321
|
+
requestId: 'RequestId',
|
|
322
|
+
totalRecordCount: 'TotalRecordCount',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
static types(): { [key: string]: any } {
|
|
327
|
+
return {
|
|
328
|
+
items: DescribePolarFsResponseBodyItems,
|
|
329
|
+
pageNumber: 'number',
|
|
330
|
+
pageRecordCount: 'number',
|
|
331
|
+
requestId: 'string',
|
|
332
|
+
totalRecordCount: 'number',
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
validate() {
|
|
337
|
+
if(this.items && typeof (this.items as any).validate === 'function') {
|
|
338
|
+
(this.items as any).validate();
|
|
339
|
+
}
|
|
340
|
+
super.validate();
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
constructor(map?: { [key: string]: any }) {
|
|
344
|
+
super(map);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
@@ -5,11 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The attribute of the IP
|
|
8
|
+
* The attribute of the IP whitelist group. If this parameter is set to **hidden**, the group is not displayed in the console.
|
|
9
9
|
*
|
|
10
|
-
* > -
|
|
11
|
-
* >
|
|
12
|
-
* > - This parameter is available only when **WhiteListType** is set to **IP**.
|
|
10
|
+
* > - IP whitelist groups that are already displayed in the console cannot be hidden.
|
|
11
|
+
* > - This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
13
12
|
*
|
|
14
13
|
* @example
|
|
15
14
|
* hidden
|
|
@@ -17,17 +16,14 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
17
16
|
DBClusterIPArrayAttribute?: string;
|
|
18
17
|
/**
|
|
19
18
|
* @remarks
|
|
20
|
-
* The name of the IP
|
|
19
|
+
* The name of the IP whitelist group. The name must be 2 to 120 characters in length and can contain lowercase letters and digits. The name must start with a letter and end with a letter or digit.
|
|
21
20
|
*
|
|
22
21
|
* - If the specified whitelist group name does not exist, a new whitelist group is created.
|
|
23
|
-
*
|
|
24
22
|
* - If the specified whitelist group name already exists, the whitelist group is modified.
|
|
23
|
+
* - If this parameter is not specified, the default group is modified.
|
|
25
24
|
*
|
|
26
|
-
* -
|
|
27
|
-
*
|
|
28
|
-
* > * A cluster can have up to 50 IP address whitelist groups.
|
|
29
|
-
* >
|
|
30
|
-
* > * This parameter is available only when **WhiteListType** is set to **IP**.
|
|
25
|
+
* > - A maximum of 50 IP whitelist groups are supported for a cluster.
|
|
26
|
+
* > - This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
31
27
|
*
|
|
32
28
|
* @example
|
|
33
29
|
* default
|
|
@@ -45,15 +41,12 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
45
41
|
DBClusterId?: string;
|
|
46
42
|
/**
|
|
47
43
|
* @remarks
|
|
48
|
-
* The method used to modify the IP
|
|
49
|
-
*
|
|
50
|
-
* - **
|
|
51
|
-
*
|
|
52
|
-
* - **Append**: Appends IP addresses to the whitelist.
|
|
53
|
-
*
|
|
54
|
-
* - **Delete**: Deletes IP addresses from the whitelist.
|
|
44
|
+
* The method used to modify the IP whitelist. Valid values:
|
|
45
|
+
* - **Cover**: overwrites the original IP whitelist (default value).
|
|
46
|
+
* - **Append**: appends IP addresses to the whitelist.
|
|
47
|
+
* - **Delete**: removes IP addresses from the whitelist.
|
|
55
48
|
*
|
|
56
|
-
* > This parameter
|
|
49
|
+
* > This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
57
50
|
*
|
|
58
51
|
* @example
|
|
59
52
|
* Cover
|
|
@@ -61,15 +54,19 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
61
54
|
modifyMode?: string;
|
|
62
55
|
ownerAccount?: string;
|
|
63
56
|
ownerId?: number;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* pfs-xxx
|
|
60
|
+
*/
|
|
61
|
+
pfsInstanceId?: string;
|
|
64
62
|
resourceOwnerAccount?: string;
|
|
65
63
|
resourceOwnerId?: number;
|
|
66
64
|
/**
|
|
67
65
|
* @remarks
|
|
68
|
-
* The security group
|
|
66
|
+
* The security group IDs. Separate multiple security group IDs with commas (,).
|
|
69
67
|
*
|
|
70
|
-
* > - A
|
|
71
|
-
* >
|
|
72
|
-
* > - This parameter is available only when **WhiteListType** is set to **SecurityGroup**.
|
|
68
|
+
* > - A maximum of 3 security groups are supported for a cluster.
|
|
69
|
+
* > - This parameter takes effect only when **WhiteListType** is set to **SecurityGroup**.
|
|
73
70
|
*
|
|
74
71
|
* @example
|
|
75
72
|
* sg-*********
|
|
@@ -77,13 +74,12 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
77
74
|
securityGroupIds?: string;
|
|
78
75
|
/**
|
|
79
76
|
* @remarks
|
|
80
|
-
* The IP addresses or CIDR blocks in the IP
|
|
77
|
+
* The IP addresses or CIDR blocks in the IP whitelist group. A maximum of 1,000 IP addresses or CIDR blocks can be added to all IP whitelist groups. Separate multiple IP addresses with commas (,). The following two formats are supported:
|
|
81
78
|
*
|
|
82
|
-
* - IP address format
|
|
79
|
+
* - IP address format, such as 10.23.12.24.
|
|
80
|
+
* - CIDR format, such as 10.23.12.24/24, where 24 indicates the prefix length of the CIDR block. The prefix length ranges from 1 to 32.
|
|
83
81
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* > This parameter is available only when **WhiteListType** is set to **IP**.
|
|
82
|
+
* > This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
87
83
|
*
|
|
88
84
|
* @example
|
|
89
85
|
* 10.23.12.24
|
|
@@ -93,11 +89,10 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
93
89
|
* @remarks
|
|
94
90
|
* The type of the whitelist. Valid values:
|
|
95
91
|
*
|
|
96
|
-
* - **IP**: IP
|
|
97
|
-
*
|
|
98
|
-
* - **SecurityGroup**: Security group.
|
|
92
|
+
* - **IP**: IP whitelist group.
|
|
93
|
+
* - **SecurityGroup**: security group.
|
|
99
94
|
*
|
|
100
|
-
*
|
|
95
|
+
* Default value: **IP**.
|
|
101
96
|
*
|
|
102
97
|
* @example
|
|
103
98
|
* IP
|
|
@@ -111,6 +106,7 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
111
106
|
modifyMode: 'ModifyMode',
|
|
112
107
|
ownerAccount: 'OwnerAccount',
|
|
113
108
|
ownerId: 'OwnerId',
|
|
109
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
114
110
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
115
111
|
resourceOwnerId: 'ResourceOwnerId',
|
|
116
112
|
securityGroupIds: 'SecurityGroupIds',
|
|
@@ -127,6 +123,7 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
127
123
|
modifyMode: 'string',
|
|
128
124
|
ownerAccount: 'string',
|
|
129
125
|
ownerId: 'number',
|
|
126
|
+
pfsInstanceId: 'string',
|
|
130
127
|
resourceOwnerAccount: 'string',
|
|
131
128
|
resourceOwnerId: 'number',
|
|
132
129
|
securityGroupIds: 'string',
|