@alicloud/polardb20170801 7.4.0 → 7.5.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 +51 -40
- package/dist/client.js +170 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +39 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -1
- package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +76 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +204 -40
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +39 -0
- package/src/models/DescribePolarFsResponseBody.ts +12 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/model.ts +18 -0
|
@@ -42,6 +42,84 @@ export class DescribePolarFsAttributeResponseBodyCustomBucketPathList extends $d
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export class DescribePolarFsAttributeResponseBodyEndpointItemsAddressItems extends $dara.Model {
|
|
46
|
+
connectionString?: string;
|
|
47
|
+
IPAddress?: string;
|
|
48
|
+
netType?: string;
|
|
49
|
+
port?: string;
|
|
50
|
+
VPCId?: string;
|
|
51
|
+
vSwitchId?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
connectionString: 'ConnectionString',
|
|
55
|
+
IPAddress: 'IPAddress',
|
|
56
|
+
netType: 'NetType',
|
|
57
|
+
port: 'Port',
|
|
58
|
+
VPCId: 'VPCId',
|
|
59
|
+
vSwitchId: 'VSwitchId',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
static types(): { [key: string]: any } {
|
|
64
|
+
return {
|
|
65
|
+
connectionString: 'string',
|
|
66
|
+
IPAddress: 'string',
|
|
67
|
+
netType: 'string',
|
|
68
|
+
port: 'string',
|
|
69
|
+
VPCId: 'string',
|
|
70
|
+
vSwitchId: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
super.validate();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
constructor(map?: { [key: string]: any }) {
|
|
79
|
+
super(map);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export class DescribePolarFsAttributeResponseBodyEndpointItems extends $dara.Model {
|
|
84
|
+
addressItems?: DescribePolarFsAttributeResponseBodyEndpointItemsAddressItems[];
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* ep-xxxxxxxxx
|
|
88
|
+
*/
|
|
89
|
+
DBEndpointId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* S3Gateway
|
|
93
|
+
*/
|
|
94
|
+
endpointType?: string;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
addressItems: 'AddressItems',
|
|
98
|
+
DBEndpointId: 'DBEndpointId',
|
|
99
|
+
endpointType: 'EndpointType',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
addressItems: { 'type': 'array', 'itemType': DescribePolarFsAttributeResponseBodyEndpointItemsAddressItems },
|
|
106
|
+
DBEndpointId: 'string',
|
|
107
|
+
endpointType: 'string',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
if(Array.isArray(this.addressItems)) {
|
|
113
|
+
$dara.Model.validateArray(this.addressItems);
|
|
114
|
+
}
|
|
115
|
+
super.validate();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
constructor(map?: { [key: string]: any }) {
|
|
119
|
+
super(map);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
45
123
|
export class DescribePolarFsAttributeResponseBodyMountInfo extends $dara.Model {
|
|
46
124
|
/**
|
|
47
125
|
* @remarks
|
|
@@ -103,7 +181,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
103
181
|
accelerateType?: string;
|
|
104
182
|
/**
|
|
105
183
|
* @remarks
|
|
106
|
-
* The acceleration storage space
|
|
184
|
+
* The acceleration storage space. Unit: GB.
|
|
107
185
|
*
|
|
108
186
|
* @example
|
|
109
187
|
* 1000
|
|
@@ -111,9 +189,9 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
111
189
|
acceleratedStorageSpace?: number;
|
|
112
190
|
/**
|
|
113
191
|
* @remarks
|
|
114
|
-
*
|
|
115
|
-
* - **ON**:
|
|
116
|
-
* - **OFF**:
|
|
192
|
+
* Specifies whether the acceleration cache is enabled. Valid values:
|
|
193
|
+
* - **ON**: Enabled.
|
|
194
|
+
* - **OFF**: Disabled.
|
|
117
195
|
*
|
|
118
196
|
* @example
|
|
119
197
|
* ON
|
|
@@ -121,7 +199,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
121
199
|
acceleratingEnable?: string;
|
|
122
200
|
/**
|
|
123
201
|
* @remarks
|
|
124
|
-
* The bandwidth
|
|
202
|
+
* The bandwidth. Unit: MB/s.
|
|
125
203
|
*
|
|
126
204
|
* @example
|
|
127
205
|
* 100
|
|
@@ -129,7 +207,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
129
207
|
bandwidth?: number;
|
|
130
208
|
/**
|
|
131
209
|
* @remarks
|
|
132
|
-
* The bandwidth baseline
|
|
210
|
+
* The bandwidth baseline. Unit: MB/s/TiB.
|
|
133
211
|
*
|
|
134
212
|
* @example
|
|
135
213
|
* 100
|
|
@@ -137,7 +215,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
137
215
|
bandwidthBaseLine?: number;
|
|
138
216
|
/**
|
|
139
217
|
* @remarks
|
|
140
|
-
* The
|
|
218
|
+
* The bucket ID.
|
|
141
219
|
*
|
|
142
220
|
* @example
|
|
143
221
|
* xxx
|
|
@@ -186,21 +264,23 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
186
264
|
* The list of custom storage paths.
|
|
187
265
|
*/
|
|
188
266
|
customBucketPathList?: DescribePolarFsAttributeResponseBodyCustomBucketPathList[];
|
|
267
|
+
DBEndpointId?: string;
|
|
189
268
|
/**
|
|
190
269
|
* @remarks
|
|
191
270
|
* The database ecosystem type. Valid values:
|
|
192
271
|
* * **MySQL**
|
|
193
|
-
* * **PostgreSQL
|
|
272
|
+
* * **PostgreSQL**
|
|
194
273
|
*
|
|
195
274
|
* @example
|
|
196
275
|
* MySQL
|
|
197
276
|
*/
|
|
198
277
|
DBType?: string;
|
|
278
|
+
endpointItems?: DescribePolarFsAttributeResponseBodyEndpointItems[];
|
|
199
279
|
/**
|
|
200
280
|
* @remarks
|
|
201
281
|
* The expiration time of the cluster.
|
|
202
282
|
*
|
|
203
|
-
* > This parameter is returned only for clusters
|
|
283
|
+
* > This parameter is returned only for clusters that use the **Prepaid** (subscription) billing method. An empty value is returned for **Postpaid** (pay-as-you-go) clusters.
|
|
204
284
|
*
|
|
205
285
|
* @example
|
|
206
286
|
* 2025-10-10T16:00:00Z
|
|
@@ -209,7 +289,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
209
289
|
/**
|
|
210
290
|
* @remarks
|
|
211
291
|
* Indicates whether the cluster has expired.
|
|
212
|
-
* > This parameter is returned only for clusters
|
|
292
|
+
* > This parameter is returned only for clusters that use the **Prepaid** (subscription) billing method.
|
|
213
293
|
*
|
|
214
294
|
* @example
|
|
215
295
|
* false
|
|
@@ -227,22 +307,25 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
227
307
|
* @remarks
|
|
228
308
|
* The lock mode. Valid values:
|
|
229
309
|
*
|
|
230
|
-
* - **Unlock**:
|
|
231
|
-
* - **ManualLock**:
|
|
232
|
-
* - **LockByExpiration**:
|
|
310
|
+
* - **Unlock**: Not locked.
|
|
311
|
+
* - **ManualLock**: Manually locked.
|
|
312
|
+
* - **LockByExpiration**: Automatically locked due to cluster expiration.
|
|
233
313
|
*
|
|
234
314
|
* @example
|
|
235
315
|
* Unlock
|
|
236
316
|
*/
|
|
237
317
|
lockMode?: string;
|
|
318
|
+
maxscaleEndpointId?: string;
|
|
319
|
+
metaConnString?: string;
|
|
238
320
|
/**
|
|
239
321
|
* @example
|
|
240
322
|
* pc-xxxxxxxxxxxxxxxxx
|
|
241
323
|
*/
|
|
242
324
|
metaInstanceName?: string;
|
|
325
|
+
metaMxsConnString?: string;
|
|
243
326
|
/**
|
|
244
327
|
* @remarks
|
|
245
|
-
* The metadata URL for Fuse mounting
|
|
328
|
+
* The encrypted metadata URL for Fuse mounting.
|
|
246
329
|
*
|
|
247
330
|
* @example
|
|
248
331
|
* e6cc1d2e2a6fa292038d999fda6501*****
|
|
@@ -299,7 +382,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
299
382
|
/**
|
|
300
383
|
* @remarks
|
|
301
384
|
* The instance version. Valid values:
|
|
302
|
-
* - **PolarFS 2.0**: 2.0
|
|
385
|
+
* - **PolarFS 2.0**: 2.0.
|
|
303
386
|
* - **PolarFS 1.0**: 1.0.
|
|
304
387
|
*
|
|
305
388
|
* @example
|
|
@@ -356,7 +439,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
356
439
|
securityGroupId?: string;
|
|
357
440
|
/**
|
|
358
441
|
* @remarks
|
|
359
|
-
* The storage space
|
|
442
|
+
* The storage space. Unit: GB.
|
|
360
443
|
*
|
|
361
444
|
* @example
|
|
362
445
|
* 1000
|
|
@@ -364,11 +447,11 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
364
447
|
storageSpace?: number;
|
|
365
448
|
/**
|
|
366
449
|
* @remarks
|
|
367
|
-
*
|
|
450
|
+
* The storage type for the High-performance Edition. Valid values:
|
|
368
451
|
* * **ESSDPL1**
|
|
369
452
|
* * **ESSDPL0**
|
|
370
453
|
*
|
|
371
|
-
*
|
|
454
|
+
* The storage type for the Basic Edition. Valid values:
|
|
372
455
|
* * **city_redundancy**: zone-redundant storage.
|
|
373
456
|
*
|
|
374
457
|
* @example
|
|
@@ -377,12 +460,22 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
377
460
|
storageType?: string;
|
|
378
461
|
/**
|
|
379
462
|
* @remarks
|
|
380
|
-
* The used storage space
|
|
463
|
+
* The used storage space. Unit: bytes.
|
|
381
464
|
*
|
|
382
465
|
* @example
|
|
383
466
|
* 3012558848
|
|
384
467
|
*/
|
|
385
468
|
storageUsed?: number;
|
|
469
|
+
/**
|
|
470
|
+
* @example
|
|
471
|
+
* lakebase_acc
|
|
472
|
+
*/
|
|
473
|
+
userDefaultAccName?: string;
|
|
474
|
+
/**
|
|
475
|
+
* @example
|
|
476
|
+
* EncryptedSecretKey==
|
|
477
|
+
*/
|
|
478
|
+
userDefaultAccSk?: string;
|
|
386
479
|
/**
|
|
387
480
|
* @remarks
|
|
388
481
|
* The VPC ID.
|
|
@@ -420,12 +513,17 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
420
513
|
createTime: 'CreateTime',
|
|
421
514
|
customBucketPath: 'CustomBucketPath',
|
|
422
515
|
customBucketPathList: 'CustomBucketPathList',
|
|
516
|
+
DBEndpointId: 'DBEndpointId',
|
|
423
517
|
DBType: 'DBType',
|
|
518
|
+
endpointItems: 'EndpointItems',
|
|
424
519
|
expireTime: 'ExpireTime',
|
|
425
520
|
expired: 'Expired',
|
|
426
521
|
fileSystemId: 'FileSystemId',
|
|
427
522
|
lockMode: 'LockMode',
|
|
523
|
+
maxscaleEndpointId: 'MaxscaleEndpointId',
|
|
524
|
+
metaConnString: 'MetaConnString',
|
|
428
525
|
metaInstanceName: 'MetaInstanceName',
|
|
526
|
+
metaMxsConnString: 'MetaMxsConnString',
|
|
429
527
|
metaUrl: 'MetaUrl',
|
|
430
528
|
minorVersion: 'MinorVersion',
|
|
431
529
|
mountInfo: 'MountInfo',
|
|
@@ -443,6 +541,8 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
443
541
|
storageSpace: 'StorageSpace',
|
|
444
542
|
storageType: 'StorageType',
|
|
445
543
|
storageUsed: 'StorageUsed',
|
|
544
|
+
userDefaultAccName: 'UserDefaultAccName',
|
|
545
|
+
userDefaultAccSk: 'UserDefaultAccSk',
|
|
446
546
|
VPCId: 'VPCId',
|
|
447
547
|
vSwitchId: 'VSwitchId',
|
|
448
548
|
zoneId: 'ZoneId',
|
|
@@ -462,12 +562,17 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
462
562
|
createTime: 'string',
|
|
463
563
|
customBucketPath: 'string',
|
|
464
564
|
customBucketPathList: { 'type': 'array', 'itemType': DescribePolarFsAttributeResponseBodyCustomBucketPathList },
|
|
565
|
+
DBEndpointId: 'string',
|
|
465
566
|
DBType: 'string',
|
|
567
|
+
endpointItems: { 'type': 'array', 'itemType': DescribePolarFsAttributeResponseBodyEndpointItems },
|
|
466
568
|
expireTime: 'string',
|
|
467
569
|
expired: 'string',
|
|
468
570
|
fileSystemId: 'string',
|
|
469
571
|
lockMode: 'string',
|
|
572
|
+
maxscaleEndpointId: 'string',
|
|
573
|
+
metaConnString: 'string',
|
|
470
574
|
metaInstanceName: 'string',
|
|
575
|
+
metaMxsConnString: 'string',
|
|
471
576
|
metaUrl: 'string',
|
|
472
577
|
minorVersion: 'string',
|
|
473
578
|
mountInfo: DescribePolarFsAttributeResponseBodyMountInfo,
|
|
@@ -485,6 +590,8 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
485
590
|
storageSpace: 'number',
|
|
486
591
|
storageType: 'string',
|
|
487
592
|
storageUsed: 'number',
|
|
593
|
+
userDefaultAccName: 'string',
|
|
594
|
+
userDefaultAccSk: 'string',
|
|
488
595
|
VPCId: 'string',
|
|
489
596
|
vSwitchId: 'string',
|
|
490
597
|
zoneId: 'string',
|
|
@@ -495,6 +602,9 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
495
602
|
if(Array.isArray(this.customBucketPathList)) {
|
|
496
603
|
$dara.Model.validateArray(this.customBucketPathList);
|
|
497
604
|
}
|
|
605
|
+
if(Array.isArray(this.endpointItems)) {
|
|
606
|
+
$dara.Model.validateArray(this.endpointItems);
|
|
607
|
+
}
|
|
498
608
|
if(this.mountInfo && typeof (this.mountInfo as any).validate === 'function') {
|
|
499
609
|
(this.mountInfo as any).validate();
|
|
500
610
|
}
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribePolarFsRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* testKey
|
|
9
12
|
*/
|
|
10
13
|
key?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag value.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* testValue
|
|
14
20
|
*/
|
|
@@ -38,37 +44,63 @@ export class DescribePolarFsRequestTag extends $dara.Model {
|
|
|
38
44
|
|
|
39
45
|
export class DescribePolarFsRequest extends $dara.Model {
|
|
40
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
49
|
+
*
|
|
41
50
|
* @example
|
|
42
51
|
* pc-2ze8u21s03******
|
|
43
52
|
*/
|
|
44
53
|
DBClusterId?: string;
|
|
45
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The page number. The value must be an integer greater than 0 and not exceeding the maximum value of Integer.
|
|
57
|
+
*
|
|
46
58
|
* @example
|
|
47
59
|
* 1
|
|
48
60
|
*/
|
|
49
61
|
pageNumber?: number;
|
|
50
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The number of entries per page. Valid values:
|
|
65
|
+
*
|
|
66
|
+
* - **30**
|
|
67
|
+
*
|
|
68
|
+
* - **50**
|
|
69
|
+
*
|
|
70
|
+
* - **100**
|
|
71
|
+
*
|
|
51
72
|
* @example
|
|
52
73
|
* 30
|
|
53
74
|
*/
|
|
54
75
|
pageSize?: number;
|
|
55
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The description of the PolarFS instance.
|
|
79
|
+
*
|
|
56
80
|
* @example
|
|
57
81
|
* pfs-ins1********
|
|
58
82
|
*/
|
|
59
83
|
polarFsInstanceDescription?: string;
|
|
60
84
|
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The list of PolarFS instance IDs, separated by commas (,).
|
|
87
|
+
*
|
|
61
88
|
* @example
|
|
62
89
|
* pfs-ins1*******
|
|
63
90
|
*/
|
|
64
91
|
polarFsInstanceIds?: string;
|
|
65
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The PolarFS type.
|
|
95
|
+
*
|
|
66
96
|
* @example
|
|
67
97
|
* all
|
|
68
98
|
*/
|
|
69
99
|
polarFsType?: string;
|
|
70
100
|
/**
|
|
71
101
|
* @remarks
|
|
102
|
+
* The region ID.
|
|
103
|
+
*
|
|
72
104
|
* This parameter is required.
|
|
73
105
|
*
|
|
74
106
|
* @example
|
|
@@ -76,10 +108,17 @@ export class DescribePolarFsRequest extends $dara.Model {
|
|
|
76
108
|
*/
|
|
77
109
|
regionId?: string;
|
|
78
110
|
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The ID of the associated PolarDB cluster.
|
|
113
|
+
*
|
|
79
114
|
* @example
|
|
80
115
|
* pc-2zejpr41d9xk*****
|
|
81
116
|
*/
|
|
82
117
|
relativeDbClusterId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The tags.
|
|
121
|
+
*/
|
|
83
122
|
tag?: DescribePolarFsRequestTag[];
|
|
84
123
|
static names(): { [key: string]: string } {
|
|
85
124
|
return {
|
|
@@ -282,21 +282,33 @@ export class DescribePolarFsResponseBodyItems extends $dara.Model {
|
|
|
282
282
|
export class DescribePolarFsResponseBody extends $dara.Model {
|
|
283
283
|
items?: DescribePolarFsResponseBodyItems;
|
|
284
284
|
/**
|
|
285
|
+
* @remarks
|
|
286
|
+
* The page number.
|
|
287
|
+
*
|
|
285
288
|
* @example
|
|
286
289
|
* 1
|
|
287
290
|
*/
|
|
288
291
|
pageNumber?: number;
|
|
289
292
|
/**
|
|
293
|
+
* @remarks
|
|
294
|
+
* The number of records on the current page.
|
|
295
|
+
*
|
|
290
296
|
* @example
|
|
291
297
|
* 13
|
|
292
298
|
*/
|
|
293
299
|
pageRecordCount?: number;
|
|
294
300
|
/**
|
|
301
|
+
* @remarks
|
|
302
|
+
* Id of the request
|
|
303
|
+
*
|
|
295
304
|
* @example
|
|
296
305
|
* 8CD1852F-8176-55E4-891C-4478DC00CC7A
|
|
297
306
|
*/
|
|
298
307
|
requestId?: string;
|
|
299
308
|
/**
|
|
309
|
+
* @remarks
|
|
310
|
+
* The total number of records.
|
|
311
|
+
*
|
|
300
312
|
* @example
|
|
301
313
|
* 16
|
|
302
314
|
*/
|
|
@@ -5,11 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The attribute of the IP
|
|
8
|
+
* The attribute of the IP whitelist group. If this parameter is set to **hidden**, the group is not displayed in the console.
|
|
9
9
|
*
|
|
10
|
-
* > -
|
|
11
|
-
* >
|
|
12
|
-
* > - This parameter is available only when **WhiteListType** is set to **IP**.
|
|
10
|
+
* > - IP whitelist groups that are already displayed in the console cannot be hidden.
|
|
11
|
+
* > - This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
13
12
|
*
|
|
14
13
|
* @example
|
|
15
14
|
* hidden
|
|
@@ -17,17 +16,14 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
17
16
|
DBClusterIPArrayAttribute?: string;
|
|
18
17
|
/**
|
|
19
18
|
* @remarks
|
|
20
|
-
* The name of the IP
|
|
19
|
+
* The name of the IP whitelist group. The name must be 2 to 120 characters in length and can contain lowercase letters and digits. The name must start with a letter and end with a letter or digit.
|
|
21
20
|
*
|
|
22
21
|
* - If the specified whitelist group name does not exist, a new whitelist group is created.
|
|
23
|
-
*
|
|
24
22
|
* - If the specified whitelist group name already exists, the whitelist group is modified.
|
|
23
|
+
* - If this parameter is not specified, the default group is modified.
|
|
25
24
|
*
|
|
26
|
-
* -
|
|
27
|
-
*
|
|
28
|
-
* > * A cluster can have up to 50 IP address whitelist groups.
|
|
29
|
-
* >
|
|
30
|
-
* > * This parameter is available only when **WhiteListType** is set to **IP**.
|
|
25
|
+
* > - A maximum of 50 IP whitelist groups are supported for a cluster.
|
|
26
|
+
* > - This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
31
27
|
*
|
|
32
28
|
* @example
|
|
33
29
|
* default
|
|
@@ -45,15 +41,12 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
45
41
|
DBClusterId?: string;
|
|
46
42
|
/**
|
|
47
43
|
* @remarks
|
|
48
|
-
* The method used to modify the IP
|
|
49
|
-
*
|
|
50
|
-
* - **
|
|
51
|
-
*
|
|
52
|
-
* - **Append**: Appends IP addresses to the whitelist.
|
|
53
|
-
*
|
|
54
|
-
* - **Delete**: Deletes IP addresses from the whitelist.
|
|
44
|
+
* The method used to modify the IP whitelist. Valid values:
|
|
45
|
+
* - **Cover**: overwrites the original IP whitelist (default value).
|
|
46
|
+
* - **Append**: appends IP addresses to the whitelist.
|
|
47
|
+
* - **Delete**: removes IP addresses from the whitelist.
|
|
55
48
|
*
|
|
56
|
-
* > This parameter
|
|
49
|
+
* > This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
57
50
|
*
|
|
58
51
|
* @example
|
|
59
52
|
* Cover
|
|
@@ -61,15 +54,19 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
61
54
|
modifyMode?: string;
|
|
62
55
|
ownerAccount?: string;
|
|
63
56
|
ownerId?: number;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* pfs-xxx
|
|
60
|
+
*/
|
|
61
|
+
pfsInstanceId?: string;
|
|
64
62
|
resourceOwnerAccount?: string;
|
|
65
63
|
resourceOwnerId?: number;
|
|
66
64
|
/**
|
|
67
65
|
* @remarks
|
|
68
|
-
* The security group
|
|
66
|
+
* The security group IDs. Separate multiple security group IDs with commas (,).
|
|
69
67
|
*
|
|
70
|
-
* > - A
|
|
71
|
-
* >
|
|
72
|
-
* > - This parameter is available only when **WhiteListType** is set to **SecurityGroup**.
|
|
68
|
+
* > - A maximum of 3 security groups are supported for a cluster.
|
|
69
|
+
* > - This parameter takes effect only when **WhiteListType** is set to **SecurityGroup**.
|
|
73
70
|
*
|
|
74
71
|
* @example
|
|
75
72
|
* sg-*********
|
|
@@ -77,13 +74,12 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
77
74
|
securityGroupIds?: string;
|
|
78
75
|
/**
|
|
79
76
|
* @remarks
|
|
80
|
-
* The IP addresses or CIDR blocks in the IP
|
|
77
|
+
* The IP addresses or CIDR blocks in the IP whitelist group. A maximum of 1,000 IP addresses or CIDR blocks can be added to all IP whitelist groups. Separate multiple IP addresses with commas (,). The following two formats are supported:
|
|
81
78
|
*
|
|
82
|
-
* - IP address format
|
|
79
|
+
* - IP address format, such as 10.23.12.24.
|
|
80
|
+
* - CIDR format, such as 10.23.12.24/24, where 24 indicates the prefix length of the CIDR block. The prefix length ranges from 1 to 32.
|
|
83
81
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* > This parameter is available only when **WhiteListType** is set to **IP**.
|
|
82
|
+
* > This parameter takes effect only when **WhiteListType** is set to **IP**.
|
|
87
83
|
*
|
|
88
84
|
* @example
|
|
89
85
|
* 10.23.12.24
|
|
@@ -93,11 +89,10 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
93
89
|
* @remarks
|
|
94
90
|
* The type of the whitelist. Valid values:
|
|
95
91
|
*
|
|
96
|
-
* - **IP**: IP
|
|
97
|
-
*
|
|
98
|
-
* - **SecurityGroup**: Security group.
|
|
92
|
+
* - **IP**: IP whitelist group.
|
|
93
|
+
* - **SecurityGroup**: security group.
|
|
99
94
|
*
|
|
100
|
-
*
|
|
95
|
+
* Default value: **IP**.
|
|
101
96
|
*
|
|
102
97
|
* @example
|
|
103
98
|
* IP
|
|
@@ -111,6 +106,7 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
111
106
|
modifyMode: 'ModifyMode',
|
|
112
107
|
ownerAccount: 'OwnerAccount',
|
|
113
108
|
ownerId: 'OwnerId',
|
|
109
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
114
110
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
115
111
|
resourceOwnerId: 'ResourceOwnerId',
|
|
116
112
|
securityGroupIds: 'SecurityGroupIds',
|
|
@@ -127,6 +123,7 @@ export class ModifyDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
127
123
|
modifyMode: 'string',
|
|
128
124
|
ownerAccount: 'string',
|
|
129
125
|
ownerId: 'number',
|
|
126
|
+
pfsInstanceId: 'string',
|
|
130
127
|
resourceOwnerAccount: 'string',
|
|
131
128
|
resourceOwnerId: 'number',
|
|
132
129
|
securityGroupIds: 'string',
|