tencentcloud-sdk-nodejs 4.1.294 → 4.1.296
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/es/common/sdk_version.js +1 -1
- package/es/services/cbs/v20170312/cbs_client.js +3 -0
- package/es/services/thpc/v20230321/thpc_client.js +8 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +5 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +6 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +13 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +238 -107
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +62 -23
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -9
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +13 -13
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +43 -146
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +8 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +18 -14
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +16 -16
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +11 -3
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +15 -3
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +185 -59
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +39 -32
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +161 -99
|
@@ -762,51 +762,51 @@ export interface BuildStep {
|
|
|
762
762
|
*/
|
|
763
763
|
export interface HTTPServiceRoute {
|
|
764
764
|
/**
|
|
765
|
-
*
|
|
765
|
+
* <p>路径</p>
|
|
766
766
|
*/
|
|
767
767
|
Path?: string;
|
|
768
768
|
/**
|
|
769
|
-
*
|
|
769
|
+
* <p>路径重写规则</p>
|
|
770
770
|
*/
|
|
771
771
|
PathRewrite?: HTTPServicePathRewrite;
|
|
772
772
|
/**
|
|
773
|
-
*
|
|
773
|
+
* <p>上游服务类型。SCF: 云函数,CBR: 云托管,STATIC_STORE: 静态托管,WEB_SCF: WEB云函数,LH: Lighthouse</p>
|
|
774
774
|
*/
|
|
775
775
|
UpstreamResourceType?: string;
|
|
776
776
|
/**
|
|
777
|
-
*
|
|
777
|
+
* <p>上游服务名</p>
|
|
778
778
|
*/
|
|
779
779
|
UpstreamResourceName?: string;
|
|
780
780
|
/**
|
|
781
|
-
*
|
|
781
|
+
* <p>是否开启安全域名</p>
|
|
782
782
|
*/
|
|
783
783
|
EnableSafeDomain?: boolean;
|
|
784
784
|
/**
|
|
785
|
-
*
|
|
785
|
+
* <p>是否开启身份认证</p>
|
|
786
786
|
*/
|
|
787
787
|
EnableAuth?: boolean;
|
|
788
788
|
/**
|
|
789
|
-
*
|
|
789
|
+
* <p>是否开启路径透传</p>
|
|
790
790
|
*/
|
|
791
791
|
EnablePathTransmission?: boolean;
|
|
792
792
|
/**
|
|
793
|
-
* QPS
|
|
793
|
+
* <p>QPS限频策略</p>
|
|
794
794
|
*/
|
|
795
795
|
QPSPolicy?: HTTPServiceRouteQPSPolicy;
|
|
796
796
|
/**
|
|
797
|
-
*
|
|
797
|
+
* <p>是否开启路由</p>
|
|
798
798
|
*/
|
|
799
799
|
Enable?: boolean;
|
|
800
800
|
/**
|
|
801
|
-
*
|
|
801
|
+
* <p>扩展字段,内部包含headers处理等</p>
|
|
802
802
|
*/
|
|
803
803
|
Extension?: HTTPServiceExtension;
|
|
804
804
|
/**
|
|
805
|
-
*
|
|
805
|
+
* <p>路由创建时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
806
806
|
*/
|
|
807
807
|
CreateTime?: string;
|
|
808
808
|
/**
|
|
809
|
-
*
|
|
809
|
+
* <p>路由更新时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
810
810
|
*/
|
|
811
811
|
UpdateTime?: string;
|
|
812
812
|
}
|
|
@@ -4658,6 +4658,10 @@ export interface HTTPServiceDomain {
|
|
|
4658
4658
|
* <p>DNS解析状态</p><p>枚举值:</p><ul><li>OK: 正常,命中目标 cname</li><li>EMPTY: 解析为空,域名尚未配置 CNAME 或未生效</li><li>INVALID: 异常,解析到其他非目标地址</li></ul>
|
|
4659
4659
|
*/
|
|
4660
4660
|
DNSStatus?: string;
|
|
4661
|
+
/**
|
|
4662
|
+
* <p>是否CNAME到平台任一网关入口,默认接入/CDN/EO,不含CustomCname</p><p>枚举值:</p><ul><li>EMPTY: 解析为空</li><li>OK: 命中</li><li>INVALID: 解析到其他非目标地址</li></ul>
|
|
4663
|
+
*/
|
|
4664
|
+
PlatformCnameDNSStatus?: string;
|
|
4661
4665
|
/**
|
|
4662
4666
|
* <p>HTTP访问服务路由信息</p>
|
|
4663
4667
|
*/
|
|
@@ -4667,11 +4671,11 @@ export interface HTTPServiceDomain {
|
|
|
4667
4671
|
*/
|
|
4668
4672
|
Extension?: HTTPServiceExtension;
|
|
4669
4673
|
/**
|
|
4670
|
-
* <p
|
|
4674
|
+
* <p>域名创建时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
4671
4675
|
*/
|
|
4672
4676
|
CreateTime?: string;
|
|
4673
4677
|
/**
|
|
4674
|
-
* <p
|
|
4678
|
+
* <p>域名更新时间,格式 YYYY-MM-DDTHH:mm:ss±HH:mm,时区为 UTC+8</p>
|
|
4675
4679
|
*/
|
|
4676
4680
|
UpdateTime?: string;
|
|
4677
4681
|
}
|
|
@@ -3643,7 +3643,7 @@ export interface Registry {
|
|
|
3643
3643
|
*/
|
|
3644
3644
|
EnableAnonymous?: boolean;
|
|
3645
3645
|
/**
|
|
3646
|
-
* <p>Token
|
|
3646
|
+
* <p>Token有效时间,单位:小时</p>
|
|
3647
3647
|
*/
|
|
3648
3648
|
TokenValidTime?: number;
|
|
3649
3649
|
/**
|
|
@@ -4941,63 +4941,63 @@ export interface DescribeApplicationTriggerPersonalResp {
|
|
|
4941
4941
|
*/
|
|
4942
4942
|
export interface TagInfo {
|
|
4943
4943
|
/**
|
|
4944
|
-
* Tag
|
|
4944
|
+
* <p>Tag名称</p>
|
|
4945
4945
|
*/
|
|
4946
4946
|
TagName?: string;
|
|
4947
4947
|
/**
|
|
4948
|
-
*
|
|
4948
|
+
* <p>制品的 ID</p>
|
|
4949
4949
|
*/
|
|
4950
4950
|
TagId?: string;
|
|
4951
4951
|
/**
|
|
4952
|
-
* docker image 可以看到的id
|
|
4952
|
+
* <p>docker image 可以看到的id</p>
|
|
4953
4953
|
*/
|
|
4954
4954
|
ImageId?: string;
|
|
4955
4955
|
/**
|
|
4956
|
-
*
|
|
4956
|
+
* <p>大小</p>
|
|
4957
4957
|
*/
|
|
4958
4958
|
Size?: string;
|
|
4959
4959
|
/**
|
|
4960
|
-
*
|
|
4960
|
+
* <p>制品的创建时间</p>
|
|
4961
4961
|
*/
|
|
4962
4962
|
CreationTime?: string;
|
|
4963
4963
|
/**
|
|
4964
|
-
*
|
|
4964
|
+
* <p>制品创建至今时间长度</p>
|
|
4965
4965
|
*/
|
|
4966
4966
|
DurationDays?: string;
|
|
4967
4967
|
/**
|
|
4968
|
-
*
|
|
4968
|
+
* <p>标注的制品作者</p>
|
|
4969
4969
|
*/
|
|
4970
4970
|
Author?: string;
|
|
4971
4971
|
/**
|
|
4972
|
-
*
|
|
4972
|
+
* <p>标注的制品平台</p>
|
|
4973
4973
|
*/
|
|
4974
4974
|
Architecture?: string;
|
|
4975
4975
|
/**
|
|
4976
|
-
*
|
|
4976
|
+
* <p>创建制品的 Docker 版本</p>
|
|
4977
4977
|
*/
|
|
4978
4978
|
DockerVersion?: string;
|
|
4979
4979
|
/**
|
|
4980
|
-
*
|
|
4980
|
+
* <p>标注的制品操作系统</p>
|
|
4981
4981
|
*/
|
|
4982
4982
|
OS?: string;
|
|
4983
4983
|
/**
|
|
4984
|
-
*
|
|
4984
|
+
* <p>制品大小,单位:Byte</p>
|
|
4985
4985
|
*/
|
|
4986
4986
|
SizeByte?: number;
|
|
4987
4987
|
/**
|
|
4988
|
-
*
|
|
4988
|
+
* <p>序号</p>
|
|
4989
4989
|
*/
|
|
4990
4990
|
Id?: number;
|
|
4991
4991
|
/**
|
|
4992
|
-
*
|
|
4992
|
+
* <p>数据更新时间</p>
|
|
4993
4993
|
*/
|
|
4994
4994
|
UpdateTime?: string;
|
|
4995
4995
|
/**
|
|
4996
|
-
*
|
|
4996
|
+
* <p>制品更新时间</p>
|
|
4997
4997
|
*/
|
|
4998
4998
|
PushTime?: string;
|
|
4999
4999
|
/**
|
|
5000
|
-
*
|
|
5000
|
+
* <p>制品类型</p>
|
|
5001
5001
|
*/
|
|
5002
5002
|
Kind?: string;
|
|
5003
5003
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { InquirePriceModifyWorkspacesChargeTypeRequest, DescribeInitNodeScriptsRequest, AddNodesResponse, ModifyClusterDeletionProtectionResponse, CreateWorkspacesResponse, ModifyWorkspacesRenewFlagRequest, ModifyNodeAttributeResponse, DeleteClusterRequest, TerminateWorkspacesResponse, ModifyInitNodeScriptsRequest, AttachNodesRequest, DescribeWorkspacesResponse, DescribeJobsOverviewRequest, DeleteClusterResponse, DescribeAutoScalingConfigurationResponse, DescribeClustersRequest, TerminateJobRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DescribeWorkspacesRequest, ModifyNodeAttributeRequest, AddQueueRequest, DeleteNodesRequest, DescribeQueuesResponse, SubmitJobRequest, ModifyWorkspacesRenewFlagResponse, DescribeNodesResponse, DeleteClusterStorageOptionRequest, DeleteJobRequest, DetachNodesResponse, DescribeClusterStorageOptionRequest, ModifyWorkspacesAttributeResponse, DescribeClustersResponse, DescribeClusterActivitiesResponse, AddNodesRequest, DeleteQueueResponse, DeleteJobResponse, DescribeJobSubmitInfoResponse, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, ModifyInitNodeScriptsResponse, DescribeJobSubmitInfoRequest, ModifyWorkspacesAttributeRequest, ModifyWorkspacesChargeTypeRequest, TerminateWorkspacesRequest, DeleteClusterStorageOptionResponse, TerminateJobResponse, DescribeJobsRequest, SetAutoScalingConfigurationRequest, SubmitJobResponse, DescribeNodesRequest, DetachNodesRequest, AttachNodesResponse, DescribeJobsOverviewResponse, CreateWorkspacesRequest, DescribeClusterActivitiesRequest, DescribeJobsResponse, ModifyClusterDeletionProtectionRequest, DescribeInitNodeScriptsResponse, DeleteQueueRequest, AddClusterStorageOptionRequest, ModifyWorkspacesChargeTypeResponse, DescribeAutoScalingConfigurationRequest, InquirePriceModifyWorkspacesChargeTypeResponse } from "./thpc_models";
|
|
4
4
|
/**
|
|
5
5
|
* thpc client
|
|
6
6
|
* @class
|
|
@@ -49,6 +49,10 @@ export declare class Client extends AbstractClient {
|
|
|
49
49
|
* 本接口(DeleteCluster)用于删除一个指定的集群。
|
|
50
50
|
*/
|
|
51
51
|
DeleteCluster(req: DeleteClusterRequest, cb?: (error: string, rep: DeleteClusterResponse) => void): Promise<DeleteClusterResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* 本接口 (ModifyWorkspacesAttribute) 用于修改工作空间的属性(目前只支持修改工作空间的名称)。
|
|
54
|
+
*/
|
|
55
|
+
ModifyWorkspacesRenewFlag(req: ModifyWorkspacesRenewFlagRequest, cb?: (error: string, rep: ModifyWorkspacesRenewFlagResponse) => void): Promise<ModifyWorkspacesRenewFlagResponse>;
|
|
52
56
|
/**
|
|
53
57
|
* 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
|
|
54
58
|
*/
|
|
@@ -69,6 +73,10 @@ export declare class Client extends AbstractClient {
|
|
|
69
73
|
* 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
|
|
70
74
|
*/
|
|
71
75
|
DescribeNodes(req: DescribeNodesRequest, cb?: (error: string, rep: DescribeNodesResponse) => void): Promise<DescribeNodesResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* 正式提交按量计费工作空间转包年包月订单。仅支持 ONLINE 且计费模式为 POSTPAID_BY_HOUR 的工作空间。
|
|
78
|
+
*/
|
|
79
|
+
ModifyWorkspacesChargeType(req: ModifyWorkspacesChargeTypeRequest, cb?: (error: string, rep: ModifyWorkspacesChargeTypeResponse) => void): Promise<ModifyWorkspacesChargeTypeResponse>;
|
|
72
80
|
/**
|
|
73
81
|
* 本接口(DescribeClusters)用于查询集群列表。
|
|
74
82
|
*/
|
|
@@ -132,9 +140,9 @@ export declare class Client extends AbstractClient {
|
|
|
132
140
|
*/
|
|
133
141
|
DeleteJob(req: DeleteJobRequest, cb?: (error: string, rep: DeleteJobResponse) => void): Promise<DeleteJobResponse>;
|
|
134
142
|
/**
|
|
135
|
-
*
|
|
143
|
+
* 查询按量计费工作空间转换为包年包月的价格。不会创建订单或变更资源。
|
|
136
144
|
*/
|
|
137
|
-
|
|
145
|
+
InquirePriceModifyWorkspacesChargeType(req: InquirePriceModifyWorkspacesChargeTypeRequest, cb?: (error: string, rep: InquirePriceModifyWorkspacesChargeTypeResponse) => void): Promise<InquirePriceModifyWorkspacesChargeTypeResponse>;
|
|
138
146
|
/**
|
|
139
147
|
* 本接口(DeleteQueue)用于从指定集群删除队列。
|
|
140
148
|
* 本接口为目前只支持SchedulerType为SLURM的集群。
|
|
@@ -89,6 +89,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
89
89
|
async DeleteCluster(req, cb) {
|
|
90
90
|
return this.request("DeleteCluster", req, cb);
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* 本接口 (ModifyWorkspacesAttribute) 用于修改工作空间的属性(目前只支持修改工作空间的名称)。
|
|
94
|
+
*/
|
|
95
|
+
async ModifyWorkspacesRenewFlag(req, cb) {
|
|
96
|
+
return this.request("ModifyWorkspacesRenewFlag", req, cb);
|
|
97
|
+
}
|
|
92
98
|
/**
|
|
93
99
|
* 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
|
|
94
100
|
*/
|
|
@@ -119,6 +125,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
119
125
|
async DescribeNodes(req, cb) {
|
|
120
126
|
return this.request("DescribeNodes", req, cb);
|
|
121
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* 正式提交按量计费工作空间转包年包月订单。仅支持 ONLINE 且计费模式为 POSTPAID_BY_HOUR 的工作空间。
|
|
130
|
+
*/
|
|
131
|
+
async ModifyWorkspacesChargeType(req, cb) {
|
|
132
|
+
return this.request("ModifyWorkspacesChargeType", req, cb);
|
|
133
|
+
}
|
|
122
134
|
/**
|
|
123
135
|
* 本接口(DescribeClusters)用于查询集群列表。
|
|
124
136
|
*/
|
|
@@ -212,10 +224,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
212
224
|
return this.request("DeleteJob", req, cb);
|
|
213
225
|
}
|
|
214
226
|
/**
|
|
215
|
-
*
|
|
227
|
+
* 查询按量计费工作空间转换为包年包月的价格。不会创建订单或变更资源。
|
|
216
228
|
*/
|
|
217
|
-
async
|
|
218
|
-
return this.request("
|
|
229
|
+
async InquirePriceModifyWorkspacesChargeType(req, cb) {
|
|
230
|
+
return this.request("InquirePriceModifyWorkspacesChargeType", req, cb);
|
|
219
231
|
}
|
|
220
232
|
/**
|
|
221
233
|
* 本接口(DeleteQueue)用于从指定集群删除队列。
|
|
@@ -75,13 +75,25 @@ export interface ClusterOverview {
|
|
|
75
75
|
DeletionProtection?: string;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* InquirePriceModifyWorkspacesChargeType请求参数结构体
|
|
79
79
|
*/
|
|
80
|
-
export interface
|
|
80
|
+
export interface InquirePriceModifyWorkspacesChargeTypeRequest {
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* <p>工作空间 ID 列表。每次请求的工作空间计费模式必须一致。</p>
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
SpaceIds: Array<string>;
|
|
85
|
+
/**
|
|
86
|
+
* <p>转换的目标计费模式。当前仅支持 PREPAID(按量计费转包年包月)。</p>
|
|
87
|
+
*/
|
|
88
|
+
SpaceChargeType: string;
|
|
89
|
+
/**
|
|
90
|
+
* <p>是否只进行参数和资源预检。true:不发起询价、组单或正式下单;false:执行对应操作。默认为 false。</p>
|
|
91
|
+
*/
|
|
92
|
+
DryRun?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* <p>预付费参数。Period 和 RenewFlag 均为可选字段;未传入时后端使用默认值 Period=1、RenewFlag=NOTIFY_AND_MANUAL_RENEW。</p>
|
|
95
|
+
*/
|
|
96
|
+
SpaceChargePrepaid?: SpaceChargePrepaid;
|
|
85
97
|
}
|
|
86
98
|
/**
|
|
87
99
|
* 节点概览信息。
|
|
@@ -144,6 +156,19 @@ export interface NodeOverview {
|
|
|
144
156
|
*/
|
|
145
157
|
CreateTime?: string;
|
|
146
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* 描述了实例的抽象位置,包括其所在的可用区,所属的项目
|
|
161
|
+
*/
|
|
162
|
+
export interface SpacePlacement {
|
|
163
|
+
/**
|
|
164
|
+
* 可用区
|
|
165
|
+
*/
|
|
166
|
+
Zone: string;
|
|
167
|
+
/**
|
|
168
|
+
* 项目,默认是0
|
|
169
|
+
*/
|
|
170
|
+
ProjectId?: number;
|
|
171
|
+
}
|
|
147
172
|
/**
|
|
148
173
|
* DescribeInitNodeScripts请求参数结构体
|
|
149
174
|
*/
|
|
@@ -263,6 +288,28 @@ export interface SpaceVirtualPrivateCloud {
|
|
|
263
288
|
*/
|
|
264
289
|
Ipv6AddressCount?: number;
|
|
265
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* ModifyWorkspacesRenewFlag请求参数结构体
|
|
293
|
+
*/
|
|
294
|
+
export interface ModifyWorkspacesRenewFlagRequest {
|
|
295
|
+
/**
|
|
296
|
+
* 工作空间列表
|
|
297
|
+
*/
|
|
298
|
+
SpaceIds: Array<string>;
|
|
299
|
+
/**
|
|
300
|
+
* 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
301
|
+
*/
|
|
302
|
+
RenewFlag: string;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* ModifyNodeAttribute返回参数结构体
|
|
306
|
+
*/
|
|
307
|
+
export interface ModifyNodeAttributeResponse {
|
|
308
|
+
/**
|
|
309
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
310
|
+
*/
|
|
311
|
+
RequestId?: string;
|
|
312
|
+
}
|
|
266
313
|
/**
|
|
267
314
|
* 管控节点概览。
|
|
268
315
|
*/
|
|
@@ -699,6 +746,19 @@ export interface QueueConfigOverview {
|
|
|
699
746
|
*/
|
|
700
747
|
ScaleUpMemRatio?: number;
|
|
701
748
|
}
|
|
749
|
+
/**
|
|
750
|
+
* DeleteNodes请求参数结构体
|
|
751
|
+
*/
|
|
752
|
+
export interface DeleteNodesRequest {
|
|
753
|
+
/**
|
|
754
|
+
* 集群ID。
|
|
755
|
+
*/
|
|
756
|
+
ClusterId: string;
|
|
757
|
+
/**
|
|
758
|
+
* 节点ID。
|
|
759
|
+
*/
|
|
760
|
+
NodeIds: Array<string>;
|
|
761
|
+
}
|
|
702
762
|
/**
|
|
703
763
|
* DescribeQueues返回参数结构体
|
|
704
764
|
*/
|
|
@@ -813,41 +873,6 @@ export interface GooseFSOptionOverview {
|
|
|
813
873
|
*/
|
|
814
874
|
Masters?: Array<string>;
|
|
815
875
|
}
|
|
816
|
-
/**
|
|
817
|
-
* 描述CFS文件系统版本和挂载信息
|
|
818
|
-
*/
|
|
819
|
-
export interface CFSOption {
|
|
820
|
-
/**
|
|
821
|
-
* 文件系统本地挂载路径。
|
|
822
|
-
*/
|
|
823
|
-
LocalPath: string;
|
|
824
|
-
/**
|
|
825
|
-
* 文件系统远程挂载ip及路径。
|
|
826
|
-
*/
|
|
827
|
-
RemotePath?: string;
|
|
828
|
-
/**
|
|
829
|
-
* 文件系统协议类型。
|
|
830
|
-
<li>NFS 3.0</li>
|
|
831
|
-
<li>NFS 4.0</li>
|
|
832
|
-
<li>TURBO</li>
|
|
833
|
-
*/
|
|
834
|
-
Protocol?: string;
|
|
835
|
-
/**
|
|
836
|
-
* 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
|
|
837
|
-
*/
|
|
838
|
-
StorageType?: string;
|
|
839
|
-
/**
|
|
840
|
-
* 文件系统挂载挂载命令参数选项。
|
|
841
|
-
- NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport
|
|
842
|
-
- NFS 4.0默认值:vers=4.0,noresvport
|
|
843
|
-
- TURBO默认值:user_xattr
|
|
844
|
-
*/
|
|
845
|
-
MountOption?: string;
|
|
846
|
-
/**
|
|
847
|
-
* 文件系统ID 文件系统ID通过调用接口[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)获取。
|
|
848
|
-
*/
|
|
849
|
-
FileSystemId?: string;
|
|
850
|
-
}
|
|
851
876
|
/**
|
|
852
877
|
* COS挂载信息
|
|
853
878
|
*/
|
|
@@ -1684,6 +1709,27 @@ export interface Docker {
|
|
|
1684
1709
|
*/
|
|
1685
1710
|
RunArgs?: Array<string>;
|
|
1686
1711
|
}
|
|
1712
|
+
/**
|
|
1713
|
+
* ModifyWorkspacesChargeType请求参数结构体
|
|
1714
|
+
*/
|
|
1715
|
+
export interface ModifyWorkspacesChargeTypeRequest {
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>工作空间 ID 列表。每次请求的工作空间计费模式必须一致。</p>
|
|
1718
|
+
*/
|
|
1719
|
+
SpaceIds: Array<string>;
|
|
1720
|
+
/**
|
|
1721
|
+
* <p>转换的目标计费模式。当前仅支持 PREPAID(按量计费转包年包月)。</p>
|
|
1722
|
+
*/
|
|
1723
|
+
SpaceChargeType: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* <p>是否只进行参数和资源预检。true:不发起询价、组单或正式下单;false:执行对应操作。默认为 false。</p>
|
|
1726
|
+
*/
|
|
1727
|
+
DryRun?: boolean;
|
|
1728
|
+
/**
|
|
1729
|
+
* <p>预付费参数。Period 和 RenewFlag 均为可选字段;未传入时后端使用默认值 Period=1、RenewFlag=NOTIFY_AND_MANUAL_RENEW。</p>
|
|
1730
|
+
*/
|
|
1731
|
+
SpaceChargePrepaid?: SpaceChargePrepaid;
|
|
1732
|
+
}
|
|
1687
1733
|
/**
|
|
1688
1734
|
* 任务的应用环境配置信息。
|
|
1689
1735
|
*/
|
|
@@ -1855,17 +1901,53 @@ export interface ComputeNode {
|
|
|
1855
1901
|
ResourceType?: string;
|
|
1856
1902
|
}
|
|
1857
1903
|
/**
|
|
1858
|
-
*
|
|
1904
|
+
* 描述了单项的价格信息。
|
|
1859
1905
|
*/
|
|
1860
|
-
export interface
|
|
1906
|
+
export interface ItemPrice {
|
|
1861
1907
|
/**
|
|
1862
|
-
*
|
|
1908
|
+
* 预支合计费用的原价,预付费模式使用,单位:元。
|
|
1909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1863
1910
|
*/
|
|
1864
|
-
|
|
1911
|
+
OriginalPrice?: number;
|
|
1865
1912
|
/**
|
|
1866
|
-
*
|
|
1913
|
+
* 预支合计费用的折扣价,预付费模式使用,单位:元。
|
|
1914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1867
1915
|
*/
|
|
1868
|
-
|
|
1916
|
+
DiscountPrice?: number;
|
|
1917
|
+
/**
|
|
1918
|
+
* 折扣,如20.0代表2折。
|
|
1919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1920
|
+
*/
|
|
1921
|
+
Discount?: number;
|
|
1922
|
+
/**
|
|
1923
|
+
* 后续合计费用的原价,后付费模式使用,单位:元。
|
|
1924
|
+
|
|
1925
|
+
如返回了其他时间区间项,如UnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
|
|
1926
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1927
|
+
*/
|
|
1928
|
+
UnitPrice?: number;
|
|
1929
|
+
/**
|
|
1930
|
+
* 后续合计费用的折扣价,后付费模式使用,单位:元
|
|
1931
|
+
|
|
1932
|
+
如返回了其他时间区间项,如DiscountUnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
|
|
1933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1934
|
+
*/
|
|
1935
|
+
DiscountUnitPrice?: number;
|
|
1936
|
+
/**
|
|
1937
|
+
* 后续计价单元,后付费模式使用,可取值范围:
|
|
1938
|
+
|
|
1939
|
+
HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR):
|
|
1940
|
+
GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
|
|
1941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1942
|
+
*/
|
|
1943
|
+
ChargeUnit?: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* 后续合计费用的折扣价,后付费模式使用,单位:元
|
|
1946
|
+
|
|
1947
|
+
如返回了其他时间区间项,如UnitPriceDiscount
|
|
1948
|
+
float,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
|
|
1949
|
+
*/
|
|
1950
|
+
UnitPriceDiscount?: number;
|
|
1869
1951
|
}
|
|
1870
1952
|
/**
|
|
1871
1953
|
* DeleteClusterStorageOption返回参数结构体
|
|
@@ -2104,17 +2186,52 @@ export interface DescribeJobsOverviewResponse {
|
|
|
2104
2186
|
RequestId?: string;
|
|
2105
2187
|
}
|
|
2106
2188
|
/**
|
|
2107
|
-
*
|
|
2189
|
+
* 描述CFS文件系统版本和挂载信息
|
|
2108
2190
|
*/
|
|
2109
|
-
export interface
|
|
2191
|
+
export interface CFSOption {
|
|
2110
2192
|
/**
|
|
2111
|
-
*
|
|
2193
|
+
* 文件系统本地挂载路径。
|
|
2112
2194
|
*/
|
|
2113
|
-
|
|
2195
|
+
LocalPath: string;
|
|
2114
2196
|
/**
|
|
2115
|
-
*
|
|
2197
|
+
* 文件系统远程挂载ip及路径。
|
|
2116
2198
|
*/
|
|
2117
|
-
|
|
2199
|
+
RemotePath?: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* 文件系统协议类型。
|
|
2202
|
+
<li>NFS 3.0</li>
|
|
2203
|
+
<li>NFS 4.0</li>
|
|
2204
|
+
<li>TURBO</li>
|
|
2205
|
+
*/
|
|
2206
|
+
Protocol?: string;
|
|
2207
|
+
/**
|
|
2208
|
+
* 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
|
|
2209
|
+
*/
|
|
2210
|
+
StorageType?: string;
|
|
2211
|
+
/**
|
|
2212
|
+
* 文件系统挂载挂载命令参数选项。
|
|
2213
|
+
- NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport
|
|
2214
|
+
- NFS 4.0默认值:vers=4.0,noresvport
|
|
2215
|
+
- TURBO默认值:user_xattr
|
|
2216
|
+
*/
|
|
2217
|
+
MountOption?: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* 文件系统ID 文件系统ID通过调用接口[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)获取。
|
|
2220
|
+
*/
|
|
2221
|
+
FileSystemId?: string;
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* 价格
|
|
2225
|
+
*/
|
|
2226
|
+
export interface Price {
|
|
2227
|
+
/**
|
|
2228
|
+
* 工作空间价格
|
|
2229
|
+
*/
|
|
2230
|
+
SpacePrice?: ItemPrice;
|
|
2231
|
+
/**
|
|
2232
|
+
* 网络价格
|
|
2233
|
+
*/
|
|
2234
|
+
BandwidthPrice?: ItemPrice;
|
|
2118
2235
|
}
|
|
2119
2236
|
/**
|
|
2120
2237
|
* CreateWorkspaces请求参数结构体
|
|
@@ -2443,17 +2560,13 @@ export interface GooseFSxOption {
|
|
|
2443
2560
|
FileSystemId?: string;
|
|
2444
2561
|
}
|
|
2445
2562
|
/**
|
|
2446
|
-
*
|
|
2563
|
+
* ModifyWorkspacesChargeType返回参数结构体
|
|
2447
2564
|
*/
|
|
2448
|
-
export interface
|
|
2449
|
-
/**
|
|
2450
|
-
* 可用区
|
|
2451
|
-
*/
|
|
2452
|
-
Zone: string;
|
|
2565
|
+
export interface ModifyWorkspacesChargeTypeResponse {
|
|
2453
2566
|
/**
|
|
2454
|
-
*
|
|
2567
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2455
2568
|
*/
|
|
2456
|
-
|
|
2569
|
+
RequestId?: string;
|
|
2457
2570
|
}
|
|
2458
2571
|
/**
|
|
2459
2572
|
* 描述了VPC相关信息
|
|
@@ -2569,6 +2682,19 @@ export interface JobView {
|
|
|
2569
2682
|
*/
|
|
2570
2683
|
EndTime?: string;
|
|
2571
2684
|
}
|
|
2685
|
+
/**
|
|
2686
|
+
* InquirePriceModifyWorkspacesChargeType返回参数结构体
|
|
2687
|
+
*/
|
|
2688
|
+
export interface InquirePriceModifyWorkspacesChargeTypeResponse {
|
|
2689
|
+
/**
|
|
2690
|
+
* <p>该参数表示对应规格工作空间的价格</p>
|
|
2691
|
+
*/
|
|
2692
|
+
Price?: Price;
|
|
2693
|
+
/**
|
|
2694
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2695
|
+
*/
|
|
2696
|
+
RequestId?: string;
|
|
2697
|
+
}
|
|
2572
2698
|
/**
|
|
2573
2699
|
* 用户自定义环境变量。
|
|
2574
2700
|
*/
|