tencentcloud-sdk-nodejs 4.0.245 → 4.0.249
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 +744 -35
- package/package.json +1 -1
- package/products.md +38 -35
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +5 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +6 -0
- package/src/services/apigateway/v20180808/apigateway_client.ts +1 -1
- package/src/services/apm/index.ts +5 -0
- package/src/services/apm/v20210622/apm_client.ts +70 -0
- package/src/services/apm/v20210622/apm_models.ts +306 -0
- package/src/services/apm/v20210622/index.ts +6 -0
- package/src/services/asw/v20200722/asw_models.ts +3 -3
- package/src/services/captcha/v20190722/captcha_models.ts +2 -1
- package/src/services/cdb/v20170320/cdb_models.ts +13 -3
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cii/v20210408/cii_models.ts +1 -1
- 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 +3 -3
- package/src/services/cme/v20191029/cme_models.ts +30 -25
- package/src/services/cr/v20180321/cr_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +9 -8
- package/src/services/domain/v20180808/domain_models.ts +6 -1
- package/src/services/ecdn/v20191012/ecdn_client.ts +3 -0
- package/src/services/gaap/v20180529/gaap_models.ts +5 -0
- package/src/services/index.ts +3 -0
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +11 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +31 -0
- package/src/services/ivld/index.ts +5 -0
- package/src/services/ivld/v20210903/index.ts +6 -0
- package/src/services/ivld/v20210903/ivld_client.ts +170 -0
- package/src/services/ivld/v20210903/ivld_models.ts +973 -0
- package/src/services/kms/v20190118/kms_client.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +2 -2
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +0 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -35
- package/src/services/monitor/v20180724/monitor_models.ts +3 -3
- package/src/services/mrs/v20200910/mrs_client.ts +2 -0
- package/src/services/mrs/v20200910/mrs_models.ts +81 -5
- package/src/services/postgres/v20170312/postgres_models.ts +19 -7
- package/src/services/privatedns/v20201028/privatedns_client.ts +40 -3
- package/src/services/privatedns/v20201028/privatedns_models.ts +142 -32
- package/src/services/scf/v20180416/scf_client.ts +25 -12
- package/src/services/scf/v20180416/scf_models.ts +103 -1
- package/src/services/tat/v20201028/tat_models.ts +87 -11
- package/src/services/tdmq/v20200217/tdmq_client.ts +15 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +556 -146
- 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/tiw/v20190919/tiw_models.ts +2 -2
- package/src/services/tke/v20180525/tke_client.ts +50 -1
- package/src/services/tke/v20180525/tke_models.ts +158 -6
- package/src/services/tsf/v20180326/tsf_client.ts +13 -0
- package/src/services/tsf/v20180326/tsf_models.ts +85 -0
- package/src/services/vpc/v20170312/vpc_models.ts +2 -2
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +26 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +4 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +5 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.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 +22 -0
- package/tencentcloud/services/apm/v20210622/apm_client.js +49 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +246 -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/captcha/v20190722/captcha_models.d.ts +1 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +1 -1
- 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 +3 -3
- package/tencentcloud/services/cme/v20191029/cme_client.js +3 -3
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +29 -25
- package/tencentcloud/services/cr/v20180321/cr_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +9 -8
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +5 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +3 -0
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +3 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +4 -0
- package/tencentcloud/services/index.d.ts +3 -0
- package/tencentcloud/services/index.js +6 -0
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +9 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +26 -0
- package/tencentcloud/services/ivld/index.d.ts +6 -0
- package/tencentcloud/services/ivld/index.js +7 -0
- package/tencentcloud/services/ivld/v20210903/index.d.ts +6 -0
- package/tencentcloud/services/ivld/v20210903/index.js +9 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +66 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +103 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +831 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.js +18 -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/lighthouse/v20200324/lighthouse_models.d.ts +6 -29
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +3 -3
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +70 -5
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +17 -7
- 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 +124 -29
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +9 -5
- package/tencentcloud/services/scf/v20180416/scf_client.js +12 -6
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +86 -1
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +75 -11
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +434 -94
- 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/tiw/v20190919/tiw_models.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +17 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +24 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +136 -5
- 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/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +22 -1
- package/test/apm.v20210622.test.js +51 -0
- package/test/clb.v20180317.test.js +20 -0
- package/test/ivld.v20210903.test.js +101 -0
- package/test/privatedns.v20201028.test.js +30 -0
- package/test/scf.v20180416.test.js +14 -4
- package/test/tdmq.v20200217.test.js +10 -0
- package/test/thpc.v20211109.test.js +41 -0
- package/test/tke.v20180525.test.js +40 -0
- package/test/tsf.v20180326.test.js +10 -0
|
@@ -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, DescribeMicroservicesResponse, 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, 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, OperateApplicationTcrBindingResponse, DescribePublicConfigReleaseLogsResponse, DeleteApiGroupRequest, ReleaseApiGroupRequest, StartGroupRequest, DescribeClusterInstancesResponse, DescribeTaskDetailResponse, ExpandGroupRequest, RevocationPublicConfigRequest, ModifyLaneRuleResponse, 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";
|
|
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, DescribeMicroservicesResponse, 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, 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
|
|
@@ -67,6 +67,10 @@ export declare class Client extends AbstractClient {
|
|
|
67
67
|
* 容器部署组列表
|
|
68
68
|
*/
|
|
69
69
|
DescribeContainerGroups(req: DescribeContainerGroupsRequest, cb?: (error: string, rep: DescribeContainerGroupsResponse) => void): Promise<DescribeContainerGroupsResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 获取部署组其他属性
|
|
72
|
+
*/
|
|
73
|
+
DescribeGroupAttribute(req: DescribeGroupAttributeRequest, cb?: (error: string, rep: DescribeGroupAttributeResponse) => void): Promise<DescribeGroupAttributeResponse>;
|
|
70
74
|
/**
|
|
71
75
|
* 查询配置项列表
|
|
72
76
|
*/
|
|
@@ -117,6 +117,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
117
117
|
async DescribeContainerGroups(req, cb) {
|
|
118
118
|
return this.request("DescribeContainerGroups", req, cb);
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 获取部署组其他属性
|
|
122
|
+
*/
|
|
123
|
+
async DescribeGroupAttribute(req, cb) {
|
|
124
|
+
return this.request("DescribeGroupAttribute", req, cb);
|
|
125
|
+
}
|
|
120
126
|
/**
|
|
121
127
|
* 查询配置项列表
|
|
122
128
|
*/
|
|
@@ -5463,6 +5463,20 @@ export interface MetricDataPointMap {
|
|
|
5463
5463
|
*/
|
|
5464
5464
|
AvgTimeCost: Array<MetricDataPoint>;
|
|
5465
5465
|
}
|
|
5466
|
+
/**
|
|
5467
|
+
* DescribeGroupAttribute返回参数结构体
|
|
5468
|
+
*/
|
|
5469
|
+
export interface DescribeGroupAttributeResponse {
|
|
5470
|
+
/**
|
|
5471
|
+
* 虚拟机部署组信息
|
|
5472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5473
|
+
*/
|
|
5474
|
+
Result?: VmGroupOther;
|
|
5475
|
+
/**
|
|
5476
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5477
|
+
*/
|
|
5478
|
+
RequestId?: string;
|
|
5479
|
+
}
|
|
5466
5480
|
/**
|
|
5467
5481
|
* ModifyPathRewrite返回参数结构体
|
|
5468
5482
|
*/
|
|
@@ -7521,6 +7535,56 @@ export interface AddClusterInstancesResponse {
|
|
|
7521
7535
|
*/
|
|
7522
7536
|
RequestId?: string;
|
|
7523
7537
|
}
|
|
7538
|
+
/**
|
|
7539
|
+
* 虚拟机部署组其他字段
|
|
7540
|
+
*/
|
|
7541
|
+
export interface VmGroupOther {
|
|
7542
|
+
/**
|
|
7543
|
+
* 部署组ID
|
|
7544
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7545
|
+
*/
|
|
7546
|
+
GroupId: string;
|
|
7547
|
+
/**
|
|
7548
|
+
* 程序包ID
|
|
7549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7550
|
+
*/
|
|
7551
|
+
PackageId: string;
|
|
7552
|
+
/**
|
|
7553
|
+
* 程序包名称
|
|
7554
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7555
|
+
*/
|
|
7556
|
+
PackageName: string;
|
|
7557
|
+
/**
|
|
7558
|
+
* 程序包版本
|
|
7559
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7560
|
+
*/
|
|
7561
|
+
PackageVersion: string;
|
|
7562
|
+
/**
|
|
7563
|
+
* 部署组实例数
|
|
7564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7565
|
+
*/
|
|
7566
|
+
InstanceCount: number;
|
|
7567
|
+
/**
|
|
7568
|
+
* 部署组运行中实例数
|
|
7569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7570
|
+
*/
|
|
7571
|
+
RunInstanceCount: number;
|
|
7572
|
+
/**
|
|
7573
|
+
* 部署组中停止实例数
|
|
7574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7575
|
+
*/
|
|
7576
|
+
OffInstanceCount: number;
|
|
7577
|
+
/**
|
|
7578
|
+
* 部署组状态
|
|
7579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7580
|
+
*/
|
|
7581
|
+
GroupStatus: string;
|
|
7582
|
+
/**
|
|
7583
|
+
* 服务配置信息是否匹配
|
|
7584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7585
|
+
*/
|
|
7586
|
+
IsNotEqualServiceConfig: boolean;
|
|
7587
|
+
}
|
|
7524
7588
|
/**
|
|
7525
7589
|
* DescribeTaskLastStatus返回参数结构体
|
|
7526
7590
|
*/
|
|
@@ -8150,6 +8214,15 @@ export interface TsfPageSimpleGroup {
|
|
|
8150
8214
|
*/
|
|
8151
8215
|
Content: Array<SimpleGroup>;
|
|
8152
8216
|
}
|
|
8217
|
+
/**
|
|
8218
|
+
* DescribeGroupAttribute请求参数结构体
|
|
8219
|
+
*/
|
|
8220
|
+
export interface DescribeGroupAttributeRequest {
|
|
8221
|
+
/**
|
|
8222
|
+
* 部署组ID字段
|
|
8223
|
+
*/
|
|
8224
|
+
GroupId: string;
|
|
8225
|
+
}
|
|
8153
8226
|
/**
|
|
8154
8227
|
* 任务规则
|
|
8155
8228
|
*/
|
|
@@ -5033,7 +5033,7 @@ export interface DescribeAddressesRequest {
|
|
|
5033
5033
|
*/
|
|
5034
5034
|
AddressIds?: Array<string>;
|
|
5035
5035
|
/**
|
|
5036
|
-
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为
|
|
5036
|
+
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
|
|
5037
5037
|
<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。</li>
|
|
5038
5038
|
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。</li>
|
|
5039
5039
|
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。</li>
|
|
@@ -5042,7 +5042,7 @@ export interface DescribeAddressesRequest {
|
|
|
5042
5042
|
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>
|
|
5043
5043
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>
|
|
5044
5044
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
5045
|
-
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'EIP','AnycastEIP','HighQualityEIP'
|
|
5045
|
+
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>
|
|
5046
5046
|
<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>
|
|
5047
5047
|
<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>
|
|
5048
5048
|
<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
@@ -58,7 +58,7 @@ export declare class Client extends AbstractClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* 本接口用于访问日志的快速分析
|
|
60
60
|
*/
|
|
61
|
-
DescribeAccessFastAnalysis(req
|
|
61
|
+
DescribeAccessFastAnalysis(req: DescribeAccessFastAnalysisRequest, cb?: (error: string, rep: DescribeAccessFastAnalysisResponse) => void): Promise<DescribeAccessFastAnalysisResponse>;
|
|
62
62
|
/**
|
|
63
63
|
* 本接口用于获取访问日志索引配置信息
|
|
64
64
|
*/
|
|
@@ -377,7 +377,28 @@ export interface AccessRuleInfo {
|
|
|
377
377
|
/**
|
|
378
378
|
* DescribeAccessFastAnalysis请求参数结构体
|
|
379
379
|
*/
|
|
380
|
-
export
|
|
380
|
+
export interface DescribeAccessFastAnalysisRequest {
|
|
381
|
+
/**
|
|
382
|
+
* 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
|
383
|
+
*/
|
|
384
|
+
TopicId: string;
|
|
385
|
+
/**
|
|
386
|
+
* 要查询的日志的起始时间,Unix时间戳,单位ms
|
|
387
|
+
*/
|
|
388
|
+
From: number;
|
|
389
|
+
/**
|
|
390
|
+
* 要查询的日志的结束时间,Unix时间戳,单位ms
|
|
391
|
+
*/
|
|
392
|
+
To: number;
|
|
393
|
+
/**
|
|
394
|
+
* 查询语句,语句长度最大为4096,由于本接口是分析接口,如果无过滤条件,必须传 * 表示匹配所有,参考CLS的分析统计语句的文档
|
|
395
|
+
*/
|
|
396
|
+
Query: string;
|
|
397
|
+
/**
|
|
398
|
+
* 需要分析统计的字段名
|
|
399
|
+
*/
|
|
400
|
+
FieldName: string;
|
|
401
|
+
}
|
|
381
402
|
/**
|
|
382
403
|
* 用于DescribeAccessIndex接口的出参
|
|
383
404
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.apm.v20210622.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("apm.v20210622.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("apm.v20210622.CreateApmInstance", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateApmInstance({})
|
|
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
|
+
|
|
31
|
+
it("apm.v20210622.DescribeApmInstances", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeApmInstances({})
|
|
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("apm.v20210622.DescribeApmAgent", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeApmAgent({})
|
|
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
|
+
|
|
51
|
+
})
|
|
@@ -518,6 +518,16 @@ it("clb.v20180317.CreateTargetGroup", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
+
it("clb.v20180317.DescribeLoadBalancerOverview", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.DescribeLoadBalancerOverview({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
521
531
|
it("clb.v20180317.DescribeTargets", async function () {
|
|
522
532
|
try {
|
|
523
533
|
const data = await client.DescribeTargets({})
|
|
@@ -648,6 +658,16 @@ it("clb.v20180317.DescribeLoadBalancerTraffic", async function () {
|
|
|
648
658
|
}
|
|
649
659
|
})
|
|
650
660
|
|
|
661
|
+
it("clb.v20180317.CloneLoadBalancer", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.CloneLoadBalancer({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
651
671
|
it("clb.v20180317.ModifyTargetGroupInstancesPort", async function () {
|
|
652
672
|
try {
|
|
653
673
|
const data = await client.ModifyTargetGroupInstancesPort({})
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.ivld.v20210903.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("ivld.v20210903.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("ivld.v20210903.CreateTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateTask({})
|
|
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
|
+
|
|
31
|
+
it("ivld.v20210903.ImportMedia", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ImportMedia({})
|
|
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("ivld.v20210903.DescribeMedias", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeMedias({})
|
|
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
|
+
|
|
51
|
+
it("ivld.v20210903.DescribeMedia", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeMedia({})
|
|
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
|
+
|
|
61
|
+
it("ivld.v20210903.DescribeTaskDetail", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeTaskDetail({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("ivld.v20210903.DescribeTask", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeTask({})
|
|
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
|
+
|
|
81
|
+
it("ivld.v20210903.DescribeTasks", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeTasks({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("ivld.v20210903.DeleteMedia", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteMedia({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.privatedns.v20201028.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("privatedns.v20201028.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("privatedns.v20201028.CreatePrivateDNSAccount", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreatePrivateDNSAccount({})
|
|
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("privatedns.v20201028.DescribePrivateZone", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribePrivateZone({})
|
|
@@ -38,6 +48,16 @@ it("privatedns.v20201028.ModifyPrivateZoneRecord", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
51
|
+
it("privatedns.v20201028.DescribeAccountVpcList", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeAccountVpcList({})
|
|
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
|
it("privatedns.v20201028.DescribePrivateZoneRecordList", async function () {
|
|
42
62
|
try {
|
|
43
63
|
const data = await client.DescribePrivateZoneRecordList({})
|
|
@@ -58,6 +78,16 @@ it("privatedns.v20201028.DescribePrivateZoneService", async function () {
|
|
|
58
78
|
}
|
|
59
79
|
})
|
|
60
80
|
|
|
81
|
+
it("privatedns.v20201028.DeletePrivateDNSAccount", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DeletePrivateDNSAccount({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
61
91
|
it("privatedns.v20201028.DescribeAuditLog", async function () {
|
|
62
92
|
try {
|
|
63
93
|
const data = await client.DescribeAuditLog({})
|
|
@@ -178,9 +178,9 @@ it("scf.v20180416.PublishLayerVersion", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("scf.v20180416.
|
|
181
|
+
it("scf.v20180416.DeleteProvisionedConcurrencyConfig", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.DeleteProvisionedConcurrencyConfig({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +368,9 @@ it("scf.v20180416.DeleteReservedConcurrencyConfig", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
-
it("scf.v20180416.
|
|
371
|
+
it("scf.v20180416.Invoke", async function () {
|
|
372
372
|
try {
|
|
373
|
-
const data = await client.
|
|
373
|
+
const data = await client.Invoke({})
|
|
374
374
|
expect(data).to.be.ok
|
|
375
375
|
} catch(error) {
|
|
376
376
|
expect(error.requestId).to.be.ok
|
|
@@ -438,4 +438,14 @@ it("scf.v20180416.UpdateFunctionCode", async function () {
|
|
|
438
438
|
}
|
|
439
439
|
})
|
|
440
440
|
|
|
441
|
+
it("scf.v20180416.GetRequestStatus", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.GetRequestStatus({})
|
|
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
|
+
|
|
441
451
|
})
|
|
@@ -948,6 +948,16 @@ it("tdmq.v20200217.DeleteCmqSubscribe", async function () {
|
|
|
948
948
|
}
|
|
949
949
|
})
|
|
950
950
|
|
|
951
|
+
it("tdmq.v20200217.DescribeAllTenants", async function () {
|
|
952
|
+
try {
|
|
953
|
+
const data = await client.DescribeAllTenants({})
|
|
954
|
+
expect(data).to.be.ok
|
|
955
|
+
} catch(error) {
|
|
956
|
+
expect(error.requestId).to.be.ok
|
|
957
|
+
expect(error.code).to.be.ok
|
|
958
|
+
}
|
|
959
|
+
})
|
|
960
|
+
|
|
951
961
|
it("tdmq.v20200217.DescribeNamespaceBundlesOpt", async function () {
|
|
952
962
|
try {
|
|
953
963
|
const data = await client.DescribeNamespaceBundlesOpt({})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.thpc.v20211109.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("thpc.v20211109.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("thpc.v20211109.DeleteCluster", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DeleteCluster({})
|
|
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
|
+
|
|
31
|
+
it("thpc.v20211109.CreateCluster", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateCluster({})
|
|
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
|
+
})
|
|
@@ -228,6 +228,16 @@ it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("tke.v20180525.ForwardApplicationRequestV3", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ForwardApplicationRequestV3({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
231
241
|
it("tke.v20180525.DescribeClusterNodePoolDetail", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.DescribeClusterNodePoolDetail({})
|
|
@@ -398,6 +408,16 @@ it("tke.v20180525.AddExistedInstances", async function () {
|
|
|
398
408
|
}
|
|
399
409
|
})
|
|
400
410
|
|
|
411
|
+
it("tke.v20180525.DisableClusterDeletionProtection", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.DisableClusterDeletionProtection({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
401
421
|
it("tke.v20180525.DescribePrometheusTargets", async function () {
|
|
402
422
|
try {
|
|
403
423
|
const data = await client.DescribePrometheusTargets({})
|
|
@@ -898,6 +918,16 @@ it("tke.v20180525.DescribeEnableVpcCniProgress", async function () {
|
|
|
898
918
|
}
|
|
899
919
|
})
|
|
900
920
|
|
|
921
|
+
it("tke.v20180525.EnableClusterDeletionProtection", async function () {
|
|
922
|
+
try {
|
|
923
|
+
const data = await client.EnableClusterDeletionProtection({})
|
|
924
|
+
expect(data).to.be.ok
|
|
925
|
+
} catch(error) {
|
|
926
|
+
expect(error.requestId).to.be.ok
|
|
927
|
+
expect(error.code).to.be.ok
|
|
928
|
+
}
|
|
929
|
+
})
|
|
930
|
+
|
|
901
931
|
it("tke.v20180525.SyncPrometheusTemplate", async function () {
|
|
902
932
|
try {
|
|
903
933
|
const data = await client.SyncPrometheusTemplate({})
|
|
@@ -958,6 +988,16 @@ it("tke.v20180525.UpdateEKSCluster", async function () {
|
|
|
958
988
|
}
|
|
959
989
|
})
|
|
960
990
|
|
|
991
|
+
it("tke.v20180525.GetTkeAppChartList", async function () {
|
|
992
|
+
try {
|
|
993
|
+
const data = await client.GetTkeAppChartList({})
|
|
994
|
+
expect(data).to.be.ok
|
|
995
|
+
} catch(error) {
|
|
996
|
+
expect(error.requestId).to.be.ok
|
|
997
|
+
expect(error.code).to.be.ok
|
|
998
|
+
}
|
|
999
|
+
})
|
|
1000
|
+
|
|
961
1001
|
it("tke.v20180525.CreateClusterEndpointVip", async function () {
|
|
962
1002
|
try {
|
|
963
1003
|
const data = await client.CreateClusterEndpointVip({})
|
|
@@ -168,6 +168,16 @@ it("tsf.v20180326.DescribeContainerGroups", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("tsf.v20180326.DescribeGroupAttribute", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeGroupAttribute({})
|
|
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("tsf.v20180326.DescribeConfigs", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeConfigs({})
|