tencentcloud-sdk-nodejs 4.0.243 → 4.0.247
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 +405 -83
- package/README.md +1 -1
- package/package.json +1 -1
- package/products.md +23 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/index.ts +5 -0
- package/src/services/apm/v20210622/apm_client.ts +40 -0
- package/src/services/apm/v20210622/apm_models.ts +98 -0
- package/src/services/apm/v20210622/index.ts +6 -0
- package/src/services/asw/v20200722/asw_models.ts +3 -3
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cfw/v20190904/cfw_client.ts +13 -0
- package/src/services/cfw/v20190904/cfw_models.ts +118 -0
- 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 +26 -21
- package/src/services/cme/v20191029/cme_models.ts +161 -144
- package/src/services/cvm/v20170312/cvm_models.ts +3 -1
- package/src/services/cwp/v20180228/cwp_models.ts +9 -8
- package/src/services/dcdb/v20180411/dcdb_models.ts +6 -1
- package/src/services/faceid/v20180301/faceid_models.ts +3 -3
- package/src/services/index.ts +2 -0
- package/src/services/kms/v20190118/kms_client.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +2 -2
- package/src/services/mariadb/v20170312/mariadb_models.ts +11 -1
- package/src/services/mrs/v20200910/mrs_client.ts +2 -0
- package/src/services/mrs/v20200910/mrs_models.ts +81 -5
- package/src/services/ocr/v20181119/ocr_models.ts +3 -3
- package/src/services/postgres/v20170312/postgres_models.ts +6 -6
- package/src/services/privatedns/v20201028/privatedns_client.ts +40 -3
- package/src/services/privatedns/v20201028/privatedns_models.ts +141 -31
- package/src/services/ses/v20201002/ses_client.ts +1 -1
- package/src/services/ses/v20201002/ses_models.ts +1 -1
- package/src/services/tcb/v20180608/tcb_client.ts +1 -0
- package/src/services/tcb/v20180608/tcb_models.ts +48 -0
- 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/tke/v20180525/tke_client.ts +76 -2
- package/src/services/tke/v20180525/tke_models.ts +255 -18
- package/src/services/tsf/v20180326/tsf_client.ts +13 -0
- package/src/services/tsf/v20180326/tsf_models.ts +85 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.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 +14 -0
- package/tencentcloud/services/apm/v20210622/apm_client.js +37 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +70 -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/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +99 -0
- 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 +26 -21
- package/tencentcloud/services/cme/v20191029/cme_client.js +26 -21
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +155 -139
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +9 -8
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +3 -3
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -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/mariadb/v20170312/mariadb_models.d.ts +9 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +70 -5
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -3
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +6 -6
- 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 +123 -28
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +40 -0
- 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/tke/v20180525/tke_client.d.ts +25 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +36 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +220 -16
- 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/test/apm.v20210622.test.js +31 -0
- package/test/cfw.v20190904.test.js +10 -0
- package/test/clb.v20180317.test.js +20 -0
- package/test/privatedns.v20201028.test.js +30 -0
- package/test/thpc.v20211109.test.js +41 -0
- package/test/tke.v20180525.test.js +60 -0
- package/test/tsf.v20180326.test.js +10 -0
|
@@ -128,6 +128,36 @@ export interface DescribeClusterSecurityResponse {
|
|
|
128
128
|
RequestId?: string
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* ScaleOutClusterMaster请求参数结构体
|
|
133
|
+
*/
|
|
134
|
+
export interface ScaleOutClusterMasterRequest {
|
|
135
|
+
/**
|
|
136
|
+
* 集群实例ID
|
|
137
|
+
*/
|
|
138
|
+
ClusterId: string
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* 新建节点参数
|
|
142
|
+
*/
|
|
143
|
+
RunInstancesForNode?: Array<RunInstancesForNode>
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* 添加已有节点相关参数
|
|
147
|
+
*/
|
|
148
|
+
ExistedInstancesForNode?: Array<ExistedInstancesForNode>
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* 实例高级设置
|
|
152
|
+
*/
|
|
153
|
+
InstanceAdvancedSettings?: InstanceAdvancedSettings
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* 集群master组件自定义参数
|
|
157
|
+
*/
|
|
158
|
+
ExtraArgs?: ClusterExtraArgs
|
|
159
|
+
}
|
|
160
|
+
|
|
131
161
|
/**
|
|
132
162
|
* DescribeClusterSecurity请求参数结构体
|
|
133
163
|
*/
|
|
@@ -1138,6 +1168,17 @@ export interface DescribeExistedInstancesRequest {
|
|
|
1138
1168
|
IpAddresses?: Array<string>
|
|
1139
1169
|
}
|
|
1140
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
|
+
|
|
1141
1182
|
/**
|
|
1142
1183
|
* 标签绑定的资源类型,当前支持类型:"cluster"
|
|
1143
1184
|
*/
|
|
@@ -1334,6 +1375,26 @@ export interface AddNodeToNodePoolRequest {
|
|
|
1334
1375
|
InstanceIds: Array<string>
|
|
1335
1376
|
}
|
|
1336
1377
|
|
|
1378
|
+
/**
|
|
1379
|
+
* master节点缩容参数
|
|
1380
|
+
*/
|
|
1381
|
+
export interface ScaleInMaster {
|
|
1382
|
+
/**
|
|
1383
|
+
* 实例ID
|
|
1384
|
+
*/
|
|
1385
|
+
InstanceId: string
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* 缩容的实例角色:MASTER,ETCD,MASTER_ETCD
|
|
1389
|
+
*/
|
|
1390
|
+
NodeRole: string
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* 实例的保留模式
|
|
1394
|
+
*/
|
|
1395
|
+
InstanceDeleteMode: string
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1337
1398
|
/**
|
|
1338
1399
|
* DescribeEKSContainerInstanceEvent返回参数结构体
|
|
1339
1400
|
*/
|
|
@@ -1374,6 +1435,16 @@ export interface DescribePrometheusAlertRuleResponse {
|
|
|
1374
1435
|
RequestId?: string
|
|
1375
1436
|
}
|
|
1376
1437
|
|
|
1438
|
+
/**
|
|
1439
|
+
* EnableClusterDeletionProtection返回参数结构体
|
|
1440
|
+
*/
|
|
1441
|
+
export interface EnableClusterDeletionProtectionResponse {
|
|
1442
|
+
/**
|
|
1443
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1444
|
+
*/
|
|
1445
|
+
RequestId?: string
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1377
1448
|
/**
|
|
1378
1449
|
* 集群关联的伸缩组信息
|
|
1379
1450
|
*/
|
|
@@ -1554,24 +1625,18 @@ export interface DescribeVersionsResponse {
|
|
|
1554
1625
|
}
|
|
1555
1626
|
|
|
1556
1627
|
/**
|
|
1557
|
-
*
|
|
1628
|
+
* ScaleInClusterMaster请求参数结构体
|
|
1558
1629
|
*/
|
|
1559
|
-
export interface
|
|
1630
|
+
export interface ScaleInClusterMasterRequest {
|
|
1560
1631
|
/**
|
|
1561
|
-
*
|
|
1632
|
+
* 集群实例ID
|
|
1562
1633
|
*/
|
|
1563
|
-
|
|
1634
|
+
ClusterId: string
|
|
1564
1635
|
|
|
1565
1636
|
/**
|
|
1566
|
-
*
|
|
1637
|
+
* master缩容选项
|
|
1567
1638
|
*/
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* 当前版本的最新小版本
|
|
1572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1573
|
-
*/
|
|
1574
|
-
LatestVersion: string
|
|
1639
|
+
ScaleInMasters: Array<ScaleInMaster>
|
|
1575
1640
|
}
|
|
1576
1641
|
|
|
1577
1642
|
/**
|
|
@@ -1657,6 +1722,21 @@ export interface DescribePrometheusAgentInstancesRequest {
|
|
|
1657
1722
|
ClusterId: string
|
|
1658
1723
|
}
|
|
1659
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
|
+
|
|
1660
1740
|
/**
|
|
1661
1741
|
* 集群网络相关的参数
|
|
1662
1742
|
*/
|
|
@@ -3009,6 +3089,16 @@ export interface GetUpgradeInstanceProgressRequest {
|
|
|
3009
3089
|
Offset?: number
|
|
3010
3090
|
}
|
|
3011
3091
|
|
|
3092
|
+
/**
|
|
3093
|
+
* EnableClusterDeletionProtection请求参数结构体
|
|
3094
|
+
*/
|
|
3095
|
+
export interface EnableClusterDeletionProtectionRequest {
|
|
3096
|
+
/**
|
|
3097
|
+
* 集群ID
|
|
3098
|
+
*/
|
|
3099
|
+
ClusterId: string
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3012
3102
|
/**
|
|
3013
3103
|
* ModifyPrometheusTemplate请求参数结构体
|
|
3014
3104
|
*/
|
|
@@ -3088,14 +3178,13 @@ export interface UpdateEKSClusterResponse {
|
|
|
3088
3178
|
}
|
|
3089
3179
|
|
|
3090
3180
|
/**
|
|
3091
|
-
*
|
|
3181
|
+
* DisableClusterDeletionProtection请求参数结构体
|
|
3092
3182
|
*/
|
|
3093
|
-
export interface
|
|
3183
|
+
export interface DisableClusterDeletionProtectionRequest {
|
|
3094
3184
|
/**
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
Kubelet?: Array<string>
|
|
3185
|
+
* 集群ID
|
|
3186
|
+
*/
|
|
3187
|
+
ClusterId: string
|
|
3099
3188
|
}
|
|
3100
3189
|
|
|
3101
3190
|
/**
|
|
@@ -4487,6 +4576,27 @@ export interface ControllerStatus {
|
|
|
4487
4576
|
Enabled: boolean
|
|
4488
4577
|
}
|
|
4489
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
|
+
|
|
4490
4600
|
/**
|
|
4491
4601
|
* >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
4492
4602
|
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
@@ -4602,6 +4712,47 @@ export interface ImageInstance {
|
|
|
4602
4712
|
OsCustomizeType: string
|
|
4603
4713
|
}
|
|
4604
4714
|
|
|
4715
|
+
/**
|
|
4716
|
+
* 可升级节点信息
|
|
4717
|
+
*/
|
|
4718
|
+
export interface UpgradeAbleInstancesItem {
|
|
4719
|
+
/**
|
|
4720
|
+
* 节点Id
|
|
4721
|
+
*/
|
|
4722
|
+
InstanceId: string
|
|
4723
|
+
|
|
4724
|
+
/**
|
|
4725
|
+
* 节点的当前版本
|
|
4726
|
+
*/
|
|
4727
|
+
Version: string
|
|
4728
|
+
|
|
4729
|
+
/**
|
|
4730
|
+
* 当前版本的最新小版本
|
|
4731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4732
|
+
*/
|
|
4733
|
+
LatestVersion: string
|
|
4734
|
+
}
|
|
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
|
+
|
|
4605
4756
|
/**
|
|
4606
4757
|
* CreateClusterEndpoint返回参数结构体
|
|
4607
4758
|
*/
|
|
@@ -4813,6 +4964,22 @@ export interface ModifyPrometheusTemplateResponse {
|
|
|
4813
4964
|
RequestId?: string
|
|
4814
4965
|
}
|
|
4815
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
|
+
|
|
4816
4983
|
/**
|
|
4817
4984
|
* DeletePrometheusTemplate返回参数结构体
|
|
4818
4985
|
*/
|
|
@@ -5199,6 +5366,16 @@ export interface CreateClusterInstancesResponse {
|
|
|
5199
5366
|
RequestId?: string
|
|
5200
5367
|
}
|
|
5201
5368
|
|
|
5369
|
+
/**
|
|
5370
|
+
* DisableClusterDeletionProtection返回参数结构体
|
|
5371
|
+
*/
|
|
5372
|
+
export interface DisableClusterDeletionProtectionResponse {
|
|
5373
|
+
/**
|
|
5374
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5375
|
+
*/
|
|
5376
|
+
RequestId?: string
|
|
5377
|
+
}
|
|
5378
|
+
|
|
5202
5379
|
/**
|
|
5203
5380
|
* DescribeClusterAsGroupOption请求参数结构体
|
|
5204
5381
|
*/
|
|
@@ -5948,6 +6125,16 @@ export interface InstanceUpgradePreCheckResult {
|
|
|
5948
6125
|
SinglePods: Array<string>
|
|
5949
6126
|
}
|
|
5950
6127
|
|
|
6128
|
+
/**
|
|
6129
|
+
* ScaleInClusterMaster返回参数结构体
|
|
6130
|
+
*/
|
|
6131
|
+
export interface ScaleInClusterMasterResponse {
|
|
6132
|
+
/**
|
|
6133
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6134
|
+
*/
|
|
6135
|
+
RequestId?: string
|
|
6136
|
+
}
|
|
6137
|
+
|
|
5951
6138
|
/**
|
|
5952
6139
|
* DescribeClusterAsGroups请求参数结构体
|
|
5953
6140
|
*/
|
|
@@ -6845,6 +7032,46 @@ export interface DescribeClusterNodePoolDetailResponse {
|
|
|
6845
7032
|
RequestId?: string
|
|
6846
7033
|
}
|
|
6847
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
|
+
|
|
6848
7075
|
/**
|
|
6849
7076
|
* DescribeClusterControllers请求参数结构体
|
|
6850
7077
|
*/
|
|
@@ -6869,3 +7096,13 @@ export interface DescribeEKSContainerInstanceEventRequest {
|
|
|
6869
7096
|
*/
|
|
6870
7097
|
Limit?: number
|
|
6871
7098
|
}
|
|
7099
|
+
|
|
7100
|
+
/**
|
|
7101
|
+
* ScaleOutClusterMaster返回参数结构体
|
|
7102
|
+
*/
|
|
7103
|
+
export interface ScaleOutClusterMasterResponse {
|
|
7104
|
+
/**
|
|
7105
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7106
|
+
*/
|
|
7107
|
+
RequestId?: string
|
|
7108
|
+
}
|
|
@@ -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.
|
|
1
|
+
export declare const sdkVersion = "4.0.247";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeApmAgentRequest, DescribeApmAgentResponse } from "./apm_models";
|
|
4
|
+
/**
|
|
5
|
+
* apm client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取Apm Agent信息
|
|
12
|
+
*/
|
|
13
|
+
DescribeApmAgent(req: DescribeApmAgentRequest, cb?: (error: string, rep: DescribeApmAgentResponse) => void): Promise<DescribeApmAgentResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 Agent信息
|
|
32
|
+
*/
|
|
33
|
+
async DescribeApmAgent(req, cb) {
|
|
34
|
+
return this.request("DescribeApmAgent", req, cb);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DescribeApmAgent请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface DescribeApmAgentRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 实例ID
|
|
7
|
+
*/
|
|
8
|
+
InstanceId: string;
|
|
9
|
+
/**
|
|
10
|
+
* 接入方式
|
|
11
|
+
*/
|
|
12
|
+
AgentType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 环境
|
|
15
|
+
*/
|
|
16
|
+
NetworkMode?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 语言
|
|
19
|
+
*/
|
|
20
|
+
LanguageEnvironment?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* DescribeApmAgent返回参数结构体
|
|
24
|
+
*/
|
|
25
|
+
export interface DescribeApmAgentResponse {
|
|
26
|
+
/**
|
|
27
|
+
* Agent信息
|
|
28
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
29
|
+
*/
|
|
30
|
+
ApmAgent: ApmAgentInfo;
|
|
31
|
+
/**
|
|
32
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
33
|
+
*/
|
|
34
|
+
RequestId?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* apm Agent信息
|
|
38
|
+
*/
|
|
39
|
+
export interface ApmAgentInfo {
|
|
40
|
+
/**
|
|
41
|
+
* Agent下载地址
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
AgentDownloadURL: string;
|
|
45
|
+
/**
|
|
46
|
+
* Collector上报地址
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
*/
|
|
49
|
+
CollectorURL: string;
|
|
50
|
+
/**
|
|
51
|
+
* Token信息
|
|
52
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
|
+
*/
|
|
54
|
+
Token: string;
|
|
55
|
+
/**
|
|
56
|
+
* 外网上报地址
|
|
57
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
58
|
+
*/
|
|
59
|
+
PublicCollectorURL: string;
|
|
60
|
+
/**
|
|
61
|
+
* 自研VPC上报地址
|
|
62
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
63
|
+
*/
|
|
64
|
+
InnerCollectorURL: string;
|
|
65
|
+
/**
|
|
66
|
+
* 内网上报地址(Private Link上报地址)
|
|
67
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
68
|
+
*/
|
|
69
|
+
PrivateLinkCollectorURL: string;
|
|
70
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20210622 = void 0;
|
|
4
|
+
const Models = require("./apm_models");
|
|
5
|
+
const apm_client_1 = require("./apm_client");
|
|
6
|
+
exports.v20210622 = {
|
|
7
|
+
Client: apm_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|