tencentcloud-sdk-nodejs 4.0.363 → 4.0.364

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +228 -0
  2. package/SERVICE_CHANGELOG.md +328 -112
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +6 -1
  7. package/src/services/asr/v20190614/asr_models.ts +0 -1
  8. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  9. package/src/services/ccc/v20200210/ccc_models.ts +48 -7
  10. package/src/services/ciam/v20220331/ciam_client.ts +1 -0
  11. package/src/services/ciam/v20220331/ciam_models.ts +21 -1
  12. package/src/services/cloudhsm/v20191112/cloudhsm_client.ts +1 -1
  13. package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +22 -6
  14. package/src/services/cpdp/v20190820/cpdp_models.ts +40 -0
  15. package/src/services/cwp/v20180228/cwp_models.ts +13 -1
  16. package/src/services/dnspod/v20210323/dnspod_client.ts +29 -0
  17. package/src/services/dnspod/v20210323/dnspod_models.ts +231 -0
  18. package/src/services/es/v20180416/es_models.ts +6 -0
  19. package/src/services/ocr/v20181119/ocr_models.ts +3 -1
  20. package/src/services/ssl/v20191205/ssl_models.ts +6 -0
  21. package/src/services/tem/v20210701/tem_client.ts +20 -7
  22. package/src/services/tem/v20210701/tem_models.ts +125 -11
  23. package/src/services/teo/v20220106/teo_models.ts +4 -2
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +5 -1
  27. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +0 -1
  28. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  29. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  30. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +42 -7
  31. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +19 -1
  32. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_client.d.ts +1 -1
  33. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +18 -4
  34. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +35 -0
  35. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +11 -1
  36. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -1
  37. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -0
  38. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +194 -0
  39. package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
  40. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -1
  41. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
  42. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +7 -3
  43. package/tencentcloud/services/tem/v20210701/tem_client.js +9 -3
  44. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +106 -10
  45. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3 -1
  46. package/test/ccc.v20200210.test.js +10 -0
  47. package/test/dnspod.v20210323.test.js +20 -0
  48. package/test/tem.v20210701.test.js +12 -2
@@ -28,10 +28,10 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("tem.tencentcloudapi.com", "2021-07-01", clientConfig);
29
29
  }
30
30
  /**
31
- * 修改应用实例数量
31
+ * 单环境下所有应用状态查看
32
32
  */
33
- async ModifyApplicationReplicas(req, cb) {
34
- return this.request("ModifyApplicationReplicas", req, cb);
33
+ async DescribeApplicationsStatus(req, cb) {
34
+ return this.request("DescribeApplicationsStatus", req, cb);
35
35
  }
36
36
  /**
37
37
  * 创建或者更新 Ingress 规则
@@ -39,6 +39,12 @@ class Client extends abstract_client_1.AbstractClient {
39
39
  async ModifyIngress(req, cb) {
40
40
  return this.request("ModifyIngress", req, cb);
41
41
  }
42
+ /**
43
+ * 修改应用实例数量
44
+ */
45
+ async ModifyApplicationReplicas(req, cb) {
46
+ return this.request("ModifyApplicationReplicas", req, cb);
47
+ }
42
48
  /**
43
49
  * 服务删除
44
50
  - 停止当前运行服务
@@ -110,21 +110,17 @@ export interface RestartApplicationResponse {
110
110
  RequestId?: string;
111
111
  }
112
112
  /**
113
- * StopApplication请求参数结构体
113
+ * DescribeApplicationsStatus返回参数结构体
114
114
  */
115
- export interface StopApplicationRequest {
116
- /**
117
- * 服务id
118
- */
119
- ApplicationId: string;
115
+ export interface DescribeApplicationsStatusResponse {
120
116
  /**
121
- * 来源渠道
117
+ * 返回结果
122
118
  */
123
- SourceChannel?: number;
119
+ Result: Array<ServiceVersionBrief>;
124
120
  /**
125
- * 环境ID
121
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
126
122
  */
127
- EnvironmentId?: string;
123
+ RequestId?: string;
128
124
  }
129
125
  /**
130
126
  * 健康检查配置
@@ -1255,6 +1251,19 @@ export interface CronHorizontalAutoscaler {
1255
1251
  */
1256
1252
  Priority?: number;
1257
1253
  }
1254
+ /**
1255
+ * DescribeApplicationsStatus请求参数结构体
1256
+ */
1257
+ export interface DescribeApplicationsStatusRequest {
1258
+ /**
1259
+ * 来源渠道
1260
+ */
1261
+ SourceChannel?: number;
1262
+ /**
1263
+ * 环境ID
1264
+ */
1265
+ EnvironmentId?: string;
1266
+ }
1258
1267
  /**
1259
1268
  * RollingUpdateApplicationByVersion返回参数结构体
1260
1269
  */
@@ -1684,6 +1693,23 @@ export interface DeployStrategyConf {
1684
1693
  */
1685
1694
  Force?: boolean;
1686
1695
  }
1696
+ /**
1697
+ * StopApplication请求参数结构体
1698
+ */
1699
+ export interface StopApplicationRequest {
1700
+ /**
1701
+ * 服务id
1702
+ */
1703
+ ApplicationId: string;
1704
+ /**
1705
+ * 来源渠道
1706
+ */
1707
+ SourceChannel?: number;
1708
+ /**
1709
+ * 环境ID
1710
+ */
1711
+ EnvironmentId?: string;
1712
+ }
1687
1713
  /**
1688
1714
  * DescribeIngress请求参数结构体
1689
1715
  */
@@ -1880,6 +1906,76 @@ export interface StorageConf {
1880
1906
  */
1881
1907
  StorageVolIp?: string;
1882
1908
  }
1909
+ /**
1910
+ * 服务版本信息列表
1911
+ */
1912
+ export interface ServiceVersionBrief {
1913
+ /**
1914
+ * 版本名称
1915
+ */
1916
+ VersionName: string;
1917
+ /**
1918
+ * 状态
1919
+ */
1920
+ Status: string;
1921
+ /**
1922
+ * 是否启动弹性 -- 已废弃
1923
+ */
1924
+ EnableEs: number;
1925
+ /**
1926
+ * 当前实例
1927
+ */
1928
+ CurrentInstances: number;
1929
+ /**
1930
+ * version的id
1931
+ */
1932
+ VersionId: string;
1933
+ /**
1934
+ * 日志输出配置 -- 已废弃
1935
+ 注意:此字段可能返回 null,表示取不到有效值。
1936
+ */
1937
+ LogOutputConf: LogOutputConf;
1938
+ /**
1939
+ * 期望实例
1940
+ 注意:此字段可能返回 null,表示取不到有效值。
1941
+ */
1942
+ ExpectedInstances: number;
1943
+ /**
1944
+ * 部署方式
1945
+ 注意:此字段可能返回 null,表示取不到有效值。
1946
+ */
1947
+ DeployMode: string;
1948
+ /**
1949
+ * 建构任务ID
1950
+ 注意:此字段可能返回 null,表示取不到有效值。
1951
+ */
1952
+ BuildTaskId: string;
1953
+ /**
1954
+ * 环境ID
1955
+ 注意:此字段可能返回 null,表示取不到有效值。
1956
+ */
1957
+ EnvironmentId: string;
1958
+ /**
1959
+ * 环境name
1960
+ 注意:此字段可能返回 null,表示取不到有效值。
1961
+ */
1962
+ EnvironmentName: string;
1963
+ /**
1964
+ * 服务ID
1965
+ 注意:此字段可能返回 null,表示取不到有效值。
1966
+ */
1967
+ ApplicationId: string;
1968
+ /**
1969
+ * 服务name
1970
+ 注意:此字段可能返回 null,表示取不到有效值。
1971
+ */
1972
+ ApplicationName: string;
1973
+ /**
1974
+ * 是否正在发布中
1975
+ 注意:此字段可能返回 null,表示取不到有效值。
1976
+ */
1977
+ UnderDeploying: boolean;
1978
+ }
1883
1979
  /**
1884
1980
  * CreateEnvironment请求参数结构体
1885
1981
  */
@@ -3333,7 +3333,9 @@ export interface DescribeTimingL7CacheDataRequest {
3333
3333
  */
3334
3334
  ZoneIds?: Array<string>;
3335
3335
  /**
3336
- * 筛选条件
3336
+ * 筛选条件,筛选EO/源站响应如下:
3337
+ EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
3338
+ 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
3337
3339
  */
3338
3340
  Filters?: Array<Filter>;
3339
3341
  }
@@ -168,6 +168,16 @@ it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("ccc.v20200210.CreateCCCSkillGroup", async function () {
172
+ try {
173
+ const data = await client.CreateCCCSkillGroup({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
171
181
  it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
172
182
  try {
173
183
  const data = await client.UnbindStaffSkillGroupList({})
@@ -68,6 +68,16 @@ it("dnspod.v20210323.DescribeDomainAliasList", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
72
+ try {
73
+ const data = await client.DescribeSubdomainAnalytics({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
71
81
  it("dnspod.v20210323.ModifyRecordStatus", async function () {
72
82
  try {
73
83
  const data = await client.ModifyRecordStatus({})
@@ -198,6 +208,16 @@ it("dnspod.v20210323.DescribeRecordLineList", async function () {
198
208
  }
199
209
  })
200
210
 
211
+ it("dnspod.v20210323.DescribeDomainAnalytics", async function () {
212
+ try {
213
+ const data = await client.DescribeDomainAnalytics({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
201
221
  it("dnspod.v20210323.ModifyRecordRemark", async function () {
202
222
  try {
203
223
  const data = await client.ModifyRecordRemark({})
@@ -18,9 +18,9 @@ const client = new tencentcloud.tem.v20210701.Client({
18
18
  })
19
19
  describe("tem.v20210701.test.js", function () {
20
20
 
21
- it("tem.v20210701.ModifyApplicationReplicas", async function () {
21
+ it("tem.v20210701.DescribeApplicationsStatus", async function () {
22
22
  try {
23
- const data = await client.ModifyApplicationReplicas({})
23
+ const data = await client.DescribeApplicationsStatus({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -38,6 +38,16 @@ it("tem.v20210701.ModifyIngress", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("tem.v20210701.ModifyApplicationReplicas", async function () {
42
+ try {
43
+ const data = await client.ModifyApplicationReplicas({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
41
51
  it("tem.v20210701.DeleteApplication", async function () {
42
52
  try {
43
53
  const data = await client.DeleteApplication({})