tencentcloud-sdk-nodejs-intl-en 3.0.1432 → 3.0.1433

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.
@@ -637,6 +637,221 @@ class HorizontalPodAutoscaler extends AbstractModel {
637
637
  }
638
638
  }
639
639
 
640
+ /**
641
+ *
642
+ * @class
643
+ */
644
+ class ResourceSupplyAttribute extends AbstractModel {
645
+ constructor(){
646
+ super();
647
+
648
+ /**
649
+ *
650
+ * @type {string || null}
651
+ */
652
+ this.SupplyType = null;
653
+
654
+ /**
655
+ *
656
+ * @type {string || null}
657
+ */
658
+ this.ClusterType = null;
659
+
660
+ }
661
+
662
+ /**
663
+ * @private
664
+ */
665
+ deserialize(params) {
666
+ if (!params) {
667
+ return;
668
+ }
669
+ this.SupplyType = 'SupplyType' in params ? params.SupplyType : null;
670
+ this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
671
+
672
+ }
673
+ }
674
+
675
+ /**
676
+ * AuthToken basic information.
677
+ * @class
678
+ */
679
+ class AuthTokenBase extends AbstractModel {
680
+ constructor(){
681
+ super();
682
+
683
+ /**
684
+ * Token value.
685
+ * @type {string || null}
686
+ */
687
+ this.Value = null;
688
+
689
+ /**
690
+ * Token alias.
691
+ * @type {string || null}
692
+ */
693
+ this.Name = null;
694
+
695
+ /**
696
+ * Token description.
697
+ * @type {string || null}
698
+ */
699
+ this.Description = null;
700
+
701
+ /**
702
+ * Token creation time.
703
+ * @type {string || null}
704
+ */
705
+ this.CreateTime = null;
706
+
707
+ /**
708
+ * Token status.
709
+ * @type {string || null}
710
+ */
711
+ this.Status = null;
712
+
713
+ }
714
+
715
+ /**
716
+ * @private
717
+ */
718
+ deserialize(params) {
719
+ if (!params) {
720
+ return;
721
+ }
722
+ this.Value = 'Value' in params ? params.Value : null;
723
+ this.Name = 'Name' in params ? params.Name : null;
724
+ this.Description = 'Description' in params ? params.Description : null;
725
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
726
+ this.Status = 'Status' in params ? params.Status : null;
727
+
728
+ }
729
+ }
730
+
731
+ /**
732
+ * Resource configuration.
733
+ * @class
734
+ */
735
+ class ResourceConfigInfo extends AbstractModel {
736
+ constructor(){
737
+ super();
738
+
739
+ /**
740
+ * Role. For example, PS, WORKER, DRIVER, and EXECUTOR.
741
+ * @type {string || null}
742
+ */
743
+ this.Role = null;
744
+
745
+ /**
746
+ * Number of CPU cores, which is required to be configured when resource groups are used. Unit: 1/1000, where 1000 represents 1 core.
747
+ * @type {number || null}
748
+ */
749
+ this.Cpu = null;
750
+
751
+ /**
752
+ * Memory size, in MB. This parameter needs to be configured when resource groups are used.
753
+ * @type {number || null}
754
+ */
755
+ this.Memory = null;
756
+
757
+ /**
758
+ * GPU card type, which is required to be configured when resource groups are used.
759
+ * @type {string || null}
760
+ */
761
+ this.GpuType = null;
762
+
763
+ /**
764
+ * Number of GPU cards, which is required to be configured when resource groups are used. Unit: 1/100, where 100 represents 1 card.
765
+ * @type {number || null}
766
+ */
767
+ this.Gpu = null;
768
+
769
+ /**
770
+ * CVM instance specification ID.
771
+ CVM instance specification (for postpaid billing). Valid values:
772
+ TI.S.LARGE.POST: 4C8G
773
+ TI.S.2XLARGE16.POST: 8C16G
774
+ TI.S.2XLARGE32.POST: 8C32G
775
+ TI.S.4XLARGE32.POST: 16C32G
776
+ TI.S.4XLARGE64.POST: 16C64G
777
+ TI.S.6XLARGE48.POST: 24C48G
778
+ TI.S.6XLARGE96.POST: 24C96G
779
+ TI.S.8XLARGE64.POST: 32C64G
780
+ TI.S.8XLARGE128.POST : 32C128G
781
+ TI.GN10.2XLARGE40.POST: 8C40G V100*1
782
+ TI.GN10.5XLARGE80.POST: 18C80G V100*2
783
+ TI.GN10.10XLARGE160.POST : 32C160G V100*4
784
+ TI.GN10.20XLARGE320.POST : 72C320G V100*8
785
+ TI.GN7.8XLARGE128.POST: 32C128G T4*1
786
+ TI.GN7.10XLARGE160.POST: 40C160G T4*2
787
+ TI.GN7.20XLARGE320.POST: 80C32
788
+ * @type {string || null}
789
+ */
790
+ this.InstanceType = null;
791
+
792
+ /**
793
+ * Number of compute nodes.
794
+ * @type {number || null}
795
+ */
796
+ this.InstanceNum = null;
797
+
798
+ /**
799
+ * CVM instance specification name.
800
+ CVM instance specification (for postpaid billing). Valid values:
801
+ 4C8G
802
+ 8C16G
803
+ 8C32G
804
+ 16C32G
805
+ 6C64G
806
+ 24C48G
807
+ 24C96G
808
+ 32C64G
809
+ 32C128G
810
+ 8C40G V100*1
811
+ 8C80G V100*2
812
+ 32C160G V100*4
813
+ 72C320G V100*8
814
+ 32C128G T4*1
815
+ 40C160G T4*2
816
+ 80C32
817
+ * @type {string || null}
818
+ */
819
+ this.InstanceTypeAlias = null;
820
+
821
+ /**
822
+ * RDMA configuration.
823
+ Note: This field may return null, indicating that no valid values can be obtained.
824
+ * @type {RDMAConfig || null}
825
+ */
826
+ this.RDMAConfig = null;
827
+
828
+ }
829
+
830
+ /**
831
+ * @private
832
+ */
833
+ deserialize(params) {
834
+ if (!params) {
835
+ return;
836
+ }
837
+ this.Role = 'Role' in params ? params.Role : null;
838
+ this.Cpu = 'Cpu' in params ? params.Cpu : null;
839
+ this.Memory = 'Memory' in params ? params.Memory : null;
840
+ this.GpuType = 'GpuType' in params ? params.GpuType : null;
841
+ this.Gpu = 'Gpu' in params ? params.Gpu : null;
842
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
843
+ this.InstanceNum = 'InstanceNum' in params ? params.InstanceNum : null;
844
+ this.InstanceTypeAlias = 'InstanceTypeAlias' in params ? params.InstanceTypeAlias : null;
845
+
846
+ if (params.RDMAConfig) {
847
+ let obj = new RDMAConfig();
848
+ obj.deserialize(params.RDMAConfig)
849
+ this.RDMAConfig = obj;
850
+ }
851
+
852
+ }
853
+ }
854
+
640
855
  /**
641
856
  * Public cloud data source structure.
642
857
  * @class
@@ -672,6 +887,55 @@ class PublicDataSourceFS extends AbstractModel {
672
887
  }
673
888
  }
674
889
 
890
+ /**
891
+ * Exposed port information.
892
+ * @class
893
+ */
894
+ class ExposePortConfig extends AbstractModel {
895
+ constructor(){
896
+ super();
897
+
898
+ /**
899
+ *
900
+ * @type {boolean || null}
901
+ */
902
+ this.Enable = null;
903
+
904
+ /**
905
+ *
906
+ * @type {string || null}
907
+ */
908
+ this.VpcId = null;
909
+
910
+ /**
911
+ *
912
+ * @type {string || null}
913
+ */
914
+ this.ClbId = null;
915
+
916
+ /**
917
+ *
918
+ * @type {string || null}
919
+ */
920
+ this.ClbHost = null;
921
+
922
+ }
923
+
924
+ /**
925
+ * @private
926
+ */
927
+ deserialize(params) {
928
+ if (!params) {
929
+ return;
930
+ }
931
+ this.Enable = 'Enable' in params ? params.Enable : null;
932
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
933
+ this.ClbId = 'ClbId' in params ? params.ClbId : null;
934
+ this.ClbHost = 'ClbHost' in params ? params.ClbHost : null;
935
+
936
+ }
937
+ }
938
+
675
939
  /**
676
940
  * AuthToken data of an online service.
677
941
  * @class
@@ -720,6 +984,48 @@ class AuthToken extends AbstractModel {
720
984
  }
721
985
  }
722
986
 
987
+ /**
988
+ *
989
+ * @class
990
+ */
991
+ class TrainToolConfig extends AbstractModel {
992
+ constructor(){
993
+ super();
994
+
995
+ /**
996
+ *
997
+ * @type {boolean || null}
998
+ */
999
+ this.EnableHangMonitor = null;
1000
+
1001
+ /**
1002
+ *
1003
+ * @type {Array.<string> || null}
1004
+ */
1005
+ this.HangMonitorNodes = null;
1006
+
1007
+ /**
1008
+ *
1009
+ * @type {number || null}
1010
+ */
1011
+ this.LogHangTimeoutInMinute = null;
1012
+
1013
+ }
1014
+
1015
+ /**
1016
+ * @private
1017
+ */
1018
+ deserialize(params) {
1019
+ if (!params) {
1020
+ return;
1021
+ }
1022
+ this.EnableHangMonitor = 'EnableHangMonitor' in params ? params.EnableHangMonitor : null;
1023
+ this.HangMonitorNodes = 'HangMonitorNodes' in params ? params.HangMonitorNodes : null;
1024
+ this.LogHangTimeoutInMinute = 'LogHangTimeoutInMinute' in params ? params.LogHangTimeoutInMinute : null;
1025
+
1026
+ }
1027
+ }
1028
+
723
1029
  /**
724
1030
  * Health probe.
725
1031
  * @class
@@ -778,24 +1084,18 @@ class HealthProbe extends AbstractModel {
778
1084
  }
779
1085
 
780
1086
  /**
781
- * Key-value pair.
1087
+ * Encoded startup command information.
782
1088
  * @class
783
1089
  */
784
- class Option extends AbstractModel {
1090
+ class EncodedStartCmdInfo extends AbstractModel {
785
1091
  constructor(){
786
1092
  super();
787
1093
 
788
1094
  /**
789
- * Metric name.
1095
+ * Startup command of the task, which is input in base64 format. Note that the complete input of {"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""} is required for conversion.
790
1096
  * @type {string || null}
791
1097
  */
792
- this.Name = null;
793
-
794
- /**
795
- * Metric value.
796
- * @type {number || null}
797
- */
798
- this.Value = null;
1098
+ this.StartCmdInfo = null;
799
1099
 
800
1100
  }
801
1101
 
@@ -806,8 +1106,7 @@ class Option extends AbstractModel {
806
1106
  if (!params) {
807
1107
  return;
808
1108
  }
809
- this.Name = 'Name' in params ? params.Name : null;
810
- this.Value = 'Value' in params ? params.Value : null;
1109
+ this.StartCmdInfo = 'StartCmdInfo' in params ? params.StartCmdInfo : null;
811
1110
 
812
1111
  }
813
1112
  }
@@ -848,44 +1147,56 @@ class CrossTenantENIInfo extends AbstractModel {
848
1147
  }
849
1148
 
850
1149
  /**
851
- * AuthToken basic information.
1150
+ * Notebook SSH port configuration.
852
1151
  * @class
853
1152
  */
854
- class AuthTokenBase extends AbstractModel {
1153
+ class SSHConfig extends AbstractModel {
855
1154
  constructor(){
856
1155
  super();
857
1156
 
858
1157
  /**
859
- * Token value.
860
- * @type {string || null}
1158
+ * Whether to enable SSH.
1159
+ Note: This field may return null, indicating that no valid values can be obtained.
1160
+ * @type {boolean || null}
861
1161
  */
862
- this.Value = null;
1162
+ this.Enable = null;
863
1163
 
864
1164
  /**
865
- * Token alias.
1165
+ * Public key information.
1166
+ Note: This field may return null, indicating that no valid values can be obtained.
866
1167
  * @type {string || null}
867
1168
  */
868
- this.Name = null;
1169
+ this.PublicKey = null;
869
1170
 
870
1171
  /**
871
- * Token description.
872
- * @type {string || null}
1172
+ * Port number.
1173
+ Note: This field may return null, indicating that no valid values can be obtained.
1174
+ * @type {number || null}
873
1175
  */
874
- this.Description = null;
1176
+ this.Port = null;
875
1177
 
876
1178
  /**
877
- * Token creation time.
1179
+ * Login command.
1180
+ Note: This field may return null, indicating that no valid values can be obtained.
878
1181
  * @type {string || null}
879
1182
  */
880
- this.CreateTime = null;
1183
+ this.LoginCommand = null;
881
1184
 
882
1185
  /**
883
- * Token status.
884
- * @type {string || null}
1186
+ * Whether to change the login address.
1187
+ Note: This field may return null, indicating that no valid values can be obtained.
1188
+ * @type {boolean || null}
885
1189
  */
886
- this.Status = null;
887
-
888
- }
1190
+ this.IsAddressChanged = null;
1191
+
1192
+ /**
1193
+ * Pod access information.
1194
+ Note: This field may return null, indicating that no valid values can be obtained.
1195
+ * @type {PodSSHInfo || null}
1196
+ */
1197
+ this.PodSSHInfo = null;
1198
+
1199
+ }
889
1200
 
890
1201
  /**
891
1202
  * @private
@@ -894,11 +1205,90 @@ class AuthTokenBase extends AbstractModel {
894
1205
  if (!params) {
895
1206
  return;
896
1207
  }
897
- this.Value = 'Value' in params ? params.Value : null;
898
- this.Name = 'Name' in params ? params.Name : null;
899
- this.Description = 'Description' in params ? params.Description : null;
900
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
901
- this.Status = 'Status' in params ? params.Status : null;
1208
+ this.Enable = 'Enable' in params ? params.Enable : null;
1209
+ this.PublicKey = 'PublicKey' in params ? params.PublicKey : null;
1210
+ this.Port = 'Port' in params ? params.Port : null;
1211
+ this.LoginCommand = 'LoginCommand' in params ? params.LoginCommand : null;
1212
+ this.IsAddressChanged = 'IsAddressChanged' in params ? params.IsAddressChanged : null;
1213
+
1214
+ if (params.PodSSHInfo) {
1215
+ let obj = new PodSSHInfo();
1216
+ obj.deserialize(params.PodSSHInfo)
1217
+ this.PodSSHInfo = obj;
1218
+ }
1219
+
1220
+ }
1221
+ }
1222
+
1223
+ /**
1224
+ *
1225
+ * @class
1226
+ */
1227
+ class ExposeNetworkConfig extends AbstractModel {
1228
+ constructor(){
1229
+ super();
1230
+
1231
+ /**
1232
+ *
1233
+ * @type {SSHConfig || null}
1234
+ */
1235
+ this.SSHConfig = null;
1236
+
1237
+ /**
1238
+ *
1239
+ * @type {ExposePortConfig || null}
1240
+ */
1241
+ this.ExposePortConfig = null;
1242
+
1243
+ }
1244
+
1245
+ /**
1246
+ * @private
1247
+ */
1248
+ deserialize(params) {
1249
+ if (!params) {
1250
+ return;
1251
+ }
1252
+
1253
+ if (params.SSHConfig) {
1254
+ let obj = new SSHConfig();
1255
+ obj.deserialize(params.SSHConfig)
1256
+ this.SSHConfig = obj;
1257
+ }
1258
+
1259
+ if (params.ExposePortConfig) {
1260
+ let obj = new ExposePortConfig();
1261
+ obj.deserialize(params.ExposePortConfig)
1262
+ this.ExposePortConfig = obj;
1263
+ }
1264
+
1265
+ }
1266
+ }
1267
+
1268
+ /**
1269
+ * Service scheduling policy configurations.
1270
+ * @class
1271
+ */
1272
+ class SchedulingPolicy extends AbstractModel {
1273
+ constructor(){
1274
+ super();
1275
+
1276
+ /**
1277
+ * Whether to enable cross-resource-group scheduling.
1278
+ * @type {boolean || null}
1279
+ */
1280
+ this.CrossResourceGroupScheduling = null;
1281
+
1282
+ }
1283
+
1284
+ /**
1285
+ * @private
1286
+ */
1287
+ deserialize(params) {
1288
+ if (!params) {
1289
+ return;
1290
+ }
1291
+ this.CrossResourceGroupScheduling = 'CrossResourceGroupScheduling' in params ? params.CrossResourceGroupScheduling : null;
902
1292
 
903
1293
  }
904
1294
  }
@@ -931,6 +1321,78 @@ class TCPSocketAction extends AbstractModel {
931
1321
  }
932
1322
  }
933
1323
 
1324
+ /**
1325
+ * Local disk information.
1326
+ * @class
1327
+ */
1328
+ class LocalDisk extends AbstractModel {
1329
+ constructor(){
1330
+ super();
1331
+
1332
+ /**
1333
+ * Node ID.
1334
+ Note: This field may return null, indicating that no valid values can be obtained.
1335
+ * @type {string || null}
1336
+ */
1337
+ this.InstanceId = null;
1338
+
1339
+ /**
1340
+ * Local path.
1341
+ Note: This field may return null, indicating that no valid values can be obtained.
1342
+ * @type {string || null}
1343
+ */
1344
+ this.LocalPath = null;
1345
+
1346
+ }
1347
+
1348
+ /**
1349
+ * @private
1350
+ */
1351
+ deserialize(params) {
1352
+ if (!params) {
1353
+ return;
1354
+ }
1355
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1356
+ this.LocalPath = 'LocalPath' in params ? params.LocalPath : null;
1357
+
1358
+ }
1359
+ }
1360
+
1361
+ /**
1362
+ * GooseFSx configurations.
1363
+ * @class
1364
+ */
1365
+ class GooseFSx extends AbstractModel {
1366
+ constructor(){
1367
+ super();
1368
+
1369
+ /**
1370
+ * GooseFSx instance ID.
1371
+ * @type {string || null}
1372
+ */
1373
+ this.Id = null;
1374
+
1375
+ /**
1376
+ * Path to mount the GooseFSx instance.
1377
+ * @type {string || null}
1378
+ */
1379
+ this.Path = null;
1380
+
1381
+ }
1382
+
1383
+ /**
1384
+ * @private
1385
+ */
1386
+ deserialize(params) {
1387
+ if (!params) {
1388
+ return;
1389
+ }
1390
+ this.Id = 'Id' in params ? params.Id : null;
1391
+ this.Path = 'Path' in params ? params.Path : null;
1392
+
1393
+ }
1394
+ }
1395
+
934
1396
  /**
935
1397
  * Resource information description.
936
1398
  * @class
@@ -975,6 +1437,25 @@ class ResourceInfo extends AbstractModel {
975
1437
  */
976
1438
  this.RealGpuDetailSet = null;
977
1439
 
1440
+ /**
1441
+ * Indicates whether to enable RDMA.
1442
+ Note: This field may return null, indicating that no valid values can be obtained.
1443
+ * @type {boolean || null}
1444
+ */
1445
+ this.EnableRDMA = null;
1446
+
1447
+ /**
1448
+ *
1449
+ * @type {number || null}
1450
+ */
1451
+ this.RootDisk = null;
1452
+
1453
+ /**
1454
+ *
1455
+ * @type {number || null}
1456
+ */
1457
+ this.DataDisk = null;
1458
+
978
1459
  }
979
1460
 
980
1461
  /**
@@ -998,29 +1479,38 @@ class ResourceInfo extends AbstractModel {
998
1479
  this.RealGpuDetailSet.push(obj);
999
1480
  }
1000
1481
  }
1482
+ this.EnableRDMA = 'EnableRDMA' in params ? params.EnableRDMA : null;
1483
+ this.RootDisk = 'RootDisk' in params ? params.RootDisk : null;
1484
+ this.DataDisk = 'DataDisk' in params ? params.DataDisk : null;
1001
1485
 
1002
1486
  }
1003
1487
  }
1004
1488
 
1005
1489
  /**
1006
- * GooseFSx configurations.
1490
+ * External mounting information.
1007
1491
  * @class
1008
1492
  */
1009
- class GooseFSx extends AbstractModel {
1493
+ class VolumeMount extends AbstractModel {
1010
1494
  constructor(){
1011
1495
  super();
1012
1496
 
1013
1497
  /**
1014
- * GooseFSx instance ID.
1498
+ * Cloud File Storage (CFS) configuration information.
1499
+ * @type {CFSConfig || null}
1500
+ */
1501
+ this.CFSConfig = null;
1502
+
1503
+ /**
1504
+ * Mounting source type. Valid values: CFS and COS. The default value is CFS.
1015
1505
  * @type {string || null}
1016
1506
  */
1017
- this.Id = null;
1507
+ this.VolumeSourceType = null;
1018
1508
 
1019
1509
  /**
1020
- * Path to mount the GooseFSx instance.
1510
+ * Mounting path in the custom container.Note: This field may return null, indicating that no valid values can be obtained.
1021
1511
  * @type {string || null}
1022
1512
  */
1023
- this.Path = null;
1513
+ this.MountPath = null;
1024
1514
 
1025
1515
  }
1026
1516
 
@@ -1031,37 +1521,31 @@ class GooseFSx extends AbstractModel {
1031
1521
  if (!params) {
1032
1522
  return;
1033
1523
  }
1034
- this.Id = 'Id' in params ? params.Id : null;
1035
- this.Path = 'Path' in params ? params.Path : null;
1524
+
1525
+ if (params.CFSConfig) {
1526
+ let obj = new CFSConfig();
1527
+ obj.deserialize(params.CFSConfig)
1528
+ this.CFSConfig = obj;
1529
+ }
1530
+ this.VolumeSourceType = 'VolumeSourceType' in params ? params.VolumeSourceType : null;
1531
+ this.MountPath = 'MountPath' in params ? params.MountPath : null;
1036
1532
 
1037
1533
  }
1038
1534
  }
1039
1535
 
1040
1536
  /**
1041
- * External mounting information.
1537
+ * Data set structure.
1042
1538
  * @class
1043
1539
  */
1044
- class VolumeMount extends AbstractModel {
1540
+ class DataSetConfig extends AbstractModel {
1045
1541
  constructor(){
1046
1542
  super();
1047
1543
 
1048
1544
  /**
1049
- * Cloud File Storage (CFS) configuration information.
1050
- * @type {CFSConfig || null}
1051
- */
1052
- this.CFSConfig = null;
1053
-
1054
- /**
1055
- * Mounting source type. Valid values: CFS and COS. The default value is CFS.
1056
- * @type {string || null}
1057
- */
1058
- this.VolumeSourceType = null;
1059
-
1060
- /**
1061
- * Mounting path in the custom container.Note: This field may return null, indicating that no valid values can be obtained.
1545
+ * Data set ID.
1062
1546
  * @type {string || null}
1063
1547
  */
1064
- this.MountPath = null;
1548
+ this.Id = null;
1065
1549
 
1066
1550
  }
1067
1551
 
@@ -1072,14 +1556,7 @@ class VolumeMount extends AbstractModel {
1072
1556
  if (!params) {
1073
1557
  return;
1074
1558
  }
1075
-
1076
- if (params.CFSConfig) {
1077
- let obj = new CFSConfig();
1078
- obj.deserialize(params.CFSConfig)
1079
- this.CFSConfig = obj;
1080
- }
1081
- this.VolumeSourceType = 'VolumeSourceType' in params ? params.VolumeSourceType : null;
1082
- this.MountPath = 'MountPath' in params ? params.MountPath : null;
1559
+ this.Id = 'Id' in params ? params.Id : null;
1083
1560
 
1084
1561
  }
1085
1562
  }
@@ -1169,6 +1646,35 @@ class DescribeModelServiceGroupsResponse extends AbstractModel {
1169
1646
  }
1170
1647
  }
1171
1648
 
1649
+ /**
1650
+ * RDMA configuration.
1651
+ * @class
1652
+ */
1653
+ class RDMAConfig extends AbstractModel {
1654
+ constructor(){
1655
+ super();
1656
+
1657
+ /**
1658
+ * Whether to enable RDMA.
1659
+ Note: This field may return null, indicating that no valid values can be obtained.
1660
+ * @type {boolean || null}
1661
+ */
1662
+ this.Enable = null;
1663
+
1664
+ }
1665
+
1666
+ /**
1667
+ * @private
1668
+ */
1669
+ deserialize(params) {
1670
+ if (!params) {
1671
+ return;
1672
+ }
1673
+ this.Enable = 'Enable' in params ? params.Enable : null;
1674
+
1675
+ }
1676
+ }
1677
+
1172
1678
  /**
1173
1679
  * Inference code information.
1174
1680
  * @class
@@ -1647,43 +2153,188 @@ Corresponding number of instances for postpaid instances in the manual scaling m
1647
2153
  }
1648
2154
 
1649
2155
  /**
1650
- * Service scheduling policy configurations.
2156
+ * Data configuration.
1651
2157
  * @class
1652
2158
  */
1653
- class SchedulingPolicy extends AbstractModel {
2159
+ class DataConfig extends AbstractModel {
1654
2160
  constructor(){
1655
2161
  super();
1656
2162
 
1657
2163
  /**
1658
- * Whether to enable cross-resource-group scheduling.
1659
- * @type {boolean || null}
2164
+ * Mapping path.
2165
+ * @type {string || null}
1660
2166
  */
1661
- this.CrossResourceGroupScheduling = null;
1662
-
1663
- }
1664
-
1665
- /**
1666
- * @private
1667
- */
1668
- deserialize(params) {
1669
- if (!params) {
1670
- return;
1671
- }
1672
- this.CrossResourceGroupScheduling = 'CrossResourceGroupScheduling' in params ? params.CrossResourceGroupScheduling : null;
1673
-
1674
- }
1675
- }
1676
-
1677
- /**
1678
- * GPU details.
1679
- * @class
1680
- */
1681
- class GpuDetail extends AbstractModel {
1682
- constructor(){
1683
- super();
2167
+ this.MappingPath = null;
1684
2168
 
1685
2169
  /**
1686
- * GPU card type. Enumeration values: V100, A100, T4.Note: This field may return null, indicating that no valid values can be obtained.
2170
+ * Storage purpose.
2171
+ Valid values: BUILTIN_CODE, BUILTIN_DATA, BUILTIN_MODEL, USER_DATA, USER_CODE, USER_MODEL, OUTPUT, and OTHER.
2172
+ Note: This field may return null, indicating that no valid values can be obtained.
2173
+ * @type {string || null}
2174
+ */
2175
+ this.DataSourceUsage = null;
2176
+
2177
+ /**
2178
+ * DATASET, COS, CFS, CFSTurbo, GooseFSx, HDFS, and WEDATA_HDFS
2179
+ Note: This field may return null, indicating that no valid values can be obtained.
2180
+ * @type {string || null}
2181
+ */
2182
+ this.DataSourceType = null;
2183
+
2184
+ /**
2185
+ * Data from the data set.
2186
+ Note: This field may return null, indicating that no valid values can be obtained.
2187
+ * @type {DataSetConfig || null}
2188
+ */
2189
+ this.DataSetSource = null;
2190
+
2191
+ /**
2192
+ * Data from COS.
2193
+ Note: This field may return null, indicating that no valid values can be obtained.
2194
+ * @type {CosPathInfo || null}
2195
+ */
2196
+ this.COSSource = null;
2197
+
2198
+ /**
2199
+ * Data from CFS.
2200
+ Note: This field may return null, indicating that no valid values can be obtained.
2201
+ * @type {CFSConfig || null}
2202
+ */
2203
+ this.CFSSource = null;
2204
+
2205
+ /**
2206
+ * Data from HDFS.
2207
+ Note: This field may return null, indicating that no valid values can be obtained.
2208
+ * @type {HDFSConfig || null}
2209
+ */
2210
+ this.HDFSSource = null;
2211
+
2212
+ /**
2213
+ * GooseFS data.
2214
+ Note: This field may return null, indicating that no valid values can be obtained.
2215
+ * @type {GooseFS || null}
2216
+ */
2217
+ this.GooseFSSource = null;
2218
+
2219
+ /**
2220
+ * TurboFS data.
2221
+ Note: This field may return null, indicating that no valid values can be obtained.
2222
+ * @type {CFSTurbo || null}
2223
+ */
2224
+ this.CFSTurboSource = null;
2225
+
2226
+ /**
2227
+ * Information from local disks.
2228
+ Note: This field may return null, indicating that no valid values can be obtained.
2229
+ * @type {LocalDisk || null}
2230
+ */
2231
+ this.LocalDiskSource = null;
2232
+
2233
+ /**
2234
+ * CBS configuration information.
2235
+ Note: This field may return null, indicating that no valid values can be obtained.
2236
+ * @type {CBSConfig || null}
2237
+ */
2238
+ this.CBSSource = null;
2239
+
2240
+ /**
2241
+ * Host path information.
2242
+ * @type {HostPath || null}
2243
+ */
2244
+ this.HostPathSource = null;
2245
+
2246
+ /**
2247
+ *
2248
+ * @type {PublicDataSourceFS || null}
2249
+ */
2250
+ this.PublicDataSource = null;
2251
+
2252
+ }
2253
+
2254
+ /**
2255
+ * @private
2256
+ */
2257
+ deserialize(params) {
2258
+ if (!params) {
2259
+ return;
2260
+ }
2261
+ this.MappingPath = 'MappingPath' in params ? params.MappingPath : null;
2262
+ this.DataSourceUsage = 'DataSourceUsage' in params ? params.DataSourceUsage : null;
2263
+ this.DataSourceType = 'DataSourceType' in params ? params.DataSourceType : null;
2264
+
2265
+ if (params.DataSetSource) {
2266
+ let obj = new DataSetConfig();
2267
+ obj.deserialize(params.DataSetSource)
2268
+ this.DataSetSource = obj;
2269
+ }
2270
+
2271
+ if (params.COSSource) {
2272
+ let obj = new CosPathInfo();
2273
+ obj.deserialize(params.COSSource)
2274
+ this.COSSource = obj;
2275
+ }
2276
+
2277
+ if (params.CFSSource) {
2278
+ let obj = new CFSConfig();
2279
+ obj.deserialize(params.CFSSource)
2280
+ this.CFSSource = obj;
2281
+ }
2282
+
2283
+ if (params.HDFSSource) {
2284
+ let obj = new HDFSConfig();
2285
+ obj.deserialize(params.HDFSSource)
2286
+ this.HDFSSource = obj;
2287
+ }
2288
+
2289
+ if (params.GooseFSSource) {
2290
+ let obj = new GooseFS();
2291
+ obj.deserialize(params.GooseFSSource)
2292
+ this.GooseFSSource = obj;
2293
+ }
2294
+
2295
+ if (params.CFSTurboSource) {
2296
+ let obj = new CFSTurbo();
2297
+ obj.deserialize(params.CFSTurboSource)
2298
+ this.CFSTurboSource = obj;
2299
+ }
2300
+
2301
+ if (params.LocalDiskSource) {
2302
+ let obj = new LocalDisk();
2303
+ obj.deserialize(params.LocalDiskSource)
2304
+ this.LocalDiskSource = obj;
2305
+ }
2306
+
2307
+ if (params.CBSSource) {
2308
+ let obj = new CBSConfig();
2309
+ obj.deserialize(params.CBSSource)
2310
+ this.CBSSource = obj;
2311
+ }
2312
+
2313
+ if (params.HostPathSource) {
2314
+ let obj = new HostPath();
2315
+ obj.deserialize(params.HostPathSource)
2316
+ this.HostPathSource = obj;
2317
+ }
2318
+
2319
+ if (params.PublicDataSource) {
2320
+ let obj = new PublicDataSourceFS();
2321
+ obj.deserialize(params.PublicDataSource)
2322
+ this.PublicDataSource = obj;
2323
+ }
2324
+
2325
+ }
2326
+ }
2327
+
2328
+ /**
2329
+ * GPU details.
2330
+ * @class
2331
+ */
2332
+ class GpuDetail extends AbstractModel {
2333
+ constructor(){
2334
+ super();
2335
+
2336
+ /**
2337
+ * GPU card type. Enumeration values: V100, A100, T4.Note: This field may return null, indicating that no valid values can be obtained.
1687
2338
  * @type {string || null}
1688
2339
  */
1689
2340
  this.Name = null;
@@ -1709,6 +2360,96 @@ class GpuDetail extends AbstractModel {
1709
2360
  }
1710
2361
  }
1711
2362
 
2363
+ /**
2364
+ * Parameters for configuring CFSTurbo.
2365
+ * @class
2366
+ */
2367
+ class CFSTurbo extends AbstractModel {
2368
+ constructor(){
2369
+ super();
2370
+
2371
+ /**
2372
+ * CFSTurbo instance ID.
2373
+ Note: This field may return null, indicating that no valid values can be obtained.
2374
+ * @type {string || null}
2375
+ */
2376
+ this.Id = null;
2377
+
2378
+ /**
2379
+ * CFSTurbo path.
2380
+ Note: This field may return null, indicating that no valid values can be obtained.
2381
+ * @type {string || null}
2382
+ */
2383
+ this.Path = null;
2384
+
2385
+ }
2386
+
2387
+ /**
2388
+ * @private
2389
+ */
2390
+ deserialize(params) {
2391
+ if (!params) {
2392
+ return;
2393
+ }
2394
+ this.Id = 'Id' in params ? params.Id : null;
2395
+ this.Path = 'Path' in params ? params.Path : null;
2396
+
2397
+ }
2398
+ }
2399
+
2400
+ /**
2401
+ * GooseFS configuration parameters.
2402
+ * @class
2403
+ */
2404
+ class GooseFS extends AbstractModel {
2405
+ constructor(){
2406
+ super();
2407
+
2408
+ /**
2409
+ * GooseFS instance ID.
2410
+ Note: This field may return null, indicating that no valid values can be obtained.
2411
+ * @type {string || null}
2412
+ */
2413
+ this.Id = null;
2414
+
2415
+ /**
2416
+ * GooseFS type, including GooseFS and GooseFSx.
2417
+ Note: This field may return null, indicating that no valid values can be obtained.
2418
+ * @type {string || null}
2419
+ */
2420
+ this.Type = null;
2421
+
2422
+ /**
2423
+ * Path to mount the GooseFSx instance.
2424
+ Note: This field may return null, indicating that no valid values can be obtained.
2425
+ * @type {string || null}
2426
+ */
2427
+ this.Path = null;
2428
+
2429
+ /**
2430
+ * GooseFS namespace.
2431
+ Note: This field may return null, indicating that no valid values can be obtained.
2432
+ * @type {string || null}
2433
+ */
2434
+ this.NameSpace = null;
2435
+
2436
+ }
2437
+
2438
+ /**
2439
+ * @private
2440
+ */
2441
+ deserialize(params) {
2442
+ if (!params) {
2443
+ return;
2444
+ }
2445
+ this.Id = 'Id' in params ? params.Id : null;
2446
+ this.Type = 'Type' in params ? params.Type : null;
2447
+ this.Path = 'Path' in params ? params.Path : null;
2448
+ this.NameSpace = 'NameSpace' in params ? params.NameSpace : null;
2449
+
2450
+ }
2451
+ }
2452
+
1712
2453
  /**
1713
2454
  * Scheduled scaling task.
1714
2455
  * @class
@@ -1821,6 +2562,76 @@ class Filter extends AbstractModel {
1821
2562
  }
1822
2563
  }
1823
2564
 
2565
+ /**
2566
+ * Key-value pair.
2567
+ * @class
2568
+ */
2569
+ class Option extends AbstractModel {
2570
+ constructor(){
2571
+ super();
2572
+
2573
+ /**
2574
+ * Metric name.
2575
+ * @type {string || null}
2576
+ */
2577
+ this.Name = null;
2578
+
2579
+ /**
2580
+ * Metric value.
2581
+ * @type {number || null}
2582
+ */
2583
+ this.Value = null;
2584
+
2585
+ }
2586
+
2587
+ /**
2588
+ * @private
2589
+ */
2590
+ deserialize(params) {
2591
+ if (!params) {
2592
+ return;
2593
+ }
2594
+ this.Name = 'Name' in params ? params.Name : null;
2595
+ this.Value = 'Value' in params ? params.Value : null;
2596
+
2597
+ }
2598
+ }
2599
+
2600
+ /**
2601
+ * Tencent Cloud tag description.
2602
+ * @class
2603
+ */
2604
+ class Tag extends AbstractModel {
2605
+ constructor(){
2606
+ super();
2607
+
2608
+ /**
2609
+ * Tag key.Note: This field may return null, indicating that no valid values can be obtained.
2610
+ * @type {string || null}
2611
+ */
2612
+ this.TagKey = null;
2613
+
2614
+ /**
2615
+ * Tag value.Note: This field may return null, indicating that no valid values can be obtained.
2616
+ * @type {string || null}
2617
+ */
2618
+ this.TagValue = null;
2619
+
2620
+ }
2621
+
2622
+ /**
2623
+ * @private
2624
+ */
2625
+ deserialize(params) {
2626
+ if (!params) {
2627
+ return;
2628
+ }
2629
+ this.TagKey = 'TagKey' in params ? params.TagKey : null;
2630
+ this.TagValue = 'TagValue' in params ? params.TagValue : null;
2631
+
2632
+ }
2633
+ }
2634
+
1824
2635
  /**
1825
2636
  * Probe action.
1826
2637
  * @class
@@ -1979,7 +2790,8 @@ class ModelInfo extends AbstractModel {
1979
2790
  this.CosPathInfo = null;
1980
2791
 
1981
2792
  /**
1982
- * GooseFSx configurations, and is valid when ModelSource is GooseFSx.
2793
+ * GooseFSx configuration. This parameter takes effect if ModelSource is GooseFSx.
2794
+ Note: This field may return null, indicating that no valid values can be obtained.
1983
2795
  * @type {GooseFSx || null}
1984
2796
  */
1985
2797
  this.GooseFSx = null;
@@ -2062,20 +2874,49 @@ class ModelInfo extends AbstractModel {
2062
2874
  }
2063
2875
 
2064
2876
  /**
2065
- * Percentage or quantity.
2877
+ * CBS storage configuration.
2066
2878
  * @class
2067
2879
  */
2068
- class NumOrPercent extends AbstractModel {
2880
+ class CBSConfig extends AbstractModel {
2069
2881
  constructor(){
2070
2882
  super();
2071
2883
 
2072
2884
  /**
2073
- * Valid values: Num and Percent, which indicate quantity and percentage respectively. The default value is Num.
2074
- * @type {string || null}
2885
+ * Storage size.
2886
+ Note: This field may return null, indicating that no valid values can be obtained.
2887
+ * @type {number || null}
2075
2888
  */
2076
- this.Type = null;
2889
+ this.VolumeSizeInGB = null;
2077
2890
 
2078
- /**
2891
+ }
2892
+
2893
+ /**
2894
+ * @private
2895
+ */
2896
+ deserialize(params) {
2897
+ if (!params) {
2898
+ return;
2899
+ }
2900
+ this.VolumeSizeInGB = 'VolumeSizeInGB' in params ? params.VolumeSizeInGB : null;
2901
+
2902
+ }
2903
+ }
2904
+
2905
+ /**
2906
+ * Percentage or quantity.
2907
+ * @class
2908
+ */
2909
+ class NumOrPercent extends AbstractModel {
2910
+ constructor(){
2911
+ super();
2912
+
2913
+ /**
2914
+ * Valid values: Num and Percent, which indicate quantity and percentage respectively. The default value is Num.
2915
+ * @type {string || null}
2916
+ */
2917
+ this.Type = null;
2918
+
2919
+ /**
2079
2920
  * Numeric value.
2080
2921
  * @type {number || null}
2081
2922
  */
@@ -2097,24 +2938,24 @@ class NumOrPercent extends AbstractModel {
2097
2938
  }
2098
2939
 
2099
2940
  /**
2100
- * Tag filtering parameters.
2941
+ * Code repository configuration.
2101
2942
  * @class
2102
2943
  */
2103
- class TagFilter extends AbstractModel {
2944
+ class CodeRepoConfig extends AbstractModel {
2104
2945
  constructor(){
2105
2946
  super();
2106
2947
 
2107
2948
  /**
2108
- * Tag key.
2949
+ * Code repository ID.
2109
2950
  * @type {string || null}
2110
2951
  */
2111
- this.TagKey = null;
2952
+ this.Id = null;
2112
2953
 
2113
2954
  /**
2114
- * Multiple tag values.
2115
- * @type {Array.<string> || null}
2955
+ * Target address for the code repository download.
2956
+ * @type {string || null}
2116
2957
  */
2117
- this.TagValues = null;
2958
+ this.TargetPath = null;
2118
2959
 
2119
2960
  }
2120
2961
 
@@ -2125,8 +2966,50 @@ class TagFilter extends AbstractModel {
2125
2966
  if (!params) {
2126
2967
  return;
2127
2968
  }
2128
- this.TagKey = 'TagKey' in params ? params.TagKey : null;
2129
- this.TagValues = 'TagValues' in params ? params.TagValues : null;
2969
+ this.Id = 'Id' in params ? params.Id : null;
2970
+ this.TargetPath = 'TargetPath' in params ? params.TargetPath : null;
2971
+
2972
+ }
2973
+ }
2974
+
2975
+ /**
2976
+ * Information about Pod access over SSH.
2977
+ * @class
2978
+ */
2979
+ class PodSSHInfo extends AbstractModel {
2980
+ constructor(){
2981
+ super();
2982
+
2983
+ /**
2984
+ * IP address of the Pod.
2985
+ * @type {string || null}
2986
+ */
2987
+ this.Host = null;
2988
+
2989
+ /**
2990
+ * SSH port of the Pod.
2991
+ * @type {number || null}
2992
+ */
2993
+ this.Port = null;
2994
+
2995
+ /**
2996
+ * SSH access command.
2997
+ * @type {string || null}
2998
+ */
2999
+ this.LoginCommand = null;
3000
+
3001
+ }
3002
+
3003
+ /**
3004
+ * @private
3005
+ */
3006
+ deserialize(params) {
3007
+ if (!params) {
3008
+ return;
3009
+ }
3010
+ this.Host = 'Host' in params ? params.Host : null;
3011
+ this.Port = 'Port' in params ? params.Port : null;
3012
+ this.LoginCommand = 'LoginCommand' in params ? params.LoginCommand : null;
2130
3013
 
2131
3014
  }
2132
3015
  }
@@ -2748,6 +3631,12 @@ class ImageInfo extends AbstractModel {
2748
3631
  */
2749
3632
  this.SupportDataPipeline = null;
2750
3633
 
3634
+ /**
3635
+ *
3636
+ * @type {ImageSecret || null}
3637
+ */
3638
+ this.ImageSecret = null;
3639
+
2751
3640
  }
2752
3641
 
2753
3642
  /**
@@ -2765,52 +3654,553 @@ class ImageInfo extends AbstractModel {
2765
3654
  this.ImageName = 'ImageName' in params ? params.ImageName : null;
2766
3655
  this.SupportDataPipeline = 'SupportDataPipeline' in params ? params.SupportDataPipeline : null;
2767
3656
 
3657
+ if (params.ImageSecret) {
3658
+ let obj = new ImageSecret();
3659
+ obj.deserialize(params.ImageSecret)
3660
+ this.ImageSecret = obj;
3661
+ }
3662
+
3663
+ }
3664
+ }
3665
+
3666
+ /**
3667
+ * Probe structure information.
3668
+ * @class
3669
+ */
3670
+ class Probe extends AbstractModel {
3671
+ constructor(){
3672
+ super();
3673
+
3674
+ /**
3675
+ * Probe action.
3676
+ * @type {ProbeAction || null}
3677
+ */
3678
+ this.ProbeAction = null;
3679
+
3680
+ /**
3681
+ * Delay in waiting for a service startup.
3682
+ * @type {number || null}
3683
+ */
3684
+ this.InitialDelaySeconds = null;
3685
+
3686
+ /**
3687
+ * Polling check interval.
3688
+ * @type {number || null}
3689
+ */
3690
+ this.PeriodSeconds = null;
3691
+
3692
+ /**
3693
+ * Check timeout duration.
3694
+ * @type {number || null}
3695
+ */
3696
+ this.TimeoutSeconds = null;
3697
+
3698
+ /**
3699
+ * Number of acknowledged failed detections.
3700
+ * @type {number || null}
3701
+ */
3702
+ this.FailureThreshold = null;
3703
+
3704
+ /**
3705
+ * Number of acknowledged successful detections. The default values for readiness, liveness, and startup statuses are 3, 1, and 1.
3706
+ * @type {number || null}
3707
+ */
3708
+ this.SuccessThreshold = null;
3709
+
3710
+ }
3711
+
3712
+ /**
3713
+ * @private
3714
+ */
3715
+ deserialize(params) {
3716
+ if (!params) {
3717
+ return;
3718
+ }
3719
+
3720
+ if (params.ProbeAction) {
3721
+ let obj = new ProbeAction();
3722
+ obj.deserialize(params.ProbeAction)
3723
+ this.ProbeAction = obj;
3724
+ }
3725
+ this.InitialDelaySeconds = 'InitialDelaySeconds' in params ? params.InitialDelaySeconds : null;
3726
+ this.PeriodSeconds = 'PeriodSeconds' in params ? params.PeriodSeconds : null;
3727
+ this.TimeoutSeconds = 'TimeoutSeconds' in params ? params.TimeoutSeconds : null;
3728
+ this.FailureThreshold = 'FailureThreshold' in params ? params.FailureThreshold : null;
3729
+ this.SuccessThreshold = 'SuccessThreshold' in params ? params.SuccessThreshold : null;
3730
+
3731
+ }
3732
+ }
3733
+
3734
+ /**
3735
+ * AuthToken throttling information.
3736
+ * @class
3737
+ */
3738
+ class AuthTokenLimit extends AbstractModel {
3739
+ constructor(){
3740
+ super();
3741
+
3742
+ /**
3743
+ * Frequency limit policy. Valid values: PerMinute (frequency limit per minute) and PerDay (daily frequency limit).
3744
+ * @type {string || null}
3745
+ */
3746
+ this.Strategy = null;
3747
+
3748
+ /**
3749
+ * Upper limit.
3750
+ * @type {number || null}
3751
+ */
3752
+ this.Max = null;
3753
+
3754
+ }
3755
+
3756
+ /**
3757
+ * @private
3758
+ */
3759
+ deserialize(params) {
3760
+ if (!params) {
3761
+ return;
3762
+ }
3763
+ this.Strategy = 'Strategy' in params ? params.Strategy : null;
3764
+ this.Max = 'Max' in params ? params.Max : null;
3765
+
3766
+ }
3767
+ }
3768
+
3769
+ /**
3770
+ * CreateTrainingTask response structure.
3771
+ * @class
3772
+ */
3773
+ class CreateTrainingTaskResponse extends AbstractModel {
3774
+ constructor(){
3775
+ super();
3776
+
3777
+ /**
3778
+ * Training task ID.
3779
+ * @type {string || null}
3780
+ */
3781
+ this.Id = null;
3782
+
3783
+ /**
3784
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3785
+ * @type {string || null}
3786
+ */
3787
+ this.RequestId = null;
3788
+
3789
+ }
3790
+
3791
+ /**
3792
+ * @private
3793
+ */
3794
+ deserialize(params) {
3795
+ if (!params) {
3796
+ return;
3797
+ }
3798
+ this.Id = 'Id' in params ? params.Id : null;
3799
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3800
+
3801
+ }
3802
+ }
3803
+
3804
+ /**
3805
+ *
3806
+ * @class
3807
+ */
3808
+ class ImageSecret extends AbstractModel {
3809
+ constructor(){
3810
+ super();
3811
+
3812
+ /**
3813
+ *
3814
+ * @type {string || null}
3815
+ */
3816
+ this.KeyId = null;
3817
+
3818
+ /**
3819
+ *
3820
+ * @type {string || null}
3821
+ */
3822
+ this.Username = null;
3823
+
3824
+ /**
3825
+ *
3826
+ * @type {string || null}
3827
+ */
3828
+ this.Password = null;
3829
+
3830
+ /**
3831
+ *
3832
+ * @type {string || null}
3833
+ */
3834
+ this.SecretId = null;
3835
+
3836
+ }
3837
+
3838
+ /**
3839
+ * @private
3840
+ */
3841
+ deserialize(params) {
3842
+ if (!params) {
3843
+ return;
3844
+ }
3845
+ this.KeyId = 'KeyId' in params ? params.KeyId : null;
3846
+ this.Username = 'Username' in params ? params.Username : null;
3847
+ this.Password = 'Password' in params ? params.Password : null;
3848
+ this.SecretId = 'SecretId' in params ? params.SecretId : null;
3849
+
3850
+ }
3851
+ }
3852
+
3853
+ /**
3854
+ * Host path mounting configuration.
3855
+ * @class
3856
+ */
3857
+ class HostPath extends AbstractModel {
3858
+ constructor(){
3859
+ super();
3860
+
3861
+ /**
3862
+ * Host path to be mounted.
3863
+ * @type {string || null}
3864
+ */
3865
+ this.Path = null;
3866
+
3867
+ }
3868
+
3869
+ /**
3870
+ * @private
3871
+ */
3872
+ deserialize(params) {
3873
+ if (!params) {
3874
+ return;
3875
+ }
3876
+ this.Path = 'Path' in params ? params.Path : null;
3877
+
3878
+ }
3879
+ }
3880
+
3881
+ /**
3882
+ * Tag filtering parameters.
3883
+ * @class
3884
+ */
3885
+ class TagFilter extends AbstractModel {
3886
+ constructor(){
3887
+ super();
3888
+
3889
+ /**
3890
+ * Tag key.
3891
+ * @type {string || null}
3892
+ */
3893
+ this.TagKey = null;
3894
+
3895
+ /**
3896
+ * Multiple tag values.
3897
+ * @type {Array.<string> || null}
3898
+ */
3899
+ this.TagValues = null;
3900
+
3901
+ }
3902
+
3903
+ /**
3904
+ * @private
3905
+ */
3906
+ deserialize(params) {
3907
+ if (!params) {
3908
+ return;
3909
+ }
3910
+ this.TagKey = 'TagKey' in params ? params.TagKey : null;
3911
+ this.TagValues = 'TagValues' in params ? params.TagValues : null;
3912
+
2768
3913
  }
2769
3914
  }
2770
3915
 
2771
- /**
2772
- * Probe structure information.
2773
- * @class
2774
- */
2775
- class Probe extends AbstractModel {
2776
- constructor(){
2777
- super();
3916
+ /**
3917
+ * Workload status.
3918
+ * @class
3919
+ */
3920
+ class WorkloadStatus extends AbstractModel {
3921
+ constructor(){
3922
+ super();
3923
+
3924
+ /**
3925
+ * Number of current instances.
3926
+ * @type {number || null}
3927
+ */
3928
+ this.Replicas = null;
3929
+
3930
+ /**
3931
+ * Number of updated instances.
3932
+ * @type {number || null}
3933
+ */
3934
+ this.UpdatedReplicas = null;
3935
+
3936
+ /**
3937
+ * Number of ready instances.
3938
+ * @type {number || null}
3939
+ */
3940
+ this.ReadyReplicas = null;
3941
+
3942
+ /**
3943
+ * Number of available instances.
3944
+ * @type {number || null}
3945
+ */
3946
+ this.AvailableReplicas = null;
3947
+
3948
+ /**
3949
+ * Number of unavailable instances.
3950
+ * @type {number || null}
3951
+ */
3952
+ this.UnavailableReplicas = null;
3953
+
3954
+ /**
3955
+ * Normal: running.Abnormal: service abnormalities, such as container startup failure.Waiting: service waiting, such as container image pulling.Stopped: stopped.Pending: starting.Stopping: stopping.
3956
+ * @type {string || null}
3957
+ */
3958
+ this.Status = null;
3959
+
3960
+ /**
3961
+ * Workload status information.
3962
+ * @type {Array.<StatefulSetCondition> || null}
3963
+ */
3964
+ this.StatefulSetCondition = null;
3965
+
3966
+ /**
3967
+ * Status information of workload history.
3968
+ * @type {Array.<StatefulSetCondition> || null}
3969
+ */
3970
+ this.Conditions = null;
3971
+
3972
+ /**
3973
+ * Display the reason when the status is abnormal.Note: This field may return null, indicating that no valid values can be obtained.
3974
+ * @type {string || null}
3975
+ */
3976
+ this.Reason = null;
3977
+
3978
+ }
3979
+
3980
+ /**
3981
+ * @private
3982
+ */
3983
+ deserialize(params) {
3984
+ if (!params) {
3985
+ return;
3986
+ }
3987
+ this.Replicas = 'Replicas' in params ? params.Replicas : null;
3988
+ this.UpdatedReplicas = 'UpdatedReplicas' in params ? params.UpdatedReplicas : null;
3989
+ this.ReadyReplicas = 'ReadyReplicas' in params ? params.ReadyReplicas : null;
3990
+ this.AvailableReplicas = 'AvailableReplicas' in params ? params.AvailableReplicas : null;
3991
+ this.UnavailableReplicas = 'UnavailableReplicas' in params ? params.UnavailableReplicas : null;
3992
+ this.Status = 'Status' in params ? params.Status : null;
3993
+
3994
+ if (params.StatefulSetCondition) {
3995
+ this.StatefulSetCondition = new Array();
3996
+ for (let z in params.StatefulSetCondition) {
3997
+ let obj = new StatefulSetCondition();
3998
+ obj.deserialize(params.StatefulSetCondition[z]);
3999
+ this.StatefulSetCondition.push(obj);
4000
+ }
4001
+ }
4002
+
4003
+ if (params.Conditions) {
4004
+ this.Conditions = new Array();
4005
+ for (let z in params.Conditions) {
4006
+ let obj = new StatefulSetCondition();
4007
+ obj.deserialize(params.Conditions[z]);
4008
+ this.Conditions.push(obj);
4009
+ }
4010
+ }
4011
+ this.Reason = 'Reason' in params ? params.Reason : null;
4012
+
4013
+ }
4014
+ }
4015
+
4016
+ /**
4017
+ * CreateTrainingTask request structure.
4018
+ * @class
4019
+ */
4020
+ class CreateTrainingTaskRequest extends AbstractModel {
4021
+ constructor(){
4022
+ super();
4023
+
4024
+ /**
4025
+ * Training task name. The name cannot exceed 60 characters in length, and can contain only Chinese characters, letters, digits, underscores (_), and hyphens (-). It must start with a Chinese character, letter, or digit.
4026
+ * @type {string || null}
4027
+ */
4028
+ this.Name = null;
4029
+
4030
+ /**
4031
+ * Billing mode. For example, PREPAID indicates yearly/monthly subscription (resource group).
4032
+ POSTPAID_BY_HOUR indicates pay-as-you-go mode.
4033
+ * @type {string || null}
4034
+ */
4035
+ this.ChargeType = null;
4036
+
4037
+ /**
4038
+ * Resource configuration. Specify the CVM instance specification ID and number of nodes. The API for querying the CVM instance specification ID is DescribeBillingSpecsPrice. For example, [{"Role":"WORKER", "InstanceType": "TI.S.MEDIUM.POST", "InstanceNum": 1}].
4039
+ * @type {Array.<ResourceConfigInfo> || null}
4040
+ */
4041
+ this.ResourceConfigInfos = null;
4042
+
4043
+ /**
4044
+ * TI Workspace ID. Used solely for the "Workspace" allowlist feature. To use this feature, please contact a TI administrator to enable allowlisting.
4045
+ * @type {string || null}
4046
+ */
4047
+ this.TiProjectId = null;
4048
+
4049
+ /**
4050
+ * Training framework name, which can be queried via the DescribeTrainingFrameworks API. For example, SPARK, PYSPARK, TENSORFLOW, and PYTORCH.
4051
+ * @type {string || null}
4052
+ */
4053
+ this.FrameworkName = null;
4054
+
4055
+ /**
4056
+ * Training framework version, which can be queried via the DescribeTrainingFrameworks API. For example, 1.15 and 1.9.
4057
+ * @type {string || null}
4058
+ */
4059
+ this.FrameworkVersion = null;
4060
+
4061
+ /**
4062
+ * Training framework environment, which can be queried via the DescribeTrainingFrameworks API. For example, tf1.15-py3.7-cpu and torch1.9-py3.8-cuda11.1-gpu.
4063
+ * @type {string || null}
4064
+ */
4065
+ this.FrameworkEnvironment = null;
4066
+
4067
+ /**
4068
+ * ID of the prepaid dedicated resource group, which can be queried via the DescribeBillingResourceGroups API.
4069
+ * @type {string || null}
4070
+ */
4071
+ this.ResourceGroupId = null;
4072
+
4073
+ /**
4074
+ * Tag configuration.
4075
+ * @type {Array.<Tag> || null}
4076
+ */
4077
+ this.Tags = null;
4078
+
4079
+ /**
4080
+ * Custom image information.
4081
+ * @type {ImageInfo || null}
4082
+ */
4083
+ this.ImageInfo = null;
4084
+
4085
+ /**
4086
+ * COS code package path.
4087
+ * @type {CosPathInfo || null}
4088
+ */
4089
+ this.CodePackagePath = null;
4090
+
4091
+ /**
4092
+ * Task startup command. Specify this parameter based on the task training mode. If the configuration fails due to special characters, use the EncodedStartCmdInfo parameter instead.
4093
+ * @type {StartCmdInfo || null}
4094
+ */
4095
+ this.StartCmdInfo = null;
4096
+
4097
+ /**
4098
+ * Training mode, which can be queried via the DescribeTrainingFrameworks API. For example, PS_WORKER, DDP, MPI, and HOROVOD.
4099
+ * @type {string || null}
4100
+ */
4101
+ this.TrainingMode = null;
4102
+
4103
+ /**
4104
+ * Data configurations. This parameter depends on the DataSource field. The maximum number of configurations is 10.
4105
+ * @type {Array.<DataConfig> || null}
4106
+ */
4107
+ this.DataConfigs = null;
4108
+
4109
+ /**
4110
+ * VPC Id
4111
+ * @type {string || null}
4112
+ */
4113
+ this.VpcId = null;
4114
+
4115
+ /**
4116
+ * Subnet ID.
4117
+ * @type {string || null}
4118
+ */
4119
+ this.SubnetId = null;
4120
+
4121
+ /**
4122
+ * COS training output path.
4123
+ * @type {CosPathInfo || null}
4124
+ */
4125
+ this.Output = null;
4126
+
4127
+ /**
4128
+ * CLS logging configuration.
4129
+ * @type {LogConfig || null}
4130
+ */
4131
+ this.LogConfig = null;
4132
+
4133
+ /**
4134
+ * Tuning parameters. The value of this parameter cannot exceed 2048 characters in length.
4135
+ * @type {string || null}
4136
+ */
4137
+ this.TuningParameters = null;
4138
+
4139
+ /**
4140
+ * Indicates whether to report logs.
4141
+ * @type {boolean || null}
4142
+ */
4143
+ this.LogEnable = null;
4144
+
4145
+ /**
4146
+ * Remarks. The value of this parameter cannot exceed 1024 characters.
4147
+ * @type {string || null}
4148
+ */
4149
+ this.Remark = null;
4150
+
4151
+ /**
4152
+ * Data source. For example, DATASET, COS, CFS, CFSTurbo, HDFS, and GooseFSx.
4153
+ * @type {string || null}
4154
+ */
4155
+ this.DataSource = null;
4156
+
4157
+ /**
4158
+ * Callback URL. This parameter is used for the asynchronous callback to create, start, or stop training tasks. For the callback format and content, see [[TI-ONE API Callback Description]](https://www.tencentcloud.com/document/product/851/84292?from_cn_redirect=1).
4159
+ * @type {string || null}
4160
+ */
4161
+ this.CallbackUrl = null;
4162
+
4163
+ /**
4164
+ * Encoded task startup command. If StartCmdInfo is also configured, only this parameter takes effect.
4165
+ * @type {EncodedStartCmdInfo || null}
4166
+ */
4167
+ this.EncodedStartCmdInfo = null;
2778
4168
 
2779
4169
  /**
2780
- * Probe action.
2781
- * @type {ProbeAction || null}
4170
+ * Code repository configuration.
4171
+ * @type {Array.<CodeRepoConfig> || null}
2782
4172
  */
2783
- this.ProbeAction = null;
4173
+ this.CodeRepos = null;
2784
4174
 
2785
4175
  /**
2786
- * Delay in waiting for a service startup.
2787
- * @type {number || null}
4176
+ * Network exposure configuration.
4177
+ * @type {ExposeNetworkConfig || null}
2788
4178
  */
2789
- this.InitialDelaySeconds = null;
4179
+ this.ExposeNetworkConfig = null;
2790
4180
 
2791
4181
  /**
2792
- * Polling check interval.
2793
- * @type {number || null}
4182
+ * Environment Variables.
4183
+ * @type {Array.<EnvVar> || null}
2794
4184
  */
2795
- this.PeriodSeconds = null;
4185
+ this.Envs = null;
2796
4186
 
2797
4187
  /**
2798
- * Check timeout duration.
2799
- * @type {number || null}
4188
+ * Train tool configuration.
4189
+ * @type {TrainToolConfig || null}
2800
4190
  */
2801
- this.TimeoutSeconds = null;
4191
+ this.TrainToolConfig = null;
2802
4192
 
2803
4193
  /**
2804
- * Number of acknowledged failed detections.
2805
- * @type {number || null}
4194
+ * Training Diagnostic Tool Configuration.
4195
+ * @type {ResourceSupplyAttribute || null}
2806
4196
  */
2807
- this.FailureThreshold = null;
4197
+ this.ResourceSupplyAttribute = null;
2808
4198
 
2809
4199
  /**
2810
- * Number of acknowledged successful detections. The default values for readiness, liveness, and startup statuses are 3, 1, and 1.
2811
- * @type {number || null}
4200
+ * Queue ID.
4201
+ * @type {Array.<string> || null}
2812
4202
  */
2813
- this.SuccessThreshold = null;
4203
+ this.Queues = null;
2814
4204
 
2815
4205
  }
2816
4206
 
@@ -2821,87 +4211,121 @@ class Probe extends AbstractModel {
2821
4211
  if (!params) {
2822
4212
  return;
2823
4213
  }
4214
+ this.Name = 'Name' in params ? params.Name : null;
4215
+ this.ChargeType = 'ChargeType' in params ? params.ChargeType : null;
2824
4216
 
2825
- if (params.ProbeAction) {
2826
- let obj = new ProbeAction();
2827
- obj.deserialize(params.ProbeAction)
2828
- this.ProbeAction = obj;
4217
+ if (params.ResourceConfigInfos) {
4218
+ this.ResourceConfigInfos = new Array();
4219
+ for (let z in params.ResourceConfigInfos) {
4220
+ let obj = new ResourceConfigInfo();
4221
+ obj.deserialize(params.ResourceConfigInfos[z]);
4222
+ this.ResourceConfigInfos.push(obj);
4223
+ }
2829
4224
  }
2830
- this.InitialDelaySeconds = 'InitialDelaySeconds' in params ? params.InitialDelaySeconds : null;
2831
- this.PeriodSeconds = 'PeriodSeconds' in params ? params.PeriodSeconds : null;
2832
- this.TimeoutSeconds = 'TimeoutSeconds' in params ? params.TimeoutSeconds : null;
2833
- this.FailureThreshold = 'FailureThreshold' in params ? params.FailureThreshold : null;
2834
- this.SuccessThreshold = 'SuccessThreshold' in params ? params.SuccessThreshold : null;
2835
-
2836
- }
2837
- }
4225
+ this.TiProjectId = 'TiProjectId' in params ? params.TiProjectId : null;
4226
+ this.FrameworkName = 'FrameworkName' in params ? params.FrameworkName : null;
4227
+ this.FrameworkVersion = 'FrameworkVersion' in params ? params.FrameworkVersion : null;
4228
+ this.FrameworkEnvironment = 'FrameworkEnvironment' in params ? params.FrameworkEnvironment : null;
4229
+ this.ResourceGroupId = 'ResourceGroupId' in params ? params.ResourceGroupId : null;
2838
4230
 
2839
- /**
2840
- * AuthToken throttling information.
2841
- * @class
2842
- */
2843
- class AuthTokenLimit extends AbstractModel {
2844
- constructor(){
2845
- super();
4231
+ if (params.Tags) {
4232
+ this.Tags = new Array();
4233
+ for (let z in params.Tags) {
4234
+ let obj = new Tag();
4235
+ obj.deserialize(params.Tags[z]);
4236
+ this.Tags.push(obj);
4237
+ }
4238
+ }
2846
4239
 
2847
- /**
2848
- * Frequency limit policy. Valid values: PerMinute (frequency limit per minute) and PerDay (daily frequency limit).
2849
- * @type {string || null}
2850
- */
2851
- this.Strategy = null;
4240
+ if (params.ImageInfo) {
4241
+ let obj = new ImageInfo();
4242
+ obj.deserialize(params.ImageInfo)
4243
+ this.ImageInfo = obj;
4244
+ }
2852
4245
 
2853
- /**
2854
- * Upper limit.
2855
- * @type {number || null}
2856
- */
2857
- this.Max = null;
4246
+ if (params.CodePackagePath) {
4247
+ let obj = new CosPathInfo();
4248
+ obj.deserialize(params.CodePackagePath)
4249
+ this.CodePackagePath = obj;
4250
+ }
2858
4251
 
2859
- }
4252
+ if (params.StartCmdInfo) {
4253
+ let obj = new StartCmdInfo();
4254
+ obj.deserialize(params.StartCmdInfo)
4255
+ this.StartCmdInfo = obj;
4256
+ }
4257
+ this.TrainingMode = 'TrainingMode' in params ? params.TrainingMode : null;
4258
+
4259
+ if (params.DataConfigs) {
4260
+ this.DataConfigs = new Array();
4261
+ for (let z in params.DataConfigs) {
4262
+ let obj = new DataConfig();
4263
+ obj.deserialize(params.DataConfigs[z]);
4264
+ this.DataConfigs.push(obj);
4265
+ }
4266
+ }
4267
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
4268
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
2860
4269
 
2861
- /**
2862
- * @private
2863
- */
2864
- deserialize(params) {
2865
- if (!params) {
2866
- return;
4270
+ if (params.Output) {
4271
+ let obj = new CosPathInfo();
4272
+ obj.deserialize(params.Output)
4273
+ this.Output = obj;
2867
4274
  }
2868
- this.Strategy = 'Strategy' in params ? params.Strategy : null;
2869
- this.Max = 'Max' in params ? params.Max : null;
2870
4275
 
2871
- }
2872
- }
4276
+ if (params.LogConfig) {
4277
+ let obj = new LogConfig();
4278
+ obj.deserialize(params.LogConfig)
4279
+ this.LogConfig = obj;
4280
+ }
4281
+ this.TuningParameters = 'TuningParameters' in params ? params.TuningParameters : null;
4282
+ this.LogEnable = 'LogEnable' in params ? params.LogEnable : null;
4283
+ this.Remark = 'Remark' in params ? params.Remark : null;
4284
+ this.DataSource = 'DataSource' in params ? params.DataSource : null;
4285
+ this.CallbackUrl = 'CallbackUrl' in params ? params.CallbackUrl : null;
4286
+
4287
+ if (params.EncodedStartCmdInfo) {
4288
+ let obj = new EncodedStartCmdInfo();
4289
+ obj.deserialize(params.EncodedStartCmdInfo)
4290
+ this.EncodedStartCmdInfo = obj;
4291
+ }
2873
4292
 
2874
- /**
2875
- * Tencent Cloud tag description.
2876
- * @class
2877
- */
2878
- class Tag extends AbstractModel {
2879
- constructor(){
2880
- super();
4293
+ if (params.CodeRepos) {
4294
+ this.CodeRepos = new Array();
4295
+ for (let z in params.CodeRepos) {
4296
+ let obj = new CodeRepoConfig();
4297
+ obj.deserialize(params.CodeRepos[z]);
4298
+ this.CodeRepos.push(obj);
4299
+ }
4300
+ }
2881
4301
 
2882
- /**
2883
- * Tag key.Note: This field may return null, indicating that no valid values can be obtained.
2884
- * @type {string || null}
2885
- */
2886
- this.TagKey = null;
4302
+ if (params.ExposeNetworkConfig) {
4303
+ let obj = new ExposeNetworkConfig();
4304
+ obj.deserialize(params.ExposeNetworkConfig)
4305
+ this.ExposeNetworkConfig = obj;
4306
+ }
2887
4307
 
2888
- /**
2889
- * Tag value.Note: This field may return null, indicating that no valid values can be obtained.
2890
- * @type {string || null}
2891
- */
2892
- this.TagValue = null;
4308
+ if (params.Envs) {
4309
+ this.Envs = new Array();
4310
+ for (let z in params.Envs) {
4311
+ let obj = new EnvVar();
4312
+ obj.deserialize(params.Envs[z]);
4313
+ this.Envs.push(obj);
4314
+ }
4315
+ }
2893
4316
 
2894
- }
4317
+ if (params.TrainToolConfig) {
4318
+ let obj = new TrainToolConfig();
4319
+ obj.deserialize(params.TrainToolConfig)
4320
+ this.TrainToolConfig = obj;
4321
+ }
2895
4322
 
2896
- /**
2897
- * @private
2898
- */
2899
- deserialize(params) {
2900
- if (!params) {
2901
- return;
4323
+ if (params.ResourceSupplyAttribute) {
4324
+ let obj = new ResourceSupplyAttribute();
4325
+ obj.deserialize(params.ResourceSupplyAttribute)
4326
+ this.ResourceSupplyAttribute = obj;
2902
4327
  }
2903
- this.TagKey = 'TagKey' in params ? params.TagKey : null;
2904
- this.TagValue = 'TagValue' in params ? params.TagValue : null;
4328
+ this.Queues = 'Queues' in params ? params.Queues : null;
2905
4329
 
2906
4330
  }
2907
4331
  }
@@ -3005,24 +4429,30 @@ class StatefulSetCondition extends AbstractModel {
3005
4429
  }
3006
4430
 
3007
4431
  /**
3008
- * Log configurations.
4432
+ * Startup command information.
3009
4433
  * @class
3010
4434
  */
3011
- class LogConfig extends AbstractModel {
4435
+ class StartCmdInfo extends AbstractModel {
3012
4436
  constructor(){
3013
4437
  super();
3014
4438
 
3015
4439
  /**
3016
- * Logs should be shipped to a Cloud Log Service (CLS) log set.Note: This field may return null, indicating that no valid values can be obtained.
4440
+ * Startup command.
3017
4441
  * @type {string || null}
3018
4442
  */
3019
- this.LogsetId = null;
4443
+ this.StartCmd = null;
3020
4444
 
3021
4445
  /**
3022
- * Logs should be shipped to a CLS topic.Note: This field may return null, indicating that no valid values can be obtained.
4446
+ * Startup command for ps nodes.
3023
4447
  * @type {string || null}
3024
4448
  */
3025
- this.TopicId = null;
4449
+ this.PsStartCmd = null;
4450
+
4451
+ /**
4452
+ * Startup command for Worker nodes.
4453
+ * @type {string || null}
4454
+ */
4455
+ this.WorkerStartCmd = null;
3026
4456
 
3027
4457
  }
3028
4458
 
@@ -3033,73 +4463,67 @@ class LogConfig extends AbstractModel {
3033
4463
  if (!params) {
3034
4464
  return;
3035
4465
  }
3036
- this.LogsetId = 'LogsetId' in params ? params.LogsetId : null;
3037
- this.TopicId = 'TopicId' in params ? params.TopicId : null;
4466
+ this.StartCmd = 'StartCmd' in params ? params.StartCmd : null;
4467
+ this.PsStartCmd = 'PsStartCmd' in params ? params.PsStartCmd : null;
4468
+ this.WorkerStartCmd = 'WorkerStartCmd' in params ? params.WorkerStartCmd : null;
3038
4469
 
3039
4470
  }
3040
4471
  }
3041
4472
 
3042
4473
  /**
3043
- * Workload status.
4474
+ * Log configurations.
3044
4475
  * @class
3045
4476
  */
3046
- class WorkloadStatus extends AbstractModel {
4477
+ class LogConfig extends AbstractModel {
3047
4478
  constructor(){
3048
4479
  super();
3049
4480
 
3050
4481
  /**
3051
- * Number of current instances.
3052
- * @type {number || null}
3053
- */
3054
- this.Replicas = null;
3055
-
3056
- /**
3057
- * Number of updated instances.
3058
- * @type {number || null}
4482
+ * Logs should be shipped to a Cloud Log Service (CLS) log set.Note: This field may return null, indicating that no valid values can be obtained.
4483
+ * @type {string || null}
3059
4484
  */
3060
- this.UpdatedReplicas = null;
4485
+ this.LogsetId = null;
3061
4486
 
3062
4487
  /**
3063
- * Number of ready instances.
3064
- * @type {number || null}
4488
+ * Logs should be shipped to a CLS topic.Note: This field may return null, indicating that no valid values can be obtained.
4489
+ * @type {string || null}
3065
4490
  */
3066
- this.ReadyReplicas = null;
4491
+ this.TopicId = null;
3067
4492
 
3068
- /**
3069
- * Number of available instances.
3070
- * @type {number || null}
3071
- */
3072
- this.AvailableReplicas = null;
4493
+ }
3073
4494
 
3074
- /**
3075
- * Number of unavailable instances.
3076
- * @type {number || null}
3077
- */
3078
- this.UnavailableReplicas = null;
4495
+ /**
4496
+ * @private
4497
+ */
4498
+ deserialize(params) {
4499
+ if (!params) {
4500
+ return;
4501
+ }
4502
+ this.LogsetId = 'LogsetId' in params ? params.LogsetId : null;
4503
+ this.TopicId = 'TopicId' in params ? params.TopicId : null;
3079
4504
 
3080
- /**
3081
- * Normal: running.Abnormal: service abnormalities, such as container startup failure.Waiting: service waiting, such as container image pulling.Stopped: stopped.Pending: starting.Stopping: stopping.
3082
- * @type {string || null}
3083
- */
3084
- this.Status = null;
4505
+ }
4506
+ }
3085
4507
 
3086
- /**
3087
- * Workload status information.
3088
- * @type {Array.<StatefulSetCondition> || null}
3089
- */
3090
- this.StatefulSetCondition = null;
4508
+ /**
4509
+ * HDFS parameter configuration.
4510
+ * @class
4511
+ */
4512
+ class HDFSConfig extends AbstractModel {
4513
+ constructor(){
4514
+ super();
3091
4515
 
3092
4516
  /**
3093
- * Status information of workload history.
3094
- * @type {Array.<StatefulSetCondition> || null}
4517
+ * Cluster instance ID, such as emr-xxxxxxxx.
4518
+ * @type {string || null}
3095
4519
  */
3096
- this.Conditions = null;
4520
+ this.Id = null;
3097
4521
 
3098
4522
  /**
3099
- * Display the reason when the status is abnormal.Note: This field may return null, indicating that no valid values can be obtained.
4523
+ * Path.
3100
4524
  * @type {string || null}
3101
4525
  */
3102
- this.Reason = null;
4526
+ this.Path = null;
3103
4527
 
3104
4528
  }
3105
4529
 
@@ -3110,31 +4534,8 @@ class WorkloadStatus extends AbstractModel {
3110
4534
  if (!params) {
3111
4535
  return;
3112
4536
  }
3113
- this.Replicas = 'Replicas' in params ? params.Replicas : null;
3114
- this.UpdatedReplicas = 'UpdatedReplicas' in params ? params.UpdatedReplicas : null;
3115
- this.ReadyReplicas = 'ReadyReplicas' in params ? params.ReadyReplicas : null;
3116
- this.AvailableReplicas = 'AvailableReplicas' in params ? params.AvailableReplicas : null;
3117
- this.UnavailableReplicas = 'UnavailableReplicas' in params ? params.UnavailableReplicas : null;
3118
- this.Status = 'Status' in params ? params.Status : null;
3119
-
3120
- if (params.StatefulSetCondition) {
3121
- this.StatefulSetCondition = new Array();
3122
- for (let z in params.StatefulSetCondition) {
3123
- let obj = new StatefulSetCondition();
3124
- obj.deserialize(params.StatefulSetCondition[z]);
3125
- this.StatefulSetCondition.push(obj);
3126
- }
3127
- }
3128
-
3129
- if (params.Conditions) {
3130
- this.Conditions = new Array();
3131
- for (let z in params.Conditions) {
3132
- let obj = new StatefulSetCondition();
3133
- obj.deserialize(params.Conditions[z]);
3134
- this.Conditions.push(obj);
3135
- }
3136
- }
3137
- this.Reason = 'Reason' in params ? params.Reason : null;
4537
+ this.Id = 'Id' in params ? params.Id : null;
4538
+ this.Path = 'Path' in params ? params.Path : null;
3138
4539
 
3139
4540
  }
3140
4541
  }
@@ -3148,30 +4549,46 @@ module.exports = {
3148
4549
  ResourceGroupInfo: ResourceGroupInfo,
3149
4550
  ExecAction: ExecAction,
3150
4551
  HorizontalPodAutoscaler: HorizontalPodAutoscaler,
4552
+ ResourceSupplyAttribute: ResourceSupplyAttribute,
4553
+ AuthTokenBase: AuthTokenBase,
4554
+ ResourceConfigInfo: ResourceConfigInfo,
3151
4555
  PublicDataSourceFS: PublicDataSourceFS,
4556
+ ExposePortConfig: ExposePortConfig,
3152
4557
  AuthToken: AuthToken,
4558
+ TrainToolConfig: TrainToolConfig,
3153
4559
  HealthProbe: HealthProbe,
3154
- Option: Option,
4560
+ EncodedStartCmdInfo: EncodedStartCmdInfo,
3155
4561
  CrossTenantENIInfo: CrossTenantENIInfo,
3156
- AuthTokenBase: AuthTokenBase,
4562
+ SSHConfig: SSHConfig,
4563
+ ExposeNetworkConfig: ExposeNetworkConfig,
4564
+ SchedulingPolicy: SchedulingPolicy,
3157
4565
  TCPSocketAction: TCPSocketAction,
3158
- ResourceInfo: ResourceInfo,
4566
+ LocalDisk: LocalDisk,
3159
4567
  GooseFSx: GooseFSx,
4568
+ ResourceInfo: ResourceInfo,
3160
4569
  VolumeMount: VolumeMount,
4570
+ DataSetConfig: DataSetConfig,
3161
4571
  ScheduledAction: ScheduledAction,
3162
4572
  DescribeModelServiceGroupsResponse: DescribeModelServiceGroupsResponse,
4573
+ RDMAConfig: RDMAConfig,
3163
4574
  InferCodeInfo: InferCodeInfo,
3164
4575
  CosPathInfo: CosPathInfo,
3165
4576
  ServiceInfo: ServiceInfo,
3166
- SchedulingPolicy: SchedulingPolicy,
4577
+ DataConfig: DataConfig,
3167
4578
  GpuDetail: GpuDetail,
4579
+ CFSTurbo: CFSTurbo,
4580
+ GooseFS: GooseFS,
3168
4581
  CronScaleJob: CronScaleJob,
3169
4582
  Filter: Filter,
4583
+ Option: Option,
4584
+ Tag: Tag,
3170
4585
  ProbeAction: ProbeAction,
3171
4586
  CFSConfig: CFSConfig,
3172
4587
  ModelInfo: ModelInfo,
4588
+ CBSConfig: CBSConfig,
3173
4589
  NumOrPercent: NumOrPercent,
3174
- TagFilter: TagFilter,
4590
+ CodeRepoConfig: CodeRepoConfig,
4591
+ PodSSHInfo: PodSSHInfo,
3175
4592
  Pod: Pod,
3176
4593
  DescribeModelServiceGroupsRequest: DescribeModelServiceGroupsRequest,
3177
4594
  ServiceGroup: ServiceGroup,
@@ -3180,10 +4597,16 @@ module.exports = {
3180
4597
  ImageInfo: ImageInfo,
3181
4598
  Probe: Probe,
3182
4599
  AuthTokenLimit: AuthTokenLimit,
3183
- Tag: Tag,
4600
+ CreateTrainingTaskResponse: CreateTrainingTaskResponse,
4601
+ ImageSecret: ImageSecret,
4602
+ HostPath: HostPath,
4603
+ TagFilter: TagFilter,
4604
+ WorkloadStatus: WorkloadStatus,
4605
+ CreateTrainingTaskRequest: CreateTrainingTaskRequest,
3184
4606
  EnvVar: EnvVar,
3185
4607
  StatefulSetCondition: StatefulSetCondition,
4608
+ StartCmdInfo: StartCmdInfo,
3186
4609
  LogConfig: LogConfig,
3187
- WorkloadStatus: WorkloadStatus,
4610
+ HDFSConfig: HDFSConfig,
3188
4611
 
3189
4612
  }