@alicloud/polardb20170801 7.7.0 → 7.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/client.d.ts +37 -6
  2. package/dist/client.js +85 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarFsPathMappingRequest.d.ts +6 -4
  5. package/dist/models/AddPolarFsPathMappingRequest.js +4 -0
  6. package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
  7. package/dist/models/AddPolarFsPathMappingResponseBody.d.ts +1 -1
  8. package/dist/models/CreateBatchConsumerRequest.d.ts +19 -7
  9. package/dist/models/CreateBatchConsumerRequest.js +4 -0
  10. package/dist/models/CreateBatchConsumerRequest.js.map +1 -1
  11. package/dist/models/CreateBatchConsumerResponseBody.d.ts +90 -2
  12. package/dist/models/CreateBatchConsumerResponseBody.js +22 -0
  13. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -1
  14. package/dist/models/CreateDbclusterRequest.d.ts +47 -261
  15. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  16. package/dist/models/CreateDbclusterResponseBody.d.ts +14 -0
  17. package/dist/models/CreateDbclusterResponseBody.js.map +1 -1
  18. package/dist/models/CreateGwConsumerOrderRequest.d.ts +76 -0
  19. package/dist/models/CreateGwConsumerOrderRequest.js +68 -0
  20. package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -0
  21. package/dist/models/CreateGwConsumerOrderResponse.d.ts +19 -0
  22. package/dist/models/CreateGwConsumerOrderResponse.js +69 -0
  23. package/dist/models/CreateGwConsumerOrderResponse.js.map +1 -0
  24. package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +53 -0
  25. package/dist/models/CreateGwConsumerOrderResponseBody.js +66 -0
  26. package/dist/models/CreateGwConsumerOrderResponseBody.js.map +1 -0
  27. package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
  28. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
  29. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  30. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
  31. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  32. package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
  33. package/dist/models/ModifyDbclusterSslrequest.js +2 -0
  34. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  35. package/dist/models/RestartPolarClawGatewayRequest.d.ts +7 -0
  36. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -1
  37. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +36 -0
  38. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -1
  39. package/dist/models/model.d.ts +3 -0
  40. package/dist/models/model.js +29 -23
  41. package/dist/models/model.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/client.ts +96 -8
  44. package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
  45. package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
  46. package/src/models/CreateBatchConsumerRequest.ts +23 -7
  47. package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
  48. package/src/models/CreateDbclusterRequest.ts +51 -265
  49. package/src/models/CreateDbclusterResponseBody.ts +14 -0
  50. package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
  51. package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
  52. package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
  53. package/src/models/DescribeApplicationLogsRequest.ts +4 -4
  54. package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
  55. package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
  56. package/src/models/ModifyDbclusterSslrequest.ts +16 -9
  57. package/src/models/RestartPolarClawGatewayRequest.ts +7 -0
  58. package/src/models/RestartPolarClawGatewayResponseBody.ts +36 -0
  59. package/src/models/model.ts +3 -0
@@ -5,12 +5,36 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The complete API key. This value is returned only in the current response.
8
+ * Indicates whether the key is active.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ active?: boolean;
14
+ /**
15
+ * @remarks
16
+ * The full API key. Returned only in this response.
9
17
  *
10
18
  * @example
11
19
  * xxxxxxxx
12
20
  */
13
21
  apiKey?: string;
22
+ /**
23
+ * @remarks
24
+ * The MD5 hash of the API key.
25
+ *
26
+ * @example
27
+ * 0769a11c2d474f96fbb527f8e273d3de
28
+ */
29
+ apiKeyMd5?: string;
30
+ /**
31
+ * @remarks
32
+ * The status of the API key. Default value: Active.
33
+ *
34
+ * @example
35
+ * Active
36
+ */
37
+ apiKeyStatus?: string;
14
38
  /**
15
39
  * @remarks
16
40
  * The API key status. Default value: Active.
@@ -21,7 +45,31 @@ export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
21
45
  apiStatus?: string;
22
46
  /**
23
47
  * @remarks
24
- * The ID of the user group.
48
+ * The budget limit, which equals the number of credits per package.
49
+ *
50
+ * @example
51
+ * 3000
52
+ */
53
+ budgetLimit?: number;
54
+ /**
55
+ * @remarks
56
+ * The budget policy ID. Each key has an independent budget policy.
57
+ *
58
+ * @example
59
+ * 023aacc1effc4b56bb154bfbec6ba9**
60
+ */
61
+ budgetPolicyId?: string;
62
+ /**
63
+ * @remarks
64
+ * The used quota.
65
+ *
66
+ * @example
67
+ * 0
68
+ */
69
+ budgetUsed?: number;
70
+ /**
71
+ * @remarks
72
+ * The user group ID.
25
73
  *
26
74
  * @example
27
75
  * cg-xxxxxx
@@ -43,6 +91,46 @@ export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
43
91
  * test
44
92
  */
45
93
  consumerTag?: string;
94
+ /**
95
+ * @remarks
96
+ * The application description or remarks.
97
+ *
98
+ * @example
99
+ * myapp
100
+ */
101
+ description?: string;
102
+ /**
103
+ * @remarks
104
+ * The expiration time.
105
+ *
106
+ * @example
107
+ * 2025-06-25T09:37:10Z
108
+ */
109
+ expireTime?: string;
110
+ /**
111
+ * @remarks
112
+ * Indicates whether the key is expired.
113
+ *
114
+ * @example
115
+ * false
116
+ */
117
+ expired?: boolean;
118
+ /**
119
+ * @remarks
120
+ * The creation time.
121
+ *
122
+ * @example
123
+ * 2024-10-16 16:46:20
124
+ */
125
+ gmtCreated?: string;
126
+ /**
127
+ * @remarks
128
+ * The last modification time.
129
+ *
130
+ * @example
131
+ * 2026-01-04T16:09:29+08:00
132
+ */
133
+ gmtModified?: string;
46
134
  /**
47
135
  * @remarks
48
136
  * The gateway instance ID.
@@ -69,11 +157,22 @@ export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
69
157
  status?: string;
70
158
  static names(): { [key: string]: string } {
71
159
  return {
160
+ active: 'Active',
72
161
  apiKey: 'ApiKey',
162
+ apiKeyMd5: 'ApiKeyMd5',
163
+ apiKeyStatus: 'ApiKeyStatus',
73
164
  apiStatus: 'ApiStatus',
165
+ budgetLimit: 'BudgetLimit',
166
+ budgetPolicyId: 'BudgetPolicyId',
167
+ budgetUsed: 'BudgetUsed',
74
168
  consumerGroupId: 'ConsumerGroupId',
75
169
  consumerId: 'ConsumerId',
76
170
  consumerTag: 'ConsumerTag',
171
+ description: 'Description',
172
+ expireTime: 'ExpireTime',
173
+ expired: 'Expired',
174
+ gmtCreated: 'GmtCreated',
175
+ gmtModified: 'GmtModified',
77
176
  gwClusterId: 'GwClusterId',
78
177
  name: 'Name',
79
178
  status: 'Status',
@@ -82,11 +181,22 @@ export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
82
181
 
83
182
  static types(): { [key: string]: any } {
84
183
  return {
184
+ active: 'boolean',
85
185
  apiKey: 'string',
186
+ apiKeyMd5: 'string',
187
+ apiKeyStatus: 'string',
86
188
  apiStatus: 'string',
189
+ budgetLimit: 'number',
190
+ budgetPolicyId: 'string',
191
+ budgetUsed: 'number',
87
192
  consumerGroupId: 'string',
88
193
  consumerId: 'string',
89
194
  consumerTag: 'string',
195
+ description: 'string',
196
+ expireTime: 'string',
197
+ expired: 'boolean',
198
+ gmtCreated: 'string',
199
+ gmtModified: 'string',
90
200
  gwClusterId: 'string',
91
201
  name: 'string',
92
202
  status: 'string',