tencentcloud-sdk-nodejs 4.0.245 → 4.0.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.
- package/CHANGELOG.md +744 -35
- package/package.json +1 -1
- package/products.md +38 -35
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +5 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +6 -0
- package/src/services/apigateway/v20180808/apigateway_client.ts +1 -1
- package/src/services/apm/index.ts +5 -0
- package/src/services/apm/v20210622/apm_client.ts +70 -0
- package/src/services/apm/v20210622/apm_models.ts +306 -0
- package/src/services/apm/v20210622/index.ts +6 -0
- package/src/services/asw/v20200722/asw_models.ts +3 -3
- package/src/services/captcha/v20190722/captcha_models.ts +2 -1
- package/src/services/cdb/v20170320/cdb_models.ts +13 -3
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cii/v20210408/cii_models.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
- package/src/services/clb/v20180317/clb_client.ts +25 -1
- package/src/services/clb/v20180317/clb_models.ts +175 -18
- package/src/services/cme/v20191029/cme_client.ts +3 -3
- package/src/services/cme/v20191029/cme_models.ts +30 -25
- package/src/services/cr/v20180321/cr_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +9 -8
- package/src/services/domain/v20180808/domain_models.ts +6 -1
- package/src/services/ecdn/v20191012/ecdn_client.ts +3 -0
- package/src/services/gaap/v20180529/gaap_models.ts +5 -0
- package/src/services/index.ts +3 -0
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +11 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +31 -0
- package/src/services/ivld/index.ts +5 -0
- package/src/services/ivld/v20210903/index.ts +6 -0
- package/src/services/ivld/v20210903/ivld_client.ts +170 -0
- package/src/services/ivld/v20210903/ivld_models.ts +973 -0
- package/src/services/kms/v20190118/kms_client.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +2 -2
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +0 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -35
- package/src/services/monitor/v20180724/monitor_models.ts +3 -3
- package/src/services/mrs/v20200910/mrs_client.ts +2 -0
- package/src/services/mrs/v20200910/mrs_models.ts +81 -5
- package/src/services/postgres/v20170312/postgres_models.ts +19 -7
- package/src/services/privatedns/v20201028/privatedns_client.ts +40 -3
- package/src/services/privatedns/v20201028/privatedns_models.ts +142 -32
- package/src/services/scf/v20180416/scf_client.ts +25 -12
- package/src/services/scf/v20180416/scf_models.ts +103 -1
- package/src/services/tat/v20201028/tat_models.ts +87 -11
- package/src/services/tdmq/v20200217/tdmq_client.ts +15 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +556 -146
- package/src/services/thpc/index.ts +5 -0
- package/src/services/thpc/v20211109/index.ts +6 -0
- package/src/services/thpc/v20211109/thpc_client.ts +64 -0
- package/src/services/thpc/v20211109/thpc_models.ts +332 -0
- package/src/services/tiw/v20190919/tiw_models.ts +2 -2
- package/src/services/tke/v20180525/tke_client.ts +50 -1
- package/src/services/tke/v20180525/tke_models.ts +158 -6
- package/src/services/tsf/v20180326/tsf_client.ts +13 -0
- package/src/services/tsf/v20180326/tsf_models.ts +85 -0
- package/src/services/vpc/v20170312/vpc_models.ts +2 -2
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +26 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +4 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +5 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -1
- package/tencentcloud/services/apm/index.d.ts +6 -0
- package/tencentcloud/services/apm/index.js +7 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +22 -0
- package/tencentcloud/services/apm/v20210622/apm_client.js +49 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +246 -0
- package/tencentcloud/services/apm/v20210622/apm_models.js +18 -0
- package/tencentcloud/services/apm/v20210622/index.d.ts +6 -0
- package/tencentcloud/services/apm/v20210622/index.js +9 -0
- package/tencentcloud/services/asw/v20200722/asw_models.d.ts +3 -3
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +1 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +9 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +12 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +145 -15
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +3 -3
- package/tencentcloud/services/cme/v20191029/cme_client.js +3 -3
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +29 -25
- package/tencentcloud/services/cr/v20180321/cr_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +9 -8
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +5 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +3 -0
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +3 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +4 -0
- package/tencentcloud/services/index.d.ts +3 -0
- package/tencentcloud/services/index.js +6 -0
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +9 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +26 -0
- package/tencentcloud/services/ivld/index.d.ts +6 -0
- package/tencentcloud/services/ivld/index.js +7 -0
- package/tencentcloud/services/ivld/v20210903/index.d.ts +6 -0
- package/tencentcloud/services/ivld/v20210903/index.js +9 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +66 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +103 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +831 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.js +18 -0
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +1 -1
- package/tencentcloud/services/kms/v20190118/kms_client.js +1 -1
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +2 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +6 -29
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +3 -3
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +70 -5
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +17 -7
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.d.ts +13 -1
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.js +18 -0
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +124 -29
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +9 -5
- package/tencentcloud/services/scf/v20180416/scf_client.js +12 -6
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +86 -1
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +75 -11
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +434 -94
- package/tencentcloud/services/thpc/index.d.ts +6 -0
- package/tencentcloud/services/thpc/index.js +7 -0
- package/tencentcloud/services/thpc/v20211109/index.d.ts +6 -0
- package/tencentcloud/services/thpc/v20211109/index.js +9 -0
- package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +18 -0
- package/tencentcloud/services/thpc/v20211109/thpc_client.js +43 -0
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +272 -0
- package/tencentcloud/services/thpc/v20211109/thpc_models.js +18 -0
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +17 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +24 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +136 -5
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +73 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +22 -1
- package/test/apm.v20210622.test.js +51 -0
- package/test/clb.v20180317.test.js +20 -0
- package/test/ivld.v20210903.test.js +101 -0
- package/test/privatedns.v20201028.test.js +30 -0
- package/test/scf.v20180416.test.js +14 -4
- package/test/tdmq.v20200217.test.js +10 -0
- package/test/thpc.v20211109.test.js +41 -0
- package/test/tke.v20180525.test.js +40 -0
- package/test/tsf.v20180326.test.js +10 -0
|
@@ -1168,6 +1168,17 @@ export interface DescribeExistedInstancesRequest {
|
|
|
1168
1168
|
IpAddresses?: Array<string>
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
|
+
/**
|
|
1172
|
+
* 节点自定义参数
|
|
1173
|
+
*/
|
|
1174
|
+
export interface InstanceExtraArgs {
|
|
1175
|
+
/**
|
|
1176
|
+
* kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
|
|
1177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1178
|
+
*/
|
|
1179
|
+
Kubelet?: Array<string>
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1171
1182
|
/**
|
|
1172
1183
|
* 标签绑定的资源类型,当前支持类型:"cluster"
|
|
1173
1184
|
*/
|
|
@@ -1424,6 +1435,16 @@ export interface DescribePrometheusAlertRuleResponse {
|
|
|
1424
1435
|
RequestId?: string
|
|
1425
1436
|
}
|
|
1426
1437
|
|
|
1438
|
+
/**
|
|
1439
|
+
* EnableClusterDeletionProtection返回参数结构体
|
|
1440
|
+
*/
|
|
1441
|
+
export interface EnableClusterDeletionProtectionResponse {
|
|
1442
|
+
/**
|
|
1443
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1444
|
+
*/
|
|
1445
|
+
RequestId?: string
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1427
1448
|
/**
|
|
1428
1449
|
* 集群关联的伸缩组信息
|
|
1429
1450
|
*/
|
|
@@ -1701,6 +1722,21 @@ export interface DescribePrometheusAgentInstancesRequest {
|
|
|
1701
1722
|
ClusterId: string
|
|
1702
1723
|
}
|
|
1703
1724
|
|
|
1725
|
+
/**
|
|
1726
|
+
* ForwardApplicationRequestV3返回参数结构体
|
|
1727
|
+
*/
|
|
1728
|
+
export interface ForwardApplicationRequestV3Response {
|
|
1729
|
+
/**
|
|
1730
|
+
* 请求集群addon后返回的数据
|
|
1731
|
+
*/
|
|
1732
|
+
ResponseBody: string
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1736
|
+
*/
|
|
1737
|
+
RequestId?: string
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1704
1740
|
/**
|
|
1705
1741
|
* 集群网络相关的参数
|
|
1706
1742
|
*/
|
|
@@ -3053,6 +3089,16 @@ export interface GetUpgradeInstanceProgressRequest {
|
|
|
3053
3089
|
Offset?: number
|
|
3054
3090
|
}
|
|
3055
3091
|
|
|
3092
|
+
/**
|
|
3093
|
+
* EnableClusterDeletionProtection请求参数结构体
|
|
3094
|
+
*/
|
|
3095
|
+
export interface EnableClusterDeletionProtectionRequest {
|
|
3096
|
+
/**
|
|
3097
|
+
* 集群ID
|
|
3098
|
+
*/
|
|
3099
|
+
ClusterId: string
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3056
3102
|
/**
|
|
3057
3103
|
* ModifyPrometheusTemplate请求参数结构体
|
|
3058
3104
|
*/
|
|
@@ -3132,14 +3178,13 @@ export interface UpdateEKSClusterResponse {
|
|
|
3132
3178
|
}
|
|
3133
3179
|
|
|
3134
3180
|
/**
|
|
3135
|
-
*
|
|
3181
|
+
* DisableClusterDeletionProtection请求参数结构体
|
|
3136
3182
|
*/
|
|
3137
|
-
export interface
|
|
3183
|
+
export interface DisableClusterDeletionProtectionRequest {
|
|
3138
3184
|
/**
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
Kubelet?: Array<string>
|
|
3185
|
+
* 集群ID
|
|
3186
|
+
*/
|
|
3187
|
+
ClusterId: string
|
|
3143
3188
|
}
|
|
3144
3189
|
|
|
3145
3190
|
/**
|
|
@@ -4531,6 +4576,27 @@ export interface ControllerStatus {
|
|
|
4531
4576
|
Enabled: boolean
|
|
4532
4577
|
}
|
|
4533
4578
|
|
|
4579
|
+
/**
|
|
4580
|
+
* app所支持的chart
|
|
4581
|
+
*/
|
|
4582
|
+
export interface AppChart {
|
|
4583
|
+
/**
|
|
4584
|
+
* chart名称
|
|
4585
|
+
*/
|
|
4586
|
+
Name: string
|
|
4587
|
+
|
|
4588
|
+
/**
|
|
4589
|
+
* chart的标签
|
|
4590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4591
|
+
*/
|
|
4592
|
+
Label: string
|
|
4593
|
+
|
|
4594
|
+
/**
|
|
4595
|
+
* chart的版本
|
|
4596
|
+
*/
|
|
4597
|
+
LatestVersion: string
|
|
4598
|
+
}
|
|
4599
|
+
|
|
4534
4600
|
/**
|
|
4535
4601
|
* >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
4536
4602
|
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
@@ -4667,6 +4733,26 @@ export interface UpgradeAbleInstancesItem {
|
|
|
4667
4733
|
LatestVersion: string
|
|
4668
4734
|
}
|
|
4669
4735
|
|
|
4736
|
+
/**
|
|
4737
|
+
* GetTkeAppChartList请求参数结构体
|
|
4738
|
+
*/
|
|
4739
|
+
export interface GetTkeAppChartListRequest {
|
|
4740
|
+
/**
|
|
4741
|
+
* app类型,取值log,scheduler,network,storage,monitor,dns,image,other,invisible
|
|
4742
|
+
*/
|
|
4743
|
+
Kind?: string
|
|
4744
|
+
|
|
4745
|
+
/**
|
|
4746
|
+
* app支持的操作系统,取值arm32、arm64、amd64
|
|
4747
|
+
*/
|
|
4748
|
+
Arch?: string
|
|
4749
|
+
|
|
4750
|
+
/**
|
|
4751
|
+
* 集群类型,取值tke、eks
|
|
4752
|
+
*/
|
|
4753
|
+
ClusterType?: string
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4670
4756
|
/**
|
|
4671
4757
|
* CreateClusterEndpoint返回参数结构体
|
|
4672
4758
|
*/
|
|
@@ -4878,6 +4964,22 @@ export interface ModifyPrometheusTemplateResponse {
|
|
|
4878
4964
|
RequestId?: string
|
|
4879
4965
|
}
|
|
4880
4966
|
|
|
4967
|
+
/**
|
|
4968
|
+
* GetTkeAppChartList返回参数结构体
|
|
4969
|
+
*/
|
|
4970
|
+
export interface GetTkeAppChartListResponse {
|
|
4971
|
+
/**
|
|
4972
|
+
* 所支持的chart列表
|
|
4973
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4974
|
+
*/
|
|
4975
|
+
AppCharts: Array<AppChart>
|
|
4976
|
+
|
|
4977
|
+
/**
|
|
4978
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4979
|
+
*/
|
|
4980
|
+
RequestId?: string
|
|
4981
|
+
}
|
|
4982
|
+
|
|
4881
4983
|
/**
|
|
4882
4984
|
* DeletePrometheusTemplate返回参数结构体
|
|
4883
4985
|
*/
|
|
@@ -5264,6 +5366,16 @@ export interface CreateClusterInstancesResponse {
|
|
|
5264
5366
|
RequestId?: string
|
|
5265
5367
|
}
|
|
5266
5368
|
|
|
5369
|
+
/**
|
|
5370
|
+
* DisableClusterDeletionProtection返回参数结构体
|
|
5371
|
+
*/
|
|
5372
|
+
export interface DisableClusterDeletionProtectionResponse {
|
|
5373
|
+
/**
|
|
5374
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5375
|
+
*/
|
|
5376
|
+
RequestId?: string
|
|
5377
|
+
}
|
|
5378
|
+
|
|
5267
5379
|
/**
|
|
5268
5380
|
* DescribeClusterAsGroupOption请求参数结构体
|
|
5269
5381
|
*/
|
|
@@ -6920,6 +7032,46 @@ export interface DescribeClusterNodePoolDetailResponse {
|
|
|
6920
7032
|
RequestId?: string
|
|
6921
7033
|
}
|
|
6922
7034
|
|
|
7035
|
+
/**
|
|
7036
|
+
* ForwardApplicationRequestV3请求参数结构体
|
|
7037
|
+
*/
|
|
7038
|
+
export interface ForwardApplicationRequestV3Request {
|
|
7039
|
+
/**
|
|
7040
|
+
* 请求集群addon的访问
|
|
7041
|
+
*/
|
|
7042
|
+
Method: string
|
|
7043
|
+
|
|
7044
|
+
/**
|
|
7045
|
+
* 请求集群addon的路径
|
|
7046
|
+
*/
|
|
7047
|
+
Path: string
|
|
7048
|
+
|
|
7049
|
+
/**
|
|
7050
|
+
* 请求集群addon后允许接收的数据格式
|
|
7051
|
+
*/
|
|
7052
|
+
Accept?: string
|
|
7053
|
+
|
|
7054
|
+
/**
|
|
7055
|
+
* 请求集群addon的数据格式
|
|
7056
|
+
*/
|
|
7057
|
+
ContentType?: string
|
|
7058
|
+
|
|
7059
|
+
/**
|
|
7060
|
+
* 请求集群addon的数据
|
|
7061
|
+
*/
|
|
7062
|
+
RequestBody?: string
|
|
7063
|
+
|
|
7064
|
+
/**
|
|
7065
|
+
* 集群名称
|
|
7066
|
+
*/
|
|
7067
|
+
ClusterName?: string
|
|
7068
|
+
|
|
7069
|
+
/**
|
|
7070
|
+
* 是否编码请求内容
|
|
7071
|
+
*/
|
|
7072
|
+
EncodedBody?: string
|
|
7073
|
+
}
|
|
7074
|
+
|
|
6923
7075
|
/**
|
|
6924
7076
|
* DescribeClusterControllers请求参数结构体
|
|
6925
7077
|
*/
|
|
@@ -263,6 +263,7 @@ import {
|
|
|
263
263
|
DescribeServerlessGroupResponse,
|
|
264
264
|
BindApiGroupResponse,
|
|
265
265
|
MetricDataPointMap,
|
|
266
|
+
DescribeGroupAttributeResponse,
|
|
266
267
|
ModifyPathRewriteResponse,
|
|
267
268
|
EnableUnitRuleResponse,
|
|
268
269
|
DescribeEnabledUnitRuleResponse,
|
|
@@ -350,6 +351,7 @@ import {
|
|
|
350
351
|
CreateTaskFlowResponse,
|
|
351
352
|
DescribeMicroservicesRequest,
|
|
352
353
|
AddClusterInstancesResponse,
|
|
354
|
+
VmGroupOther,
|
|
353
355
|
DescribeTaskLastStatusResponse,
|
|
354
356
|
DescribePublicConfigsRequest,
|
|
355
357
|
GatewayGroupApiVo,
|
|
@@ -384,6 +386,7 @@ import {
|
|
|
384
386
|
RevocationPublicConfigRequest,
|
|
385
387
|
ModifyLaneRuleResponse,
|
|
386
388
|
TsfPageSimpleGroup,
|
|
389
|
+
DescribeGroupAttributeRequest,
|
|
387
390
|
TaskRule,
|
|
388
391
|
PkgInfo,
|
|
389
392
|
GroupPod,
|
|
@@ -653,6 +656,16 @@ export class Client extends AbstractClient {
|
|
|
653
656
|
return this.request("DescribeContainerGroups", req, cb)
|
|
654
657
|
}
|
|
655
658
|
|
|
659
|
+
/**
|
|
660
|
+
* 获取部署组其他属性
|
|
661
|
+
*/
|
|
662
|
+
async DescribeGroupAttribute(
|
|
663
|
+
req: DescribeGroupAttributeRequest,
|
|
664
|
+
cb?: (error: string, rep: DescribeGroupAttributeResponse) => void
|
|
665
|
+
): Promise<DescribeGroupAttributeResponse> {
|
|
666
|
+
return this.request("DescribeGroupAttribute", req, cb)
|
|
667
|
+
}
|
|
668
|
+
|
|
656
669
|
/**
|
|
657
670
|
* 查询配置项列表
|
|
658
671
|
*/
|
|
@@ -6437,6 +6437,22 @@ export interface MetricDataPointMap {
|
|
|
6437
6437
|
AvgTimeCost: Array<MetricDataPoint>
|
|
6438
6438
|
}
|
|
6439
6439
|
|
|
6440
|
+
/**
|
|
6441
|
+
* DescribeGroupAttribute返回参数结构体
|
|
6442
|
+
*/
|
|
6443
|
+
export interface DescribeGroupAttributeResponse {
|
|
6444
|
+
/**
|
|
6445
|
+
* 虚拟机部署组信息
|
|
6446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6447
|
+
*/
|
|
6448
|
+
Result?: VmGroupOther
|
|
6449
|
+
|
|
6450
|
+
/**
|
|
6451
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6452
|
+
*/
|
|
6453
|
+
RequestId?: string
|
|
6454
|
+
}
|
|
6455
|
+
|
|
6440
6456
|
/**
|
|
6441
6457
|
* ModifyPathRewrite返回参数结构体
|
|
6442
6458
|
*/
|
|
@@ -8863,6 +8879,65 @@ export interface AddClusterInstancesResponse {
|
|
|
8863
8879
|
RequestId?: string
|
|
8864
8880
|
}
|
|
8865
8881
|
|
|
8882
|
+
/**
|
|
8883
|
+
* 虚拟机部署组其他字段
|
|
8884
|
+
*/
|
|
8885
|
+
export interface VmGroupOther {
|
|
8886
|
+
/**
|
|
8887
|
+
* 部署组ID
|
|
8888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8889
|
+
*/
|
|
8890
|
+
GroupId: string
|
|
8891
|
+
|
|
8892
|
+
/**
|
|
8893
|
+
* 程序包ID
|
|
8894
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8895
|
+
*/
|
|
8896
|
+
PackageId: string
|
|
8897
|
+
|
|
8898
|
+
/**
|
|
8899
|
+
* 程序包名称
|
|
8900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8901
|
+
*/
|
|
8902
|
+
PackageName: string
|
|
8903
|
+
|
|
8904
|
+
/**
|
|
8905
|
+
* 程序包版本
|
|
8906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8907
|
+
*/
|
|
8908
|
+
PackageVersion: string
|
|
8909
|
+
|
|
8910
|
+
/**
|
|
8911
|
+
* 部署组实例数
|
|
8912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8913
|
+
*/
|
|
8914
|
+
InstanceCount: number
|
|
8915
|
+
|
|
8916
|
+
/**
|
|
8917
|
+
* 部署组运行中实例数
|
|
8918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8919
|
+
*/
|
|
8920
|
+
RunInstanceCount: number
|
|
8921
|
+
|
|
8922
|
+
/**
|
|
8923
|
+
* 部署组中停止实例数
|
|
8924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8925
|
+
*/
|
|
8926
|
+
OffInstanceCount: number
|
|
8927
|
+
|
|
8928
|
+
/**
|
|
8929
|
+
* 部署组状态
|
|
8930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8931
|
+
*/
|
|
8932
|
+
GroupStatus: string
|
|
8933
|
+
|
|
8934
|
+
/**
|
|
8935
|
+
* 服务配置信息是否匹配
|
|
8936
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8937
|
+
*/
|
|
8938
|
+
IsNotEqualServiceConfig: boolean
|
|
8939
|
+
}
|
|
8940
|
+
|
|
8866
8941
|
/**
|
|
8867
8942
|
* DescribeTaskLastStatus返回参数结构体
|
|
8868
8943
|
*/
|
|
@@ -9601,6 +9676,16 @@ export interface TsfPageSimpleGroup {
|
|
|
9601
9676
|
Content: Array<SimpleGroup>
|
|
9602
9677
|
}
|
|
9603
9678
|
|
|
9679
|
+
/**
|
|
9680
|
+
* DescribeGroupAttribute请求参数结构体
|
|
9681
|
+
*/
|
|
9682
|
+
export interface DescribeGroupAttributeRequest {
|
|
9683
|
+
/**
|
|
9684
|
+
* 部署组ID字段
|
|
9685
|
+
*/
|
|
9686
|
+
GroupId: string
|
|
9687
|
+
}
|
|
9688
|
+
|
|
9604
9689
|
/**
|
|
9605
9690
|
* 任务规则
|
|
9606
9691
|
*/
|
|
@@ -5926,7 +5926,7 @@ export interface DescribeAddressesRequest {
|
|
|
5926
5926
|
AddressIds?: Array<string>
|
|
5927
5927
|
|
|
5928
5928
|
/**
|
|
5929
|
-
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为
|
|
5929
|
+
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
|
|
5930
5930
|
<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。</li>
|
|
5931
5931
|
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。</li>
|
|
5932
5932
|
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。</li>
|
|
@@ -5935,7 +5935,7 @@ export interface DescribeAddressesRequest {
|
|
|
5935
5935
|
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>
|
|
5936
5936
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>
|
|
5937
5937
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
5938
|
-
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'EIP','AnycastEIP','HighQualityEIP'
|
|
5938
|
+
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>
|
|
5939
5939
|
<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>
|
|
5940
5940
|
<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>
|
|
5941
5941
|
<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
@@ -200,7 +200,7 @@ export class Client extends AbstractClient {
|
|
|
200
200
|
* 本接口用于访问日志的快速分析
|
|
201
201
|
*/
|
|
202
202
|
async DescribeAccessFastAnalysis(
|
|
203
|
-
req
|
|
203
|
+
req: DescribeAccessFastAnalysisRequest,
|
|
204
204
|
cb?: (error: string, rep: DescribeAccessFastAnalysisResponse) => void
|
|
205
205
|
): Promise<DescribeAccessFastAnalysisResponse> {
|
|
206
206
|
return this.request("DescribeAccessFastAnalysis", req, cb)
|
|
@@ -456,7 +456,32 @@ export interface AccessRuleInfo {
|
|
|
456
456
|
/**
|
|
457
457
|
* DescribeAccessFastAnalysis请求参数结构体
|
|
458
458
|
*/
|
|
459
|
-
export
|
|
459
|
+
export interface DescribeAccessFastAnalysisRequest {
|
|
460
|
+
/**
|
|
461
|
+
* 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
|
462
|
+
*/
|
|
463
|
+
TopicId: string
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* 要查询的日志的起始时间,Unix时间戳,单位ms
|
|
467
|
+
*/
|
|
468
|
+
From: number
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* 要查询的日志的结束时间,Unix时间戳,单位ms
|
|
472
|
+
*/
|
|
473
|
+
To: number
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 查询语句,语句长度最大为4096,由于本接口是分析接口,如果无过滤条件,必须传 * 表示匹配所有,参考CLS的分析统计语句的文档
|
|
477
|
+
*/
|
|
478
|
+
Query: string
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* 需要分析统计的字段名
|
|
482
|
+
*/
|
|
483
|
+
FieldName: string
|
|
484
|
+
}
|
|
460
485
|
|
|
461
486
|
/**
|
|
462
487
|
* 用于DescribeAccessIndex接口的出参
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.249";
|
|
@@ -142,7 +142,7 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
142
142
|
*/
|
|
143
143
|
DeleteApi(req: DeleteApiRequest, cb?: (error: string, rep: DeleteApiResponse) => void): Promise<DeleteApiResponse>;
|
|
144
144
|
/**
|
|
145
|
-
* 本接口(UpdateApiAppKey
|
|
145
|
+
* 本接口(UpdateApiAppKey)用于更新应用密钥。
|
|
146
146
|
*/
|
|
147
147
|
UpdateApiAppKey(req: UpdateApiAppKeyRequest, cb?: (error: string, rep: UpdateApiAppKeyResponse) => void): Promise<UpdateApiAppKeyResponse>;
|
|
148
148
|
/**
|
|
@@ -226,7 +226,7 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
226
226
|
return this.request("DeleteApi", req, cb);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
-
* 本接口(UpdateApiAppKey
|
|
229
|
+
* 本接口(UpdateApiAppKey)用于更新应用密钥。
|
|
230
230
|
*/
|
|
231
231
|
async UpdateApiAppKey(req, cb) {
|
|
232
232
|
return this.request("UpdateApiAppKey", req, cb);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { CreateApmInstanceResponse, CreateApmInstanceRequest, DescribeApmAgentResponse, DescribeApmInstancesResponse, DescribeApmInstancesRequest, DescribeApmAgentRequest } from "./apm_models";
|
|
4
|
+
/**
|
|
5
|
+
* apm client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 业务购买APM实例,调用该接口创建
|
|
12
|
+
*/
|
|
13
|
+
CreateApmInstance(req: CreateApmInstanceRequest, cb?: (error: string, rep: CreateApmInstanceResponse) => void): Promise<CreateApmInstanceResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* APM实例列表拉取
|
|
16
|
+
*/
|
|
17
|
+
DescribeApmInstances(req: DescribeApmInstancesRequest, cb?: (error: string, rep: DescribeApmInstancesResponse) => void): Promise<DescribeApmInstancesResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 获取Apm Agent信息
|
|
20
|
+
*/
|
|
21
|
+
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* apm client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("apm.tencentcloudapi.com", "2021-06-22", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 业务购买APM实例,调用该接口创建
|
|
32
|
+
*/
|
|
33
|
+
async CreateApmInstance(req, cb) {
|
|
34
|
+
return this.request("CreateApmInstance", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* APM实例列表拉取
|
|
38
|
+
*/
|
|
39
|
+
async DescribeApmInstances(req, cb) {
|
|
40
|
+
return this.request("DescribeApmInstances", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 获取Apm Agent信息
|
|
44
|
+
*/
|
|
45
|
+
async DescribeApmAgent(req, cb) {
|
|
46
|
+
return this.request("DescribeApmAgent", req, cb);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.Client = Client;
|