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 |
---|---|
CreateScdnFailedLogTaskResponse |
CreateScdnFailedLogTask(CreateScdnFailedLogTaskRequest req)
This API is used to recreate a failed event log task.
|
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)
|
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)
|
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.
|
PushUrlsCacheResponse |
PushUrlsCache(PushUrlsCacheRequest req)
This API is used to cache specified URL resources to CDN nodes.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public CdnClient(Credential credential, String region)
public CdnClient(Credential credential, String region, ClientProfile profile)
public CreateScdnFailedLogTaskResponse CreateScdnFailedLogTask(CreateScdnFailedLogTaskRequest req) throws TencentCloudSDKException
req
- CreateScdnFailedLogTaskRequestTencentCloudSDKException
public DescribeBillingDataResponse DescribeBillingData(DescribeBillingDataRequest req) throws TencentCloudSDKException
req
- DescribeBillingDataRequestTencentCloudSDKException
public DescribeCdnDataResponse DescribeCdnData(DescribeCdnDataRequest req) throws TencentCloudSDKException
req
- DescribeCdnDataRequestTencentCloudSDKException
public DescribeOriginDataResponse DescribeOriginData(DescribeOriginDataRequest req) throws TencentCloudSDKException
req
- DescribeOriginDataRequestTencentCloudSDKException
public PurgePathCacheResponse PurgePathCache(PurgePathCacheRequest req) throws TencentCloudSDKException
req
- PurgePathCacheRequestTencentCloudSDKException
public PushUrlsCacheResponse PushUrlsCache(PushUrlsCacheRequest req) throws TencentCloudSDKException
req
- PushUrlsCacheRequestTencentCloudSDKException
Copyright © 2022. All rights reserved.