tencentcloud-sdk-nodejs 4.0.261 → 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 +263 -0
- package/SERVICE_CHANGELOG.md +406 -555
- package/package.json +1 -1
- package/products.md +12 -12
- 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 +115 -49
- package/src/services/ocr/v20181119/ocr_models.ts +8 -2
- package/src/services/organization/v20210331/organization_client.ts +27 -1
- package/src/services/organization/v20210331/organization_models.ts +246 -17
- package/src/services/rce/v20201103/rce_client.ts +38 -10
- package/src/services/rce/v20201103/rce_models.ts +367 -235
- package/src/services/tdmq/v20200217/tdmq_client.ts +0 -14
- package/src/services/tdmq/v20200217/tdmq_models.ts +0 -129
- package/src/services/tiw/v20190919/tiw_models.ts +13 -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 +100 -44
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -2
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +9 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +12 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +210 -16
- package/tencentcloud/services/rce/v20201103/rce_client.d.ts +9 -1
- package/tencentcloud/services/rce/v20201103/rce_client.js +12 -0
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +322 -208
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -5
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +0 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +0 -109
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +12 -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 +20 -0
- package/test/rce.v20201103.test.js +20 -0
- package/test/tdmq.v20200217.test.js +0 -10
- package/test/tsf.v20180326.test.js +10 -0
|
@@ -1108,29 +1108,6 @@ export interface CreateEnvironmentResponse {
|
|
|
1108
1108
|
*/
|
|
1109
1109
|
RequestId?: string;
|
|
1110
1110
|
}
|
|
1111
|
-
/**
|
|
1112
|
-
* 生产者
|
|
1113
|
-
*/
|
|
1114
|
-
export interface Producer {
|
|
1115
|
-
/**
|
|
1116
|
-
* 环境(命名空间)名称。
|
|
1117
|
-
*/
|
|
1118
|
-
EnvironmentId: string;
|
|
1119
|
-
/**
|
|
1120
|
-
* 主题名称。
|
|
1121
|
-
*/
|
|
1122
|
-
TopicName: string;
|
|
1123
|
-
/**
|
|
1124
|
-
* 连接数。
|
|
1125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1126
|
-
*/
|
|
1127
|
-
CountConnect: number;
|
|
1128
|
-
/**
|
|
1129
|
-
* 连接集合。
|
|
1130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1131
|
-
*/
|
|
1132
|
-
ConnectionSets: Array<Connection>;
|
|
1133
|
-
}
|
|
1134
1111
|
/**
|
|
1135
1112
|
* CreateSubscription返回参数结构体
|
|
1136
1113
|
*/
|
|
@@ -4655,35 +4632,6 @@ export interface CreateRoleRequest {
|
|
|
4655
4632
|
*/
|
|
4656
4633
|
ClusterId?: string;
|
|
4657
4634
|
}
|
|
4658
|
-
/**
|
|
4659
|
-
* DescribeProducers请求参数结构体
|
|
4660
|
-
*/
|
|
4661
|
-
export interface DescribeProducersRequest {
|
|
4662
|
-
/**
|
|
4663
|
-
* 环境(命名空间)名称。
|
|
4664
|
-
*/
|
|
4665
|
-
EnvironmentId: string;
|
|
4666
|
-
/**
|
|
4667
|
-
* 主题名。
|
|
4668
|
-
*/
|
|
4669
|
-
TopicName: string;
|
|
4670
|
-
/**
|
|
4671
|
-
* 起始下标,不填默认为0。
|
|
4672
|
-
*/
|
|
4673
|
-
Offset?: number;
|
|
4674
|
-
/**
|
|
4675
|
-
* 返回数量,不填则默认为10,最大值为20。
|
|
4676
|
-
*/
|
|
4677
|
-
Limit?: number;
|
|
4678
|
-
/**
|
|
4679
|
-
* 生产者名称,模糊匹配。
|
|
4680
|
-
*/
|
|
4681
|
-
ProducerName?: string;
|
|
4682
|
-
/**
|
|
4683
|
-
* Pulsar 集群的ID
|
|
4684
|
-
*/
|
|
4685
|
-
ClusterId?: string;
|
|
4686
|
-
}
|
|
4687
4635
|
/**
|
|
4688
4636
|
* ModifyEnvironmentRole请求参数结构体
|
|
4689
4637
|
*/
|
|
@@ -4867,23 +4815,6 @@ export interface DescribeAMQPExchangesRequest {
|
|
|
4867
4815
|
*/
|
|
4868
4816
|
FilterInternal?: boolean;
|
|
4869
4817
|
}
|
|
4870
|
-
/**
|
|
4871
|
-
* DescribeProducers返回参数结构体
|
|
4872
|
-
*/
|
|
4873
|
-
export interface DescribeProducersResponse {
|
|
4874
|
-
/**
|
|
4875
|
-
* 生产者集合数组。
|
|
4876
|
-
*/
|
|
4877
|
-
ProducerSets: Array<Producer>;
|
|
4878
|
-
/**
|
|
4879
|
-
* 记录总数。
|
|
4880
|
-
*/
|
|
4881
|
-
TotalCount: number;
|
|
4882
|
-
/**
|
|
4883
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4884
|
-
*/
|
|
4885
|
-
RequestId?: string;
|
|
4886
|
-
}
|
|
4887
4818
|
/**
|
|
4888
4819
|
* CreateRocketMQNamespace返回参数结构体
|
|
4889
4820
|
*/
|
|
@@ -5212,46 +5143,6 @@ export interface ModifyRocketMQGroupResponse {
|
|
|
5212
5143
|
*/
|
|
5213
5144
|
RequestId?: string;
|
|
5214
5145
|
}
|
|
5215
|
-
/**
|
|
5216
|
-
* 生产者连接实例
|
|
5217
|
-
*/
|
|
5218
|
-
export interface Connection {
|
|
5219
|
-
/**
|
|
5220
|
-
* 生产者地址。
|
|
5221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5222
|
-
*/
|
|
5223
|
-
Address: string;
|
|
5224
|
-
/**
|
|
5225
|
-
* 主题分区。
|
|
5226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5227
|
-
*/
|
|
5228
|
-
Partitions: number;
|
|
5229
|
-
/**
|
|
5230
|
-
* 生产者版本。
|
|
5231
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5232
|
-
*/
|
|
5233
|
-
ClientVersion: string;
|
|
5234
|
-
/**
|
|
5235
|
-
* 生产者名称。
|
|
5236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5237
|
-
*/
|
|
5238
|
-
ProducerName: string;
|
|
5239
|
-
/**
|
|
5240
|
-
* 生产者ID。
|
|
5241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5242
|
-
*/
|
|
5243
|
-
ProducerId: string;
|
|
5244
|
-
/**
|
|
5245
|
-
* 消息平均大小(byte)。
|
|
5246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5247
|
-
*/
|
|
5248
|
-
AverageMsgSize: string;
|
|
5249
|
-
/**
|
|
5250
|
-
* 生成速率(byte/秒)。
|
|
5251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5252
|
-
*/
|
|
5253
|
-
MsgThroughputIn: string;
|
|
5254
|
-
}
|
|
5255
5146
|
/**
|
|
5256
5147
|
* 租户AMQP集群详细信息
|
|
5257
5148
|
*/
|
|
@@ -1381,7 +1381,7 @@ export interface CreateSnapshotTaskRequest {
|
|
|
1381
1381
|
*/
|
|
1382
1382
|
Whiteboard: SnapshotWhiteboard;
|
|
1383
1383
|
/**
|
|
1384
|
-
* 白板房间SdkAppId
|
|
1384
|
+
* 白板房间 `SdkAppId`
|
|
1385
1385
|
*/
|
|
1386
1386
|
SdkAppId: number;
|
|
1387
1387
|
/**
|
|
@@ -1393,9 +1393,19 @@ export interface CreateSnapshotTaskRequest {
|
|
|
1393
1393
|
*/
|
|
1394
1394
|
CallbackURL?: string;
|
|
1395
1395
|
/**
|
|
1396
|
-
* 白板板书文件COS存储参数, 不填默认存储在公共存储桶,公共存储桶的数据仅保存3天
|
|
1396
|
+
* 白板板书文件 `COS` 存储参数, 不填默认存储在公共存储桶,公共存储桶的数据仅保存3天
|
|
1397
1397
|
*/
|
|
1398
1398
|
COS?: SnapshotCOS;
|
|
1399
|
+
/**
|
|
1400
|
+
* 白板板书生成模式,默认为 `AllMarks`。取值说明如下:
|
|
1401
|
+
|
|
1402
|
+
`AllMarks` - 全量模式,即对于客户端每一次调用 `addSnapshotMark` 接口打上的白板板书生成标志全部都会生成对应的白板板书图片。
|
|
1403
|
+
|
|
1404
|
+
`LatestMarksOnly` - 单页去重模式,即对于客户端在同一页白板上多次调用 `addSnapshotMark` 打上的白板板书生成标志仅保留最新一次标志来生成对应白板页的白板板书图片。
|
|
1405
|
+
|
|
1406
|
+
(**注意:`LatestMarksOnly` 模式只有客户端使用v2.6.8及以上版本的白板SDK调用 `addSnapshotMark` 时才生效,否则即使在调用本API是指定了 `LatestMarksOnly` 模式,服务后台会使用默认的 `AllMarks` 模式生成白板板书**)
|
|
1407
|
+
*/
|
|
1408
|
+
SnapshotMode?: string;
|
|
1399
1409
|
}
|
|
1400
1410
|
/**
|
|
1401
1411
|
* DescribeTranscodeCallback返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribePublicConfigSummaryRequest, ModifyPathRewriteRequest, UpdateApiRateLimitRuleRequest, DeletePathRewritesResponse, DescribeUnitApiUseDetailRequest, DescribeApiVersionsResponse, StopContainerGroupResponse, DeletePathRewritesRequest, DeleteLaneResponse, DescribeGroupReleaseRequest, ContinueRunFailedTaskBatchRequest, DescribeSimpleClustersResponse, DeleteRepositoryResponse, DeleteApplicationResponse, UpdateRepositoryRequest, DescribePathRewriteResponse, DescribeConfigsResponse, ModifyContainerReplicasRequest, ReleaseFileConfigRequest, SearchStdoutLogResponse, CreateGatewayApiResponse, DescribeFileConfigsResponse, DescribeApiVersionsRequest, DescribeGroupBindedGatewaysResponse, UnbindApiGroupRequest, CreateNamespaceResponse, RedoTaskBatchRequest, DescribeTaskLastStatusRequest, ModifyUploadInfoResponse, CreateApiRateLimitRuleRequest, DeleteServerlessGroupRequest, ChangeApiUsableStatusRequest, DescribeApiRateLimitRulesRequest, DescribeApiGroupsResponse, DeletePublicConfigRequest, DeleteNamespaceResponse, CreateMicroserviceRequest, ReleaseConfigResponse, DescribeUnitRuleResponse, DeleteImageTagsRequest, DescribeRepositoriesRequest, RollbackConfigRequest, CreateGatewayApiRequest, DescribeCreateGatewayApiStatusResponse, DeleteConfigResponse, DescribeGroupGatewaysRequest, UpdateApiRateLimitRuleResponse, DescribeGatewayAllGroupApisResponse, DescribeServerlessGroupsResponse, AddInstancesResponse, StartContainerGroupRequest, DescribeRepositoryResponse, UpdateHealthCheckSettingsRequest, EnableUnitRuleRequest, CreateClusterResponse, CreateMicroserviceResponse, StopGroupRequest, ShrinkGroupResponse, DescribeLanesResponse, CreateNamespaceRequest, DescribeClusterInstancesRequest, DescribeGroupBindedGatewaysRequest, DescribeRepositoryRequest, RedoTaskRequest, DeleteApiGroupResponse, DraftApiGroupRequest, CreateLaneResponse, UpdateApiTimeoutsResponse, DescribePkgsResponse, DescribeSimpleNamespacesResponse,
|
|
3
|
+
import { DescribePublicConfigSummaryRequest, ModifyPathRewriteRequest, UpdateApiRateLimitRuleRequest, DeletePathRewritesResponse, DescribeUnitApiUseDetailRequest, DescribeApiVersionsResponse, StopContainerGroupResponse, DeletePathRewritesRequest, DeleteLaneResponse, DescribeGroupReleaseRequest, ContinueRunFailedTaskBatchRequest, DescribeSimpleClustersResponse, DeleteRepositoryResponse, DeleteApplicationResponse, UpdateRepositoryRequest, DescribePathRewriteResponse, DescribeConfigsResponse, ModifyContainerReplicasRequest, ReleaseFileConfigRequest, SearchStdoutLogResponse, CreateGatewayApiResponse, DescribeFileConfigsResponse, DescribeApiVersionsRequest, DescribeGroupBindedGatewaysResponse, UnbindApiGroupRequest, CreateNamespaceResponse, RedoTaskBatchRequest, DescribeTaskLastStatusRequest, ModifyUploadInfoResponse, CreateApiRateLimitRuleRequest, DeleteServerlessGroupRequest, ChangeApiUsableStatusRequest, DescribeMicroservicesResponse, DescribeApiRateLimitRulesRequest, DescribeApiGroupsResponse, DeletePublicConfigRequest, DeleteNamespaceResponse, CreateMicroserviceRequest, ReleaseConfigResponse, DescribeUnitRuleResponse, DeleteImageTagsRequest, DescribeRepositoriesRequest, RollbackConfigRequest, CreateGatewayApiRequest, DescribeCreateGatewayApiStatusResponse, DeleteConfigResponse, DescribeGroupGatewaysRequest, UpdateApiRateLimitRuleResponse, DescribeGatewayAllGroupApisResponse, DescribeServerlessGroupsResponse, AddInstancesResponse, StartContainerGroupRequest, DescribeRepositoryResponse, UpdateHealthCheckSettingsRequest, EnableUnitRuleRequest, CreateClusterResponse, CreateMicroserviceResponse, StopGroupRequest, ShrinkGroupResponse, DescribeLanesResponse, CreateNamespaceRequest, DescribeClusterInstancesRequest, DescribeGroupBindedGatewaysRequest, DescribeRepositoryRequest, RedoTaskRequest, DeleteApiGroupResponse, DraftApiGroupRequest, CreateLaneResponse, UpdateApiTimeoutsResponse, DescribePkgsResponse, DescribeSimpleNamespacesResponse, DescribeContainerGroupDeployInfoResponse, DescribePublicConfigRequest, CreatePublicConfigResponse, CreateConfigResponse, DescribeCreateGatewayApiStatusRequest, RevocationPublicConfigResponse, DescribeConfigReleaseLogsRequest, ModifyContainerGroupRequest, UpdateRepositoryResponse, RollbackConfigResponse, RevocationConfigRequest, StartContainerGroupResponse, ModifyTaskRequest, DeleteUnitNamespacesResponse, DisableTaskRequest, DescribeBasicResourceUsageResponse, CreateAllGatewayApiAsyncResponse, RemoveInstancesRequest, DeleteGroupResponse, DescribeSimpleApplicationsResponse, DeployContainerGroupRequest, DescribeSimpleApplicationsRequest, OperateApplicationTcrBindingRequest, UpdateUnitRuleRequest, ReleasePublicConfigResponse, ReleaseApiGroupResponse, CreateFileConfigRequest, UpdateApiRateLimitRulesRequest, DescribeGroupInstancesRequest, DescribeMsApiListRequest, DescribeUploadInfoResponse, DescribeMsApiListResponse, EnableTaskRequest, DisableTaskResponse, DescribeMicroserviceRequest, DescribePodInstancesResponse, DescribeRepositoriesResponse, CreateGroupRequest, StopTaskBatchResponse, CreateContainGroupResponse, DescribeContainerGroupDetailResponse, DescribeGroupGatewaysResponse, RevocationConfigResponse, DeployServerlessGroupResponse, DeleteTaskResponse, DeleteMicroserviceRequest, RemoveInstancesResponse, DescribeContainerEventsRequest, DisableUnitRuleRequest, DescribeGroupResponse, DeleteContainerGroupResponse, DeleteServerlessGroupResponse, DeleteImageTagsResponse, CreateLaneRuleRequest, DisableUnitRouteResponse, ExecuteTaskRequest, DescribeApplicationResponse, DescribeConfigReleaseLogsResponse, DeletePublicConfigResponse, DescribeSimpleGroupsResponse, DescribeFlowLastBatchStateRequest, TerminateTaskFlowBatchResponse, ShrinkInstancesRequest, ShrinkInstancesResponse, DeleteLaneRuleResponse, DescribeApiRateLimitRulesResponse, AddClusterInstancesRequest, DescribeGroupUseDetailResponse, UpdateApiTimeoutsRequest, DescribeSimpleNamespacesRequest, ExecuteTaskFlowResponse, SearchBusinessLogRequest, ExpandGroupResponse, DescribePublicConfigsResponse, DescribeUnitNamespacesResponse, ContinueRunFailedTaskBatchResponse, DescribeSimpleClustersRequest, DeployServerlessGroupRequest, DescribeLaneRulesResponse, DescribeImageRepositoryRequest, DescribeApiGroupRequest, DescribeGatewayApisRequest, DescribeContainerGroupDetailRequest, DescribeGroupsWithPluginRequest, ModifyTaskResponse, SearchBusinessLogResponse, DeleteUnitNamespacesRequest, DescribeGroupRequest, BindPluginRequest, DeleteLaneRuleRequest, DescribeGroupUseDetailRequest, UpdateUnitRuleResponse, StartGroupResponse, DescribePathRewritesRequest, ShrinkGroupRequest, CreateLaneRuleResponse, CreateTaskResponse, DescribeContainerGroupsResponse, UpdateApiGroupResponse, DescribeGroupsWithPluginResponse, AddInstancesRequest, CreateApplicationRequest, DeployGroupRequest, CreateTaskFlowRequest, ModifyContainerReplicasResponse, UnbindApiGroupResponse, DescribeGroupReleaseResponse, DescribePathRewriteRequest, CreateApplicationResponse, DeployGroupResponse, DescribeServerlessGroupResponse, BindApiGroupResponse, DescribeGroupAttributeResponse, ModifyPathRewriteResponse, EnableUnitRuleResponse, DescribeEnabledUnitRuleResponse, UpdateApiGroupRequest, EnableUnitRouteResponse, DisableUnitRuleResponse, ExecuteTaskFlowRequest, TerminateTaskFlowBatchRequest, CreateUnitRuleResponse, DescribeTaskRecordsResponse, DescribeApiUseDetailResponse, ModifyUploadInfoRequest, DescribeGatewayApisResponse, DescribeUnitRuleRequest, UpdateGatewayApiResponse, ModifyLaneResponse, DescribeDownloadInfoRequest, DescribePublicConfigSummaryResponse, DescribePublicConfigReleaseLogsRequest, CreateServerlessGroupResponse, DescribeApplicationAttributeResponse, ModifyLaneRequest, DescribeLanesRequest, DescribeGatewayMonitorOverviewResponse, CreatePublicConfigRequest, CreateAllGatewayApiAsyncRequest, EnableTaskFlowResponse, DeleteUnitRuleResponse, DisableTaskFlowResponse, DescribeGatewayMonitorOverviewRequest, DescribeImageTagsResponse, BindPluginResponse, RedoTaskFlowBatchRequest, StopTaskExecuteRequest, DescribePkgsRequest, DescribeApplicationAttributeRequest, CreateTaskRequest, DescribePublicConfigResponse, DescribeUsableUnitNamespacesResponse, ReleaseFileConfigResponse, DescribeConfigResponse, DescribeContainerEventsResponse, DescribeTaskRecordsRequest, ModifyContainerGroupResponse, DeleteApplicationRequest, DescribeUnitNamespacesRequest, DeleteTaskRequest, CreateUnitRuleRequest, DescribePluginInstancesRequest, CreateFileConfigResponse, CreateConfigRequest, DescribeUploadInfoRequest, DescribeUnitRulesResponse, UpdateGatewayApiRequest, DescribeApiGroupsRequest, DescribeServerlessGroupRequest, DeleteUnitRuleRequest, DeletePkgsResponse, DescribeGroupsResponse, ModifyLaneRuleRequest, CreateTaskFlowResponse, DescribeMicroservicesRequest, AddClusterInstancesResponse, DescribeTaskLastStatusResponse, DescribePublicConfigsRequest, DescribeApplicationsRequest, DescribeTaskDetailRequest, DescribePublicConfigReleasesRequest, DescribeLaneRulesRequest, CreateServerlessGroupRequest, DescribePluginInstancesResponse, CreateRepositoryResponse, DescribeServerlessGroupsRequest, DeletePkgsRequest, ChangeApiUsableStatusResponse, EnableTaskResponse, UpdateApiRateLimitRulesResponse, DescribeGroupInstancesResponse, DescribeContainerGroupDeployInfoRequest, OperateApplicationTcrBindingResponse, DescribePublicConfigReleaseLogsResponse, DeleteApiGroupRequest, ReleaseApiGroupRequest, StartGroupRequest, DescribeClusterInstancesResponse, DescribeTaskDetailResponse, ExpandGroupRequest, RevocationPublicConfigRequest, ModifyLaneRuleResponse, DescribeGroupAttributeRequest, EnableTaskFlowRequest, DescribeReleasedConfigRequest, StopGroupResponse, CreateRepositoryRequest, ModifyMicroserviceRequest, DescribeConfigReleasesRequest, DescribeEnabledUnitRuleRequest, DescribeApiGroupResponse, RedoTaskExecuteResponse, CreateLaneRequest, CreateApiGroupResponse, RedoTaskExecuteRequest, DescribeApplicationsResponse, DescribeConfigRequest, DisableUnitRouteRequest, DescribeUnitRulesRequest, DescribeGatewayAllGroupApisRequest, DeleteGroupRequest, BindApiGroupRequest, StopTaskBatchRequest, DescribeUnitApiUseDetailResponse, DescribeUsableUnitNamespacesRequest, DescribeContainerGroupsRequest, DisableTaskFlowRequest, DescribePodInstancesRequest, RedoTaskResponse, DescribeConfigsRequest, EnableUnitRouteRequest, DeleteConfigRequest, DescribeFileConfigsRequest, ExecuteTaskResponse, CreateApiRateLimitRuleResponse, DescribeApiUseDetailRequest, CreateClusterRequest, DeleteContainerGroupRequest, ReleaseConfigRequest, DescribeApiDetailRequest, StopContainerGroupRequest, UpdateHealthCheckSettingsResponse, DescribePathRewritesResponse, DescribeFlowLastBatchStateResponse, StopTaskExecuteResponse, DescribeSimpleGroupsRequest, DescribeConfigReleasesResponse, ModifyMicroserviceResponse, CreateApiGroupRequest, DescribeDownloadInfoResponse, DescribeApplicationRequest, DeployContainerGroupResponse, DescribeBasicResourceUsageRequest, DeleteMicroserviceResponse, DescribeReleasedConfigResponse, DescribeApiDetailResponse, DescribeGroupsRequest, CreatePathRewritesRequest, DeleteNamespaceRequest, SearchStdoutLogRequest, RedoTaskBatchResponse, DescribeMicroserviceResponse, DescribeImageRepositoryResponse, DescribeImageTagsRequest, DescribeConfigSummaryResponse, CreateContainGroupRequest, DescribePublicConfigReleasesResponse, CreatePathRewritesResponse, DeleteRepositoryRequest, DraftApiGroupResponse, DescribeConfigSummaryRequest, DeleteLaneRequest, ReleasePublicConfigRequest, RedoTaskFlowBatchResponse, CreateGroupResponse } from "./tsf_models";
|
|
4
4
|
/**
|
|
5
5
|
* tsf client
|
|
6
6
|
* @class
|
|
@@ -160,6 +160,10 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
160
160
|
* 获取应用列表
|
|
161
161
|
*/
|
|
162
162
|
DescribeApplications(req: DescribeApplicationsRequest, cb?: (error: string, rep: DescribeApplicationsResponse) => void): Promise<DescribeApplicationsResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* 获取部署组详情
|
|
165
|
+
*/
|
|
166
|
+
DescribeContainerGroupDeployInfo(req: DescribeContainerGroupDeployInfoRequest, cb?: (error: string, rep: DescribeContainerGroupDeployInfoResponse) => void): Promise<DescribeContainerGroupDeployInfoResponse>;
|
|
163
167
|
/**
|
|
164
168
|
* 查询网关API监控明细数据(仅单元化网关),非单元化网关使用DescribeApiUseDetail
|
|
165
169
|
*/
|
|
@@ -256,6 +256,12 @@ COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
|
|
256
256
|
async DescribeApplications(req, cb) {
|
|
257
257
|
return this.request("DescribeApplications", req, cb);
|
|
258
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* 获取部署组详情
|
|
261
|
+
*/
|
|
262
|
+
async DescribeContainerGroupDeployInfo(req, cb) {
|
|
263
|
+
return this.request("DescribeContainerGroupDeployInfo", req, cb);
|
|
264
|
+
}
|
|
259
265
|
/**
|
|
260
266
|
* 查询网关API监控明细数据(仅单元化网关),非单元化网关使用DescribeApiUseDetail
|
|
261
267
|
*/
|
|
@@ -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({})
|
|
@@ -38,4 +48,14 @@ it("organization.v20210331.BindOrganizationMemberAuthAccount", async function ()
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
51
|
+
it("organization.v20210331.DescribeOrganization", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeOrganization({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
41
61
|
})
|
|
@@ -28,6 +28,26 @@ it("rce.v20201103.DescribeRiskModel", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("rce.v20201103.DescribeRiskTrends", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeRiskTrends({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("rce.v20201103.DescribeRiskAssessment", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeRiskAssessment({})
|
|
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
|
+
|
|
31
51
|
it("rce.v20201103.ManageMarketingRisk", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.ManageMarketingRisk({})
|
|
@@ -438,16 +438,6 @@ it("tdmq.v20200217.DescribeCmqTopicDetail", async function () {
|
|
|
438
438
|
}
|
|
439
439
|
})
|
|
440
440
|
|
|
441
|
-
it("tdmq.v20200217.DescribeProducers", async function () {
|
|
442
|
-
try {
|
|
443
|
-
const data = await client.DescribeProducers({})
|
|
444
|
-
expect(data).to.be.ok
|
|
445
|
-
} catch(error) {
|
|
446
|
-
expect(error.requestId).to.be.ok
|
|
447
|
-
expect(error.code).to.be.ok
|
|
448
|
-
}
|
|
449
|
-
})
|
|
450
|
-
|
|
451
441
|
it("tdmq.v20200217.DeleteAMQPQueue", async function () {
|
|
452
442
|
try {
|
|
453
443
|
const data = await client.DeleteAMQPQueue({})
|
|
@@ -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({})
|