@alicloud/polardb20170801 9.2.2 → 9.2.3

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 (74) hide show
  1. package/dist/client.d.ts +16 -16
  2. package/dist/client.js +34 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgenticDbtenantApiKeyRequest.d.ts +9 -3
  5. package/dist/models/CreateAgenticDbtenantApiKeyRequest.js +2 -0
  6. package/dist/models/CreateAgenticDbtenantApiKeyRequest.js.map +1 -1
  7. package/dist/models/CreateAgenticDbtenantApiKeyResponseBody.d.ts +2 -2
  8. package/dist/models/CreateBatchTaskRequest.d.ts +10 -3
  9. package/dist/models/CreateBatchTaskRequest.js +2 -0
  10. package/dist/models/CreateBatchTaskRequest.js.map +1 -1
  11. package/dist/models/CreateBatchTaskShrinkRequest.d.ts +10 -3
  12. package/dist/models/CreateBatchTaskShrinkRequest.js +2 -0
  13. package/dist/models/CreateBatchTaskShrinkRequest.js.map +1 -1
  14. package/dist/models/DescribeAgenticDbprojectsRequest.d.ts +4 -4
  15. package/dist/models/DescribeAgenticDbprojectsResponseBody.d.ts +14 -7
  16. package/dist/models/DescribeAgenticDbprojectsResponseBody.js +2 -0
  17. package/dist/models/DescribeAgenticDbprojectsResponseBody.js.map +1 -1
  18. package/dist/models/DescribeBatchTasksRequest.d.ts +7 -7
  19. package/dist/models/DescribeBatchTasksResponseBody.d.ts +8 -8
  20. package/dist/models/DescribeBatchTasksShrinkRequest.d.ts +7 -7
  21. package/dist/models/DescribeVswitchListRequest.d.ts +10 -12
  22. package/dist/models/DescribeVswitchListRequest.js.map +1 -1
  23. package/dist/models/DescribeVswitchListResponseBody.d.ts +8 -12
  24. package/dist/models/DescribeVswitchListResponseBody.js.map +1 -1
  25. package/dist/models/DisableDbclusterOrcaRequest.d.ts +3 -3
  26. package/dist/models/EnableDbclusterOrcaRequest.d.ts +1 -2
  27. package/dist/models/EnableDbclusterOrcaRequest.js.map +1 -1
  28. package/dist/models/EnableDbclusterOrcaResponseBody.d.ts +1 -1
  29. package/dist/models/InstallPolarClawSkillRequest.d.ts +19 -3
  30. package/dist/models/InstallPolarClawSkillRequest.js +4 -0
  31. package/dist/models/InstallPolarClawSkillRequest.js.map +1 -1
  32. package/dist/models/InstallPolarClawSkillResponseBody.d.ts +30 -6
  33. package/dist/models/InstallPolarClawSkillResponseBody.js +6 -0
  34. package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -1
  35. package/dist/models/ModifyResourceControlRequest.d.ts +3 -3
  36. package/dist/models/ModifyResourceControlResponseBody.d.ts +1 -1
  37. package/dist/models/SearchPolarClawSkillsRequest.d.ts +17 -1
  38. package/dist/models/SearchPolarClawSkillsRequest.js +4 -0
  39. package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -1
  40. package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +3 -3
  41. package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +1 -1
  42. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +3 -3
  43. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +1 -1
  44. package/dist/models/UpdatePolarClawSkillRequest.d.ts +1 -1
  45. package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +2 -2
  46. package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/src/client.ts +40 -16
  49. package/src/models/CreateAgenticDbtenantApiKeyRequest.ts +11 -3
  50. package/src/models/CreateAgenticDbtenantApiKeyResponseBody.ts +2 -2
  51. package/src/models/CreateBatchTaskRequest.ts +12 -3
  52. package/src/models/CreateBatchTaskShrinkRequest.ts +12 -3
  53. package/src/models/DescribeAgenticDbprojectsRequest.ts +4 -4
  54. package/src/models/DescribeAgenticDbprojectsResponseBody.ts +16 -7
  55. package/src/models/DescribeBatchTasksRequest.ts +7 -7
  56. package/src/models/DescribeBatchTasksResponseBody.ts +8 -8
  57. package/src/models/DescribeBatchTasksShrinkRequest.ts +7 -7
  58. package/src/models/DescribeVswitchListRequest.ts +10 -12
  59. package/src/models/DescribeVswitchListResponseBody.ts +8 -12
  60. package/src/models/DisableDbclusterOrcaRequest.ts +3 -3
  61. package/src/models/EnableDbclusterOrcaRequest.ts +1 -2
  62. package/src/models/EnableDbclusterOrcaResponseBody.ts +1 -1
  63. package/src/models/InstallPolarClawSkillRequest.ts +23 -3
  64. package/src/models/InstallPolarClawSkillResponseBody.ts +36 -6
  65. package/src/models/ModifyResourceControlRequest.ts +3 -3
  66. package/src/models/ModifyResourceControlResponseBody.ts +1 -1
  67. package/src/models/SearchPolarClawSkillsRequest.ts +21 -1
  68. package/src/models/SearchPolarClawSkillsResponseBody.ts +3 -3
  69. package/src/models/UpdatePolarClawAgentSkillsRequest.ts +1 -1
  70. package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +3 -3
  71. package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +1 -1
  72. package/src/models/UpdatePolarClawSkillRequest.ts +1 -1
  73. package/src/models/UpdatePolarClawSkillResponseBody.ts +2 -2
  74. package/src/models/UpdatePolarClawSkillShrinkRequest.ts +1 -1
@@ -13,7 +13,7 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
13
13
  applicationId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The response status code.
16
+ * The returned status code.
17
17
  *
18
18
  * @example
19
19
  * 200
@@ -21,7 +21,7 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
21
21
  code?: number;
22
22
  /**
23
23
  * @remarks
24
- * The response message.
24
+ * The returned message.
25
25
  *
26
26
  * @example
27
27
  * success
@@ -29,12 +29,20 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
29
29
  message?: string;
30
30
  /**
31
31
  * @remarks
32
- * Indicates whether the operation was successful.
32
+ * Indicates whether the operation is successful. This parameter is returned when Async is set to false.
33
33
  *
34
34
  * @example
35
35
  * true
36
36
  */
37
37
  ok?: boolean;
38
+ /**
39
+ * @remarks
40
+ * The operation name. This parameter is returned when Async is set to true.
41
+ *
42
+ * @example
43
+ * InstallPolarClawSkill
44
+ */
45
+ operation?: string;
38
46
  /**
39
47
  * @remarks
40
48
  * Id of the request
@@ -45,7 +53,7 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
45
53
  requestId?: string;
46
54
  /**
47
55
  * @remarks
48
- * The identifier of the installed Skill.
56
+ * The identifier of the installed skill. This parameter is returned during synchronous execution.
49
57
  *
50
58
  * @example
51
59
  * alibacloud-rds-copilot
@@ -53,7 +61,15 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
53
61
  slug?: string;
54
62
  /**
55
63
  * @remarks
56
- * The installation directory.
64
+ * The initial state of the task. This parameter is returned when Async is set to true.
65
+ *
66
+ * @example
67
+ * pending
68
+ */
69
+ state?: string;
70
+ /**
71
+ * @remarks
72
+ * The installation directory. This parameter is returned during synchronous execution.
57
73
  *
58
74
  * @example
59
75
  * /home/node/.openclaw/skills/alibacloud-rds-copilot
@@ -61,7 +77,15 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
61
77
  targetDir?: string;
62
78
  /**
63
79
  * @remarks
64
- * The version number of the installed Skill.
80
+ * The ID of the asynchronous task. This parameter is returned when Async is set to true.
81
+ *
82
+ * @example
83
+ * 9f1c2e3d-xxxx
84
+ */
85
+ taskId?: string;
86
+ /**
87
+ * @remarks
88
+ * The installed version number. This parameter is returned during synchronous execution.
65
89
  *
66
90
  * @example
67
91
  * 1.2.0
@@ -73,9 +97,12 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
73
97
  code: 'Code',
74
98
  message: 'Message',
75
99
  ok: 'Ok',
100
+ operation: 'Operation',
76
101
  requestId: 'RequestId',
77
102
  slug: 'Slug',
103
+ state: 'State',
78
104
  targetDir: 'TargetDir',
105
+ taskId: 'TaskId',
79
106
  version: 'Version',
80
107
  };
81
108
  }
@@ -86,9 +113,12 @@ export class InstallPolarClawSkillResponseBody extends $dara.Model {
86
113
  code: 'number',
87
114
  message: 'string',
88
115
  ok: 'boolean',
116
+ operation: 'string',
89
117
  requestId: 'string',
90
118
  slug: 'string',
119
+ state: 'string',
91
120
  targetDir: 'string',
121
+ taskId: 'string',
92
122
  version: 'string',
93
123
  };
94
124
  }
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyResourceControlRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The updated maximum number of CPU cores. The minimum value is 1, and the maximum value is determined by the resource_control_cpu_count_limit kernel parameter of the cluster. You must specify exactly one of the MaxCpu and CpuCount parameters.
8
+ * The updated maximum number of CPU cores. The minimum value is 1, and the maximum value is determined by the resource_control_cpu_count_limit kernel parameter of the cluster. You must specify either MaxCpu or CpuCount, but not both.
9
9
  *
10
10
  * @example
11
11
  * 8
@@ -23,7 +23,7 @@ export class ModifyResourceControlRequest extends $dara.Model {
23
23
  DBClusterId?: string;
24
24
  /**
25
25
  * @remarks
26
- * The updated maximum CPU quota percentage. Valid values: 1 to 100. You must specify exactly one of the MaxCpu and CpuCount parameters.
26
+ * The updated maximum CPU quota percentage. Valid values: 1 to 100. You must specify either MaxCpu or CpuCount, but not both.
27
27
  *
28
28
  * @example
29
29
  * 30
@@ -31,7 +31,7 @@ export class ModifyResourceControlRequest extends $dara.Model {
31
31
  maxCpu?: number;
32
32
  /**
33
33
  * @remarks
34
- * The ID of the region where the PolarDB cluster is deployed.
34
+ * The region ID of the PolarDB cluster.
35
35
  * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
36
36
  *
37
37
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyResourceControlResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID.
8
+ * The ID of the request.
9
9
  *
10
10
  * @example
11
11
  * 47921222-0D37-4133-8C0D-017DC3******
@@ -13,6 +13,14 @@ export class SearchPolarClawSkillsRequest extends $dara.Model {
13
13
  * pa-xxx
14
14
  */
15
15
  applicationId?: string;
16
+ /**
17
+ * @remarks
18
+ * Specifies whether to perform an exact search by matching the slug.
19
+ *
20
+ * @example
21
+ * true
22
+ */
23
+ exact?: boolean;
16
24
  /**
17
25
  * @remarks
18
26
  * The maximum number of results to return. Valid values: 1 to 100.
@@ -23,25 +31,37 @@ export class SearchPolarClawSkillsRequest extends $dara.Model {
23
31
  limit?: number;
24
32
  /**
25
33
  * @remarks
26
- * The search keyword. If this parameter is not specified, popular or recommended results are returned.
34
+ * The search keyword. If this parameter is not specified, popular or recommended skills are returned.
27
35
  *
28
36
  * @example
29
37
  * rds
30
38
  */
31
39
  query?: string;
40
+ /**
41
+ * @remarks
42
+ * The source of the skill. Valid values: clawhub and polarhub.
43
+ *
44
+ * @example
45
+ * polarhub
46
+ */
47
+ source?: string;
32
48
  static names(): { [key: string]: string } {
33
49
  return {
34
50
  applicationId: 'ApplicationId',
51
+ exact: 'Exact',
35
52
  limit: 'Limit',
36
53
  query: 'Query',
54
+ source: 'Source',
37
55
  };
38
56
  }
39
57
 
40
58
  static types(): { [key: string]: any } {
41
59
  return {
42
60
  applicationId: 'string',
61
+ exact: 'boolean',
43
62
  limit: 'number',
44
63
  query: 'string',
64
+ source: 'string',
45
65
  };
46
66
  }
47
67
 
@@ -37,7 +37,7 @@ export class SearchPolarClawSkillsResponseBodyResults extends $dara.Model {
37
37
  summary?: string;
38
38
  /**
39
39
  * @remarks
40
- * The UNIX timestamp of the last update, in seconds.
40
+ * The last update timestamp in UNIX seconds.
41
41
  *
42
42
  * @example
43
43
  * 1716000000
@@ -93,7 +93,7 @@ export class SearchPolarClawSkillsResponseBody extends $dara.Model {
93
93
  applicationId?: string;
94
94
  /**
95
95
  * @remarks
96
- * The response status code.
96
+ * The returned status code.
97
97
  *
98
98
  * @example
99
99
  * 200
@@ -101,7 +101,7 @@ export class SearchPolarClawSkillsResponseBody extends $dara.Model {
101
101
  code?: number;
102
102
  /**
103
103
  * @remarks
104
- * The response message.
104
+ * The returned message.
105
105
  *
106
106
  * @example
107
107
  * success
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePolarClawAgentSkillsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * PolarClaw Agent ID。
8
+ * The PolarClaw Agent ID.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -21,7 +21,7 @@ export class UpdatePolarClawAgentSkillsResponseBody extends $dara.Model {
21
21
  applicationId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The response status code.
24
+ * The returned status code.
25
25
  *
26
26
  * @example
27
27
  * 200
@@ -29,7 +29,7 @@ export class UpdatePolarClawAgentSkillsResponseBody extends $dara.Model {
29
29
  code?: number;
30
30
  /**
31
31
  * @remarks
32
- * The response message.
32
+ * The returned message.
33
33
  *
34
34
  * @example
35
35
  * success
@@ -37,7 +37,7 @@ export class UpdatePolarClawAgentSkillsResponseBody extends $dara.Model {
37
37
  message?: string;
38
38
  /**
39
39
  * @remarks
40
- * Indicates whether the operation was successful.
40
+ * Indicates whether the operation is successful.
41
41
  *
42
42
  * @example
43
43
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePolarClawAgentSkillsShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * PolarClaw Agent ID。
8
+ * The PolarClaw Agent ID.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -31,7 +31,7 @@ export class UpdatePolarClawSkillRequest extends $dara.Model {
31
31
  enabled?: boolean;
32
32
  /**
33
33
  * @remarks
34
- * The environment variables as a key-value map. An empty value indicates that the variable is deleted.
34
+ * The environment variables. This is a map of key-value pairs. An empty value indicates that the variable is deleted.
35
35
  *
36
36
  * @example
37
37
  * {"NETA_TOKEN":"my-token"}
@@ -53,7 +53,7 @@ export class UpdatePolarClawSkillResponseBody extends $dara.Model {
53
53
  applicationId?: string;
54
54
  /**
55
55
  * @remarks
56
- * The returned status code.
56
+ * The status code.
57
57
  *
58
58
  * @example
59
59
  * 200
@@ -66,7 +66,7 @@ export class UpdatePolarClawSkillResponseBody extends $dara.Model {
66
66
  config?: UpdatePolarClawSkillResponseBodyConfig;
67
67
  /**
68
68
  * @remarks
69
- * The returned message.
69
+ * The message.
70
70
  *
71
71
  * @example
72
72
  * success
@@ -31,7 +31,7 @@ export class UpdatePolarClawSkillShrinkRequest extends $dara.Model {
31
31
  enabled?: boolean;
32
32
  /**
33
33
  * @remarks
34
- * The environment variables as a key-value map. An empty value indicates that the variable is deleted.
34
+ * The environment variables. This is a map of key-value pairs. An empty value indicates that the variable is deleted.
35
35
  *
36
36
  * @example
37
37
  * {"NETA_TOKEN":"my-token"}