@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
|
@@ -124,13 +124,13 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
|
|
|
124
124
|
* * **Creating**: being created
|
|
125
125
|
* * **Running**: running
|
|
126
126
|
* * **Deleting**: being deleted
|
|
127
|
-
* * **Rebooting**:
|
|
127
|
+
* * **Rebooting**: being restarted
|
|
128
128
|
* * **DBNodeCreating**: adding a node
|
|
129
129
|
* * **DBNodeDeleting**: deleting a node
|
|
130
130
|
* * **ClassChanging**: changing node specifications
|
|
131
|
-
* * **MinorVersionUpgrading**: upgrading the minor
|
|
131
|
+
* * **MinorVersionUpgrading**: upgrading the minor version
|
|
132
132
|
* * **Maintaining**: under maintenance
|
|
133
|
-
* * **Switching**:
|
|
133
|
+
* * **Switching**: being switched
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* Running
|
|
@@ -266,7 +266,7 @@ export class DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems ex
|
|
|
266
266
|
* The network type of the connection string. Valid values:
|
|
267
267
|
* * **Public**: public endpoint
|
|
268
268
|
* * **Private**: private endpoint
|
|
269
|
-
* * **Inner**: private endpoint (classic network)
|
|
269
|
+
* * **Inner**: private endpoint (classic network)
|
|
270
270
|
*
|
|
271
271
|
* @example
|
|
272
272
|
* Public
|
|
@@ -335,10 +335,149 @@ export class DescribeAIDBClusterAttributeResponseBodyEndpointList extends $dara.
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
+
export class DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfoTimeSlices extends $dara.Model {
|
|
339
|
+
beginTime?: string;
|
|
340
|
+
endTime?: string;
|
|
341
|
+
static names(): { [key: string]: string } {
|
|
342
|
+
return {
|
|
343
|
+
beginTime: 'BeginTime',
|
|
344
|
+
endTime: 'EndTime',
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
static types(): { [key: string]: any } {
|
|
349
|
+
return {
|
|
350
|
+
beginTime: 'string',
|
|
351
|
+
endTime: 'string',
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
validate() {
|
|
356
|
+
super.validate();
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
constructor(map?: { [key: string]: any }) {
|
|
360
|
+
super(map);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export class DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfo extends $dara.Model {
|
|
365
|
+
timeSlices?: DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfoTimeSlices[];
|
|
366
|
+
static names(): { [key: string]: string } {
|
|
367
|
+
return {
|
|
368
|
+
timeSlices: 'TimeSlices',
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
static types(): { [key: string]: any } {
|
|
373
|
+
return {
|
|
374
|
+
timeSlices: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfoTimeSlices },
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
validate() {
|
|
379
|
+
if(Array.isArray(this.timeSlices)) {
|
|
380
|
+
$dara.Model.validateArray(this.timeSlices);
|
|
381
|
+
}
|
|
382
|
+
super.validate();
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
constructor(map?: { [key: string]: any }) {
|
|
386
|
+
super(map);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export class DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigLabels extends $dara.Model {
|
|
391
|
+
key?: string;
|
|
392
|
+
value?: string;
|
|
393
|
+
static names(): { [key: string]: string } {
|
|
394
|
+
return {
|
|
395
|
+
key: 'Key',
|
|
396
|
+
value: 'Value',
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
static types(): { [key: string]: any } {
|
|
401
|
+
return {
|
|
402
|
+
key: 'string',
|
|
403
|
+
value: 'string',
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
validate() {
|
|
408
|
+
super.validate();
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
constructor(map?: { [key: string]: any }) {
|
|
412
|
+
super(map);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export class DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigTaints extends $dara.Model {
|
|
417
|
+
effect?: string;
|
|
418
|
+
key?: string;
|
|
419
|
+
value?: string;
|
|
420
|
+
static names(): { [key: string]: string } {
|
|
421
|
+
return {
|
|
422
|
+
effect: 'Effect',
|
|
423
|
+
key: 'Key',
|
|
424
|
+
value: 'Value',
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
static types(): { [key: string]: any } {
|
|
429
|
+
return {
|
|
430
|
+
effect: 'string',
|
|
431
|
+
key: 'string',
|
|
432
|
+
value: 'string',
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
validate() {
|
|
437
|
+
super.validate();
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
constructor(map?: { [key: string]: any }) {
|
|
441
|
+
super(map);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export class DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfig extends $dara.Model {
|
|
446
|
+
labels?: DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigLabels[];
|
|
447
|
+
taints?: DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigTaints[];
|
|
448
|
+
static names(): { [key: string]: string } {
|
|
449
|
+
return {
|
|
450
|
+
labels: 'Labels',
|
|
451
|
+
taints: 'Taints',
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
static types(): { [key: string]: any } {
|
|
456
|
+
return {
|
|
457
|
+
labels: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigLabels },
|
|
458
|
+
taints: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigTaints },
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
validate() {
|
|
463
|
+
if(Array.isArray(this.labels)) {
|
|
464
|
+
$dara.Model.validateArray(this.labels);
|
|
465
|
+
}
|
|
466
|
+
if(Array.isArray(this.taints)) {
|
|
467
|
+
$dara.Model.validateArray(this.taints);
|
|
468
|
+
}
|
|
469
|
+
super.validate();
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
constructor(map?: { [key: string]: any }) {
|
|
473
|
+
super(map);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
338
477
|
export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model {
|
|
339
478
|
/**
|
|
340
479
|
* @remarks
|
|
341
|
-
* The mount path
|
|
480
|
+
* The mount path inside the container.
|
|
342
481
|
*
|
|
343
482
|
* @example
|
|
344
483
|
* /var/run/secrets/kubernetes.io/serviceaccount
|
|
@@ -409,9 +548,9 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
409
548
|
/**
|
|
410
549
|
* @remarks
|
|
411
550
|
* The node type. Valid values:
|
|
412
|
-
* - vnode: managed
|
|
413
|
-
* - container:
|
|
414
|
-
* - maas: model service
|
|
551
|
+
* - vnode: ACK-managed
|
|
552
|
+
* - container: loginable container
|
|
553
|
+
* - maas: model service
|
|
415
554
|
*
|
|
416
555
|
* @example
|
|
417
556
|
* vnode
|
|
@@ -459,7 +598,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
459
598
|
* - **DBNodeCreating**: adding a node
|
|
460
599
|
* - **DBNodeDeleting**: deleting a node
|
|
461
600
|
* - **ClassChanging**: changing node specifications
|
|
462
|
-
* - **Deleted**: released
|
|
601
|
+
* - **Deleted**: released
|
|
463
602
|
*
|
|
464
603
|
* @example
|
|
465
604
|
* Running
|
|
@@ -478,7 +617,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
478
617
|
*
|
|
479
618
|
* **2.0**
|
|
480
619
|
*
|
|
481
|
-
* **3.0
|
|
620
|
+
* **3.0**
|
|
482
621
|
*
|
|
483
622
|
* @example
|
|
484
623
|
* 1.0
|
|
@@ -501,7 +640,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
501
640
|
* @remarks
|
|
502
641
|
* The cluster expiration time.
|
|
503
642
|
*
|
|
504
|
-
* > This parameter
|
|
643
|
+
* > This parameter returns a value only for clusters whose billing method is **Prepaid** (subscription). An empty value is returned for **Postpaid** (pay-as-you-go) clusters.
|
|
505
644
|
*
|
|
506
645
|
* @example
|
|
507
646
|
* 2020-11-14T16:00:00Z
|
|
@@ -513,7 +652,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
513
652
|
*
|
|
514
653
|
* - **true**
|
|
515
654
|
*
|
|
516
|
-
* - **false
|
|
655
|
+
* - **false**
|
|
517
656
|
*
|
|
518
657
|
* @example
|
|
519
658
|
* false
|
|
@@ -546,7 +685,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
546
685
|
kubeClusterId?: string;
|
|
547
686
|
/**
|
|
548
687
|
* @remarks
|
|
549
|
-
* The instance lock mode. The value **lock** indicates that the instance is automatically
|
|
688
|
+
* The instance lock mode. The value **lock** indicates that the instance is automatically expired or has an overdue payment.
|
|
550
689
|
*
|
|
551
690
|
* @example
|
|
552
691
|
* Unlock
|
|
@@ -615,7 +754,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
615
754
|
* @remarks
|
|
616
755
|
* The architecture type. Valid values:
|
|
617
756
|
* - container: AI container
|
|
618
|
-
* - ainode: AI node
|
|
757
|
+
* - ainode: AI node
|
|
619
758
|
*
|
|
620
759
|
* @example
|
|
621
760
|
* container
|
|
@@ -623,21 +762,23 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
623
762
|
runType?: string;
|
|
624
763
|
/**
|
|
625
764
|
* @remarks
|
|
626
|
-
* Valid values for
|
|
765
|
+
* Valid values for Enterprise Edition storage type:
|
|
627
766
|
* - **PSL5**
|
|
628
767
|
* - **PSL4**
|
|
629
768
|
*
|
|
630
|
-
* Valid values for
|
|
769
|
+
* Valid values for Standard Edition storage type:
|
|
631
770
|
* - **ESSDPL0**
|
|
632
771
|
* - **ESSDPL1**
|
|
633
772
|
* - **ESSDPL2**
|
|
634
773
|
* - **ESSDPL3**
|
|
635
|
-
* - **ESSDAUTOPL
|
|
774
|
+
* - **ESSDAUTOPL**
|
|
636
775
|
*
|
|
637
776
|
* @example
|
|
638
777
|
* essdpl1
|
|
639
778
|
*/
|
|
640
779
|
storageType?: string;
|
|
780
|
+
timeSlicesInfo?: DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfo;
|
|
781
|
+
timeSlicesType?: string;
|
|
641
782
|
/**
|
|
642
783
|
* @remarks
|
|
643
784
|
* The VPC ID specified for the zone switchover.
|
|
@@ -656,6 +797,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
656
797
|
* vsw-*********************
|
|
657
798
|
*/
|
|
658
799
|
vSwitchId?: string;
|
|
800
|
+
vnodeKubernetesConfig?: DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfig;
|
|
659
801
|
/**
|
|
660
802
|
* @remarks
|
|
661
803
|
* The list of data cloud disks.
|
|
@@ -671,7 +813,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
671
813
|
zoneId?: string;
|
|
672
814
|
/**
|
|
673
815
|
* @remarks
|
|
674
|
-
* The zone
|
|
816
|
+
* The zone IDs.
|
|
675
817
|
*
|
|
676
818
|
* @example
|
|
677
819
|
* cn-hangzhou-i,cn-hangzhou-g
|
|
@@ -705,8 +847,11 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
705
847
|
requestId: 'RequestId',
|
|
706
848
|
runType: 'RunType',
|
|
707
849
|
storageType: 'StorageType',
|
|
850
|
+
timeSlicesInfo: 'TimeSlicesInfo',
|
|
851
|
+
timeSlicesType: 'TimeSlicesType',
|
|
708
852
|
VPCId: 'VPCId',
|
|
709
853
|
vSwitchId: 'VSwitchId',
|
|
854
|
+
vnodeKubernetesConfig: 'VnodeKubernetesConfig',
|
|
710
855
|
volumes: 'Volumes',
|
|
711
856
|
zoneId: 'ZoneId',
|
|
712
857
|
zoneIds: 'ZoneIds',
|
|
@@ -741,8 +886,11 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
741
886
|
requestId: 'string',
|
|
742
887
|
runType: 'string',
|
|
743
888
|
storageType: 'string',
|
|
889
|
+
timeSlicesInfo: DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfo,
|
|
890
|
+
timeSlicesType: 'string',
|
|
744
891
|
VPCId: 'string',
|
|
745
892
|
vSwitchId: 'string',
|
|
893
|
+
vnodeKubernetesConfig: DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfig,
|
|
746
894
|
volumes: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyVolumes },
|
|
747
895
|
zoneId: 'string',
|
|
748
896
|
zoneIds: 'string',
|
|
@@ -756,6 +904,12 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
756
904
|
if(Array.isArray(this.endpointList)) {
|
|
757
905
|
$dara.Model.validateArray(this.endpointList);
|
|
758
906
|
}
|
|
907
|
+
if(this.timeSlicesInfo && typeof (this.timeSlicesInfo as any).validate === 'function') {
|
|
908
|
+
(this.timeSlicesInfo as any).validate();
|
|
909
|
+
}
|
|
910
|
+
if(this.vnodeKubernetesConfig && typeof (this.vnodeKubernetesConfig as any).validate === 'function') {
|
|
911
|
+
(this.vnodeKubernetesConfig as any).validate();
|
|
912
|
+
}
|
|
759
913
|
if(Array.isArray(this.volumes)) {
|
|
760
914
|
$dara.Model.validateArray(this.volumes);
|
|
761
915
|
}
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAIDBClusterTaskAttributeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The task ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* pm-2ze99***
|
|
@@ -13,9 +13,9 @@ export class DescribeAIDBClusterTaskAttributeRequest extends $dara.Model {
|
|
|
13
13
|
DBClusterId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The query mode. Valid
|
|
16
|
+
* The query mode. Valid values:
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* * **RelatedAITask**: queries task details.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* RelatedAITask
|
|
@@ -21,7 +21,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyDataSets extends $dara.
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The ratio of data split from the training set.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 0.1
|
|
@@ -29,11 +29,10 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyDataSets extends $dara.
|
|
|
29
29
|
splitDatasetRatio?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The type
|
|
32
|
+
* The type. Valid values:
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* - **eval**: The validation set.
|
|
34
|
+
* * **train**: training set.
|
|
35
|
+
* * **eval**: validation set.
|
|
37
36
|
*
|
|
38
37
|
* @example
|
|
39
38
|
* train
|
|
@@ -77,7 +76,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo extends $dara.
|
|
|
77
76
|
completedTime?: string;
|
|
78
77
|
/**
|
|
79
78
|
* @remarks
|
|
80
|
-
* The
|
|
79
|
+
* The foundation model.
|
|
81
80
|
*
|
|
82
81
|
* @example
|
|
83
82
|
* Qwen-1.7B
|
|
@@ -85,7 +84,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo extends $dara.
|
|
|
85
84
|
modelName?: string;
|
|
86
85
|
/**
|
|
87
86
|
* @remarks
|
|
88
|
-
* The path
|
|
87
|
+
* The path of the custom model.
|
|
89
88
|
*
|
|
90
89
|
* @example
|
|
91
90
|
* Qwen-1.7B
|
|
@@ -93,11 +92,10 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo extends $dara.
|
|
|
93
92
|
modelPath?: string;
|
|
94
93
|
/**
|
|
95
94
|
* @remarks
|
|
96
|
-
* The source
|
|
97
|
-
*
|
|
98
|
-
* - **public**: A pre-built model.
|
|
95
|
+
* The model source. Valid values:
|
|
99
96
|
*
|
|
100
|
-
*
|
|
97
|
+
* * **public**: pre-trained model.
|
|
98
|
+
* * **custom**: custom model.
|
|
101
99
|
*
|
|
102
100
|
* @example
|
|
103
101
|
* public
|
|
@@ -123,9 +121,8 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo extends $dara.
|
|
|
123
121
|
* @remarks
|
|
124
122
|
* The task type. Valid values:
|
|
125
123
|
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* - **grpo**: Reinforcement learning.
|
|
124
|
+
* * **sft**: SFT-efficient training.
|
|
125
|
+
* * **grpo**: GRPO-reinforcement learning.
|
|
129
126
|
*
|
|
130
127
|
* @example
|
|
131
128
|
* stf
|
|
@@ -135,9 +132,8 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo extends $dara.
|
|
|
135
132
|
* @remarks
|
|
136
133
|
* The training method. Valid values:
|
|
137
134
|
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* - **full**: Full training.
|
|
135
|
+
* * **lora**
|
|
136
|
+
* * **full**: full-parameter training.
|
|
141
137
|
*
|
|
142
138
|
* @example
|
|
143
139
|
* lora
|
|
@@ -181,7 +177,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo extends $dara.
|
|
|
181
177
|
export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
182
178
|
/**
|
|
183
179
|
* @remarks
|
|
184
|
-
* The access information
|
|
180
|
+
* The access information of the model in the test deployment scenario.
|
|
185
181
|
*
|
|
186
182
|
* @example
|
|
187
183
|
* {\\"networkInterfaceId\\":\\"eni-2zea***\\",\\"port\\":\\"8000\\",\\"host\\":\\"192.**.**.**\\"}
|
|
@@ -189,7 +185,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
189
185
|
accessInfo?: string;
|
|
190
186
|
/**
|
|
191
187
|
* @remarks
|
|
192
|
-
* The
|
|
188
|
+
* The network type of the cluster.
|
|
193
189
|
*
|
|
194
190
|
* @example
|
|
195
191
|
* VPC
|
|
@@ -197,7 +193,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
197
193
|
clusterNetworkType?: string;
|
|
198
194
|
/**
|
|
199
195
|
* @remarks
|
|
200
|
-
* The
|
|
196
|
+
* The creation time.
|
|
201
197
|
*
|
|
202
198
|
* @example
|
|
203
199
|
* 2025-11-12T03:45:13Z
|
|
@@ -205,7 +201,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
205
201
|
createTime?: string;
|
|
206
202
|
/**
|
|
207
203
|
* @remarks
|
|
208
|
-
* The
|
|
204
|
+
* The task name.
|
|
209
205
|
*
|
|
210
206
|
* @example
|
|
211
207
|
* task01
|
|
@@ -213,7 +209,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
213
209
|
DBClusterDescription?: string;
|
|
214
210
|
/**
|
|
215
211
|
* @remarks
|
|
216
|
-
* The
|
|
212
|
+
* The task ID.
|
|
217
213
|
*
|
|
218
214
|
* @example
|
|
219
215
|
* pm-2ze99***
|
|
@@ -223,11 +219,9 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
223
219
|
* @remarks
|
|
224
220
|
* The training status. Valid values:
|
|
225
221
|
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* - **FAILED**: Training failed.
|
|
222
|
+
* * **ACTIVATION**: Training in progress.
|
|
223
|
+
* * **COMPLETED**: Training succeeded.
|
|
224
|
+
* * **FAILED**: Training failed.
|
|
231
225
|
*
|
|
232
226
|
* @example
|
|
233
227
|
* COMPLETED
|
|
@@ -235,13 +229,11 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
235
229
|
DBClusterStatus?: string;
|
|
236
230
|
/**
|
|
237
231
|
* @remarks
|
|
238
|
-
* The training status
|
|
239
|
-
*
|
|
240
|
-
* - **ACTIVATION**: Training in progress.
|
|
241
|
-
*
|
|
242
|
-
* - **COMPLETED**: Training successful.
|
|
232
|
+
* The training status. Valid values:
|
|
243
233
|
*
|
|
244
|
-
*
|
|
234
|
+
* * **ACTIVATION**: Training in progress.
|
|
235
|
+
* * **COMPLETED**: Training succeeded.
|
|
236
|
+
* * **FAILED**: Training failed.
|
|
245
237
|
*
|
|
246
238
|
* @example
|
|
247
239
|
* COMPLETED
|
|
@@ -257,9 +249,9 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
257
249
|
DBType?: string;
|
|
258
250
|
/**
|
|
259
251
|
* @remarks
|
|
260
|
-
* The version. Valid
|
|
252
|
+
* The version. Valid values:
|
|
261
253
|
*
|
|
262
|
-
*
|
|
254
|
+
* * **3.1**: model operator tuning.
|
|
263
255
|
*
|
|
264
256
|
* @example
|
|
265
257
|
* 3.1
|
|
@@ -267,17 +259,17 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
267
259
|
DBVersion?: string;
|
|
268
260
|
/**
|
|
269
261
|
* @remarks
|
|
270
|
-
* The datasets
|
|
262
|
+
* The datasets.
|
|
271
263
|
*/
|
|
272
264
|
dataSets?: DescribeAIDBClusterTaskAttributeResponseBodyDataSets[];
|
|
273
265
|
/**
|
|
274
266
|
* @remarks
|
|
275
|
-
*
|
|
267
|
+
* The additional information, including runtime parameters.
|
|
276
268
|
*/
|
|
277
269
|
extraInfo?: { [key: string]: any }[];
|
|
278
270
|
/**
|
|
279
271
|
* @remarks
|
|
280
|
-
* The instance
|
|
272
|
+
* The type of the instance. Valid values:
|
|
281
273
|
*
|
|
282
274
|
* - **18**.
|
|
283
275
|
*
|
|
@@ -289,9 +281,8 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
289
281
|
* @remarks
|
|
290
282
|
* The lock mode. Valid values:
|
|
291
283
|
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
* - **1**: Unlocked.
|
|
284
|
+
* * **0**: Locked.
|
|
285
|
+
* * **1**: Unlocked.
|
|
295
286
|
*
|
|
296
287
|
* @example
|
|
297
288
|
* 1
|
|
@@ -315,12 +306,12 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
315
306
|
maintainStartTime?: string;
|
|
316
307
|
/**
|
|
317
308
|
* @remarks
|
|
318
|
-
*
|
|
309
|
+
* The list of output model paths in the model fine-tuning scenario.
|
|
319
310
|
*/
|
|
320
311
|
modelPath?: string;
|
|
321
312
|
/**
|
|
322
313
|
* @remarks
|
|
323
|
-
*
|
|
314
|
+
* Id of the request
|
|
324
315
|
*
|
|
325
316
|
* @example
|
|
326
317
|
* 45D24263-7E3A-4140-9472-************
|
|
@@ -328,12 +319,13 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
328
319
|
requestId?: string;
|
|
329
320
|
/**
|
|
330
321
|
* @remarks
|
|
331
|
-
*
|
|
322
|
+
* The task information.
|
|
332
323
|
*/
|
|
333
324
|
taskInfo?: DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo[];
|
|
325
|
+
tuneArch?: string;
|
|
334
326
|
/**
|
|
335
327
|
* @remarks
|
|
336
|
-
* The VPC ID.
|
|
328
|
+
* The virtual private cloud (VPC) ID.
|
|
337
329
|
*
|
|
338
330
|
* @example
|
|
339
331
|
* vpc-**********
|
|
@@ -367,6 +359,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
367
359
|
modelPath: 'ModelPath',
|
|
368
360
|
requestId: 'RequestId',
|
|
369
361
|
taskInfo: 'TaskInfo',
|
|
362
|
+
tuneArch: 'TuneArch',
|
|
370
363
|
VPCId: 'VPCId',
|
|
371
364
|
vSwitchId: 'VSwitchId',
|
|
372
365
|
};
|
|
@@ -392,6 +385,7 @@ export class DescribeAIDBClusterTaskAttributeResponseBody extends $dara.Model {
|
|
|
392
385
|
modelPath: 'string',
|
|
393
386
|
requestId: 'string',
|
|
394
387
|
taskInfo: { 'type': 'array', 'itemType': DescribeAIDBClusterTaskAttributeResponseBodyTaskInfo },
|
|
388
|
+
tuneArch: 'string',
|
|
395
389
|
VPCId: 'string',
|
|
396
390
|
vSwitchId: 'string',
|
|
397
391
|
};
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeAIDBClusterTasksRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The template operator type.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* aitrain
|
|
@@ -23,7 +23,7 @@ export class DescribeAIDBClusterTasksRequest extends $dara.Model {
|
|
|
23
23
|
regionId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The ID of the PolarDB instance.
|
|
26
|
+
* The instance ID of the PolarDB instance.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* pc-2ze88***
|