@alicloud/polardb20170801 7.6.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 (69) hide show
  1. package/dist/client.d.ts +56 -10
  2. package/dist/client.js +131 -12
  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/DescribeApplicationAttributeResponseBody.d.ts +75 -110
  28. package/dist/models/DescribeApplicationAttributeResponseBody.js +2 -0
  29. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  30. package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
  31. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
  32. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  33. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
  34. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  35. package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
  36. package/dist/models/ModifyDbclusterSslrequest.js +2 -0
  37. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  38. package/dist/models/RestartPolarClawGatewayRequest.d.ts +33 -0
  39. package/dist/models/RestartPolarClawGatewayRequest.js +60 -0
  40. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -0
  41. package/dist/models/RestartPolarClawGatewayResponse.d.ts +19 -0
  42. package/dist/models/RestartPolarClawGatewayResponse.js +69 -0
  43. package/dist/models/RestartPolarClawGatewayResponse.js.map +1 -0
  44. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +109 -0
  45. package/dist/models/RestartPolarClawGatewayResponseBody.js +80 -0
  46. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -0
  47. package/dist/models/model.d.ts +6 -0
  48. package/dist/models/model.js +35 -23
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +2 -2
  51. package/src/client.ts +146 -12
  52. package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
  53. package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
  54. package/src/models/CreateBatchConsumerRequest.ts +23 -7
  55. package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
  56. package/src/models/CreateDbclusterRequest.ts +51 -265
  57. package/src/models/CreateDbclusterResponseBody.ts +14 -0
  58. package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
  59. package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
  60. package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
  61. package/src/models/DescribeApplicationAttributeResponseBody.ts +77 -110
  62. package/src/models/DescribeApplicationLogsRequest.ts +4 -4
  63. package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
  64. package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
  65. package/src/models/ModifyDbclusterSslrequest.ts +16 -9
  66. package/src/models/RestartPolarClawGatewayRequest.ts +48 -0
  67. package/src/models/RestartPolarClawGatewayResponse.ts +40 -0
  68. package/src/models/RestartPolarClawGatewayResponseBody.ts +144 -0
  69. package/src/models/model.ts +6 -0
@@ -7,12 +7,14 @@ import * as $dara from '@darabonba/typescript';
7
7
  export class AddPolarFsPathMappingRequestCustomBucketPathList extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
- * The name of the bucket.
10
+ * The bucket name.
11
11
  *
12
12
  * @example
13
13
  * Bucket1
14
14
  */
15
15
  bucket?: string;
16
+ bucketAccessKeyId?: string;
17
+ bucketAccessKeySecret?: string;
16
18
  /**
17
19
  * @remarks
18
20
  * The custom storage path.
@@ -24,6 +26,8 @@ export class AddPolarFsPathMappingRequestCustomBucketPathList extends $dara.Mode
24
26
  static names(): { [key: string]: string } {
25
27
  return {
26
28
  bucket: 'Bucket',
29
+ bucketAccessKeyId: 'BucketAccessKeyId',
30
+ bucketAccessKeySecret: 'BucketAccessKeySecret',
27
31
  path: 'Path',
28
32
  };
29
33
  }
@@ -31,6 +35,8 @@ export class AddPolarFsPathMappingRequestCustomBucketPathList extends $dara.Mode
31
35
  static types(): { [key: string]: any } {
32
36
  return {
33
37
  bucket: 'string',
38
+ bucketAccessKeyId: 'string',
39
+ bucketAccessKeySecret: 'string',
34
40
  path: 'string',
35
41
  };
36
42
  }
@@ -47,12 +53,12 @@ export class AddPolarFsPathMappingRequestCustomBucketPathList extends $dara.Mode
47
53
  export class AddPolarFsPathMappingRequest extends $dara.Model {
48
54
  /**
49
55
  * @remarks
50
- * A list of objects, each containing a bucket and its corresponding path.
56
+ * The bucket and corresponding path information.
51
57
  */
52
58
  customBucketPathList?: AddPolarFsPathMappingRequestCustomBucketPathList[];
53
59
  /**
54
60
  * @remarks
55
- * The ID of the cluster.
61
+ * The cluster ID.
56
62
  *
57
63
  * This parameter is required.
58
64
  *
@@ -62,7 +68,7 @@ export class AddPolarFsPathMappingRequest extends $dara.Model {
62
68
  DBClusterId?: string;
63
69
  /**
64
70
  * @remarks
65
- * The ID of the PolarFS instance.
71
+ * The PolarFS instance ID.
66
72
  *
67
73
  * This parameter is required.
68
74
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddPolarFsPathMappingResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID.
8
+ * Id of the request
9
9
  *
10
10
  * @example
11
11
  * CDB3258F-B5DE-43C4-8935-CBA0CA******
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateBatchConsumerRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The client token that is used to ensure the idempotence of the request and prevent repeated request submissions. The value is generated by the client and must be unique among different requests. The value is case-sensitive and cannot exceed 64 ASCII characters in length.
8
+ * The client token that is used to ensure the idempotency of the request and prevent repeated submissions. The token is generated by the client and must be unique among different requests. The token is case-sensitive and cannot exceed 64 ASCII characters in length.
9
9
  *
10
10
  * @example
11
11
  * 6000170000591aed949d0f5********************
@@ -13,9 +13,7 @@ export class CreateBatchConsumerRequest extends $dara.Model {
13
13
  clientToken?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the user group.
17
- *
18
- * This parameter is required.
16
+ * The user group ID.
19
17
  *
20
18
  * @example
21
19
  * cg-xxxxxx
@@ -23,14 +21,28 @@ export class CreateBatchConsumerRequest extends $dara.Model {
23
21
  consumerGroupId?: string;
24
22
  /**
25
23
  * @remarks
26
- * The number of user API keys to create.
27
- *
28
- * This parameter is required.
24
+ * The number of user API keys.
29
25
  *
30
26
  * @example
31
27
  * 1
32
28
  */
33
29
  count?: number;
30
+ /**
31
+ * @remarks
32
+ * The redemption code. If specified, the recharge-type activation branch is used, and the count and quota are populated from the database.
33
+ *
34
+ * @example
35
+ * "9"
36
+ */
37
+ creditToken?: string;
38
+ /**
39
+ * @remarks
40
+ * The consumer description prefix.
41
+ *
42
+ * @example
43
+ * myapp
44
+ */
45
+ description?: string;
34
46
  /**
35
47
  * @remarks
36
48
  * The gateway instance ID.
@@ -56,6 +68,8 @@ export class CreateBatchConsumerRequest extends $dara.Model {
56
68
  clientToken: 'ClientToken',
57
69
  consumerGroupId: 'ConsumerGroupId',
58
70
  count: 'Count',
71
+ creditToken: 'CreditToken',
72
+ description: 'Description',
59
73
  gwClusterId: 'GwClusterId',
60
74
  regionId: 'RegionId',
61
75
  };
@@ -66,6 +80,8 @@ export class CreateBatchConsumerRequest extends $dara.Model {
66
80
  clientToken: 'string',
67
81
  consumerGroupId: 'string',
68
82
  count: 'number',
83
+ creditToken: 'string',
84
+ description: 'string',
69
85
  gwClusterId: 'string',
70
86
  regionId: 'string',
71
87
  };
@@ -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',