tencentcloud-sdk-nodejs-cloudstudio 4.0.549 → 4.0.551
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +538 -0
- package/SERVICE_CHANGELOG.md +592 -43
- package/package.json +1 -1
- package/products.md +33 -33
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +19 -5
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +202 -144
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +5 -1
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +6 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +173 -122
|
@@ -187,6 +187,20 @@ export interface CreateCustomizeTemplatesResponse {
|
|
|
187
187
|
*/
|
|
188
188
|
RequestId?: string;
|
|
189
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* 获取工作空间临时访问 token 出参
|
|
192
|
+
*/
|
|
193
|
+
export interface WorkspaceTokenInfoV0 {
|
|
194
|
+
/**
|
|
195
|
+
* 访问工作空间临时凭证
|
|
196
|
+
*/
|
|
197
|
+
Token: string;
|
|
198
|
+
/**
|
|
199
|
+
* token 过期时间
|
|
200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
201
|
+
*/
|
|
202
|
+
ExpiredTime: string;
|
|
203
|
+
}
|
|
190
204
|
/**
|
|
191
205
|
* 可用镜像模板列表
|
|
192
206
|
*/
|
|
@@ -607,6 +621,116 @@ export interface ModifyWorkspaceAttributesResponse {
|
|
|
607
621
|
*/
|
|
608
622
|
RequestId?: string;
|
|
609
623
|
}
|
|
624
|
+
/**
|
|
625
|
+
* 获取用户工作空间返回信息
|
|
626
|
+
*/
|
|
627
|
+
export interface WorkspaceStatusInfo {
|
|
628
|
+
/**
|
|
629
|
+
* 空间ID
|
|
630
|
+
*/
|
|
631
|
+
Id: number;
|
|
632
|
+
/**
|
|
633
|
+
* 空间名称
|
|
634
|
+
*/
|
|
635
|
+
Name: string;
|
|
636
|
+
/**
|
|
637
|
+
* 所属人
|
|
638
|
+
*/
|
|
639
|
+
Owner: UserInfoRsp;
|
|
640
|
+
/**
|
|
641
|
+
* 空间标识
|
|
642
|
+
*/
|
|
643
|
+
SpaceKey: string;
|
|
644
|
+
/**
|
|
645
|
+
* 状态
|
|
646
|
+
*/
|
|
647
|
+
Status: string;
|
|
648
|
+
/**
|
|
649
|
+
* 最后操作时间
|
|
650
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
651
|
+
*/
|
|
652
|
+
LastOpsDate: string;
|
|
653
|
+
/**
|
|
654
|
+
* 描述
|
|
655
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
656
|
+
*/
|
|
657
|
+
Description: string;
|
|
658
|
+
/**
|
|
659
|
+
* 共享状态
|
|
660
|
+
*/
|
|
661
|
+
Share: WorkspaceShareInfo;
|
|
662
|
+
/**
|
|
663
|
+
* 空间类型
|
|
664
|
+
*/
|
|
665
|
+
WorkspaceType: string;
|
|
666
|
+
/**
|
|
667
|
+
* 标签
|
|
668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
669
|
+
*/
|
|
670
|
+
Label: string;
|
|
671
|
+
/**
|
|
672
|
+
* 空间版本
|
|
673
|
+
*/
|
|
674
|
+
WorkspaceVersion: number;
|
|
675
|
+
/**
|
|
676
|
+
* 图标地址
|
|
677
|
+
*/
|
|
678
|
+
ImageIcon: string;
|
|
679
|
+
/**
|
|
680
|
+
* 创建时间
|
|
681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
682
|
+
*/
|
|
683
|
+
CreateDate: string;
|
|
684
|
+
/**
|
|
685
|
+
* 版本控制地址
|
|
686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
687
|
+
*/
|
|
688
|
+
VersionControlUrl: string;
|
|
689
|
+
/**
|
|
690
|
+
* 版本控制描述
|
|
691
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
692
|
+
*/
|
|
693
|
+
VersionControlDesc: string;
|
|
694
|
+
/**
|
|
695
|
+
* 版本控制引用
|
|
696
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
697
|
+
*/
|
|
698
|
+
VersionControlRef: string;
|
|
699
|
+
/**
|
|
700
|
+
* 版本控制引用类型
|
|
701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
702
|
+
*/
|
|
703
|
+
VersionControlRefType: string;
|
|
704
|
+
/**
|
|
705
|
+
* 版本控制类型
|
|
706
|
+
*/
|
|
707
|
+
VersionControlType: string;
|
|
708
|
+
/**
|
|
709
|
+
* 模板ID
|
|
710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
711
|
+
*/
|
|
712
|
+
TemplateId: number;
|
|
713
|
+
/**
|
|
714
|
+
* 快照ID
|
|
715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
716
|
+
*/
|
|
717
|
+
SnapshotUid: string;
|
|
718
|
+
/**
|
|
719
|
+
* 类型
|
|
720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
721
|
+
*/
|
|
722
|
+
SpecDesc: string;
|
|
723
|
+
/**
|
|
724
|
+
* CPU数量
|
|
725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
726
|
+
*/
|
|
727
|
+
Cpu: number;
|
|
728
|
+
/**
|
|
729
|
+
* 内存
|
|
730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
731
|
+
*/
|
|
732
|
+
Memory: number;
|
|
733
|
+
}
|
|
610
734
|
/**
|
|
611
735
|
* DescribeCustomizeTemplatesPresets请求参数结构体
|
|
612
736
|
*/
|
|
@@ -725,14 +849,9 @@ export interface DescribeCustomizeTemplatesByIdResponse {
|
|
|
725
849
|
RequestId?: string;
|
|
726
850
|
}
|
|
727
851
|
/**
|
|
728
|
-
*
|
|
852
|
+
* DescribeWorkspaceNameExist返回参数结构体
|
|
729
853
|
*/
|
|
730
|
-
export interface
|
|
731
|
-
/**
|
|
732
|
-
* 无
|
|
733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
734
|
-
*/
|
|
735
|
-
Data: CustomizeTemplatesPresetsInfo;
|
|
854
|
+
export interface DescribeWorkspaceNameExistResponse {
|
|
736
855
|
/**
|
|
737
856
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
738
857
|
*/
|
|
@@ -766,19 +885,22 @@ export interface CreateWorkspaceByAgentResponse {
|
|
|
766
885
|
RequestId?: string;
|
|
767
886
|
}
|
|
768
887
|
/**
|
|
769
|
-
*
|
|
888
|
+
* RemoveWorkspace返回参数结构体
|
|
770
889
|
*/
|
|
771
|
-
export interface
|
|
890
|
+
export interface RemoveWorkspaceResponse {
|
|
772
891
|
/**
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
892
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
893
|
+
*/
|
|
894
|
+
RequestId?: string;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* CreateWorkspaceTemporaryToken请求参数结构体
|
|
898
|
+
*/
|
|
899
|
+
export interface CreateWorkspaceTemporaryTokenRequest {
|
|
777
900
|
/**
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
SpaceKey: string;
|
|
901
|
+
* 创建工作空间凭证 DTO
|
|
902
|
+
*/
|
|
903
|
+
WorkspaceTokenDTO: WorkspaceTokenDTO;
|
|
782
904
|
}
|
|
783
905
|
/**
|
|
784
906
|
* 工作空间结构
|
|
@@ -903,6 +1025,21 @@ export interface ModifyCustomizeTemplatesPartByIdRequest {
|
|
|
903
1025
|
*/
|
|
904
1026
|
UserDefinedTemplatePatchedParams: UserDefinedTemplatePatchedParams;
|
|
905
1027
|
}
|
|
1028
|
+
/**
|
|
1029
|
+
* 创建临时工作空间凭证 DTO
|
|
1030
|
+
*/
|
|
1031
|
+
export interface WorkspaceTokenDTO {
|
|
1032
|
+
/**
|
|
1033
|
+
* 工作空间 SpaceKey
|
|
1034
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1035
|
+
*/
|
|
1036
|
+
SpaceKey?: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* token过期时间,单位是秒,默认 3600
|
|
1039
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1040
|
+
*/
|
|
1041
|
+
TokenExpiredLimitSec?: number;
|
|
1042
|
+
}
|
|
906
1043
|
/**
|
|
907
1044
|
* 用户自定义模板参数
|
|
908
1045
|
*/
|
|
@@ -953,119 +1090,28 @@ export interface DeleteCustomizeTemplatesByIdResponse {
|
|
|
953
1090
|
RequestId?: string;
|
|
954
1091
|
}
|
|
955
1092
|
/**
|
|
956
|
-
*
|
|
1093
|
+
* 工作空间信息
|
|
957
1094
|
*/
|
|
958
|
-
export interface
|
|
959
|
-
/**
|
|
960
|
-
* 空间ID
|
|
961
|
-
*/
|
|
962
|
-
Id: number;
|
|
963
|
-
/**
|
|
964
|
-
* 空间名称
|
|
965
|
-
*/
|
|
966
|
-
Name: string;
|
|
967
|
-
/**
|
|
968
|
-
* 所属人
|
|
969
|
-
*/
|
|
970
|
-
Owner: UserInfoRsp;
|
|
971
|
-
/**
|
|
972
|
-
* 空间标识
|
|
973
|
-
*/
|
|
974
|
-
SpaceKey: string;
|
|
975
|
-
/**
|
|
976
|
-
* 状态
|
|
977
|
-
*/
|
|
978
|
-
Status: string;
|
|
979
|
-
/**
|
|
980
|
-
* 最后操作时间
|
|
981
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
982
|
-
*/
|
|
983
|
-
LastOpsDate: string;
|
|
984
|
-
/**
|
|
985
|
-
* 描述
|
|
986
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
987
|
-
*/
|
|
988
|
-
Description: string;
|
|
989
|
-
/**
|
|
990
|
-
* 共享状态
|
|
991
|
-
*/
|
|
992
|
-
Share: WorkspaceShareInfo;
|
|
993
|
-
/**
|
|
994
|
-
* 空间类型
|
|
995
|
-
*/
|
|
996
|
-
WorkspaceType: string;
|
|
997
|
-
/**
|
|
998
|
-
* 标签
|
|
999
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1000
|
-
*/
|
|
1001
|
-
Label: string;
|
|
1002
|
-
/**
|
|
1003
|
-
* 空间版本
|
|
1004
|
-
*/
|
|
1005
|
-
WorkspaceVersion: number;
|
|
1006
|
-
/**
|
|
1007
|
-
* 图标地址
|
|
1008
|
-
*/
|
|
1009
|
-
ImageIcon: string;
|
|
1010
|
-
/**
|
|
1011
|
-
* 创建时间
|
|
1012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1013
|
-
*/
|
|
1014
|
-
CreateDate: string;
|
|
1015
|
-
/**
|
|
1016
|
-
* 版本控制地址
|
|
1017
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1018
|
-
*/
|
|
1019
|
-
VersionControlUrl: string;
|
|
1020
|
-
/**
|
|
1021
|
-
* 版本控制描述
|
|
1022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1023
|
-
*/
|
|
1024
|
-
VersionControlDesc: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* 版本控制引用
|
|
1027
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1028
|
-
*/
|
|
1029
|
-
VersionControlRef: string;
|
|
1030
|
-
/**
|
|
1031
|
-
* 版本控制引用类型
|
|
1032
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1033
|
-
*/
|
|
1034
|
-
VersionControlRefType: string;
|
|
1035
|
-
/**
|
|
1036
|
-
* 版本控制类型
|
|
1037
|
-
*/
|
|
1038
|
-
VersionControlType: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* 模板ID
|
|
1041
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1042
|
-
*/
|
|
1043
|
-
TemplateId: number;
|
|
1044
|
-
/**
|
|
1045
|
-
* 快照ID
|
|
1046
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1047
|
-
*/
|
|
1048
|
-
SnapshotUid: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* 类型
|
|
1051
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1052
|
-
*/
|
|
1053
|
-
SpecDesc: string;
|
|
1095
|
+
export interface WorkspaceInfo {
|
|
1054
1096
|
/**
|
|
1055
|
-
*
|
|
1097
|
+
* 工作空间ID
|
|
1056
1098
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1057
1099
|
*/
|
|
1058
|
-
|
|
1100
|
+
WorkspaceId: number;
|
|
1059
1101
|
/**
|
|
1060
|
-
*
|
|
1102
|
+
* 工作空间标识
|
|
1061
1103
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1062
1104
|
*/
|
|
1063
|
-
|
|
1105
|
+
SpaceKey: string;
|
|
1064
1106
|
}
|
|
1065
1107
|
/**
|
|
1066
|
-
*
|
|
1108
|
+
* CreateWorkspaceTemporaryToken返回参数结构体
|
|
1067
1109
|
*/
|
|
1068
|
-
export interface
|
|
1110
|
+
export interface CreateWorkspaceTemporaryTokenResponse {
|
|
1111
|
+
/**
|
|
1112
|
+
* 工作空间临时访问 token 信息
|
|
1113
|
+
*/
|
|
1114
|
+
Data?: WorkspaceTokenInfoV0;
|
|
1069
1115
|
/**
|
|
1070
1116
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1071
1117
|
*/
|
|
@@ -1117,9 +1163,14 @@ export interface AgentSpaceDTO {
|
|
|
1117
1163
|
Description?: string;
|
|
1118
1164
|
}
|
|
1119
1165
|
/**
|
|
1120
|
-
*
|
|
1166
|
+
* DescribeCustomizeTemplatesPresets返回参数结构体
|
|
1121
1167
|
*/
|
|
1122
|
-
export interface
|
|
1168
|
+
export interface DescribeCustomizeTemplatesPresetsResponse {
|
|
1169
|
+
/**
|
|
1170
|
+
* 无
|
|
1171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1172
|
+
*/
|
|
1173
|
+
Data: CustomizeTemplatesPresetsInfo;
|
|
1123
1174
|
/**
|
|
1124
1175
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1125
1176
|
*/
|