tencentcloud-sdk-nodejs-oceanus 4.0.623 → 4.0.625

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.
@@ -292,6 +292,34 @@ export interface CreateFolderRequest {
292
292
  */
293
293
  WorkSpaceId?: string;
294
294
  }
295
+ /**
296
+ * TriggerJobSavepoint返回参数结构体
297
+ */
298
+ export interface TriggerJobSavepointResponse {
299
+ /**
300
+ * 是否成功
301
+ */
302
+ SavepointTrigger: boolean;
303
+ /**
304
+ * 错误消息
305
+ 注意:此字段可能返回 null,表示取不到有效值。
306
+ */
307
+ ErrorMsg: string;
308
+ /**
309
+ * 快照路径
310
+ 注意:此字段可能返回 null,表示取不到有效值。
311
+ */
312
+ FinalSavepointPath: string;
313
+ /**
314
+ * 快照 ID
315
+ 注意:此字段可能返回 null,表示取不到有效值。
316
+ */
317
+ SavepointId: string;
318
+ /**
319
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
320
+ */
321
+ RequestId?: string;
322
+ }
295
323
  /**
296
324
  * ModifyJob返回参数结构体
297
325
  */
@@ -412,6 +440,23 @@ export interface CreateJobConfigRequest {
412
440
  */
413
441
  AutoRecover?: number;
414
442
  }
443
+ /**
444
+ * TriggerJobSavepoint请求参数结构体
445
+ */
446
+ export interface TriggerJobSavepointRequest {
447
+ /**
448
+ * 作业 SerialId
449
+ */
450
+ JobId: string;
451
+ /**
452
+ * 描述
453
+ */
454
+ Description?: string;
455
+ /**
456
+ * 工作空间 SerialId
457
+ */
458
+ WorkSpaceId?: string;
459
+ }
415
460
  /**
416
461
  * CreateResourceConfig请求参数结构体
417
462
  */
@@ -777,32 +822,60 @@ export interface ResourceConfigItem {
777
822
  RefJobStatusCountSet?: Array<RefJobStatusCountItem>;
778
823
  }
779
824
  /**
780
- * TriggerJobSavepoint返回参数结构体
825
+ * 角色授权信息
781
826
  */
782
- export interface TriggerJobSavepointResponse {
827
+ export interface RoleAuth {
783
828
  /**
784
- * 是否成功
829
+ * 用户 AppID
785
830
  */
786
- SavepointTrigger: boolean;
831
+ AppId?: number;
787
832
  /**
788
- * 错误消息
789
- 注意:此字段可能返回 null,表示取不到有效值。
833
+ * 工作空间 SerialId
790
834
  */
791
- ErrorMsg: string;
835
+ WorkSpaceSerialId?: string;
792
836
  /**
793
- * 快照路径
837
+ * 主账号 UIN
838
+ */
839
+ OwnerUin?: string;
840
+ /**
841
+ * 创建者 UIN
842
+ */
843
+ CreatorUin?: string;
844
+ /**
845
+ * 绑定授权的 UIN
846
+ */
847
+ AuthSubAccountUin?: string;
848
+ /**
849
+ * 对应 role表的id
850
+ */
851
+ Permission?: number;
852
+ /**
853
+ * 创建时间
854
+ */
855
+ CreateTime?: string;
856
+ /**
857
+ * 最后一次操作时间
858
+ */
859
+ UpdateTime?: string;
860
+ /**
861
+ * 2 启用 1 停用
862
+ */
863
+ Status?: number;
864
+ /**
865
+ * id
794
866
  注意:此字段可能返回 null,表示取不到有效值。
795
867
  */
796
- FinalSavepointPath: string;
868
+ Id?: number;
797
869
  /**
798
- * 快照 ID
870
+ * 工作空间id
799
871
  注意:此字段可能返回 null,表示取不到有效值。
800
872
  */
801
- SavepointId: string;
873
+ WorkSpaceId?: number;
802
874
  /**
803
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
875
+ * 权限名称
876
+ 注意:此字段可能返回 null,表示取不到有效值。
804
877
  */
805
- RequestId?: string;
878
+ RoleName?: string;
806
879
  }
807
880
  /**
808
881
  * 标签
@@ -948,6 +1021,72 @@ export interface ResourceLocParam {
948
1021
  */
949
1022
  Region?: string;
950
1023
  }
1024
+ /**
1025
+ * 工作空间详情
1026
+ */
1027
+ export interface WorkSpaceSetItem {
1028
+ /**
1029
+ * 工作空间 SerialId
1030
+ */
1031
+ SerialId: string;
1032
+ /**
1033
+ * 用户 APPID
1034
+ */
1035
+ AppId: number;
1036
+ /**
1037
+ * 主账号 UIN
1038
+ */
1039
+ OwnerUin: string;
1040
+ /**
1041
+ * 创建者 UIN
1042
+ */
1043
+ CreatorUin: string;
1044
+ /**
1045
+ * 工作空间名称
1046
+ */
1047
+ WorkSpaceName: string;
1048
+ /**
1049
+ * 区域
1050
+ */
1051
+ Region: string;
1052
+ /**
1053
+ * 创建时间
1054
+ */
1055
+ CreateTime: string;
1056
+ /**
1057
+ * 更新时间
1058
+ */
1059
+ UpdateTime: string;
1060
+ /**
1061
+ * 1 未初始化 2 可用 -1 已删除
1062
+ */
1063
+ Status: number;
1064
+ /**
1065
+ * 工作空间描述
1066
+ */
1067
+ Description: string;
1068
+ /**
1069
+ * 工作空间包含集群信息
1070
+ */
1071
+ ClusterGroupSetItem: Array<ClusterGroupSetItem>;
1072
+ /**
1073
+ * 工作空间角色的信息
1074
+ */
1075
+ RoleAuth: Array<RoleAuth>;
1076
+ /**
1077
+ * 工作空间成员数量
1078
+ */
1079
+ RoleAuthCount: number;
1080
+ /**
1081
+ * 工作空间 SerialId
1082
+ */
1083
+ WorkSpaceId: string;
1084
+ /**
1085
+ * 1
1086
+ 注意:此字段可能返回 null,表示取不到有效值。
1087
+ */
1088
+ JobsCount: number;
1089
+ }
951
1090
  /**
952
1091
  * 资源被Job 引用信息
953
1092
  */
@@ -1161,6 +1300,24 @@ export interface DescribeJobsResponse {
1161
1300
  */
1162
1301
  RequestId?: string;
1163
1302
  }
1303
+ /**
1304
+ * DescribeWorkSpaces返回参数结构体
1305
+ */
1306
+ export interface DescribeWorkSpacesResponse {
1307
+ /**
1308
+ * 空间详情列表
1309
+ 注意:此字段可能返回 null,表示取不到有效值。
1310
+ */
1311
+ WorkSpaceSetItem?: Array<WorkSpaceSetItem>;
1312
+ /**
1313
+ * 空间总数
1314
+ */
1315
+ TotalCount?: number;
1316
+ /**
1317
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1318
+ */
1319
+ RequestId?: string;
1320
+ }
1164
1321
  /**
1165
1322
  * 资源详细描述
1166
1323
  */
@@ -1330,6 +1487,87 @@ export interface CreateResourceResponse {
1330
1487
  */
1331
1488
  RequestId?: string;
1332
1489
  }
1490
+ /**
1491
+ * 工作空间集群组信息
1492
+ */
1493
+ export interface ClusterGroupSetItem {
1494
+ /**
1495
+ * clusterGroup 的 SerialId
1496
+ */
1497
+ ClusterId: string;
1498
+ /**
1499
+ * 集群名称
1500
+ */
1501
+ Name: string;
1502
+ /**
1503
+ * 地域
1504
+ */
1505
+ Region: string;
1506
+ /**
1507
+ * 区
1508
+ */
1509
+ Zone: string;
1510
+ /**
1511
+ * 账号 APPID
1512
+ */
1513
+ AppId: number;
1514
+ /**
1515
+ * 主账号 UIN
1516
+ */
1517
+ OwnerUin: string;
1518
+ /**
1519
+ * 创建账号 UIN
1520
+ */
1521
+ CreatorUin: string;
1522
+ /**
1523
+ * CU 数量
1524
+ */
1525
+ CuNum: number;
1526
+ /**
1527
+ * CU 内存规格
1528
+ */
1529
+ CuMem: number;
1530
+ /**
1531
+ * 集群状态, 1 未初始化,,3 初始化中,2 运行中
1532
+ */
1533
+ Status: number;
1534
+ /**
1535
+ * 状态描述
1536
+ */
1537
+ StatusDesc: string;
1538
+ /**
1539
+ * 集群创建时间
1540
+ */
1541
+ CreateTime: string;
1542
+ /**
1543
+ * 最后一次操作集群的时间
1544
+ */
1545
+ UpdateTime: string;
1546
+ /**
1547
+ * 描述
1548
+ */
1549
+ Remark: string;
1550
+ /**
1551
+ * 网络
1552
+ */
1553
+ NetEnvironmentType: number;
1554
+ /**
1555
+ * 空闲 CU
1556
+ */
1557
+ FreeCuNum: number;
1558
+ /**
1559
+ * 细粒度资源下的空闲CU
1560
+ */
1561
+ FreeCu: number;
1562
+ /**
1563
+ * 运行中CU
1564
+ */
1565
+ RunningCu?: number;
1566
+ /**
1567
+ * 付费模式
1568
+ */
1569
+ PayMode?: number;
1570
+ }
1333
1571
  /**
1334
1572
  * DescribeSystemResources请求参数结构体
1335
1573
  */
@@ -1727,21 +1965,25 @@ export interface DescribeClustersResponse {
1727
1965
  RequestId?: string;
1728
1966
  }
1729
1967
  /**
1730
- * TriggerJobSavepoint请求参数结构体
1968
+ * DescribeWorkSpaces请求参数结构体
1731
1969
  */
1732
- export interface TriggerJobSavepointRequest {
1970
+ export interface DescribeWorkSpacesRequest {
1733
1971
  /**
1734
- * 作业 SerialId
1972
+ * 偏移量,默认 0
1735
1973
  */
1736
- JobId: string;
1974
+ Offset?: number;
1737
1975
  /**
1738
- * 描述
1976
+ * 1 按照创建时间降序排序(默认) 2.按照创建时间升序排序,3. 按照状态降序排序 4. 按照状态升序排序 默认为0
1739
1977
  */
1740
- Description?: string;
1978
+ OrderType?: number;
1741
1979
  /**
1742
- * 工作空间 SerialId
1980
+ * 请求的集群数量,默认 20
1743
1981
  */
1744
- WorkSpaceId?: string;
1982
+ Limit?: number;
1983
+ /**
1984
+ * 过滤规则
1985
+ */
1986
+ Filters?: Array<Filter>;
1745
1987
  }
1746
1988
  /**
1747
1989
  * DescribeResourceConfigs返回参数结构体