tencentcloud-sdk-nodejs 4.0.264 → 4.0.265
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 +131 -0
- package/SERVICE_CHANGELOG.md +197 -27
- package/package.json +1 -1
- package/products.md +6 -6
- package/src/common/sdk_version.ts +1 -1
- package/src/services/es/v20180416/es_models.ts +125 -8
- package/src/services/gaap/v20180529/gaap_client.ts +1 -1
- package/src/services/gaap/v20180529/gaap_models.ts +14 -7
- package/src/services/monitor/v20180724/monitor_client.ts +15 -2
- package/src/services/monitor/v20180724/monitor_models.ts +109 -49
- package/src/services/organization/v20210331/organization_client.ts +14 -1
- package/src/services/organization/v20210331/organization_models.ts +124 -2
- package/src/services/tsf/v20180326/tsf_client.ts +14 -1
- package/src/services/tsf/v20180326/tsf_models.ts +228 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +105 -8
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +1 -1
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +1 -1
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +13 -7
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +95 -44
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +105 -2
- 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 +192 -5
- package/test/monitor.v20180724.test.js +10 -0
- package/test/organization.v20210331.test.js +10 -0
- package/test/tsf.v20180326.test.js +10 -0
|
@@ -813,6 +813,20 @@ export interface ChangeApiUsableStatusRequest {
|
|
|
813
813
|
*/
|
|
814
814
|
UsableStatus: string;
|
|
815
815
|
}
|
|
816
|
+
/**
|
|
817
|
+
* DescribeMicroservices返回参数结构体
|
|
818
|
+
*/
|
|
819
|
+
export interface DescribeMicroservicesResponse {
|
|
820
|
+
/**
|
|
821
|
+
* 微服务分页列表信息
|
|
822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
823
|
+
*/
|
|
824
|
+
Result: TsfPageMicroservice;
|
|
825
|
+
/**
|
|
826
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
827
|
+
*/
|
|
828
|
+
RequestId?: string;
|
|
829
|
+
}
|
|
816
830
|
/**
|
|
817
831
|
* DescribeApiRateLimitRules请求参数结构体
|
|
818
832
|
*/
|
|
@@ -2051,14 +2065,13 @@ export interface DeleteImageTag {
|
|
|
2051
2065
|
TagName: string;
|
|
2052
2066
|
}
|
|
2053
2067
|
/**
|
|
2054
|
-
*
|
|
2068
|
+
* DescribeContainerGroupDeployInfo返回参数结构体
|
|
2055
2069
|
*/
|
|
2056
|
-
export interface
|
|
2070
|
+
export interface DescribeContainerGroupDeployInfoResponse {
|
|
2057
2071
|
/**
|
|
2058
|
-
*
|
|
2059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2072
|
+
* 获取部署组
|
|
2060
2073
|
*/
|
|
2061
|
-
Result:
|
|
2074
|
+
Result: ContainerGroupDeploy;
|
|
2062
2075
|
/**
|
|
2063
2076
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2064
2077
|
*/
|
|
@@ -3933,6 +3946,171 @@ export interface DescribeGroupUseDetailResponse {
|
|
|
3933
3946
|
*/
|
|
3934
3947
|
RequestId?: string;
|
|
3935
3948
|
}
|
|
3949
|
+
/**
|
|
3950
|
+
* 获取部署组
|
|
3951
|
+
*/
|
|
3952
|
+
export interface ContainerGroupDeploy {
|
|
3953
|
+
/**
|
|
3954
|
+
* 部署组id
|
|
3955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3956
|
+
*/
|
|
3957
|
+
GroupId: string;
|
|
3958
|
+
/**
|
|
3959
|
+
* 分组名称
|
|
3960
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3961
|
+
*/
|
|
3962
|
+
GroupName: string;
|
|
3963
|
+
/**
|
|
3964
|
+
* 实例总数
|
|
3965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3966
|
+
*/
|
|
3967
|
+
InstanceNum: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* 已启动实例总数
|
|
3970
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3971
|
+
*/
|
|
3972
|
+
CurrentNum: number;
|
|
3973
|
+
/**
|
|
3974
|
+
* 镜像server
|
|
3975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3976
|
+
*/
|
|
3977
|
+
Server: string;
|
|
3978
|
+
/**
|
|
3979
|
+
* 镜像名,如/tsf/nginx
|
|
3980
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3981
|
+
*/
|
|
3982
|
+
Reponame: string;
|
|
3983
|
+
/**
|
|
3984
|
+
* 镜像版本名称
|
|
3985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3986
|
+
*/
|
|
3987
|
+
TagName: string;
|
|
3988
|
+
/**
|
|
3989
|
+
* 业务容器初始分配的 CPU 核数,对应 K8S request
|
|
3990
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3991
|
+
*/
|
|
3992
|
+
CpuRequest: string;
|
|
3993
|
+
/**
|
|
3994
|
+
* 业务容器最大分配的 CPU 核数,对应 K8S limit
|
|
3995
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3996
|
+
*/
|
|
3997
|
+
CpuLimit: string;
|
|
3998
|
+
/**
|
|
3999
|
+
* 业务容器初始分配的内存 MiB 数,对应 K8S request
|
|
4000
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4001
|
+
*/
|
|
4002
|
+
MemRequest: string;
|
|
4003
|
+
/**
|
|
4004
|
+
* 业务容器最大分配的内存 MiB 数,对应 K8S limit
|
|
4005
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4006
|
+
*/
|
|
4007
|
+
MemLimit: string;
|
|
4008
|
+
/**
|
|
4009
|
+
* 0:公网 1:集群内访问 2:NodePort
|
|
4010
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4011
|
+
*/
|
|
4012
|
+
AccessType: number;
|
|
4013
|
+
/**
|
|
4014
|
+
* 端口映射
|
|
4015
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4016
|
+
*/
|
|
4017
|
+
ProtocolPorts: Array<ProtocolPort>;
|
|
4018
|
+
/**
|
|
4019
|
+
* 更新方式:0:快速更新 1:滚动更新
|
|
4020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4021
|
+
*/
|
|
4022
|
+
UpdateType: number;
|
|
4023
|
+
/**
|
|
4024
|
+
* 更新间隔,单位秒
|
|
4025
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4026
|
+
*/
|
|
4027
|
+
UpdateIvl: number;
|
|
4028
|
+
/**
|
|
4029
|
+
* jvm参数
|
|
4030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4031
|
+
*/
|
|
4032
|
+
JvmOpts: string;
|
|
4033
|
+
/**
|
|
4034
|
+
* 子网id
|
|
4035
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4036
|
+
*/
|
|
4037
|
+
SubnetId: string;
|
|
4038
|
+
/**
|
|
4039
|
+
* agent容器初始分配的 CPU 核数,对应 K8S request
|
|
4040
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4041
|
+
*/
|
|
4042
|
+
AgentCpuRequest: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* agent容器最大分配的 CPU 核数,对应 K8S limit
|
|
4045
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4046
|
+
*/
|
|
4047
|
+
AgentCpuLimit: string;
|
|
4048
|
+
/**
|
|
4049
|
+
* agent容器初始分配的内存 MiB 数,对应 K8S request
|
|
4050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4051
|
+
*/
|
|
4052
|
+
AgentMemRequest: string;
|
|
4053
|
+
/**
|
|
4054
|
+
* agent容器最大分配的内存 MiB 数,对应 K8S limit
|
|
4055
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4056
|
+
*/
|
|
4057
|
+
AgentMemLimit: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* istioproxy容器初始分配的 CPU 核数,对应 K8S request
|
|
4060
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4061
|
+
*/
|
|
4062
|
+
IstioCpuRequest: string;
|
|
4063
|
+
/**
|
|
4064
|
+
* istioproxy容器最大分配的 CPU 核数,对应 K8S limit
|
|
4065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4066
|
+
*/
|
|
4067
|
+
IstioCpuLimit: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* istioproxy容器初始分配的内存 MiB 数,对应 K8S request
|
|
4070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4071
|
+
*/
|
|
4072
|
+
IstioMemRequest: string;
|
|
4073
|
+
/**
|
|
4074
|
+
* istioproxy容器最大分配的内存 MiB 数,对应 K8S limit
|
|
4075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4076
|
+
*/
|
|
4077
|
+
IstioMemLimit: string;
|
|
4078
|
+
/**
|
|
4079
|
+
* 部署组的环境变量数组,这里没有展示 tsf 使用的环境变量,只展示了用户设置的环境变量。
|
|
4080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4081
|
+
*/
|
|
4082
|
+
Envs: Array<Env>;
|
|
4083
|
+
/**
|
|
4084
|
+
* 健康检查配置信息,若不指定该参数,则默认不设置健康检查。
|
|
4085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4086
|
+
*/
|
|
4087
|
+
HealthCheckSettings: HealthCheckSettings;
|
|
4088
|
+
/**
|
|
4089
|
+
* 是否部署Agent容器
|
|
4090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4091
|
+
*/
|
|
4092
|
+
DeployAgent: boolean;
|
|
4093
|
+
/**
|
|
4094
|
+
* 部署组备注
|
|
4095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4096
|
+
*/
|
|
4097
|
+
Alias: string;
|
|
4098
|
+
/**
|
|
4099
|
+
* 是否创建 k8s service
|
|
4100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4101
|
+
*/
|
|
4102
|
+
DisableService: boolean;
|
|
4103
|
+
/**
|
|
4104
|
+
* service 是否为 headless 类型
|
|
4105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4106
|
+
*/
|
|
4107
|
+
HeadlessService: boolean;
|
|
4108
|
+
/**
|
|
4109
|
+
* TcrRepoInfo值
|
|
4110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4111
|
+
*/
|
|
4112
|
+
TcrRepoInfo: TcrRepoInfo;
|
|
4113
|
+
}
|
|
3936
4114
|
/**
|
|
3937
4115
|
* Tsf命名空间分页对象
|
|
3938
4116
|
*/
|
|
@@ -8132,6 +8310,15 @@ export interface DescribeGroupInstancesResponse {
|
|
|
8132
8310
|
*/
|
|
8133
8311
|
RequestId?: string;
|
|
8134
8312
|
}
|
|
8313
|
+
/**
|
|
8314
|
+
* DescribeContainerGroupDeployInfo请求参数结构体
|
|
8315
|
+
*/
|
|
8316
|
+
export interface DescribeContainerGroupDeployInfoRequest {
|
|
8317
|
+
/**
|
|
8318
|
+
* 实例所属 groupId
|
|
8319
|
+
*/
|
|
8320
|
+
GroupId: string;
|
|
8321
|
+
}
|
|
8135
8322
|
/**
|
|
8136
8323
|
* OperateApplicationTcrBinding返回参数结构体
|
|
8137
8324
|
*/
|
|
@@ -278,6 +278,16 @@ it("monitor.v20180724.DescribeAlarmNotices", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("monitor.v20180724.BindingPolicyTag", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.BindingPolicyTag({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
281
291
|
it("monitor.v20180724.ModifyAlarmPolicyStatus", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.ModifyAlarmPolicyStatus({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.organization.v20210331.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("organization.v20210331.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("organization.v20210331.DescribeOrganizationMembers", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeOrganizationMembers({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("organization.v20210331.CreateOrganizationMember", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.CreateOrganizationMember({})
|
|
@@ -398,6 +398,16 @@ it("tsf.v20180326.DescribeApplications", async function () {
|
|
|
398
398
|
}
|
|
399
399
|
})
|
|
400
400
|
|
|
401
|
+
it("tsf.v20180326.DescribeContainerGroupDeployInfo", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeContainerGroupDeployInfo({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
401
411
|
it("tsf.v20180326.DescribeUnitApiUseDetail", async function () {
|
|
402
412
|
try {
|
|
403
413
|
const data = await client.DescribeUnitApiUseDetail({})
|