@alicloud/polardb20170801 7.0.0 → 7.1.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 +63 -18
- package/dist/client.js +168 -18
- package/dist/client.js.map +1 -1
- package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
- package/dist/models/CreateBatchConsumerRequest.js +66 -0
- package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
- package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
- package/dist/models/CreateBatchConsumerResponse.js +69 -0
- package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
- package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
- package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
- package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeApikeyAttributeRequest.d.ts +39 -0
- package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
- package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
- package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
- package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
- package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +167 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
- package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
- package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
- package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
- package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
- package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
- package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
- package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +79 -11
- package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
- package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
- package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
- package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
- package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
- package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
- package/dist/models/UpdatePolarClawAgentRequest.d.ts +20 -10
- package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
- package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +15 -15
- package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +18 -8
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
- package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +68 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +188 -18
- package/src/models/CreateBatchConsumerRequest.ts +82 -0
- package/src/models/CreateBatchConsumerResponse.ts +40 -0
- package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
- package/src/models/DescribeApikeyAttributeRequest.ts +58 -0
- package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
- package/src/models/DescribeApikeyAttributeResponseBody.ts +263 -0
- package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
- package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
- package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
- package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
- package/src/models/DescribePolarClawAgentsResponseBody.ts +131 -11
- package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
- package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
- package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
- package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
- package/src/models/UpdatePolarClawAgentRequest.ts +24 -10
- package/src/models/UpdatePolarClawAgentResponseBody.ts +15 -15
- package/src/models/UpdatePolarClawAgentShrinkRequest.ts +22 -8
- package/src/models/model.ts +16 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateBatchConsumerRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
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.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 6000170000591aed949d0f5********************
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the user group.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* cg-xxxxxx
|
|
22
|
+
*/
|
|
23
|
+
consumerGroupId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The number of user API keys to create.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 1
|
|
32
|
+
*/
|
|
33
|
+
count?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The gateway instance ID.
|
|
37
|
+
*
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* pg-xxxxxxxx
|
|
42
|
+
*/
|
|
43
|
+
gwClusterId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The region ID.
|
|
47
|
+
*
|
|
48
|
+
* This parameter is required.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* cn-beijing
|
|
52
|
+
*/
|
|
53
|
+
regionId?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
clientToken: 'ClientToken',
|
|
57
|
+
consumerGroupId: 'ConsumerGroupId',
|
|
58
|
+
count: 'Count',
|
|
59
|
+
gwClusterId: 'GwClusterId',
|
|
60
|
+
regionId: 'RegionId',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
static types(): { [key: string]: any } {
|
|
65
|
+
return {
|
|
66
|
+
clientToken: 'string',
|
|
67
|
+
consumerGroupId: 'string',
|
|
68
|
+
count: 'number',
|
|
69
|
+
gwClusterId: 'string',
|
|
70
|
+
regionId: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
super.validate();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
constructor(map?: { [key: string]: any }) {
|
|
79
|
+
super(map);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateBatchConsumerResponseBody } from "./CreateBatchConsumerResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateBatchConsumerResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateBatchConsumerResponseBody;
|
|
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: CreateBatchConsumerResponseBody,
|
|
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,199 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateBatchConsumerResponseBodyItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The complete API key. This value is returned only in the current response.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* xxxxxxxx
|
|
12
|
+
*/
|
|
13
|
+
apiKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The API key status. Default value: Active.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* Active
|
|
20
|
+
*/
|
|
21
|
+
apiStatus?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the user group.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cg-xxxxxx
|
|
28
|
+
*/
|
|
29
|
+
consumerGroupId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The user ID.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* c-mqveroemc***
|
|
36
|
+
*/
|
|
37
|
+
consumerId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The consumer tag.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* test
|
|
44
|
+
*/
|
|
45
|
+
consumerTag?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The gateway instance ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* pg-xxxxxxxxxx
|
|
52
|
+
*/
|
|
53
|
+
gwClusterId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The name.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* test
|
|
60
|
+
*/
|
|
61
|
+
name?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The consumer status. Default value: Enabled.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* Enabled
|
|
68
|
+
*/
|
|
69
|
+
status?: string;
|
|
70
|
+
static names(): { [key: string]: string } {
|
|
71
|
+
return {
|
|
72
|
+
apiKey: 'ApiKey',
|
|
73
|
+
apiStatus: 'ApiStatus',
|
|
74
|
+
consumerGroupId: 'ConsumerGroupId',
|
|
75
|
+
consumerId: 'ConsumerId',
|
|
76
|
+
consumerTag: 'ConsumerTag',
|
|
77
|
+
gwClusterId: 'GwClusterId',
|
|
78
|
+
name: 'Name',
|
|
79
|
+
status: 'Status',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
apiKey: 'string',
|
|
86
|
+
apiStatus: 'string',
|
|
87
|
+
consumerGroupId: 'string',
|
|
88
|
+
consumerId: 'string',
|
|
89
|
+
consumerTag: 'string',
|
|
90
|
+
gwClusterId: 'string',
|
|
91
|
+
name: 'string',
|
|
92
|
+
status: 'string',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
validate() {
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export class CreateBatchConsumerResponseBody extends $dara.Model {
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The list of consumer objects.
|
|
109
|
+
*/
|
|
110
|
+
items?: CreateBatchConsumerResponseBodyItems[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The page number. Default value: 1.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* 1
|
|
117
|
+
*/
|
|
118
|
+
pageNumber?: number;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The number of records on the current page.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* 1
|
|
125
|
+
*/
|
|
126
|
+
pageRecordCount?: number;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The number of records per page. Valid values:
|
|
130
|
+
* * **30**
|
|
131
|
+
* * **50**
|
|
132
|
+
* * **100**
|
|
133
|
+
*
|
|
134
|
+
* Default value: 30.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* 30
|
|
138
|
+
*/
|
|
139
|
+
pageSize?: number;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Id of the request
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* A7E6A8FD-C50B-46B2-BA85-D8B8D3******
|
|
146
|
+
*/
|
|
147
|
+
requestId?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The total number of pages.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* 1
|
|
154
|
+
*/
|
|
155
|
+
totalPages?: number;
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The total number of records.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* 2
|
|
162
|
+
*/
|
|
163
|
+
totalRecordCount?: number;
|
|
164
|
+
static names(): { [key: string]: string } {
|
|
165
|
+
return {
|
|
166
|
+
items: 'Items',
|
|
167
|
+
pageNumber: 'PageNumber',
|
|
168
|
+
pageRecordCount: 'PageRecordCount',
|
|
169
|
+
pageSize: 'PageSize',
|
|
170
|
+
requestId: 'RequestId',
|
|
171
|
+
totalPages: 'TotalPages',
|
|
172
|
+
totalRecordCount: 'TotalRecordCount',
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
static types(): { [key: string]: any } {
|
|
177
|
+
return {
|
|
178
|
+
items: { 'type': 'array', 'itemType': CreateBatchConsumerResponseBodyItems },
|
|
179
|
+
pageNumber: 'number',
|
|
180
|
+
pageRecordCount: 'number',
|
|
181
|
+
pageSize: 'number',
|
|
182
|
+
requestId: 'string',
|
|
183
|
+
totalPages: 'number',
|
|
184
|
+
totalRecordCount: 'number',
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
validate() {
|
|
189
|
+
if(Array.isArray(this.items)) {
|
|
190
|
+
$dara.Model.validateArray(this.items);
|
|
191
|
+
}
|
|
192
|
+
super.validate();
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
constructor(map?: { [key: string]: any }) {
|
|
196
|
+
super(map);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|