client

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CdnClient

type CdnClient struct {
	core.JDCloudClient
}

func NewCdnClient

func NewCdnClient(credential *core.Credential) *CdnClient

func (*CdnClient) BatchCreate added in v1.3.0

func (c *CdnClient) BatchCreate(request *cdn.BatchCreateRequest) (*cdn.BatchCreateResponse, error)

创建点播加速域名

func (*CdnClient) BatchDeleteDomainGroup added in v1.3.0

func (c *CdnClient) BatchDeleteDomainGroup(request *cdn.BatchDeleteDomainGroupRequest) (*cdn.BatchDeleteDomainGroupResponse, error)

批量删除域名组

func (*CdnClient) CreateCacheRule added in v1.3.0

func (c *CdnClient) CreateCacheRule(request *cdn.CreateCacheRuleRequest) (*cdn.CreateCacheRuleResponse, error)

添加缓存规则

func (*CdnClient) CreateDomain added in v1.3.0

func (c *CdnClient) CreateDomain(request *cdn.CreateDomainRequest) (*cdn.CreateDomainResponse, error)

创建点播加速域名

func (*CdnClient) CreateDomainGroup added in v1.3.0

func (c *CdnClient) CreateDomainGroup(request *cdn.CreateDomainGroupRequest) (*cdn.CreateDomainGroupResponse, error)

创建域名组

func (*CdnClient) CreateLiveDomain added in v1.3.0

func (c *CdnClient) CreateLiveDomain(request *cdn.CreateLiveDomainRequest) (*cdn.CreateLiveDomainResponse, error)

创建直播域名

func (*CdnClient) CreateLiveDomainPrefecthTask added in v1.7.0

创建直播预热任务

func (*CdnClient) DeleteCacheRule added in v1.3.0

func (c *CdnClient) DeleteCacheRule(request *cdn.DeleteCacheRuleRequest) (*cdn.DeleteCacheRuleResponse, error)

删除缓存规则

func (*CdnClient) DeleteDomain

func (c *CdnClient) DeleteDomain(request *cdn.DeleteDomainRequest) (*cdn.DeleteDomainResponse, error)

删除加速域名

func (*CdnClient) DeleteForbiddenStream added in v1.7.0

func (c *CdnClient) DeleteForbiddenStream(request *cdn.DeleteForbiddenStreamRequest) (*cdn.DeleteForbiddenStreamResponse, error)

删除禁播流

func (*CdnClient) DeleteHttpHeader added in v1.3.0

func (c *CdnClient) DeleteHttpHeader(request *cdn.DeleteHttpHeaderRequest) (*cdn.DeleteHttpHeaderResponse, error)

删除httpHeader

func (*CdnClient) GetDomainDetail

func (c *CdnClient) GetDomainDetail(request *cdn.GetDomainDetailRequest) (*cdn.GetDomainDetailResponse, error)

查询加速域名详情

func (*CdnClient) GetDomainList

func (c *CdnClient) GetDomainList(request *cdn.GetDomainListRequest) (*cdn.GetDomainListResponse, error)

查询加速域名接口

func (*CdnClient) GetDomainListByFilter added in v1.7.0

func (c *CdnClient) GetDomainListByFilter(request *cdn.GetDomainListByFilterRequest) (*cdn.GetDomainListByFilterResponse, error)

通过标签查询加速域名接口

func (*CdnClient) OperateIpBlackList added in v1.3.0

func (c *CdnClient) OperateIpBlackList(request *cdn.OperateIpBlackListRequest) (*cdn.OperateIpBlackListResponse, error)

设置ip黑名单状态

func (*CdnClient) OperateLiveDomainIpBlackList added in v1.3.0

开启或关闭ip黑名单

func (*CdnClient) OperateShareCache added in v1.3.0

func (c *CdnClient) OperateShareCache(request *cdn.OperateShareCacheRequest) (*cdn.OperateShareCacheResponse, error)

泛域名共享缓存

func (*CdnClient) PreviewCertificate added in v1.3.0

func (c *CdnClient) PreviewCertificate(request *cdn.PreviewCertificateRequest) (*cdn.PreviewCertificateResponse, error)

预览证书

func (*CdnClient) QueryAccesskeyConfig added in v1.3.0

func (c *CdnClient) QueryAccesskeyConfig(request *cdn.QueryAccesskeyConfigRequest) (*cdn.QueryAccesskeyConfigResponse, error)

查询url鉴权

func (*CdnClient) QueryAreaIspList added in v1.7.0

func (c *CdnClient) QueryAreaIspList(request *cdn.QueryAreaIspListRequest) (*cdn.QueryAreaIspListResponse, error)

查找地域运营商列表

func (*CdnClient) QueryDefaultHttpHeaderKey added in v1.3.0

func (c *CdnClient) QueryDefaultHttpHeaderKey(request *cdn.QueryDefaultHttpHeaderKeyRequest) (*cdn.QueryDefaultHttpHeaderKeyResponse, error)

查询默认http header头部参数列表

func (*CdnClient) QueryDomainConfig added in v1.3.0

func (c *CdnClient) QueryDomainConfig(request *cdn.QueryDomainConfigRequest) (*cdn.QueryDomainConfigResponse, error)

查询域名配置信息

func (*CdnClient) QueryDomainGroupDetail added in v1.3.0

func (c *CdnClient) QueryDomainGroupDetail(request *cdn.QueryDomainGroupDetailRequest) (*cdn.QueryDomainGroupDetailResponse, error)

查询域名组详情

func (*CdnClient) QueryDomainGroupList added in v1.3.0

func (c *CdnClient) QueryDomainGroupList(request *cdn.QueryDomainGroupListRequest) (*cdn.QueryDomainGroupListResponse, error)

查询域名组接口

func (*CdnClient) QueryDomainsNotInGroup added in v1.3.0

func (c *CdnClient) QueryDomainsNotInGroup(request *cdn.QueryDomainsNotInGroupRequest) (*cdn.QueryDomainsNotInGroupResponse, error)

查询未分组域名

func (*CdnClient) QueryFollowRedirect added in v1.7.0

func (c *CdnClient) QueryFollowRedirect(request *cdn.QueryFollowRedirectRequest) (*cdn.QueryFollowRedirectResponse, error)

查询回源302跳转信息

func (*CdnClient) QueryFollowSourceProtocol added in v1.7.0

func (c *CdnClient) QueryFollowSourceProtocol(request *cdn.QueryFollowSourceProtocolRequest) (*cdn.QueryFollowSourceProtocolResponse, error)

查询协议跟随回源

func (*CdnClient) QueryHttpHeader added in v1.3.0

func (c *CdnClient) QueryHttpHeader(request *cdn.QueryHttpHeaderRequest) (*cdn.QueryHttpHeaderResponse, error)

查询http header头

func (*CdnClient) QueryIpBlackList added in v1.3.0

func (c *CdnClient) QueryIpBlackList(request *cdn.QueryIpBlackListRequest) (*cdn.QueryIpBlackListResponse, error)

查询ip黑名单

func (*CdnClient) QueryLiveDomainApps added in v1.7.0

func (c *CdnClient) QueryLiveDomainApps(request *cdn.QueryLiveDomainAppsRequest) (*cdn.QueryLiveDomainAppsResponse, error)

查询直播域名app列表

func (*CdnClient) QueryLiveDomainDetail added in v1.3.0

func (c *CdnClient) QueryLiveDomainDetail(request *cdn.QueryLiveDomainDetailRequest) (*cdn.QueryLiveDomainDetailResponse, error)

查询直播域名详情

func (*CdnClient) QueryLivePrefetchTask added in v1.7.0

func (c *CdnClient) QueryLivePrefetchTask(request *cdn.QueryLivePrefetchTaskRequest) (*cdn.QueryLivePrefetchTaskResponse, error)

查询直播预热任务

func (*CdnClient) QueryLiveStatisticsAreaDataGroupBy added in v1.7.0

分地区及运营商查询统计数据

func (*CdnClient) QueryLiveStatisticsData added in v1.7.0

func (c *CdnClient) QueryLiveStatisticsData(request *cdn.QueryLiveStatisticsDataRequest) (*cdn.QueryLiveStatisticsDataResponse, error)

查询统计数据

func (*CdnClient) QueryLiveTrafficGroupSum added in v1.7.0

func (c *CdnClient) QueryLiveTrafficGroupSum(request *cdn.QueryLiveTrafficGroupSumRequest) (*cdn.QueryLiveTrafficGroupSumResponse, error)

查询统计数据并进行汇总加和

func (*CdnClient) QueryMixStatisticsData added in v1.7.0

func (c *CdnClient) QueryMixStatisticsData(request *cdn.QueryMixStatisticsDataRequest) (*cdn.QueryMixStatisticsDataResponse, error)

查询统计数据

func (*CdnClient) QueryMixStatisticsWithAreaData added in v1.7.0

分地区及运营商查询统计数据

func (*CdnClient) QueryMixTrafficGroupSum added in v1.7.0

func (c *CdnClient) QueryMixTrafficGroupSum(request *cdn.QueryMixTrafficGroupSumRequest) (*cdn.QueryMixTrafficGroupSumResponse, error)

查询统计数据并进行汇总加和

func (*CdnClient) QueryMonitor added in v1.3.0

func (c *CdnClient) QueryMonitor(request *cdn.QueryMonitorRequest) (*cdn.QueryMonitorResponse, error)

查询源站监控信息

func (*CdnClient) QueryOnlineBillingType added in v1.7.0

func (c *CdnClient) QueryOnlineBillingType(request *cdn.QueryOnlineBillingTypeRequest) (*cdn.QueryOnlineBillingTypeResponse, error)

设置线上计费方式

func (*CdnClient) QueryOssBuckets added in v1.3.0

func (c *CdnClient) QueryOssBuckets(request *cdn.QueryOssBucketsRequest) (*cdn.QueryOssBucketsResponse, error)

查询oss存储域名

func (*CdnClient) QueryPushDomainORAppOrStream added in v1.7.0

查询用户推流域名app名/流名

func (*CdnClient) QueryStatisticsData

func (c *CdnClient) QueryStatisticsData(request *cdn.QueryStatisticsDataRequest) (*cdn.QueryStatisticsDataResponse, error)

查询统计数据

func (*CdnClient) QueryStatisticsDataGroupByArea

分地区及运营商查询统计数据

func (*CdnClient) QueryStatisticsDataGroupSum

查询统计数据并进行汇总加和

func (*CdnClient) QueryStatisticsTopIp

func (c *CdnClient) QueryStatisticsTopIp(request *cdn.QueryStatisticsTopIpRequest) (*cdn.QueryStatisticsTopIpResponse, error)

查询TOP IP

func (*CdnClient) QueryStatisticsTopUrl

func (c *CdnClient) QueryStatisticsTopUrl(request *cdn.QueryStatisticsTopUrlRequest) (*cdn.QueryStatisticsTopUrlResponse, error)

查询TOP Url

func (*CdnClient) QueryUserAgent added in v1.3.0

func (c *CdnClient) QueryUserAgent(request *cdn.QueryUserAgentRequest) (*cdn.QueryUserAgentResponse, error)

设置userAgent信息

func (*CdnClient) SetAccesskeyConfig added in v1.3.0

func (c *CdnClient) SetAccesskeyConfig(request *cdn.SetAccesskeyConfigRequest) (*cdn.SetAccesskeyConfigResponse, error)

设置url鉴权

func (*CdnClient) SetConfig

func (c *CdnClient) SetConfig(config *core.Config)

func (*CdnClient) SetFollowRedirect added in v1.7.0

func (c *CdnClient) SetFollowRedirect(request *cdn.SetFollowRedirectRequest) (*cdn.SetFollowRedirectResponse, error)

设置回源302跳转

func (*CdnClient) SetFollowSourceProtocol added in v1.7.0

func (c *CdnClient) SetFollowSourceProtocol(request *cdn.SetFollowSourceProtocolRequest) (*cdn.SetFollowSourceProtocolResponse, error)

设置协议跟随回源

func (*CdnClient) SetHttpHeader added in v1.3.0

func (c *CdnClient) SetHttpHeader(request *cdn.SetHttpHeaderRequest) (*cdn.SetHttpHeaderResponse, error)

添加httpHeader

func (*CdnClient) SetHttpType added in v1.3.0

func (c *CdnClient) SetHttpType(request *cdn.SetHttpTypeRequest) (*cdn.SetHttpTypeResponse, error)

设置http协议

func (*CdnClient) SetIgnoreQueryString added in v1.3.0

func (c *CdnClient) SetIgnoreQueryString(request *cdn.SetIgnoreQueryStringRequest) (*cdn.SetIgnoreQueryStringResponse, error)

设置忽略参数

func (*CdnClient) SetIpBlackList added in v1.3.0

func (c *CdnClient) SetIpBlackList(request *cdn.SetIpBlackListRequest) (*cdn.SetIpBlackListResponse, error)

设置ip黑名单

func (*CdnClient) SetLiveDomainAccessKey added in v1.3.0

func (c *CdnClient) SetLiveDomainAccessKey(request *cdn.SetLiveDomainAccessKeyRequest) (*cdn.SetLiveDomainAccessKeyResponse, error)

设置URL鉴权

func (*CdnClient) SetLiveDomainBackSource added in v1.3.0

func (c *CdnClient) SetLiveDomainBackSource(request *cdn.SetLiveDomainBackSourceRequest) (*cdn.SetLiveDomainBackSourceResponse, error)

设置直播域名回源信息

func (*CdnClient) SetLiveDomainBackSourceHost added in v1.3.0

设置直播域名回源host

func (*CdnClient) SetLiveDomainIpBlackList added in v1.3.0

func (c *CdnClient) SetLiveDomainIpBlackList(request *cdn.SetLiveDomainIpBlackListRequest) (*cdn.SetLiveDomainIpBlackListResponse, error)

设置直播域名ip黑名单

func (*CdnClient) SetLiveDomainRefer added in v1.3.0

func (c *CdnClient) SetLiveDomainRefer(request *cdn.SetLiveDomainReferRequest) (*cdn.SetLiveDomainReferResponse, error)

设置域名refer防盗链

func (*CdnClient) SetLogger

func (c *CdnClient) SetLogger(logger core.Logger)

func (*CdnClient) SetMonitor added in v1.3.0

func (c *CdnClient) SetMonitor(request *cdn.SetMonitorRequest) (*cdn.SetMonitorResponse, error)

设置源站监控信息

func (*CdnClient) SetOnlineBillingType added in v1.7.0

func (c *CdnClient) SetOnlineBillingType(request *cdn.SetOnlineBillingTypeRequest) (*cdn.SetOnlineBillingTypeResponse, error)

设置线上计费方式

func (*CdnClient) SetProtocolConvert added in v1.3.0

func (c *CdnClient) SetProtocolConvert(request *cdn.SetProtocolConvertRequest) (*cdn.SetProtocolConvertResponse, error)

设置转协议

func (*CdnClient) SetRange added in v1.3.0

func (c *CdnClient) SetRange(request *cdn.SetRangeRequest) (*cdn.SetRangeResponse, error)

设置range参数

func (*CdnClient) SetRefer added in v1.3.0

func (c *CdnClient) SetRefer(request *cdn.SetReferRequest) (*cdn.SetReferResponse, error)

设置域名refer

func (*CdnClient) SetSource added in v1.3.0

func (c *CdnClient) SetSource(request *cdn.SetSourceRequest) (*cdn.SetSourceResponse, error)

设置源站信息

func (*CdnClient) SetUserAgentConfig added in v1.3.0

func (c *CdnClient) SetUserAgentConfig(request *cdn.SetUserAgentConfigRequest) (*cdn.SetUserAgentConfigResponse, error)

设置userAgent信息

func (*CdnClient) SetVideoDraft added in v1.3.0

func (c *CdnClient) SetVideoDraft(request *cdn.SetVideoDraftRequest) (*cdn.SetVideoDraftResponse, error)

设置视频拖拽

func (*CdnClient) StartDomain

func (c *CdnClient) StartDomain(request *cdn.StartDomainRequest) (*cdn.StartDomainResponse, error)

启动加速域名

func (*CdnClient) StopDomain

func (c *CdnClient) StopDomain(request *cdn.StopDomainRequest) (*cdn.StopDomainResponse, error)

停止加速域名

func (*CdnClient) StopMonitor added in v1.3.0

func (c *CdnClient) StopMonitor(request *cdn.StopMonitorRequest) (*cdn.StopMonitorResponse, error)

停止源站监控

func (*CdnClient) UpdateCacheRule added in v1.3.0

func (c *CdnClient) UpdateCacheRule(request *cdn.UpdateCacheRuleRequest) (*cdn.UpdateCacheRuleResponse, error)

修改缓存规则

func (*CdnClient) UpdateDomainGroup added in v1.3.0

func (c *CdnClient) UpdateDomainGroup(request *cdn.UpdateDomainGroupRequest) (*cdn.UpdateDomainGroupResponse, error)

更新域名组

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL