类 CdnClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.cdn.CdnClient
-
public class CdnClient extends AbstractBceClient
Client for accessing CDN Services. Created by sunyixing on 2016/1/9. Update by changxing01 on 2019/10/15
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 CdnClient()Constructs a new Document client to invoke service methods on CDN.CdnClient(BceClientConfiguration clientConfiguration)Constructs a new client using the client configuration to access CDN services.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 SetDomainCertResponsebathUploadDomainCert(BatchUploadCertRequest request)add/update certificate of specified domainCheckDomainValidResponsecheckDomainValid(String domain)Query whether the domain name can be added 查询域名是否可添加CopyDomainTaskResponsecopyDomainConfig(CopyDomainTaskRequest request)提交配置复制任务 Submit a configuration replication taskCopyDomainTaskResponsecopyDomainConfig(String originDomain, List<String> domains, List<String> configNames)提交配置复制任务 Submit a configuration replication taskCreateDomainResponsecreateDomain(CreateDomainRequest request)Create a new domain acceleration.CommonResponsedeleteDomain(String domain)Delete an existing domain accelerationCdnResponsedeleteDomainCert(String domain)delete certificate of specified domainDescribeIpResponsedescribeIp(DescribeIpRequest request)Get the description of certain IP address.DescribeIpResponsedescribeIp(String ip)Get the description of certain IP address.DescribeIpsResponsedescribeIps(DescribeIpRequest request)Get the description of certain IP address.DisableDomainResponsedisableDomain(String domain)Disable an existing domain acceleration.EnableDomainResponseenableDomain(String domain)Start an existing domain acceleration.GetCacheQuotaResponsegetCacheQuota()Get cache operation quota.CopyDomainTaskStatusResponsegetCopyDomainStatus(String taskId)查询当前用户配置复制任务状态 Query the status of the current user configuration replication taskGetDomainAccessLimitResponsegetDomainAccessLimit(String domain)Get AccessLimit config information of specified domain acceleration.GetDomainCacheFullUrlResponsegetDomainCacheFullUrl(String domain)search domain's rule of caching filter parameterGetDomainCacheShareResponsegetDomainCacheShare(String domain)Get cache share config information of specified domain acceleration.GetDomainCacheTTLResponsegetDomainCacheTTL(GetDomainCacheTTLRequest request)Get cache policies of specified domain acceleration.GetDomainCacheTTLResponsegetDomainCacheTTL(String domain)Get cache policies of specified domain acceleration.GetDomainCertResponsegetDomainCert(String domain)Get Domain Cert detail information of specified domain acceleration.GetDomainClientIpResponsegetDomainClientIp(String domain)Get ClientIp config information of specified domain acceleration.GetDomainCompressResponsegetDomainCompress(String domain)Get Compress of specified domain acceleration.GetDomainConfigResponsegetDomainConfig(String domain)Get detailed information of a domain.DomainConfigKeysResponsegetDomainConfigKeys(String domain)获取domain的能复制的配置项 Get the replicable configuration items of the domainGetDomainCorsResponsegetDomainCors(String domain)Get Cors config information of a domainGetDomainErrorPageResponsegetDomainErrorPage(String domain)search domain's custom error pageGetDomainFileTrimResponsegetDomainFileTrim(String domain)Get FileTrim of specified domain acceleration.GetDomainHSTSResponsegetDomainHSTS(String domain)Get ipv6Dispatch config information of specified domain acceleration.GetDomainHttpHeaderResponsegetDomainHttpHeader(String domain)Get HttpHeader of specified domain acceleration.GetDomainIpACLResponsegetDomainIpACL(String domain)Get IpACL rules of specified domain acceleration.GetDomainIPv6DispatchResponsegetDomainIPv6Dispatch(String domain)Get ipv6Dispatch config information of specified domain acceleration.GetDomainLimitBandwidthResponsegetDomainLimitBandwidth(String domain)Get LimitBandwidth config information of specified domain acceleration.GetDomainListLogResponsegetDomainListLog(GetDomainListLogRequest request)Get multiple domain URLs of logmodel filesGetDomainLogResponsegetDomainLog(String domain, String startTime, String endTime)Get URLs of logmodel filesGetDomainLogResponsegetDomainLog(String domain, Date startTime, Date endTime)Get URLs of logmodel filesGetDomainMediaDragResponsegetDomainMediaDrag(String domain)Get MediaDrag of specified domain acceleration.GetDomainMobileAccessResponsegetDomainMobileAccess(String domain)Get MobileAccess of specified domain acceleration.GetDomainOCSPSwitchResponsegetDomainOCSPSwitch(String domain)Get ipv6Dispatch config information of specified domain acceleration.GetDomainOfflineModeSwitchResponsegetDomainOfflineModeSwitch(String domain)Get OfflineMode config information of specified domain acceleration.GetDomainOriginResponsegetDomainOrigin(String domain)GetDomainOriginFixedIspResponsegetDomainOriginFixedISP(String domain)Get the same carrier back-to-originGetDomainOriginProtocolResponsegetDomainOriginProtocol(String domain)Get origin protocol config information of specified domain acceleration.GetDomainOriginTimeoutResponsegetDomainOriginTimeout(String domain)Get back-to-source timeout 查询回源超时GetDomainQUICSwitchResponsegetDomainQUICSwitch(String domain)Get ipv6Dispatch config information of specified domain acceleration.GetDomainRangeSwitchResponsegetDomainRangeSwitch(String domain)Get RangeSwitch of specified domain acceleration.GetDomainRefererACLResponsegetDomainRefererACL(String domain)Get RefererACL rules of specified domain acceleration.GetDomainRetryOriginResponsegetDomainRetryOrigin(String domain)Get retry origin config information of specified domain acceleration.GetDomainSeoSwitchResponsegetDomainSeoSwitch(String domain)Get SeoSwitch of specified domain acceleration.GetDomainTrafficLimitResponsegetDomainTrafficLimit(String domain)Get trafficLimit of specified domain acceleration.GetDomainUaAclResponsegetDomainUaAcl(String domain)Get UA ACL of specified domain acceleration.GetDomainUrlRulesResponsegetDomainUrlRules(String domain)Get Domain URI rewrite of specified domain acceleration.GetDsaDomainListResponsegetDsaDomainList()Get Dsa Domain List.GetErrorCodeStatResponsegetErrorCodeStatData(GetStatMetricRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetForbiddenOperateHistoriesResponsegetForbiddenOperateHistories(GetForbiddenOperateHistoriesRequest request)Get the quota of forbidden.GetForbiddenQuotagetForbiddenQuota()Get the quota of forbidden.GetForbiddenUrlsResponsegetForbiddenUrls(GetForbiddenUrlsRequest request)Get the quota of forbidden.GetHttpsDomainResponsegetHttpsDomains(GetHttpsDomainRequest request)Get Domain Cert detail information of specified domain acceleration.GetIcpResponsegetIcpStatus(String domain)Query whether the domain name has icp 查询域名是否备案GetMonth95ResponsegetMonth95Data(GetMonth95Request request)Get statistics metric with specified attributes (stat_version_2.0).GetNodeListResponsegetNodeList()Get the node address.GetPackageUsageListResponsegetPackageUsageList(GetPackageUsageListRequest request)用量查询 本接口用于查看资源包详情。GetPrefetchStatusResponsegetPrefetchStatus(GetPrefetchStatusRequest request)Get prefetch status with specified attributes.GetPurgeStatusResponsegetPurgeStatus(GetPurgeStatusRequest request)Get purge status with specified attributes.GetIpv6StatResponsegetStatIpv6Data(GetIpv6StatRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetMetricStatResponsegetStatMetricData(GetStatMetricRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetStatMetricResponsegetStatMetricDefaultData(GetStatMetricRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetIpv6RegionStatResponsegetStatRegionIpv6Data(GetIpv6StatRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetTopStatResponsegetTopStatData(GetStatMetricRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetUploadStatResponsegetUploadPeakStatData(GetUploadStatRequest request)Get upload stat peak with specified attributes (stat_version_2.0).GetUploadStatResponsegetUploadStatData(GetUploadStatRequest request)Get statistics metric with specified attributes (stat_version_2.0).GetUserDomainResponsegetUserDomains(GetUserDomainsRequest request)Return a list of user's all CDN domains that include domain and domain status support domain name fuzzy matching filter and domain status filterGetUserDomainResponsegetUserDomains(String status)Return a list of user's all CDN domains that include domain and domain status support domain name fuzzy matching filter and domain status filterGetXcdnStatMetricResponsegetXcdnStatData(GetXcdnStatMetricRequest request)Get Xcdn stat with specified attributes (stat_version_2.0).ListDomainsResponselistDomains()Returns a list of all CDN domains that the authenticated sender of the request owns.ListDomainsResponselistDomains(ListDomainsRequest request)Returns a list of all CDN domains that the authenticated sender of the request owns.PrefetchResponseprefetch(PrefetchRequest request)Post prefetch requestPrefetchResponseprefetch(String url)Post prefetch requestPurgeResponsepurge(PurgeRequest request)Post purge requestPurgeResponsepurge(String url)Post purge requestPurgeResponsepurgeDirectory(String directory)Post purge requestCommonResponsesetDomainAccessLimit(SetDomainAccessLimitRequest request)set AccessLimit config of specified domain acceleration.CommonResponsesetDomainCacheFullUrl(SetDomainCacheFullUrlRequest request)Update cache policy of specified domain acceleration.CommonResponsesetDomainCacheShare(SetDomainCacheShareRequest request)Update Domain cache share of specified domain acceleration.CdnResponsesetDomainCacheTTL(SetDomainCacheTTLRequest request)Update cache policies of specified domain acceleration.SetDomainCertResponsesetDomainCert(SetDomainCertRequest request)add/update certificate of specified domainCommonResponsesetDomainClientIp(SetDomainClientIpRequest request)set ClientIp config of specified domain acceleration.CommonResponsesetDomainCompress(SetDomainCompressRequest request)Update Compress of specified domain acceleration.CommonResponsesetDomainCors(SetDomainCorsRequest request)set cors config of specified domain acceleration.voidsetDomainDsa(SetDomainDsaRequest request)Update Dsa rules of specified domain acceleration.CommonResponsesetDomainErrorPage(SetDomainErrorPageRequest request)add website error page to deal with exception.CommonResponsesetDomainFileTrim(SetDomainFileTrimRequest request)Update FileTrim of specified domain acceleration.voidsetDomainFileTrim(String domain, boolean fileTrim)Update FileTrim of specified domain acceleration.CommonResponsesetDomainHSTS(SetDomainHSTSRequest request)Update HSTS rules of specified domain acceleration.CommonResponsesetDomainHttpHeader(SetDomainHttpHeaderRequest request)Update HttpHeader of specified domain acceleration.CommonResponsesetDomainHttpsConfig(SetDomainHttpsConfigRequest request)Set HTTPS with certain configuration.CommonResponsesetDomainIpACL(SetDomainIpACLRequest request)Update IpACL rules of specified domain acceleration.CommonResponsesetDomainIPv6Dispatch(SetDomainIPv6DispatchRequest request)Update ipv6Dispatch of specified domain acceleration.CommonResponsesetDomainLimitBandwidth(SetDomainLimitBandwidthRequest request)Update LimitBandwidth of specified domain acceleration.CommonResponsesetDomainMediaDrag(SetDomainMediaDragRequest request)Update MediaDrag of specified domain acceleration.CommonResponsesetDomainMobileAccess(SetDomainMobileAccessRequest request)Update MobileAccess of specified domain acceleration.CommonResponsesetDomainOCSPSwitch(SetDomainOCSPRequest request)Update OCSP of specified domain acceleration.CommonResponsesetDomainOCSPSwitch(String domain, boolean ocsp)CommonResponsesetDomainOfflineModeSwitch(SetDomainOfflineModeRequest request)Update offline mode of specified domain acceleration.CommonResponsesetDomainOfflineModeSwitch(String domain, boolean offlineMode)Update offline mode of specified domain acceleration.CommonResponsesetDomainOrigin(SetDomainOriginRequest request)Update origin of specified domain acceleration.CommonResponsesetDomainOriginFixedISP(SetDomainOriginFixedIspRequest request)Update up the same carrier back-to-originCommonResponsesetDomainOriginProtocol(SetDomainOriginProtocolRequest request)set origin protocal config of specified domain acceleration.CommonResponsesetDomainOriginTimeout(SetDomainOriginTimeoutRequest request)Configure back-to-source timeout 设置回源超时CommonResponsesetDomainQUICSwitch(SetDomainQUICRequest request)Update QUIC of specified domain acceleration.CommonResponsesetDomainQUICSwitch(String domain, boolean quic)Update QUIC of specified domain acceleration.CommonResponsesetDomainRangeSwitch(SetDomainRangeSwitchRequest request)Update RangeSwitch of specified domain acceleration.CommonResponsesetDomainRangeSwitch(String domain, boolean rangeSwitch)Update RangeSwitch of specified domain acceleration.CommonResponsesetDomainRefererACL(SetDomainRefererACLRequest request)Update RefererACL rules of specified domain acceleration.CommonResponsesetDomainRequestAuth(SetRequestAuthRequest request)Set the request authentication.CommonResponsesetDomainRetryOrigin(SetDomainRetryOriginRequest request)Update retry origin of specified domain acceleration.CommonResponsesetDomainSeoSwitch(SetDomainSeoSwitchRequest request)Update SeoSwitch of specified domain acceleration.CommonResponsesetDomainTrafficLimit(SetDomainTrafficLimitRequest request)Set the traffic limit of specified domain acceleration.CommonResponsesetDomainUaAcl(SetDomainUaAclRequest request)Set the UA ACL of specified domain acceleration.CommonResponsesetDomainUrlRules(SetDomainUrlRulesRequest request)Update Domain URI rewrite of specified domain acceleration.CdnResponsesetDsa(SetDsaRequest request)Update dsa service of specified domain acceleration.CdnResponsesetForbiddenBan(SetForbiddenUrlsRequest request)Get the description of certain IP address.CdnResponsesetForbiddenUnBan(SetForbiddenUrlsRequest request)Get the description of certain IP address.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
CdnClient
public CdnClient()
Constructs a new Document client to invoke service methods on CDN.
-
CdnClient
public CdnClient(BceClientConfiguration clientConfiguration)
Constructs a new client using the client configuration to access CDN services.- 参数:
clientConfiguration- The client configuration options controlling how this client connects to Document services (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
createDomain
public CreateDomainResponse createDomain(CreateDomainRequest request)
Create a new domain acceleration.- 参数:
request- The request containing user-defined domain information.- 返回:
- Result of the createDomain operation returned by the service.
-
enableDomain
public EnableDomainResponse enableDomain(String domain)
Start an existing domain acceleration.- 返回:
- Result of the enableDomain operation returned by the service.
-
disableDomain
public DisableDomainResponse disableDomain(String domain)
Disable an existing domain acceleration.- 返回:
- Result of the disableDomain operation returned by the service.
-
deleteDomain
public CommonResponse deleteDomain(String domain)
Delete an existing domain acceleration- 返回:
- Result of the deleteDomain operation returned by the service.
-
listDomains
public ListDomainsResponse listDomains()
Returns a list of all CDN domains that the authenticated sender of the request owns.- 返回:
- All of the CDN domains owned by the authenticated sender of the request.
-
listDomains
public ListDomainsResponse listDomains(ListDomainsRequest request)
Returns a list of all CDN domains that the authenticated sender of the request owns.- 参数:
request- The request containing all of the options related to the listing of domains.- 返回:
- All of the CDN domains owned by the authenticated sender of the request.
-
getUserDomains
public GetUserDomainResponse getUserDomains(String status)
Return a list of user's all CDN domains that include domain and domain status support domain name fuzzy matching filter and domain status filter- 参数:
status- search domain status (ALL | RUNNING | STOPPED | OPERATING)- 返回:
- a list of user's all CDN domains thats filter by status
-
getUserDomains
public GetUserDomainResponse getUserDomains(GetUserDomainsRequest request)
Return a list of user's all CDN domains that include domain and domain status support domain name fuzzy matching filter and domain status filter- 参数:
request- The request containing all of the options related to the listing of domains.- 返回:
- a list of user's all CDN domains thats filter by status and rule
-
checkDomainValid
public CheckDomainValidResponse checkDomainValid(String domain)
Query whether the domain name can be added 查询域名是否可添加- 参数:
domain-- 返回:
- the result of check that include isValid and fail message
-
getIcpStatus
public GetIcpResponse getIcpStatus(String domain)
Query whether the domain name has icp 查询域名是否备案- 参数:
domain- domain- 返回:
- the result of check that include isValid and fail message
-
getDomainConfigKeys
public DomainConfigKeysResponse getDomainConfigKeys(String domain)
获取domain的能复制的配置项 Get the replicable configuration items of the domain- 参数:
domain- domain- 返回:
- getDomainConfig of the getDomainConfig operation returned by the service.
-
copyDomainConfig
public CopyDomainTaskResponse copyDomainConfig(String originDomain, List<String> domains, List<String> configNames)
提交配置复制任务 Submit a configuration replication task- 参数:
originDomain- 提供复制配置的域名domains- 要复制的域名列表configNames- 要复制的配置列表,其中config为域名配置项对应的key- 返回:
-
copyDomainConfig
public CopyDomainTaskResponse copyDomainConfig(CopyDomainTaskRequest request)
提交配置复制任务 Submit a configuration replication task- 参数:
request- The request containing all of the options related to the domain.- 返回:
- getDomainConfig of the getDomainConfig operation returned by the service.
-
getCopyDomainStatus
public CopyDomainTaskStatusResponse getCopyDomainStatus(String taskId)
查询当前用户配置复制任务状态 Query the status of the current user configuration replication task- 参数:
taskId- taskId- 返回:
- getDomainConfig of the getDomainConfig operation returned by the service.
-
getDomainConfig
public GetDomainConfigResponse getDomainConfig(String domain)
Get detailed information of a domain.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- getDomainConfig of the getDomainConfig operation returned by the service.
-
setDomainOrigin
public CommonResponse setDomainOrigin(SetDomainOriginRequest request)
Update origin of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainOrigin operation returned by the service.
-
getDomainOrigin
public GetDomainOriginResponse getDomainOrigin(String domain)
-
setDomainRangeSwitch
public CommonResponse setDomainRangeSwitch(String domain, boolean rangeSwitch)
Update RangeSwitch of specified domain acceleration.- 参数:
domain- domain's namerangeSwitch- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainRangeSwitch operation returned by the service.
-
setDomainRangeSwitch
public CommonResponse setDomainRangeSwitch(SetDomainRangeSwitchRequest request)
Update RangeSwitch of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainRangeSwitch operation returned by the service.
-
getDomainRangeSwitch
public GetDomainRangeSwitchResponse getDomainRangeSwitch(String domain)
Get RangeSwitch of specified domain acceleration.- 参数:
domain- Name of the domain.- 返回:
- Detailed information about domain rangeSwitch.
-
setDomainClientIp
public CommonResponse setDomainClientIp(SetDomainClientIpRequest request)
set ClientIp config of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainClientIp operation returned by the service.
-
getDomainClientIp
public GetDomainClientIpResponse getDomainClientIp(String domain)
Get ClientIp config information of specified domain acceleration.- 参数:
domain-- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
setDomainOriginProtocol
public CommonResponse setDomainOriginProtocol(SetDomainOriginProtocolRequest request)
set origin protocal config of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainOriginProtocol
public GetDomainOriginProtocolResponse getDomainOriginProtocol(String domain)
Get origin protocol config information of specified domain acceleration.- 参数:
domain-- 返回:
-
setDomainRetryOrigin
public CommonResponse setDomainRetryOrigin(SetDomainRetryOriginRequest request)
Update retry origin of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainRetryOrigin
public GetDomainRetryOriginResponse getDomainRetryOrigin(String domain)
Get retry origin config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainRetryOrigin operation returned by the service.
-
setDomainOriginTimeout
public CommonResponse setDomainOriginTimeout(SetDomainOriginTimeoutRequest request)
Configure back-to-source timeout 设置回源超时- 参数:
request-- 返回:
-
getDomainOriginTimeout
public GetDomainOriginTimeoutResponse getDomainOriginTimeout(String domain)
Get back-to-source timeout 查询回源超时- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainOriginTimeout operation returned by the service.
-
setDomainOriginFixedISP
public CommonResponse setDomainOriginFixedISP(SetDomainOriginFixedIspRequest request)
Update up the same carrier back-to-origin- 参数:
request-- 返回:
-
getDomainOriginFixedISP
public GetDomainOriginFixedIspResponse getDomainOriginFixedISP(String domain)
Get the same carrier back-to-origin- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the GetDomainOriginFixedIspResponse operation returned by the service.
-
setDomainRefererACL
public CommonResponse setDomainRefererACL(SetDomainRefererACLRequest request)
Update RefererACL rules of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setDomainRefererACL operation returned by the service.
-
getDomainRefererACL
public GetDomainRefererACLResponse getDomainRefererACL(String domain)
Get RefererACL rules of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the get refererACL.- 返回:
- Result of the getDomainRefererACL operation returned by the service.
-
setDomainIpACL
public CommonResponse setDomainIpACL(SetDomainIpACLRequest request)
Update IpACL rules of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setDomainIpACL operation returned by the service.
-
getDomainIpACL
public GetDomainIpACLResponse getDomainIpACL(String domain)
Get IpACL rules of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the Get IpACL.- 返回:
- Result of the getDomainIpACL operation returned by the service.
-
setDomainCors
public CommonResponse setDomainCors(SetDomainCorsRequest request)
set cors config of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setDomainCors operation returned by the service.
-
getDomainCors
public GetDomainCorsResponse getDomainCors(String domain)
Get Cors config information of a domain- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainCors operation returned by the service.
-
setDomainTrafficLimit
public CommonResponse setDomainTrafficLimit(SetDomainTrafficLimitRequest request)
Set the traffic limit of specified domain acceleration. each response to client- 参数:
request-- 返回:
-
getDomainTrafficLimit
public GetDomainTrafficLimitResponse getDomainTrafficLimit(String domain)
Get trafficLimit of specified domain acceleration. for each response- 参数:
domain-- 返回:
-
setDomainRequestAuth
public CommonResponse setDomainRequestAuth(SetRequestAuthRequest request)
Set the request authentication.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the SetRequestAuthRequest operation returned by the service.
-
setDomainAccessLimit
public CommonResponse setDomainAccessLimit(SetDomainAccessLimitRequest request)
set AccessLimit config of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainAccessLimit operation returned by the service.
-
getDomainAccessLimit
public GetDomainAccessLimitResponse getDomainAccessLimit(String domain)
Get AccessLimit config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainAccessLimit operation returned by the service.
-
setDomainUaAcl
public CommonResponse setDomainUaAcl(SetDomainUaAclRequest request)
Set the UA ACL of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainUaAcl
public GetDomainUaAclResponse getDomainUaAcl(String domain)
Get UA ACL of specified domain acceleration.- 参数:
domain-- 返回:
-
setDomainCacheTTL
public CdnResponse setDomainCacheTTL(SetDomainCacheTTLRequest request)
Update cache policies of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setDomainCacheTTL operation returned by the service.
-
getDomainCacheTTL
public GetDomainCacheTTLResponse getDomainCacheTTL(String domain)
Get cache policies of specified domain acceleration.- 参数:
domain- Name of the domain.- 返回:
- Detailed information about cache policies.
-
getDomainCacheTTL
public GetDomainCacheTTLResponse getDomainCacheTTL(GetDomainCacheTTLRequest request)
Get cache policies of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Detailed information about cache policies.
-
setDomainCacheFullUrl
public CommonResponse setDomainCacheFullUrl(SetDomainCacheFullUrlRequest request)
Update cache policy of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the SetDomainCacheFullUrlRequest operation returned by the service.
-
getDomainCacheFullUrl
public GetDomainCacheFullUrlResponse getDomainCacheFullUrl(String domain)
search domain's rule of caching filter parameter- 参数:
domain- The request containing all of the options related to the get cache full url request.- 返回:
- domain's rule of cache filter parameter
-
setDomainErrorPage
public CommonResponse setDomainErrorPage(SetDomainErrorPageRequest request)
add website error page to deal with exception.- 参数:
request- The request containing all of the options related to the set request.- 返回:
- Result of the setDomainErrorPage operation returned by the service.
-
getDomainErrorPage
public GetDomainErrorPageResponse getDomainErrorPage(String domain)
search domain's custom error page- 参数:
domain- The request containing all of the options related to the get error page request.- 返回:
- custom error page info list
-
setDomainMobileAccess
public CommonResponse setDomainMobileAccess(SetDomainMobileAccessRequest request)
Update MobileAccess of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainMobileAccess operation returned by the service.
-
getDomainMobileAccess
public GetDomainMobileAccessResponse getDomainMobileAccess(String domain)
Get MobileAccess of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Detailed information about domain MobileAccess.
-
setDomainCacheShare
public CommonResponse setDomainCacheShare(SetDomainCacheShareRequest request)
Update Domain cache share of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainCacheShare
public GetDomainCacheShareResponse getDomainCacheShare(String domain)
Get cache share config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainCacheShare operation returned by the service.
-
setDomainUrlRules
public CommonResponse setDomainUrlRules(SetDomainUrlRulesRequest request)
Update Domain URI rewrite of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainUrlRules
public GetDomainUrlRulesResponse getDomainUrlRules(String domain)
Get Domain URI rewrite of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the GetDomainUrlRulesResponse operation returned by the service.
-
setDomainHttpHeader
public CommonResponse setDomainHttpHeader(SetDomainHttpHeaderRequest request)
Update HttpHeader of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainHttpHeader operation returned by the service.
-
getDomainHttpHeader
public GetDomainHttpHeaderResponse getDomainHttpHeader(String domain)
Get HttpHeader of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Detailed information about domain HttpHeader.
-
setDomainSeoSwitch
public CommonResponse setDomainSeoSwitch(SetDomainSeoSwitchRequest request)
Update SeoSwitch of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainSeoSwitch operation returned by the service.
-
getDomainSeoSwitch
public GetDomainSeoSwitchResponse getDomainSeoSwitch(String domain)
Get SeoSwitch of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Detailed information about domain SeoSwitch.
-
setDomainMediaDrag
public CommonResponse setDomainMediaDrag(SetDomainMediaDragRequest request)
Update MediaDrag of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainMediaDrag operation returned by the service.
-
getDomainMediaDrag
public GetDomainMediaDragResponse getDomainMediaDrag(String domain)
Get MediaDrag of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Detailed information about domain MediaDrag.
-
setDomainFileTrim
public void setDomainFileTrim(String domain, boolean fileTrim)
Update FileTrim of specified domain acceleration.- 参数:
domain- Name of the domain.fileTrim- Whether to enable page optimization
-
setDomainFileTrim
public CommonResponse setDomainFileTrim(SetDomainFileTrimRequest request)
Update FileTrim of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainFileTrim operation returned by the service.
-
getDomainFileTrim
public GetDomainFileTrimResponse getDomainFileTrim(String domain)
Get FileTrim of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Detailed information about domain FileTrim.
-
setDomainCompress
public CommonResponse setDomainCompress(SetDomainCompressRequest request)
Update Compress of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the setDomainCompress operation returned by the service.
-
getDomainCompress
public GetDomainCompressResponse getDomainCompress(String domain)
Get Compress of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Detailed information about domain Compress.
-
setDomainQUICSwitch
public CommonResponse setDomainQUICSwitch(String domain, boolean quic)
Update QUIC of specified domain acceleration.- 参数:
domain-quic- true表示开启QUIC,false表示关闭。预启用QUIC的域名必须已经开启了HTTPS。- 返回:
-
setDomainQUICSwitch
public CommonResponse setDomainQUICSwitch(SetDomainQUICRequest request)
Update QUIC of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainQUICSwitch
public GetDomainQUICSwitchResponse getDomainQUICSwitch(String domain)
Get ipv6Dispatch config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
setDomainIPv6Dispatch
public CommonResponse setDomainIPv6Dispatch(SetDomainIPv6DispatchRequest request)
Update ipv6Dispatch of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainIPv6Dispatch
public GetDomainIPv6DispatchResponse getDomainIPv6Dispatch(String domain)
Get ipv6Dispatch config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
setDomainOfflineModeSwitch
public CommonResponse setDomainOfflineModeSwitch(String domain, boolean offlineMode)
Update offline mode of specified domain acceleration.- 参数:
domain-offlineMode- 设置离线模式与否,true/false表示开启/关闭- 返回:
-
setDomainOfflineModeSwitch
public CommonResponse setDomainOfflineModeSwitch(SetDomainOfflineModeRequest request)
Update offline mode of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainOfflineModeSwitch
public GetDomainOfflineModeSwitchResponse getDomainOfflineModeSwitch(String domain)
Get OfflineMode config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
setDomainLimitBandwidth
public CommonResponse setDomainLimitBandwidth(SetDomainLimitBandwidthRequest request)
Update LimitBandwidth of specified domain acceleration.- 参数:
request-- 返回:
-
getDomainLimitBandwidth
public GetDomainLimitBandwidthResponse getDomainLimitBandwidth(String domain)
Get LimitBandwidth config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the GetDomainOfflineModeSwitchResponse operation returned by the service.
-
setDomainHttpsConfig
public CommonResponse setDomainHttpsConfig(SetDomainHttpsConfigRequest request)
Set HTTPS with certain configuration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setHTTPSAcceleration operation returned by the service.
-
setDomainHSTS
public CommonResponse setDomainHSTS(SetDomainHSTSRequest request)
Update HSTS rules of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setDomainHSTS operation returned by the service.
-
getDomainHSTS
public GetDomainHSTSResponse getDomainHSTS(String domain)
Get ipv6Dispatch config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
setDomainOCSPSwitch
public CommonResponse setDomainOCSPSwitch(String domain, boolean ocsp)
-
setDomainOCSPSwitch
public CommonResponse setDomainOCSPSwitch(SetDomainOCSPRequest request)
Update OCSP of specified domain acceleration.- 参数:
request- domain and switch- 返回:
-
getDomainOCSPSwitch
public GetDomainOCSPSwitchResponse getDomainOCSPSwitch(String domain)
Get ipv6Dispatch config information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
setDomainCert
public SetDomainCertResponse setDomainCert(SetDomainCertRequest request)
add/update certificate of specified domain- 参数:
request-- 返回:
-
getDomainCert
public GetDomainCertResponse getDomainCert(String domain)
Get Domain Cert detail information of specified domain acceleration.- 参数:
domain- The request containing all of the options related to the domain.- 返回:
- Result of the getDomainClientIp operation returned by the service.
-
deleteDomainCert
public CdnResponse deleteDomainCert(String domain)
delete certificate of specified domain- 参数:
domain-- 返回:
-
getHttpsDomains
public GetHttpsDomainResponse getHttpsDomains(GetHttpsDomainRequest request)
Get Domain Cert detail information of specified domain acceleration.- 参数:
request- The request containing all of the options related to the domain.- 返回:
- Result of the GetHttpsDomainResponse operation returned by the service.
-
bathUploadDomainCert
public SetDomainCertResponse bathUploadDomainCert(BatchUploadCertRequest request)
add/update certificate of specified domain- 参数:
request-- 返回:
-
purge
public PurgeResponse purge(String url)
Post purge request- 参数:
url- The URL to be purged.- 返回:
- Result of the purge operation returned by the service.
-
purgeDirectory
public PurgeResponse purgeDirectory(String directory)
Post purge request- 参数:
directory- The directory to be purged.- 返回:
- Result of the purge operation returned by the service.
-
purge
public PurgeResponse purge(PurgeRequest request)
Post purge request- 参数:
request- The request containing all of the URLs to be purged.- 返回:
- Result of the purge operation returned by the service.
-
getPurgeStatus
public GetPurgeStatusResponse getPurgeStatus(GetPurgeStatusRequest request)
Get purge status with specified attributes.- 参数:
request- The request containing the task id returned by purge operation.- 返回:
- Details of tasks
-
getCacheQuota
public GetCacheQuotaResponse getCacheQuota()
Get cache operation quota.- 返回:
- Details of statistics
-
prefetch
public PrefetchResponse prefetch(String url)
Post prefetch request- 参数:
url- The URL to be prefetched.- 返回:
- Result of the prefetch operation returned by the service.
-
prefetch
public PrefetchResponse prefetch(PrefetchRequest request)
Post prefetch request- 参数:
request- The request containing all of the URLs to be prefetched.- 返回:
- Result of the prefetch operation returned by the service.
-
getPrefetchStatus
public GetPrefetchStatusResponse getPrefetchStatus(GetPrefetchStatusRequest request)
Get prefetch status with specified attributes.- 参数:
request- The request containing the task id returned by prefetch operation.- 返回:
- Details of tasks
-
getDomainLog
public GetDomainLogResponse getDomainLog(String domain, Date startTime, Date endTime)
Get URLs of logmodel files- 参数:
domain- domain infostartTime- startTimeendTime- endTime- 返回:
- Details of statistics
-
getDomainLog
public GetDomainLogResponse getDomainLog(String domain, String startTime, String endTime)
Get URLs of logmodel files- 参数:
domain- domain infostartTime- startTimeendTime- endTime- 返回:
- Details of statistics
-
getDomainListLog
public GetDomainListLogResponse getDomainListLog(GetDomainListLogRequest request)
Get multiple domain URLs of logmodel files- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getStatMetricData
public GetMetricStatResponse getStatMetricData(GetStatMetricRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getStatMetricDefaultData
public GetStatMetricResponse getStatMetricDefaultData(GetStatMetricRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getMonth95Data
public GetMonth95Response getMonth95Data(GetMonth95Request request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getTopStatData
public GetTopStatResponse getTopStatData(GetStatMetricRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getStatIpv6Data
public GetIpv6StatResponse getStatIpv6Data(GetIpv6StatRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getStatRegionIpv6Data
public GetIpv6RegionStatResponse getStatRegionIpv6Data(GetIpv6StatRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getErrorCodeStatData
public GetErrorCodeStatResponse getErrorCodeStatData(GetStatMetricRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getUploadStatData
public GetUploadStatResponse getUploadStatData(GetUploadStatRequest request)
Get statistics metric with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getUploadPeakStatData
public GetUploadStatResponse getUploadPeakStatData(GetUploadStatRequest request)
Get upload stat peak with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getXcdnStatData
public GetXcdnStatMetricResponse getXcdnStatData(GetXcdnStatMetricRequest request)
Get Xcdn stat with specified attributes (stat_version_2.0).- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
describeIp
public DescribeIpResponse describeIp(String ip)
Get the description of certain IP address.- 参数:
ip- IP address.- 返回:
- Details of statistics
-
describeIp
public DescribeIpResponse describeIp(DescribeIpRequest request)
Get the description of certain IP address.- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
describeIps
public DescribeIpsResponse describeIps(DescribeIpRequest request)
Get the description of certain IP address.- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getNodeList
public GetNodeListResponse getNodeList()
Get the node address.- 返回:
- Details of statistics
-
getForbiddenQuota
public GetForbiddenQuota getForbiddenQuota()
Get the quota of forbidden.- 返回:
- ForbiddenQuota
-
getForbiddenUrls
public GetForbiddenUrlsResponse getForbiddenUrls(GetForbiddenUrlsRequest request)
Get the quota of forbidden.- 返回:
- ForbiddenQuota
-
getForbiddenOperateHistories
public GetForbiddenOperateHistoriesResponse getForbiddenOperateHistories(GetForbiddenOperateHistoriesRequest request)
Get the quota of forbidden.- 返回:
- ForbiddenQuota
-
setForbiddenBan
public CdnResponse setForbiddenBan(SetForbiddenUrlsRequest request)
Get the description of certain IP address.- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
setForbiddenUnBan
public CdnResponse setForbiddenUnBan(SetForbiddenUrlsRequest request)
Get the description of certain IP address.- 参数:
request- The request containing all the options related to the statistics.- 返回:
- Details of statistics
-
getPackageUsageList
public GetPackageUsageListResponse getPackageUsageList(GetPackageUsageListRequest request)
用量查询 本接口用于查看资源包详情。- 参数:
request-- 返回:
-
setDsa
public CdnResponse setDsa(SetDsaRequest request)
Update dsa service of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.- 返回:
- Result of the setDsa operation returned by the service.
-
getDsaDomainList
public GetDsaDomainListResponse getDsaDomainList()
Get Dsa Domain List.- 返回:
- Details of DsaDomain
-
setDomainDsa
public void setDomainDsa(SetDomainDsaRequest request)
Update Dsa rules of specified domain acceleration.- 参数:
request- The request containing all of the options related to the update request.
-
-