v20191012

package
v3.0.233+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const APIVersion = "2019-10-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type AddEcdnDomainRequest

type AddEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// 域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// 源站配置。
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// 域名加速区域,mainland,overseas或global,分别表示中国境内加速,海外加速或全球加速。
	Area *string `json:"Area,omitempty" name:"Area"`

	// 项目id,默认0。
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// IP黑白名单配置。
	IpFilter *IpFilter `json:"IpFilter,omitempty" name:"IpFilter"`

	// IP限频配置。
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitempty" name:"IpFreqLimit"`

	// 源站响应头部配置。
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitempty" name:"ResponseHeader"`

	// 节点缓存配置。
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// 缓存规则配置。
	Cache *Cache `json:"Cache,omitempty" name:"Cache"`

	// Https配置。
	Https *Https `json:"Https,omitempty" name:"Https"`

	// 访问协议强制跳转配置。
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`
}

func NewAddEcdnDomainRequest

func NewAddEcdnDomainRequest() (request *AddEcdnDomainRequest)

func (*AddEcdnDomainRequest) FromJsonString

func (r *AddEcdnDomainRequest) FromJsonString(s string) error

func (*AddEcdnDomainRequest) ToJsonString

func (r *AddEcdnDomainRequest) ToJsonString() string

type AddEcdnDomainResponse

type AddEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAddEcdnDomainResponse

func NewAddEcdnDomainResponse() (response *AddEcdnDomainResponse)

func (*AddEcdnDomainResponse) FromJsonString

func (r *AddEcdnDomainResponse) FromJsonString(s string) error

func (*AddEcdnDomainResponse) ToJsonString

func (r *AddEcdnDomainResponse) ToJsonString() string

type Cache

type Cache struct {

	// 缓存配置规则数组。
	CacheRules []*CacheRule `json:"CacheRules,omitempty" name:"CacheRules" list`

	// 遵循源站 Cache-Control: max-age 配置,白名单功能。
	// on:开启
	// off:关闭
	// 开启后,未能匹配 CacheRules 规则的资源将根据源站返回的 max-age 值进行节点缓存;匹配了 CacheRules 规则的资源将按照 CacheRules 中设置的缓存过期时间在节点进行缓存
	// 注意:此字段可能返回 null,表示取不到有效值。
	FollowOrigin *string `json:"FollowOrigin,omitempty" name:"FollowOrigin"`
}

type CacheKey

type CacheKey struct {

	// 是否开启全路径缓存,on或off。
	FullUrlCache *string `json:"FullUrlCache,omitempty" name:"FullUrlCache"`
}

type CacheRule

type CacheRule struct {

	// 缓存类型,支持all,file,directory,path,index,分别表示全部文件,后缀类型,目录,完整路径,首页。
	CacheType *string `json:"CacheType,omitempty" name:"CacheType"`

	// 缓存内容列表。
	CacheContents []*string `json:"CacheContents,omitempty" name:"CacheContents" list`

	// 缓存时间,单位秒。
	CacheTime *int64 `json:"CacheTime,omitempty" name:"CacheTime"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddEcdnDomain

func (c *Client) AddEcdnDomain(request *AddEcdnDomainRequest) (response *AddEcdnDomainResponse, err error)

本接口(AddEcdnDomain)用于创建加速域名。

func (*Client) DeleteEcdnDomain

func (c *Client) DeleteEcdnDomain(request *DeleteEcdnDomainRequest) (response *DeleteEcdnDomainResponse, err error)

本接口(DeleteEcdnDomain)用于删除指定加速域名。待删除域名必须处于已停用状态。

func (*Client) DescribeDomains

func (c *Client) DescribeDomains(request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

本接口(DescribeDomains)用于查询CDN域名基本信息,包括项目id,状态,业务类型,创建时间,更新时间等。

func (*Client) DescribeDomainsConfig

func (c *Client) DescribeDomainsConfig(request *DescribeDomainsConfigRequest) (response *DescribeDomainsConfigResponse, err error)

本接口(DescribeDomainsConfig)用于查询CDN加速域名详细配置信息。

func (*Client) DescribeEcdnDomainLogs

func (c *Client) DescribeEcdnDomainLogs(request *DescribeEcdnDomainLogsRequest) (response *DescribeEcdnDomainLogsResponse, err error)

本接口(DescribeEcdnDomainLogs)用于查询域名的访问日志下载地址。

func (*Client) DescribeEcdnDomainStatistics

func (c *Client) DescribeEcdnDomainStatistics(request *DescribeEcdnDomainStatisticsRequest) (response *DescribeEcdnDomainStatisticsResponse, err error)

本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标

func (*Client) DescribeEcdnStatistics

func (c *Client) DescribeEcdnStatistics(request *DescribeEcdnStatisticsRequest) (response *DescribeEcdnStatisticsResponse, err error)

DescribeEcdnStatistics用于查询 ECDN 实时访问监控数据,支持以下指标查询:

+ 流量(单位为 byte) + 带宽(单位为 bps) + 请求数(单位为 次) + 响应时间(单位为ms) + 状态码 2xx 汇总及各 2 开头状态码明细(单位为 个) + 状态码 3xx 汇总及各 3 开头状态码明细(单位为 个) + 状态码 4xx 汇总及各 4 开头状态码明细(单位为 个) + 状态码 5xx 汇总及各 5 开头状态码明细(单位为 个)

func (*Client) DescribePurgeQuota

func (c *Client) DescribePurgeQuota(request *DescribePurgeQuotaRequest) (response *DescribePurgeQuotaResponse, err error)

查询刷新接口的用量配额。

func (*Client) DescribePurgeTasks

func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)

DescribePurgeTasks 用于查询刷新任务提交历史记录及执行进度。

func (*Client) PurgePathCache

func (c *Client) PurgePathCache(request *PurgePathCacheRequest) (response *PurgePathCacheResponse, err error)

PurgePathCache 用于批量刷新目录缓存,一次提交将返回一个刷新任务id。

func (*Client) PurgeUrlsCache

func (c *Client) PurgeUrlsCache(request *PurgeUrlsCacheRequest) (response *PurgeUrlsCacheResponse, err error)

PurgeUrlsCache 用于批量刷新Url,一次提交将返回一个刷新任务id。

func (*Client) StartEcdnDomain

func (c *Client) StartEcdnDomain(request *StartEcdnDomainRequest) (response *StartEcdnDomainResponse, err error)

本接口(StartEcdnDomain)用于启用加速域名,待启用域名必须处于已下线状态。

func (*Client) StopEcdnDomain

func (c *Client) StopEcdnDomain(request *StopEcdnDomainRequest) (response *StopEcdnDomainResponse, err error)

本接口(StopCdnDomain)用于停止加速域名,待停用加速域名必须处于已上线或部署中状态。

func (*Client) UpdateDomainConfig

func (c *Client) UpdateDomainConfig(request *UpdateDomainConfigRequest) (response *UpdateDomainConfigResponse, err error)

本接口(UpdateDomainConfig)用于更新ECDN加速域名配置信息。 注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值。建议通过查询接口获取配置属性后,直接修改后传递给本接口。Https配置由于证书的特殊性,更新时不用传递证书和密钥字段。

type ClientCert

type ClientCert struct {

	// 客户端证书,pem格式。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Certificate *string `json:"Certificate,omitempty" name:"Certificate"`

	// 客户端证书名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CertName *string `json:"CertName,omitempty" name:"CertName"`

	// 证书过期时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// 证书颁发时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`
}

type DeleteEcdnDomainRequest

type DeleteEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// 待删除域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

func NewDeleteEcdnDomainRequest

func NewDeleteEcdnDomainRequest() (request *DeleteEcdnDomainRequest)

func (*DeleteEcdnDomainRequest) FromJsonString

func (r *DeleteEcdnDomainRequest) FromJsonString(s string) error

func (*DeleteEcdnDomainRequest) ToJsonString

func (r *DeleteEcdnDomainRequest) ToJsonString() string

type DeleteEcdnDomainResponse

type DeleteEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteEcdnDomainResponse

func NewDeleteEcdnDomainResponse() (response *DeleteEcdnDomainResponse)

func (*DeleteEcdnDomainResponse) FromJsonString

func (r *DeleteEcdnDomainResponse) FromJsonString(s string) error

func (*DeleteEcdnDomainResponse) ToJsonString

func (r *DeleteEcdnDomainResponse) ToJsonString() string

type DescribeDomainsConfigRequest

type DescribeDomainsConfigRequest struct {
	*tchttp.BaseRequest

	// 分页查询的偏移地址,默认0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 分页查询的域名个数,默认100。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 查询条件过滤器。
	Filters []*DomainFilter `json:"Filters,omitempty" name:"Filters" list`

	// 查询结果排序规则。
	Sort *Sort `json:"Sort,omitempty" name:"Sort"`
}

func NewDescribeDomainsConfigRequest

func NewDescribeDomainsConfigRequest() (request *DescribeDomainsConfigRequest)

func (*DescribeDomainsConfigRequest) FromJsonString

func (r *DescribeDomainsConfigRequest) FromJsonString(s string) error

func (*DescribeDomainsConfigRequest) ToJsonString

func (r *DescribeDomainsConfigRequest) ToJsonString() string

type DescribeDomainsConfigResponse

type DescribeDomainsConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 域名列表。
		Domains []*DomainDetailInfo `json:"Domains,omitempty" name:"Domains" list`

		// 符合查询条件的域名总数,用于分页查询。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDomainsConfigResponse

func NewDescribeDomainsConfigResponse() (response *DescribeDomainsConfigResponse)

func (*DescribeDomainsConfigResponse) FromJsonString

func (r *DescribeDomainsConfigResponse) FromJsonString(s string) error

func (*DescribeDomainsConfigResponse) ToJsonString

func (r *DescribeDomainsConfigResponse) ToJsonString() string

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	*tchttp.BaseRequest

	// 分页查询的偏移地址,默认0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 分页查询的域名个数,默认100,最大支持1000。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 查询条件过滤器。
	Filters []*DomainFilter `json:"Filters,omitempty" name:"Filters" list`
}

func NewDescribeDomainsRequest

func NewDescribeDomainsRequest() (request *DescribeDomainsRequest)

func (*DescribeDomainsRequest) FromJsonString

func (r *DescribeDomainsRequest) FromJsonString(s string) error

func (*DescribeDomainsRequest) ToJsonString

func (r *DescribeDomainsRequest) ToJsonString() string

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 域名信息列表。
		Domains []*DomainBriefInfo `json:"Domains,omitempty" name:"Domains" list`

		// 域名总个数。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDomainsResponse

func NewDescribeDomainsResponse() (response *DescribeDomainsResponse)

func (*DescribeDomainsResponse) FromJsonString

func (r *DescribeDomainsResponse) FromJsonString(s string) error

func (*DescribeDomainsResponse) ToJsonString

func (r *DescribeDomainsResponse) ToJsonString() string

type DescribeEcdnDomainLogsRequest

type DescribeEcdnDomainLogsRequest struct {
	*tchttp.BaseRequest

	// 待查询域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// 日志起始时间。如:2019-10-01 00:00:00
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 日志结束时间,只支持最近30天内日志查询。2019-10-02 00:00:00
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 日志链接列表分页起始地址,默认0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 日志链接列表分页记录条数,默认100,最大1000。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeEcdnDomainLogsRequest

func NewDescribeEcdnDomainLogsRequest() (request *DescribeEcdnDomainLogsRequest)

func (*DescribeEcdnDomainLogsRequest) FromJsonString

func (r *DescribeEcdnDomainLogsRequest) FromJsonString(s string) error

func (*DescribeEcdnDomainLogsRequest) ToJsonString

func (r *DescribeEcdnDomainLogsRequest) ToJsonString() string

type DescribeEcdnDomainLogsResponse

type DescribeEcdnDomainLogsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 日志链接列表。
		// 注意:此字段可能返回 null,表示取不到有效值。
		DomainLogs []*DomainLogs `json:"DomainLogs,omitempty" name:"DomainLogs" list`

		// 日志链接总条数。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEcdnDomainLogsResponse

func NewDescribeEcdnDomainLogsResponse() (response *DescribeEcdnDomainLogsResponse)

func (*DescribeEcdnDomainLogsResponse) FromJsonString

func (r *DescribeEcdnDomainLogsResponse) FromJsonString(s string) error

func (*DescribeEcdnDomainLogsResponse) ToJsonString

func (r *DescribeEcdnDomainLogsResponse) ToJsonString() string

type DescribeEcdnDomainStatisticsRequest

type DescribeEcdnDomainStatisticsRequest struct {
	*tchttp.BaseRequest

	// 查询起始时间,如:2019-12-13 00:00:00。
	// 起止时间不超过90天。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 查询结束时间,如:2019-12-13 23:59:59。
	// 起止时间不超过90天。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 统计指标名称。flux:流量,单位为 byte
	// bandwidth:带宽,单位为 bps
	// request:请求数,单位为 次
	// delay:响应时间,单位为ms
	// static_request : 静态请求数,单位为 次
	// static_flux:静态流量,单位为 byte
	// static_bandwidth : 静态带宽,单位为 bps
	// dynamic_request:动态请求数,单位为 次
	// dynamic_flux:动态流量,单位为 byte
	// dynamic_bandwidth:动态带宽,单位为 bps
	Metrics []*string `json:"Metrics,omitempty" name:"Metrics" list`

	// 指定查询域名列表
	Domains []*string `json:"Domains,omitempty" name:"Domains" list`

	// 指定要查询的项目 ID,[前往查看项目 ID](https://console.cloud.tencent.com/project)
	// 未填充域名情况下,指定项目查询,若填充了具体域名信息,以域名为主
	Projects []*int64 `json:"Projects,omitempty" name:"Projects" list`

	// 列表分页起始地址,默认0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 列表分页记录条数,默认1000,最大3000。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeEcdnDomainStatisticsRequest

func NewDescribeEcdnDomainStatisticsRequest() (request *DescribeEcdnDomainStatisticsRequest)

func (*DescribeEcdnDomainStatisticsRequest) FromJsonString

func (r *DescribeEcdnDomainStatisticsRequest) FromJsonString(s string) error

func (*DescribeEcdnDomainStatisticsRequest) ToJsonString

func (r *DescribeEcdnDomainStatisticsRequest) ToJsonString() string

type DescribeEcdnDomainStatisticsResponse

type DescribeEcdnDomainStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 域名数据
		Data []*DomainData `json:"Data,omitempty" name:"Data" list`

		// 数量
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEcdnDomainStatisticsResponse

func NewDescribeEcdnDomainStatisticsResponse() (response *DescribeEcdnDomainStatisticsResponse)

func (*DescribeEcdnDomainStatisticsResponse) FromJsonString

func (r *DescribeEcdnDomainStatisticsResponse) FromJsonString(s string) error

func (*DescribeEcdnDomainStatisticsResponse) ToJsonString

func (r *DescribeEcdnDomainStatisticsResponse) ToJsonString() string

type DescribeEcdnStatisticsRequest

type DescribeEcdnStatisticsRequest struct {
	*tchttp.BaseRequest

	// 查询起始时间,如:2019-12-13 00:00:00
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 查询结束时间,如:2019-12-13 23:59:59
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 指定查询指标,支持的类型有:
	// flux:流量,单位为 byte
	// bandwidth:带宽,单位为 bps
	// request:请求数,单位为 次
	// delay:响应时间,单位为ms
	// 2xx:返回 2xx 状态码汇总或者 2 开头状态码数据,单位为 个
	// 3xx:返回 3xx 状态码汇总或者 3 开头状态码数据,单位为 个
	// 4xx:返回 4xx 状态码汇总或者 4 开头状态码数据,单位为 个
	// 5xx:返回 5xx 状态码汇总或者 5 开头状态码数据,单位为 个
	// static_request : 静态请求数,单位为 次
	// static_flux:静态流量,单位为 byte
	// static_bandwidth : 静态带宽,单位为 bps
	// dynamic_request:动态请求数,单位为 次
	// dynamic_flux:动态流量,单位为 byte
	// dynamic_bandwidth:动态带宽,单位为 bps
	Metrics []*string `json:"Metrics,omitempty" name:"Metrics" list`

	// 时间粒度,支持以下几种模式:
	// 1 天	 1,5,15,30,60,120,240,1440
	// 2 ~ 3 天	15,30,60,120,240,1440
	// 4 ~ 7 天	30,60,120,240,1440
	// 8 ~ 90 天	 60,120,240,1440
	Interval *int64 `json:"Interval,omitempty" name:"Interval"`

	// 指定查询域名列表
	//
	// 最多可一次性查询30个加速域名。
	Domains []*string `json:"Domains,omitempty" name:"Domains" list`

	// 指定要查询的项目 ID,[前往查看项目 ID](https://console.cloud.tencent.com/project)
	// 未填充域名情况下,指定项目查询,若填充了具体域名信息,以域名为主
	Projects []*int64 `json:"Projects,omitempty" name:"Projects" list`
}

func NewDescribeEcdnStatisticsRequest

func NewDescribeEcdnStatisticsRequest() (request *DescribeEcdnStatisticsRequest)

func (*DescribeEcdnStatisticsRequest) FromJsonString

func (r *DescribeEcdnStatisticsRequest) FromJsonString(s string) error

func (*DescribeEcdnStatisticsRequest) ToJsonString

func (r *DescribeEcdnStatisticsRequest) ToJsonString() string

type DescribeEcdnStatisticsResponse

type DescribeEcdnStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 指定条件查询得到的数据明细
		Data []*ResourceData `json:"Data,omitempty" name:"Data" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeEcdnStatisticsResponse

func NewDescribeEcdnStatisticsResponse() (response *DescribeEcdnStatisticsResponse)

func (*DescribeEcdnStatisticsResponse) FromJsonString

func (r *DescribeEcdnStatisticsResponse) FromJsonString(s string) error

func (*DescribeEcdnStatisticsResponse) ToJsonString

func (r *DescribeEcdnStatisticsResponse) ToJsonString() string

type DescribePurgeQuotaRequest

type DescribePurgeQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribePurgeQuotaRequest

func NewDescribePurgeQuotaRequest() (request *DescribePurgeQuotaRequest)

func (*DescribePurgeQuotaRequest) FromJsonString

func (r *DescribePurgeQuotaRequest) FromJsonString(s string) error

func (*DescribePurgeQuotaRequest) ToJsonString

func (r *DescribePurgeQuotaRequest) ToJsonString() string

type DescribePurgeQuotaResponse

type DescribePurgeQuotaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Url刷新用量及配额。
		UrlPurge *Quota `json:"UrlPurge,omitempty" name:"UrlPurge"`

		// 目录刷新用量及配额。
		PathPurge *Quota `json:"PathPurge,omitempty" name:"PathPurge"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePurgeQuotaResponse

func NewDescribePurgeQuotaResponse() (response *DescribePurgeQuotaResponse)

func (*DescribePurgeQuotaResponse) FromJsonString

func (r *DescribePurgeQuotaResponse) FromJsonString(s string) error

func (*DescribePurgeQuotaResponse) ToJsonString

func (r *DescribePurgeQuotaResponse) ToJsonString() string

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// 查询刷新类型。url:查询 url 刷新记录;path:查询目录刷新记录。
	PurgeType *string `json:"PurgeType,omitempty" name:"PurgeType"`

	// 开始时间,如2018-08-08 00:00:00。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间,如2018-08-08 23:59:59。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 提交时返回的任务 Id,查询时 TaskId 和起始时间必须指定一项。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 分页查询偏移量,默认为0(从第0条开始)。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 分页查询限制数目,默认为20。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 查询关键字,请输入域名或 http(s):// 开头完整 URL。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// 查询指定任务状态,fail表示失败,done表示成功,process表示刷新中。
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewDescribePurgeTasksRequest

func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)

func (*DescribePurgeTasksRequest) FromJsonString

func (r *DescribePurgeTasksRequest) FromJsonString(s string) error

func (*DescribePurgeTasksRequest) ToJsonString

func (r *DescribePurgeTasksRequest) ToJsonString() string

type DescribePurgeTasksResponse

type DescribePurgeTasksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 刷新历史记录。
		PurgeLogs []*PurgeTask `json:"PurgeLogs,omitempty" name:"PurgeLogs" list`

		// 任务总数,用于分页。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePurgeTasksResponse

func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)

func (*DescribePurgeTasksResponse) FromJsonString

func (r *DescribePurgeTasksResponse) FromJsonString(s string) error

func (*DescribePurgeTasksResponse) ToJsonString

func (r *DescribePurgeTasksResponse) ToJsonString() string

type DetailData

type DetailData struct {

	// 数据类型的名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 数据值
	Value *float64 `json:"Value,omitempty" name:"Value"`
}

type DomainBriefInfo

type DomainBriefInfo struct {

	// 域名ID。
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// 腾讯云账号ID。
	AppId *int64 `json:"AppId,omitempty" name:"AppId"`

	// CDN加速域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// 域名CName。
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// 域名状态,pending,rejected,processing, online,offline,deleted分别表示审核中,审核未通过,审核通过部署中,已开启,已关闭,已删除。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 项目ID。
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 域名创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 域名更新时间。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 源站配置详情。
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// 域名封禁状态,normal,overdue,quota,malicious,ddos,idle,unlicensed,capping,readonly分别表示 正常,欠费停服,试用客户流量包耗尽,恶意用户,ddos攻击,无流量域名,未备案,带宽封顶,只读
	Disable *string `json:"Disable,omitempty" name:"Disable"`

	// 加速区域,mainland,oversea或global。
	Area *string `json:"Area,omitempty" name:"Area"`

	// 域名锁定状态,normal、global,分别表示未被锁定、全球锁定。
	Readonly *string `json:"Readonly,omitempty" name:"Readonly"`
}

type DomainData

type DomainData struct {

	// 域名
	Resource *string `json:"Resource,omitempty" name:"Resource"`

	// 结果详情
	DetailData []*DetailData `json:"DetailData,omitempty" name:"DetailData" list`
}

type DomainDetailInfo

type DomainDetailInfo struct {

	// 域名ID。
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// 腾讯云账号ID。
	AppId *int64 `json:"AppId,omitempty" name:"AppId"`

	// 加速域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// 域名CName。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// 域名状态,pending,rejected,processing, online,offline,deleted分别表示审核中,审核未通过,审核通过部署中,已开启,已关闭,已删除。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 项目ID。
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 域名创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 域名更新时间。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 源站配置。
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// IP黑白名单配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IpFilter *IpFilter `json:"IpFilter,omitempty" name:"IpFilter"`

	// IP限频配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitempty" name:"IpFreqLimit"`

	// 源站响应头部配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitempty" name:"ResponseHeader"`

	// 节点缓存配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// 缓存规则配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cache *Cache `json:"Cache,omitempty" name:"Cache"`

	// Https配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Https *Https `json:"Https,omitempty" name:"Https"`

	// 域名封禁状态,normal,overdue,quota,malicious,ddos,idle,unlicensed,capping,readonly分别表示 正常,欠费停服,试用客户流量包耗尽,恶意用户,ddos攻击,无流量域名,未备案,带宽封顶,只读。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Disable *string `json:"Disable,omitempty" name:"Disable"`

	// 访问协议强制跳转配置。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// 加速区域,mainland,overseas或global。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Area *string `json:"Area,omitempty" name:"Area"`

	// 域名锁定状态,normal、global 分别表示未被锁定,全球锁定。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Readonly *string `json:"Readonly,omitempty" name:"Readonly"`
}

type DomainFilter

type DomainFilter struct {

	// 过滤字段名,支持的列表如下:
	// - origin:主源站。
	// - domain:域名。
	// - resourceId:域名id。
	// - status:域名状态,online,offline,processing。
	// - disable:域名封禁状态,normal,unlicensed。
	// - projectId:项目ID。
	// - fullUrlCache:全路径缓存,on或off。
	// - https:是否配置https,on,off或processing。
	// - originPullProtocol:回源协议类型,支持http,follow或https。
	// - area:加速区域,支持mainland,overseas或global。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 过滤字段值。
	Value []*string `json:"Value,omitempty" name:"Value" list`

	// 是否启用模糊查询,仅支持过滤字段名为origin,domain。
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

type DomainLogs

type DomainLogs struct {

	// 日志起始时间。
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 日志结束时间。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 日志下载路径。
	LogPath *string `json:"LogPath,omitempty" name:"LogPath"`
}

type EcdnData

type EcdnData struct {

	// 查询指定的指标名称:Bandwidth,Flux,Request,Delay,状态码,LogBandwidth,LogFlux,LogRequest
	Metrics []*string `json:"Metrics,omitempty" name:"Metrics" list`

	// 明细数据组合
	DetailData []*TimestampData `json:"DetailData,omitempty" name:"DetailData" list`
}

type ForceRedirect

type ForceRedirect struct {

	// 访问协议强制跳转配置开关,on或off。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 强制跳转访问协议类型,支持http,https,分别表示请求强制跳转http协议,请求强制跳转https协议。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RedirectType *string `json:"RedirectType,omitempty" name:"RedirectType"`

	// 强制跳转开启时返回的http状态码,支持301或302。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitempty" name:"RedirectStatusCode"`
}

type Hsts

type Hsts struct {

	// 是否开启,on或off。
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// MaxAge数值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxAge *int64 `json:"MaxAge,omitempty" name:"MaxAge"`

	// 是否包含子域名,on或off。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IncludeSubDomains *string `json:"IncludeSubDomains,omitempty" name:"IncludeSubDomains"`
}

type HttpHeaderPathRule

type HttpHeaderPathRule struct {

	// http头部设置方式,支持add,set或del,分别表示新增,设置或删除头部。
	// 请求头部暂不支持set。
	// 注意:此字段可能返回 null,表示取不到有效值。
	HeaderMode *string `json:"HeaderMode,omitempty" name:"HeaderMode"`

	// http头部名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	HeaderName *string `json:"HeaderName,omitempty" name:"HeaderName"`

	// http头部值。del时可不填写该字段。
	// 注意:此字段可能返回 null,表示取不到有效值。
	HeaderValue *string `json:"HeaderValue,omitempty" name:"HeaderValue"`

	// 生效的url路径规则类型,支持all,file,directory或path,分别表示全部路径,文件后缀类型,目录或绝对路径生效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

	// url路径或文件类型列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RulePaths []*string `json:"RulePaths,omitempty" name:"RulePaths" list`
}

type Https

type Https struct {

	// https配置开关,on或off。开启https配置的域名在部署中状态,开关保持off。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 是否开启http2,on或off。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Http2 *string `json:"Http2,omitempty" name:"Http2"`

	// 是否开启OCSP功能,on或off。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OcspStapling *string `json:"OcspStapling,omitempty" name:"OcspStapling"`

	// 是否开启客户端证书校验功能,on或off,开启时必选上传客户端证书信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	VerifyClient *string `json:"VerifyClient,omitempty" name:"VerifyClient"`

	// 服务器证书配置信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CertInfo *ServerCert `json:"CertInfo,omitempty" name:"CertInfo"`

	// 客户端证书配置信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClientCertInfo *ClientCert `json:"ClientCertInfo,omitempty" name:"ClientCertInfo"`

	// 是否开启Spdy,on或off。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Spdy *string `json:"Spdy,omitempty" name:"Spdy"`

	// https证书部署状态,closed,deploying,deployed,failed分别表示已关闭,部署中,部署成功,部署失败。不可作为入参使用。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SslStatus *string `json:"SslStatus,omitempty" name:"SslStatus"`

	// Hsts配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	Hsts *Hsts `json:"Hsts,omitempty" name:"Hsts"`
}

type IpFilter

type IpFilter struct {

	// IP黑白名单开关,on或off。
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// IP黑白名单类型,whitelist或blacklist。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FilterType *string `json:"FilterType,omitempty" name:"FilterType"`

	// IP黑白名单列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Filters []*string `json:"Filters,omitempty" name:"Filters" list`
}

type IpFreqLimit

type IpFreqLimit struct {

	// IP限频配置开关,on或off。
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 每秒请求数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Qps *int64 `json:"Qps,omitempty" name:"Qps"`
}

type Origin

type Origin struct {

	// 主源站列表,默认格式为 ["ip1:port1", "ip2:port2"]。
	// 支持在源站列表中配置权重,配置IP源站权重格式为 ["ip1:port1:weight1", "ip2:port2:weight2"]。
	Origins []*string `json:"Origins,omitempty" name:"Origins" list`

	// 主源站类型,支持domain,ip,分别表示域名源站,ip源站。
	// 设置Origins时必须填写。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// 回源时Host头部值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServerName *string `json:"ServerName,omitempty" name:"ServerName"`

	// 回源协议类型,支持http,follow,https,分别表示强制http回源,协议跟随回源,https回源。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`

	// 备份源站列表。
	BackupOrigins []*string `json:"BackupOrigins,omitempty" name:"BackupOrigins" list`

	// 备份源站类型,同OriginType。
	// 设置BackupOrigins时必须填写。
	// 注意:此字段可能返回 null,表示取不到有效值。
	BackupOriginType *string `json:"BackupOriginType,omitempty" name:"BackupOriginType"`
}

type PurgePathCacheRequest

type PurgePathCacheRequest struct {
	*tchttp.BaseRequest

	// 要刷新的目录列表,必须包含协议头部。
	Paths []*string `json:"Paths,omitempty" name:"Paths" list`

	// 刷新类型,flush 代表刷新有更新的资源,delete 表示刷新全部资源。
	FlushType *string `json:"FlushType,omitempty" name:"FlushType"`
}

func NewPurgePathCacheRequest

func NewPurgePathCacheRequest() (request *PurgePathCacheRequest)

func (*PurgePathCacheRequest) FromJsonString

func (r *PurgePathCacheRequest) FromJsonString(s string) error

func (*PurgePathCacheRequest) ToJsonString

func (r *PurgePathCacheRequest) ToJsonString() string

type PurgePathCacheResponse

type PurgePathCacheResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 刷新任务Id,前十位为提交任务时的UTC时间。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPurgePathCacheResponse

func NewPurgePathCacheResponse() (response *PurgePathCacheResponse)

func (*PurgePathCacheResponse) FromJsonString

func (r *PurgePathCacheResponse) FromJsonString(s string) error

func (*PurgePathCacheResponse) ToJsonString

func (r *PurgePathCacheResponse) ToJsonString() string

type PurgeTask

type PurgeTask struct {

	// 刷新任务ID。
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// 刷新Url。
	Url *string `json:"Url,omitempty" name:"Url"`

	// 刷新任务状态,fail表示失败,done表示成功,process表示刷新中。
	Status *string `json:"Status,omitempty" name:"Status"`

	// 刷新类型,url表示url刷新,path表示目录刷新。
	PurgeType *string `json:"PurgeType,omitempty" name:"PurgeType"`

	// 刷新资源方式,flush代表刷新更新资源,delete代表刷新全部资源。
	FlushType *string `json:"FlushType,omitempty" name:"FlushType"`

	// 刷新任务提交时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type PurgeUrlsCacheRequest

type PurgeUrlsCacheRequest struct {
	*tchttp.BaseRequest

	// 要刷新的Url列表,必须包含协议头部。
	Urls []*string `json:"Urls,omitempty" name:"Urls" list`
}

func NewPurgeUrlsCacheRequest

func NewPurgeUrlsCacheRequest() (request *PurgeUrlsCacheRequest)

func (*PurgeUrlsCacheRequest) FromJsonString

func (r *PurgeUrlsCacheRequest) FromJsonString(s string) error

func (*PurgeUrlsCacheRequest) ToJsonString

func (r *PurgeUrlsCacheRequest) ToJsonString() string

type PurgeUrlsCacheResponse

type PurgeUrlsCacheResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 刷新任务Id,前十位为提交任务时的UTC时间。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPurgeUrlsCacheResponse

func NewPurgeUrlsCacheResponse() (response *PurgeUrlsCacheResponse)

func (*PurgeUrlsCacheResponse) FromJsonString

func (r *PurgeUrlsCacheResponse) FromJsonString(s string) error

func (*PurgeUrlsCacheResponse) ToJsonString

func (r *PurgeUrlsCacheResponse) ToJsonString() string

type Quota

type Quota struct {

	// 单次批量提交配额上限。
	Batch *int64 `json:"Batch,omitempty" name:"Batch"`

	// 每日提交配额上限。
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// 每日剩余的可提交配额。
	Available *int64 `json:"Available,omitempty" name:"Available"`
}

type ResourceData

type ResourceData struct {

	// 资源名称,根据查询条件不同分为以下几类:
	// 具体域名:表示该域名明细数据
	// multiDomains:表示多域名汇总明细数据
	// 项目 ID:指定项目查询时,显示为项目 ID
	// all:账号维度明细数据
	Resource *string `json:"Resource,omitempty" name:"Resource"`

	// 资源对应的数据明细
	EcdnData *EcdnData `json:"EcdnData,omitempty" name:"EcdnData"`
}

type ResponseHeader

type ResponseHeader struct {

	// 自定义响应头开关,on或off。
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// 自定义响应头规则数组。
	// 注意:此字段可能返回 null,表示取不到有效值。
	HeaderRules []*HttpHeaderPathRule `json:"HeaderRules,omitempty" name:"HeaderRules" list`
}

type ServerCert

type ServerCert struct {

	// 服务器证书id,当证书为腾讯云托管证书时必填。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// 服务器证书名称,当证书为腾讯云托管证书时必填。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CertName *string `json:"CertName,omitempty" name:"CertName"`

	// 服务器证书信息,上传自有证书时必填,必须包含完整的证书链信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Certificate *string `json:"Certificate,omitempty" name:"Certificate"`

	// 服务器密钥信息,上传自有证书时必填。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`

	// 证书过期时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// 证书颁发时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`

	// 证书备注信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitempty" name:"Message"`
}

type Sort

type Sort struct {

	// 排序字段,当前支持:
	// createTime,域名创建时间
	// certExpireTime,证书过期时间
	Key *string `json:"Key,omitempty" name:"Key"`

	// asc/desc,默认desc。
	Sequence *string `json:"Sequence,omitempty" name:"Sequence"`
}

type StartEcdnDomainRequest

type StartEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// 待启用域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

func NewStartEcdnDomainRequest

func NewStartEcdnDomainRequest() (request *StartEcdnDomainRequest)

func (*StartEcdnDomainRequest) FromJsonString

func (r *StartEcdnDomainRequest) FromJsonString(s string) error

func (*StartEcdnDomainRequest) ToJsonString

func (r *StartEcdnDomainRequest) ToJsonString() string

type StartEcdnDomainResponse

type StartEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStartEcdnDomainResponse

func NewStartEcdnDomainResponse() (response *StartEcdnDomainResponse)

func (*StartEcdnDomainResponse) FromJsonString

func (r *StartEcdnDomainResponse) FromJsonString(s string) error

func (*StartEcdnDomainResponse) ToJsonString

func (r *StartEcdnDomainResponse) ToJsonString() string

type StopEcdnDomainRequest

type StopEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// 待停用域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

func NewStopEcdnDomainRequest

func NewStopEcdnDomainRequest() (request *StopEcdnDomainRequest)

func (*StopEcdnDomainRequest) FromJsonString

func (r *StopEcdnDomainRequest) FromJsonString(s string) error

func (*StopEcdnDomainRequest) ToJsonString

func (r *StopEcdnDomainRequest) ToJsonString() string

type StopEcdnDomainResponse

type StopEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStopEcdnDomainResponse

func NewStopEcdnDomainResponse() (response *StopEcdnDomainResponse)

func (*StopEcdnDomainResponse) FromJsonString

func (r *StopEcdnDomainResponse) FromJsonString(s string) error

func (*StopEcdnDomainResponse) ToJsonString

func (r *StopEcdnDomainResponse) ToJsonString() string

type TimestampData

type TimestampData struct {

	// 数据统计时间点,采用向前汇总模式
	// 以 5 分钟粒度为例,13:35:00 时间点代表的统计数据区间为 13:35:00 至 13:39:59
	Time *string `json:"Time,omitempty" name:"Time"`

	// 数据值
	Value []*float64 `json:"Value,omitempty" name:"Value" list`
}

type UpdateDomainConfigRequest

type UpdateDomainConfigRequest struct {
	*tchttp.BaseRequest

	// 域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// 源站配置。
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// 项目id。
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// IP黑白名单配置。
	IpFilter *IpFilter `json:"IpFilter,omitempty" name:"IpFilter"`

	// IP限频配置。
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitempty" name:"IpFreqLimit"`

	// 源站响应头部配置。
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitempty" name:"ResponseHeader"`

	// 节点缓存配置。
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// 缓存规则配置。
	Cache *Cache `json:"Cache,omitempty" name:"Cache"`

	// Https配置。
	Https *Https `json:"Https,omitempty" name:"Https"`

	// 访问协议强制跳转配置。
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// 域名加速区域,mainland,overseas或global,分别表示中国境内加速,海外加速或全球加速。
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewUpdateDomainConfigRequest

func NewUpdateDomainConfigRequest() (request *UpdateDomainConfigRequest)

func (*UpdateDomainConfigRequest) FromJsonString

func (r *UpdateDomainConfigRequest) FromJsonString(s string) error

func (*UpdateDomainConfigRequest) ToJsonString

func (r *UpdateDomainConfigRequest) ToJsonString() string

type UpdateDomainConfigResponse

type UpdateDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateDomainConfigResponse

func NewUpdateDomainConfigResponse() (response *UpdateDomainConfigResponse)

func (*UpdateDomainConfigResponse) FromJsonString

func (r *UpdateDomainConfigResponse) FromJsonString(s string) error

func (*UpdateDomainConfigResponse) ToJsonString

func (r *UpdateDomainConfigResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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