Package cn.ucloud.ucdn.client
Class UCDNClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.ucdn.client.UCDNClient
-
- All Implemented Interfaces:
Client,UCDNClientInterface,Closeable,AutoCloseable
public class UCDNClient extends DefaultClient implements UCDNClientInterface
This client is used to call actions of **UCDN** service
-
-
Constructor Summary
Constructors Constructor Description UCDNClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UCDNClient
public UCDNClient(Config config, Credential credential)
-
-
Method Detail
-
addCertificate
public AddCertificateResponse addCertificate(AddCertificateRequest request) throws UCloudException
AddCertificate - 添加证书- Specified by:
addCertificatein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
controlUcdnDomainCacheAccess
public ControlUcdnDomainCacheAccessResponse controlUcdnDomainCacheAccess(ControlUcdnDomainCacheAccessRequest request) throws UCloudException
ControlUcdnDomainCacheAccess - 封禁解封缓存访问- Specified by:
controlUcdnDomainCacheAccessin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteCertificate
public DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest request) throws UCloudException
DeleteCertificate - 删除证书- Specified by:
deleteCertificatein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNewUcdnPrefetchCacheTask
public DescribeNewUcdnPrefetchCacheTaskResponse describeNewUcdnPrefetchCacheTask(DescribeNewUcdnPrefetchCacheTaskRequest request) throws UCloudException
DescribeNewUcdnPrefetchCacheTask - 获取预取任务状态- Specified by:
describeNewUcdnPrefetchCacheTaskin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNewUcdnRefreshCacheTask
public DescribeNewUcdnRefreshCacheTaskResponse describeNewUcdnRefreshCacheTask(DescribeNewUcdnRefreshCacheTaskRequest request) throws UCloudException
DescribeNewUcdnRefreshCacheTask - 获取域名刷新任务状态- Specified by:
describeNewUcdnRefreshCacheTaskin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getAuthConfig
public GetAuthConfigResponse getAuthConfig(GetAuthConfigRequest request) throws UCloudException
GetAuthConfig - 接口获取鉴权信息(非标使用)- Specified by:
getAuthConfigin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getCertificateV2
public GetCertificateV2Response getCertificateV2(GetCertificateV2Request request) throws UCloudException
GetCertificateV2 - 获取证书- Specified by:
getCertificateV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getNewUcdnDomainHitRate
public GetNewUcdnDomainHitRateResponse getNewUcdnDomainHitRate(GetNewUcdnDomainHitRateRequest request) throws UCloudException
GetNewUcdnDomainHitRate - 获取域名命中率- Specified by:
getNewUcdnDomainHitRatein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getNewUcdnLogRefererStatistics
public GetNewUcdnLogRefererStatisticsResponse getNewUcdnLogRefererStatistics(GetNewUcdnLogRefererStatisticsRequest request) throws UCloudException
GetNewUcdnLogRefererStatistics - 获取热点referer统计- Specified by:
getNewUcdnLogRefererStatisticsin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getNewUcdnLogUrlStatistics
public GetNewUcdnLogUrlStatisticsResponse getNewUcdnLogUrlStatistics(GetNewUcdnLogUrlStatisticsRequest request) throws UCloudException
GetNewUcdnLogUrlStatistics - 获取日志url统计- Specified by:
getNewUcdnLogUrlStatisticsin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomain95BandwidthV2
public GetUcdnDomain95BandwidthV2Response getUcdnDomain95BandwidthV2(GetUcdnDomain95BandwidthV2Request request) throws UCloudException
GetUcdnDomain95BandwidthV2 - 获取域名九五峰值带宽数据【新】- Specified by:
getUcdnDomain95BandwidthV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainBandwidthByIpProtocol
public GetUcdnDomainBandwidthByIpProtocolResponse getUcdnDomainBandwidthByIpProtocol(GetUcdnDomainBandwidthByIpProtocolRequest request) throws UCloudException
GetUcdnDomainBandwidthByIpProtocol - 获取域名带宽数据按ip协议【新】- Specified by:
getUcdnDomainBandwidthByIpProtocolin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainBandwidthV2
public GetUcdnDomainBandwidthV2Response getUcdnDomainBandwidthV2(GetUcdnDomainBandwidthV2Request request) throws UCloudException
GetUcdnDomainBandwidthV2 - 获取域名带宽数据【新】- Specified by:
getUcdnDomainBandwidthV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainConfig
public GetUcdnDomainConfigResponse getUcdnDomainConfig(GetUcdnDomainConfigRequest request) throws UCloudException
GetUcdnDomainConfig - 批量获取加速域名配置- Specified by:
getUcdnDomainConfigin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainHitRate
public GetUcdnDomainHitRateResponse getUcdnDomainHitRate(GetUcdnDomainHitRateRequest request) throws UCloudException
GetUcdnDomainHitRate - 获取域名命中率(新)- Specified by:
getUcdnDomainHitRatein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainHttpCodeV2
public GetUcdnDomainHttpCodeV2Response getUcdnDomainHttpCodeV2(GetUcdnDomainHttpCodeV2Request request) throws UCloudException
GetUcdnDomainHttpCodeV2 - 获取域名状态码信息【新】- Specified by:
getUcdnDomainHttpCodeV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainInfoList
public GetUcdnDomainInfoListResponse getUcdnDomainInfoList(GetUcdnDomainInfoListRequest request) throws UCloudException
GetUcdnDomainInfoList - 获取域名基本信息- Specified by:
getUcdnDomainInfoListin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainLogV2
public GetUcdnDomainLogV2Response getUcdnDomainLogV2(GetUcdnDomainLogV2Request request) throws UCloudException
GetUcdnDomainLogV2 - 获取域名5分钟日志- Specified by:
getUcdnDomainLogV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainOriginRequestNum
public GetUcdnDomainOriginRequestNumResponse getUcdnDomainOriginRequestNum(GetUcdnDomainOriginRequestNumRequest request) throws UCloudException
GetUcdnDomainOriginRequestNum - 获取域名回源请求数【新】- Specified by:
getUcdnDomainOriginRequestNumin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainPrefetchRefreshState
public GetUcdnDomainPrefetchRefreshStateResponse getUcdnDomainPrefetchRefreshState(GetUcdnDomainPrefetchRefreshStateRequest request) throws UCloudException
GetUcdnDomainPrefetchRefreshState - 获取域名预取刷新配额信息- Specified by:
getUcdnDomainPrefetchRefreshStatein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnDomainRequestNumV3
public GetUcdnDomainRequestNumV3Response getUcdnDomainRequestNumV3(GetUcdnDomainRequestNumV3Request request) throws UCloudException
GetUcdnDomainRequestNumV3 - 获取域名请求数【新】- Specified by:
getUcdnDomainRequestNumV3in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnPassBandwidthV2
public GetUcdnPassBandwidthV2Response getUcdnPassBandwidthV2(GetUcdnPassBandwidthV2Request request) throws UCloudException
GetUcdnPassBandwidthV2 - 获取回源带宽数据(按时间分类)【新】- Specified by:
getUcdnPassBandwidthV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnProIspBandwidthV2
public GetUcdnProIspBandwidthV2Response getUcdnProIspBandwidthV2(GetUcdnProIspBandwidthV2Request request) throws UCloudException
GetUcdnProIspBandwidthV2 - 按省份运营商获取域名带宽数据【新】- Specified by:
getUcdnProIspBandwidthV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnProIspRequestNumV2
public GetUcdnProIspRequestNumV2Response getUcdnProIspRequestNumV2(GetUcdnProIspRequestNumV2Request request) throws UCloudException
GetUcdnProIspRequestNumV2 - 按省份运营商获取域名请求数【新】- Specified by:
getUcdnProIspRequestNumV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUcdnTrafficV2
public GetUcdnTrafficV2Response getUcdnTrafficV2(GetUcdnTrafficV2Request request) throws UCloudException
GetUcdnTrafficV2 - 获取账户总流量信息【新】- Specified by:
getUcdnTrafficV2in interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
prefetchNewUcdnDomainCache
public PrefetchNewUcdnDomainCacheResponse prefetchNewUcdnDomainCache(PrefetchNewUcdnDomainCacheRequest request) throws UCloudException
PrefetchNewUcdnDomainCache - 提交预取任务- Specified by:
prefetchNewUcdnDomainCachein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
queryIpLocation
public QueryIpLocationResponse queryIpLocation(QueryIpLocationRequest request) throws UCloudException
QueryIpLocation - 查询IP信息- Specified by:
queryIpLocationin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
refreshNewUcdnDomainCache
public RefreshNewUcdnDomainCacheResponse refreshNewUcdnDomainCache(RefreshNewUcdnDomainCacheRequest request) throws UCloudException
RefreshNewUcdnDomainCache - 刷新缓存- Specified by:
refreshNewUcdnDomainCachein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
switchUcdnChargeType
public SwitchUcdnChargeTypeResponse switchUcdnChargeType(SwitchUcdnChargeTypeRequest request) throws UCloudException
SwitchUcdnChargeType - 切换账号计费方式- Specified by:
switchUcdnChargeTypein interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUcdnDomainStatus
public UpdateUcdnDomainStatusResponse updateUcdnDomainStatus(UpdateUcdnDomainStatusRequest request) throws UCloudException
UpdateUcdnDomainStatus - 更新加速域名状态- Specified by:
updateUcdnDomainStatusin interfaceUCDNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-