@alicloud/polardb20170801 8.3.1 → 8.4.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.
Files changed (57) hide show
  1. package/dist/client.d.ts +49 -4
  2. package/dist/client.js +157 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteAidbclusterCustomModelRequest.d.ts +43 -0
  5. package/dist/models/DeleteAidbclusterCustomModelRequest.js +62 -0
  6. package/dist/models/DeleteAidbclusterCustomModelRequest.js.map +1 -0
  7. package/dist/models/DeleteAidbclusterCustomModelResponse.d.ts +19 -0
  8. package/dist/models/DeleteAidbclusterCustomModelResponse.js +69 -0
  9. package/dist/models/DeleteAidbclusterCustomModelResponse.js.map +1 -0
  10. package/dist/models/DeleteAidbclusterCustomModelResponseBody.d.ts +45 -0
  11. package/dist/models/DeleteAidbclusterCustomModelResponseBody.js +64 -0
  12. package/dist/models/DeleteAidbclusterCustomModelResponseBody.js.map +1 -0
  13. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +55 -39
  14. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +4 -0
  15. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  16. package/dist/models/DescribeAvailableModelsRequest.d.ts +8 -0
  17. package/dist/models/DescribeAvailableModelsRequest.js +2 -0
  18. package/dist/models/DescribeAvailableModelsRequest.js.map +1 -1
  19. package/dist/models/DescribeAvailableModelsResponseBody.d.ts +56 -0
  20. package/dist/models/DescribeAvailableModelsResponseBody.js +14 -0
  21. package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
  22. package/dist/models/ModifyAidbclusterModelRequest.d.ts +59 -0
  23. package/dist/models/ModifyAidbclusterModelRequest.js +66 -0
  24. package/dist/models/ModifyAidbclusterModelRequest.js.map +1 -0
  25. package/dist/models/ModifyAidbclusterModelResponse.d.ts +19 -0
  26. package/dist/models/ModifyAidbclusterModelResponse.js +69 -0
  27. package/dist/models/ModifyAidbclusterModelResponse.js.map +1 -0
  28. package/dist/models/ModifyAidbclusterModelResponseBody.d.ts +82 -0
  29. package/dist/models/ModifyAidbclusterModelResponseBody.js +77 -0
  30. package/dist/models/ModifyAidbclusterModelResponseBody.js.map +1 -0
  31. package/dist/models/RegisterAidbclusterCustomModelRequest.d.ts +71 -0
  32. package/dist/models/RegisterAidbclusterCustomModelRequest.js +68 -0
  33. package/dist/models/RegisterAidbclusterCustomModelRequest.js.map +1 -0
  34. package/dist/models/RegisterAidbclusterCustomModelResponse.d.ts +19 -0
  35. package/dist/models/RegisterAidbclusterCustomModelResponse.js +69 -0
  36. package/dist/models/RegisterAidbclusterCustomModelResponse.js.map +1 -0
  37. package/dist/models/RegisterAidbclusterCustomModelResponseBody.d.ts +69 -0
  38. package/dist/models/RegisterAidbclusterCustomModelResponseBody.js +70 -0
  39. package/dist/models/RegisterAidbclusterCustomModelResponseBody.js.map +1 -0
  40. package/dist/models/model.d.ts +9 -0
  41. package/dist/models/model.js +43 -24
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/client.ts +178 -4
  45. package/src/models/DeleteAidbclusterCustomModelRequest.ts +60 -0
  46. package/src/models/DeleteAidbclusterCustomModelResponse.ts +40 -0
  47. package/src/models/DeleteAidbclusterCustomModelResponseBody.ts +64 -0
  48. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +59 -39
  49. package/src/models/DescribeAvailableModelsRequest.ts +10 -0
  50. package/src/models/DescribeAvailableModelsResponseBody.ts +70 -0
  51. package/src/models/ModifyAidbclusterModelRequest.ts +80 -0
  52. package/src/models/ModifyAidbclusterModelResponse.ts +40 -0
  53. package/src/models/ModifyAidbclusterModelResponseBody.ts +114 -0
  54. package/src/models/RegisterAidbclusterCustomModelRequest.ts +94 -0
  55. package/src/models/RegisterAidbclusterCustomModelResponse.ts +40 -0
  56. package/src/models/RegisterAidbclusterCustomModelResponseBody.ts +94 -0
  57. package/src/models/model.ts +9 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteAIDBClusterCustomModelResponseBody } from "./DeleteAidbclusterCustomModelResponseBody";
4
+
5
+
6
+ export class DeleteAIDBClusterCustomModelResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteAIDBClusterCustomModelResponseBody;
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: DeleteAIDBClusterCustomModelResponseBody,
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,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteAIDBClusterCustomModelResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Indicates whether the deletion was successful.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ deleted?: boolean;
14
+ /**
15
+ * @remarks
16
+ * The ID of the deleted model registration.
17
+ *
18
+ * @example
19
+ * 123456
20
+ */
21
+ modelId?: number;
22
+ /**
23
+ * @remarks
24
+ * The key of the deleted custom model registration.
25
+ *
26
+ * @example
27
+ * Qwen3-32B
28
+ */
29
+ modelName?: string;
30
+ /**
31
+ * @remarks
32
+ * Id of the request
33
+ *
34
+ * @example
35
+ * 3AA6E0E4-1234-5678-90AB-1234567890AB
36
+ */
37
+ requestId?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ deleted: 'Deleted',
41
+ modelId: 'ModelId',
42
+ modelName: 'ModelName',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ deleted: 'boolean',
50
+ modelId: 'number',
51
+ modelName: 'string',
52
+ requestId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -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 size.
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 class.
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**: Being created.
169
- * * **Running**: Running.
170
- * * **Deleting**: Being deleted.
171
- * * **Rebooting**: Restarting.
172
- * * **DBNodeCreating**: Adding a node.
173
- * * **DBNodeDeleting**: Deleting a node.
174
- * * **ClassChanging**: Changing node specifications.
175
- * * **MinorVersionUpgrading**: Performing a minor version upgrade.
176
- * * **Maintaining**: Under maintenance.
177
- * * **Switching**: 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 ID.
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 class.
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-managed.
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 creation time.
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**: Being created.
653
- * - **Running**: Running.
654
- * - **Deleting**: Being released.
655
- * - **DBNodeCreating**: Adding a node.
656
- * - **DBNodeDeleting**: Deleting a node.
657
- * - **ClassChanging**: Changing node specifications.
658
- * - **Deleted**: Released.
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 node information.
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 cluster expiration time.
708
+ * The expiration time of the cluster.
701
709
  *
702
- * > Only clusters with the billing method set to **Prepaid** (subscription) return a specific value. **Postpaid** (pay-as-you-go) clusters return an empty value.
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 instance lock mode. The value **lock** indicates that the instance is automatically expired or has an overdue payment.
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
- * The storage type for Enterprise Edition. Valid values:
843
+ * Valid values for Enterprise Edition storage type:
828
844
  * - **PSL5**
829
845
  * - **PSL4**
830
846
  *
831
- * The storage type for Standard Edition. Valid values:
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 the zone switchover.
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
 
@@ -0,0 +1,80 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyAIDBClusterModelRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the PolarDB AI 3.0 logical instance.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pm-2ze4x2mwo81knj08a
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * The new customer-facing invocation name. If this parameter is not specified, the existing invocation name is retained.
19
+ *
20
+ * @example
21
+ * my-flagship-chat
22
+ */
23
+ displayModelName?: string;
24
+ /**
25
+ * @remarks
26
+ * Specifies whether to only preview the change.
27
+ *
28
+ * @example
29
+ * true
30
+ */
31
+ dryRun?: boolean;
32
+ /**
33
+ * @remarks
34
+ * The name of the target model. Select a value from the ModelName values returned by the DescribeAvailableModels operation.
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * Qwen3-32B
40
+ */
41
+ modelName?: string;
42
+ /**
43
+ * @remarks
44
+ * The region ID.
45
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * cn-beijing
50
+ */
51
+ regionId?: string;
52
+ static names(): { [key: string]: string } {
53
+ return {
54
+ DBClusterId: 'DBClusterId',
55
+ displayModelName: 'DisplayModelName',
56
+ dryRun: 'DryRun',
57
+ modelName: 'ModelName',
58
+ regionId: 'RegionId',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ DBClusterId: 'string',
65
+ displayModelName: 'string',
66
+ dryRun: 'boolean',
67
+ modelName: 'string',
68
+ regionId: 'string',
69
+ };
70
+ }
71
+
72
+ validate() {
73
+ super.validate();
74
+ }
75
+
76
+ constructor(map?: { [key: string]: any }) {
77
+ super(map);
78
+ }
79
+ }
80
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifyAIDBClusterModelResponseBody } from "./ModifyAidbclusterModelResponseBody";
4
+
5
+
6
+ export class ModifyAIDBClusterModelResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifyAIDBClusterModelResponseBody;
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: ModifyAIDBClusterModelResponseBody,
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
+