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.
|
AddCLSTopicDomainsResponse |
AddCLSTopicDomains(AddCLSTopicDomainsRequest req)
This API is used to add one or more domains to a specified log topic.
|
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 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 a SSL certificate and obtain its 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 IP details of edge nodes (available soon) and intermediate nodes.
|
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 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, setRegion
public CdnClient(Credential credential, String region)
public CdnClient(Credential credential, String region, ClientProfile profile)
public AddCLSTopicDomainsResponse AddCLSTopicDomains(AddCLSTopicDomainsRequest req) throws TencentCloudSDKException
req
- AddCLSTopicDomainsRequestTencentCloudSDKException
public AddCdnDomainResponse AddCdnDomain(AddCdnDomainRequest req) throws TencentCloudSDKException
req
- AddCdnDomainRequestTencentCloudSDKException
public CreateClsLogTopicResponse CreateClsLogTopic(CreateClsLogTopicRequest req) throws TencentCloudSDKException
req
- CreateClsLogTopicRequestTencentCloudSDKException
public CreateScdnFailedLogTaskResponse CreateScdnFailedLogTask(CreateScdnFailedLogTaskRequest req) throws TencentCloudSDKException
req
- CreateScdnFailedLogTaskRequestTencentCloudSDKException
public DeleteCdnDomainResponse DeleteCdnDomain(DeleteCdnDomainRequest req) throws TencentCloudSDKException
req
- DeleteCdnDomainRequestTencentCloudSDKException
public DeleteClsLogTopicResponse DeleteClsLogTopic(DeleteClsLogTopicRequest req) throws TencentCloudSDKException
req
- DeleteClsLogTopicRequestTencentCloudSDKException
public DescribeBillingDataResponse DescribeBillingData(DescribeBillingDataRequest req) throws TencentCloudSDKException
req
- DescribeBillingDataRequestTencentCloudSDKException
public DescribeCdnDataResponse DescribeCdnData(DescribeCdnDataRequest req) throws TencentCloudSDKException
req
- DescribeCdnDataRequestTencentCloudSDKException
public DescribeCdnDomainLogsResponse DescribeCdnDomainLogs(DescribeCdnDomainLogsRequest req) throws TencentCloudSDKException
req
- DescribeCdnDomainLogsRequestTencentCloudSDKException
public DescribeCdnIpResponse DescribeCdnIp(DescribeCdnIpRequest req) throws TencentCloudSDKException
req
- DescribeCdnIpRequestTencentCloudSDKException
public DescribeCdnOriginIpResponse DescribeCdnOriginIp(DescribeCdnOriginIpRequest req) throws TencentCloudSDKException
req
- DescribeCdnOriginIpRequestTencentCloudSDKException
public DescribeCertDomainsResponse DescribeCertDomains(DescribeCertDomainsRequest req) throws TencentCloudSDKException
req
- DescribeCertDomainsRequestTencentCloudSDKException
public DescribeDomainsResponse DescribeDomains(DescribeDomainsRequest req) throws TencentCloudSDKException
req
- DescribeDomainsRequestTencentCloudSDKException
public DescribeDomainsConfigResponse DescribeDomainsConfig(DescribeDomainsConfigRequest req) throws TencentCloudSDKException
req
- DescribeDomainsConfigRequestTencentCloudSDKException
public DescribeIpStatusResponse DescribeIpStatus(DescribeIpStatusRequest req) throws TencentCloudSDKException
req
- DescribeIpStatusRequestTencentCloudSDKException
public DescribeIpVisitResponse DescribeIpVisit(DescribeIpVisitRequest req) throws TencentCloudSDKException
req
- DescribeIpVisitRequestTencentCloudSDKException
public DescribeMapInfoResponse DescribeMapInfo(DescribeMapInfoRequest req) throws TencentCloudSDKException
req
- DescribeMapInfoRequestTencentCloudSDKException
public DescribeOriginDataResponse DescribeOriginData(DescribeOriginDataRequest req) throws TencentCloudSDKException
req
- DescribeOriginDataRequestTencentCloudSDKException
public DescribePayTypeResponse DescribePayType(DescribePayTypeRequest req) throws TencentCloudSDKException
req
- DescribePayTypeRequestTencentCloudSDKException
public DescribePurgeQuotaResponse DescribePurgeQuota(DescribePurgeQuotaRequest req) throws TencentCloudSDKException
req
- DescribePurgeQuotaRequestTencentCloudSDKException
public DescribePurgeTasksResponse DescribePurgeTasks(DescribePurgeTasksRequest req) throws TencentCloudSDKException
req
- DescribePurgeTasksRequestTencentCloudSDKException
public DescribePushQuotaResponse DescribePushQuota(DescribePushQuotaRequest req) throws TencentCloudSDKException
req
- DescribePushQuotaRequestTencentCloudSDKException
public DescribePushTasksResponse DescribePushTasks(DescribePushTasksRequest req) throws TencentCloudSDKException
req
- DescribePushTasksRequestTencentCloudSDKException
public DescribeReportDataResponse DescribeReportData(DescribeReportDataRequest req) throws TencentCloudSDKException
req
- DescribeReportDataRequestTencentCloudSDKException
public DescribeUrlViolationsResponse DescribeUrlViolations(DescribeUrlViolationsRequest req) throws TencentCloudSDKException
req
- DescribeUrlViolationsRequestTencentCloudSDKException
public DisableCachesResponse DisableCaches(DisableCachesRequest req) throws TencentCloudSDKException
req
- DisableCachesRequestTencentCloudSDKException
public DisableClsLogTopicResponse DisableClsLogTopic(DisableClsLogTopicRequest req) throws TencentCloudSDKException
req
- DisableClsLogTopicRequestTencentCloudSDKException
public EnableCachesResponse EnableCaches(EnableCachesRequest req) throws TencentCloudSDKException
req
- EnableCachesRequestTencentCloudSDKException
public EnableClsLogTopicResponse EnableClsLogTopic(EnableClsLogTopicRequest req) throws TencentCloudSDKException
req
- EnableClsLogTopicRequestTencentCloudSDKException
public GetDisableRecordsResponse GetDisableRecords(GetDisableRecordsRequest req) throws TencentCloudSDKException
req
- GetDisableRecordsRequestTencentCloudSDKException
public ListClsLogTopicsResponse ListClsLogTopics(ListClsLogTopicsRequest req) throws TencentCloudSDKException
req
- ListClsLogTopicsRequestTencentCloudSDKException
public ListClsTopicDomainsResponse ListClsTopicDomains(ListClsTopicDomainsRequest req) throws TencentCloudSDKException
req
- ListClsTopicDomainsRequestTencentCloudSDKException
public ListTopDataResponse ListTopData(ListTopDataRequest req) throws TencentCloudSDKException
req
- ListTopDataRequestTencentCloudSDKException
public ManageClsTopicDomainsResponse ManageClsTopicDomains(ManageClsTopicDomainsRequest req) throws TencentCloudSDKException
req
- ManageClsTopicDomainsRequestTencentCloudSDKException
public PurgePathCacheResponse PurgePathCache(PurgePathCacheRequest req) throws TencentCloudSDKException
req
- PurgePathCacheRequestTencentCloudSDKException
public PurgeUrlsCacheResponse PurgeUrlsCache(PurgeUrlsCacheRequest req) throws TencentCloudSDKException
req
- PurgeUrlsCacheRequestTencentCloudSDKException
public PushUrlsCacheResponse PushUrlsCache(PushUrlsCacheRequest req) throws TencentCloudSDKException
req
- PushUrlsCacheRequestTencentCloudSDKException
public SearchClsLogResponse SearchClsLog(SearchClsLogRequest req) throws TencentCloudSDKException
req
- SearchClsLogRequestTencentCloudSDKException
public StartCdnDomainResponse StartCdnDomain(StartCdnDomainRequest req) throws TencentCloudSDKException
req
- StartCdnDomainRequestTencentCloudSDKException
public StopCdnDomainResponse StopCdnDomain(StopCdnDomainRequest req) throws TencentCloudSDKException
req
- StopCdnDomainRequestTencentCloudSDKException
public UpdateDomainConfigResponse UpdateDomainConfig(UpdateDomainConfigRequest req) throws TencentCloudSDKException
req
- UpdateDomainConfigRequestTencentCloudSDKException
public UpdatePayTypeResponse UpdatePayType(UpdatePayTypeRequest req) throws TencentCloudSDKException
req
- UpdatePayTypeRequestTencentCloudSDKException
public UpdateScdnDomainResponse UpdateScdnDomain(UpdateScdnDomainRequest req) throws TencentCloudSDKException
req
- UpdateScdnDomainRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.