tencentcloud-sdk-nodejs 4.0.233 → 4.0.237
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 +443 -85
- package/package.json +1 -1
- package/products.md +28 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +0 -12
- package/src/services/as/v20180419/as_models.ts +0 -75
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdb/v20170320/cdb_client.ts +37 -12
- package/src/services/cdb/v20170320/cdb_models.ts +163 -68
- package/src/services/cdn/v20180606/cdn_models.ts +15 -9
- package/src/services/clb/v20180317/clb_client.ts +14 -1
- package/src/services/clb/v20180317/clb_models.ts +54 -19
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +6 -0
- package/src/services/cme/v20191029/cme_models.ts +4 -4
- package/src/services/cpdp/v20190820/cpdp_client.ts +39 -14
- package/src/services/cpdp/v20190820/cpdp_models.ts +774 -637
- package/src/services/cvm/v20170312/cvm_models.ts +3 -3
- package/src/services/dcdb/v20180411/dcdb_models.ts +1 -1
- package/src/services/ecm/v20190719/ecm_models.ts +6 -1
- package/src/services/ie/v20200304/ie_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/live/v20180801/live_client.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/mrs/v20200910/mrs_client.ts +11 -5
- package/src/services/mrs/v20200910/mrs_models.ts +249 -81
- package/src/services/oceanus/v20190422/oceanus_models.ts +15 -5
- package/src/services/ocr/v20181119/ocr_models.ts +3 -3
- package/src/services/postgres/v20170312/postgres_models.ts +12 -9
- package/src/services/sms/v20210111/sms_client.ts +1 -1
- package/src/services/sms/v20210111/sms_models.ts +18 -6
- package/src/services/tcb/v20180608/tcb_client.ts +18 -6
- package/src/services/tcb/v20180608/tcb_models.ts +87 -0
- package/src/services/tcm/index.ts +5 -0
- package/src/services/tcm/v20210413/index.ts +6 -0
- package/src/services/tcm/v20210413/tcm_client.ts +88 -0
- package/src/services/tcm/v20210413/tcm_models.ts +891 -0
- package/src/services/tiw/v20190919/tiw_models.ts +5 -4
- package/src/services/trtc/v20190722/trtc_client.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +6 -6
- package/src/services/tse/v20201207/tse_models.ts +24 -0
- package/src/services/tsf/v20180326/tsf_models.ts +146 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -5
- package/tencentcloud/services/as/v20180419/as_client.js +0 -6
- package/tencentcloud/services/as/v20180419/as_models.d.ts +0 -62
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +11 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +15 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -61
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +14 -8
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +5 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +6 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +47 -16
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +5 -0
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +569 -451
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +1 -1
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -1
- package/tencentcloud/services/ie/v20200304/ie_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +2 -2
- package/tencentcloud/services/live/v20180801/live_client.js +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +220 -75
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +12 -4
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -3
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +12 -9
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.js +1 -1
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +15 -5
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +7 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +9 -3
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +72 -0
- package/tencentcloud/services/tcm/index.d.ts +6 -0
- package/tencentcloud/services/tcm/index.js +7 -0
- package/tencentcloud/services/tcm/v20210413/index.d.ts +6 -0
- package/tencentcloud/services/tcm/v20210413/index.js +9 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +18 -0
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +43 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +746 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.js +18 -0
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +5 -4
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +20 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +120 -16
- package/test/as.v20180419.test.js +0 -10
- package/test/cdb.v20170320.test.js +22 -2
- package/test/clb.v20180317.test.js +10 -0
- package/test/cpdp.v20190820.test.js +20 -0
- package/test/tcb.v20180608.test.js +12 -2
- package/test/tcm.v20210413.test.js +41 -0
|
@@ -1089,12 +1089,12 @@ export interface ModifyDBInstanceSpecRequest {
|
|
|
1089
1089
|
SwitchTag?: number
|
|
1090
1090
|
|
|
1091
1091
|
/**
|
|
1092
|
-
*
|
|
1092
|
+
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。
|
|
1093
1093
|
*/
|
|
1094
1094
|
SwitchStartTime?: string
|
|
1095
1095
|
|
|
1096
1096
|
/**
|
|
1097
|
-
*
|
|
1097
|
+
* 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。
|
|
1098
1098
|
*/
|
|
1099
1099
|
SwitchEndTime?: string
|
|
1100
1100
|
}
|
|
@@ -1930,7 +1930,10 @@ export interface ParamInfo {
|
|
|
1930
1930
|
Name: string
|
|
1931
1931
|
|
|
1932
1932
|
/**
|
|
1933
|
-
* 参数值类型:integer(整型)、real(浮点型)、bool(布尔型)、enum(枚举类型)、mutil_enum
|
|
1933
|
+
* 参数值类型:integer(整型)、real(浮点型)、bool(布尔型)、enum(枚举类型)、mutil_enum(枚举类型、支持多选)。
|
|
1934
|
+
当参数类型为integer(整型)、real(浮点型)时,参数的取值范围根据返回值的Max、Min确定;
|
|
1935
|
+
当参数类型为bool(布尔型)时,参数设置值取值范围是true | false;
|
|
1936
|
+
当参数类型为enum(枚举类型)、mutil_enum(多枚举类型)时,参数的取值范围由返回值中的EnumValue确定。
|
|
1934
1937
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1935
1938
|
*/
|
|
1936
1939
|
ParamValueType: string
|
|
@@ -2161,7 +2164,7 @@ export interface DescribeSlowQueryAnalysisRequest {
|
|
|
2161
2164
|
StartTime: string
|
|
2162
2165
|
|
|
2163
2166
|
/**
|
|
2164
|
-
*
|
|
2167
|
+
* 查询结束时间戳,格式 “YYYY-MM-DD HH:mm:ss”。
|
|
2165
2168
|
*/
|
|
2166
2169
|
EndTime: string
|
|
2167
2170
|
|
|
@@ -2171,22 +2174,22 @@ export interface DescribeSlowQueryAnalysisRequest {
|
|
|
2171
2174
|
DatabaseName?: string
|
|
2172
2175
|
|
|
2173
2176
|
/**
|
|
2174
|
-
* 排序维度。 可选参数,取值范围[CallNum,CostTime,AvgCostTime]。
|
|
2177
|
+
* 排序维度。 可选参数,取值范围[CallNum,CostTime,AvgCostTime]。默认CallNum。
|
|
2175
2178
|
*/
|
|
2176
2179
|
OrderBy?: string
|
|
2177
2180
|
|
|
2178
2181
|
/**
|
|
2179
|
-
* 排序类型。升序asc、降序desc。
|
|
2182
|
+
* 排序类型。升序asc、降序desc。默认desc。
|
|
2180
2183
|
*/
|
|
2181
2184
|
OrderByType?: string
|
|
2182
2185
|
|
|
2183
2186
|
/**
|
|
2184
|
-
* 分页大小。取值范围[1,100]。
|
|
2187
|
+
* 分页大小。取值范围[1,100]。默认50。
|
|
2185
2188
|
*/
|
|
2186
2189
|
Limit?: number
|
|
2187
2190
|
|
|
2188
2191
|
/**
|
|
2189
|
-
* 分页偏移。取值范围[0,INF)。
|
|
2192
|
+
* 分页偏移。取值范围[0,INF)。默认0。
|
|
2190
2193
|
*/
|
|
2191
2194
|
Offset?: number
|
|
2192
2195
|
}
|
|
@@ -3100,7 +3103,7 @@ export interface DescribeSlowQueryListRequest {
|
|
|
3100
3103
|
StartTime: string
|
|
3101
3104
|
|
|
3102
3105
|
/**
|
|
3103
|
-
*
|
|
3106
|
+
* 查询结束时间戳,格式 “YYYY-MM-DD HH:mm:ss”。
|
|
3104
3107
|
*/
|
|
3105
3108
|
EndTime: string
|
|
3106
3109
|
|
|
@@ -121,7 +121,7 @@ export class Client extends AbstractClient {
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* 短信发送接口,用于给用户发短信验证码、通知类短信或营销短信。
|
|
125
125
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 SDK 来使用云短信服务。
|
|
126
126
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
127
127
|
|
|
@@ -843,18 +843,30 @@ export interface DescribeSmsSignListResponse {
|
|
|
843
843
|
* DescribeSmsTemplateList请求参数结构体
|
|
844
844
|
*/
|
|
845
845
|
export interface DescribeSmsTemplateListRequest {
|
|
846
|
-
/**
|
|
847
|
-
* 模板 ID 数组。
|
|
848
|
-
<dx-alert infotype="notice" title="注意">默认数组长度最大100</dx-alert>
|
|
849
|
-
*/
|
|
850
|
-
TemplateIdSet: Array<number>
|
|
851
|
-
|
|
852
846
|
/**
|
|
853
847
|
* 是否国际/港澳台短信:
|
|
854
848
|
0:表示国内短信。
|
|
855
849
|
1:表示国际/港澳台短信。
|
|
856
850
|
*/
|
|
857
851
|
International: number
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* 模板 ID 数组。数组为空时默认查询模板列表信息(仅允许主账号使用),请使用 Limit 和 Offset 字段设置查询范围。
|
|
855
|
+
<dx-alert infotype="notice" title="注意">默认数组长度最大100</dx-alert>
|
|
856
|
+
*/
|
|
857
|
+
TemplateIdSet?: Array<number>
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* 最大上限,最多100。
|
|
861
|
+
注:默认为0,TemplateIdSet 为空时启用。
|
|
862
|
+
*/
|
|
863
|
+
Limit?: number
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* 偏移量。
|
|
867
|
+
注:默认为0,TemplateIdSet 为空时启用。
|
|
868
|
+
*/
|
|
869
|
+
Offset?: number
|
|
858
870
|
}
|
|
859
871
|
|
|
860
872
|
/**
|
|
@@ -210,6 +210,7 @@ import {
|
|
|
210
210
|
CloudBaseProjectVersion,
|
|
211
211
|
DescribeEnvDealRegionRequest,
|
|
212
212
|
DescribeDatabaseACLResponse,
|
|
213
|
+
ModifyCloudBaseRunServerVersionResponse,
|
|
213
214
|
DescribeExtensionUploadInfoResponse,
|
|
214
215
|
ModifyEnvRequest,
|
|
215
216
|
PostpayEnvQuota,
|
|
@@ -217,6 +218,7 @@ import {
|
|
|
217
218
|
DescribePostpayPackageFreeQuotasResponse,
|
|
218
219
|
DescribeExtraPkgBillingInfoResponse,
|
|
219
220
|
CloudBaseCodeRepoName,
|
|
221
|
+
ModifyCloudBaseRunServerVersionRequest,
|
|
220
222
|
RollUpdateCloudBaseRunServerVersionRequest,
|
|
221
223
|
} from "./tcb_models"
|
|
222
224
|
|
|
@@ -472,6 +474,16 @@ export class Client extends AbstractClient {
|
|
|
472
474
|
return this.request("CreatePostpayPackage", req, cb)
|
|
473
475
|
}
|
|
474
476
|
|
|
477
|
+
/**
|
|
478
|
+
* 更新活动详情
|
|
479
|
+
*/
|
|
480
|
+
async ReplaceActivityRecord(
|
|
481
|
+
req: ReplaceActivityRecordRequest,
|
|
482
|
+
cb?: (error: string, rep: ReplaceActivityRecordResponse) => void
|
|
483
|
+
): Promise<ReplaceActivityRecordResponse> {
|
|
484
|
+
return this.request("ReplaceActivityRecord", req, cb)
|
|
485
|
+
}
|
|
486
|
+
|
|
475
487
|
/**
|
|
476
488
|
* 查询用户活动信息
|
|
477
489
|
*/
|
|
@@ -823,13 +835,13 @@ export class Client extends AbstractClient {
|
|
|
823
835
|
}
|
|
824
836
|
|
|
825
837
|
/**
|
|
826
|
-
*
|
|
838
|
+
* 修改服务版本的副本数,环境变量
|
|
827
839
|
*/
|
|
828
|
-
async
|
|
829
|
-
req:
|
|
830
|
-
cb?: (error: string, rep:
|
|
831
|
-
): Promise<
|
|
832
|
-
return this.request("
|
|
840
|
+
async ModifyCloudBaseRunServerVersion(
|
|
841
|
+
req: ModifyCloudBaseRunServerVersionRequest,
|
|
842
|
+
cb?: (error: string, rep: ModifyCloudBaseRunServerVersionResponse) => void
|
|
843
|
+
): Promise<ModifyCloudBaseRunServerVersionResponse> {
|
|
844
|
+
return this.request("ModifyCloudBaseRunServerVersion", req, cb)
|
|
833
845
|
}
|
|
834
846
|
|
|
835
847
|
/**
|
|
@@ -4041,6 +4041,12 @@ export interface CloudBaseRunServerVersionItem {
|
|
|
4041
4041
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4042
4042
|
*/
|
|
4043
4043
|
CurrentReplicas: number
|
|
4044
|
+
|
|
4045
|
+
/**
|
|
4046
|
+
* Monolithic,Microservice
|
|
4047
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4048
|
+
*/
|
|
4049
|
+
Architecture: string
|
|
4044
4050
|
}
|
|
4045
4051
|
|
|
4046
4052
|
/**
|
|
@@ -5713,6 +5719,22 @@ export interface DescribeDatabaseACLResponse {
|
|
|
5713
5719
|
RequestId?: string
|
|
5714
5720
|
}
|
|
5715
5721
|
|
|
5722
|
+
/**
|
|
5723
|
+
* ModifyCloudBaseRunServerVersion返回参数结构体
|
|
5724
|
+
*/
|
|
5725
|
+
export interface ModifyCloudBaseRunServerVersionResponse {
|
|
5726
|
+
/**
|
|
5727
|
+
* 返回结果(succ为成功)
|
|
5728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5729
|
+
*/
|
|
5730
|
+
Result?: string
|
|
5731
|
+
|
|
5732
|
+
/**
|
|
5733
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5734
|
+
*/
|
|
5735
|
+
RequestId?: string
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5716
5738
|
/**
|
|
5717
5739
|
* DescribeExtensionUploadInfo返回参数结构体
|
|
5718
5740
|
*/
|
|
@@ -5844,6 +5866,71 @@ export interface CloudBaseCodeRepoName {
|
|
|
5844
5866
|
FullName?: string
|
|
5845
5867
|
}
|
|
5846
5868
|
|
|
5869
|
+
/**
|
|
5870
|
+
* ModifyCloudBaseRunServerVersion请求参数结构体
|
|
5871
|
+
*/
|
|
5872
|
+
export interface ModifyCloudBaseRunServerVersionRequest {
|
|
5873
|
+
/**
|
|
5874
|
+
* 环境ID
|
|
5875
|
+
*/
|
|
5876
|
+
EnvId: string
|
|
5877
|
+
|
|
5878
|
+
/**
|
|
5879
|
+
* 服务名称
|
|
5880
|
+
*/
|
|
5881
|
+
ServerName: string
|
|
5882
|
+
|
|
5883
|
+
/**
|
|
5884
|
+
* 版本名称
|
|
5885
|
+
*/
|
|
5886
|
+
VersionName: string
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
* 环境变量
|
|
5890
|
+
*/
|
|
5891
|
+
EnvParams?: string
|
|
5892
|
+
|
|
5893
|
+
/**
|
|
5894
|
+
* 最小副本数
|
|
5895
|
+
*/
|
|
5896
|
+
MinNum?: string
|
|
5897
|
+
|
|
5898
|
+
/**
|
|
5899
|
+
* 最大副本数
|
|
5900
|
+
*/
|
|
5901
|
+
MaxNum?: string
|
|
5902
|
+
|
|
5903
|
+
/**
|
|
5904
|
+
* 端口
|
|
5905
|
+
*/
|
|
5906
|
+
ContainerPort?: string
|
|
5907
|
+
|
|
5908
|
+
/**
|
|
5909
|
+
* 备注
|
|
5910
|
+
*/
|
|
5911
|
+
Remark?: string
|
|
5912
|
+
|
|
5913
|
+
/**
|
|
5914
|
+
* 日志采集路径
|
|
5915
|
+
*/
|
|
5916
|
+
CustomLogs?: string
|
|
5917
|
+
|
|
5918
|
+
/**
|
|
5919
|
+
* 是否重设备注
|
|
5920
|
+
*/
|
|
5921
|
+
IsResetRemark?: boolean
|
|
5922
|
+
|
|
5923
|
+
/**
|
|
5924
|
+
* 修改基础信息
|
|
5925
|
+
*/
|
|
5926
|
+
BasicModify?: boolean
|
|
5927
|
+
|
|
5928
|
+
/**
|
|
5929
|
+
* 操作备注
|
|
5930
|
+
*/
|
|
5931
|
+
OperatorRemark?: string
|
|
5932
|
+
}
|
|
5933
|
+
|
|
5847
5934
|
/**
|
|
5848
5935
|
* RollUpdateCloudBaseRunServerVersion请求参数结构体
|
|
5849
5936
|
*/
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
HorizontalPodAutoscalerSpec,
|
|
22
|
+
Service,
|
|
23
|
+
MeshConfig,
|
|
24
|
+
LoadBalancerStatus,
|
|
25
|
+
DescribeMeshResponse,
|
|
26
|
+
AutoInjectionNamespaceState,
|
|
27
|
+
IngressGatewayStatus,
|
|
28
|
+
ResourceMetricSource,
|
|
29
|
+
DescribeMeshListRequest,
|
|
30
|
+
ClusterConfig,
|
|
31
|
+
MetricSpec,
|
|
32
|
+
WorkloadConfig,
|
|
33
|
+
EgressGateway,
|
|
34
|
+
Mesh,
|
|
35
|
+
GrafanaInfo,
|
|
36
|
+
MeshStatus,
|
|
37
|
+
IstiodConfig,
|
|
38
|
+
SelectedRange,
|
|
39
|
+
PodsMetricSource,
|
|
40
|
+
Resource,
|
|
41
|
+
DeployConfig,
|
|
42
|
+
DescribeMeshRequest,
|
|
43
|
+
ActiveOperation,
|
|
44
|
+
PrometheusStatus,
|
|
45
|
+
Filter,
|
|
46
|
+
PrometheusConfig,
|
|
47
|
+
IstioConfig,
|
|
48
|
+
CLS,
|
|
49
|
+
TracingConfig,
|
|
50
|
+
IngressGateway,
|
|
51
|
+
SelectedItems,
|
|
52
|
+
Cluster,
|
|
53
|
+
DescribeMeshListResponse,
|
|
54
|
+
ResourceRequirements,
|
|
55
|
+
ClusterStatus,
|
|
56
|
+
AccessLogConfig,
|
|
57
|
+
LoadBalancer,
|
|
58
|
+
} from "./tcm_models"
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* tcm client
|
|
62
|
+
* @class
|
|
63
|
+
*/
|
|
64
|
+
export class Client extends AbstractClient {
|
|
65
|
+
constructor(clientConfig: ClientConfig) {
|
|
66
|
+
super("tcm.tencentcloudapi.com", "2021-04-13", clientConfig)
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 查询网格列表
|
|
71
|
+
*/
|
|
72
|
+
async DescribeMeshList(
|
|
73
|
+
req: DescribeMeshListRequest,
|
|
74
|
+
cb?: (error: string, rep: DescribeMeshListResponse) => void
|
|
75
|
+
): Promise<DescribeMeshListResponse> {
|
|
76
|
+
return this.request("DescribeMeshList", req, cb)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* 查询网格详情
|
|
81
|
+
*/
|
|
82
|
+
async DescribeMesh(
|
|
83
|
+
req: DescribeMeshRequest,
|
|
84
|
+
cb?: (error: string, rep: DescribeMeshResponse) => void
|
|
85
|
+
): Promise<DescribeMeshResponse> {
|
|
86
|
+
return this.request("DescribeMesh", req, cb)
|
|
87
|
+
}
|
|
88
|
+
}
|