tencentcloud-sdk-nodejs 4.1.247 → 4.1.249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cynosdb/v20190107/cynosdb_client.js +29 -8
  3. package/es/services/dataagent/v20250513/dataagent_client.js +6 -0
  4. package/es/services/mongodb/v20190725/mongodb_client.js +165 -153
  5. package/es/services/mps/v20190612/mps_client.js +10 -4
  6. package/es/services/ocr/v20181119/ocr_client.js +5 -8
  7. package/es/services/tokenhub/v20260322/tokenhub_client.js +43 -22
  8. package/es/services/tsf/v20180326/tsf_client.js +4 -73
  9. package/package.json +1 -1
  10. package/tencentcloud/common/sdk_version.d.ts +1 -1
  11. package/tencentcloud/common/sdk_version.js +1 -1
  12. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +212 -117
  13. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +219 -341
  14. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +83 -67
  15. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +9 -9
  16. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +141 -9
  17. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
  18. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +36 -42
  19. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  20. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +37 -9
  21. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +54 -12
  22. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +508 -123
  23. package/tencentcloud/services/dataagent/v20250513/dataagent_client.d.ts +9 -1
  24. package/tencentcloud/services/dataagent/v20250513/dataagent_client.js +12 -0
  25. package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +108 -6
  26. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +43 -35
  27. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  28. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  31. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +1 -1
  32. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +10 -6
  33. package/tencentcloud/services/igtm/v20231024/igtm_models.d.ts +28 -20
  34. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +32 -79
  35. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +186 -170
  36. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +274 -250
  37. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +254 -104
  38. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +14 -6
  39. package/tencentcloud/services/mps/v20190612/mps_client.js +19 -7
  40. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +330 -160
  41. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +11 -22
  42. package/tencentcloud/services/ocr/v20181119/ocr_client.js +13 -26
  43. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +204 -271
  44. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +18 -10
  45. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +23 -24
  46. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +81 -39
  47. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +107 -51
  48. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +545 -230
  49. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +20 -42
  50. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -143
  51. package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -190
  52. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +85 -1013
  53. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +51 -39
  54. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +78 -68
  55. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +172 -119
@@ -132,41 +132,45 @@ export interface DescribeCostExplorerSummaryResponse {
132
132
  */
133
133
  export interface ConsumptionBusinessSummaryDataItem {
134
134
  /**
135
- * 产品名称代码
135
+ * <p>产品名称代码</p>
136
136
  */
137
137
  BusinessCode?: string;
138
138
  /**
139
- * 产品名称
139
+ * <p>产品名称</p>
140
140
  */
141
141
  BusinessCodeName?: string;
142
142
  /**
143
- * 折后总价
143
+ * <p>折后总价</p>
144
144
  */
145
145
  RealTotalCost?: string;
146
146
  /**
147
- * 费用趋势
147
+ * <p>费用趋势</p>
148
148
  */
149
149
  Trend?: ConsumptionSummaryTrend;
150
150
  /**
151
- * 现金
151
+ * <p>现金</p>
152
152
  */
153
153
  CashPayAmount?: string;
154
154
  /**
155
- * 赠送金
155
+ * <p>赠送金</p>
156
156
  */
157
157
  IncentivePayAmount?: string;
158
158
  /**
159
- * 代金券
159
+ * <p>代金券</p>
160
160
  */
161
161
  VoucherPayAmount?: string;
162
162
  /**
163
- * 分成金
163
+ * <p>分成金</p>
164
164
  */
165
165
  TransferPayAmount?: string;
166
166
  /**
167
- * 地域名称(仅在地域汇总总展示)
167
+ * <p>地域名称(仅在地域汇总中展示)</p>
168
168
  */
169
169
  RegionName?: string;
170
+ /**
171
+ * <p>待分摊金额</p><p>剩余待分摊的折后总金额</p>
172
+ */
173
+ LeftRealTotalCost?: string;
170
174
  }
171
175
  /**
172
176
  * ModifyGatherRule请求参数结构体
@@ -1036,41 +1040,45 @@ export interface CreateAllocationRuleRequest {
1036
1040
  */
1037
1041
  export interface ConsumptionRegionSummaryDataItem {
1038
1042
  /**
1039
- * 地域ID
1043
+ * <p>地域ID</p>
1040
1044
  */
1041
1045
  RegionId?: string;
1042
1046
  /**
1043
- * 地域名称
1047
+ * <p>地域名称</p>
1044
1048
  */
1045
1049
  RegionName?: string;
1046
1050
  /**
1047
- * 折后总价
1051
+ * <p>折后总价</p>
1048
1052
  */
1049
1053
  RealTotalCost?: string;
1050
1054
  /**
1051
- * 趋势
1055
+ * <p>趋势</p>
1052
1056
  */
1053
1057
  Trend?: ConsumptionSummaryTrend;
1054
1058
  /**
1055
- * 产品消费详情
1059
+ * <p>产品消费详情</p>
1056
1060
  */
1057
1061
  Business?: Array<ConsumptionBusinessSummaryDataItem>;
1058
1062
  /**
1059
- * 现金
1063
+ * <p>现金</p>
1060
1064
  */
1061
1065
  CashPayAmount?: string;
1062
1066
  /**
1063
- * 代金券
1067
+ * <p>代金券</p>
1064
1068
  */
1065
1069
  VoucherPayAmount?: string;
1066
1070
  /**
1067
- * 赠送金
1071
+ * <p>赠送金</p>
1068
1072
  */
1069
1073
  IncentivePayAmount?: string;
1070
1074
  /**
1071
- * 分成金
1075
+ * <p>分成金</p>
1072
1076
  */
1073
1077
  TransferPayAmount?: string;
1078
+ /**
1079
+ * <p>待分摊金额</p><p>剩余待分摊的折后总金额</p>
1080
+ */
1081
+ LeftRealTotalCost?: string;
1074
1082
  }
1075
1083
  /**
1076
1084
  * DeleteBudget返回参数结构体
@@ -5136,41 +5144,45 @@ export interface RegionSummaryOverviewItem {
5136
5144
  */
5137
5145
  export interface ConsumptionProjectSummaryDataItem {
5138
5146
  /**
5139
- * 项目ID
5147
+ * <p>项目ID</p>
5140
5148
  */
5141
5149
  ProjectId?: string;
5142
5150
  /**
5143
- * 项目名称
5151
+ * <p>项目名称</p>
5144
5152
  */
5145
5153
  ProjectName?: string;
5146
5154
  /**
5147
- * 折后总价
5155
+ * <p>折后总价</p>
5148
5156
  */
5149
5157
  RealTotalCost?: string;
5150
5158
  /**
5151
- * 趋势
5159
+ * <p>趋势</p>
5152
5160
  */
5153
5161
  Trend?: ConsumptionSummaryTrend;
5154
5162
  /**
5155
- * 产品消耗详情
5163
+ * <p>产品消耗详情</p>
5156
5164
  */
5157
5165
  Business?: Array<ConsumptionBusinessSummaryDataItem>;
5158
5166
  /**
5159
- * 现金
5167
+ * <p>现金</p>
5160
5168
  */
5161
5169
  CashPayAmount?: string;
5162
5170
  /**
5163
- * 赠送金
5171
+ * <p>赠送金</p>
5164
5172
  */
5165
5173
  IncentivePayAmount?: string;
5166
5174
  /**
5167
- * 代金券
5175
+ * <p>代金券</p>
5168
5176
  */
5169
5177
  VoucherPayAmount?: string;
5170
5178
  /**
5171
- * 分成金
5179
+ * <p>分成金</p>
5172
5180
  */
5173
5181
  TransferPayAmount?: string;
5182
+ /**
5183
+ * <p>待分摊金额</p><p>剩余待分摊的折后总金额</p>
5184
+ */
5185
+ LeftRealTotalCost?: string;
5174
5186
  }
5175
5187
  /**
5176
5188
  * 成本分析地域返回复杂类型
@@ -7187,165 +7199,169 @@ export interface DescribeBillDownloadUrlResponse {
7187
7199
  */
7188
7200
  export interface ConsumptionResourceSummaryDataItem {
7189
7201
  /**
7190
- * 资源ID
7202
+ * <p>资源ID</p>
7191
7203
  */
7192
7204
  ResourceId?: string;
7193
7205
  /**
7194
- * 资源名称
7206
+ * <p>资源名称</p>
7195
7207
  */
7196
7208
  ResourceName?: string;
7197
7209
  /**
7198
- * 折后总价
7210
+ * <p>折后总价</p>
7199
7211
  */
7200
7212
  RealTotalCost?: string;
7201
7213
  /**
7202
- * 现金花费
7214
+ * <p>现金花费</p>
7203
7215
  */
7204
7216
  CashPayAmount?: string;
7205
7217
  /**
7206
- * 项目ID
7218
+ * <p>项目ID</p>
7207
7219
  */
7208
7220
  ProjectId?: string;
7209
7221
  /**
7210
- * 项目名称
7222
+ * <p>项目名称</p>
7211
7223
  */
7212
7224
  ProjectName?: string;
7213
7225
  /**
7214
- * 地域ID
7226
+ * <p>地域ID</p>
7215
7227
  */
7216
7228
  RegionId?: string;
7217
7229
  /**
7218
- * 地域名称
7230
+ * <p>地域名称</p>
7219
7231
  */
7220
7232
  RegionName?: string;
7221
7233
  /**
7222
- * 付费模式
7234
+ * <p>付费模式</p>
7223
7235
  */
7224
7236
  PayMode?: string;
7225
7237
  /**
7226
- * 付费模式名称
7238
+ * <p>付费模式名称</p>
7227
7239
  */
7228
7240
  PayModeName?: string;
7229
7241
  /**
7230
- * 产品名称代码
7242
+ * <p>产品名称代码</p>
7231
7243
  */
7232
7244
  BusinessCode?: string;
7233
7245
  /**
7234
- * 产品名称
7246
+ * <p>产品名称</p>
7235
7247
  */
7236
7248
  BusinessCodeName?: string;
7237
7249
  /**
7238
- * 消耗类型
7250
+ * <p>消耗类型</p>
7239
7251
  */
7240
7252
  ConsumptionTypeName?: string;
7241
7253
  /**
7242
- * 折前价
7254
+ * <p>折前价</p>
7243
7255
  */
7244
7256
  RealCost?: string;
7245
7257
  /**
7246
- * 费用起始时间
7258
+ * <p>费用起始时间</p>
7247
7259
  */
7248
7260
  FeeBeginTime?: string;
7249
7261
  /**
7250
- * 费用结束时间
7262
+ * <p>费用结束时间</p>
7251
7263
  */
7252
7264
  FeeEndTime?: string;
7253
7265
  /**
7254
- * 天数
7266
+ * <p>天数</p>
7255
7267
  */
7256
7268
  DayDiff?: string;
7257
7269
  /**
7258
- * 每日消耗
7270
+ * <p>每日消耗</p>
7259
7271
  */
7260
7272
  DailyTotalCost?: string;
7261
7273
  /**
7262
- * 订单号
7274
+ * <p>订单号</p>
7263
7275
  */
7264
7276
  OrderId?: string;
7265
7277
  /**
7266
- * 代金券
7278
+ * <p>代金券</p>
7267
7279
  */
7268
7280
  VoucherPayAmount?: string;
7269
7281
  /**
7270
- * 赠送金
7282
+ * <p>赠送金</p>
7271
7283
  */
7272
7284
  IncentivePayAmount?: string;
7273
7285
  /**
7274
- * 分成金
7286
+ * <p>分成金</p>
7275
7287
  */
7276
7288
  TransferPayAmount?: string;
7277
7289
  /**
7278
- * 支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识
7290
+ * <p>支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识</p>
7279
7291
  */
7280
7292
  PayerUin?: string;
7281
7293
  /**
7282
- * 使用者UIN:实际使用资源的账号 ID
7294
+ * <p>使用者UIN:实际使用资源的账号 ID</p>
7283
7295
  */
7284
7296
  OwnerUin?: string;
7285
7297
  /**
7286
- * 操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID
7298
+ * <p>操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )</p>
7287
7299
  */
7288
7300
  OperateUin?: string;
7289
7301
  /**
7290
- * 子产品编码
7302
+ * <p>子产品编码</p>
7291
7303
  */
7292
7304
  ProductCode?: string;
7293
7305
  /**
7294
- * 子产品名称:用户采购的具体产品细分类型,例如:云服务器 CVM-标准型 S1
7306
+ * <p>子产品名称:用户采购的具体产品细分类型,例如:云服务器 CVM-标准型 S1</p>
7295
7307
  */
7296
7308
  ProductCodeName?: string;
7297
7309
  /**
7298
- * 地域类型
7310
+ * <p>地域类型</p>
7299
7311
  */
7300
7312
  RegionType?: string;
7301
7313
  /**
7302
- * 地域类型名称
7314
+ * <p>地域类型名称</p>
7303
7315
  */
7304
7316
  RegionTypeName?: string;
7305
7317
  /**
7306
- * 扩展字段1
7318
+ * <p>扩展字段1</p>
7307
7319
  */
7308
7320
  Extend1?: string;
7309
7321
  /**
7310
- * 扩展字段2
7322
+ * <p>扩展字段2</p>
7311
7323
  */
7312
7324
  Extend2?: string;
7313
7325
  /**
7314
- * 扩展字段3
7326
+ * <p>扩展字段3</p>
7315
7327
  */
7316
7328
  Extend3?: string;
7317
7329
  /**
7318
- * 扩展字段4
7330
+ * <p>扩展字段4</p>
7319
7331
  */
7320
7332
  Extend4?: string;
7321
7333
  /**
7322
- * 扩展字段5
7334
+ * <p>扩展字段5</p>
7323
7335
  */
7324
7336
  Extend5?: string;
7325
7337
  /**
7326
- * 实例类型
7338
+ * <p>实例类型</p>
7327
7339
  */
7328
7340
  InstanceType?: string;
7329
7341
  /**
7330
- * 实例类型名称
7342
+ * <p>实例类型名称</p>
7331
7343
  */
7332
7344
  InstanceTypeName?: string;
7333
7345
  /**
7334
- * 扣费时间:结算扣费时间
7346
+ * <p>扣费时间:结算扣费时间</p>
7335
7347
  */
7336
7348
  PayTime?: string;
7337
7349
  /**
7338
- * 可用区:资源所属可用区,如广州三区
7350
+ * <p>可用区:资源所属可用区,如广州三区</p>
7339
7351
  */
7340
7352
  ZoneName?: string;
7341
7353
  /**
7342
- * 配置描述
7354
+ * <p>配置描述</p>
7343
7355
  */
7344
7356
  ComponentConfig?: string;
7345
7357
  /**
7346
- * 标签信息
7358
+ * <p>标签信息</p>
7347
7359
  */
7348
7360
  Tags?: string;
7361
+ /**
7362
+ * <p>待分摊金额</p><p>剩余待分摊的折后总金额</p>
7363
+ */
7364
+ LeftRealTotalCost?: string;
7349
7365
  }
7350
7366
  /**
7351
7367
  * ModifyGatherRule返回参数结构体
@@ -59,11 +59,11 @@ export declare class Client extends AbstractClient {
59
59
  /**
60
60
  * 该接口用于续费弹性单副本SSD硬盘。用户发起续费下单后,由计费系统完成扣费和到期时间更新。
61
61
  */
62
- RenewRemoteDisk(req?: RenewRemoteDiskRequest, cb?: (error: string, rep: RenewRemoteDiskResponse) => void): Promise<RenewRemoteDiskResponse>;
62
+ RenewRemoteDisk(req: RenewRemoteDiskRequest, cb?: (error: string, rep: RenewRemoteDiskResponse) => void): Promise<RenewRemoteDiskResponse>;
63
63
  /**
64
64
  * 本接口用于销毁一个或多个弹性单副本SSD硬盘。仅支持弹性盘类型,且要求硬盘处于 INITED 或 UNINIT 状态。
65
65
  */
66
- TerminateRemoteDisks(req?: TerminateRemoteDisksRequest, cb?: (error: string, rep: TerminateRemoteDisksResponse) => void): Promise<TerminateRemoteDisksResponse>;
66
+ TerminateRemoteDisks(req: TerminateRemoteDisksRequest, cb?: (error: string, rep: TerminateRemoteDisksResponse) => void): Promise<TerminateRemoteDisksResponse>;
67
67
  /**
68
68
  * 该接口用于获取续费弹性单副本SSD硬盘的订单参数,生成的订单参数由前端透传到计费系统用于续费。
69
69
  */
@@ -71,7 +71,7 @@ export declare class Client extends AbstractClient {
71
71
  /**
72
72
  * 本接口用于创建弹性单副本SSD硬盘并自动挂载到指定实例。弹性盘在创建时就需要绑定目标实例,计费回调后由CBS自身完成装箱+挂载的全流程。
73
73
  */
74
- CreateRemoteDisks(req?: CreateRemoteDisksRequest, cb?: (error: string, rep: CreateRemoteDisksResponse) => void): Promise<CreateRemoteDisksResponse>;
74
+ CreateRemoteDisks(req: CreateRemoteDisksRequest, cb?: (error: string, rep: CreateRemoteDisksResponse) => void): Promise<CreateRemoteDisksResponse>;
75
75
  /**
76
76
  * 本接口(AttachDisks)用于挂载云硬盘。
77
77
 
@@ -110,7 +110,7 @@ export declare class Client extends AbstractClient {
110
110
  /**
111
111
  * 该接口用于查询创建弹性单副本SSD硬盘的价格。支持预付费和后付费两种计费类型的询价。
112
112
  */
113
- InquirePriceCreateRemoteDisks(req?: InquirePriceCreateRemoteDisksRequest, cb?: (error: string, rep: InquirePriceCreateRemoteDisksResponse) => void): Promise<InquirePriceCreateRemoteDisksResponse>;
113
+ InquirePriceCreateRemoteDisks(req: InquirePriceCreateRemoteDisksRequest, cb?: (error: string, rep: InquirePriceCreateRemoteDisksResponse) => void): Promise<InquirePriceCreateRemoteDisksResponse>;
114
114
  /**
115
115
  * 本接口(ModifyAutoSnapshotPolicyAttribute)用于修改定期快照策略属性。
116
116
 
@@ -197,7 +197,7 @@ export declare class Client extends AbstractClient {
197
197
  /**
198
198
  * 本接口用于查询一个或多个单副本SSD硬盘的操作限制列表。
199
199
  */
200
- DescribeRemoteDisksDeniedActions(req?: DescribeRemoteDisksDeniedActionsRequest, cb?: (error: string, rep: DescribeRemoteDisksDeniedActionsResponse) => void): Promise<DescribeRemoteDisksDeniedActionsResponse>;
200
+ DescribeRemoteDisksDeniedActions(req: DescribeRemoteDisksDeniedActionsRequest, cb?: (error: string, rep: DescribeRemoteDisksDeniedActionsResponse) => void): Promise<DescribeRemoteDisksDeniedActionsResponse>;
201
201
  /**
202
202
  * 本接口(ModifySnapshotAttribute)用于修改指定快照的属性。
203
203
 
@@ -208,11 +208,11 @@ export declare class Client extends AbstractClient {
208
208
  /**
209
209
  * 本接口用于修改单副本SSD硬盘的属性,包括硬盘名称和项目ID。
210
210
  */
211
- ModifyRemoteDiskAttributes(req?: ModifyRemoteDiskAttributesRequest, cb?: (error: string, rep: ModifyRemoteDiskAttributesResponse) => void): Promise<ModifyRemoteDiskAttributesResponse>;
211
+ ModifyRemoteDiskAttributes(req: ModifyRemoteDiskAttributesRequest, cb?: (error: string, rep: ModifyRemoteDiskAttributesResponse) => void): Promise<ModifyRemoteDiskAttributesResponse>;
212
212
  /**
213
213
  * 该接口用于查询续费弹性单副本SSD硬盘的价格。
214
214
  */
215
- InquirePriceRenewRemoteDisks(req?: InquirePriceRenewRemoteDisksRequest, cb?: (error: string, rep: InquirePriceRenewRemoteDisksResponse) => void): Promise<InquirePriceRenewRemoteDisksResponse>;
215
+ InquirePriceRenewRemoteDisks(req: InquirePriceRenewRemoteDisksRequest, cb?: (error: string, rep: InquirePriceRenewRemoteDisksResponse) => void): Promise<InquirePriceRenewRemoteDisksResponse>;
216
216
  /**
217
217
  * 本接口(DescribeDiskAssociatedAutoSnapshotPolicy)用于查询云盘绑定的定期快照策略。
218
218
  */
@@ -220,7 +220,7 @@ export declare class Client extends AbstractClient {
220
220
  /**
221
221
  * 本接口用于从云服务器实例上卸载一个或多个弹性单副本SSD硬盘。仅支持弹性盘类型。
222
222
  */
223
- DetachRemoteDisks(req?: DetachRemoteDisksRequest, cb?: (error: string, rep: DetachRemoteDisksResponse) => void): Promise<DetachRemoteDisksResponse>;
223
+ DetachRemoteDisks(req: DetachRemoteDisksRequest, cb?: (error: string, rep: DetachRemoteDisksResponse) => void): Promise<DetachRemoteDisksResponse>;
224
224
  /**
225
225
  * 本接口(BindAutoSnapshotPolicy)用于绑定云硬盘到指定的定期快照策略。
226
226
 
@@ -328,7 +328,7 @@ export declare class Client extends AbstractClient {
328
328
  /**
329
329
  * 本接口用于挂载一个或多个弹性单副本SSD硬盘到指定的云服务器实例上。仅支持弹性盘类型。
330
330
  */
331
- AttachRemoteDisks(req?: AttachRemoteDisksRequest, cb?: (error: string, rep: AttachRemoteDisksResponse) => void): Promise<AttachRemoteDisksResponse>;
331
+ AttachRemoteDisks(req: AttachRemoteDisksRequest, cb?: (error: string, rep: AttachRemoteDisksResponse) => void): Promise<AttachRemoteDisksResponse>;
332
332
  /**
333
333
  * 本接口(ResizeDisk)用于扩容云硬盘。
334
334
 
@@ -10,7 +10,20 @@ export interface AttachRemoteDisksResponse {
10
10
  /**
11
11
  * ModifyRemoteDiskAttributes请求参数结构体
12
12
  */
13
- export type ModifyRemoteDiskAttributesRequest = null;
13
+ export interface ModifyRemoteDiskAttributesRequest {
14
+ /**
15
+ * <p>一个或多个待操作的单副本SSD硬盘ID。如果传入多个单副本SSD硬盘ID,只支持所有硬盘修改为同一属性。</p>
16
+ */
17
+ RemoteDiskIds: Array<string>;
18
+ /**
19
+ * <p>新的单副本SSD硬盘名称</p>
20
+ */
21
+ DiskName?: string;
22
+ /**
23
+ * <p>新的单副本SSD硬盘项目ID。</p>
24
+ */
25
+ ProjectId?: number;
26
+ }
14
27
  /**
15
28
  * ModifyDiskExtraPerformance请求参数结构体
16
29
  */
@@ -247,7 +260,16 @@ export interface ModifySnapshotsSharePermissionRequest {
247
260
  /**
248
261
  * AttachRemoteDisks请求参数结构体
249
262
  */
250
- export type AttachRemoteDisksRequest = null;
263
+ export interface AttachRemoteDisksRequest {
264
+ /**
265
+ * <p>指定待挂载单副本SSD硬盘的CVM实例。</p>
266
+ */
267
+ InstanceId: string;
268
+ /**
269
+ * <p>一个或多个待挂载的单副本SSD硬盘ID。</p>
270
+ */
271
+ RemoteDiskIds: Array<string>;
272
+ }
251
273
  /**
252
274
  * CopySnapshotCrossRegions返回参数结构体
253
275
  */
@@ -366,11 +388,25 @@ export interface DescribeAutoSnapshotPoliciesRequest {
366
388
  /**
367
389
  * InquirePriceRenewRemoteDisks请求参数结构体
368
390
  */
369
- export type InquirePriceRenewRemoteDisksRequest = null;
391
+ export interface InquirePriceRenewRemoteDisksRequest {
392
+ /**
393
+ * <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月云盘的购买时长。如果在该参数中指定CurInstanceDeadline,则会按对齐到子机到期时间来续费。如果是批量续费询价,该参数与Disks参数一一对应,元素数量需保持一致。</p>
394
+ */
395
+ DiskChargePrepaidSet: Array<RemoteDiskChargePrepaid>;
396
+ /**
397
+ * <p>一个或多个单副本SSD硬盘ID。</p>
398
+ */
399
+ RemoteDiskIds: Array<string>;
400
+ }
370
401
  /**
371
402
  * TerminateRemoteDisks请求参数结构体
372
403
  */
373
- export type TerminateRemoteDisksRequest = null;
404
+ export interface TerminateRemoteDisksRequest {
405
+ /**
406
+ * <p>一个或多个单副本SSD硬盘ID。</p>
407
+ */
408
+ RemoteDiskIds: Array<string>;
409
+ }
374
410
  /**
375
411
  * DescribeRemoteDisks请求参数结构体
376
412
  */
@@ -500,7 +536,12 @@ export interface RenewDiskRequest {
500
536
  /**
501
537
  * DescribeRemoteDisksDeniedActions请求参数结构体
502
538
  */
503
- export type DescribeRemoteDisksDeniedActionsRequest = null;
539
+ export interface DescribeRemoteDisksDeniedActionsRequest {
540
+ /**
541
+ * <p>单副本SSD硬盘ID列表。每次批量请求单副本SSD硬盘的上限为 100。</p>
542
+ */
543
+ RemoteDiskIds: Array<string>;
544
+ }
504
545
  /**
505
546
  * InquirePriceModifyDiskExtraPerformance返回参数结构体
506
547
  */
@@ -1440,7 +1481,24 @@ export interface DescribeInstancesDiskNumResponse {
1440
1481
  /**
1441
1482
  * InquirePriceCreateRemoteDisks请求参数结构体
1442
1483
  */
1443
- export type InquirePriceCreateRemoteDisksRequest = null;
1484
+ export interface InquirePriceCreateRemoteDisksRequest {
1485
+ /**
1486
+ * <p>单副本SSD硬盘计费类型。</p><p>枚举值:</p><ul><li>PREPAID: 预付费,即包年包月</li><li>POSTPAID_BY_HOUR: 按小时后付费</li></ul>
1487
+ */
1488
+ DiskChargeType: string;
1489
+ /**
1490
+ * <p>单副本SSD硬盘大小,单位为GiB。</p><p>取值范围:[2000, 7000]</p>
1491
+ */
1492
+ DiskSize: number;
1493
+ /**
1494
+ * <p>预付费模式,即包年包月相关参数设置。通过该参数指定包年包月云盘的购买时长、是否设置自动续费等属性。 创建预付费云盘该参数必传,创建按小时后付费云盘无需传该参数。</p>
1495
+ */
1496
+ DiskChargePrepaid?: RemoteDiskChargePrepaid;
1497
+ /**
1498
+ * <p>购买单副本SSD硬盘的数量。不填则默认为1。</p>
1499
+ */
1500
+ DiskCount?: number;
1501
+ }
1444
1502
  /**
1445
1503
  * ResizeDisk请求参数结构体
1446
1504
  */
@@ -1504,7 +1562,36 @@ export interface InitializeDisksRequest {
1504
1562
  /**
1505
1563
  * CreateRemoteDisks请求参数结构体
1506
1564
  */
1507
- export type CreateRemoteDisksRequest = null;
1565
+ export interface CreateRemoteDisksRequest {
1566
+ /**
1567
+ * <p>单副本SSD硬盘计费类型。 </p><p>枚举值:</p><ul><li>PREPAID: 预付费,即包年包月</li><li>POSTPAID_BY_HOUR: 按小时后付费</li></ul>
1568
+ */
1569
+ DiskChargeType: string;
1570
+ /**
1571
+ * <p>单副本SSD硬盘大小,单位为GiB。</p><p>取值范围:[2000, 7000]</p>
1572
+ */
1573
+ DiskSize: number;
1574
+ /**
1575
+ * <p>待挂载单副本SSD硬盘的CVM实例ID。</p>
1576
+ */
1577
+ InstanceId: string;
1578
+ /**
1579
+ * <p>实例所在的位置。通过该参数可以指定实例所属可用区,所属项目。若不指定项目,将在默认项目下进行创建。</p>
1580
+ */
1581
+ Placement: Placement;
1582
+ /**
1583
+ * <p>预付费模式,即包年包月相关参数设置。通过该参数指定包年包月单副本SSD硬盘的购买时长、是否设置自动续费等属性。 创建预付费单副本SSD硬盘该参数必传,创建按小时后付费单副本SSD硬盘无需传该参数。</p>
1584
+ */
1585
+ DiskChargePrepaid?: RemoteDiskChargePrepaid;
1586
+ /**
1587
+ * <p>创建单副本SSD硬盘数量,不传则默认为1。</p>
1588
+ */
1589
+ DiskCount?: number;
1590
+ /**
1591
+ * <p>单副本SSD的显示名称。</p>
1592
+ */
1593
+ DiskName?: string;
1594
+ }
1508
1595
  /**
1509
1596
  * 云盘配置。
1510
1597
  */
@@ -1698,6 +1785,29 @@ export interface DeleteSnapshotGroupResponse {
1698
1785
  */
1699
1786
  RequestId?: string;
1700
1787
  }
1788
+ /**
1789
+ * 描述了单副本SSD硬盘的预付费计费模式。
1790
+ */
1791
+ export interface RemoteDiskChargePrepaid {
1792
+ /**
1793
+ * 购买单副本SSD硬盘的时长,默认单位为月,取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。
1794
+ */
1795
+ Period: number;
1796
+ /**
1797
+ * 需要将单副本SSD硬盘的到期时间与挂载的子机对齐时,可传入该参数。该参数表示子机当前的到期时间,此时Period如果传入,则表示子机需要续费的时长,单副本SSD硬盘会自动按对齐到子机续费后的到期时间续费。
1798
+ */
1799
+ CurInstanceDeadline?: string;
1800
+ /**
1801
+ * 自动续费标识。取值范围:
1802
+ <ul>
1803
+ <li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li>
1804
+ <li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li>
1805
+ <li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li>
1806
+ </ul>
1807
+ 默认取值:NOTIFY_AND_MANUAL_RENEW。
1808
+ */
1809
+ RenewFlag?: string;
1810
+ }
1701
1811
  /**
1702
1812
  * ApplySnapshotGroup返回参数结构体
1703
1813
  */
@@ -2219,7 +2329,16 @@ export interface ModifyDiskExtraPerformanceResponse {
2219
2329
  /**
2220
2330
  * RenewRemoteDisk请求参数结构体
2221
2331
  */
2222
- export type RenewRemoteDiskRequest = null;
2332
+ export interface RenewRemoteDiskRequest {
2333
+ /**
2334
+ * <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月单副本SSD硬盘的续费时长。 在云硬盘与挂载的实例一起续费的场景下,可以指定参数CurInstanceDeadline,此时单副本SSD硬盘会按对齐到实例续费后的到期时间来续费。</p>
2335
+ */
2336
+ DiskChargePrepaid: RemoteDiskChargePrepaid;
2337
+ /**
2338
+ * <p>单副本SSD硬盘ID。</p>
2339
+ */
2340
+ RemoteDiskId: string;
2341
+ }
2223
2342
  /**
2224
2343
  * InquirePriceModifyDiskExtraPerformance请求参数结构体
2225
2344
  */
@@ -2670,7 +2789,20 @@ export interface Price {
2670
2789
  /**
2671
2790
  * DetachRemoteDisks请求参数结构体
2672
2791
  */
2673
- export type DetachRemoteDisksRequest = null;
2792
+ export interface DetachRemoteDisksRequest {
2793
+ /**
2794
+ * <p>指定从特定CVM实例上卸载单副本SSD硬盘。</p>
2795
+ */
2796
+ InstanceId: string;
2797
+ /**
2798
+ * <p>一个或多个将要卸载的单副本SSD硬盘ID。</p>
2799
+ */
2800
+ RemoteDiskIds: Array<string>;
2801
+ /**
2802
+ * <p>强制解挂,内部使用。</p>
2803
+ */
2804
+ ForceDetach?: boolean;
2805
+ }
2674
2806
  /**
2675
2807
  * ApplySnapshot请求参数结构体
2676
2808
  */
@@ -1503,7 +1503,7 @@ export interface DescribeBillingDataRequest {
1503
1503
  */
1504
1504
  Area?: string;
1505
1505
  /**
1506
- * <p>Area 为 overseas 时,指定国家/地区查询<br>省份、国家/地区编码可以查看 <a href="https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84">省份编码映射</a><br>不填充时,查询所有国家/地区</p>
1506
+ * <p>Area 为 overseas 时,仅支持地区查询<br>省份、国家/地区编码可以查看 <a href="https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84">省份编码映射</a><br>不填充时,查询所有国家/地区</p>
1507
1507
  */
1508
1508
  District?: number;
1509
1509
  /**