tencentcloud-sdk-nodejs 4.0.244 → 4.0.248

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 (126) hide show
  1. package/CHANGELOG.md +431 -9
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/products.md +27 -24
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +1 -1
  7. package/src/services/apm/index.ts +5 -0
  8. package/src/services/apm/v20210622/apm_client.ts +58 -0
  9. package/src/services/apm/v20210622/apm_models.ts +260 -0
  10. package/src/services/apm/v20210622/index.ts +6 -0
  11. package/src/services/asw/v20200722/asw_models.ts +3 -3
  12. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  13. package/src/services/cfw/v20190904/cfw_client.ts +13 -0
  14. package/src/services/cfw/v20190904/cfw_models.ts +119 -1
  15. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
  16. package/src/services/clb/v20180317/clb_client.ts +25 -1
  17. package/src/services/clb/v20180317/clb_models.ts +175 -18
  18. package/src/services/cme/v20191029/cme_client.ts +26 -21
  19. package/src/services/cme/v20191029/cme_models.ts +160 -144
  20. package/src/services/cvm/v20170312/cvm_models.ts +3 -1
  21. package/src/services/cwp/v20180228/cwp_models.ts +9 -8
  22. package/src/services/dcdb/v20180411/dcdb_models.ts +6 -1
  23. package/src/services/faceid/v20180301/faceid_models.ts +3 -3
  24. package/src/services/index.ts +3 -0
  25. package/src/services/ivld/index.ts +5 -0
  26. package/src/services/ivld/v20210903/index.ts +6 -0
  27. package/src/services/ivld/v20210903/ivld_client.ts +170 -0
  28. package/src/services/ivld/v20210903/ivld_models.ts +973 -0
  29. package/src/services/kms/v20190118/kms_client.ts +1 -1
  30. package/src/services/kms/v20190118/kms_models.ts +2 -2
  31. package/src/services/lighthouse/v20200324/lighthouse_client.ts +0 -1
  32. package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -35
  33. package/src/services/mariadb/v20170312/mariadb_models.ts +11 -1
  34. package/src/services/mrs/v20200910/mrs_client.ts +2 -0
  35. package/src/services/mrs/v20200910/mrs_models.ts +81 -5
  36. package/src/services/ocr/v20181119/ocr_models.ts +3 -3
  37. package/src/services/postgres/v20170312/postgres_models.ts +6 -6
  38. package/src/services/privatedns/v20201028/privatedns_client.ts +40 -3
  39. package/src/services/privatedns/v20201028/privatedns_models.ts +141 -31
  40. package/src/services/ses/v20201002/ses_client.ts +1 -1
  41. package/src/services/ses/v20201002/ses_models.ts +1 -1
  42. package/src/services/tcb/v20180608/tcb_client.ts +1 -0
  43. package/src/services/tcb/v20180608/tcb_models.ts +48 -0
  44. package/src/services/thpc/index.ts +5 -0
  45. package/src/services/thpc/v20211109/index.ts +6 -0
  46. package/src/services/thpc/v20211109/thpc_client.ts +64 -0
  47. package/src/services/thpc/v20211109/thpc_models.ts +332 -0
  48. package/src/services/tke/v20180525/tke_client.ts +50 -1
  49. package/src/services/tke/v20180525/tke_models.ts +158 -6
  50. package/src/services/tsf/v20180326/tsf_client.ts +13 -0
  51. package/src/services/tsf/v20180326/tsf_models.ts +85 -0
  52. package/tencentcloud/common/sdk_version.d.ts +1 -1
  53. package/tencentcloud/common/sdk_version.js +1 -1
  54. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
  55. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -1
  56. package/tencentcloud/services/apm/index.d.ts +6 -0
  57. package/tencentcloud/services/apm/index.js +7 -0
  58. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +18 -0
  59. package/tencentcloud/services/apm/v20210622/apm_client.js +43 -0
  60. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +207 -0
  61. package/tencentcloud/services/apm/v20210622/apm_models.js +18 -0
  62. package/tencentcloud/services/apm/v20210622/index.d.ts +6 -0
  63. package/tencentcloud/services/apm/v20210622/index.js +9 -0
  64. package/tencentcloud/services/asw/v20200722/asw_models.d.ts +3 -3
  65. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  66. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
  67. package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
  68. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +100 -1
  69. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  70. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +9 -1
  71. package/tencentcloud/services/clb/v20180317/clb_client.js +12 -0
  72. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +145 -15
  73. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +26 -21
  74. package/tencentcloud/services/cme/v20191029/cme_client.js +26 -21
  75. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +155 -140
  76. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -1
  77. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +9 -8
  78. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +5 -1
  79. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +3 -3
  80. package/tencentcloud/services/index.d.ts +3 -0
  81. package/tencentcloud/services/index.js +6 -0
  82. package/tencentcloud/services/ivld/index.d.ts +6 -0
  83. package/tencentcloud/services/ivld/index.js +7 -0
  84. package/tencentcloud/services/ivld/v20210903/index.d.ts +6 -0
  85. package/tencentcloud/services/ivld/v20210903/index.js +9 -0
  86. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +66 -0
  87. package/tencentcloud/services/ivld/v20210903/ivld_client.js +103 -0
  88. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +831 -0
  89. package/tencentcloud/services/ivld/v20210903/ivld_models.js +18 -0
  90. package/tencentcloud/services/kms/v20190118/kms_client.d.ts +1 -1
  91. package/tencentcloud/services/kms/v20190118/kms_client.js +1 -1
  92. package/tencentcloud/services/kms/v20190118/kms_models.d.ts +2 -2
  93. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +6 -29
  94. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +9 -1
  95. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +70 -5
  96. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -3
  97. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +6 -6
  98. package/tencentcloud/services/privatedns/v20201028/privatedns_client.d.ts +13 -1
  99. package/tencentcloud/services/privatedns/v20201028/privatedns_client.js +18 -0
  100. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +123 -28
  101. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
  102. package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
  103. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
  104. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +40 -0
  105. package/tencentcloud/services/thpc/index.d.ts +6 -0
  106. package/tencentcloud/services/thpc/index.js +7 -0
  107. package/tencentcloud/services/thpc/v20211109/index.d.ts +6 -0
  108. package/tencentcloud/services/thpc/v20211109/index.js +9 -0
  109. package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +18 -0
  110. package/tencentcloud/services/thpc/v20211109/thpc_client.js +43 -0
  111. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +272 -0
  112. package/tencentcloud/services/thpc/v20211109/thpc_models.js +18 -0
  113. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +17 -1
  114. package/tencentcloud/services/tke/v20180525/tke_client.js +24 -0
  115. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +136 -5
  116. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
  117. package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
  118. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +73 -0
  119. package/test/apm.v20210622.test.js +41 -0
  120. package/test/cfw.v20190904.test.js +10 -0
  121. package/test/clb.v20180317.test.js +20 -0
  122. package/test/ivld.v20210903.test.js +101 -0
  123. package/test/privatedns.v20201028.test.js +30 -0
  124. package/test/thpc.v20211109.test.js +41 -0
  125. package/test/tke.v20180525.test.js +40 -0
  126. 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 InstanceExtraArgs {
3183
+ export interface DisableClusterDeletionProtectionRequest {
3138
3184
  /**
3139
- * kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
3140
- 注意:此字段可能返回 null,表示取不到有效值。
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
  */
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.244";
1
+ export declare const sdkVersion = "4.0.248";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.244";
4
+ exports.sdkVersion = "4.0.248";
@@ -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,6 @@
1
+ export declare const apm: {
2
+ v20210622: {
3
+ Client: typeof import("./v20210622/apm_client").Client;
4
+ Models: typeof import("./v20210622/apm_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apm = void 0;
4
+ const v20210622_1 = require("./v20210622");
5
+ exports.apm = {
6
+ v20210622: v20210622_1.v20210622,
7
+ };
@@ -0,0 +1,18 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { 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
+ DescribeApmInstances(req: DescribeApmInstancesRequest, cb?: (error: string, rep: DescribeApmInstancesResponse) => void): Promise<DescribeApmInstancesResponse>;
14
+ /**
15
+ * 获取Apm Agent信息
16
+ */
17
+ DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
18
+ }
@@ -0,0 +1,43 @@
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 DescribeApmInstances(req, cb) {
34
+ return this.request("DescribeApmInstances", req, cb);
35
+ }
36
+ /**
37
+ * 获取Apm Agent信息
38
+ */
39
+ async DescribeApmAgent(req, cb) {
40
+ return this.request("DescribeApmAgent", req, cb);
41
+ }
42
+ }
43
+ exports.Client = Client;
@@ -0,0 +1,207 @@
1
+ /**
2
+ * apm实例信息
3
+ */
4
+ export interface ApmInstanceDetail {
5
+ /**
6
+ * 存储使用量(MB)
7
+ 注意:此字段可能返回 null,表示取不到有效值。
8
+ */
9
+ AmountOfUsedStorage: number;
10
+ /**
11
+ * 实例名
12
+ 注意:此字段可能返回 null,表示取不到有效值。
13
+ */
14
+ Name: string;
15
+ /**
16
+ * 实例所属tag列表
17
+ 注意:此字段可能返回 null,表示取不到有效值。
18
+ */
19
+ Tags: Array<ApmTag>;
20
+ /**
21
+ * 实例ID
22
+ */
23
+ InstanceId: string;
24
+ /**
25
+ * 创建人Uin
26
+ 注意:此字段可能返回 null,表示取不到有效值。
27
+ */
28
+ CreateUin: string;
29
+ /**
30
+ * 该实例已上报的服务数
31
+ 注意:此字段可能返回 null,表示取不到有效值。
32
+ */
33
+ ServiceCount: number;
34
+ /**
35
+ * 日均上报Span数
36
+ 注意:此字段可能返回 null,表示取不到有效值。
37
+ */
38
+ CountOfReportSpanPerDay: number;
39
+ /**
40
+ * AppId信息
41
+ */
42
+ AppId: number;
43
+ /**
44
+ * Trace数据保存时长
45
+ 注意:此字段可能返回 null,表示取不到有效值。
46
+ */
47
+ TraceDuration: number;
48
+ /**
49
+ * 实例描述信息
50
+ 注意:此字段可能返回 null,表示取不到有效值。
51
+ */
52
+ Description: string;
53
+ /**
54
+ * 实例状态
55
+ 注意:此字段可能返回 null,表示取不到有效值。
56
+ */
57
+ Status: number;
58
+ /**
59
+ * 实例所属地域
60
+ 注意:此字段可能返回 null,表示取不到有效值。
61
+ */
62
+ Region: string;
63
+ /**
64
+ * 实例上报额度
65
+ 注意:此字段可能返回 null,表示取不到有效值。
66
+ */
67
+ SpanDailyCounters: number;
68
+ /**
69
+ * 实例是否开通计费
70
+ 注意:此字段可能返回 null,表示取不到有效值。
71
+ */
72
+ BillingInstance: number;
73
+ /**
74
+ * 错误率阈值
75
+ 注意:此字段可能返回 null,表示取不到有效值。
76
+ */
77
+ ErrRateThreshold: number;
78
+ /**
79
+ * 采样率阈值
80
+ 注意:此字段可能返回 null,表示取不到有效值。
81
+ */
82
+ SampleRate: number;
83
+ /**
84
+ * 是否开启错误采样 0 关 1 开
85
+ 注意:此字段可能返回 null,表示取不到有效值。
86
+ */
87
+ ErrorSample: number;
88
+ /**
89
+ * 慢调用保存阈值
90
+ 注意:此字段可能返回 null,表示取不到有效值。
91
+ */
92
+ SlowRequestSavedThreshold: number;
93
+ }
94
+ /**
95
+ * DescribeApmAgent返回参数结构体
96
+ */
97
+ export interface DescribeApmAgentResponse {
98
+ /**
99
+ * Agent信息
100
+ 注意:此字段可能返回 null,表示取不到有效值。
101
+ */
102
+ ApmAgent: ApmAgentInfo;
103
+ /**
104
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
105
+ */
106
+ RequestId?: string;
107
+ }
108
+ /**
109
+ * 维度(标签)对象
110
+ */
111
+ export interface ApmTag {
112
+ /**
113
+ * 维度Key(列名,标签Key)
114
+ */
115
+ Key: string;
116
+ /**
117
+ * 维度值(标签值)
118
+ */
119
+ Value: string;
120
+ }
121
+ /**
122
+ * DescribeApmInstances返回参数结构体
123
+ */
124
+ export interface DescribeApmInstancesResponse {
125
+ /**
126
+ * apm实例列表
127
+ 注意:此字段可能返回 null,表示取不到有效值。
128
+ */
129
+ Instances: Array<ApmInstanceDetail>;
130
+ /**
131
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
132
+ */
133
+ RequestId?: string;
134
+ }
135
+ /**
136
+ * DescribeApmInstances请求参数结构体
137
+ */
138
+ export interface DescribeApmInstancesRequest {
139
+ /**
140
+ * Tag列表
141
+ */
142
+ Tags?: Array<ApmTag>;
143
+ /**
144
+ * 搜索实例名
145
+ */
146
+ InstanceName?: string;
147
+ /**
148
+ * 过滤实例ID
149
+ */
150
+ InstanceIds?: Array<string>;
151
+ }
152
+ /**
153
+ * DescribeApmAgent请求参数结构体
154
+ */
155
+ export interface DescribeApmAgentRequest {
156
+ /**
157
+ * 实例ID
158
+ */
159
+ InstanceId: string;
160
+ /**
161
+ * 接入方式
162
+ */
163
+ AgentType?: string;
164
+ /**
165
+ * 环境
166
+ */
167
+ NetworkMode?: string;
168
+ /**
169
+ * 语言
170
+ */
171
+ LanguageEnvironment?: string;
172
+ }
173
+ /**
174
+ * apm Agent信息
175
+ */
176
+ export interface ApmAgentInfo {
177
+ /**
178
+ * Agent下载地址
179
+ 注意:此字段可能返回 null,表示取不到有效值。
180
+ */
181
+ AgentDownloadURL: string;
182
+ /**
183
+ * Collector上报地址
184
+ 注意:此字段可能返回 null,表示取不到有效值。
185
+ */
186
+ CollectorURL: string;
187
+ /**
188
+ * Token信息
189
+ 注意:此字段可能返回 null,表示取不到有效值。
190
+ */
191
+ Token: string;
192
+ /**
193
+ * 外网上报地址
194
+ 注意:此字段可能返回 null,表示取不到有效值。
195
+ */
196
+ PublicCollectorURL: string;
197
+ /**
198
+ * 自研VPC上报地址
199
+ 注意:此字段可能返回 null,表示取不到有效值。
200
+ */
201
+ InnerCollectorURL: string;
202
+ /**
203
+ * 内网上报地址(Private Link上报地址)
204
+ 注意:此字段可能返回 null,表示取不到有效值。
205
+ */
206
+ PrivateLinkCollectorURL: string;
207
+ }