@alicloud/polardb20170801 7.11.2 → 7.12.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 +122 -2
- package/dist/client.js +443 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateLakebaseS3accountRequest.d.ts +65 -0
- package/dist/models/CreateLakebaseS3accountRequest.js +66 -0
- package/dist/models/CreateLakebaseS3accountRequest.js.map +1 -0
- package/dist/models/CreateLakebaseS3accountResponse.d.ts +19 -0
- package/dist/models/CreateLakebaseS3accountResponse.js +69 -0
- package/dist/models/CreateLakebaseS3accountResponse.js.map +1 -0
- package/dist/models/CreateLakebaseS3accountResponseBody.d.ts +21 -0
- package/dist/models/CreateLakebaseS3accountResponseBody.js +58 -0
- package/dist/models/CreateLakebaseS3accountResponseBody.js.map +1 -0
- package/dist/models/CreatePolarFsRequest.d.ts +277 -0
- package/dist/models/CreatePolarFsRequest.js +128 -0
- package/dist/models/CreatePolarFsRequest.js.map +1 -0
- package/dist/models/CreatePolarFsResponse.d.ts +19 -0
- package/dist/models/CreatePolarFsResponse.js +69 -0
- package/dist/models/CreatePolarFsResponse.js.map +1 -0
- package/dist/models/CreatePolarFsResponseBody.d.ts +53 -0
- package/dist/models/CreatePolarFsResponseBody.js +66 -0
- package/dist/models/CreatePolarFsResponseBody.js.map +1 -0
- package/dist/models/DeleteLakebaseS3accountRequest.d.ts +46 -0
- package/dist/models/DeleteLakebaseS3accountRequest.js +62 -0
- package/dist/models/DeleteLakebaseS3accountRequest.js.map +1 -0
- package/dist/models/DeleteLakebaseS3accountResponse.d.ts +19 -0
- package/dist/models/DeleteLakebaseS3accountResponse.js +69 -0
- package/dist/models/DeleteLakebaseS3accountResponse.js.map +1 -0
- package/dist/models/DeleteLakebaseS3accountResponseBody.d.ts +21 -0
- package/dist/models/DeleteLakebaseS3accountResponseBody.js +58 -0
- package/dist/models/DeleteLakebaseS3accountResponseBody.js.map +1 -0
- package/dist/models/DeletePolarFsPathMappingRequest.d.ts +5 -5
- package/dist/models/DeletePolarFsPathMappingResponseBody.d.ts +1 -1
- package/dist/models/DeletePolarFsRequest.d.ts +32 -0
- package/dist/models/DeletePolarFsRequest.js +60 -0
- package/dist/models/DeletePolarFsRequest.js.map +1 -0
- package/dist/models/DeletePolarFsResponse.d.ts +19 -0
- package/dist/models/DeletePolarFsResponse.js +69 -0
- package/dist/models/DeletePolarFsResponse.js.map +1 -0
- package/dist/models/DeletePolarFsResponseBody.d.ts +21 -0
- package/dist/models/DeletePolarFsResponseBody.js +58 -0
- package/dist/models/DeletePolarFsResponseBody.js.map +1 -0
- package/dist/models/DescribeLakebaseS3accountRequest.d.ts +47 -0
- package/dist/models/DescribeLakebaseS3accountRequest.js +62 -0
- package/dist/models/DescribeLakebaseS3accountRequest.js.map +1 -0
- package/dist/models/DescribeLakebaseS3accountResponse.d.ts +19 -0
- package/dist/models/DescribeLakebaseS3accountResponse.js +69 -0
- package/dist/models/DescribeLakebaseS3accountResponse.js.map +1 -0
- package/dist/models/DescribeLakebaseS3accountResponseBody.d.ts +45 -0
- package/dist/models/DescribeLakebaseS3accountResponseBody.js +64 -0
- package/dist/models/DescribeLakebaseS3accountResponseBody.js.map +1 -0
- package/dist/models/DescribePolarFsMappingRequest.d.ts +53 -0
- package/dist/models/DescribePolarFsMappingRequest.js +64 -0
- package/dist/models/DescribePolarFsMappingRequest.js.map +1 -0
- package/dist/models/DescribePolarFsMappingResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsMappingResponse.js +69 -0
- package/dist/models/DescribePolarFsMappingResponse.js.map +1 -0
- package/dist/models/DescribePolarFsMappingResponseBody.d.ts +108 -0
- package/dist/models/DescribePolarFsMappingResponseBody.js +96 -0
- package/dist/models/DescribePolarFsMappingResponseBody.js.map +1 -0
- package/dist/models/ListLakebaseS3accountsRequest.d.ts +48 -0
- package/dist/models/ListLakebaseS3accountsRequest.js +64 -0
- package/dist/models/ListLakebaseS3accountsRequest.js.map +1 -0
- package/dist/models/ListLakebaseS3accountsResponse.d.ts +19 -0
- package/dist/models/ListLakebaseS3accountsResponse.js +69 -0
- package/dist/models/ListLakebaseS3accountsResponse.js.map +1 -0
- package/dist/models/ListLakebaseS3accountsResponseBody.d.ts +88 -0
- package/dist/models/ListLakebaseS3accountsResponseBody.js +92 -0
- package/dist/models/ListLakebaseS3accountsResponseBody.js.map +1 -0
- package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +72 -0
- package/dist/models/ModifyPolarFsMappingAuthRequest.js +68 -0
- package/dist/models/ModifyPolarFsMappingAuthRequest.js.map +1 -0
- package/dist/models/ModifyPolarFsMappingAuthResponse.d.ts +19 -0
- package/dist/models/ModifyPolarFsMappingAuthResponse.js +69 -0
- package/dist/models/ModifyPolarFsMappingAuthResponse.js.map +1 -0
- package/dist/models/ModifyPolarFsMappingAuthResponseBody.d.ts +21 -0
- package/dist/models/ModifyPolarFsMappingAuthResponseBody.js +58 -0
- package/dist/models/ModifyPolarFsMappingAuthResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +27 -0
- package/dist/models/model.js +90 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +510 -2
- package/src/models/CreateLakebaseS3accountRequest.ts +86 -0
- package/src/models/CreateLakebaseS3accountResponse.ts +40 -0
- package/src/models/CreateLakebaseS3accountResponseBody.ts +34 -0
- package/src/models/CreatePolarFsRequest.ts +351 -0
- package/src/models/CreatePolarFsResponse.ts +40 -0
- package/src/models/CreatePolarFsResponseBody.ts +74 -0
- package/src/models/DeleteLakebaseS3accountRequest.ts +63 -0
- package/src/models/DeleteLakebaseS3accountResponse.ts +40 -0
- package/src/models/DeleteLakebaseS3accountResponseBody.ts +34 -0
- package/src/models/DeletePolarFsPathMappingRequest.ts +5 -5
- package/src/models/DeletePolarFsPathMappingResponseBody.ts +1 -1
- package/src/models/DeletePolarFsRequest.ts +47 -0
- package/src/models/DeletePolarFsResponse.ts +40 -0
- package/src/models/DeletePolarFsResponseBody.ts +34 -0
- package/src/models/DescribeLakebaseS3accountRequest.ts +64 -0
- package/src/models/DescribeLakebaseS3accountResponse.ts +40 -0
- package/src/models/DescribeLakebaseS3accountResponseBody.ts +64 -0
- package/src/models/DescribePolarFsMappingRequest.ts +72 -0
- package/src/models/DescribePolarFsMappingResponse.ts +40 -0
- package/src/models/DescribePolarFsMappingResponseBody.ts +150 -0
- package/src/models/ListLakebaseS3accountsRequest.ts +67 -0
- package/src/models/ListLakebaseS3accountsResponse.ts +40 -0
- package/src/models/ListLakebaseS3accountsResponseBody.ts +126 -0
- package/src/models/ModifyPolarFsMappingAuthRequest.ts +95 -0
- package/src/models/ModifyPolarFsMappingAuthResponse.ts +40 -0
- package/src/models/ModifyPolarFsMappingAuthResponseBody.ts +34 -0
- package/src/models/model.ts +27 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateLakebaseS3AccountResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 24A1990B-4F6E-482B-B8CB-75C612******
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreatePolarFsRequestCustomBucketPathList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The custom storage bucket.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pfs-xxx.oss-[regionId]-internal.aliyuncs.com
|
|
12
|
+
*/
|
|
13
|
+
bucket?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The custom storage path.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* /data
|
|
20
|
+
*/
|
|
21
|
+
path?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
bucket: 'Bucket',
|
|
25
|
+
path: 'Path',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
bucket: 'string',
|
|
32
|
+
path: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class CreatePolarFsRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The acceleration storage space for Basic Edition with acceleration enabled. Unit: GB.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 500
|
|
52
|
+
*/
|
|
53
|
+
accelerateStorageSize?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The acceleration mode. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* - **ONLY**: enables acceleration only.
|
|
59
|
+
* - **ON**: enables cold data storage and acceleration.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ONLY
|
|
63
|
+
*/
|
|
64
|
+
accelerateSwitch?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The acceleration type. Valid values:
|
|
68
|
+
*
|
|
69
|
+
* - **juice**: file system acceleration.
|
|
70
|
+
* - **alluxio**: transparent acceleration.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* alluxio
|
|
74
|
+
*/
|
|
75
|
+
accelerateType?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The list of authorized account IDs for Cold Storage Edition instances, separated by commas (,).
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* 128***********,198***********
|
|
82
|
+
*/
|
|
83
|
+
authorizedUserIds?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* Specifies whether to enable auto-renewal. Valid values:
|
|
87
|
+
*
|
|
88
|
+
* - **true**: Auto-renewal is enabled.
|
|
89
|
+
* - **false**: Auto-renewal is disabled.
|
|
90
|
+
*
|
|
91
|
+
* Default value: **false**.
|
|
92
|
+
*
|
|
93
|
+
* > This parameter takes effect only when **PayType** is set to **Prepaid**.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* true
|
|
97
|
+
*/
|
|
98
|
+
autoRenew?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
102
|
+
* - **true**: Coupons are used (default).
|
|
103
|
+
* - **false**: Coupons are not used.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* true
|
|
107
|
+
*/
|
|
108
|
+
autoUseCoupon?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The edition. Valid values:
|
|
112
|
+
*
|
|
113
|
+
* - **basic**: Basic Edition (default).
|
|
114
|
+
* - **cold**: Cold Storage Edition.
|
|
115
|
+
* - **high_performance**: High-performance Edition.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* basic
|
|
119
|
+
*/
|
|
120
|
+
creationCategory?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The number of buckets.
|
|
124
|
+
*
|
|
125
|
+
* > This parameter is required only when acceleration (file system acceleration) is enabled.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* 1
|
|
129
|
+
*/
|
|
130
|
+
customBucketCount?: number;
|
|
131
|
+
/**
|
|
132
|
+
* @remarks
|
|
133
|
+
* The bucket path.
|
|
134
|
+
*
|
|
135
|
+
* > This parameter is required only when acceleration (file system acceleration) is enabled.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* /test
|
|
139
|
+
*/
|
|
140
|
+
customBucketPath?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The bucket and path information.
|
|
144
|
+
*
|
|
145
|
+
* > This parameter is required for transparent acceleration scenarios.
|
|
146
|
+
*/
|
|
147
|
+
customBucketPathList?: CreatePolarFsRequestCustomBucketPathList[];
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The custom AccessKey ID.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* xxx
|
|
154
|
+
*/
|
|
155
|
+
customOssAk?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The custom AccessKey secret.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* xxx
|
|
162
|
+
*/
|
|
163
|
+
customOssSk?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The cluster ID.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* pc-**************
|
|
170
|
+
*/
|
|
171
|
+
DBClusterId?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The database engine. Valid values:
|
|
175
|
+
* - **MySQL**
|
|
176
|
+
* - **PostgreSQL**
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* MySQL
|
|
180
|
+
*/
|
|
181
|
+
DBType?: string;
|
|
182
|
+
/**
|
|
183
|
+
* @remarks
|
|
184
|
+
* The billing method. Valid values:
|
|
185
|
+
*
|
|
186
|
+
* - **Postpaid**: pay-as-you-go.
|
|
187
|
+
* - **Prepaid**: subscription.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* Postpaid
|
|
191
|
+
*/
|
|
192
|
+
payType?: string;
|
|
193
|
+
/**
|
|
194
|
+
* @remarks
|
|
195
|
+
* This parameter is required when **PayType** is set to **Prepaid**. Specifies whether the subscription cluster uses a yearly or monthly billing cycle. You must pass this parameter when the billing method is subscription.
|
|
196
|
+
*
|
|
197
|
+
* - **Year**: The subscription period is measured in years.
|
|
198
|
+
* - **Month**: The subscription period is measured in months.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* Month
|
|
202
|
+
*/
|
|
203
|
+
period?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The coupon code. If this parameter is not specified, the default coupon is used.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* 727xxxxxx934
|
|
210
|
+
*/
|
|
211
|
+
promotionCode?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @remarks
|
|
214
|
+
* The region ID.
|
|
215
|
+
* >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query region IDs.
|
|
216
|
+
*
|
|
217
|
+
* This parameter is required.
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* cn-beijing
|
|
221
|
+
*/
|
|
222
|
+
regionId?: string;
|
|
223
|
+
/**
|
|
224
|
+
* @remarks
|
|
225
|
+
* The storage space. Unit: GB.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* 50
|
|
229
|
+
*/
|
|
230
|
+
storageSpace?: number;
|
|
231
|
+
/**
|
|
232
|
+
* @remarks
|
|
233
|
+
* Valid values for high-performance storage type:
|
|
234
|
+
* - **ESSDPL0**
|
|
235
|
+
* - **ESSDPL1**
|
|
236
|
+
*
|
|
237
|
+
* Valid values for Basic Edition storage type:
|
|
238
|
+
* - **city_redundancy (zone-redundant)**
|
|
239
|
+
*
|
|
240
|
+
* Valid values for Cold Storage Edition storage type:
|
|
241
|
+
* - **city_redundancy (zone-redundant)**
|
|
242
|
+
* - **local_redundancy (locally redundant)**
|
|
243
|
+
*
|
|
244
|
+
* @example
|
|
245
|
+
* local_redundancy
|
|
246
|
+
*/
|
|
247
|
+
storageType?: string;
|
|
248
|
+
/**
|
|
249
|
+
* @remarks
|
|
250
|
+
* This parameter is required when **PayType** is set to **Prepaid**.
|
|
251
|
+
* - When **Period** is set to **Month**, the valid values of **UsedTime** are integers in the range of `[1-9]`.
|
|
252
|
+
* - When **Period** is set to **Year**, the valid values of **UsedTime** are integers in the range of `[1-3]`.
|
|
253
|
+
*
|
|
254
|
+
* @example
|
|
255
|
+
* 1
|
|
256
|
+
*/
|
|
257
|
+
usedTime?: string;
|
|
258
|
+
/**
|
|
259
|
+
* @remarks
|
|
260
|
+
* The VPC ID.
|
|
261
|
+
*
|
|
262
|
+
* @example
|
|
263
|
+
* vpc-*******************
|
|
264
|
+
*/
|
|
265
|
+
VPCId?: string;
|
|
266
|
+
/**
|
|
267
|
+
* @remarks
|
|
268
|
+
* The vSwitch ID.
|
|
269
|
+
*
|
|
270
|
+
* @example
|
|
271
|
+
* vsw-*********************
|
|
272
|
+
*/
|
|
273
|
+
vSwitchId?: string;
|
|
274
|
+
/**
|
|
275
|
+
* @remarks
|
|
276
|
+
* The zone ID.
|
|
277
|
+
*
|
|
278
|
+
* @example
|
|
279
|
+
* cn-beijing-i
|
|
280
|
+
*/
|
|
281
|
+
zoneId?: string;
|
|
282
|
+
static names(): { [key: string]: string } {
|
|
283
|
+
return {
|
|
284
|
+
accelerateStorageSize: 'AccelerateStorageSize',
|
|
285
|
+
accelerateSwitch: 'AccelerateSwitch',
|
|
286
|
+
accelerateType: 'AccelerateType',
|
|
287
|
+
authorizedUserIds: 'AuthorizedUserIds',
|
|
288
|
+
autoRenew: 'AutoRenew',
|
|
289
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
290
|
+
creationCategory: 'CreationCategory',
|
|
291
|
+
customBucketCount: 'CustomBucketCount',
|
|
292
|
+
customBucketPath: 'CustomBucketPath',
|
|
293
|
+
customBucketPathList: 'CustomBucketPathList',
|
|
294
|
+
customOssAk: 'CustomOssAk',
|
|
295
|
+
customOssSk: 'CustomOssSk',
|
|
296
|
+
DBClusterId: 'DBClusterId',
|
|
297
|
+
DBType: 'DBType',
|
|
298
|
+
payType: 'PayType',
|
|
299
|
+
period: 'Period',
|
|
300
|
+
promotionCode: 'PromotionCode',
|
|
301
|
+
regionId: 'RegionId',
|
|
302
|
+
storageSpace: 'StorageSpace',
|
|
303
|
+
storageType: 'StorageType',
|
|
304
|
+
usedTime: 'UsedTime',
|
|
305
|
+
VPCId: 'VPCId',
|
|
306
|
+
vSwitchId: 'VSwitchId',
|
|
307
|
+
zoneId: 'ZoneId',
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
static types(): { [key: string]: any } {
|
|
312
|
+
return {
|
|
313
|
+
accelerateStorageSize: 'number',
|
|
314
|
+
accelerateSwitch: 'string',
|
|
315
|
+
accelerateType: 'string',
|
|
316
|
+
authorizedUserIds: 'string',
|
|
317
|
+
autoRenew: 'boolean',
|
|
318
|
+
autoUseCoupon: 'boolean',
|
|
319
|
+
creationCategory: 'string',
|
|
320
|
+
customBucketCount: 'number',
|
|
321
|
+
customBucketPath: 'string',
|
|
322
|
+
customBucketPathList: { 'type': 'array', 'itemType': CreatePolarFsRequestCustomBucketPathList },
|
|
323
|
+
customOssAk: 'string',
|
|
324
|
+
customOssSk: 'string',
|
|
325
|
+
DBClusterId: 'string',
|
|
326
|
+
DBType: 'string',
|
|
327
|
+
payType: 'string',
|
|
328
|
+
period: 'string',
|
|
329
|
+
promotionCode: 'string',
|
|
330
|
+
regionId: 'string',
|
|
331
|
+
storageSpace: 'number',
|
|
332
|
+
storageType: 'string',
|
|
333
|
+
usedTime: 'string',
|
|
334
|
+
VPCId: 'string',
|
|
335
|
+
vSwitchId: 'string',
|
|
336
|
+
zoneId: 'string',
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
validate() {
|
|
341
|
+
if(Array.isArray(this.customBucketPathList)) {
|
|
342
|
+
$dara.Model.validateArray(this.customBucketPathList);
|
|
343
|
+
}
|
|
344
|
+
super.validate();
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
constructor(map?: { [key: string]: any }) {
|
|
348
|
+
super(map);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreatePolarFsResponseBody } from "./CreatePolarFsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreatePolarFsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreatePolarFsResponseBody;
|
|
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: CreatePolarFsResponseBody,
|
|
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,74 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreatePolarFsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The order ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2035638*******
|
|
12
|
+
*/
|
|
13
|
+
orderId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The PolarFS instance ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pfs-2ze0i74ka607wck3
|
|
20
|
+
*/
|
|
21
|
+
polarFsInstanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The PolarFS file system path.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* pfs-xxx*******
|
|
28
|
+
*/
|
|
29
|
+
polarFsPath?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The PolarFS instance status.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* Creating
|
|
36
|
+
*/
|
|
37
|
+
polarFsStatus?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The request ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* CED079B7-A408-41A1-BFF1-EC608E******
|
|
44
|
+
*/
|
|
45
|
+
requestId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
orderId: 'OrderId',
|
|
49
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
50
|
+
polarFsPath: 'PolarFsPath',
|
|
51
|
+
polarFsStatus: 'PolarFsStatus',
|
|
52
|
+
requestId: 'RequestId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
orderId: 'string',
|
|
59
|
+
polarFsInstanceId: 'string',
|
|
60
|
+
polarFsPath: 'string',
|
|
61
|
+
polarFsStatus: 'string',
|
|
62
|
+
requestId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteLakebaseS3AccountRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The PolarFS instance ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* pfs-xxx
|
|
14
|
+
*/
|
|
15
|
+
pfsInstanceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
* >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available region IDs.
|
|
20
|
+
*
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cn-beijing
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The access key of the S3 account to delete.
|
|
30
|
+
*
|
|
31
|
+
* > The default account cannot be deleted.
|
|
32
|
+
*
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* accname
|
|
37
|
+
*/
|
|
38
|
+
userAccAk?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
42
|
+
regionId: 'RegionId',
|
|
43
|
+
userAccAk: 'UserAccAk',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
pfsInstanceId: 'string',
|
|
50
|
+
regionId: 'string',
|
|
51
|
+
userAccAk: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
validate() {
|
|
56
|
+
super.validate();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
constructor(map?: { [key: string]: any }) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteLakebaseS3AccountResponseBody } from "./DeleteLakebaseS3accountResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteLakebaseS3AccountResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteLakebaseS3AccountResponseBody;
|
|
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: DeleteLakebaseS3AccountResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteLakebaseS3AccountResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* CDB3258F-B5DE-43C4-8935-CBA0CA******
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeletePolarFsPathMappingRequestCustomBucketPathList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The custom storage bucket.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Bucket
|
|
@@ -13,7 +13,7 @@ export class DeletePolarFsPathMappingRequestCustomBucketPathList extends $dara.M
|
|
|
13
13
|
bucket?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The custom storage path.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* /data
|
|
@@ -45,12 +45,12 @@ export class DeletePolarFsPathMappingRequestCustomBucketPathList extends $dara.M
|
|
|
45
45
|
export class DeletePolarFsPathMappingRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The bucket and corresponding path information.
|
|
49
49
|
*/
|
|
50
50
|
customBucketPathList?: DeletePolarFsPathMappingRequestCustomBucketPathList[];
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The ID
|
|
53
|
+
* The cluster ID.
|
|
54
54
|
*
|
|
55
55
|
* This parameter is required.
|
|
56
56
|
*
|
|
@@ -60,7 +60,7 @@ export class DeletePolarFsPathMappingRequest extends $dara.Model {
|
|
|
60
60
|
DBClusterId?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The
|
|
63
|
+
* The PolarFS instance ID.
|
|
64
64
|
*
|
|
65
65
|
* This parameter is required.
|
|
66
66
|
*
|