@alicloud/polardb20170801 7.1.0 → 7.2.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.
Files changed (144) hide show
  1. package/dist/client.d.ts +128 -8
  2. package/dist/client.js +410 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDbnodesRequest.d.ts +34 -54
  5. package/dist/models/CreateDbnodesRequest.js.map +1 -1
  6. package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
  7. package/dist/models/DescribeApikeyAttributeRequest.d.ts +12 -0
  8. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -1
  9. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +81 -0
  10. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -1
  11. package/dist/models/DescribePolarClawAgentFileRequest.d.ts +43 -0
  12. package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
  13. package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
  14. package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
  15. package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
  16. package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
  17. package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
  18. package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
  19. package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
  20. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
  21. package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
  22. package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
  23. package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
  24. package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
  25. package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
  26. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
  27. package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
  28. package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
  29. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +42 -2
  30. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  31. package/dist/models/DescribePolarClawSkillDetailRequest.d.ts +33 -0
  32. package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
  33. package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
  34. package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
  35. package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
  36. package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
  37. package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
  38. package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
  39. package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
  40. package/dist/models/InstallPolarClawSkillRequest.d.ts +63 -0
  41. package/dist/models/InstallPolarClawSkillRequest.js +68 -0
  42. package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
  43. package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
  44. package/dist/models/InstallPolarClawSkillResponse.js +69 -0
  45. package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
  46. package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
  47. package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
  48. package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
  49. package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
  50. package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
  51. package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
  52. package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
  53. package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
  54. package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
  55. package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
  56. package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
  57. package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
  58. package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
  59. package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
  60. package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
  61. package/dist/models/UpdatePolarClawAgentRequest.d.ts +16 -10
  62. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  63. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +12 -12
  64. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +14 -8
  65. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  66. package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
  67. package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
  68. package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
  69. package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
  70. package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
  71. package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
  72. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
  73. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
  74. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
  75. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
  76. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
  77. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
  78. package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
  79. package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
  80. package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
  81. package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
  82. package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
  83. package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
  84. package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
  85. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
  86. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
  87. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
  88. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
  89. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
  90. package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
  91. package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
  92. package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
  93. package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
  94. package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
  95. package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
  96. package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
  97. package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
  98. package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
  99. package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
  100. package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
  101. package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
  102. package/dist/models/model.d.ts +39 -0
  103. package/dist/models/model.js +105 -27
  104. package/dist/models/model.js.map +1 -1
  105. package/package.json +1 -1
  106. package/src/client.ts +462 -8
  107. package/src/models/CreateDbnodesRequest.ts +34 -54
  108. package/src/models/CreateDbnodesResponseBody.ts +1 -1
  109. package/src/models/DescribeApikeyAttributeRequest.ts +12 -0
  110. package/src/models/DescribeApikeyAttributeResponseBody.ts +81 -0
  111. package/src/models/DescribePolarClawAgentFileRequest.ts +60 -0
  112. package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
  113. package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
  114. package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
  115. package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
  116. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
  117. package/src/models/DescribePolarClawAgentsResponseBody.ts +42 -2
  118. package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
  119. package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
  120. package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
  121. package/src/models/InstallPolarClawSkillRequest.ts +86 -0
  122. package/src/models/InstallPolarClawSkillResponse.ts +40 -0
  123. package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
  124. package/src/models/ModifyDbnodeClassRequest.ts +23 -32
  125. package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
  126. package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
  127. package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
  128. package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
  129. package/src/models/UpdatePolarClawAgentRequest.ts +16 -10
  130. package/src/models/UpdatePolarClawAgentResponseBody.ts +12 -12
  131. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +14 -8
  132. package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
  133. package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
  134. package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
  135. package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
  136. package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
  137. package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
  138. package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
  139. package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
  140. package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
  141. package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
  142. package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
  143. package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
  144. package/src/models/model.ts +39 -0
@@ -5,19 +5,13 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateDBNodesRequestDBNode extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The specifications of the new node. The specifications must be the same as those of the existing nodes in the cluster. For more information, see the following topics:
9
- *
10
- * - PolarDB for MySQL: [compute node specifications](https://help.aliyun.com/document_detail/102542.html).
11
- *
12
- * - PolarDB for PostgreSQL (Oracle Compatible): [compute node specifications](https://help.aliyun.com/document_detail/207921.html).
13
- *
14
- * - PolarDB for PostgreSQL: [compute node specifications](https://help.aliyun.com/document_detail/209380.html).
15
- *
16
- * > * You must specify either `DBNode.N.ZoneId` or `DBNode.N.TargetClass`. `N` is an integer that starts from 1. The maximum value of `N` is 16 minus the number of existing nodes.
17
- * >
18
- * > * For PolarDB for MySQL clusters, you can add multiple read-only nodes in a single request, up to a total of 15 read-only nodes.
19
- * >
20
- * > * This parameter is required for PolarDB for PostgreSQL (Oracle Compatible) and PolarDB for PostgreSQL clusters, but optional for PolarDB for MySQL clusters.
8
+ * The specification of the new node. The specification must be the same as that of the existing nodes. For more information, see the following topics:
9
+ * * PolarDB for MySQL: [Compute node specifications](https://help.aliyun.com/document_detail/102542.html).
10
+ * * PolarDB for PostgreSQL (Compatible with Oracle): [Compute node specifications](https://help.aliyun.com/document_detail/207921.html).
11
+ * * PolarDB for PostgreSQL: [Compute node specifications](https://help.aliyun.com/document_detail/209380.html).
12
+ * >* You must specify at least one of DBNode.N.ZoneId and DBNode.N.TargetClass. N is an integer that starts from 1. Maximum value of N = 16 - current number of nodes.
13
+ * >* Only PolarDB for MySQL clusters support adding multiple read-only nodes at a time. You can add up to 15 read-only nodes.
14
+ * >* This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL clusters. This parameter is optional for PolarDB for MySQL clusters.
21
15
  *
22
16
  * @example
23
17
  * polar.mysql.x4.medium
@@ -25,13 +19,11 @@ export class CreateDBNodesRequestDBNode extends $dara.Model {
25
19
  targetClass?: string;
26
20
  /**
27
21
  * @remarks
28
- * The ID of the zone for the new node. This zone must be the same as the zone of the existing nodes. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query zone IDs.
22
+ * The zone of the new node. The zone must be the same as that of the existing nodes. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query zone IDs.
29
23
  *
30
- * > - You must specify either `DBNode.N.ZoneId` or `DBNode.N.TargetClass`. `N` is an integer that starts from 1. The maximum value of `N` is 16 minus the number of existing nodes.
31
- * >
32
- * > - For PolarDB for MySQL clusters, you can add multiple read-only nodes in a single request, up to a total of 15 read-only nodes.
33
- * >
34
- * > - This parameter is required for PolarDB for PostgreSQL (Oracle Compatible) and PolarDB for PostgreSQL clusters, but optional for PolarDB for MySQL clusters.
24
+ * >* You must specify at least one of DBNode.N.ZoneId and DBNode.N.TargetClass. N is an integer that starts from 1. Maximum value of N = 16 - current number of nodes.
25
+ * >* Only PolarDB for MySQL clusters support adding multiple read-only nodes at a time. You can add up to 15 read-only nodes.
26
+ * >* This parameter is required for PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL clusters. This parameter is optional for PolarDB for MySQL clusters.
35
27
  *
36
28
  * @example
37
29
  * cn-qingdao-c
@@ -63,16 +55,14 @@ export class CreateDBNodesRequestDBNode extends $dara.Model {
63
55
  export class CreateDBNodesRequest extends $dara.Model {
64
56
  /**
65
57
  * @remarks
66
- * Specifies whether to automatically use a coupon. Valid values:
67
- *
68
- * - true (Default): An available coupon is automatically used.
69
- *
70
- * - false: A coupon is not automatically used.
58
+ * Specifies whether to automatically use coupons. Valid values:
59
+ * * true (default): Use coupons.
60
+ * * false: Do not use coupons.
71
61
  */
72
62
  autoUseCoupon?: boolean;
73
63
  /**
74
64
  * @remarks
75
- * A unique, client-generated token to ensure the idempotence of the request. This token is case-sensitive and cannot exceed 64 ASCII characters.
65
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token is case-sensitive and can contain only ASCII characters. The token can be up to 64 characters in length.
76
66
  *
77
67
  * @example
78
68
  * 6000170000591aed949d0f54a343f1a4233c1e7d1c5c******
@@ -80,7 +70,7 @@ export class CreateDBNodesRequest extends $dara.Model {
80
70
  clientToken?: string;
81
71
  /**
82
72
  * @remarks
83
- * The cloud provider of the node.
73
+ * The cloud service provider to which the node belongs.
84
74
  *
85
75
  * @example
86
76
  * ENS
@@ -88,7 +78,7 @@ export class CreateDBNodesRequest extends $dara.Model {
88
78
  cloudProvider?: string;
89
79
  /**
90
80
  * @remarks
91
- * The ID of the cluster.
81
+ * The cluster ID.
92
82
  *
93
83
  * This parameter is required.
94
84
  *
@@ -98,7 +88,7 @@ export class CreateDBNodesRequest extends $dara.Model {
98
88
  DBClusterId?: string;
99
89
  /**
100
90
  * @remarks
101
- * Details of the nodes to add.
91
+ * The information about the new node.
102
92
  *
103
93
  * This parameter is required.
104
94
  */
@@ -106,12 +96,9 @@ export class CreateDBNodesRequest extends $dara.Model {
106
96
  /**
107
97
  * @remarks
108
98
  * The node type. Valid values:
109
- *
110
99
  * - RO
111
- *
112
100
  * - STANDBY
113
- *
114
- * - DLNode
101
+ * - DLNode.
115
102
  *
116
103
  * @example
117
104
  * RO
@@ -119,13 +106,10 @@ export class CreateDBNodesRequest extends $dara.Model {
119
106
  DBNodeType?: string;
120
107
  /**
121
108
  * @remarks
122
- * The ID of the cluster endpoint to which you want to add the new nodes. If you want to add the nodes to multiple cluster endpoints, separate the endpoint IDs with a comma (,).
123
- *
124
- * > - You can call the [DescribeDBClusterEndpoints](https://help.aliyun.com/document_detail/98205.html) operation to query the details of cluster endpoints, including their IDs.
125
- * >
126
- * > - You can specify the IDs of the default cluster endpoint and custom cluster endpoints.
127
- * >
128
- * > - If you leave this parameter empty, the new nodes are automatically added to all cluster endpoints where the **Auto Add New Nodes** feature is enabled (the `AutoAddNewNodes` parameter is set to `Enable`).
109
+ * The ID of the cluster endpoint to which you want to add the new node. If you want to add the node to multiple endpoints, separate the endpoint IDs with commas (,).
110
+ * > * You can call the [DescribeDBClusterEndpoints](https://help.aliyun.com/document_detail/98205.html) operation to query the details of cluster endpoints, including endpoint IDs.
111
+ * >* You can specify the IDs of the default cluster endpoint and custom cluster endpoints.
112
+ * >* If you leave this parameter empty, the new node is added to all cluster endpoints that have the **Automatically Associate New Nodes** feature enabled (the value of `AutoAddNewNodes` is `Enable`).
129
113
  *
130
114
  * @example
131
115
  * pe-****************,pe-****************
@@ -135,11 +119,11 @@ export class CreateDBNodesRequest extends $dara.Model {
135
119
  * @remarks
136
120
  * Specifies whether to enable In-Memory Column Index (IMCI). Valid values:
137
121
  *
138
- * - **ON**: The feature is enabled.
122
+ * - **ON**: enabled.
139
123
  *
140
- * - **OFF** (Default): The feature is disabled.
124
+ * - **OFF**: disabled. This is the default value.
141
125
  *
142
- * > This parameter is not supported for PolarDB for PostgreSQL (Oracle Compatible) and PolarDB for PostgreSQL clusters.
126
+ * > PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
143
127
  *
144
128
  * @example
145
129
  * ON
@@ -149,11 +133,9 @@ export class CreateDBNodesRequest extends $dara.Model {
149
133
  ownerId?: number;
150
134
  /**
151
135
  * @remarks
152
- * The latest time to start the scheduled task. The time is specified in the `YYYY-MM-DDThh:mm:ssZ` format and is in UTC.
153
- *
154
- * > - This time must be at least 30 minutes later than the value of `PlannedStartTime`.
155
- * >
156
- * > - If you specify `PlannedStartTime` but not this parameter, the latest start time defaults to 30 minutes after the `PlannedStartTime`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and leave this parameter empty, the task starts no later than `2021-01-14T09:30:00Z`.
136
+ * The latest time to start running the scheduled task. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
137
+ * > * The latest time must be at least 30 minutes later than the start time.
138
+ * >* If you specify `PlannedStartTime` but leave this parameter empty, the latest time defaults to `start time + 30 minutes`. For example, if you set `PlannedStartTime` to `2021-01-14T09:00:00Z` and leave this parameter empty, the task starts no later than `2021-01-14T09:30:00Z`.
157
139
  *
158
140
  * @example
159
141
  * 2021-01-14T09:30:00Z
@@ -161,11 +143,9 @@ export class CreateDBNodesRequest extends $dara.Model {
161
143
  plannedEndTime?: string;
162
144
  /**
163
145
  * @remarks
164
- * The earliest time to start the scheduled task to add the nodes. The time must be in UTC and in the `YYYY-MM-DDThh:mm:ssZ` format.
165
- *
166
- * > - The start time must be within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can set this parameter to a value between `2021-01-14T09:00:00Z` and `2021-01-15T09:00:00Z`.
167
- * >
168
- * > - If you omit this parameter, the nodes are added immediately.
146
+ * The earliest time to start running the scheduled task for adding nodes. Specify the time in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
147
+ * > * The start time must be within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a start time within the range of `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
148
+ * >* If you leave this parameter empty, the task for adding nodes is immediately run.
169
149
  *
170
150
  * @example
171
151
  * 2021-01-14T09:00:00Z
@@ -173,7 +153,7 @@ export class CreateDBNodesRequest extends $dara.Model {
173
153
  plannedStartTime?: string;
174
154
  /**
175
155
  * @remarks
176
- * The promotion code. If you omit this parameter, an applicable coupon is used by default.
156
+ * The coupon code. If you do not specify this parameter, the default coupon is used.
177
157
  *
178
158
  * @example
179
159
  * 727xxxxxx934
@@ -181,7 +161,7 @@ export class CreateDBNodesRequest extends $dara.Model {
181
161
  promotionCode?: string;
182
162
  /**
183
163
  * @remarks
184
- * The ID of the resource group.
164
+ * The resource group ID.
185
165
  *
186
166
  * @example
187
167
  * rg-************
@@ -31,7 +31,7 @@ export class CreateDBNodesResponseBodyDBNodeIds extends $dara.Model {
31
31
  export class CreateDBNodesResponseBody extends $dara.Model {
32
32
  /**
33
33
  * @remarks
34
- * The database cluster ID.
34
+ * The cluster ID.
35
35
  *
36
36
  * @example
37
37
  * pc-***************
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeApikeyAttributeRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The plaintext API key.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,17 +14,27 @@ export class DescribeApikeyAttributeRequest extends $dara.Model {
12
14
  */
13
15
  apiKey?: string;
14
16
  /**
17
+ * @remarks
18
+ * The page number. Default value: 1.
19
+ *
15
20
  * @example
16
21
  * 1
17
22
  */
18
23
  pageNumber?: number;
19
24
  /**
25
+ * @remarks
26
+ * The number of entries per page. Valid values: **30**, **50**, and **100**.
27
+ *
28
+ * Default value: **30**.
29
+ *
20
30
  * @example
21
31
  * 30
22
32
  */
23
33
  pageSize?: number;
24
34
  /**
25
35
  * @remarks
36
+ * The region ID.
37
+ *
26
38
  * This parameter is required.
27
39
  *
28
40
  * @example
@@ -4,46 +4,73 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeApikeyAttributeResponseBodyItemsConsumer extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The API key.
9
+ *
7
10
  * @example
8
11
  * ***
9
12
  */
10
13
  apiKey?: string;
11
14
  /**
15
+ * @remarks
16
+ * The user group ID.
17
+ *
12
18
  * @example
13
19
  * cg-bq6rcdjp02vt
14
20
  */
15
21
  consumerGroupId?: string;
16
22
  /**
23
+ * @remarks
24
+ * The consumer ID.
25
+ *
17
26
  * @example
18
27
  * c-71qh3pscbd3i
19
28
  */
20
29
  consumerId?: string;
21
30
  /**
31
+ * @remarks
32
+ * The consumer tag.
33
+ *
22
34
  * @example
23
35
  * test
24
36
  */
25
37
  consumerTag?: string;
26
38
  /**
39
+ * @remarks
40
+ * The creation time.
41
+ *
27
42
  * @example
28
43
  * 2021-07-18T07:32:30Z
29
44
  */
30
45
  createTime?: string;
31
46
  /**
47
+ * @remarks
48
+ * The gateway instance ID.
49
+ *
32
50
  * @example
33
51
  * pg-2ze5n62ef4s165***
34
52
  */
35
53
  gwClusterId?: string;
36
54
  /**
55
+ * @remarks
56
+ * The last modification time.
57
+ *
37
58
  * @example
38
59
  * 2026-04-10T01:48:25Z
39
60
  */
40
61
  modifyTime?: string;
41
62
  /**
63
+ * @remarks
64
+ * The consumer name.
65
+ *
42
66
  * @example
43
67
  * test
44
68
  */
45
69
  name?: string;
46
70
  /**
71
+ * @remarks
72
+ * The consumer status.
73
+ *
47
74
  * @example
48
75
  * Enabled
49
76
  */
@@ -87,66 +114,105 @@ export class DescribeApikeyAttributeResponseBodyItemsConsumer extends $dara.Mode
87
114
 
88
115
  export class DescribeApikeyAttributeResponseBodyItemsUsageStatistics extends $dara.Model {
89
116
  /**
117
+ * @remarks
118
+ * The dimension reference ID, which is the ConsumerId.
119
+ *
90
120
  * @example
91
121
  * c-xxxxxx
92
122
  */
93
123
  dimensionRefId?: string;
94
124
  /**
125
+ * @remarks
126
+ * The statistics dimension. The value is typically Consumer.
127
+ *
95
128
  * @example
96
129
  * Consumer
97
130
  */
98
131
  dimensionType?: string;
99
132
  /**
133
+ * @remarks
134
+ * The gateway instance ID.
135
+ *
100
136
  * @example
101
137
  * pg-bp1ln7w98yrhzz7i2
102
138
  */
103
139
  gwClusterId?: string;
104
140
  /**
141
+ * @remarks
142
+ * The number of cache tokens for the current month.
143
+ *
105
144
  * @example
106
145
  * 10
107
146
  */
108
147
  monthlyCacheToken?: string;
109
148
  /**
149
+ * @remarks
150
+ * The cost points consumed for the current month.
151
+ *
110
152
  * @example
111
153
  * 10
112
154
  */
113
155
  monthlyCostPoints?: string;
114
156
  /**
157
+ * @remarks
158
+ * The number of input tokens for the current month.
159
+ *
115
160
  * @example
116
161
  * 10
117
162
  */
118
163
  monthlyInputToken?: string;
119
164
  /**
165
+ * @remarks
166
+ * The number of output tokens for the current month.
167
+ *
120
168
  * @example
121
169
  * 10
122
170
  */
123
171
  monthlyOutputToken?: string;
124
172
  /**
173
+ * @remarks
174
+ * The number of tokens for the current month.
175
+ *
125
176
  * @example
126
177
  * 10
127
178
  */
128
179
  monthlyToken?: string;
129
180
  /**
181
+ * @remarks
182
+ * The cumulative number of cache tokens.
183
+ *
130
184
  * @example
131
185
  * 10
132
186
  */
133
187
  totalCacheToken?: string;
134
188
  /**
189
+ * @remarks
190
+ * The cumulative cost points consumed.
191
+ *
135
192
  * @example
136
193
  * 10
137
194
  */
138
195
  totalCostPoints?: string;
139
196
  /**
197
+ * @remarks
198
+ * The cumulative number of input tokens.
199
+ *
140
200
  * @example
141
201
  * 10
142
202
  */
143
203
  totalInputToken?: string;
144
204
  /**
205
+ * @remarks
206
+ * The cumulative number of output tokens.
207
+ *
145
208
  * @example
146
209
  * 10
147
210
  */
148
211
  totalOutputToken?: string;
149
212
  /**
213
+ * @remarks
214
+ * The cumulative number of tokens.
215
+ *
150
216
  * @example
151
217
  * 10
152
218
  */
@@ -197,7 +263,15 @@ export class DescribeApikeyAttributeResponseBodyItemsUsageStatistics extends $da
197
263
  }
198
264
 
199
265
  export class DescribeApikeyAttributeResponseBodyItems extends $dara.Model {
266
+ /**
267
+ * @remarks
268
+ * The consumer information.
269
+ */
200
270
  consumer?: DescribeApikeyAttributeResponseBodyItemsConsumer;
271
+ /**
272
+ * @remarks
273
+ * The usage statistics for the consumer.
274
+ */
201
275
  usageStatistics?: DescribeApikeyAttributeResponseBodyItemsUsageStatistics[];
202
276
  static names(): { [key: string]: string } {
203
277
  return {
@@ -229,8 +303,15 @@ export class DescribeApikeyAttributeResponseBodyItems extends $dara.Model {
229
303
  }
230
304
 
231
305
  export class DescribeApikeyAttributeResponseBody extends $dara.Model {
306
+ /**
307
+ * @remarks
308
+ * The list of consumer objects.
309
+ */
232
310
  items?: DescribeApikeyAttributeResponseBodyItems[];
233
311
  /**
312
+ * @remarks
313
+ * Id of the request
314
+ *
234
315
  * @example
235
316
  * F3322AFE-083E-4D77-A074-421301******
236
317
  */
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribePolarClawAgentFileRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Agent ID
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * main
14
+ */
15
+ agentId?: string;
16
+ /**
17
+ * @remarks
18
+ * The application ID.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * pa-xxx
24
+ */
25
+ applicationId?: string;
26
+ /**
27
+ * @remarks
28
+ * The file name.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * SOUL.md
34
+ */
35
+ fileName?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ agentId: 'AgentId',
39
+ applicationId: 'ApplicationId',
40
+ fileName: 'FileName',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ agentId: 'string',
47
+ applicationId: 'string',
48
+ fileName: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribePolarClawAgentFileResponseBody } from "./DescribePolarClawAgentFileResponseBody";
4
+
5
+
6
+ export class DescribePolarClawAgentFileResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribePolarClawAgentFileResponseBody;
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: DescribePolarClawAgentFileResponseBody,
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
+