ucdn

package
v0.21.16 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Overview

Package ucdn include resources of ucloud ucdn product

See also

for detail.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessConf added in v0.19.2

type AccessConf struct {

	// 多个ip用逗号隔开
	IpBlacklist string
}

AccessConf - 访问控制

type AccessControlConf added in v0.19.2

type AccessControlConf struct {

	// ip黑名单,多个ip,可表示为:IpBlackList.0=1.1.1.1,IpBlackList.1=2.2.2.2
	IpBlackList []string

	// refer配置
	ReferConf ReferConf
}

AccessControlConf - 访问控制配置参数

type AddCertificateRequest added in v0.21.16

type AddCertificateRequest struct {
	request.CommonBase

	// Ca证书,默认为空
	CaCert *string `required:"false"`

	// 证书名称
	CertName *string `required:"true"`

	// 用户私钥
	PrivateKey *string `required:"true"`

	// 用户证书
	UserCert *string `required:"true"`
}

AddCertificateRequest is request schema for AddCertificate action

type AddCertificateResponse added in v0.21.16

type AddCertificateResponse struct {
	response.CommonBase
}

AddCertificateResponse is response schema for AddCertificate action

type AdvancedConf

type AdvancedConf struct {

	// http转https回源 true是,false否
	Http2Https bool

	// 客户端响应http头列表
	HttpClientHeader []string

	// 源站http头列表
	HttpOriginHeader []string
}

AdvancedConf - 域名高级配置

type BandwidthInfo

type BandwidthInfo struct {

	// 返回值返回指定时间区间内CDN的带宽峰值,单位Mbps(如果请求参数Type为0,则Value是五分钟粒度的带宽值,如果Type为1,则Value是1小时的带宽峰值,如果Type为2,则Value是一天内的带宽峰值)
	CdnBandwidth float64

	// 带宽获取的时间点。格式:时间戳
	Time int
}

BandwidthInfo - BandwidthInfo

type BandwidthInfoDetail

type BandwidthInfoDetail struct {

	// 返回值带宽值数据。
	Bandwidth float64

	// 宽获取的时间点。格式:时间戳
	Time int
}

BandwidthInfoDetail - 带宽值信息模型(时间-带宽)

type BandwidthTrafficInfo added in v0.19.2

type BandwidthTrafficInfo struct {

	// 返回值返回指定时间区间内CDN的带宽峰值,单位Mbps(如果请求参数Type为0,则Value是五分钟粒度的带宽值,如果Type为1,则Value是1小时的带宽峰值,如果Type为2,则Value是一天内的带宽峰值)
	CdnBandwidth float64

	// 带宽获取的时间点。格式:时间戳
	Time int

	// 对应时间粒度的流量,单位字节
	Traffic float64
}

BandwidthTrafficInfo - BandwidthTrafficInfo

type BatchDescribeNewUcdnDomainRequest added in v0.19.2

type BatchDescribeNewUcdnDomainRequest struct {
	request.CommonBase

	// 渠道ucdn、ufile、uvideo
	ChannelType *string `required:"false"`

	// 域名id,创建域名时生成的资源id,默认获取账号下的所有域名信息,n为自然数
	DomainId []string `required:"false"`

	// 返回数据长度,如果制定了Offset,则默认20,否则默认全部,非负整数
	Limit *int `required:"false"`

	// 数据偏移量,默认0,非负整数
	Offset *int `required:"false"`
}

BatchDescribeNewUcdnDomainRequest is request schema for BatchDescribeNewUcdnDomain action

type BatchDescribeNewUcdnDomainResponse added in v0.19.2

type BatchDescribeNewUcdnDomainResponse struct {
	response.CommonBase

	// 标识欠费的数组,数组含有下列元素值, 1=国内流量有欠费 2=国外流量有欠费  3=国内带宽有欠费 4=国外带宽有欠费
	Arrearage []string

	// 当前计费方式,10-流量付费 20-带宽日峰值 30-月95计费,31-月日均峰值, 32-月第四峰值 33-日均峰值之和 34- 日95再取平均 40-未选择计费方式
	ChargeType int

	// 域名信息列表,参见DomainInfo
	DomainSet []DomainInfo

	// 表示最后一次切换的计费方式,10=流量付费 20=带宽日峰值  30=按月后付费  40=未选择计费方式
	LastChargeType int

	// 最大域名数量,默认20
	MaxDomainNum int

	// 满足条件的域名个数
	TotalCount int

	// vip标示,yes-是  no-否
	Vip string
}

BatchDescribeNewUcdnDomainResponse is response schema for BatchDescribeNewUcdnDomain action

type BatchRefreshNewUcdnDomainCacheRequest

type BatchRefreshNewUcdnDomainCacheRequest struct {
	request.CommonBase

	// 刷新类型,file代表文件刷新,dir 代表路径刷新
	Type *string `required:"true"`

	// 待刷新URL列表,以JSON格式描述。刷新多个URL列表时,一次最多提交1000个。每个域名必须以”http://域名/”开始。目录要以”/”结尾, 如刷新目录a下所有文件,格式为:http://abc.ucloud.cn/a/;如刷新文件目录a下面所有img.png文件, 格式为http://abc.ucloud.cn/a/img.png。请正确提交需要刷新的域名
	UrlList *string `required:"true"`
}

BatchRefreshNewUcdnDomainCacheRequest is request schema for BatchRefreshNewUcdnDomainCache action

type BatchRefreshNewUcdnDomainCacheResponse

type BatchRefreshNewUcdnDomainCacheResponse struct {
	response.CommonBase

	// 本次提交url对应的任务id
	TaskId string
}

BatchRefreshNewUcdnDomainCacheResponse is response schema for BatchRefreshNewUcdnDomainCache action

type CacheAllConfig

type CacheAllConfig struct {

	// 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名
	CacheHost string

	// 忽略参数缓存配置列表,参见CacheKeyInfo
	CacheKeyList []CacheKeyInfo

	// 缓存配置列表,参见CacheConf
	CacheList []CacheConf

	// 状态码缓存配置列表,参见CacheConf
	HttpCodeCacheList []CacheConf
}

CacheAllConfig - 缓存相关的配置

type CacheConf

type CacheConf struct {

	// 是否缓存,true为缓存,flase为不缓存。为flase的情况下,CacheTTL和CacheUnit强制不生效
	CacheBehavior bool

	// 缓存时间
	CacheTTL int

	// 缓存时间的单位。sec(秒),min(分钟),hour(小时),day(天)。上限1年。
	CacheUnit string

	// 缓存规则描述
	Description string

	// 是否优先遵循源站头部缓存策略,false为不优先遵循源站,true为优先遵循源站缓存头部。默认为0
	FollowOriginRule bool

	// 状态码模式,非200,206状态码,多个状态码用竖线(|)分隔,该属性仅仅在状态码缓存配置列表中返回
	HttpCodePattern string

	// 路径模式,支持正则
	PathPattern string
}

CacheConf - 缓存配置

type CacheKeyInfo

type CacheKeyInfo struct {

	// 是否忽略
	Ignore bool

	// 路径模式,支持正则
	PathPattern string

	// 自定义变量,以$符号开头,多个变量用加号(+)连接,$querystring表示所有变量
	QueryString string
}

CacheKeyInfo - 忽略参数缓存配置

type CertList added in v0.21.16

type CertList struct {

	// 证书开始时间
	BeginTime int

	// ca证内容
	CaCert string

	// 证书名
	CertName string

	// 通用名
	CommonName string

	// dns名称
	DnsName string

	// 已配置域名个数
	DomainCount int

	// 已配置的域名列表
	Domains []string

	// 证书获取时间
	EndTime int

	// 证书内容
	UserCert string
}

CertList - 证书信息

type DeleteCertificateRequest added in v0.21.16

type DeleteCertificateRequest struct {
	request.CommonBase

	// 证书名称
	CertName *string `required:"true"`
}

DeleteCertificateRequest is request schema for DeleteCertificate action

type DeleteCertificateResponse added in v0.21.16

type DeleteCertificateResponse struct {
	response.CommonBase
}

DeleteCertificateResponse is response schema for DeleteCertificate action

type DescribeNewUcdnPrefetchCacheTaskRequest

type DescribeNewUcdnPrefetchCacheTaskRequest struct {
	request.CommonBase

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值
	BeginTime *int `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 返回数据长度,默认全部,自然数
	Limit *int `required:"false"`

	// 数据偏移量,默认为0,自然数
	Offset *int `required:"false"`

	// 需要获取的内容预热的状态,枚举值:success:成功;wait:等待处理;process:正在处理;failure:失败; unknow:未知,默认选择所有状态
	Status *string `required:"false"`

	// 提交任务时返回的任务ID
	TaskId []string `required:"false"`
}

DescribeNewUcdnPrefetchCacheTaskRequest is request schema for DescribeNewUcdnPrefetchCacheTask action

type DescribeNewUcdnPrefetchCacheTaskResponse

type DescribeNewUcdnPrefetchCacheTaskResponse struct {
	response.CommonBase

	// 预热任务信息,参考TaskInfo
	TaskList []TaskInfo

	// 预热任务的总数
	TotalCount int
}

DescribeNewUcdnPrefetchCacheTaskResponse is response schema for DescribeNewUcdnPrefetchCacheTask action

type DescribeNewUcdnRefreshCacheTaskRequest

type DescribeNewUcdnRefreshCacheTaskRequest struct {
	request.CommonBase

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值
	BeginTime *int `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 返回数据长度,默认全部,自然数
	Limit *int `required:"false"`

	// 数据偏移量,默认为0,自然数
	Offset *int `required:"false"`

	// 需要获取的内容刷新的状态,枚举值:success:成功;wait:等待处理;process:正在处理;failure:失败; unknow:未知,默认选择所有状态
	Status *string `required:"false"`

	// 提交任务时返回的任务ID
	TaskId []string `required:"false"`
}

DescribeNewUcdnRefreshCacheTaskRequest is request schema for DescribeNewUcdnRefreshCacheTask action

type DescribeNewUcdnRefreshCacheTaskResponse

type DescribeNewUcdnRefreshCacheTaskResponse struct {
	response.CommonBase

	// 刷新任务信息,参考TaskInfo
	TaskList []TaskInfo

	// 刷新任务的总数
	TotalCount int
}

DescribeNewUcdnRefreshCacheTaskResponse is response schema for DescribeNewUcdnRefreshCacheTask action

type DomainBaseInfo added in v0.21.1

type DomainBaseInfo struct {

	// 域名
	Domain string

	// 域名的资源id
	DomainId string
}

DomainBaseInfo - 域名基本信息

type DomainConfigInfo

type DomainConfigInfo struct {

	// 访问控制配置 参考AccessControlConf
	AccessControlConf AccessControlConf

	// 高级配置 参考AdvancedConf
	AdvancedConf AdvancedConf

	// 查询带宽区域 cn代表国内 abroad代表海外 all表示全部区域
	AreaCode string

	// 缓存配置 参考CacheAllConfig
	CacheConf CacheAllConfig

	// 加速域名的业务类型,web代表网站,stream代表视频 ,download 代表下载
	CdnType string

	// 国外证书名称
	CertNameAbroad string

	// 国内证书名称
	CertNameCn string

	// cdn域名。创建加速域名生成的cdn域名,用于设置CNAME记录
	Cname string

	// 域名创建的时间。格式:时间戳
	CreateTime int

	// 域名
	Domain string

	// 域名Id
	DomainId string

	// 国外https状态 enableing-开启中  fail-开启失败 enable-启用 disable-未启用
	HttpsStatusAbroad string

	// 国内https状态 enableing-开启中 fail-开启失败 enable-启用 disable-未启用
	HttpsStatusCn string

	// 源站配置 参考OriginConf
	OriginConf OriginConf

	// 创建的加速域名的当前的状态。check代表审核中,checkSuccess代表审核通过,checkFail代表审核失败,enable代表加速中,disable代表停止加速,delete代表删除加速enableing代表正在开启加速,disableing代表正在停止加速中,deleteing代表删除中
	Status string

	// 业务组:Default
	Tag string

	// 测试url。用于域名创建加速时的测试
	TestUrl string
}

DomainConfigInfo - 更新域名配置

type DomainInfo added in v0.19.2

type DomainInfo struct {

	// 访问控制
	AccessConf AccessConf

	// 查询带宽区域 cn代表国内 abroad代表海外 不填默认为全部区域
	AreaCode string

	// 缓存配置规则列表
	CacheConf []CacheConf

	// 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名
	CacheHost string

	// 加速类型http,http|https
	CdnProtocol string

	// 加速域名的业务类型,web代表网站,stream代表视频,download代表下载。
	CdnType string

	// 证书名称
	CertName string

	// cdn域名。创建加速域名生成的cdn域名,用于设置CNAME记录
	Cname string

	// 域名创建的时间。格式:时间戳
	CreateTime int

	// 域名,用户创建加速的域名
	Domain string

	// 域名id,创建域名时生成的id
	DomainId string

	// 国外https状态 enableing-开启中  fail-开启失败 enable-启用 disable-未启用
	HttpsStatusAbroad string

	// 国内https状态 enableing-开启中 fail-开启失败 enable-启用 disable-未启用
	HttpsStatusCn string

	// ReferType为白名单时,NullRefer为false代表不允许NULL refer访问,为true代表允许Null refer访问
	NullRefer bool

	// 回源Http请求头部Host,默认是加速域名
	OriginHost string

	// 源站ip即cdn服务器回源访问的ip地址。支持多个源站ip,多个源站ip,可表述为如:[1.1.1.1,2.2.2.2]
	OriginIp []string

	// 回源端口
	OriginPort int

	// 源站协议http,http|https   默认http
	OriginProtocol string

	// Refer列表,支持正则表达式
	ReferList []string

	// refer配置开关,true打开,false关闭
	ReferStatus bool

	// 0白名单,1黑名单
	ReferType int

	// 创建的加速域名的当前的状态。check代表审核中,checkSuccess代表审核通过,checkFail代表审核失败,enable代表加速中,disable代表停止加速,delete代表删除加速 enableing代表正在开启加速,disableing代表正在停止加速中,deleteing代表删除中
	Status string

	// 业务组,默认为Default
	Tag string

	// 测试url,用于域名创建加速时的测试
	TestUrl string

	// 开始分配Cname时间。格式:时间戳
	ValidTime int
}

DomainInfo - 域名配置

type GetCertificateV2Request added in v0.21.16

type GetCertificateV2Request struct {
	request.CommonBase

	// 长度,默认为全部,非负整数
	Limit *int `required:"false"`

	// 偏移,默认为0,非负整数
	Offset *int `required:"false"`
}

GetCertificateV2Request is request schema for GetCertificateV2 action

type GetCertificateV2Response added in v0.21.16

type GetCertificateV2Response struct {
	response.CommonBase

	// 证书信息列表
	CertList []CertList

	// 证书数量
	TotalCount int
}

GetCertificateV2Response is response schema for GetCertificateV2 action

type GetNewUcdnDomainBandwidthRequest

type GetNewUcdnDomainBandwidthRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外 不填默认为全部区域
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度)
	Type *int `required:"true"`
}

GetNewUcdnDomainBandwidthRequest is request schema for GetNewUcdnDomainBandwidth action

type GetNewUcdnDomainBandwidthResponse

type GetNewUcdnDomainBandwidthResponse struct {
	response.CommonBase

	// 带宽信息列表,参见BandwidthInfo
	BandwidthList []BandwidthInfo

	// 从起始时间到结束时间内的所使用的CDN总流量,单位GB
	Traffic float64
}

GetNewUcdnDomainBandwidthResponse is response schema for GetNewUcdnDomainBandwidth action

type GetNewUcdnDomainHitRateRequest

type GetNewUcdnDomainHitRateRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度)默认5分钟
	Type *int `required:"false"`
}

GetNewUcdnDomainHitRateRequest is request schema for GetNewUcdnDomainHitRate action

type GetNewUcdnDomainHitRateResponse

type GetNewUcdnDomainHitRateResponse struct {
	response.CommonBase

	// 请求数实例表。
	HitRateList []HitRateInfo
}

GetNewUcdnDomainHitRateResponse is response schema for GetNewUcdnDomainHitRate action

type GetNewUcdnDomainHttpCodeRequest

type GetNewUcdnDomainHttpCodeRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度)
	Type *int `required:"true"`
}

GetNewUcdnDomainHttpCodeRequest is request schema for GetNewUcdnDomainHttpCode action

type GetNewUcdnDomainHttpCodeResponse

type GetNewUcdnDomainHttpCodeResponse struct {
	response.CommonBase

	// 状态码实例表。详细见HttpCodeInfo
	HttpCodeDetail []HttpCodeInfo
}

GetNewUcdnDomainHttpCodeResponse is response schema for GetNewUcdnDomainHttpCode action

type GetNewUcdnDomainHttpCodeV2Request

type GetNewUcdnDomainHttpCodeV2Request struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。
	EndTime *int `required:"true"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天粒度,3表示按照一分钟粒度)
	Type *int `required:"true"`
}

GetNewUcdnDomainHttpCodeV2Request is request schema for GetNewUcdnDomainHttpCodeV2 action

type GetNewUcdnDomainHttpCodeV2Response

type GetNewUcdnDomainHttpCodeV2Response struct {
	response.CommonBase

	// 状态码详情
	HttpCodeV2Detail []HttpCodeV2Detail
}

GetNewUcdnDomainHttpCodeV2Response is response schema for GetNewUcdnDomainHttpCodeV2 action

type GetNewUcdnDomainRequestNumRequest

type GetNewUcdnDomainRequestNumRequest struct {
	request.CommonBase

	// 查询区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度)
	Type *int `required:"true"`
}

GetNewUcdnDomainRequestNumRequest is request schema for GetNewUcdnDomainRequestNum action

type GetNewUcdnDomainRequestNumResponse

type GetNewUcdnDomainRequestNumResponse struct {
	response.CommonBase

	// 请求数实例表。
	RequestList []RequestInfo
}

GetNewUcdnDomainRequestNumResponse is response schema for GetNewUcdnDomainRequestNum action

type GetUcdnDomain95BandwidthV2Request added in v0.19.2

type GetUcdnDomain95BandwidthV2Request struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外 不填默认为全部区域
	Areacode *string `required:"false"`

	// 查询的起始日期,格式为Unix Timestamp
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束日期,格式为Unix Timestamp
	EndTime *int `required:"true"`
}

GetUcdnDomain95BandwidthV2Request is request schema for GetUcdnDomain95BandwidthV2 action

type GetUcdnDomain95BandwidthV2Response added in v0.19.2

type GetUcdnDomain95BandwidthV2Response struct {
	response.CommonBase

	// 查询期间的CDN的95带宽值,单位Mbps
	CdnBandwidth float64

	// 查询时间期间的95带宽时间点  Unix时间戳
	Time int
}

GetUcdnDomain95BandwidthV2Response is response schema for GetUcdnDomain95BandwidthV2 action

type GetUcdnDomainBandwidthV2Request added in v0.19.2

type GetUcdnDomainBandwidthV2Request struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外 不填默认为全部区域
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 原始带宽,不为0则获取原始带宽,默认为0
	Primeval *int `required:"false"`

	// 协议,http、https  不传则查所有协议的带宽
	Protocol *string `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度,3表示按照1分钟粒度)
	Type *int `required:"false"`
}

GetUcdnDomainBandwidthV2Request is request schema for GetUcdnDomainBandwidthV2 action

type GetUcdnDomainBandwidthV2Response added in v0.19.2

type GetUcdnDomainBandwidthV2Response struct {
	response.CommonBase

	// 带宽信息列表,参见BandwidthTrafficInfo
	BandwidthTrafficList []BandwidthTrafficInfo
}

GetUcdnDomainBandwidthV2Response is response schema for GetUcdnDomainBandwidthV2 action

type GetUcdnDomainConfigRequest

type GetUcdnDomainConfigRequest struct {
	request.CommonBase

	// 产品类型ucdn,可不填,默认为ucdn
	ChannelType *string `required:"false"`

	// 域名id,创建域名时生成的id。默认获取账号下的所有域名信息,n为自然数,从DomainId.0开始。
	DomainId []string `required:"false"`

	// 返回数据长度, 默认全部,非负整数
	Limit *int `required:"false"`

	// 数据偏移量,默认0,非负整数
	Offset *int `required:"false"`
}

GetUcdnDomainConfigRequest is request schema for GetUcdnDomainConfig action

type GetUcdnDomainConfigResponse

type GetUcdnDomainConfigResponse struct {
	response.CommonBase

	// 获取的域名信息,具体参考下面DomainConfig
	DomainList []DomainConfigInfo
}

GetUcdnDomainConfigResponse is response schema for GetUcdnDomainConfig action

type GetUcdnDomainHitRateRequest added in v0.21.1

type GetUcdnDomainHitRateRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 命中类型:0=整体命中  1=边缘命中  默认是0
	HitType *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度,3表示按照一分钟的粒度)默认5分钟
	Type *int `required:"true"`
}

GetUcdnDomainHitRateRequest is request schema for GetUcdnDomainHitRate action

type GetUcdnDomainHitRateResponse added in v0.21.1

type GetUcdnDomainHitRateResponse struct {
	response.CommonBase

	// 请求数实例表。
	HitRateList []HitRateInfoV2
}

GetUcdnDomainHitRateResponse is response schema for GetUcdnDomainHitRate action

type GetUcdnDomainHttpCodeV2Request added in v0.19.2

type GetUcdnDomainHttpCodeV2Request struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 指定获取的状态码是边缘还是上层    edge 表示边缘  layer 表示上层
	Layer *string `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度,3表示1分钟粒度)
	Type *int `required:"true"`
}

GetUcdnDomainHttpCodeV2Request is request schema for GetUcdnDomainHttpCodeV2 action

type GetUcdnDomainHttpCodeV2Response added in v0.19.2

type GetUcdnDomainHttpCodeV2Response struct {
	response.CommonBase

	// 状态码实例表。详细见HttpCodeInfoV2
	HttpCodeDetail []HttpCodeInfoV2
}

GetUcdnDomainHttpCodeV2Response is response schema for GetUcdnDomainHttpCodeV2 action

type GetUcdnDomainInfoListRequest added in v0.21.1

type GetUcdnDomainInfoListRequest struct {
	request.CommonBase

	// 返回第几页,不填默认是第1页
	PageIndex *int `required:"false"`

	// 分页的大小,不填默认每页20个
	PageSize *int `required:"false"`
}

GetUcdnDomainInfoListRequest is request schema for GetUcdnDomainInfoList action

type GetUcdnDomainInfoListResponse added in v0.21.1

type GetUcdnDomainInfoListResponse struct {
	response.CommonBase

	// 域名基本信息
	DomainInfoList []DomainBaseInfo

	// 账户下域名总个数
	TotalCount int
}

GetUcdnDomainInfoListResponse is response schema for GetUcdnDomainInfoList action

type GetUcdnDomainLogRequest

type GetUcdnDomainLogRequest struct {
	request.CommonBase

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。
	BeginTime *int `required:"false"`

	// 域名ID,创建加速域名时生成。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 查询粒度  0=default(没有粒度) 1=按小时  2=按天
	Type *int `required:"false"`
}

GetUcdnDomainLogRequest is request schema for GetUcdnDomainLog action

type GetUcdnDomainLogResponse

type GetUcdnDomainLogResponse struct {
	response.CommonBase

	// 获取日志的连接地址。具体参考下面LogSetList
	LogSet []LogSetList
}

GetUcdnDomainLogResponse is response schema for GetUcdnDomainLog action

type GetUcdnDomainOriginHttpCodeDetailRequest added in v0.21.7

type GetUcdnDomainOriginHttpCodeDetailRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。
	EndTime *int `required:"true"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天粒度,3表示按照一分钟粒度)
	Type *int `required:"true"`
}

GetUcdnDomainOriginHttpCodeDetailRequest is request schema for GetUcdnDomainOriginHttpCodeDetail action

type GetUcdnDomainOriginHttpCodeDetailResponse added in v0.21.7

type GetUcdnDomainOriginHttpCodeDetailResponse struct {
	response.CommonBase

	// 状态码详情
	HttpCodeV2Detail []HttpCodeV2Detail
}

GetUcdnDomainOriginHttpCodeDetailResponse is response schema for GetUcdnDomainOriginHttpCodeDetail action

type GetUcdnDomainOriginHttpCodeRequest added in v0.21.7

type GetUcdnDomainOriginHttpCodeRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度,3表示按照1分钟粒度)
	Type *int `required:"true"`
}

GetUcdnDomainOriginHttpCodeRequest is request schema for GetUcdnDomainOriginHttpCode action

type GetUcdnDomainOriginHttpCodeResponse added in v0.21.7

type GetUcdnDomainOriginHttpCodeResponse struct {
	response.CommonBase

	// 状态码实例表。详细见HttpCodeInfo
	HttpCodeDetail []HttpCodeInfo
}

GetUcdnDomainOriginHttpCodeResponse is response schema for GetUcdnDomainOriginHttpCode action

type GetUcdnDomainOriginRequestNumRequest added in v0.19.2

type GetUcdnDomainOriginRequestNumRequest struct {
	request.CommonBase

	// 查询区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp
	EndTime *int `required:"true"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度, 3=按1分钟)
	Type *int `required:"true"`
}

GetUcdnDomainOriginRequestNumRequest is request schema for GetUcdnDomainOriginRequestNum action

type GetUcdnDomainOriginRequestNumResponse added in v0.19.2

type GetUcdnDomainOriginRequestNumResponse struct {
	response.CommonBase

	// 请求数实例表。
	RequestList []RequestInfoV2
}

GetUcdnDomainOriginRequestNumResponse is response schema for GetUcdnDomainOriginRequestNum action

type GetUcdnDomainPrefetchEnableRequest

type GetUcdnDomainPrefetchEnableRequest struct {
	request.CommonBase

	// 域名ID,创建加速域名时生成。
	DomainId *string `required:"true"`
}

GetUcdnDomainPrefetchEnableRequest is request schema for GetUcdnDomainPrefetchEnable action

type GetUcdnDomainPrefetchEnableResponse

type GetUcdnDomainPrefetchEnableResponse struct {
	response.CommonBase

	// 0表示该域名未开启预取,1表示该域名已开启预取
	Enable int
}

GetUcdnDomainPrefetchEnableResponse is response schema for GetUcdnDomainPrefetchEnable action

type GetUcdnDomainRequestNumV2Request

type GetUcdnDomainRequestNumV2Request struct {
	request.CommonBase

	// 查询区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp
	EndTime *int `required:"true"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度, 3=按1分钟)
	Type *int `required:"true"`
}

GetUcdnDomainRequestNumV2Request is request schema for GetUcdnDomainRequestNumV2 action

type GetUcdnDomainRequestNumV2Response

type GetUcdnDomainRequestNumV2Response struct {
	response.CommonBase

	// 请求数实例表。
	RequestList []RequestInfo
}

GetUcdnDomainRequestNumV2Response is response schema for GetUcdnDomainRequestNumV2 action

type GetUcdnDomainRequestNumV3Request added in v0.19.2

type GetUcdnDomainRequestNumV3Request struct {
	request.CommonBase

	// 查询区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp
	EndTime *int `required:"true"`

	// 协议,http、https 不传则查所有协议的带宽
	Protocol *string `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度, 3=按1分钟)
	Type *int `required:"true"`
}

GetUcdnDomainRequestNumV3Request is request schema for GetUcdnDomainRequestNumV3 action

type GetUcdnDomainRequestNumV3Response added in v0.19.2

type GetUcdnDomainRequestNumV3Response struct {
	response.CommonBase

	// 请求数实例表。
	RequestList []RequestInfoV2
}

GetUcdnDomainRequestNumV3Response is response schema for GetUcdnDomainRequestNumV3 action

type GetUcdnDomainTrafficRequest

type GetUcdnDomainTrafficRequest struct {
	request.CommonBase

	// 指定按项目查询,还是按整个账户查询  取值 top 表示按整个账户查询,取值org表示按项目查询
	AccountType *string `required:"false"`

	// 查询流量区域 cn代表国内 abroad代表海外,默认全部区域
	Areacode *string `required:"false"`

	// 查询的起始日期,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值
	BeginTime *int `required:"false"`

	// 域名ID,创建加速域名时生成,n从自然数0开始。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束日期,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天
	EndTime *int `required:"false"`
}

GetUcdnDomainTrafficRequest is request schema for GetUcdnDomainTraffic action

type GetUcdnDomainTrafficResponse

type GetUcdnDomainTrafficResponse struct {
	response.CommonBase

	// 流量实例表,具体结构见 UcdnDomainTrafficSet
	TrafficSet []UcdnDomainTrafficSet
}

GetUcdnDomainTrafficResponse is response schema for GetUcdnDomainTraffic action

type GetUcdnPassBandwidthRequest

type GetUcdnPassBandwidthRequest struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度)
	Type *int `required:"true"`
}

GetUcdnPassBandwidthRequest is request schema for GetUcdnPassBandwidth action

type GetUcdnPassBandwidthResponse

type GetUcdnPassBandwidthResponse struct {
	response.CommonBase

	// 回源带宽数据
	BandwidthDetail []BandwidthInfoDetail
}

GetUcdnPassBandwidthResponse is response schema for GetUcdnPassBandwidth action

type GetUcdnPassBandwidthV2Request added in v0.19.2

type GetUcdnPassBandwidthV2Request struct {
	request.CommonBase

	// 查询带宽区域 cn代表国内 abroad代表海外,只支持国内
	Areacode *string `required:"false"`

	// 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。
	BeginTime *int `required:"false"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
	EndTime *int `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度,3表示按照1分钟粒度)
	Type *int `required:"true"`
}

GetUcdnPassBandwidthV2Request is request schema for GetUcdnPassBandwidthV2 action

type GetUcdnPassBandwidthV2Response added in v0.19.2

type GetUcdnPassBandwidthV2Response struct {
	response.CommonBase

	// 回源带宽数据
	BandwidthList []BandwidthInfoDetail
}

GetUcdnPassBandwidthV2Response is response schema for GetUcdnPassBandwidthV2 action

type GetUcdnProIspBandwidthV2Request added in v0.19.2

type GetUcdnProIspBandwidthV2Request struct {
	request.CommonBase

	// 查询的起始日期,格式为Unix Timestamp
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束日期,格式为Unix Timestamp
	EndTime *int `required:"true"`

	// 运营商代码(运营商拼音),一次只能查询一个运营商,不传递默认取所有运营商
	Isp *string `required:"false"`

	// 省份代码(省份拼音),可以传多个,不传则查询所有省份
	Province []string `required:"false"`

	// 时间粒度0 (按5分钟粒度)1 (按小时粒度)2(按天粒度)3(按分钟粒度)
	Type *int `required:"true"`
}

GetUcdnProIspBandwidthV2Request is request schema for GetUcdnProIspBandwidthV2 action

type GetUcdnProIspBandwidthV2Response added in v0.19.2

type GetUcdnProIspBandwidthV2Response struct {
	response.CommonBase

	// 按省份的带宽流量实例表。具体参考下面BandwidthSet
	BandwidthSet []ProIspBandwidthSet
}

GetUcdnProIspBandwidthV2Response is response schema for GetUcdnProIspBandwidthV2 action

type GetUcdnProIspRequestNumV2Request added in v0.19.2

type GetUcdnProIspRequestNumV2Request struct {
	request.CommonBase

	// 查询的起始日期,格式为Unix Timestamp  忽略时间部分
	BeginTime *int `required:"true"`

	// 域名id,创建域名时生成的id。默认全部域名
	DomainId []string `required:"false"`

	// 查询的结束日期,格式为Unix Timestamp  忽略时间部分
	EndTime *int `required:"true"`

	// 运营商代码,一次只能查询一个运营商,不传递默认取所有运营商
	Isp *string `required:"false"`

	// 省份代码,可以传多个,不传则查询所有省份
	Province []string `required:"false"`

	// 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天粒度,3表示按照一分钟粒度)
	Type *int `required:"false"`
}

GetUcdnProIspRequestNumV2Request is request schema for GetUcdnProIspRequestNumV2 action

type GetUcdnProIspRequestNumV2Response added in v0.19.2

type GetUcdnProIspRequestNumV2Response struct {
	response.CommonBase

	// 按省份的请求数实例表。具体参考下面RequestList
	RequestNumSet []ProIspRequestNumSetV2
}

GetUcdnProIspRequestNumV2Response is response schema for GetUcdnProIspRequestNumV2 action

type GetUcdnTrafficRequest

type GetUcdnTrafficRequest struct {
	request.CommonBase
}

GetUcdnTrafficRequest is request schema for GetUcdnTraffic action

type GetUcdnTrafficResponse

type GetUcdnTrafficResponse struct {
	response.CommonBase

	// 用户不同区域的流量信息, 具体结构参见TrafficSet部分
	TrafficSet []TrafficSet
}

GetUcdnTrafficResponse is response schema for GetUcdnTraffic action

type GetUcdnTrafficV2Request added in v0.19.2

type GetUcdnTrafficV2Request struct {
	request.CommonBase
}

GetUcdnTrafficV2Request is request schema for GetUcdnTrafficV2 action

type GetUcdnTrafficV2Response added in v0.19.2

type GetUcdnTrafficV2Response struct {
	response.CommonBase

	// 用户不同区域的流量信息, 具体结构参见TrafficSet部分
	TrafficSet []TrafficSet
}

GetUcdnTrafficV2Response is response schema for GetUcdnTrafficV2 action

type HitRateInfo

type HitRateInfo struct {

	// 总流量命中率,单位%
	FlowHitRate float64

	// 请求数命中率,单位%
	RequestHitRate float64

	// 带宽获取的时间点。格式:时间戳
	Time int
}

HitRateInfo - HitRateInfo

type HitRateInfoV2 added in v0.21.1

type HitRateInfoV2 struct {

	// 总流量命中率,单位%
	FlowHitRate float64

	// 请求数命中率,单位%
	RequestHitRate float64

	// 带宽获取的时间点。格式:时间戳
	Time int
}

HitRateInfoV2 - HitRateInfoV2

type HttpCodeInfo

type HttpCodeInfo struct {

	// 5xx数量
	HttpFiveXX int

	// 4xx数量
	HttpFourXX int

	// 1xx数量
	HttpOneXX int

	// 3xx数量
	HttpThreeXX int

	// 2xx数量
	HttpTwoXX int

	// 带宽获取的时间点。格式:时间戳
	Time int
}

HttpCodeInfo - HttpCodeInfo

type HttpCodeInfoV2 added in v0.19.2

type HttpCodeInfoV2 struct {

	// 1xx信息,参考HttpCodeV2Detail结构
	Http1XX HttpCodeV2Detail

	// 2xx信息,参考HttpCodeV2Detail结构
	Http2XX HttpCodeV2Detail

	// 3xx信息,参考HttpCodeV2Detail结构
	Http3XX HttpCodeV2Detail

	// 4xx信息,参考HttpCodeV2Detail结构
	Http4XX HttpCodeV2Detail

	// 5xx信息,参考HttpCodeV2Detail结构
	Http5XX HttpCodeV2Detail

	// 6xx信息,参考HttpCodeV2Detail结构
	Http6XX HttpCodeV2Detail

	// 带宽获取的时间点。格式:时间戳
	Time int
}

HttpCodeInfoV2 - HttpCodeInfoV2

type HttpCodeV2Detail

type HttpCodeV2Detail struct {

	// http100数量
	Http100 int

	// http101数量
	Http101 int

	// http102数量
	Http102 int

	// http200数量
	Http200 int

	// http201数量
	Http201 int

	// http202数量
	Http202 int

	// http203数量
	Http203 int

	// http204数量
	Http204 int

	// http205数量
	Http205 int

	// http206数量
	Http206 int

	// http207数量
	Http207 int

	// http300数量
	Http300 int

	// http301数量
	Http301 int

	// http302数量
	Http302 int

	// http303数量
	Http303 int

	// http304数量
	Http304 int

	// http305数量
	Http305 int

	// http306数量
	Http306 int

	// http307数量
	Http307 int

	// http400数量
	Http400 int

	// http401数量
	Http401 int

	// http402数量
	Http402 int

	// http403数量
	Http403 int

	// http404数量
	Http404 int

	// http405数量
	Http405 int

	// http406数量
	Http406 int

	// http407数量
	Http407 int

	// http408数量
	Http408 int

	// http409数量
	Http409 int

	// http410数量
	Http410 int

	// http411数量
	Http411 int

	// http412数量
	Http412 int

	// http413数量
	Http413 int

	// http414数量
	Http414 int

	// http415数量
	Http415 int

	// http416数量
	Http416 int

	// http417数量
	Http417 int

	// http418数量
	Http418 int

	// http421数量
	Http421 int

	// http422数量
	Http422 int

	// http423数量
	Http423 int

	// http424数量
	Http424 int

	// http425数量
	Http425 int

	// http426数量
	Http426 int

	// http449数量
	Http449 int

	// http451数量
	Http451 int

	// http500数量
	Http500 int

	// http501数量
	Http501 int

	// http502数量
	Http502 int

	// http503数量
	Http503 int

	// http504数量
	Http504 int

	// http505数量
	Http505 int

	// http506数量
	Http506 int

	// http507数量
	Http507 int

	// http509数量
	Http509 int

	// http510数量
	Http510 int

	// 时间
	Time int

	// 当前分组的总状态码数
	Total int
}

HttpCodeV2Detail - HTTP状态码详细信息

type IpLocationInfo added in v0.21.9

type IpLocationInfo struct {

	// 地区
	Area string

	// 城市
	City string

	// ip是否存在
	Exist bool

	// 客户端请求的ip
	Ip string

	// 运营商
	Isp string
}

IpLocationInfo - ip详细信息

type LogSetInfo

type LogSetInfo struct {

	// 国外日志url列表
	AbroadLog []string

	// 国内日志url列表
	CnLog []string

	// 日志时间UnixTime
	Time int
}

LogSetInfo - 日志信息

type LogSetList

type LogSetList struct {

	// 域名
	Domain string

	// 域名信息列表,参考LogSetInfo
	Logs []LogSetInfo
}

LogSetList - 日志信息列表

type OriginConf

type OriginConf struct {

	// 1如果为false表示BackupOriginIp为空,表示没有备份源站,忽略BackupOriginIp,BackupOriginHost字段2如果为true表示BackupOriginIp.n必须至少有一个备份源站地址
	BackupOriginEnable bool

	// 备份回源Http请求头部Host,默认是加速域名
	BackupOriginHost string

	// 备份源站ip即cdn服务器回源访问的ip地址。多个源站ip,可以这样表述,如:["1.1.1.1","2.2.2.2"]
	BackupOriginIpList []string

	// 主源响应的回源错误码(如:404|500),默认空字符串
	OriginErrorCode string

	// 回主源的回源失败数,默认1
	OriginErrorNum int

	// 跟随301跳转  0=不跟随 1=跟随
	OriginFollow301 int

	// 回源Http请求头部Host,默认是加速域名
	OriginHost string

	// 源站ip即cdn服务器回源访问的ip地址。多个源站ip,可以这样表述,如:["1.1.1.1","2.2.2.2"]
	OriginIpList []string

	// 回源端口
	OriginPort int

	// 源站协议http,http|https   默认http
	OriginProtocol string
}

OriginConf - 回源配置

type PrefetchNewUcdnDomainCacheRequest

type PrefetchNewUcdnDomainCacheRequest struct {
	request.CommonBase

	// 预热URL列表,n从自然数0开始。UrlList.n字段必须以”http://域名/”开始。如刷新文件目录a下面img.png文件, 格式为http://abc.ucloud.cn/a/img.png。请正确提交需要刷新的域名
	UrlList []string `required:"true"`
}

PrefetchNewUcdnDomainCacheRequest is request schema for PrefetchNewUcdnDomainCache action

type PrefetchNewUcdnDomainCacheResponse

type PrefetchNewUcdnDomainCacheResponse struct {
	response.CommonBase

	// 本次提交url对应的任务id
	TaskId string
}

PrefetchNewUcdnDomainCacheResponse is response schema for PrefetchNewUcdnDomainCache action

type ProIspBandwidthList added in v0.19.2

type ProIspBandwidthList struct {

	// 返回值返回指定时间区间内CDN的带宽峰值,单位Mbps
	CdnBandwidth float64

	// 带宽获取的时间点。格式:时间戳
	Time int

	// 对应时间粒度的流量,单位字节
	Traffic float64
}

ProIspBandwidthList - 省份带宽流量实例表

type ProIspBandwidthSet added in v0.19.2

type ProIspBandwidthSet struct {

	// 省份带宽流量实例表
	BandwidthTrafficList []ProIspBandwidthList

	// 省份代码
	Province string
}

ProIspBandwidthSet - 按省份的带宽流量实例表

type ProIspRequestListV2 added in v0.19.2

type ProIspRequestListV2 struct {

	// 返回值返回指定时间区间内的请求数
	CdnRequest float64

	// 带宽获取的时间点。格式:时间戳
	Time int
}

ProIspRequestListV2 - 省份请求数实例表

type ProIspRequestNumSetV2 added in v0.19.2

type ProIspRequestNumSetV2 struct {

	// 省份代码
	Province string

	// 省份请求数实例表 ProIspRequestListV2
	RequestList []ProIspRequestListV2
}

ProIspRequestNumSetV2 - 按省份的请求数实例表

type QueryIpLocationRequest added in v0.21.9

type QueryIpLocationRequest struct {
	request.CommonBase

	// ip列表
	Ip []string `required:"true"`
}

QueryIpLocationRequest is request schema for QueryIpLocation action

type QueryIpLocationResponse added in v0.21.9

type QueryIpLocationResponse struct {
	response.CommonBase

	// IP信息列表
	Data []IpLocationInfo
}

QueryIpLocationResponse is response schema for QueryIpLocation action

type ReferConf

type ReferConf struct {

	// ReferType为白名单时(删除),NullRefer为0代表不允许NULL refer访问,为1代表允许Null refer访问
	NullRefer int

	// Refer防盗链规则列表,支持正则表达式
	ReferList []string

	// Refer防盗链配置  0白名单,1黑名单
	ReferType int
}

ReferConf - refer配置

type RefreshNewUcdnDomainCacheRequest

type RefreshNewUcdnDomainCacheRequest struct {
	request.CommonBase

	// 刷新类型,file代表文件刷新,dir 代表路径刷新
	Type *string `required:"true"`

	// 需要刷新的URL,n 从自然数0开始,刷新多个URL列表时,一次最多提交30个。必须以”http://域名/”开始。目录要以”/”结尾, 如刷新目录a下所有文件,格式为:http://abc.ucloud.cn/a/;如刷新文件目录a下面img.png文件, 格式为http://abc.ucloud.cn/a/img.png。请正确提交需要刷新的域名
	UrlList []string `required:"true"`
}

RefreshNewUcdnDomainCacheRequest is request schema for RefreshNewUcdnDomainCache action

type RefreshNewUcdnDomainCacheResponse

type RefreshNewUcdnDomainCacheResponse struct {
	response.CommonBase

	// 本次提交url对应的任务id
	TaskId string
}

RefreshNewUcdnDomainCacheResponse is response schema for RefreshNewUcdnDomainCache action

type RequestInfo

type RequestInfo struct {

	// 返回值返回指定时间区间内的cdn收到的请求次数之和
	CdnRequest float64

	// 返回值返回指定时间区间内的cdn回源的请求次数之和
	OriginRequest float64

	// 带宽获取的时间点。格式:时间戳
	Time int
}

RequestInfo - RequestInfo

type RequestInfoV2 added in v0.19.2

type RequestInfoV2 struct {

	// 返回值返回指定时间区间内的cdn收到的请求次数之和
	CdnRequest float64

	// 带宽获取的时间点。格式:时间戳
	Time int
}

RequestInfoV2 - RequestInfoV2

type SwitchUcdnChargeTypeRequest

type SwitchUcdnChargeTypeRequest struct {
	request.CommonBase

	// 计费方式。traffic代表按流量包计费,bandwidth按带宽付费
	ChargeType *string `required:"true"`
}

SwitchUcdnChargeTypeRequest is request schema for SwitchUcdnChargeType action

type SwitchUcdnChargeTypeResponse

type SwitchUcdnChargeTypeResponse struct {
	response.CommonBase
}

SwitchUcdnChargeTypeResponse is response schema for SwitchUcdnChargeType action

type TaskInfo

type TaskInfo struct {

	// 刷新任务创建的时间。格式为Unix Timestamp
	CreateTime int

	// 刷新任务的当前状态,枚举值:success:成功;wait:排队中;process:处理中;failure:失败; unknow:未知
	Status string

	// 提交任务时返回的任务ID
	TaskId string

	// file/dir  刷新任务会返回Type,预取任务没有
	Type string `deprecated:"true"`

	// 任务url的信息列表,参考UrlProgressInfo
	UrlLists []UrlProgressInfo
}

TaskInfo - 预取刷新的任务信息

type TrafficSet

type TrafficSet struct {

	// 购买流量的区域, cn: 国内; abroad: 国外
	Areacode string

	// Areacode区域内总剩余流量, 单位GB
	TrafficLeft float64

	// Areacode区域内总购买流量, 单位GB
	TrafficTotal float64

	// Areacode区域内总使用流量, 单位GB
	TrafficUsed float64
}

TrafficSet - GetUcdnTraffic

type UCDNClient

type UCDNClient struct {
	*ucloud.Client
}

UCDNClient is the client of UCDN

func NewClient

func NewClient(config *ucloud.Config, credential *auth.Credential) *UCDNClient

NewClient will return a instance of UCDNClient

func (*UCDNClient) AddCertificate added in v0.21.16

func (c *UCDNClient) AddCertificate(req *AddCertificateRequest) (*AddCertificateResponse, error)

API: AddCertificate

添加证书

func (*UCDNClient) BatchDescribeNewUcdnDomain added in v0.19.2

API: BatchDescribeNewUcdnDomain

批量获取加速域名配置

func (*UCDNClient) BatchRefreshNewUcdnDomainCache

API: BatchRefreshNewUcdnDomainCache

批量刷新缓存

func (*UCDNClient) DeleteCertificate added in v0.21.16

func (c *UCDNClient) DeleteCertificate(req *DeleteCertificateRequest) (*DeleteCertificateResponse, error)

API: DeleteCertificate

删除证书

func (*UCDNClient) DescribeNewUcdnPrefetchCacheTask

API: DescribeNewUcdnPrefetchCacheTask

获取预取任务状态

func (*UCDNClient) DescribeNewUcdnRefreshCacheTask

API: DescribeNewUcdnRefreshCacheTask

获取域名刷新任务状态

func (*UCDNClient) GetCertificateV2 added in v0.21.16

func (c *UCDNClient) GetCertificateV2(req *GetCertificateV2Request) (*GetCertificateV2Response, error)

API: GetCertificateV2

获取证书列表(新)

func (*UCDNClient) GetNewUcdnDomainBandwidth

API: GetNewUcdnDomainBandwidth

获取域名带宽数据

func (*UCDNClient) GetNewUcdnDomainHitRate

API: GetNewUcdnDomainHitRate

获取域名命中率

func (*UCDNClient) GetNewUcdnDomainHttpCode

API: GetNewUcdnDomainHttpCode

获取域名状态码监控

func (*UCDNClient) GetNewUcdnDomainHttpCodeV2

API: GetNewUcdnDomainHttpCodeV2

获取域名详细状态码监控

func (*UCDNClient) GetNewUcdnDomainRequestNum

API: GetNewUcdnDomainRequestNum

获取域名请求数

func (*UCDNClient) GetUcdnDomain95BandwidthV2 added in v0.19.2

API: GetUcdnDomain95BandwidthV2

获取域名九五峰值带宽数据

func (*UCDNClient) GetUcdnDomainBandwidthV2 added in v0.19.2

API: GetUcdnDomainBandwidthV2

获取域名带宽数据(新)

func (*UCDNClient) GetUcdnDomainConfig

API: GetUcdnDomainConfig

批量获取加速域名配置

func (*UCDNClient) GetUcdnDomainHitRate added in v0.21.1

API: GetUcdnDomainHitRate

获取域名命中率

func (*UCDNClient) GetUcdnDomainHttpCodeV2 added in v0.19.2

API: GetUcdnDomainHttpCodeV2

获取域名状态码信息

func (*UCDNClient) GetUcdnDomainInfoList added in v0.21.1

API: GetUcdnDomainInfoList

获取域名基本信息

func (*UCDNClient) GetUcdnDomainLog

func (c *UCDNClient) GetUcdnDomainLog(req *GetUcdnDomainLogRequest) (*GetUcdnDomainLogResponse, error)

API: GetUcdnDomainLog

获取加速域名原始日志

func (*UCDNClient) GetUcdnDomainOriginHttpCode added in v0.21.7

API: GetUcdnDomainOriginHttpCode

获取域名源站状态码监控

func (*UCDNClient) GetUcdnDomainOriginHttpCodeDetail added in v0.21.7

API: GetUcdnDomainOriginHttpCodeDetail

获取域名源站详细状态码监控

func (*UCDNClient) GetUcdnDomainOriginRequestNum added in v0.19.2

API: GetUcdnDomainOriginRequestNum

获取域名回源请求数

func (*UCDNClient) GetUcdnDomainPrefetchEnable

API: GetUcdnDomainPrefetchEnable

获取域名预取开启状态

func (*UCDNClient) GetUcdnDomainRequestNumV2

API: GetUcdnDomainRequestNumV2

获取域名请求数

func (*UCDNClient) GetUcdnDomainRequestNumV3 added in v0.19.2

API: GetUcdnDomainRequestNumV3

获取域名请求数

func (*UCDNClient) GetUcdnDomainTraffic

API: GetUcdnDomainTraffic

获取加速域名流量使用信息

func (*UCDNClient) GetUcdnPassBandwidth

API: GetUcdnPassBandwidth

获取回源带宽数据(cdn回客户源站部分)

func (*UCDNClient) GetUcdnPassBandwidthV2 added in v0.19.2

API: GetUcdnPassBandwidthV2

获取回源带宽数据(cdn回客户源站部分)

func (*UCDNClient) GetUcdnProIspBandwidthV2 added in v0.19.2

API: GetUcdnProIspBandwidthV2

按省份运营商获取域名带宽数据

func (*UCDNClient) GetUcdnProIspRequestNumV2 added in v0.19.2

API: GetUcdnProIspRequestNumV2

按省份运营商获取域名请求数

func (*UCDNClient) GetUcdnTraffic

func (c *UCDNClient) GetUcdnTraffic(req *GetUcdnTrafficRequest) (*GetUcdnTrafficResponse, error)

API: GetUcdnTraffic

获取流量信息

func (*UCDNClient) GetUcdnTrafficV2 added in v0.19.2

func (c *UCDNClient) GetUcdnTrafficV2(req *GetUcdnTrafficV2Request) (*GetUcdnTrafficV2Response, error)

API: GetUcdnTrafficV2

获取流量信息

func (*UCDNClient) NewAddCertificateRequest added in v0.21.16

func (c *UCDNClient) NewAddCertificateRequest() *AddCertificateRequest

NewAddCertificateRequest will create request of AddCertificate action.

func (*UCDNClient) NewBatchDescribeNewUcdnDomainRequest added in v0.19.2

func (c *UCDNClient) NewBatchDescribeNewUcdnDomainRequest() *BatchDescribeNewUcdnDomainRequest

NewBatchDescribeNewUcdnDomainRequest will create request of BatchDescribeNewUcdnDomain action.

func (*UCDNClient) NewBatchRefreshNewUcdnDomainCacheRequest

func (c *UCDNClient) NewBatchRefreshNewUcdnDomainCacheRequest() *BatchRefreshNewUcdnDomainCacheRequest

NewBatchRefreshNewUcdnDomainCacheRequest will create request of BatchRefreshNewUcdnDomainCache action.

func (*UCDNClient) NewDeleteCertificateRequest added in v0.21.16

func (c *UCDNClient) NewDeleteCertificateRequest() *DeleteCertificateRequest

NewDeleteCertificateRequest will create request of DeleteCertificate action.

func (*UCDNClient) NewDescribeNewUcdnPrefetchCacheTaskRequest

func (c *UCDNClient) NewDescribeNewUcdnPrefetchCacheTaskRequest() *DescribeNewUcdnPrefetchCacheTaskRequest

NewDescribeNewUcdnPrefetchCacheTaskRequest will create request of DescribeNewUcdnPrefetchCacheTask action.

func (*UCDNClient) NewDescribeNewUcdnRefreshCacheTaskRequest

func (c *UCDNClient) NewDescribeNewUcdnRefreshCacheTaskRequest() *DescribeNewUcdnRefreshCacheTaskRequest

NewDescribeNewUcdnRefreshCacheTaskRequest will create request of DescribeNewUcdnRefreshCacheTask action.

func (*UCDNClient) NewGetCertificateV2Request added in v0.21.16

func (c *UCDNClient) NewGetCertificateV2Request() *GetCertificateV2Request

NewGetCertificateV2Request will create request of GetCertificateV2 action.

func (*UCDNClient) NewGetNewUcdnDomainBandwidthRequest

func (c *UCDNClient) NewGetNewUcdnDomainBandwidthRequest() *GetNewUcdnDomainBandwidthRequest

NewGetNewUcdnDomainBandwidthRequest will create request of GetNewUcdnDomainBandwidth action.

func (*UCDNClient) NewGetNewUcdnDomainHitRateRequest

func (c *UCDNClient) NewGetNewUcdnDomainHitRateRequest() *GetNewUcdnDomainHitRateRequest

NewGetNewUcdnDomainHitRateRequest will create request of GetNewUcdnDomainHitRate action.

func (*UCDNClient) NewGetNewUcdnDomainHttpCodeRequest

func (c *UCDNClient) NewGetNewUcdnDomainHttpCodeRequest() *GetNewUcdnDomainHttpCodeRequest

NewGetNewUcdnDomainHttpCodeRequest will create request of GetNewUcdnDomainHttpCode action.

func (*UCDNClient) NewGetNewUcdnDomainHttpCodeV2Request

func (c *UCDNClient) NewGetNewUcdnDomainHttpCodeV2Request() *GetNewUcdnDomainHttpCodeV2Request

NewGetNewUcdnDomainHttpCodeV2Request will create request of GetNewUcdnDomainHttpCodeV2 action.

func (*UCDNClient) NewGetNewUcdnDomainRequestNumRequest

func (c *UCDNClient) NewGetNewUcdnDomainRequestNumRequest() *GetNewUcdnDomainRequestNumRequest

NewGetNewUcdnDomainRequestNumRequest will create request of GetNewUcdnDomainRequestNum action.

func (*UCDNClient) NewGetUcdnDomain95BandwidthV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnDomain95BandwidthV2Request() *GetUcdnDomain95BandwidthV2Request

NewGetUcdnDomain95BandwidthV2Request will create request of GetUcdnDomain95BandwidthV2 action.

func (*UCDNClient) NewGetUcdnDomainBandwidthV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnDomainBandwidthV2Request() *GetUcdnDomainBandwidthV2Request

NewGetUcdnDomainBandwidthV2Request will create request of GetUcdnDomainBandwidthV2 action.

func (*UCDNClient) NewGetUcdnDomainConfigRequest

func (c *UCDNClient) NewGetUcdnDomainConfigRequest() *GetUcdnDomainConfigRequest

NewGetUcdnDomainConfigRequest will create request of GetUcdnDomainConfig action.

func (*UCDNClient) NewGetUcdnDomainHitRateRequest added in v0.21.1

func (c *UCDNClient) NewGetUcdnDomainHitRateRequest() *GetUcdnDomainHitRateRequest

NewGetUcdnDomainHitRateRequest will create request of GetUcdnDomainHitRate action.

func (*UCDNClient) NewGetUcdnDomainHttpCodeV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnDomainHttpCodeV2Request() *GetUcdnDomainHttpCodeV2Request

NewGetUcdnDomainHttpCodeV2Request will create request of GetUcdnDomainHttpCodeV2 action.

func (*UCDNClient) NewGetUcdnDomainInfoListRequest added in v0.21.1

func (c *UCDNClient) NewGetUcdnDomainInfoListRequest() *GetUcdnDomainInfoListRequest

NewGetUcdnDomainInfoListRequest will create request of GetUcdnDomainInfoList action.

func (*UCDNClient) NewGetUcdnDomainLogRequest

func (c *UCDNClient) NewGetUcdnDomainLogRequest() *GetUcdnDomainLogRequest

NewGetUcdnDomainLogRequest will create request of GetUcdnDomainLog action.

func (*UCDNClient) NewGetUcdnDomainOriginHttpCodeDetailRequest added in v0.21.7

func (c *UCDNClient) NewGetUcdnDomainOriginHttpCodeDetailRequest() *GetUcdnDomainOriginHttpCodeDetailRequest

NewGetUcdnDomainOriginHttpCodeDetailRequest will create request of GetUcdnDomainOriginHttpCodeDetail action.

func (*UCDNClient) NewGetUcdnDomainOriginHttpCodeRequest added in v0.21.7

func (c *UCDNClient) NewGetUcdnDomainOriginHttpCodeRequest() *GetUcdnDomainOriginHttpCodeRequest

NewGetUcdnDomainOriginHttpCodeRequest will create request of GetUcdnDomainOriginHttpCode action.

func (*UCDNClient) NewGetUcdnDomainOriginRequestNumRequest added in v0.19.2

func (c *UCDNClient) NewGetUcdnDomainOriginRequestNumRequest() *GetUcdnDomainOriginRequestNumRequest

NewGetUcdnDomainOriginRequestNumRequest will create request of GetUcdnDomainOriginRequestNum action.

func (*UCDNClient) NewGetUcdnDomainPrefetchEnableRequest

func (c *UCDNClient) NewGetUcdnDomainPrefetchEnableRequest() *GetUcdnDomainPrefetchEnableRequest

NewGetUcdnDomainPrefetchEnableRequest will create request of GetUcdnDomainPrefetchEnable action.

func (*UCDNClient) NewGetUcdnDomainRequestNumV2Request

func (c *UCDNClient) NewGetUcdnDomainRequestNumV2Request() *GetUcdnDomainRequestNumV2Request

NewGetUcdnDomainRequestNumV2Request will create request of GetUcdnDomainRequestNumV2 action.

func (*UCDNClient) NewGetUcdnDomainRequestNumV3Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnDomainRequestNumV3Request() *GetUcdnDomainRequestNumV3Request

NewGetUcdnDomainRequestNumV3Request will create request of GetUcdnDomainRequestNumV3 action.

func (*UCDNClient) NewGetUcdnDomainTrafficRequest

func (c *UCDNClient) NewGetUcdnDomainTrafficRequest() *GetUcdnDomainTrafficRequest

NewGetUcdnDomainTrafficRequest will create request of GetUcdnDomainTraffic action.

func (*UCDNClient) NewGetUcdnPassBandwidthRequest

func (c *UCDNClient) NewGetUcdnPassBandwidthRequest() *GetUcdnPassBandwidthRequest

NewGetUcdnPassBandwidthRequest will create request of GetUcdnPassBandwidth action.

func (*UCDNClient) NewGetUcdnPassBandwidthV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnPassBandwidthV2Request() *GetUcdnPassBandwidthV2Request

NewGetUcdnPassBandwidthV2Request will create request of GetUcdnPassBandwidthV2 action.

func (*UCDNClient) NewGetUcdnProIspBandwidthV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnProIspBandwidthV2Request() *GetUcdnProIspBandwidthV2Request

NewGetUcdnProIspBandwidthV2Request will create request of GetUcdnProIspBandwidthV2 action.

func (*UCDNClient) NewGetUcdnProIspRequestNumV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnProIspRequestNumV2Request() *GetUcdnProIspRequestNumV2Request

NewGetUcdnProIspRequestNumV2Request will create request of GetUcdnProIspRequestNumV2 action.

func (*UCDNClient) NewGetUcdnTrafficRequest

func (c *UCDNClient) NewGetUcdnTrafficRequest() *GetUcdnTrafficRequest

NewGetUcdnTrafficRequest will create request of GetUcdnTraffic action.

func (*UCDNClient) NewGetUcdnTrafficV2Request added in v0.19.2

func (c *UCDNClient) NewGetUcdnTrafficV2Request() *GetUcdnTrafficV2Request

NewGetUcdnTrafficV2Request will create request of GetUcdnTrafficV2 action.

func (*UCDNClient) NewPrefetchNewUcdnDomainCacheRequest

func (c *UCDNClient) NewPrefetchNewUcdnDomainCacheRequest() *PrefetchNewUcdnDomainCacheRequest

NewPrefetchNewUcdnDomainCacheRequest will create request of PrefetchNewUcdnDomainCache action.

func (*UCDNClient) NewQueryIpLocationRequest added in v0.21.9

func (c *UCDNClient) NewQueryIpLocationRequest() *QueryIpLocationRequest

NewQueryIpLocationRequest will create request of QueryIpLocation action.

func (*UCDNClient) NewRefreshNewUcdnDomainCacheRequest

func (c *UCDNClient) NewRefreshNewUcdnDomainCacheRequest() *RefreshNewUcdnDomainCacheRequest

NewRefreshNewUcdnDomainCacheRequest will create request of RefreshNewUcdnDomainCache action.

func (*UCDNClient) NewSwitchUcdnChargeTypeRequest

func (c *UCDNClient) NewSwitchUcdnChargeTypeRequest() *SwitchUcdnChargeTypeRequest

NewSwitchUcdnChargeTypeRequest will create request of SwitchUcdnChargeType action.

func (*UCDNClient) PrefetchNewUcdnDomainCache

API: PrefetchNewUcdnDomainCache

提交预取任务

func (*UCDNClient) QueryIpLocation added in v0.21.9

func (c *UCDNClient) QueryIpLocation(req *QueryIpLocationRequest) (*QueryIpLocationResponse, error)

API: QueryIpLocation

查询IP信息

func (*UCDNClient) RefreshNewUcdnDomainCache

API: RefreshNewUcdnDomainCache

刷新缓存

func (*UCDNClient) SwitchUcdnChargeType

API: SwitchUcdnChargeType

切换账号计费方式

type UcdnDomainTrafficSet

type UcdnDomainTrafficSet struct {

	// 流量获取的时间点,格式为Unix Timestamp
	Time int

	// 查询每日流量总值,单位:GB
	Value float64
}

UcdnDomainTrafficSet - GetUcdnDomainTraffic

type UrlProgressInfo

type UrlProgressInfo struct {

	// 刷新任务创建的时间。格式为Unix Timestamp
	CreateTime int

	// 任务完成时间。格式为Unix Timestamp
	FinishTime int

	// 刷新进度,单位%
	Progress int

	// 刷新任务的当前状态,枚举值:success:成功;wait:排队中;process:处理中;failure:失败; unknow:未知
	Status string

	// 刷新的单条url
	Url string
}

UrlProgressInfo - UrlProgressInfo

Jump to

Keyboard shortcuts

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