@alicloud/polardb20170801 8.3.1 → 8.3.2
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 +4 -4
- package/dist/client.js +7 -4
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +55 -39
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +4 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableModelsRequest.d.ts +8 -0
- package/dist/models/DescribeAvailableModelsRequest.js +2 -0
- package/dist/models/DescribeAvailableModelsRequest.js.map +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +56 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js +14 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -4
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +59 -39
- package/src/models/DescribeAvailableModelsRequest.ts +10 -0
- package/src/models/DescribeAvailableModelsResponseBody.ts +70 -0
|
@@ -13,7 +13,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
|
|
|
13
13
|
mountPath?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The disk name.
|
|
16
|
+
* The cloud disk name.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* jueming
|
|
@@ -21,7 +21,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
|
|
|
21
21
|
name?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The storage
|
|
24
|
+
* The size of the storage cloud disk.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 8192
|
|
@@ -37,7 +37,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes extends
|
|
|
37
37
|
storageCategory?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The storage
|
|
40
|
+
* The storage category.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* PL1
|
|
@@ -165,16 +165,16 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
|
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
167
|
* The node status. Valid values:
|
|
168
|
-
* * **Creating**:
|
|
169
|
-
* * **Running**:
|
|
170
|
-
* * **Deleting**:
|
|
171
|
-
* * **Rebooting**:
|
|
172
|
-
* * **DBNodeCreating**:
|
|
173
|
-
* * **DBNodeDeleting**:
|
|
174
|
-
* * **ClassChanging**:
|
|
175
|
-
* * **MinorVersionUpgrading**:
|
|
176
|
-
* * **Maintaining**:
|
|
177
|
-
* * **Switching**:
|
|
168
|
+
* * **Creating**: The node is being created.
|
|
169
|
+
* * **Running**: The node is running.
|
|
170
|
+
* * **Deleting**: The node is being deleted.
|
|
171
|
+
* * **Rebooting**: The node is being restarted.
|
|
172
|
+
* * **DBNodeCreating**: A node is being added.
|
|
173
|
+
* * **DBNodeDeleting**: A node is being deleted.
|
|
174
|
+
* * **ClassChanging**: The node specifications are being changed.
|
|
175
|
+
* * **MinorVersionUpgrading**: A minor engine version update is in progress.
|
|
176
|
+
* * **Maintaining**: The instance is under maintenance.
|
|
177
|
+
* * **Switching**: A switchover is in progress.
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
180
|
* Running
|
|
@@ -220,7 +220,7 @@ export class DescribeAIDBClusterAttributeResponseBodyDBNodes extends $dara.Model
|
|
|
220
220
|
supportedApis?: DescribeAIDBClusterAttributeResponseBodyDBNodesSupportedApis[];
|
|
221
221
|
/**
|
|
222
222
|
* @remarks
|
|
223
|
-
* The Kubernetes virtual node
|
|
223
|
+
* The ID of the Kubernetes virtual node.
|
|
224
224
|
*
|
|
225
225
|
* @example
|
|
226
226
|
* vn-***************
|
|
@@ -321,9 +321,9 @@ export class DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems ex
|
|
|
321
321
|
/**
|
|
322
322
|
* @remarks
|
|
323
323
|
* The network type of the connection string. Valid values:
|
|
324
|
-
* * **Public**: public endpoint
|
|
325
|
-
* * **Private**: private endpoint
|
|
326
|
-
* * **Inner**: private endpoint (classic network)
|
|
324
|
+
* * **Public**: public endpoint
|
|
325
|
+
* * **Private**: private endpoint
|
|
326
|
+
* * **Inner**: private endpoint (classic network)
|
|
327
327
|
*
|
|
328
328
|
* @example
|
|
329
329
|
* Public
|
|
@@ -542,7 +542,7 @@ export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model
|
|
|
542
542
|
mountPath?: string;
|
|
543
543
|
/**
|
|
544
544
|
* @remarks
|
|
545
|
-
* The disk name.
|
|
545
|
+
* The cloud disk name.
|
|
546
546
|
*
|
|
547
547
|
* @example
|
|
548
548
|
* jueming
|
|
@@ -566,7 +566,7 @@ export class DescribeAIDBClusterAttributeResponseBodyVolumes extends $dara.Model
|
|
|
566
566
|
storageCategory?: string;
|
|
567
567
|
/**
|
|
568
568
|
* @remarks
|
|
569
|
-
* The storage
|
|
569
|
+
* The storage category.
|
|
570
570
|
*
|
|
571
571
|
* @example
|
|
572
572
|
* PolarFs
|
|
@@ -605,9 +605,9 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
605
605
|
/**
|
|
606
606
|
* @remarks
|
|
607
607
|
* The node type. Valid values:
|
|
608
|
-
* - vnode: ACK
|
|
609
|
-
* - container: loginable container
|
|
610
|
-
* - maas: model service
|
|
608
|
+
* - vnode: managed by ACK
|
|
609
|
+
* - container: loginable container
|
|
610
|
+
* - maas: model service
|
|
611
611
|
*
|
|
612
612
|
* @example
|
|
613
613
|
* vnode
|
|
@@ -623,12 +623,20 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
623
623
|
apiKey?: string;
|
|
624
624
|
/**
|
|
625
625
|
* @remarks
|
|
626
|
-
* The cluster
|
|
626
|
+
* The time when the cluster was created.
|
|
627
627
|
*
|
|
628
628
|
* @example
|
|
629
629
|
* 2020-08-14T05:58:42Z
|
|
630
630
|
*/
|
|
631
631
|
creationTime?: string;
|
|
632
|
+
/**
|
|
633
|
+
* @remarks
|
|
634
|
+
* The custom model OSS path currently used by the instance.
|
|
635
|
+
*
|
|
636
|
+
* @example
|
|
637
|
+
* /my-model-bucket/models/qwen3
|
|
638
|
+
*/
|
|
639
|
+
customOssPath?: string;
|
|
632
640
|
/**
|
|
633
641
|
* @remarks
|
|
634
642
|
* The cluster description. Fuzzy match is supported.
|
|
@@ -649,13 +657,13 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
649
657
|
* @remarks
|
|
650
658
|
* The cluster status. Valid values:
|
|
651
659
|
*
|
|
652
|
-
* - **Creating**:
|
|
653
|
-
* - **Running**:
|
|
654
|
-
* - **Deleting**:
|
|
655
|
-
* - **DBNodeCreating**:
|
|
656
|
-
* - **DBNodeDeleting**:
|
|
657
|
-
* - **ClassChanging**:
|
|
658
|
-
* - **Deleted**:
|
|
660
|
+
* - **Creating**: The cluster is being created.
|
|
661
|
+
* - **Running**: The cluster is running.
|
|
662
|
+
* - **Deleting**: The cluster is being released.
|
|
663
|
+
* - **DBNodeCreating**: A node is being added.
|
|
664
|
+
* - **DBNodeDeleting**: A node is being deleted.
|
|
665
|
+
* - **ClassChanging**: The node specifications are being changed.
|
|
666
|
+
* - **Deleted**: The cluster has been released.
|
|
659
667
|
*
|
|
660
668
|
* @example
|
|
661
669
|
* Running
|
|
@@ -664,7 +672,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
664
672
|
DBInstanceStatusDesc?: string;
|
|
665
673
|
/**
|
|
666
674
|
* @remarks
|
|
667
|
-
* The
|
|
675
|
+
* The details of the nodes.
|
|
668
676
|
*/
|
|
669
677
|
DBNodes?: DescribeAIDBClusterAttributeResponseBodyDBNodes[];
|
|
670
678
|
/**
|
|
@@ -697,9 +705,9 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
697
705
|
endpointList?: DescribeAIDBClusterAttributeResponseBodyEndpointList[];
|
|
698
706
|
/**
|
|
699
707
|
* @remarks
|
|
700
|
-
* The
|
|
708
|
+
* The expiration time of the cluster.
|
|
701
709
|
*
|
|
702
|
-
* > Only clusters
|
|
710
|
+
* > Only clusters whose billing method is **Prepaid** (subscription) return a specific value. **Postpaid** (pay-as-you-go) clusters return an empty value.
|
|
703
711
|
*
|
|
704
712
|
* @example
|
|
705
713
|
* 2020-11-14T16:00:00Z
|
|
@@ -745,7 +753,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
745
753
|
kubeClusterId?: string;
|
|
746
754
|
/**
|
|
747
755
|
* @remarks
|
|
748
|
-
* The
|
|
756
|
+
* The lock mode of the instance. The value **lock** indicates that the instance is automatically expired or has an overdue payment.
|
|
749
757
|
*
|
|
750
758
|
* @example
|
|
751
759
|
* Unlock
|
|
@@ -788,6 +796,14 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
788
796
|
* Postpaid
|
|
789
797
|
*/
|
|
790
798
|
payType?: string;
|
|
799
|
+
/**
|
|
800
|
+
* @remarks
|
|
801
|
+
* The custom model OSS path before the last change.
|
|
802
|
+
*
|
|
803
|
+
* @example
|
|
804
|
+
* /my-model-bucket/models/qwen2
|
|
805
|
+
*/
|
|
806
|
+
previousCustomOssPath?: string;
|
|
791
807
|
/**
|
|
792
808
|
* @remarks
|
|
793
809
|
* The public IP address.
|
|
@@ -815,8 +831,8 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
815
831
|
/**
|
|
816
832
|
* @remarks
|
|
817
833
|
* The architecture type. Valid values:
|
|
818
|
-
* - container: AI container
|
|
819
|
-
* - ainode: AI node
|
|
834
|
+
* - container: AI container
|
|
835
|
+
* - ainode: AI node
|
|
820
836
|
*
|
|
821
837
|
* @example
|
|
822
838
|
* container
|
|
@@ -824,11 +840,11 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
824
840
|
runType?: string;
|
|
825
841
|
/**
|
|
826
842
|
* @remarks
|
|
827
|
-
*
|
|
843
|
+
* Valid values for Enterprise Edition storage type:
|
|
828
844
|
* - **PSL5**
|
|
829
845
|
* - **PSL4**
|
|
830
846
|
*
|
|
831
|
-
*
|
|
847
|
+
* Valid values for Standard Edition storage type:
|
|
832
848
|
* - **ESSDPL0**
|
|
833
849
|
* - **ESSDPL1**
|
|
834
850
|
* - **ESSDPL2**
|
|
@@ -843,7 +859,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
843
859
|
timeSlicesType?: string;
|
|
844
860
|
/**
|
|
845
861
|
* @remarks
|
|
846
|
-
* The VPC ID specified for
|
|
862
|
+
* The VPC ID that can be specified for cross-zone switchover.
|
|
847
863
|
*
|
|
848
864
|
* @example
|
|
849
865
|
* vpc-*******************
|
|
@@ -886,6 +902,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
886
902
|
aiNodeType: 'AiNodeType',
|
|
887
903
|
apiKey: 'ApiKey',
|
|
888
904
|
creationTime: 'CreationTime',
|
|
905
|
+
customOssPath: 'CustomOssPath',
|
|
889
906
|
DBClusterDescription: 'DBClusterDescription',
|
|
890
907
|
DBClusterId: 'DBClusterId',
|
|
891
908
|
DBClusterStatus: 'DBClusterStatus',
|
|
@@ -909,6 +926,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
909
926
|
modelSpaceName: 'ModelSpaceName',
|
|
910
927
|
modelType: 'ModelType',
|
|
911
928
|
payType: 'PayType',
|
|
929
|
+
previousCustomOssPath: 'PreviousCustomOssPath',
|
|
912
930
|
publicIp: 'PublicIp',
|
|
913
931
|
regionId: 'RegionId',
|
|
914
932
|
requestId: 'RequestId',
|
|
@@ -930,6 +948,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
930
948
|
aiNodeType: 'string',
|
|
931
949
|
apiKey: 'string',
|
|
932
950
|
creationTime: 'string',
|
|
951
|
+
customOssPath: 'string',
|
|
933
952
|
DBClusterDescription: 'string',
|
|
934
953
|
DBClusterId: 'string',
|
|
935
954
|
DBClusterStatus: 'string',
|
|
@@ -953,6 +972,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
953
972
|
modelSpaceName: 'string',
|
|
954
973
|
modelType: 'string',
|
|
955
974
|
payType: 'string',
|
|
975
|
+
previousCustomOssPath: 'string',
|
|
956
976
|
publicIp: 'string',
|
|
957
977
|
regionId: 'string',
|
|
958
978
|
requestId: 'string',
|
|
@@ -11,6 +11,14 @@ export class DescribeAvailableModelsRequest extends $dara.Model {
|
|
|
11
11
|
* aideploy
|
|
12
12
|
*/
|
|
13
13
|
kubeType?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The model type. Valid values: custom or public. If this parameter is not specified, all models are returned.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* custom
|
|
20
|
+
*/
|
|
21
|
+
modelType?: string;
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
24
|
* The region ID.
|
|
@@ -22,6 +30,7 @@ export class DescribeAvailableModelsRequest extends $dara.Model {
|
|
|
22
30
|
static names(): { [key: string]: string } {
|
|
23
31
|
return {
|
|
24
32
|
kubeType: 'KubeType',
|
|
33
|
+
modelType: 'ModelType',
|
|
25
34
|
regionId: 'RegionId',
|
|
26
35
|
};
|
|
27
36
|
}
|
|
@@ -29,6 +38,7 @@ export class DescribeAvailableModelsRequest extends $dara.Model {
|
|
|
29
38
|
static types(): { [key: string]: any } {
|
|
30
39
|
return {
|
|
31
40
|
kubeType: 'string',
|
|
41
|
+
modelType: 'string',
|
|
32
42
|
regionId: 'string',
|
|
33
43
|
};
|
|
34
44
|
}
|
|
@@ -43,6 +43,30 @@ export class DescribeAvailableModelsResponseBodyItemsGpuRequired extends $dara.M
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The custom model registration key.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* Qwen3-32B
|
|
52
|
+
*/
|
|
53
|
+
customModelName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The display name of the model.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* My Qwen3 32B
|
|
60
|
+
*/
|
|
61
|
+
displayModelName?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The last modified time of the registration.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 2026-09-07 20:57:20
|
|
68
|
+
*/
|
|
69
|
+
gmtModified?: string;
|
|
46
70
|
/**
|
|
47
71
|
* @remarks
|
|
48
72
|
* The supported GPU types.
|
|
@@ -80,6 +104,22 @@ export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
|
|
|
80
104
|
* BERT
|
|
81
105
|
*/
|
|
82
106
|
modelSeries?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The model type.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* custom
|
|
113
|
+
*/
|
|
114
|
+
modelType?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The OSS path of the custom model.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* /my-model-bucket/models
|
|
121
|
+
*/
|
|
122
|
+
ossPath?: string;
|
|
83
123
|
/**
|
|
84
124
|
* @remarks
|
|
85
125
|
* The supported GPU models.
|
|
@@ -88,11 +128,16 @@ export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
|
|
|
88
128
|
tuneArch?: string;
|
|
89
129
|
static names(): { [key: string]: string } {
|
|
90
130
|
return {
|
|
131
|
+
customModelName: 'CustomModelName',
|
|
132
|
+
displayModelName: 'DisplayModelName',
|
|
133
|
+
gmtModified: 'GmtModified',
|
|
91
134
|
gpuRequired: 'GpuRequired',
|
|
92
135
|
minimumCpu: 'MinimumCpu',
|
|
93
136
|
minimumMemory: 'MinimumMemory',
|
|
94
137
|
modelName: 'ModelName',
|
|
95
138
|
modelSeries: 'ModelSeries',
|
|
139
|
+
modelType: 'ModelType',
|
|
140
|
+
ossPath: 'OssPath',
|
|
96
141
|
supportedGpuModels: 'SupportedGpuModels',
|
|
97
142
|
tuneArch: 'TuneArch',
|
|
98
143
|
};
|
|
@@ -100,11 +145,16 @@ export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
|
|
|
100
145
|
|
|
101
146
|
static types(): { [key: string]: any } {
|
|
102
147
|
return {
|
|
148
|
+
customModelName: 'string',
|
|
149
|
+
displayModelName: 'string',
|
|
150
|
+
gmtModified: 'string',
|
|
103
151
|
gpuRequired: { 'type': 'array', 'itemType': DescribeAvailableModelsResponseBodyItemsGpuRequired },
|
|
104
152
|
minimumCpu: 'number',
|
|
105
153
|
minimumMemory: 'number',
|
|
106
154
|
modelName: 'string',
|
|
107
155
|
modelSeries: 'string',
|
|
156
|
+
modelType: 'string',
|
|
157
|
+
ossPath: 'string',
|
|
108
158
|
supportedGpuModels: { 'type': 'array', 'itemType': 'string' },
|
|
109
159
|
tuneArch: 'string',
|
|
110
160
|
};
|
|
@@ -147,6 +197,14 @@ export class DescribeAvailableModelsResponseBody extends $dara.Model {
|
|
|
147
197
|
* The list of models.
|
|
148
198
|
*/
|
|
149
199
|
items?: DescribeAvailableModelsResponseBodyItems[];
|
|
200
|
+
/**
|
|
201
|
+
* @remarks
|
|
202
|
+
* The model type corresponding to the request.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* custom
|
|
206
|
+
*/
|
|
207
|
+
modelType?: string;
|
|
150
208
|
/**
|
|
151
209
|
* @remarks
|
|
152
210
|
* Id of the request
|
|
@@ -155,12 +213,22 @@ export class DescribeAvailableModelsResponseBody extends $dara.Model {
|
|
|
155
213
|
* 3AA69096-757C-4647-B36C-29EBC2******
|
|
156
214
|
*/
|
|
157
215
|
requestId?: string;
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The model fine-tuning architecture.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* swift
|
|
222
|
+
*/
|
|
223
|
+
tuneArch?: string;
|
|
158
224
|
static names(): { [key: string]: string } {
|
|
159
225
|
return {
|
|
160
226
|
engine: 'Engine',
|
|
161
227
|
engineVersion: 'EngineVersion',
|
|
162
228
|
items: 'Items',
|
|
229
|
+
modelType: 'ModelType',
|
|
163
230
|
requestId: 'RequestId',
|
|
231
|
+
tuneArch: 'TuneArch',
|
|
164
232
|
};
|
|
165
233
|
}
|
|
166
234
|
|
|
@@ -169,7 +237,9 @@ export class DescribeAvailableModelsResponseBody extends $dara.Model {
|
|
|
169
237
|
engine: 'string',
|
|
170
238
|
engineVersion: 'string',
|
|
171
239
|
items: { 'type': 'array', 'itemType': DescribeAvailableModelsResponseBodyItems },
|
|
240
|
+
modelType: 'string',
|
|
172
241
|
requestId: 'string',
|
|
242
|
+
tuneArch: 'string',
|
|
173
243
|
};
|
|
174
244
|
}
|
|
175
245
|
|