tencentcloud-sdk-nodejs 4.0.957 → 4.0.959
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 +195 -0
- package/SERVICE_CHANGELOG.md +429 -218
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20221115/bma_models.ts +8 -0
- package/src/services/cam/v20190116/cam_models.ts +18 -18
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +16 -1
- package/src/services/cfg/v20210820/cfg_models.ts +10 -0
- package/src/services/cls/v20201016/cls_client.ts +3 -2
- package/src/services/cls/v20201016/cls_models.ts +40 -10
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +10 -6
- package/src/services/dasb/v20191018/dasb_models.ts +10 -6
- package/src/services/dnspod/v20210323/dnspod_models.ts +1 -3
- package/src/services/emr/v20190103/emr_client.ts +81 -28
- package/src/services/emr/v20190103/emr_models.ts +518 -60
- package/src/services/es/v20180416/es_client.ts +1 -0
- package/src/services/es/v20180416/es_models.ts +69 -1
- package/src/services/ess/v20201111/ess_models.ts +2 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +8 -2
- package/src/services/gwlb/v20240906/gwlb_models.ts +17 -16
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +1 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +66 -13
- package/src/services/iss/v20230517/iss_client.ts +1 -1
- package/src/services/iss/v20230517/iss_models.ts +32 -12
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/sms/v20210111/sms_models.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +8 -0
- package/src/services/sts/v20180813/sts_models.ts +5 -5
- package/src/services/tcss/v20201101/tcss_models.ts +67 -18
- package/src/services/teo/v20220901/teo_client.ts +4 -4
- package/src/services/teo/v20220901/teo_models.ts +75 -72
- package/src/services/tke/v20180525/tke_client.ts +37 -12
- package/src/services/tke/v20180525/tke_models.ts +85 -0
- package/src/services/vclm/v20240523/vclm_models.ts +24 -9
- package/src/services/vpc/v20170312/vpc_client.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +17 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +8 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +18 -18
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +16 -1
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +10 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +2 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +2 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +40 -10
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +10 -6
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +10 -6
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1 -3
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +25 -9
- package/tencentcloud/services/emr/v20190103/emr_client.js +35 -11
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +504 -59
- package/tencentcloud/services/es/v20180416/es_models.d.ts +68 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -2
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +17 -16
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +65 -13
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +1 -1
- package/tencentcloud/services/iss/v20230517/iss_client.js +1 -1
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +32 -12
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +8 -0
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +5 -5
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +67 -18
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +4 -4
- package/tencentcloud/services/teo/v20220901/teo_client.js +4 -4
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +75 -72
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +80 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +24 -9
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17 -16
- package/test/emr.v20190103.test.js +46 -6
- package/test/tke.v20180525.test.js +24 -4
|
@@ -106,6 +106,7 @@ import {
|
|
|
106
106
|
CUDNN,
|
|
107
107
|
DescribeReservedInstancesResponse,
|
|
108
108
|
KubeJarvisStateCatalogue,
|
|
109
|
+
ModifyClusterTagsResponse,
|
|
109
110
|
Event,
|
|
110
111
|
Exec,
|
|
111
112
|
DescribeEdgeAvailableExtraArgsResponse,
|
|
@@ -189,6 +190,7 @@ import {
|
|
|
189
190
|
DescribeClusterCommonNamesRequest,
|
|
190
191
|
NfsVolume,
|
|
191
192
|
RIUtilizationDetail,
|
|
193
|
+
DescribeBatchModifyTagsStatusResponse,
|
|
192
194
|
PrometheusNotification,
|
|
193
195
|
DescribeRIUtilizationDetailRequest,
|
|
194
196
|
ClusterCondition,
|
|
@@ -215,6 +217,7 @@ import {
|
|
|
215
217
|
SyncPrometheusTempRequest,
|
|
216
218
|
DeleteBackupStorageLocationResponse,
|
|
217
219
|
DescribePrometheusGlobalNotificationResponse,
|
|
220
|
+
DescribeBatchModifyTagsStatusRequest,
|
|
218
221
|
HttpGet,
|
|
219
222
|
ResourceUsage,
|
|
220
223
|
CreateClusterVirtualNodeRequest,
|
|
@@ -536,6 +539,7 @@ import {
|
|
|
536
539
|
DescribeTKEEdgeScriptResponse,
|
|
537
540
|
DescribeClusterRouteTablesResponse,
|
|
538
541
|
DeleteLogConfigsRequest,
|
|
542
|
+
ModifyClusterTagsRequest,
|
|
539
543
|
DescribeClusterKubeconfigRequest,
|
|
540
544
|
DeletePrometheusTempSyncRequest,
|
|
541
545
|
CreatePrometheusTemplateResponse,
|
|
@@ -546,6 +550,7 @@ import {
|
|
|
546
550
|
DescribePrometheusGlobalConfigRequest,
|
|
547
551
|
CreateECMInstancesResponse,
|
|
548
552
|
ModifyPrometheusGlobalNotificationRequest,
|
|
553
|
+
FailedResource,
|
|
549
554
|
DescribeClusterNodePoolsResponse,
|
|
550
555
|
UnavailableReason,
|
|
551
556
|
GetUpgradeInstanceProgressRequest,
|
|
@@ -1085,6 +1090,16 @@ export class Client extends AbstractClient {
|
|
|
1085
1090
|
return this.request("DescribeTKEEdgeExternalKubeconfig", req, cb)
|
|
1086
1091
|
}
|
|
1087
1092
|
|
|
1093
|
+
/**
|
|
1094
|
+
* 修改集群标签
|
|
1095
|
+
*/
|
|
1096
|
+
async ModifyClusterTags(
|
|
1097
|
+
req: ModifyClusterTagsRequest,
|
|
1098
|
+
cb?: (error: string, rep: ModifyClusterTagsResponse) => void
|
|
1099
|
+
): Promise<ModifyClusterTagsResponse> {
|
|
1100
|
+
return this.request("ModifyClusterTags", req, cb)
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1088
1103
|
/**
|
|
1089
1104
|
* 创建日志采集配置
|
|
1090
1105
|
*/
|
|
@@ -1485,6 +1500,16 @@ export class Client extends AbstractClient {
|
|
|
1485
1500
|
return this.request("UpdateImageCache", req, cb)
|
|
1486
1501
|
}
|
|
1487
1502
|
|
|
1503
|
+
/**
|
|
1504
|
+
* 查询批量修改标签状态
|
|
1505
|
+
*/
|
|
1506
|
+
async DescribeBatchModifyTagsStatus(
|
|
1507
|
+
req?: DescribeBatchModifyTagsStatusRequest,
|
|
1508
|
+
cb?: (error: string, rep: DescribeBatchModifyTagsStatusResponse) => void
|
|
1509
|
+
): Promise<DescribeBatchModifyTagsStatusResponse> {
|
|
1510
|
+
return this.request("DescribeBatchModifyTagsStatus", req, cb)
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1488
1513
|
/**
|
|
1489
1514
|
* 获取容器服务支持的所有地域
|
|
1490
1515
|
*/
|
|
@@ -1586,13 +1611,13 @@ export class Client extends AbstractClient {
|
|
|
1586
1611
|
}
|
|
1587
1612
|
|
|
1588
1613
|
/**
|
|
1589
|
-
*
|
|
1614
|
+
* 用于查询Kubernetes的各个原生控制器是否开启
|
|
1590
1615
|
*/
|
|
1591
|
-
async
|
|
1592
|
-
req:
|
|
1593
|
-
cb?: (error: string, rep:
|
|
1594
|
-
): Promise<
|
|
1595
|
-
return this.request("
|
|
1616
|
+
async DescribeClusterControllers(
|
|
1617
|
+
req: DescribeClusterControllersRequest,
|
|
1618
|
+
cb?: (error: string, rep: DescribeClusterControllersResponse) => void
|
|
1619
|
+
): Promise<DescribeClusterControllersResponse> {
|
|
1620
|
+
return this.request("DescribeClusterControllers", req, cb)
|
|
1596
1621
|
}
|
|
1597
1622
|
|
|
1598
1623
|
/**
|
|
@@ -2126,13 +2151,13 @@ export class Client extends AbstractClient {
|
|
|
2126
2151
|
}
|
|
2127
2152
|
|
|
2128
2153
|
/**
|
|
2129
|
-
*
|
|
2154
|
+
* 获取集群规模
|
|
2130
2155
|
*/
|
|
2131
|
-
async
|
|
2132
|
-
req:
|
|
2133
|
-
cb?: (error: string, rep:
|
|
2134
|
-
): Promise<
|
|
2135
|
-
return this.request("
|
|
2156
|
+
async DescribeClusterLevelAttribute(
|
|
2157
|
+
req: DescribeClusterLevelAttributeRequest,
|
|
2158
|
+
cb?: (error: string, rep: DescribeClusterLevelAttributeResponse) => void
|
|
2159
|
+
): Promise<DescribeClusterLevelAttributeResponse> {
|
|
2160
|
+
return this.request("DescribeClusterLevelAttribute", req, cb)
|
|
2136
2161
|
}
|
|
2137
2162
|
|
|
2138
2163
|
/**
|
|
@@ -2008,6 +2008,21 @@ second:二级目录
|
|
|
2008
2008
|
CatalogueName?: string
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
|
+
/**
|
|
2012
|
+
* ModifyClusterTags返回参数结构体
|
|
2013
|
+
*/
|
|
2014
|
+
export interface ModifyClusterTagsResponse {
|
|
2015
|
+
/**
|
|
2016
|
+
* 集群标签
|
|
2017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2018
|
+
*/
|
|
2019
|
+
Tags?: Array<Tag>
|
|
2020
|
+
/**
|
|
2021
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2022
|
+
*/
|
|
2023
|
+
RequestId?: string
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2011
2026
|
/**
|
|
2012
2027
|
* 服务事件
|
|
2013
2028
|
*/
|
|
@@ -3739,6 +3754,37 @@ export interface RIUtilizationDetail {
|
|
|
3739
3754
|
Product: string
|
|
3740
3755
|
}
|
|
3741
3756
|
|
|
3757
|
+
/**
|
|
3758
|
+
* DescribeBatchModifyTagsStatus返回参数结构体
|
|
3759
|
+
*/
|
|
3760
|
+
export interface DescribeBatchModifyTagsStatusResponse {
|
|
3761
|
+
/**
|
|
3762
|
+
* 失败资源列表
|
|
3763
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3764
|
+
*/
|
|
3765
|
+
FailedResources?: Array<FailedResource>
|
|
3766
|
+
/**
|
|
3767
|
+
* 任务状态:
|
|
3768
|
+
- running 运行中
|
|
3769
|
+
- failed 失败
|
|
3770
|
+
- done 成功
|
|
3771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3772
|
+
*/
|
|
3773
|
+
Status?: string
|
|
3774
|
+
/**
|
|
3775
|
+
* 是否同步集群内子资源标签
|
|
3776
|
+
*/
|
|
3777
|
+
SyncSubresource?: boolean
|
|
3778
|
+
/**
|
|
3779
|
+
* 集群标签
|
|
3780
|
+
*/
|
|
3781
|
+
Tags?: Array<Tag>
|
|
3782
|
+
/**
|
|
3783
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3784
|
+
*/
|
|
3785
|
+
RequestId?: string
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3742
3788
|
/**
|
|
3743
3789
|
* amp告警渠道配置
|
|
3744
3790
|
*/
|
|
@@ -4345,6 +4391,11 @@ export interface DescribePrometheusGlobalNotificationResponse {
|
|
|
4345
4391
|
RequestId?: string
|
|
4346
4392
|
}
|
|
4347
4393
|
|
|
4394
|
+
/**
|
|
4395
|
+
* DescribeBatchModifyTagsStatus请求参数结构体
|
|
4396
|
+
*/
|
|
4397
|
+
export type DescribeBatchModifyTagsStatusRequest = null
|
|
4398
|
+
|
|
4348
4399
|
/**
|
|
4349
4400
|
* Probe中的HttpGet
|
|
4350
4401
|
*/
|
|
@@ -11491,6 +11542,24 @@ export interface DeleteLogConfigsRequest {
|
|
|
11491
11542
|
ClusterType?: string
|
|
11492
11543
|
}
|
|
11493
11544
|
|
|
11545
|
+
/**
|
|
11546
|
+
* ModifyClusterTags请求参数结构体
|
|
11547
|
+
*/
|
|
11548
|
+
export interface ModifyClusterTagsRequest {
|
|
11549
|
+
/**
|
|
11550
|
+
* 集群ID
|
|
11551
|
+
*/
|
|
11552
|
+
ClusterId: string
|
|
11553
|
+
/**
|
|
11554
|
+
* 集群标签
|
|
11555
|
+
*/
|
|
11556
|
+
Tags?: Array<Tag>
|
|
11557
|
+
/**
|
|
11558
|
+
* 是否同步集群内子资源标签
|
|
11559
|
+
*/
|
|
11560
|
+
SyncSubresource?: boolean
|
|
11561
|
+
}
|
|
11562
|
+
|
|
11494
11563
|
/**
|
|
11495
11564
|
* DescribeClusterKubeconfig请求参数结构体
|
|
11496
11565
|
*/
|
|
@@ -11629,6 +11698,22 @@ export interface ModifyPrometheusGlobalNotificationRequest {
|
|
|
11629
11698
|
Notification: PrometheusNotificationItem
|
|
11630
11699
|
}
|
|
11631
11700
|
|
|
11701
|
+
/**
|
|
11702
|
+
* 修改标签失败的资源
|
|
11703
|
+
*/
|
|
11704
|
+
export interface FailedResource {
|
|
11705
|
+
/**
|
|
11706
|
+
* 资源六段式
|
|
11707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11708
|
+
*/
|
|
11709
|
+
Resource?: string
|
|
11710
|
+
/**
|
|
11711
|
+
* 执行失败的原因
|
|
11712
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11713
|
+
*/
|
|
11714
|
+
Error?: string
|
|
11715
|
+
}
|
|
11716
|
+
|
|
11632
11717
|
/**
|
|
11633
11718
|
* DescribeClusterNodePools返回参数结构体
|
|
11634
11719
|
*/
|
|
@@ -130,24 +130,31 @@ export interface DescribeImageAnimateJobResponse {
|
|
|
130
130
|
*/
|
|
131
131
|
export interface SubmitPortraitSingJobRequest {
|
|
132
132
|
/**
|
|
133
|
-
* 传入音频URL
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
* 传入音频URL地址,音频要求:
|
|
134
|
+
- 音频时长:2秒 - 60秒
|
|
135
|
+
- 音频格式:mp3、wav、m4a
|
|
136
136
|
*/
|
|
137
137
|
AudioUrl: string
|
|
138
138
|
/**
|
|
139
139
|
* 传入图片URL地址,图片要求:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
- 图片格式:jpg、jpeg、png、bmp、webp
|
|
141
|
+
- 图片分辨率:192~4096
|
|
142
|
+
- 图片大小:不超过10M
|
|
143
|
+
- 图片宽高比:图片【宽:高】在1:2到2:1范围内
|
|
144
|
+
- 图片内容:避免上传无人脸/宠物脸或脸部过小、不完整、不清晰、偏转角度过大的图片。
|
|
144
145
|
*/
|
|
145
146
|
ImageUrl?: string
|
|
146
147
|
/**
|
|
147
|
-
* 传入图片Base64
|
|
148
|
-
|
|
148
|
+
* 传入图片Base64编码,编码后请求体大小不超过10M。
|
|
149
|
+
图片Base64编码与URL地址必传其一,如果都传以ImageBase64为准。
|
|
149
150
|
*/
|
|
150
151
|
ImageBase64?: string
|
|
152
|
+
/**
|
|
153
|
+
* 唱演模式,默认使用人像模式。
|
|
154
|
+
Person:人像模式,仅支持上传人像图片,人像生成效果更好,如果图中未检测到有效人脸将被拦截,生成时会将视频短边分辨率放缩至512。
|
|
155
|
+
Pet:宠物模式,支持宠物等非人像图片,固定生成512:512分辨率视频。
|
|
156
|
+
*/
|
|
157
|
+
Mode?: string
|
|
151
158
|
}
|
|
152
159
|
|
|
153
160
|
/**
|
|
@@ -344,6 +351,14 @@ export interface DescribePortraitSingJobResponse {
|
|
|
344
351
|
* 任务状态信息
|
|
345
352
|
*/
|
|
346
353
|
StatusMsg?: string
|
|
354
|
+
/**
|
|
355
|
+
* 错误码
|
|
356
|
+
*/
|
|
357
|
+
ErrorCode?: string
|
|
358
|
+
/**
|
|
359
|
+
* 错误信息
|
|
360
|
+
*/
|
|
361
|
+
ErrorMessage?: string
|
|
347
362
|
/**
|
|
348
363
|
* 生成视频的URL地址
|
|
349
364
|
有效期24小时
|
|
@@ -2507,7 +2507,7 @@ LimitTypes取值范围:
|
|
|
2507
2507
|
|
|
2508
2508
|
/**
|
|
2509
2509
|
* 本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。
|
|
2510
|
-
* 退还弹性网卡上的辅助内网IP
|
|
2510
|
+
* 退还弹性网卡上的辅助内网IP,接口自动解除关联弹性公网 IP。不能退还弹性网卡的主内网IP。
|
|
2511
2511
|
|
|
2512
2512
|
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
2513
2513
|
*/
|
|
@@ -3247,7 +3247,7 @@ LimitTypes取值范围:
|
|
|
3247
3247
|
/**
|
|
3248
3248
|
* 本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。
|
|
3249
3249
|
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
3250
|
-
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP
|
|
3250
|
+
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要在弹性网卡所在子网内,而且不能被占用。
|
|
3251
3251
|
* 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。
|
|
3252
3252
|
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
3253
3253
|
>
|
|
@@ -2090,22 +2090,22 @@ export interface ResetRoutesRequest {
|
|
|
2090
2090
|
* 弹性网卡绑定关系
|
|
2091
2091
|
*/
|
|
2092
2092
|
export interface NetworkInterfaceAttachment {
|
|
2093
|
-
/**
|
|
2094
|
-
* 云主机实例ID。
|
|
2095
|
-
*/
|
|
2096
|
-
InstanceId: string
|
|
2097
2093
|
/**
|
|
2098
2094
|
* 网卡在云主机实例内的序号。
|
|
2099
2095
|
*/
|
|
2100
|
-
DeviceIndex
|
|
2096
|
+
DeviceIndex?: number
|
|
2101
2097
|
/**
|
|
2102
2098
|
* 云主机所有者账户信息。
|
|
2103
2099
|
*/
|
|
2104
|
-
InstanceAccountId
|
|
2100
|
+
InstanceAccountId?: string
|
|
2105
2101
|
/**
|
|
2106
2102
|
* 绑定时间。
|
|
2107
2103
|
*/
|
|
2108
|
-
AttachTime
|
|
2104
|
+
AttachTime?: string
|
|
2105
|
+
/**
|
|
2106
|
+
* 云主机实例ID。
|
|
2107
|
+
*/
|
|
2108
|
+
InstanceId?: string
|
|
2109
2109
|
}
|
|
2110
2110
|
|
|
2111
2111
|
/**
|
|
@@ -5949,7 +5949,7 @@ export interface NatGateway {
|
|
|
5949
5949
|
*/
|
|
5950
5950
|
RestrictState?: string
|
|
5951
5951
|
/**
|
|
5952
|
-
* NAT
|
|
5952
|
+
* NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
|
|
5953
5953
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5954
5954
|
*/
|
|
5955
5955
|
NatProductVersion?: number
|
|
@@ -11628,7 +11628,7 @@ export interface DestinationIpPortTranslationNatRule {
|
|
|
11628
11628
|
/**
|
|
11629
11629
|
* NAT网关转发规则描述。
|
|
11630
11630
|
*/
|
|
11631
|
-
Description
|
|
11631
|
+
Description?: string
|
|
11632
11632
|
}
|
|
11633
11633
|
|
|
11634
11634
|
/**
|
|
@@ -12589,19 +12589,19 @@ export interface CreateNatGatewayRequest {
|
|
|
12589
12589
|
*/
|
|
12590
12590
|
VpcId: string
|
|
12591
12591
|
/**
|
|
12592
|
-
* NAT网关最大外网出带宽(
|
|
12592
|
+
* NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。
|
|
12593
12593
|
*/
|
|
12594
12594
|
InternetMaxBandwidthOut?: number
|
|
12595
12595
|
/**
|
|
12596
|
-
* NAT
|
|
12596
|
+
* NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为100000。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
|
12597
12597
|
*/
|
|
12598
12598
|
MaxConcurrentConnection?: number
|
|
12599
12599
|
/**
|
|
12600
|
-
*
|
|
12600
|
+
* 新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。
|
|
12601
12601
|
*/
|
|
12602
12602
|
AddressCount?: number
|
|
12603
12603
|
/**
|
|
12604
|
-
* 绑定NAT
|
|
12604
|
+
* 绑定NAT网关的已有弹性公网IP数组,其中AddressCount和PublicAddresses两个参数至少填写一个。 示例值:["139.199.232.119"]
|
|
12605
12605
|
*/
|
|
12606
12606
|
PublicIpAddresses?: Array<string>
|
|
12607
12607
|
/**
|
|
@@ -12613,11 +12613,12 @@ export interface CreateNatGatewayRequest {
|
|
|
12613
12613
|
*/
|
|
12614
12614
|
Tags?: Array<Tag>
|
|
12615
12615
|
/**
|
|
12616
|
-
* NAT
|
|
12616
|
+
* NAT网关所属子网,已废弃
|
|
12617
|
+
* @deprecated
|
|
12617
12618
|
*/
|
|
12618
12619
|
SubnetId?: string
|
|
12619
12620
|
/**
|
|
12620
|
-
* 绑定NAT
|
|
12621
|
+
* 绑定NAT网关的弹性公网IP带宽值(单位:Mbps)。不填写此参数时:则该参数默认为弹性公网IP的带宽值,部分用户默认为该用户类型的弹性公网IP的带宽上限。
|
|
12621
12622
|
*/
|
|
12622
12623
|
StockPublicIpAddressesBandwidthOut?: number
|
|
12623
12624
|
/**
|
|
@@ -12629,7 +12630,7 @@ export interface CreateNatGatewayRequest {
|
|
|
12629
12630
|
*/
|
|
12630
12631
|
PublicIpFromSameZone?: boolean
|
|
12631
12632
|
/**
|
|
12632
|
-
* NAT
|
|
12633
|
+
* NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。
|
|
12633
12634
|
*/
|
|
12634
12635
|
NatProductVersion?: number
|
|
12635
12636
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.959";
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* CreateBPFakeAPP返回参数结构体
|
|
3
3
|
*/
|
|
4
4
|
export interface CreateBPFakeAPPResponse {
|
|
5
|
+
/**
|
|
6
|
+
* FakeAPPId
|
|
7
|
+
*/
|
|
8
|
+
FakeAPPId?: number;
|
|
5
9
|
/**
|
|
6
10
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7
11
|
*/
|
|
@@ -709,6 +713,10 @@ export interface CreateBPBrandResponse {
|
|
|
709
713
|
* CreateBPFakeURL返回参数结构体
|
|
710
714
|
*/
|
|
711
715
|
export interface CreateBPFakeURLResponse {
|
|
716
|
+
/**
|
|
717
|
+
* FakeURLId
|
|
718
|
+
*/
|
|
719
|
+
FakeURLId?: number;
|
|
712
720
|
/**
|
|
713
721
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
714
722
|
*/
|
|
@@ -1280,13 +1280,13 @@ export interface CreateUserOIDCConfigResponse {
|
|
|
1280
1280
|
*/
|
|
1281
1281
|
export interface ListAttachedUserAllPoliciesResponse {
|
|
1282
1282
|
/**
|
|
1283
|
-
*
|
|
1283
|
+
* 策略列表数据。
|
|
1284
1284
|
*/
|
|
1285
|
-
PolicyList
|
|
1285
|
+
PolicyList?: Array<AttachedUserPolicy>;
|
|
1286
1286
|
/**
|
|
1287
|
-
*
|
|
1287
|
+
* 策略总数。
|
|
1288
1288
|
*/
|
|
1289
|
-
TotalNum
|
|
1289
|
+
TotalNum?: number;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1292
1292
|
*/
|
|
@@ -2706,23 +2706,23 @@ export interface CreatePolicyRequest {
|
|
|
2706
2706
|
*/
|
|
2707
2707
|
export interface ListAttachedUserAllPoliciesRequest {
|
|
2708
2708
|
/**
|
|
2709
|
-
* 目标用户
|
|
2709
|
+
* 目标用户Uin
|
|
2710
2710
|
*/
|
|
2711
2711
|
TargetUin: number;
|
|
2712
2712
|
/**
|
|
2713
|
-
* 每页数量,必须大于 0
|
|
2713
|
+
* 每页数量,必须大于 0 且小于等于 200。
|
|
2714
2714
|
*/
|
|
2715
2715
|
Rp: number;
|
|
2716
2716
|
/**
|
|
2717
|
-
* 页码,从 1开始,不能大于 200
|
|
2717
|
+
* 页码,从 1开始,不能大于 200。
|
|
2718
2718
|
*/
|
|
2719
2719
|
Page: number;
|
|
2720
2720
|
/**
|
|
2721
|
-
* 0:返回直接关联和随组关联策略,1:只返回直接关联策略,2
|
|
2721
|
+
* 关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。
|
|
2722
2722
|
*/
|
|
2723
2723
|
AttachType: number;
|
|
2724
2724
|
/**
|
|
2725
|
-
*
|
|
2725
|
+
* 策略类型。1表示自定义策略,2表示预设策略。
|
|
2726
2726
|
*/
|
|
2727
2727
|
StrategyType?: number;
|
|
2728
2728
|
/**
|
|
@@ -2924,7 +2924,7 @@ export interface ListPolicyVersionsResponse {
|
|
|
2924
2924
|
*/
|
|
2925
2925
|
export interface GetPolicyRequest {
|
|
2926
2926
|
/**
|
|
2927
|
-
* 策略Id
|
|
2927
|
+
* 策略Id。
|
|
2928
2928
|
*/
|
|
2929
2929
|
PolicyId: number;
|
|
2930
2930
|
}
|
|
@@ -3275,42 +3275,42 @@ export interface ListUsersForGroupResponse {
|
|
|
3275
3275
|
*/
|
|
3276
3276
|
export interface GetPolicyResponse {
|
|
3277
3277
|
/**
|
|
3278
|
-
*
|
|
3278
|
+
* 策略名。
|
|
3279
3279
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3280
3280
|
*/
|
|
3281
3281
|
PolicyName?: string;
|
|
3282
3282
|
/**
|
|
3283
|
-
*
|
|
3283
|
+
* 策略描述。
|
|
3284
3284
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3285
3285
|
*/
|
|
3286
3286
|
Description?: string;
|
|
3287
3287
|
/**
|
|
3288
|
-
* 1 表示自定义策略,2
|
|
3288
|
+
* 1 表示自定义策略,2 表示预设策略。
|
|
3289
3289
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3290
3290
|
*/
|
|
3291
3291
|
Type?: number;
|
|
3292
3292
|
/**
|
|
3293
|
-
*
|
|
3293
|
+
* 策略创建时间。
|
|
3294
3294
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3295
3295
|
*/
|
|
3296
3296
|
AddTime?: string;
|
|
3297
3297
|
/**
|
|
3298
|
-
*
|
|
3298
|
+
* 策略最近更新时间。
|
|
3299
3299
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3300
3300
|
*/
|
|
3301
3301
|
UpdateTime?: string;
|
|
3302
3302
|
/**
|
|
3303
|
-
*
|
|
3303
|
+
* 策略文档。
|
|
3304
3304
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3305
3305
|
*/
|
|
3306
3306
|
PolicyDocument?: string;
|
|
3307
3307
|
/**
|
|
3308
|
-
*
|
|
3308
|
+
* 备注。
|
|
3309
3309
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3310
3310
|
*/
|
|
3311
3311
|
PresetAlias?: string;
|
|
3312
3312
|
/**
|
|
3313
|
-
*
|
|
3313
|
+
* 是否是服务相关策略,0代表不是服务相关策略,1代表是服务相关策略。
|
|
3314
3314
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3315
3315
|
*/
|
|
3316
3316
|
IsServiceLinkedRolePolicy?: number;
|
|
@@ -18,7 +18,7 @@ export declare class Client extends AbstractClient {
|
|
|
18
18
|
/**
|
|
19
19
|
* 获取备份、迁移的调度任务信息
|
|
20
20
|
*/
|
|
21
|
-
DescribeBackUpSchedules(req
|
|
21
|
+
DescribeBackUpSchedules(req: DescribeBackUpSchedulesRequest, cb?: (error: string, rep: DescribeBackUpSchedulesResponse) => void): Promise<DescribeBackUpSchedulesResponse>;
|
|
22
22
|
/**
|
|
23
23
|
* 查询备份实例列表
|
|
24
24
|
*/
|
|
@@ -2521,7 +2521,15 @@ export interface DescribeInstancesRequest {
|
|
|
2521
2521
|
/**
|
|
2522
2522
|
* DescribeBackUpSchedules请求参数结构体
|
|
2523
2523
|
*/
|
|
2524
|
-
export
|
|
2524
|
+
export interface DescribeBackUpSchedulesRequest {
|
|
2525
|
+
/**
|
|
2526
|
+
* 任务类型
|
|
2527
|
+
0-不限制,或使用TypeFilters过滤;
|
|
2528
|
+
1-备份恢复(包括周期备份和一次性备份);
|
|
2529
|
+
2-数据迁移(包括跨集群迁移和cos迁移)
|
|
2530
|
+
*/
|
|
2531
|
+
ApplicationType?: number;
|
|
2532
|
+
}
|
|
2525
2533
|
/**
|
|
2526
2534
|
* DescribeClusterConfigs请求参数结构体
|
|
2527
2535
|
*/
|
|
@@ -3864,6 +3872,13 @@ export interface DescribeBackUpJobRequest {
|
|
|
3864
3872
|
* 集群id
|
|
3865
3873
|
*/
|
|
3866
3874
|
InstanceId: string;
|
|
3875
|
+
/**
|
|
3876
|
+
* 任务类型:
|
|
3877
|
+
0-不限制,或使用TypeFilters过滤;
|
|
3878
|
+
1-备份恢复(包括周期备份和一次性备份);
|
|
3879
|
+
2-数据迁移(包括跨集群迁移和cos迁移)
|
|
3880
|
+
*/
|
|
3881
|
+
ApplicationType?: number;
|
|
3867
3882
|
/**
|
|
3868
3883
|
* 分页大小
|
|
3869
3884
|
*/
|
|
@@ -1265,6 +1265,11 @@ export interface TaskReportInfo {
|
|
|
1265
1265
|
* 归档时间
|
|
1266
1266
|
*/
|
|
1267
1267
|
ArchiveTime?: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* 归档ID
|
|
1270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1271
|
+
*/
|
|
1272
|
+
ArchiveUuid?: string;
|
|
1268
1273
|
}
|
|
1269
1274
|
/**
|
|
1270
1275
|
* CreateTaskFromTemplate请求参数结构体
|
|
@@ -1781,6 +1786,11 @@ export interface ActionLibraryListResult {
|
|
|
1781
1786
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1782
1787
|
*/
|
|
1783
1788
|
IsNewAction?: boolean;
|
|
1789
|
+
/**
|
|
1790
|
+
* 对象类型ID
|
|
1791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1792
|
+
*/
|
|
1793
|
+
ObjectTypeId?: number;
|
|
1784
1794
|
}
|
|
1785
1795
|
/**
|
|
1786
1796
|
* ModifyTaskRunStatus返回参数结构体
|
|
@@ -28,7 +28,8 @@ export declare class Client extends AbstractClient {
|
|
|
28
28
|
*/
|
|
29
29
|
CreateIndex(req: CreateIndexRequest, cb?: (error: string, rep: CreateIndexResponse) => void): Promise<CreateIndexResponse>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 查询指定时刻指标的最新值。
|
|
32
|
+
如果该时刻向前推5分钟内均无指标数据,则无相应的查询结果。
|
|
32
33
|
*/
|
|
33
34
|
QueryMetric(req: QueryMetricRequest, cb?: (error: string, rep: QueryMetricResponse) => void): Promise<QueryMetricResponse>;
|
|
34
35
|
/**
|
|
@@ -58,7 +58,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
58
58
|
return this.request("CreateIndex", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 查询指定时刻指标的最新值。
|
|
62
|
+
如果该时刻向前推5分钟内均无指标数据,则无相应的查询结果。
|
|
62
63
|
*/
|
|
63
64
|
async QueryMetric(req, cb) {
|
|
64
65
|
return this.request("QueryMetric", req, cb);
|