client

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 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) BatchCreateLiveDomain added in v1.13.0

func (c *CdnClient) BatchCreateLiveDomain(request *cdn.BatchCreateLiveDomainRequest) (*cdn.BatchCreateLiveDomainResponse, error)

创建直播域名

func (*CdnClient) BatchDeleteDomainGroup added in v1.3.0

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

批量删除域名组

func (*CdnClient) CheckWhetherIpBelongToJCloud added in v1.13.0

获取所有上层节点的ip

func (*CdnClient) CreateCCProtectRule added in v1.13.0

func (c *CdnClient) CreateCCProtectRule(request *cdn.CreateCCProtectRuleRequest) (*cdn.CreateCCProtectRuleResponse, error)

新增一条CC防护规则

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) CreateLiveDomainPrefecthTask added in v1.7.0

创建直播预热任务

func (*CdnClient) CreateRefreshTask added in v1.13.0

func (c *CdnClient) CreateRefreshTask(request *cdn.CreateRefreshTaskRequest) (*cdn.CreateRefreshTaskResponse, error)

创建刷新预热任务

func (*CdnClient) CreateRefreshTaskForCallback added in v1.13.0

创建刷新预热回调任务

func (*CdnClient) CreateRefreshTaskForCallbackV2 added in v1.13.0

创建刷新预热回调任务

func (*CdnClient) CreateWafBlackRule added in v1.13.0

func (c *CdnClient) CreateWafBlackRule(request *cdn.CreateWafBlackRuleRequest) (*cdn.CreateWafBlackRuleResponse, error)

新增一条黑名单规则

func (*CdnClient) CreateWafWhiteRule added in v1.13.0

func (c *CdnClient) CreateWafWhiteRule(request *cdn.CreateWafWhiteRuleRequest) (*cdn.CreateWafWhiteRuleResponse, error)

新增一条白名单规则

func (*CdnClient) DeleteCCProtectRule added in v1.13.0

func (c *CdnClient) DeleteCCProtectRule(request *cdn.DeleteCCProtectRuleRequest) (*cdn.DeleteCCProtectRuleResponse, error)

删除ccProtectRule

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) DeleteWafBlackRules added in v1.13.0

func (c *CdnClient) DeleteWafBlackRules(request *cdn.DeleteWafBlackRulesRequest) (*cdn.DeleteWafBlackRulesResponse, error)

删除WAF黑名单

func (*CdnClient) DeleteWafWhiteRules added in v1.13.0

func (c *CdnClient) DeleteWafWhiteRules(request *cdn.DeleteWafWhiteRulesRequest) (*cdn.DeleteWafWhiteRulesResponse, error)

删除WAF白名单

func (*CdnClient) DisableCCProtectRule added in v1.13.0

func (c *CdnClient) DisableCCProtectRule(request *cdn.DisableCCProtectRuleRequest) (*cdn.DisableCCProtectRuleResponse, error)

禁用CC防护规则

func (*CdnClient) DisableLogger added in v1.13.0

func (c *CdnClient) DisableLogger()

func (*CdnClient) DisableWafBlackRules added in v1.13.0

func (c *CdnClient) DisableWafBlackRules(request *cdn.DisableWafBlackRulesRequest) (*cdn.DisableWafBlackRulesResponse, error)

禁用WAF黑名单

func (*CdnClient) DisableWafWhiteRules added in v1.13.0

func (c *CdnClient) DisableWafWhiteRules(request *cdn.DisableWafWhiteRulesRequest) (*cdn.DisableWafWhiteRulesResponse, error)

禁用WAF白名单

func (*CdnClient) EnableCCProtectRule added in v1.13.0

func (c *CdnClient) EnableCCProtectRule(request *cdn.EnableCCProtectRuleRequest) (*cdn.EnableCCProtectRuleResponse, error)

启用CC防护规则

func (*CdnClient) EnableWafBlackRules added in v1.13.0

func (c *CdnClient) EnableWafBlackRules(request *cdn.EnableWafBlackRulesRequest) (*cdn.EnableWafBlackRulesResponse, error)

启用WAF黑名单

func (*CdnClient) EnableWafWhiteRules added in v1.13.0

func (c *CdnClient) EnableWafWhiteRules(request *cdn.EnableWafWhiteRulesRequest) (*cdn.EnableWafWhiteRulesResponse, error)

启用WAF白名单

func (*CdnClient) ExecuteDomainCopy added in v1.16.0

func (c *CdnClient) ExecuteDomainCopy(request *cdn.ExecuteDomainCopyRequest) (*cdn.ExecuteDomainCopyResponse, error)

域名一键复制配置

func (*CdnClient) GetAllUpperNodeIpList added in v1.13.0

func (c *CdnClient) GetAllUpperNodeIpList(request *cdn.GetAllUpperNodeIpListRequest) (*cdn.GetAllUpperNodeIpListResponse, error)

获取所有上层节点的ip

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) GetSslCertDetail added in v1.13.0

func (c *CdnClient) GetSslCertDetail(request *cdn.GetSslCertDetailRequest) (*cdn.GetSslCertDetailResponse, error)

查看证书详情

func (*CdnClient) GetSslCertList added in v1.13.0

func (c *CdnClient) GetSslCertList(request *cdn.GetSslCertListRequest) (*cdn.GetSslCertListResponse, 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) QueryAttackTypeCount added in v1.13.0

func (c *CdnClient) QueryAttackTypeCount(request *cdn.QueryAttackTypeCountRequest) (*cdn.QueryAttackTypeCountResponse, error)

攻击类型统计接口

func (*CdnClient) QueryBand added in v1.13.0

func (c *CdnClient) QueryBand(request *cdn.QueryBandRequest) (*cdn.QueryBandResponse, error)

带宽查询接口

func (*CdnClient) QueryBandWithArea added in v1.13.0

func (c *CdnClient) QueryBandWithArea(request *cdn.QueryBandWithAreaRequest) (*cdn.QueryBandWithAreaResponse, error)

分地域运营商带宽查询接口

func (*CdnClient) QueryCCProtectRules added in v1.13.0

func (c *CdnClient) QueryCCProtectRules(request *cdn.QueryCCProtectRulesRequest) (*cdn.QueryCCProtectRulesResponse, error)

查询CC防护规则列表

func (*CdnClient) QueryCCProtectSwitch added in v1.13.0

func (c *CdnClient) QueryCCProtectSwitch(request *cdn.QueryCCProtectSwitchRequest) (*cdn.QueryCCProtectSwitchResponse, error)

查询CC 防护开关

func (*CdnClient) QueryDdosGraph added in v1.13.0

func (c *CdnClient) QueryDdosGraph(request *cdn.QueryDdosGraphRequest) (*cdn.QueryDdosGraphResponse, error)

DDOS攻击报表接口

func (*CdnClient) QueryDefaultHttpHeaderKey added in v1.3.0

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

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

func (*CdnClient) QueryDirBandwidth added in v1.16.0

func (c *CdnClient) QueryDirBandwidth(request *cdn.QueryDirBandwidthRequest) (*cdn.QueryDirBandwidthResponse, error)

查询目录带宽,仅有部分用户支持该功能

func (*CdnClient) QueryDomainAllConfigClassify added in v1.16.0

查询域名的全部分类配置

func (*CdnClient) QueryDomainConfig added in v1.3.0

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

查询域名配置信息

func (*CdnClient) QueryDomainConfigStatus added in v1.13.0

func (c *CdnClient) QueryDomainConfigStatus(request *cdn.QueryDomainConfigStatusRequest) (*cdn.QueryDomainConfigStatusResponse, 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) QueryDomainLog added in v1.13.0

func (c *CdnClient) QueryDomainLog(request *cdn.QueryDomainLogRequest) (*cdn.QueryDomainLogResponse, error)

查询日志

func (*CdnClient) QueryDomainsLog added in v1.13.0

func (c *CdnClient) QueryDomainsLog(request *cdn.QueryDomainsLogRequest) (*cdn.QueryDomainsLogResponse, 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) QueryGeoAreas added in v1.13.0

func (c *CdnClient) QueryGeoAreas(request *cdn.QueryGeoAreasRequest) (*cdn.QueryGeoAreasResponse, error)

查询geo地域

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) QueryIpBlackSettingStatus added in v1.13.0

func (c *CdnClient) QueryIpBlackSettingStatus(request *cdn.QueryIpBlackSettingStatusRequest) (*cdn.QueryIpBlackSettingStatusResponse, error)

查询waf 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)

查询直播域名详情v1

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) QueryNetProtectionRules added in v1.13.0

func (c *CdnClient) QueryNetProtectionRules(request *cdn.QueryNetProtectionRulesRequest) (*cdn.QueryNetProtectionRulesResponse, error)

查询网络防护层规则接口

func (*CdnClient) QueryNetProtectionRulesSwitch added in v1.13.0

查询网络防护层规则

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) QueryRefreshTask added in v1.13.0

func (c *CdnClient) QueryRefreshTask(request *cdn.QueryRefreshTaskRequest) (*cdn.QueryRefreshTaskResponse, error)

查询刷新预热任务

func (*CdnClient) QueryRefreshTaskById added in v1.13.0

func (c *CdnClient) QueryRefreshTaskById(request *cdn.QueryRefreshTaskByIdRequest) (*cdn.QueryRefreshTaskByIdResponse, error)

根据taskId查询刷新预热任务

func (*CdnClient) QueryRefreshTaskByIds added in v1.13.0

func (c *CdnClient) QueryRefreshTaskByIds(request *cdn.QueryRefreshTaskByIdsRequest) (*cdn.QueryRefreshTaskByIdsResponse, error)

根据taskIds查询刷新预热任务

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) QueryWafBlackRuleSwitch added in v1.13.0

func (c *CdnClient) QueryWafBlackRuleSwitch(request *cdn.QueryWafBlackRuleSwitchRequest) (*cdn.QueryWafBlackRuleSwitchResponse, error)

查询WAF黑名单开关

func (*CdnClient) QueryWafRegions added in v1.13.0

func (c *CdnClient) QueryWafRegions(request *cdn.QueryWafRegionsRequest) (*cdn.QueryWafRegionsResponse, error)

查询waf地域信息

func (*CdnClient) QueryWafSwitch added in v1.13.0

func (c *CdnClient) QueryWafSwitch(request *cdn.QueryWafSwitchRequest) (*cdn.QueryWafSwitchResponse, error)

查询WAF总开关

func (*CdnClient) QueryWafWhiteRuleSwitch added in v1.13.0

func (c *CdnClient) QueryWafWhiteRuleSwitch(request *cdn.QueryWafWhiteRuleSwitchRequest) (*cdn.QueryWafWhiteRuleSwitchResponse, error)

查询WAF总开关

func (*CdnClient) QueryWebProtectSettings added in v1.13.0

func (c *CdnClient) QueryWebProtectSettings(request *cdn.QueryWebProtectSettingsRequest) (*cdn.QueryWebProtectSettingsResponse, error)

查询web防护开关

func (*CdnClient) QueryWebProtectSwitch added in v1.13.0

func (c *CdnClient) QueryWebProtectSwitch(request *cdn.QueryWebProtectSwitchRequest) (*cdn.QueryWebProtectSwitchResponse, error)

查询web防护开关

func (*CdnClient) QuerywafBlackRules added in v1.13.0

func (c *CdnClient) QuerywafBlackRules(request *cdn.QuerywafBlackRulesRequest) (*cdn.QuerywafBlackRulesResponse, error)

查询WAF黑名单规则列表

func (*CdnClient) QuerywafWhiteRules added in v1.13.0

func (c *CdnClient) QuerywafWhiteRules(request *cdn.QuerywafWhiteRulesRequest) (*cdn.QuerywafWhiteRulesResponse, error)

查询WAF白名单规则列表

func (*CdnClient) SearchAttackLog added in v1.13.0

func (c *CdnClient) SearchAttackLog(request *cdn.SearchAttackLogRequest) (*cdn.SearchAttackLogResponse, error)

攻击记录查询

func (*CdnClient) SetAccesskeyConfig added in v1.3.0

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

设置url鉴权

func (*CdnClient) SetCCProtectSwitch added in v1.13.0

func (c *CdnClient) SetCCProtectSwitch(request *cdn.SetCCProtectSwitchRequest) (*cdn.SetCCProtectSwitchResponse, error)

设置CC 防护开关

func (*CdnClient) SetConfig

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

func (*CdnClient) SetDomainConfig added in v1.13.0

func (c *CdnClient) SetDomainConfig(request *cdn.SetDomainConfigRequest) (*cdn.SetDomainConfigResponse, error)

更新域名配置

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) SetNetProtectionRules added in v1.13.0

func (c *CdnClient) SetNetProtectionRules(request *cdn.SetNetProtectionRulesRequest) (*cdn.SetNetProtectionRulesResponse, error)

设置网络防护层规则

func (*CdnClient) SetNetProtectionRulesSwitch added in v1.13.0

设置网络防护层规则总开关

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) SetWafBlackRuleSwitch added in v1.13.0

func (c *CdnClient) SetWafBlackRuleSwitch(request *cdn.SetWafBlackRuleSwitchRequest) (*cdn.SetWafBlackRuleSwitchResponse, error)

设置WAF黑名单开关

func (*CdnClient) SetWafSwitch added in v1.13.0

func (c *CdnClient) SetWafSwitch(request *cdn.SetWafSwitchRequest) (*cdn.SetWafSwitchResponse, error)

设置WAF总开关

func (*CdnClient) SetWafWhiteRuleSwitch added in v1.13.0

func (c *CdnClient) SetWafWhiteRuleSwitch(request *cdn.SetWafWhiteRuleSwitchRequest) (*cdn.SetWafWhiteRuleSwitchResponse, error)

设置WAF白名单开关

func (*CdnClient) SetWebProtectSwitch added in v1.13.0

func (c *CdnClient) SetWebProtectSwitch(request *cdn.SetWebProtectSwitchRequest) (*cdn.SetWebProtectSwitchResponse, error)

设置web防护开关

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) UpdateCCProtectRule added in v1.13.0

func (c *CdnClient) UpdateCCProtectRule(request *cdn.UpdateCCProtectRuleRequest) (*cdn.UpdateCCProtectRuleResponse, error)

修改CC防护规则

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)

更新域名组

func (*CdnClient) UpdateWafBlackRule added in v1.13.0

func (c *CdnClient) UpdateWafBlackRule(request *cdn.UpdateWafBlackRuleRequest) (*cdn.UpdateWafBlackRuleResponse, error)

修改指定的黑名单规则

func (*CdnClient) UpdateWafWhiteRule added in v1.13.0

func (c *CdnClient) UpdateWafWhiteRule(request *cdn.UpdateWafWhiteRuleRequest) (*cdn.UpdateWafWhiteRuleResponse, error)

修改指定的白名单规则

func (*CdnClient) UpdateWebProtectSettings added in v1.13.0

func (c *CdnClient) UpdateWebProtectSettings(request *cdn.UpdateWebProtectSettingsRequest) (*cdn.UpdateWebProtectSettingsResponse, error)

设置web防护开关

func (*CdnClient) UploadCert added in v1.13.0

func (c *CdnClient) UploadCert(request *cdn.UploadCertRequest) (*cdn.UploadCertResponse, error)

上传证书

func (*CdnClient) WafQueryAttackDetails added in v1.13.0

func (c *CdnClient) WafQueryAttackDetails(request *cdn.WafQueryAttackDetailsRequest) (*cdn.WafQueryAttackDetailsResponse, error)

查询攻击记录详情

func (*CdnClient) WafQueryPv added in v1.13.0

func (c *CdnClient) WafQueryPv(request *cdn.WafQueryPvRequest) (*cdn.WafQueryPvResponse, error)

查询总请求量与攻击请求量

func (*CdnClient) WafQueryPvForAreaAndIp added in v1.13.0

func (c *CdnClient) WafQueryPvForAreaAndIp(request *cdn.WafQueryPvForAreaAndIpRequest) (*cdn.WafQueryPvForAreaAndIpResponse, error)

查询攻击来源

Jump to

Keyboard shortcuts

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