public class CdnClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
CdnClient(Credential credential,
String region) |
CdnClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
AddCdnDomainResponse |
AddCdnDomain(AddCdnDomainRequest req)
This API is used to add a CDN acceleration domain name.
|
CreateClsLogTopicResponse |
CreateClsLogTopic(CreateClsLogTopicRequest req)
This API is used to create a log topic.
|
CreateScdnFailedLogTaskResponse |
CreateScdnFailedLogTask(CreateScdnFailedLogTaskRequest req)
This API is used to recreate a failed event log task.
|
DeleteCdnDomainResponse |
DeleteCdnDomain(DeleteCdnDomainRequest req)
This API is used to delete a specified acceleration domain name.
|
DeleteClsLogTopicResponse |
DeleteClsLogTopic(DeleteClsLogTopicRequest req)
This API is used to delete a log topic.
|
DescribeBillingDataResponse |
DescribeBillingData(DescribeBillingDataRequest req)
This API is used to query billing data details.
|
DescribeCdnDataResponse |
DescribeCdnData(DescribeCdnDataRequest req)
This API (DescribeCdnData) is used to query CDN real-time access monitoring data and supports the following metrics:
+ Traffic (in bytes)
+ Bandwidth (in bps)
+ Number of requests
+ Number of hit requests
+ Request hit rate (in %)
+ Hit traffic (in bytes)
+ Traffic hit rate (in %)
+ Aggregate list of 2xx status codes and the details of status codes starting with 2 (in entries)
+ Aggregate list of 3xx status codes and the details of status codes starting with 3 (in entries)
+ Aggregate list of 4xx status codes and the details of status codes starting with 4 (in entries)
+ Aggregate list of 5xx status codes and the details of status codes starting with 5 (in entries)
|
DescribeCdnDomainLogsResponse |
DescribeCdnDomainLogs(DescribeCdnDomainLogsRequest req)
This API is used to query the download link of an access log.
|
DescribeCdnIpResponse |
DescribeCdnIp(DescribeCdnIpRequest req)
This API is used to query CDN IP ownership.
|
DescribeCdnOriginIpResponse |
DescribeCdnOriginIp(DescribeCdnOriginIpRequest req)
This API is used to query the IP information of CDN intermediate nodes.
|
DescribeCertDomainsResponse |
DescribeCertDomains(DescribeCertDomainsRequest req)
This API is used to verify an SSL certificate and extract the domain names.
|
DescribeDomainsResponse |
DescribeDomains(DescribeDomainsRequest req)
This API is used to query the basic configuration information of CDN acceleration domain names (inside and outside mainland China), including the project ID, service status, service type, creation time, and update time, etc.
|
DescribeDomainsConfigResponse |
DescribeDomainsConfig(DescribeDomainsConfigRequest req)
This API is used to query the complete configuration information of CDN acceleration domain names (inside and outside mainland China).
|
DescribeIpStatusResponse |
DescribeIpStatus(DescribeIpStatusRequest req)
This API is used to query the status of the edge servers and intermediate nodes on the domain name acceleration platform.
|
DescribeIpVisitResponse |
DescribeIpVisit(DescribeIpVisitRequest req)
This API (DescribeIpVisit) is used to query the number of users who remain active for 5 minutes and the detailed number of daily active users.
|
DescribeMapInfoResponse |
DescribeMapInfo(DescribeMapInfoRequest req)
This API (DescribeMapInfo) is used to query the IDs of districts or ISPs.
|
DescribeOriginDataResponse |
DescribeOriginData(DescribeOriginDataRequest req)
This API (DescribeOriginData) is used to query CDN real-time origin-pull monitoring data and supports the following metrics:
+ Origin-pull traffic (in bytes)
+ Origin-pull bandwidth (in bps)
+ Number of origin-pull requests
+ Number of failed origin-pull requests
+ Origin-pull failure rate (in % with two decimal digits)
+ Aggregate list of 2xx origin-pull status codes and the details of origin-pull status codes starting with 2 (in entries)
+ Aggregate list of 3xx origin-pull status codes and the details of origin-pull status codes starting with 3 (in entries)
+ Aggregate list of 4xx origin-pull status codes and the details of origin-pull status codes starting with 4 (in entries)
+ Aggregate list of 5xx origin-pull status codes and the details of origin-pull status codes starting with 5 (in entries)
|
DescribePayTypeResponse |
DescribePayType(DescribePayTypeRequest req)
This API (DescribePayType) is used to query billing information of the current account, such as billing mode and billing cycle.
|
DescribePurgeQuotaResponse |
DescribePurgeQuota(DescribePurgeQuotaRequest req)
This API is used to query the purge usage quota and daily available usage for an account.
|
DescribePurgeTasksResponse |
DescribePurgeTasks(DescribePurgeTasksRequest req)
This API is used to query the record and progress of URL or directory purge tasks submitted via the `PurgePathCache` or `PurgeUrlsCache` APIs.
|
DescribePushQuotaResponse |
DescribePushQuota(DescribePushQuotaRequest req)
This API is used to query the prefetch quota and daily available usage.
|
DescribePushTasksResponse |
DescribePushTasks(DescribePushTasksRequest req)
This API is used to query the submission record and progress of prefetch tasks.
|
DescribeReportDataResponse |
DescribeReportData(DescribeReportDataRequest req)
This API is used to query the daily/weekly/monthly report data at domain name/project levels.
|
DescribeUrlViolationsResponse |
DescribeUrlViolations(DescribeUrlViolationsRequest req)
This API is used to query the list of domain name URLs containing regulation-violating content scanned and detected by the CDN system, and the current status of the URLs.
|
DisableCachesResponse |
DisableCaches(DisableCachesRequest req)
This API is used to block access to a specific URL on CDN.
|
DisableClsLogTopicResponse |
DisableClsLogTopic(DisableClsLogTopicRequest req)
This API is used to stop publishing to a log topic.
|
EnableCachesResponse |
EnableCaches(EnableCachesRequest req)
This API (EnableCaches) is used to unblock manually blocked URLs.
|
EnableClsLogTopicResponse |
EnableClsLogTopic(EnableClsLogTopicRequest req)
This API is used to start publishing to a log topic.
|
GetDisableRecordsResponse |
GetDisableRecords(GetDisableRecordsRequest req)
This API is used to query the resource blocking history and the current URL status.
|
ListClsLogTopicsResponse |
ListClsLogTopics(ListClsLogTopicsRequest req)
This API is used to display the list of log topics.
|
ListClsTopicDomainsResponse |
ListClsTopicDomains(ListClsTopicDomainsRequest req)
This API is used to get the list of domain names bound to a log topic.
|
ListTopDataResponse |
ListTopData(ListTopDataRequest req)
This API is used to list data sorted the following ways by using different combinations of the Metric and Filter input parameters:
+ It sorts access URLs by total traffic and total requests, and returns the top 1,000 URLs in descending order.
|
ManageClsTopicDomainsResponse |
ManageClsTopicDomains(ManageClsTopicDomainsRequest req)
This API is used to manage the list of domain names bound to a log topic.
|
PurgePathCacheResponse |
PurgePathCache(PurgePathCacheRequest req)
This API is used to submit multiple directory purge tasks, which are carried out according to the acceleration region of the domain names.
|
PurgeUrlsCacheResponse |
PurgeUrlsCache(PurgeUrlsCacheRequest req)
This API is used to submit multiple URL purge tasks, which are carried out according to the current acceleration region of the domain names in the URLs.
|
PushUrlsCacheResponse |
PushUrlsCache(PushUrlsCacheRequest req)
This API is used to cache specified URL resources to CDN nodes.
|
SearchClsLogResponse |
SearchClsLog(SearchClsLogRequest req)
This API is used to search for CLS logs.
|
StartCdnDomainResponse |
StartCdnDomain(StartCdnDomainRequest req)
This API is used to enable the acceleration service for a disabled domain name.
|
StopCdnDomainResponse |
StopCdnDomain(StopCdnDomainRequest req)
This API is used to suspend the acceleration service for a domain name.
|
UpdateDomainConfigResponse |
UpdateDomainConfig(UpdateDomainConfigRequest req)
This API is used to modify the configuration of CDN acceleration domain names.
|
UpdatePayTypeResponse |
UpdatePayType(UpdatePayTypeRequest req)
This API is used to modify the billing mode of an account.
|
UpdateScdnDomainResponse |
UpdateScdnDomain(UpdateScdnDomainRequest req)
This API is used to modify security configurations of SCDN acceleration domain names.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic CdnClient(Credential credential, String region)
public CdnClient(Credential credential, String region, ClientProfile profile)
public AddCdnDomainResponse AddCdnDomain(AddCdnDomainRequest req) throws TencentCloudSDKException
req - AddCdnDomainRequestTencentCloudSDKExceptionpublic CreateClsLogTopicResponse CreateClsLogTopic(CreateClsLogTopicRequest req) throws TencentCloudSDKException
req - CreateClsLogTopicRequestTencentCloudSDKExceptionpublic CreateScdnFailedLogTaskResponse CreateScdnFailedLogTask(CreateScdnFailedLogTaskRequest req) throws TencentCloudSDKException
req - CreateScdnFailedLogTaskRequestTencentCloudSDKExceptionpublic DeleteCdnDomainResponse DeleteCdnDomain(DeleteCdnDomainRequest req) throws TencentCloudSDKException
req - DeleteCdnDomainRequestTencentCloudSDKExceptionpublic DeleteClsLogTopicResponse DeleteClsLogTopic(DeleteClsLogTopicRequest req) throws TencentCloudSDKException
req - DeleteClsLogTopicRequestTencentCloudSDKExceptionpublic DescribeBillingDataResponse DescribeBillingData(DescribeBillingDataRequest req) throws TencentCloudSDKException
req - DescribeBillingDataRequestTencentCloudSDKExceptionpublic DescribeCdnDataResponse DescribeCdnData(DescribeCdnDataRequest req) throws TencentCloudSDKException
req - DescribeCdnDataRequestTencentCloudSDKExceptionpublic DescribeCdnDomainLogsResponse DescribeCdnDomainLogs(DescribeCdnDomainLogsRequest req) throws TencentCloudSDKException
req - DescribeCdnDomainLogsRequestTencentCloudSDKExceptionpublic DescribeCdnIpResponse DescribeCdnIp(DescribeCdnIpRequest req) throws TencentCloudSDKException
req - DescribeCdnIpRequestTencentCloudSDKExceptionpublic DescribeCdnOriginIpResponse DescribeCdnOriginIp(DescribeCdnOriginIpRequest req) throws TencentCloudSDKException
req - DescribeCdnOriginIpRequestTencentCloudSDKExceptionpublic DescribeCertDomainsResponse DescribeCertDomains(DescribeCertDomainsRequest req) throws TencentCloudSDKException
req - DescribeCertDomainsRequestTencentCloudSDKExceptionpublic DescribeDomainsResponse DescribeDomains(DescribeDomainsRequest req) throws TencentCloudSDKException
req - DescribeDomainsRequestTencentCloudSDKExceptionpublic DescribeDomainsConfigResponse DescribeDomainsConfig(DescribeDomainsConfigRequest req) throws TencentCloudSDKException
req - DescribeDomainsConfigRequestTencentCloudSDKExceptionpublic DescribeIpStatusResponse DescribeIpStatus(DescribeIpStatusRequest req) throws TencentCloudSDKException
req - DescribeIpStatusRequestTencentCloudSDKExceptionpublic DescribeIpVisitResponse DescribeIpVisit(DescribeIpVisitRequest req) throws TencentCloudSDKException
req - DescribeIpVisitRequestTencentCloudSDKExceptionpublic DescribeMapInfoResponse DescribeMapInfo(DescribeMapInfoRequest req) throws TencentCloudSDKException
req - DescribeMapInfoRequestTencentCloudSDKExceptionpublic DescribeOriginDataResponse DescribeOriginData(DescribeOriginDataRequest req) throws TencentCloudSDKException
req - DescribeOriginDataRequestTencentCloudSDKExceptionpublic DescribePayTypeResponse DescribePayType(DescribePayTypeRequest req) throws TencentCloudSDKException
req - DescribePayTypeRequestTencentCloudSDKExceptionpublic DescribePurgeQuotaResponse DescribePurgeQuota(DescribePurgeQuotaRequest req) throws TencentCloudSDKException
req - DescribePurgeQuotaRequestTencentCloudSDKExceptionpublic DescribePurgeTasksResponse DescribePurgeTasks(DescribePurgeTasksRequest req) throws TencentCloudSDKException
req - DescribePurgeTasksRequestTencentCloudSDKExceptionpublic DescribePushQuotaResponse DescribePushQuota(DescribePushQuotaRequest req) throws TencentCloudSDKException
req - DescribePushQuotaRequestTencentCloudSDKExceptionpublic DescribePushTasksResponse DescribePushTasks(DescribePushTasksRequest req) throws TencentCloudSDKException
req - DescribePushTasksRequestTencentCloudSDKExceptionpublic DescribeReportDataResponse DescribeReportData(DescribeReportDataRequest req) throws TencentCloudSDKException
req - DescribeReportDataRequestTencentCloudSDKExceptionpublic DescribeUrlViolationsResponse DescribeUrlViolations(DescribeUrlViolationsRequest req) throws TencentCloudSDKException
req - DescribeUrlViolationsRequestTencentCloudSDKExceptionpublic DisableCachesResponse DisableCaches(DisableCachesRequest req) throws TencentCloudSDKException
req - DisableCachesRequestTencentCloudSDKExceptionpublic DisableClsLogTopicResponse DisableClsLogTopic(DisableClsLogTopicRequest req) throws TencentCloudSDKException
req - DisableClsLogTopicRequestTencentCloudSDKExceptionpublic EnableCachesResponse EnableCaches(EnableCachesRequest req) throws TencentCloudSDKException
req - EnableCachesRequestTencentCloudSDKExceptionpublic EnableClsLogTopicResponse EnableClsLogTopic(EnableClsLogTopicRequest req) throws TencentCloudSDKException
req - EnableClsLogTopicRequestTencentCloudSDKExceptionpublic GetDisableRecordsResponse GetDisableRecords(GetDisableRecordsRequest req) throws TencentCloudSDKException
req - GetDisableRecordsRequestTencentCloudSDKExceptionpublic ListClsLogTopicsResponse ListClsLogTopics(ListClsLogTopicsRequest req) throws TencentCloudSDKException
req - ListClsLogTopicsRequestTencentCloudSDKExceptionpublic ListClsTopicDomainsResponse ListClsTopicDomains(ListClsTopicDomainsRequest req) throws TencentCloudSDKException
req - ListClsTopicDomainsRequestTencentCloudSDKExceptionpublic ListTopDataResponse ListTopData(ListTopDataRequest req) throws TencentCloudSDKException
req - ListTopDataRequestTencentCloudSDKExceptionpublic ManageClsTopicDomainsResponse ManageClsTopicDomains(ManageClsTopicDomainsRequest req) throws TencentCloudSDKException
req - ManageClsTopicDomainsRequestTencentCloudSDKExceptionpublic PurgePathCacheResponse PurgePathCache(PurgePathCacheRequest req) throws TencentCloudSDKException
req - PurgePathCacheRequestTencentCloudSDKExceptionpublic PurgeUrlsCacheResponse PurgeUrlsCache(PurgeUrlsCacheRequest req) throws TencentCloudSDKException
req - PurgeUrlsCacheRequestTencentCloudSDKExceptionpublic PushUrlsCacheResponse PushUrlsCache(PushUrlsCacheRequest req) throws TencentCloudSDKException
req - PushUrlsCacheRequestTencentCloudSDKExceptionpublic SearchClsLogResponse SearchClsLog(SearchClsLogRequest req) throws TencentCloudSDKException
req - SearchClsLogRequestTencentCloudSDKExceptionpublic StartCdnDomainResponse StartCdnDomain(StartCdnDomainRequest req) throws TencentCloudSDKException
req - StartCdnDomainRequestTencentCloudSDKExceptionpublic StopCdnDomainResponse StopCdnDomain(StopCdnDomainRequest req) throws TencentCloudSDKException
req - StopCdnDomainRequestTencentCloudSDKExceptionpublic UpdateDomainConfigResponse UpdateDomainConfig(UpdateDomainConfigRequest req) throws TencentCloudSDKException
req - UpdateDomainConfigRequestTencentCloudSDKExceptionpublic UpdatePayTypeResponse UpdatePayType(UpdatePayTypeRequest req) throws TencentCloudSDKException
req - UpdatePayTypeRequestTencentCloudSDKExceptionpublic UpdateScdnDomainResponse UpdateScdnDomain(UpdateScdnDomainRequest req) throws TencentCloudSDKException
req - UpdateScdnDomainRequestTencentCloudSDKExceptionCopyright © 2021. All rights reserved.