tencentcloud-sdk-nodejs 4.0.948 → 4.0.950
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 +165 -0
- package/SERVICE_CHANGELOG.md +158 -39
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +18 -6
- package/src/services/ca/v20230228/ca_models.ts +5 -5
- package/src/services/ccc/v20200210/ccc_client.ts +40 -15
- package/src/services/ccc/v20200210/ccc_models.ts +90 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_client.ts +14 -2
- package/src/services/cvm/v20170312/cvm_models.ts +91 -27
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +42 -42
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -3
- package/src/services/mqtt/v20240516/mqtt_models.ts +1 -1
- package/src/services/mrs/v20200910/mrs_client.ts +3 -1
- package/src/services/mrs/v20200910/mrs_models.ts +41 -5
- package/src/services/ssl/v20191205/ssl_client.ts +1 -1
- package/src/services/ssl/v20191205/ssl_models.ts +10 -1
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +1 -0
- package/src/services/vpc/v20170312/vpc_models.ts +20 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +18 -6
- package/tencentcloud/services/ca/v20230228/ca_models.d.ts +5 -5
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +15 -7
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +20 -8
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +85 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +89 -27
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +42 -42
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +42 -42
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -3
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +1 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +39 -5
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +19 -0
- package/test/ccc.v20200210.test.js +24 -4
- package/test/cvm.v20170312.test.js +10 -0
|
@@ -93,6 +93,7 @@ import {
|
|
|
93
93
|
ModifyExtensionRequest,
|
|
94
94
|
CreatePredictiveDialingCampaignResponse,
|
|
95
95
|
UpdatePredictiveDialingCampaignResponse,
|
|
96
|
+
ModifyOwnNumberApplyRequest,
|
|
96
97
|
PSTNSessionInfo,
|
|
97
98
|
Message,
|
|
98
99
|
AbortPredictiveDialingCampaignResponse,
|
|
@@ -112,6 +113,7 @@ import {
|
|
|
112
113
|
DeleteStaffRequest,
|
|
113
114
|
CallInMetrics,
|
|
114
115
|
DescribeCCCBuyInfoListRequest,
|
|
116
|
+
OwnNumberApplyDetailItem,
|
|
115
117
|
DescribePredictiveDialingCampaignsResponse,
|
|
116
118
|
DescribeTelCallInfoRequest,
|
|
117
119
|
Variable,
|
|
@@ -121,6 +123,7 @@ import {
|
|
|
121
123
|
CreateCarrierPrivilegeNumberApplicantRequest,
|
|
122
124
|
Filter,
|
|
123
125
|
UnbindStaffSkillGroupListRequest,
|
|
126
|
+
CreateOwnNumberApplyResponse,
|
|
124
127
|
DescribePredictiveDialingCampaignsElement,
|
|
125
128
|
HangUpCallResponse,
|
|
126
129
|
StopAutoCalloutTaskResponse,
|
|
@@ -141,6 +144,7 @@ import {
|
|
|
141
144
|
UploadIvrAudioFailedInfo,
|
|
142
145
|
DescribeCallInMetricsResponse,
|
|
143
146
|
ModifyCompanyApplyRequest,
|
|
147
|
+
ModifyOwnNumberApplyResponse,
|
|
144
148
|
CreateAICallResponse,
|
|
145
149
|
DescribeCompanyListRequest,
|
|
146
150
|
CreateIVRSessionResponse,
|
|
@@ -173,6 +177,7 @@ import {
|
|
|
173
177
|
CreateSDKLoginTokenRequest,
|
|
174
178
|
DescribeActiveCarrierPrivilegeNumberRequest,
|
|
175
179
|
StaffBuyInfo,
|
|
180
|
+
CreateOwnNumberApplyRequest,
|
|
176
181
|
DescribeCallInMetricsRequest,
|
|
177
182
|
DescribeExtensionResponse,
|
|
178
183
|
} from "./ccc_models"
|
|
@@ -226,6 +231,16 @@ export class Client extends AbstractClient {
|
|
|
226
231
|
return this.request("CreateAICall", req, cb)
|
|
227
232
|
}
|
|
228
233
|
|
|
234
|
+
/**
|
|
235
|
+
* 停止自动外呼任务
|
|
236
|
+
*/
|
|
237
|
+
async StopAutoCalloutTask(
|
|
238
|
+
req: StopAutoCalloutTaskRequest,
|
|
239
|
+
cb?: (error: string, rep: StopAutoCalloutTaskResponse) => void
|
|
240
|
+
): Promise<StopAutoCalloutTaskResponse> {
|
|
241
|
+
return this.request("StopAutoCalloutTask", req, cb)
|
|
242
|
+
}
|
|
243
|
+
|
|
229
244
|
/**
|
|
230
245
|
* 停用号码
|
|
231
246
|
*/
|
|
@@ -256,6 +271,18 @@ export class Client extends AbstractClient {
|
|
|
256
271
|
return this.request("DeleteExtension", req, cb)
|
|
257
272
|
}
|
|
258
273
|
|
|
274
|
+
/**
|
|
275
|
+
* 获取指定服务记录文本聊天内容,需要先使用查询在线客服记录(DescribeIMCdrs) API 获取服务记录 SessionId。
|
|
276
|
+
|
|
277
|
+
文本聊天记录只保存了 1 年内的,1 年之前会自动清理。
|
|
278
|
+
*/
|
|
279
|
+
async DescribeChatMessages(
|
|
280
|
+
req: DescribeChatMessagesRequest,
|
|
281
|
+
cb?: (error: string, rep: DescribeChatMessagesResponse) => void
|
|
282
|
+
): Promise<DescribeChatMessagesResponse> {
|
|
283
|
+
return this.request("DescribeChatMessages", req, cb)
|
|
284
|
+
}
|
|
285
|
+
|
|
259
286
|
/**
|
|
260
287
|
* 绑定座席所属技能组
|
|
261
288
|
*/
|
|
@@ -457,13 +484,13 @@ export class Client extends AbstractClient {
|
|
|
457
484
|
}
|
|
458
485
|
|
|
459
486
|
/**
|
|
460
|
-
*
|
|
487
|
+
* 修改客户自携号码审批单
|
|
461
488
|
*/
|
|
462
|
-
async
|
|
463
|
-
req:
|
|
464
|
-
cb?: (error: string, rep:
|
|
465
|
-
): Promise<
|
|
466
|
-
return this.request("
|
|
489
|
+
async ModifyOwnNumberApply(
|
|
490
|
+
req: ModifyOwnNumberApplyRequest,
|
|
491
|
+
cb?: (error: string, rep: ModifyOwnNumberApplyResponse) => void
|
|
492
|
+
): Promise<ModifyOwnNumberApplyResponse> {
|
|
493
|
+
return this.request("ModifyOwnNumberApply", req, cb)
|
|
467
494
|
}
|
|
468
495
|
|
|
469
496
|
/**
|
|
@@ -497,15 +524,13 @@ export class Client extends AbstractClient {
|
|
|
497
524
|
}
|
|
498
525
|
|
|
499
526
|
/**
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
): Promise<DescribeChatMessagesResponse> {
|
|
508
|
-
return this.request("DescribeChatMessages", req, cb)
|
|
527
|
+
* 创建客户自携号码接入审核
|
|
528
|
+
*/
|
|
529
|
+
async CreateOwnNumberApply(
|
|
530
|
+
req: CreateOwnNumberApplyRequest,
|
|
531
|
+
cb?: (error: string, rep: CreateOwnNumberApplyResponse) => void
|
|
532
|
+
): Promise<CreateOwnNumberApplyResponse> {
|
|
533
|
+
return this.request("CreateOwnNumberApply", req, cb)
|
|
509
534
|
}
|
|
510
535
|
|
|
511
536
|
/**
|
|
@@ -1982,6 +1982,28 @@ export interface UpdatePredictiveDialingCampaignResponse {
|
|
|
1982
1982
|
RequestId?: string
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* ModifyOwnNumberApply请求参数结构体
|
|
1987
|
+
*/
|
|
1988
|
+
export interface ModifyOwnNumberApplyRequest {
|
|
1989
|
+
/**
|
|
1990
|
+
* 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
1991
|
+
*/
|
|
1992
|
+
SdkAppId: number
|
|
1993
|
+
/**
|
|
1994
|
+
* 线路相关参数
|
|
1995
|
+
*/
|
|
1996
|
+
DetailList: Array<OwnNumberApplyDetailItem>
|
|
1997
|
+
/**
|
|
1998
|
+
* 审批单号
|
|
1999
|
+
*/
|
|
2000
|
+
ApplyId?: number
|
|
2001
|
+
/**
|
|
2002
|
+
* 送号前缀
|
|
2003
|
+
*/
|
|
2004
|
+
Prefix?: string
|
|
2005
|
+
}
|
|
2006
|
+
|
|
1985
2007
|
/**
|
|
1986
2008
|
* PSTN 会话信息
|
|
1987
2009
|
*/
|
|
@@ -2799,6 +2821,28 @@ export interface DescribeCCCBuyInfoListRequest {
|
|
|
2799
2821
|
SdkAppIds?: Array<number | bigint>
|
|
2800
2822
|
}
|
|
2801
2823
|
|
|
2824
|
+
/**
|
|
2825
|
+
* 用户自带号码审批明细数据类型
|
|
2826
|
+
*/
|
|
2827
|
+
export interface OwnNumberApplyDetailItem {
|
|
2828
|
+
/**
|
|
2829
|
+
* 号码类型:0-呼入|1-呼出|2-呼入呼出
|
|
2830
|
+
*/
|
|
2831
|
+
CallType: number
|
|
2832
|
+
/**
|
|
2833
|
+
* 线路号码
|
|
2834
|
+
*/
|
|
2835
|
+
PhoneNumber: string
|
|
2836
|
+
/**
|
|
2837
|
+
* 最大并发呼叫数
|
|
2838
|
+
*/
|
|
2839
|
+
MaxCallCount: number
|
|
2840
|
+
/**
|
|
2841
|
+
* 每秒最大并发数
|
|
2842
|
+
*/
|
|
2843
|
+
MaxCallPSec: number
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2802
2846
|
/**
|
|
2803
2847
|
* DescribePredictiveDialingCampaigns返回参数结构体
|
|
2804
2848
|
*/
|
|
@@ -2963,6 +3007,20 @@ export interface UnbindStaffSkillGroupListRequest {
|
|
|
2963
3007
|
SkillGroupList: Array<number | bigint>
|
|
2964
3008
|
}
|
|
2965
3009
|
|
|
3010
|
+
/**
|
|
3011
|
+
* CreateOwnNumberApply返回参数结构体
|
|
3012
|
+
*/
|
|
3013
|
+
export interface CreateOwnNumberApplyResponse {
|
|
3014
|
+
/**
|
|
3015
|
+
* 审批单号
|
|
3016
|
+
*/
|
|
3017
|
+
ApplyId?: number
|
|
3018
|
+
/**
|
|
3019
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3020
|
+
*/
|
|
3021
|
+
RequestId?: string
|
|
3022
|
+
}
|
|
3023
|
+
|
|
2966
3024
|
/**
|
|
2967
3025
|
* 查询预测式外呼任务列表元素
|
|
2968
3026
|
*/
|
|
@@ -3359,6 +3417,16 @@ export interface ModifyCompanyApplyRequest {
|
|
|
3359
3417
|
CompanyInfo: CompanyApplyInfo
|
|
3360
3418
|
}
|
|
3361
3419
|
|
|
3420
|
+
/**
|
|
3421
|
+
* ModifyOwnNumberApply返回参数结构体
|
|
3422
|
+
*/
|
|
3423
|
+
export interface ModifyOwnNumberApplyResponse {
|
|
3424
|
+
/**
|
|
3425
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3426
|
+
*/
|
|
3427
|
+
RequestId?: string
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3362
3430
|
/**
|
|
3363
3431
|
* CreateAICall返回参数结构体
|
|
3364
3432
|
*/
|
|
@@ -4065,6 +4133,28 @@ export interface StaffBuyInfo {
|
|
|
4065
4133
|
SipNum?: number
|
|
4066
4134
|
}
|
|
4067
4135
|
|
|
4136
|
+
/**
|
|
4137
|
+
* CreateOwnNumberApply请求参数结构体
|
|
4138
|
+
*/
|
|
4139
|
+
export interface CreateOwnNumberApplyRequest {
|
|
4140
|
+
/**
|
|
4141
|
+
* 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
4142
|
+
*/
|
|
4143
|
+
SdkAppId: number
|
|
4144
|
+
/**
|
|
4145
|
+
* SIP通道ID
|
|
4146
|
+
*/
|
|
4147
|
+
SipTrunkId: number
|
|
4148
|
+
/**
|
|
4149
|
+
* 线路相关参数
|
|
4150
|
+
*/
|
|
4151
|
+
DetailList: Array<OwnNumberApplyDetailItem>
|
|
4152
|
+
/**
|
|
4153
|
+
* 送号前缀
|
|
4154
|
+
*/
|
|
4155
|
+
Prefix?: string
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4068
4158
|
/**
|
|
4069
4159
|
* DescribeCallInMetrics请求参数结构体
|
|
4070
4160
|
*/
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
InstanceTypeConfig,
|
|
57
57
|
RepairTaskControlRequest,
|
|
58
58
|
AllocateHostsRequest,
|
|
59
|
-
|
|
59
|
+
DescribeImageFromFamilyRequest,
|
|
60
60
|
DescribeRegionsResponse,
|
|
61
61
|
PurchaseReservedInstancesOfferingRequest,
|
|
62
62
|
RebootInstancesRequest,
|
|
@@ -251,13 +251,14 @@ import {
|
|
|
251
251
|
DescribeInstanceTypeConfigsRequest,
|
|
252
252
|
RegionInfo,
|
|
253
253
|
DescribeReservedInstancesConfigInfosResponse,
|
|
254
|
-
|
|
254
|
+
DescribeImageFromFamilyResponse,
|
|
255
255
|
ModifyLaunchTemplateDefaultVersionRequest,
|
|
256
256
|
ModifyInstancesAttributeResponse,
|
|
257
257
|
ChcHostDeniedActions,
|
|
258
258
|
DescribeImagesRequest,
|
|
259
259
|
InquiryPriceRenewHostsResponse,
|
|
260
260
|
ResizeInstanceDisksResponse,
|
|
261
|
+
LoginSettings,
|
|
261
262
|
InquirePricePurchaseReservedInstancesOfferingResponse,
|
|
262
263
|
DisassociateSecurityGroupsRequest,
|
|
263
264
|
ModifyHostsAttributeRequest,
|
|
@@ -290,6 +291,7 @@ import {
|
|
|
290
291
|
ModifyInstancesProjectResponse,
|
|
291
292
|
InstanceChargePrepaid,
|
|
292
293
|
Price,
|
|
294
|
+
InquiryPriceResetInstancesTypeRequest,
|
|
293
295
|
} from "./cvm_models"
|
|
294
296
|
|
|
295
297
|
/**
|
|
@@ -1173,6 +1175,16 @@ https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F
|
|
|
1173
1175
|
return this.request("InquiryPriceRenewHosts", req, cb)
|
|
1174
1176
|
}
|
|
1175
1177
|
|
|
1178
|
+
/**
|
|
1179
|
+
* 本接口(DescribeImageFromFamily) 用于查看镜像族内可用镜像信息。
|
|
1180
|
+
*/
|
|
1181
|
+
async DescribeImageFromFamily(
|
|
1182
|
+
req: DescribeImageFromFamilyRequest,
|
|
1183
|
+
cb?: (error: string, rep: DescribeImageFromFamilyResponse) => void
|
|
1184
|
+
): Promise<DescribeImageFromFamilyResponse> {
|
|
1185
|
+
return this.request("DescribeImageFromFamily", req, cb)
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1176
1188
|
/**
|
|
1177
1189
|
* 本接口 (StopInstances) 用于关闭一个或多个实例。
|
|
1178
1190
|
|
|
@@ -160,7 +160,7 @@ export interface InquiryPriceRenewHostsRequest {
|
|
|
160
160
|
*/
|
|
161
161
|
HostChargePrepaid: ChargePrepaid
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。如果检查不通过,则返回对应错误码;如果检查通过,则返回RequestId.false(默认):发送正常请求,通过检查后直接创建实例
|
|
164
164
|
*/
|
|
165
165
|
DryRun?: boolean
|
|
166
166
|
}
|
|
@@ -961,24 +961,13 @@ export interface AllocateHostsRequest {
|
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
|
-
*
|
|
964
|
+
* DescribeImageFromFamily请求参数结构体
|
|
965
965
|
*/
|
|
966
|
-
export interface
|
|
967
|
-
/**
|
|
968
|
-
* 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
969
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
970
|
-
*/
|
|
971
|
-
Password?: string
|
|
972
|
-
/**
|
|
973
|
-
* 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
|
|
974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
975
|
-
*/
|
|
976
|
-
KeyIds?: Array<string>
|
|
966
|
+
export interface DescribeImageFromFamilyRequest {
|
|
977
967
|
/**
|
|
978
|
-
*
|
|
979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
968
|
+
* 镜像族
|
|
980
969
|
*/
|
|
981
|
-
|
|
970
|
+
ImageFamily?: string
|
|
982
971
|
}
|
|
983
972
|
|
|
984
973
|
/**
|
|
@@ -1499,6 +1488,14 @@ export interface ModifyImageAttributeRequest {
|
|
|
1499
1488
|
* 设置新的镜像描述;必须满足下列限制: <li> 不得超过 256 个字符。</li>
|
|
1500
1489
|
*/
|
|
1501
1490
|
ImageDescription?: string
|
|
1491
|
+
/**
|
|
1492
|
+
* 设置镜像族;
|
|
1493
|
+
*/
|
|
1494
|
+
ImageFamily?: string
|
|
1495
|
+
/**
|
|
1496
|
+
* 设置镜像是否废弃;
|
|
1497
|
+
*/
|
|
1498
|
+
ImageDeprecated?: boolean
|
|
1502
1499
|
}
|
|
1503
1500
|
|
|
1504
1501
|
/**
|
|
@@ -1645,19 +1642,29 @@ export interface ReservedInstancePrice {
|
|
|
1645
1642
|
/**
|
|
1646
1643
|
* 预支合计费用的原价,单位:元。
|
|
1647
1644
|
*/
|
|
1648
|
-
OriginalFixedPrice
|
|
1645
|
+
OriginalFixedPrice?: number
|
|
1649
1646
|
/**
|
|
1650
1647
|
* 预支合计费用的折扣价,单位:元。
|
|
1651
1648
|
*/
|
|
1652
|
-
DiscountFixedPrice
|
|
1649
|
+
DiscountFixedPrice?: number
|
|
1653
1650
|
/**
|
|
1654
1651
|
* 后续合计费用的原价,单位:元/小时
|
|
1655
1652
|
*/
|
|
1656
|
-
OriginalUsagePrice
|
|
1653
|
+
OriginalUsagePrice?: number
|
|
1657
1654
|
/**
|
|
1658
1655
|
* 后续合计费用的折扣价,单位:元/小时
|
|
1659
1656
|
*/
|
|
1660
|
-
DiscountUsagePrice
|
|
1657
|
+
DiscountUsagePrice?: number
|
|
1658
|
+
/**
|
|
1659
|
+
* 预支费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
|
|
1660
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1661
|
+
*/
|
|
1662
|
+
FixedPriceDiscount?: number
|
|
1663
|
+
/**
|
|
1664
|
+
* 后续费用的折扣,如20.0代表2折。 注意:此字段可能返回 null,表示取不到有效值。
|
|
1665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1666
|
+
*/
|
|
1667
|
+
UsagePriceDiscount?: number
|
|
1661
1668
|
}
|
|
1662
1669
|
|
|
1663
1670
|
/**
|
|
@@ -2534,6 +2541,15 @@ IMPORTFAILED-导入失败
|
|
|
2534
2541
|
* 镜像许可类型
|
|
2535
2542
|
*/
|
|
2536
2543
|
LicenseType?: string
|
|
2544
|
+
/**
|
|
2545
|
+
* 镜像族
|
|
2546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2547
|
+
*/
|
|
2548
|
+
ImageFamily?: string
|
|
2549
|
+
/**
|
|
2550
|
+
* 镜像是否废弃
|
|
2551
|
+
*/
|
|
2552
|
+
ImageDeprecated?: boolean
|
|
2537
2553
|
}
|
|
2538
2554
|
|
|
2539
2555
|
/**
|
|
@@ -3220,7 +3236,7 @@ export interface CreateImageRequest {
|
|
|
3220
3236
|
ImageDescription?: string
|
|
3221
3237
|
/**
|
|
3222
3238
|
* 是否执行强制关机以制作镜像。
|
|
3223
|
-
取值范围:<br><li>true
|
|
3239
|
+
取值范围:<br><li>true:表示关机之后制作镜像</li><br><li>false:表示开机状态制作镜像</li><br><br>默认取值:false。<br><br>开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
|
3224
3240
|
*/
|
|
3225
3241
|
ForcePoweroff?: string
|
|
3226
3242
|
/**
|
|
@@ -3246,6 +3262,10 @@ export interface CreateImageRequest {
|
|
|
3246
3262
|
* 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
|
3247
3263
|
*/
|
|
3248
3264
|
TagSpecification?: Array<TagSpecification>
|
|
3265
|
+
/**
|
|
3266
|
+
* 镜像族
|
|
3267
|
+
*/
|
|
3268
|
+
ImageFamily?: string
|
|
3249
3269
|
}
|
|
3250
3270
|
|
|
3251
3271
|
/**
|
|
@@ -5334,6 +5354,14 @@ export interface ReservedInstancePriceItem {
|
|
|
5334
5354
|
返回项: Linux 。
|
|
5335
5355
|
*/
|
|
5336
5356
|
ProductDescription?: string
|
|
5357
|
+
/**
|
|
5358
|
+
* 预支合计费用,单位:元。
|
|
5359
|
+
*/
|
|
5360
|
+
DiscountUsagePrice?: number
|
|
5361
|
+
/**
|
|
5362
|
+
* 后续合计费用的折扣价,单位:元/小时
|
|
5363
|
+
*/
|
|
5364
|
+
DiscountFixedPrice?: number
|
|
5337
5365
|
}
|
|
5338
5366
|
|
|
5339
5367
|
/**
|
|
@@ -5665,17 +5693,18 @@ export interface DescribeReservedInstancesConfigInfosResponse {
|
|
|
5665
5693
|
}
|
|
5666
5694
|
|
|
5667
5695
|
/**
|
|
5668
|
-
*
|
|
5696
|
+
* DescribeImageFromFamily返回参数结构体
|
|
5669
5697
|
*/
|
|
5670
|
-
export interface
|
|
5698
|
+
export interface DescribeImageFromFamilyResponse {
|
|
5671
5699
|
/**
|
|
5672
|
-
*
|
|
5700
|
+
* 镜像信息,没有可用镜像是返回为空
|
|
5701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5673
5702
|
*/
|
|
5674
|
-
|
|
5703
|
+
Image?: Image
|
|
5675
5704
|
/**
|
|
5676
|
-
*
|
|
5705
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5677
5706
|
*/
|
|
5678
|
-
|
|
5707
|
+
RequestId?: string
|
|
5679
5708
|
}
|
|
5680
5709
|
|
|
5681
5710
|
/**
|
|
@@ -5785,6 +5814,27 @@ export interface ResizeInstanceDisksResponse {
|
|
|
5785
5814
|
RequestId?: string
|
|
5786
5815
|
}
|
|
5787
5816
|
|
|
5817
|
+
/**
|
|
5818
|
+
* 描述了实例登录相关配置与信息。
|
|
5819
|
+
*/
|
|
5820
|
+
export interface LoginSettings {
|
|
5821
|
+
/**
|
|
5822
|
+
* 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
5823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5824
|
+
*/
|
|
5825
|
+
Password?: string
|
|
5826
|
+
/**
|
|
5827
|
+
* 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
|
|
5828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5829
|
+
*/
|
|
5830
|
+
KeyIds?: Array<string>
|
|
5831
|
+
/**
|
|
5832
|
+
* 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
|
|
5833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5834
|
+
*/
|
|
5835
|
+
KeepImageLogin?: string
|
|
5836
|
+
}
|
|
5837
|
+
|
|
5788
5838
|
/**
|
|
5789
5839
|
* InquirePricePurchaseReservedInstancesOffering返回参数结构体
|
|
5790
5840
|
*/
|
|
@@ -6409,3 +6459,17 @@ export interface Price {
|
|
|
6409
6459
|
*/
|
|
6410
6460
|
BandwidthPrice?: ItemPrice
|
|
6411
6461
|
}
|
|
6462
|
+
|
|
6463
|
+
/**
|
|
6464
|
+
* InquiryPriceResetInstancesType请求参数结构体
|
|
6465
|
+
*/
|
|
6466
|
+
export interface InquiryPriceResetInstancesTypeRequest {
|
|
6467
|
+
/**
|
|
6468
|
+
* 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。本接口每次请求批量实例的上限为1。
|
|
6469
|
+
*/
|
|
6470
|
+
InstanceIds: Array<string>
|
|
6471
|
+
/**
|
|
6472
|
+
* 实例机型。不同实例机型指定了不同的资源规格,具体取值可参见附表[实例资源规格](https://cloud.tencent.com/document/product/213/11518)对照表,也可以调用查询[实例资源规格列表](https://cloud.tencent.com/document/product/213/15749)接口获得最新的规格表。
|
|
6473
|
+
*/
|
|
6474
|
+
InstanceType: string
|
|
6475
|
+
}
|