cdn

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRegion  = "ap-singapore-1"
	ServiceVersion = "2021-03-01"
	ServiceName    = "CDN"
)

Variables

View Source
var ApiInfoList = map[string]*base.ApiInfo{
	"AddCdnDomain": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"AddCdnDomain"},
			"Version": []string{ServiceVersion},
		},
	},
	"StartCdnDomain": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"StartCdnDomain"},
			"Version": []string{ServiceVersion},
		},
	},
	"StopCdnDomain": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"StopCdnDomain"},
			"Version": []string{ServiceVersion},
		},
	},
	"DeleteCdnDomain": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DeleteCdnDomain"},
			"Version": []string{ServiceVersion},
		},
	},
	"ListCdnDomains": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"ListCdnDomains"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnConfig": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnConfig"},
			"Version": []string{ServiceVersion},
		},
	},
	"UpdateCdnConfig": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"UpdateCdnConfig"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeNrtDataSummary": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeNrtDataSummary"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnOriginData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnOriginData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginNrtDataSummary": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginNrtDataSummary"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnDataDetail": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnDataDetail"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeDistrictIspData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeDistrictIspData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeStatisticalData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeStatisticalData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeTopNrtData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeTopNrtData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginTopNrtData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginTopNrtData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeTopStatusCode": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeTopStatusCode"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginTopStatusCode": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginTopStatusCode"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeTopStatisticalData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeTopStatisticalData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnRegionAndIsp": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnRegionAndIsp"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnService": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnService"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeAccountingData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeAccountingData"},
			"Version": []string{ServiceVersion},
		},
	},
	"SubmitRefreshTask": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"SubmitRefreshTask"},
			"Version": []string{ServiceVersion},
		},
	},
	"SubmitPreloadTask": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"SubmitPreloadTask"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeContentTasks": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeContentTasks"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeContentQuota": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeContentQuota"},
			"Version": []string{ServiceVersion},
		},
	},
	"SubmitBlockTask": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"SubmitBlockTask"},
			"Version": []string{ServiceVersion},
		},
	},
	"SubmitUnblockTask": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"SubmitUnblockTask"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeContentBlockTasks": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeContentBlockTasks"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnAccessLog": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnAccessLog"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeIPInfo": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeIPInfo"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeIPListInfo": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeIPListInfo"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCdnUpperIp": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCdnUpperIp"},
			"Version": []string{ServiceVersion},
		},
	},
	"AddCdnCertificate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"AddCdnCertificate"},
			"Version": []string{ServiceVersion},
		},
	},
	"ListCertInfo": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"ListCertInfo"},
			"Version": []string{ServiceVersion},
		},
	},
	"ListCdnCertInfo": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"ListCdnCertInfo"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCertConfig": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCertConfig"},
			"Version": []string{ServiceVersion},
		},
	},
	"BatchDeployCert": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"BatchDeployCert"},
			"Version": []string{ServiceVersion},
		},
	},
	"DeleteCdnCertificate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DeleteCdnCertificate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeAccountingSummary": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeAccountingSummary"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeTemplates": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeTemplates"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeServiceTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeServiceTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeCipherTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeCipherTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"CreateCipherTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"CreateCipherTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"UpdateServiceTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"UpdateServiceTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"UpdateCipherTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"UpdateCipherTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DuplicateTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DuplicateTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"LockTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"LockTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DeleteTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DeleteTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeTemplateDomains": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeTemplateDomains"},
			"Version": []string{ServiceVersion},
		},
	},
	"AddTemplateDomain": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"AddTemplateDomain"},
			"Version": []string{ServiceVersion},
		},
	},
	"UpdateTemplateDomain": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"UpdateTemplateDomain"},
			"Version": []string{ServiceVersion},
		},
	},
	"CreateServiceTemplate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"CreateServiceTemplate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeDistrictData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeDistrictData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeDistrictSummary": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeDistrictSummary"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeSummary": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeSummary"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginSummary": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginSummary"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeUserData": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeUserData"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeDistrictRanking": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeDistrictRanking"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeRanking": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeRanking"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginRanking": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginRanking"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeEdgeStatusCodeRanking": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeEdgeStatusCodeRanking"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeOriginStatusCodeRanking": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeOriginStatusCodeRanking"},
			"Version": []string{ServiceVersion},
		},
	},
	"DescribeStatisticalRanking": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DescribeStatisticalRanking"},
			"Version": []string{ServiceVersion},
		},
	},
	"BatchUpdateCdnConfig": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"BatchUpdateCdnConfig"},
			"Version": []string{ServiceVersion},
		},
	},
	"AddCertificate": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"AddCertificate"},
			"Version": []string{ServiceVersion},
		},
	},
	"DeleteUsageReport": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"DeleteUsageReport"},
			"Version": []string{ServiceVersion},
		},
	},
	"CreateUsageReport": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"CreateUsageReport"},
			"Version": []string{ServiceVersion},
		},
	},
	"ListUsageReports": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"ListUsageReports"},
			"Version": []string{ServiceVersion},
		},
	},
	"TagResources": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"TagResources"},
			"Version": []string{ServiceVersion},
		},
	},
	"UntagResources": {
		Method: http.MethodPost,
		Path:   "/",
		Query: url.Values{
			"Action":  []string{"UntagResources"},
			"Version": []string{ServiceVersion},
		},
	},
}
View Source
var DefaultInstance = NewInstance()

DefaultInstance Package level default instance

View Source
var (
	ServiceInfo = map[string]*base.ServiceInfo{
		DefaultRegion: {
			Host:    "open.byteplusapi.com",
			Timeout: time.Minute * 5,
			Header: http.Header{
				"Accept":       []string{"application/json"},
				"Content-Type": []string{"application/json"},
			},
		},
	}
)

Functions

func GetBoolPtr added in v1.0.23

func GetBoolPtr(b bool) *bool

func GetInt64Ptr added in v1.0.23

func GetInt64Ptr(i64 int64) *int64

func GetStrPtr

func GetStrPtr(str string) *string

Types

type AccountingData

type AccountingData struct {
	Metric string
	Values []DataPoint
}

type AccountingDataDetail

type AccountingDataDetail struct {
	BillingRegion string
	Metrics       []AccountingData
	Name          string
}

type AccountingSummary added in v1.0.23

type AccountingSummary struct {
	BillingCode string
	Name        string
	TimeStamp   int64
	Value       float64
	Values      []DataPoint
}

type AddCdnCertInfo

type AddCdnCertInfo struct {
	Desc *string `json:",omitempty"`
}

type AddCdnCertificateRequest

type AddCdnCertificateRequest struct {
	CertInfo      *AddCdnCertInfo `json:",omitempty"`
	CertType      *string         `json:",omitempty"`
	Certificate   Certificate
	CloseSigCheck *bool   `json:",omitempty"`
	EncryType     *string `json:",omitempty"`
	Source        *string `json:",omitempty"`
}

type AddCdnCertificateResponse

type AddCdnCertificateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           string
}

type AddCdnDomainRequest

type AddCdnDomainRequest struct {
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheHost           *CacheHost `json:",omitempty"`
	CacheKey            []CacheKeyRule
	Compression         *Compression         `json:",omitempty"`
	ConditionalOrigin   *ConditionalOrigin   `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	Domain              string
	DownloadSpeedLimit  *DownloadSpeedLimit `json:",omitempty"`
	FollowRedirect      *bool               `json:",omitempty"`
	HTTPS               *HTTPS              `json:",omitempty"`
	HeaderLogging       *HeaderLog          `json:",omitempty"`
	HttpForcedRedirect  *HttpForcedRedirect `json:",omitempty"`
	IPv6                *IPv6               `json:",omitempty"`
	IpAccessRule        *IpAccessRule       `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit        `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit       `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule   `json:",omitempty"`
	MultiRange          *MultiRange         `json:",omitempty"`
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     *OriginCertCheck `json:",omitempty"`
	OriginHost          *string          `json:",omitempty"`
	OriginIPv6          *string          `json:",omitempty"`
	OriginProtocol      string
	OriginRange         *bool               `json:",omitempty"`
	OriginRetry         *OriginRetry        `json:",omitempty"`
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	Project             *string             `json:",omitempty"`
	Quic                *Quic               `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestBlockRule    *RequestBlockRule   `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResourceTags        []ResourceTag
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          *RewriteHLS          `json:",omitempty"`
	ServiceRegion       *string              `json:",omitempty"`
	ServiceType         *string              `json:",omitempty"`
	SignedUrlAuth       *SignedUrlAuth       `json:",omitempty"`
	Sparrow             *Sparrow             `json:",omitempty"`
	Timeout             *Timeout             `json:",omitempty"`
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	UrlNormalize        *URLNormalize        `json:",omitempty"`
	VideoDrag           *VideoDrag           `json:",omitempty"`
	Websocket           *Websocket           `json:",omitempty"`
}

type AddCdnDomainResponse

type AddCdnDomainResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type AddCertificateRequest added in v1.0.31

type AddCertificateRequest struct {
	CertType       *string `json:",omitempty"`
	Certificate    string
	CloseSigCheck  *bool   `json:",omitempty"`
	Desc           *string `json:",omitempty"`
	EncryType      *string `json:",omitempty"`
	EncryptionCert *string `json:",omitempty"`
	EncryptionKey  *string `json:",omitempty"`
	PrivateKey     string
	Repeatable     *bool   `json:",omitempty"`
	Source         *string `json:",omitempty"`
}

type AddCertificateResponse added in v1.0.31

type AddCertificateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           AddCertificateResult
}

type AddCertificateResult added in v1.0.31

type AddCertificateResult struct {
	CertId string
}

type AddTemplateDomainRequest added in v1.0.23

type AddTemplateDomainRequest struct {
	CertId            *string `json:",omitempty"`
	CipherTemplateId  *string `json:",omitempty"`
	Domain            string
	HTTPSSwitch       *string `json:",omitempty"`
	Project           *string `json:",omitempty"`
	ServiceRegion     *string `json:",omitempty"`
	ServiceTemplateId string
	Tags              []ResourceTag
}

type AddTemplateDomainResponse added in v1.0.23

type AddTemplateDomainResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type AreaAccessRule

type AreaAccessRule struct {
	Area     []string
	RuleType *string `json:",omitempty"`
	Switch   *bool   `json:",omitempty"`
}

type AuthCacheAction

type AuthCacheAction struct {
	Action     *string `json:",omitempty"`
	CacheKey   []string
	IgnoreCase *bool  `json:",omitempty"`
	Ttl        *int64 `json:",omitempty"`
}

type AuthModeConfig

type AuthModeConfig struct {
	BackupRemoteAddr *string `json:",omitempty"`
	MasterRemoteAddr *string `json:",omitempty"`
	PathType         *string `json:",omitempty"`
	PathValue        *string `json:",omitempty"`
	RequestMethod    *string `json:",omitempty"`
}

type AuthRequestHeaderRule

type AuthRequestHeaderRule struct {
	RequestHeaderComponents *RequestHeaderComponent `json:",omitempty"`
	RequestHeaderInstances  []RequestHeaderInstance
	RequestHost             *string `json:",omitempty"`
}

type AuthResponseConfig

type AuthResponseConfig struct {
	CacheAction      *AuthCacheAction   `json:",omitempty"`
	ResponseAction   *ResponseAction    `json:",omitempty"`
	StatusCodeAction *StatusCodeAction  `json:",omitempty"`
	TimeOutAction    *AuthTimeoutAction `json:",omitempty"`
}

type AuthTimeoutAction added in v1.0.23

type AuthTimeoutAction struct {
	Action *string `json:",omitempty"`
	Time   *int64  `json:",omitempty"`
}

type BandwidthLimit

type BandwidthLimit struct {
	BandwidthLimitRule *BandwidthLimitRule `json:",omitempty"`
	Switch             *bool               `json:",omitempty"`
}

type BandwidthLimitAction

type BandwidthLimitAction struct {
	BandwidthThreshold *int64  `json:",omitempty"`
	LimitType          *string `json:",omitempty"`
	SpeedLimitRate     *int64  `json:",omitempty"`
	SpeedLimitRateMax  *int64  `json:",omitempty"`
}

type BandwidthLimitRule

type BandwidthLimitRule struct {
	BandwidthLimitAction *BandwidthLimitAction `json:",omitempty"`
	Condition            *Condition            `json:",omitempty"`
}

type BatchDeployCertRequest

type BatchDeployCertRequest struct {
	CertId  string
	CertId2 *string `json:",omitempty"`
	Domain  string
}

type BatchDeployCertResponse

type BatchDeployCertResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           BatchDeployCertResult
}

type BatchDeployCertResult

type BatchDeployCertResult struct {
	DeployResult []CertDeployStatus
}

type BatchUpdateCdnConfigRequest added in v1.0.31

type BatchUpdateCdnConfigRequest struct {
	Aggregate           *bool           `json:",omitempty"`
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheHost           *CacheHost `json:",omitempty"`
	CacheKey            []CacheKeyRule
	Compression         *Compression         `json:",omitempty"`
	ConditionalOrigin   *ConditionalOrigin   `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	Domains             []string
	DownloadSpeedLimit  *DownloadSpeedLimit `json:",omitempty"`
	FollowRedirect      *bool               `json:",omitempty"`
	HTTPS               *HTTPS              `json:",omitempty"`
	HeaderLogging       *HeaderLog          `json:",omitempty"`
	HttpForcedRedirect  *HttpForcedRedirect `json:",omitempty"`
	IPv6                *IPv6               `json:",omitempty"`
	IpAccessRule        *IpAccessRule       `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit        `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit       `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule   `json:",omitempty"`
	MultiRange          *MultiRange         `json:",omitempty"`
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     *OriginCertCheck    `json:",omitempty"`
	OriginHost          *string             `json:",omitempty"`
	OriginIPv6          *string             `json:",omitempty"`
	OriginProtocol      *string             `json:",omitempty"`
	OriginRange         *bool               `json:",omitempty"`
	OriginRetry         *OriginRetry        `json:",omitempty"`
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	Quic                *Quic               `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestBlockRule    *RequestBlockRule   `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          *RewriteHLS          `json:",omitempty"`
	ServiceRegion       *string              `json:",omitempty"`
	ServiceType         *string              `json:",omitempty"`
	SignedUrlAuth       *SignedUrlAuth       `json:",omitempty"`
	Sparrow             *Sparrow             `json:",omitempty"`
	Timeout             *Timeout             `json:",omitempty"`
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	UrlNormalize        *URLNormalize        `json:",omitempty"`
	Websocket           *Websocket           `json:",omitempty"`
}

type BatchUpdateCdnConfigResponse added in v1.0.31

type BatchUpdateCdnConfigResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           BatchUpdateCdnConfigResult
}

type BatchUpdateCdnConfigResult added in v1.0.31

type BatchUpdateCdnConfigResult struct {
	DeployResult []DeployResult
}

type BlockAction added in v1.0.23

type BlockAction struct {
	Action      *string `json:",omitempty"`
	ErrorPage   *string `json:",omitempty"`
	RedirectUrl *string `json:",omitempty"`
	StatusCode  *string `json:",omitempty"`
}

type BlockRule added in v1.0.23

type BlockRule struct {
	BlockAction *BlockAction `json:",omitempty"`
	Condition   *Condition   `json:",omitempty"`
	RuleName    *string      `json:",omitempty"`
}

type BlockTaskInfo added in v1.0.23

type BlockTaskInfo struct {
	BlockReason string
	CreateTime  int64
	Status      string
	TaskID      string
	TaskType    string
	Url         string
}

type BoundDomain added in v1.0.23

type BoundDomain struct {
	BoundTime int64
	Domain    string
}

type BrowserCacheControlRule

type BrowserCacheControlRule struct {
	CacheAction *CacheAction `json:",omitempty"`
	Condition   *Condition   `json:",omitempty"`
}

type CDN

type CDN struct {
	Client *base.Client
}

func NewInstance

func NewInstance() *CDN

func (*CDN) AddCdnCertificate

func (s *CDN) AddCdnCertificate(dto *AddCdnCertificateRequest) (responseBody *AddCdnCertificateResponse, err error)

func (*CDN) AddCdnDomain

func (s *CDN) AddCdnDomain(dto *AddCdnDomainRequest) (responseBody *AddCdnDomainResponse, err error)

func (*CDN) AddCertificate added in v1.0.31

func (s *CDN) AddCertificate(dto *AddCertificateRequest) (responseBody *AddCertificateResponse, err error)

func (*CDN) AddTemplateDomain added in v1.0.23

func (s *CDN) AddTemplateDomain(dto *AddTemplateDomainRequest) (responseBody *AddTemplateDomainResponse, err error)

func (*CDN) BatchDeployCert

func (s *CDN) BatchDeployCert(dto *BatchDeployCertRequest) (responseBody *BatchDeployCertResponse, err error)

func (*CDN) BatchUpdateCdnConfig added in v1.0.31

func (s *CDN) BatchUpdateCdnConfig(dto *BatchUpdateCdnConfigRequest) (responseBody *BatchUpdateCdnConfigResponse, err error)

func (*CDN) CreateCipherTemplate added in v1.0.23

func (s *CDN) CreateCipherTemplate(dto *CreateCipherTemplateRequest) (responseBody *CreateCipherTemplateResponse, err error)

func (*CDN) CreateServiceTemplate added in v1.0.23

func (s *CDN) CreateServiceTemplate(dto *CreateServiceTemplateRequest) (responseBody *CreateServiceTemplateResponse, err error)

func (*CDN) CreateUsageReport added in v1.0.31

func (s *CDN) CreateUsageReport(dto *CreateUsageReportRequest) (responseBody *CreateUsageReportResponse, err error)

func (*CDN) DeleteCdnCertificate added in v1.0.23

func (s *CDN) DeleteCdnCertificate(dto *DeleteCdnCertificateRequest) (responseBody *DeleteCdnCertificateResponse, err error)

func (*CDN) DeleteCdnDomain

func (s *CDN) DeleteCdnDomain(dto *DeleteCdnDomainRequest) (responseBody *DeleteCdnDomainResponse, err error)

func (*CDN) DeleteTemplate added in v1.0.23

func (s *CDN) DeleteTemplate(dto *DeleteTemplateRequest) (responseBody *DeleteTemplateResponse, err error)

func (*CDN) DeleteUsageReport added in v1.0.31

func (s *CDN) DeleteUsageReport(dto *DeleteUsageReportRequest) (responseBody *DeleteUsageReportResponse, err error)

func (*CDN) DescribeAccountingData

func (s *CDN) DescribeAccountingData(dto *DescribeAccountingDataRequest) (responseBody *DescribeAccountingDataResponse, err error)

func (*CDN) DescribeAccountingSummary added in v1.0.23

func (s *CDN) DescribeAccountingSummary(dto *DescribeAccountingSummaryRequest) (responseBody *DescribeAccountingSummaryResponse, err error)

func (*CDN) DescribeCdnAccessLog

func (s *CDN) DescribeCdnAccessLog(dto *DescribeCdnAccessLogRequest) (responseBody *DescribeCdnAccessLogResponse, err error)

func (*CDN) DescribeCdnConfig

func (s *CDN) DescribeCdnConfig(dto *DescribeCdnConfigRequest) (responseBody *DescribeCdnConfigResponse, err error)

func (*CDN) DescribeCdnData

func (s *CDN) DescribeCdnData(dto *DescribeCdnDataRequest) (responseBody *DescribeCdnDataResponse, err error)

func (*CDN) DescribeCdnDataDetail

func (s *CDN) DescribeCdnDataDetail(dto *DescribeCdnDataDetailRequest) (responseBody *DescribeCdnDataDetailResponse, err error)

func (*CDN) DescribeCdnOriginData

func (s *CDN) DescribeCdnOriginData(dto *DescribeCdnOriginDataRequest) (responseBody *DescribeCdnOriginDataResponse, err error)

func (*CDN) DescribeCdnRegionAndIsp

func (s *CDN) DescribeCdnRegionAndIsp(dto *DescribeCdnRegionAndIspRequest) (responseBody *DescribeCdnRegionAndIspResponse, err error)

func (*CDN) DescribeCdnService

func (s *CDN) DescribeCdnService() (responseBody *DescribeCdnServiceResponse, err error)

func (*CDN) DescribeCdnUpperIp

func (s *CDN) DescribeCdnUpperIp(dto *DescribeCdnUpperIpRequest) (responseBody *DescribeCdnUpperIpResponse, err error)

func (*CDN) DescribeCertConfig

func (s *CDN) DescribeCertConfig(dto *DescribeCertConfigRequest) (responseBody *DescribeCertConfigResponse, err error)

func (*CDN) DescribeCipherTemplate added in v1.0.23

func (s *CDN) DescribeCipherTemplate(dto *DescribeCipherTemplateRequest) (responseBody *DescribeCipherTemplateResponse, err error)

func (*CDN) DescribeContentBlockTasks

func (s *CDN) DescribeContentBlockTasks(dto *DescribeContentBlockTasksRequest) (responseBody *DescribeContentBlockTasksResponse, err error)

func (*CDN) DescribeContentQuota

func (s *CDN) DescribeContentQuota() (responseBody *DescribeContentQuotaResponse, err error)

func (*CDN) DescribeContentTasks

func (s *CDN) DescribeContentTasks(dto *DescribeContentTasksRequest) (responseBody *DescribeContentTasksResponse, err error)

func (*CDN) DescribeDistrictData added in v1.0.31

func (s *CDN) DescribeDistrictData(dto *DescribeDistrictDataRequest) (responseBody *DescribeDistrictDataResponse, err error)

func (*CDN) DescribeDistrictIspData

func (s *CDN) DescribeDistrictIspData(dto *DescribeDistrictIspDataRequest) (responseBody *DescribeDistrictIspDataResponse, err error)

func (*CDN) DescribeDistrictRanking added in v1.0.31

func (s *CDN) DescribeDistrictRanking(dto *DescribeDistrictRankingRequest) (responseBody *DescribeDistrictRankingResponse, err error)

func (*CDN) DescribeDistrictSummary added in v1.0.31

func (s *CDN) DescribeDistrictSummary(dto *DescribeDistrictSummaryRequest) (responseBody *DescribeDistrictSummaryResponse, err error)

func (*CDN) DescribeEdgeData added in v1.0.31

func (s *CDN) DescribeEdgeData(dto *DescribeEdgeDataRequest) (responseBody *DescribeEdgeDataResponse, err error)

func (*CDN) DescribeEdgeNrtDataSummary

func (s *CDN) DescribeEdgeNrtDataSummary(dto *DescribeEdgeNrtDataSummaryRequest) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)

func (*CDN) DescribeEdgeRanking added in v1.0.31

func (s *CDN) DescribeEdgeRanking(dto *DescribeEdgeRankingRequest) (responseBody *DescribeEdgeRankingResponse, err error)

func (*CDN) DescribeEdgeStatisticalData

func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest) (responseBody *DescribeEdgeStatisticalDataResponse, err error)

func (*CDN) DescribeEdgeStatusCodeRanking added in v1.0.31

func (s *CDN) DescribeEdgeStatusCodeRanking(dto *DescribeEdgeStatusCodeRankingRequest) (responseBody *DescribeEdgeStatusCodeRankingResponse, err error)

func (*CDN) DescribeEdgeSummary added in v1.0.31

func (s *CDN) DescribeEdgeSummary(dto *DescribeEdgeSummaryRequest) (responseBody *DescribeEdgeSummaryResponse, err error)

func (*CDN) DescribeEdgeTopNrtData

func (s *CDN) DescribeEdgeTopNrtData(dto *DescribeEdgeTopNrtDataRequest) (responseBody *DescribeEdgeTopNrtDataResponse, err error)

func (*CDN) DescribeEdgeTopStatisticalData

func (s *CDN) DescribeEdgeTopStatisticalData(dto *DescribeEdgeTopStatisticalDataRequest) (responseBody *DescribeEdgeTopStatisticalDataResponse, err error)

func (*CDN) DescribeEdgeTopStatusCode

func (s *CDN) DescribeEdgeTopStatusCode(dto *DescribeEdgeTopStatusCodeRequest) (responseBody *DescribeEdgeTopStatusCodeResponse, err error)

func (*CDN) DescribeIPInfo

func (s *CDN) DescribeIPInfo(dto *DescribeIPInfoRequest) (responseBody *DescribeIPInfoResponse, err error)

func (*CDN) DescribeIPListInfo

func (s *CDN) DescribeIPListInfo(dto *DescribeIPListInfoRequest) (responseBody *DescribeIPListInfoResponse, err error)

func (*CDN) DescribeOriginData added in v1.0.31

func (s *CDN) DescribeOriginData(dto *DescribeOriginDataRequest) (responseBody *DescribeOriginDataResponse, err error)

func (*CDN) DescribeOriginNrtDataSummary

func (s *CDN) DescribeOriginNrtDataSummary(dto *DescribeOriginNrtDataSummaryRequest) (responseBody *DescribeOriginNrtDataSummaryResponse, err error)

func (*CDN) DescribeOriginRanking added in v1.0.31

func (s *CDN) DescribeOriginRanking(dto *DescribeOriginRankingRequest) (responseBody *DescribeOriginRankingResponse, err error)

func (*CDN) DescribeOriginStatusCodeRanking added in v1.0.31

func (s *CDN) DescribeOriginStatusCodeRanking(dto *DescribeOriginStatusCodeRankingRequest) (responseBody *DescribeOriginStatusCodeRankingResponse, err error)

func (*CDN) DescribeOriginSummary added in v1.0.31

func (s *CDN) DescribeOriginSummary(dto *DescribeOriginSummaryRequest) (responseBody *DescribeOriginSummaryResponse, err error)

func (*CDN) DescribeOriginTopNrtData

func (s *CDN) DescribeOriginTopNrtData(dto *DescribeOriginTopNrtDataRequest) (responseBody *DescribeOriginTopNrtDataResponse, err error)

func (*CDN) DescribeOriginTopStatusCode

func (s *CDN) DescribeOriginTopStatusCode(dto *DescribeOriginTopStatusCodeRequest) (responseBody *DescribeOriginTopStatusCodeResponse, err error)

func (*CDN) DescribeServiceTemplate added in v1.0.23

func (s *CDN) DescribeServiceTemplate(dto *DescribeServiceTemplateRequest) (responseBody *DescribeServiceTemplateResponse, err error)

func (*CDN) DescribeStatisticalRanking added in v1.0.31

func (s *CDN) DescribeStatisticalRanking(dto *DescribeStatisticalRankingRequest) (responseBody *DescribeStatisticalRankingResponse, err error)

func (*CDN) DescribeTemplateDomains added in v1.0.23

func (s *CDN) DescribeTemplateDomains(dto *DescribeTemplateDomainsRequest) (responseBody *DescribeTemplateDomainsResponse, err error)

func (*CDN) DescribeTemplates added in v1.0.23

func (s *CDN) DescribeTemplates(dto *DescribeTemplatesRequest) (responseBody *DescribeTemplatesResponse, err error)

func (*CDN) DescribeUserData added in v1.0.31

func (s *CDN) DescribeUserData(dto *DescribeUserDataRequest) (responseBody *DescribeUserDataResponse, err error)

func (*CDN) DuplicateTemplate added in v1.0.23

func (s *CDN) DuplicateTemplate(dto *DuplicateTemplateRequest) (responseBody *DuplicateTemplateResponse, err error)

func (*CDN) GetAPIInfo

func (s *CDN) GetAPIInfo(api string) *base.ApiInfo

func (*CDN) GetServiceInfo

func (s *CDN) GetServiceInfo(region string) *base.ServiceInfo

func (*CDN) ListCdnCertInfo

func (s *CDN) ListCdnCertInfo(dto *ListCdnCertInfoRequest) (responseBody *ListCdnCertInfoResponse, err error)

func (*CDN) ListCdnDomains

func (s *CDN) ListCdnDomains(dto *ListCdnDomainsRequest) (responseBody *ListCdnDomainsResponse, err error)

func (*CDN) ListCertInfo

func (s *CDN) ListCertInfo(dto *ListCertInfoRequest) (responseBody *ListCertInfoResponse, err error)

func (*CDN) ListUsageReports added in v1.0.31

func (s *CDN) ListUsageReports(dto *ListUsageReportsRequest) (responseBody *ListUsageReportsResponse, err error)

func (*CDN) LockTemplate added in v1.0.23

func (s *CDN) LockTemplate(dto *LockTemplateRequest) (responseBody *LockTemplateResponse, err error)

func (*CDN) SendCommonRequest

func (s *CDN) SendCommonRequest(action string, in interface{}, out interface{}) error

func (*CDN) SetHost

func (s *CDN) SetHost(host string)

func (*CDN) SetRegion

func (s *CDN) SetRegion(region string)

func (*CDN) SetSchema

func (s *CDN) SetSchema(schema string)

SetSchema .

func (*CDN) StartCdnDomain

func (s *CDN) StartCdnDomain(dto *StartCdnDomainRequest) (responseBody *StartCdnDomainResponse, err error)

func (*CDN) StopCdnDomain

func (s *CDN) StopCdnDomain(dto *StopCdnDomainRequest) (responseBody *StopCdnDomainResponse, err error)

func (*CDN) SubmitBlockTask

func (s *CDN) SubmitBlockTask(dto *SubmitBlockTaskRequest) (responseBody *SubmitBlockTaskResponse, err error)

func (*CDN) SubmitPreloadTask

func (s *CDN) SubmitPreloadTask(dto *SubmitPreloadTaskRequest) (responseBody *SubmitPreloadTaskResponse, err error)

func (*CDN) SubmitRefreshTask

func (s *CDN) SubmitRefreshTask(dto *SubmitRefreshTaskRequest) (responseBody *SubmitRefreshTaskResponse, err error)

func (*CDN) SubmitUnblockTask

func (s *CDN) SubmitUnblockTask(dto *SubmitUnblockTaskRequest) (responseBody *SubmitUnblockTaskResponse, err error)

func (*CDN) TagResources added in v1.0.36

func (s *CDN) TagResources(dto *TagResourcesRequest) (responseBody *TagResourcesResponse, err error)

func (*CDN) UntagResources added in v1.0.36

func (s *CDN) UntagResources(dto *UntagResourcesRequest) (responseBody *UntagResourcesResponse, err error)

func (*CDN) UpdateCdnConfig

func (s *CDN) UpdateCdnConfig(dto *UpdateCdnConfigRequest) (responseBody *UpdateCdnConfigResponse, err error)

func (*CDN) UpdateCipherTemplate added in v1.0.23

func (s *CDN) UpdateCipherTemplate(dto *UpdateCipherTemplateRequest) (responseBody *UpdateCipherTemplateResponse, err error)

func (*CDN) UpdateServiceTemplate added in v1.0.23

func (s *CDN) UpdateServiceTemplate(dto *UpdateServiceTemplateRequest) (responseBody *UpdateServiceTemplateResponse, err error)

func (*CDN) UpdateTemplateDomain added in v1.0.23

func (s *CDN) UpdateTemplateDomain(dto *UpdateTemplateDomainRequest) (responseBody *UpdateTemplateDomainResponse, err error)

func (*CDN) ValidateResponse

func (s *CDN) ValidateResponse(meta *ResponseMetadata) error

type CDNError

type CDNError struct {
	Code    string `json:"Code"`
	Message string `json:"Message"`
	Status  int64  `json:"Status"`
}

func (CDNError) Error

func (e CDNError) Error() string

type CacheAction

type CacheAction struct {
	Action        *string `json:",omitempty"`
	DefaultPolicy *string `json:",omitempty"`
	IgnoreCase    *bool   `json:",omitempty"`
	Ttl           *int64  `json:",omitempty"`
}

type CacheControlRule

type CacheControlRule struct {
	CacheAction *CacheAction `json:",omitempty"`
	Condition   *Condition   `json:",omitempty"`
}

type CacheHost added in v1.0.23

type CacheHost struct {
	CacheHostRule []CacheHostRule
	Switch        *bool `json:",omitempty"`
}

type CacheHostAction added in v1.0.23

type CacheHostAction struct {
	CacheHost *string `json:",omitempty"`
}

type CacheHostRule added in v1.0.23

type CacheHostRule struct {
	CacheHostAction *CacheHostAction `json:",omitempty"`
	Condition       *Condition       `json:",omitempty"`
}

type CacheKeyAction

type CacheKeyAction struct {
	CacheKeyComponents []CacheKeyComponent
}

type CacheKeyComponent

type CacheKeyComponent struct {
	Action     *string `json:",omitempty"`
	IgnoreCase *bool   `json:",omitempty"`
	Object     *string `json:",omitempty"`
	Subobject  *string `json:",omitempty"`
}

type CacheKeyRule added in v1.0.23

type CacheKeyRule struct {
	CacheKeyAction *CacheKeyAction `json:",omitempty"`
	Condition      *Condition      `json:",omitempty"`
}

type CdnTemplate added in v1.0.23

type CdnTemplate struct {
	Exception  bool
	TemplateId string
	Title      string
	Type       string
}

type CdnTemplateDomain added in v1.0.23

type CdnTemplateDomain struct {
	CertInfo      TemplateCertInfo
	Cname         string
	Domain        string
	HTTPSSwitch   string
	LockStatus    string
	Project       string
	Remark        string
	ServiceRegion string
	SparrowNumber int64
	SparrowRules  []SparrowRule
	SparrowSwitch string
	Status        string
	Tags          []ResourceTag
	Templates     []CdnTemplate
	WAFStatus     string
}

type CertCheck added in v1.0.31

type CertCheck struct {
	CertInfoList []CertInfo
	Switch       *bool `json:",omitempty"`
}

type CertDeployStatus added in v1.0.23

type CertDeployStatus struct {
	Domain   string
	ErrorMsg string
	Status   string
}

type CertFingerprint added in v1.0.23

type CertFingerprint struct {
	Sha1   string
	Sha256 string
}

type CertInfo

type CertInfo struct {
	CertId        *string      `json:",omitempty"`
	CertName      *string      `json:",omitempty"`
	Certificate   *Certificate `json:",omitempty"`
	Desc          *string      `json:",omitempty"`
	EffectiveTime *int64       `json:",omitempty"`
	EncryType     *string      `json:",omitempty"`
	ExpireTime    *int64       `json:",omitempty"`
	Source        *string      `json:",omitempty"`
}

type Certificate

type Certificate struct {
	Certificate    *string `json:",omitempty"`
	EncryptionCert *string `json:",omitempty"`
	EncryptionKey  *string `json:",omitempty"`
	PrivateKey     *string `json:",omitempty"`
}

type CommonGlobalConfig added in v1.0.23

type CommonGlobalConfig struct {
	ConfigName *string `json:",omitempty"`
}

type CommonReferType added in v1.0.23

type CommonReferType struct {
	IgnoreCase   *bool `json:",omitempty"`
	IgnoreScheme *bool `json:",omitempty"`
	Referers     []string
}

type Compression

type Compression struct {
	CompressionRules []CompressionRule
	Switch           *bool `json:",omitempty"`
}

type CompressionAction

type CompressionAction struct {
	CompressionFormat *string `json:",omitempty"`
	CompressionTarget *string `json:",omitempty"`
	CompressionType   []string
	MinFileSizeKB     *int64 `json:",omitempty"`
}

type CompressionRule

type CompressionRule struct {
	CompressionAction *CompressionAction `json:",omitempty"`
	Condition         *Condition         `json:",omitempty"`
}

type Condition

type Condition struct {
	ConditionRule []ConditionRule
	Connective    *string `json:",omitempty"`
}

type ConditionRule

type ConditionRule struct {
	Name     *string `json:",omitempty"`
	Object   *string `json:",omitempty"`
	Operator *string `json:",omitempty"`
	Type     *string `json:",omitempty"`
	Value    *string `json:",omitempty"`
}

type ConditionalOrigin added in v1.0.31

type ConditionalOrigin struct {
	OriginRules []OriginRules
	Switch      *bool `json:",omitempty"`
}

type ConditionalOriginAction added in v1.0.31

type ConditionalOriginAction struct {
	OriginLines []ConditionalOriginLine
}

type ConditionalOriginLine added in v1.0.31

type ConditionalOriginLine struct {
	Address      *string `json:",omitempty"`
	HttpPort     *string `json:",omitempty"`
	HttpsPort    *string `json:",omitempty"`
	InstanceType *string `json:",omitempty"`
	OriginHost   *string `json:",omitempty"`
}

type ConfiguredDomain added in v1.0.23

type ConfiguredDomain struct {
	Domain string
	Type   string
}

type ContentTask

type ContentTask struct {
	Area          string
	CreateTime    int64
	Delete        bool
	Isp           string
	Layer         string
	Process       string
	RefreshPrefix bool
	Region        string
	Remark        string
	Status        string
	SubArea       string
	TaskID        string
	TaskType      string
	Url           string
}

type CreateCipherTemplateRequest added in v1.0.23

type CreateCipherTemplateRequest struct {
	HTTPS              *HTTPSCommon        `json:",omitempty"`
	HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"`
	Message            *string             `json:",omitempty"`
	Project            *string             `json:",omitempty"`
	Quic               *Quic               `json:",omitempty"`
	Title              string
}

type CreateCipherTemplateResponse added in v1.0.23

type CreateCipherTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           CreateCipherTemplateResult
}

type CreateCipherTemplateResult added in v1.0.23

type CreateCipherTemplateResult struct {
	TemplateId string
}

type CreateServiceTemplateRequest added in v1.0.23

type CreateServiceTemplateRequest struct {
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheHost           *CacheHost `json:",omitempty"`
	CacheKey            []CacheKeyRule
	Compression         *Compression         `json:",omitempty"`
	ConditionalOrigin   *ConditionalOrigin   `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	DownloadSpeedLimit  *DownloadSpeedLimit  `json:",omitempty"`
	FollowRedirect      *bool                `json:",omitempty"`
	IPv6                *IPv6                `json:",omitempty"`
	IpAccessRule        *IpAccessRule        `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit         `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit        `json:",omitempty"`
	Message             *string              `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule    `json:",omitempty"`
	MultiRange          *MultiRange          `json:",omitempty"`
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     *OriginCertCheck `json:",omitempty"`
	OriginHost          *string          `json:",omitempty"`
	OriginIPv6          *string          `json:",omitempty"`
	OriginProtocol      string
	OriginRange         *bool               `json:",omitempty"`
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	Project             *string             `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          *RewriteHLS    `json:",omitempty"`
	SignedUrlAuth       *SignedUrlAuth `json:",omitempty"`
	Timeout             *Timeout       `json:",omitempty"`
	Title               string
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	VideoDrag           *VideoDrag           `json:",omitempty"`
	Websocket           *Websocket           `json:",omitempty"`
}

type CreateServiceTemplateResponse added in v1.0.23

type CreateServiceTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           CreateServiceTemplateResult
}

type CreateServiceTemplateResult added in v1.0.23

type CreateServiceTemplateResult struct {
	TemplateId string
}

type CreateUsageReportRequest added in v1.0.31

type CreateUsageReportRequest struct {
	Aggregate              *string `json:",omitempty"`
	BillingCode            *string `json:",omitempty"`
	BillingRegion          string
	CalculationMethod      *string `json:",omitempty"`
	Domain                 *string `json:",omitempty"`
	EndTime                int64
	ExportType             string
	FreeTimeTrafficCompute *bool   `json:",omitempty"`
	Metric                 *string `json:",omitempty"`
	StartTime              int64
	TaskName               string
	TimeZone               *string `json:",omitempty"`
	TlsTopic               *string `json:",omitempty"`
}

type CreateUsageReportResponse added in v1.0.31

type CreateUsageReportResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           CreateUsageReportResult
}

type CreateUsageReportResult added in v1.0.31

type CreateUsageReportResult struct {
	TaskId string
}

type CustomErrorPage

type CustomErrorPage struct {
	ErrorPageRule []ErrorPageRule
	Switch        *bool `json:",omitempty"`
}

type CustomSignedUrlParam added in v1.0.23

type CustomSignedUrlParam struct {
	ParamType     *string       `json:",omitempty"`
	RequestHeader *string       `json:",omitempty"`
	SupContent    *string       `json:",omitempty"`
	UriParamSup   *UriParamSup  `json:",omitempty"`
	UrlParam      *ParamCapRule `json:",omitempty"`
}

type CustomVariableInstance

type CustomVariableInstance struct {
	Operator *string `json:",omitempty"`
	Type     *string `json:",omitempty"`
	Value    *string `json:",omitempty"`
}

type CustomVariableRules

type CustomVariableRules struct {
	CustomVariableInstances []CustomVariableInstance
}

type CustomizeAccessAction added in v1.0.23

type CustomizeAccessAction struct {
	AllowEmpty    *bool `json:",omitempty"`
	ListRules     []string
	RequestHeader *string `json:",omitempty"`
	RuleType      *string `json:",omitempty"`
}

type CustomizeAccessRule added in v1.0.23

type CustomizeAccessRule struct {
	CustomizeInstances []CustomizeInstance
	Switch             *bool `json:",omitempty"`
}

type CustomizeInstance added in v1.0.23

type CustomizeInstance struct {
	CustomizeRule *CustomizeRule `json:",omitempty"`
}

type CustomizeRule added in v1.0.23

type CustomizeRule struct {
	AccessAction *CustomizeAccessAction `json:",omitempty"`
	Condition    *Condition             `json:",omitempty"`
}

type DataPoint

type DataPoint struct {
	TimeStamp int64
	Value     float64
}

type DeleteCdnCertificateRequest added in v1.0.23

type DeleteCdnCertificateRequest struct {
	CertId string
}

type DeleteCdnCertificateResponse added in v1.0.23

type DeleteCdnCertificateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type DeleteCdnDomainRequest

type DeleteCdnDomainRequest struct {
	Domain string
}

type DeleteCdnDomainResponse

type DeleteCdnDomainResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type DeleteResourceTagsRequest

type DeleteResourceTagsRequest struct {
	ResourceTags []ResourceTag
	Resources    []string
}

type DeleteResourceTagsResponse

type DeleteResourceTagsResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type DeleteTemplateRequest added in v1.0.23

type DeleteTemplateRequest struct {
	TemplateId string
}

type DeleteTemplateResponse added in v1.0.23

type DeleteTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type DeleteUsageReportRequest added in v1.0.31

type DeleteUsageReportRequest struct {
	TaskId string
}

type DeleteUsageReportResponse added in v1.0.31

type DeleteUsageReportResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DeleteUsageReportResult
}

type DeleteUsageReportResult added in v1.0.31

type DeleteUsageReportResult struct {
	TaskIds []string
}

type DeployResult added in v1.0.31

type DeployResult struct {
	Domain   string
	ErrorMsg string
	Status   string
}

type DescribeAccountingDataRequest

type DescribeAccountingDataRequest struct {
	Aggregate        *string `json:",omitempty"`
	BillingRegion    *string `json:",omitempty"`
	Domain           *string `json:",omitempty"`
	EndTime          int64
	Interval         *int64 `json:",omitempty"`
	InverseDomain    *bool  `json:",omitempty"`
	IsWildcardDomain *bool  `json:",omitempty"`
	Metric           string
	Project          *string `json:",omitempty"`
	Protocol         *string `json:",omitempty"`
	StartTime        int64
}

type DescribeAccountingDataResponse

type DescribeAccountingDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeAccountingDataResult
}

type DescribeAccountingDataResult

type DescribeAccountingDataResult struct {
	Resources []AccountingDataDetail
}

type DescribeAccountingSummaryRequest added in v1.0.23

type DescribeAccountingSummaryRequest struct {
	Aggregate     *string `json:",omitempty"`
	BillingCode   *string `json:",omitempty"`
	BillingRegion *string `json:",omitempty"`
	Domain        string
	EndTime       int64
	FreeTime      *string `json:",omitempty"`
	InverseDomain *bool   `json:",omitempty"`
	Project       *string `json:",omitempty"`
	StartTime     int64
	TimeZone      *string `json:",omitempty"`
}

type DescribeAccountingSummaryResponse added in v1.0.23

type DescribeAccountingSummaryResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeAccountingSummaryResult
}

type DescribeAccountingSummaryResult added in v1.0.23

type DescribeAccountingSummaryResult struct {
	Resources []AccountingSummary
}

type DescribeCdnAccessLogRequest

type DescribeCdnAccessLogRequest struct {
	Domain        string
	EndTime       int64
	PageNum       *int64  `json:",omitempty"`
	PageSize      *int64  `json:",omitempty"`
	ServiceRegion *string `json:",omitempty"`
	StartTime     int64
}

type DescribeCdnAccessLogResponse

type DescribeCdnAccessLogResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnAccessLogResult
}

type DescribeCdnAccessLogResult

type DescribeCdnAccessLogResult struct {
	Domain           string
	DomainLogDetails []DomainLogDetail
	PageNum          int64
	PageSize         int64
	TotalCount       int64
}

type DescribeCdnConfigRequest

type DescribeCdnConfigRequest struct {
	Domain string
}

type DescribeCdnConfigResponse

type DescribeCdnConfigResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnConfigResult
}

type DescribeCdnConfigResult

type DescribeCdnConfigResult struct {
	DomainConfig  DomainConfig
	FeatureConfig FeatureConfig
}

type DescribeCdnDataDetailRequest

type DescribeCdnDataDetailRequest struct {
	Domain    string
	EndTime   int64
	Interval  *string `json:",omitempty"`
	IpVersion *string `json:",omitempty"`
	Metric    string
	Protocol  *string `json:",omitempty"`
	StartTime int64
	TimeZone  *string `json:",omitempty"`
}

type DescribeCdnDataDetailResponse

type DescribeCdnDataDetailResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnDataDetailResult
}

type DescribeCdnDataDetailResult

type DescribeCdnDataDetailResult struct {
	DataDetails []NrtDataDetails
	Name        string
}

type DescribeCdnDataRequest

type DescribeCdnDataRequest struct {
	Aggregate           *string `json:",omitempty"`
	Area                *string `json:",omitempty"`
	BillingRegion       *string `json:",omitempty"`
	DisaggregateMetrics *string `json:",omitempty"`
	Domain              *string `json:",omitempty"`
	EndTime             int64
	Interval            *string `json:",omitempty"`
	InverseDomain       *bool   `json:",omitempty"`
	IpVersion           *string `json:",omitempty"`
	IsWildcardDomain    *bool   `json:",omitempty"`
	Isp                 *string `json:",omitempty"`
	Metric              string
	Project             *string `json:",omitempty"`
	Protocol            *string `json:",omitempty"`
	Region              *string `json:",omitempty"`
	StartTime           int64
	TimeZone            *string `json:",omitempty"`
}

type DescribeCdnDataResponse

type DescribeCdnDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnDataResult
}

type DescribeCdnDataResult

type DescribeCdnDataResult struct {
	Resources []NrtDataResource
}

type DescribeCdnOriginDataRequest

type DescribeCdnOriginDataRequest struct {
	Aggregate           *string `json:",omitempty"`
	BillingRegion       *string `json:",omitempty"`
	DisaggregateMetrics *string `json:",omitempty"`
	Domain              *string `json:",omitempty"`
	EndTime             int64
	Interval            *string `json:",omitempty"`
	InverseDomain       *bool   `json:",omitempty"`
	IsWildcardDomain    *bool   `json:",omitempty"`
	Metric              string
	Project             *string `json:",omitempty"`
	StartTime           int64
	TimeZone            *string `json:",omitempty"`
}

type DescribeCdnOriginDataResponse

type DescribeCdnOriginDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnOriginDataResult
}

type DescribeCdnOriginDataResult

type DescribeCdnOriginDataResult struct {
	Resources []NrtDataResource
}

type DescribeCdnRegionAndIspRequest

type DescribeCdnRegionAndIspRequest struct {
	Area    *string `json:",omitempty"`
	Feature *string `json:",omitempty"`
}

type DescribeCdnRegionAndIspResponse

type DescribeCdnRegionAndIspResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnRegionAndIspResult
}

type DescribeCdnRegionAndIspResult

type DescribeCdnRegionAndIspResult struct {
	Isps    []NamePair
	Regions []NamePair
}

type DescribeCdnServiceResponse

type DescribeCdnServiceResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnServiceResult
}

type DescribeCdnServiceResult

type DescribeCdnServiceResult struct {
	ServiceInfos []TopInstanceDetail
}

type DescribeCdnUpperIpRequest

type DescribeCdnUpperIpRequest struct {
	Domain    string
	IpVersion *string `json:",omitempty"`
}

type DescribeCdnUpperIpResponse

type DescribeCdnUpperIpResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCdnUpperIpResult
}

type DescribeCdnUpperIpResult

type DescribeCdnUpperIpResult struct {
	CdnIpv4 []string
	CdnIpv6 []string
}

type DescribeCertConfigRequest

type DescribeCertConfigRequest struct {
	CertId    string
	CertId2   *string `json:",omitempty"`
	CertType  *string `json:",omitempty"`
	EncryType *string `json:",omitempty"`
	Status    *string `json:",omitempty"`
}

type DescribeCertConfigResponse

type DescribeCertConfigResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCertConfigResult
}

type DescribeCertConfigResult

type DescribeCertConfigResult struct {
	CertNotConfig       []DomainStatus
	OtherCertConfig     []DomainCertStatus
	SpecifiedCertConfig []DomainCertStatus
}

type DescribeCipherTemplateRequest added in v1.0.23

type DescribeCipherTemplateRequest struct {
	TemplateId string
}

type DescribeCipherTemplateResponse added in v1.0.23

type DescribeCipherTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeCipherTemplateResult
}

type DescribeCipherTemplateResult added in v1.0.23

type DescribeCipherTemplateResult struct {
	BoundDomains       []BoundDomain
	CreateTime         int64
	Exception          bool
	HTTPS              HTTPSCommon
	HttpForcedRedirect HttpForcedRedirect
	Message            string
	Project            string
	Quic               Quic
	Status             string
	TemplateId         string
	Title              string
	Type               string
	UpdateTime         int64
}

type DescribeContentBlockTasksRequest

type DescribeContentBlockTasksRequest struct {
	DomainName *string `json:",omitempty"`
	EndTime    *int64  `json:",omitempty"`
	PageNum    *int64  `json:",omitempty"`
	PageSize   *int64  `json:",omitempty"`
	StartTime  *int64  `json:",omitempty"`
	Status     *string `json:",omitempty"`
	TaskID     *string `json:",omitempty"`
	TaskType   string
	URL        *string `json:",omitempty"`
}

type DescribeContentBlockTasksResponse

type DescribeContentBlockTasksResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeContentBlockTasksResult
}

type DescribeContentBlockTasksResult

type DescribeContentBlockTasksResult struct {
	Data     []BlockTaskInfo
	PageNum  int64
	PageSize int64
	Total    int64
}

type DescribeContentQuotaResponse

type DescribeContentQuotaResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeContentQuotaResult
}

type DescribeContentQuotaResult

type DescribeContentQuotaResult struct {
	BlockLimit         int64
	BlockQuota         int64
	BlockRemain        int64
	PreloadLimit       int64
	PreloadQuota       int64
	PreloadRemain      int64
	RefreshDirLimit    int64
	RefreshDirQuota    int64
	RefreshDirRemain   int64
	RefreshQuota       int64
	RefreshQuotaLimit  int64
	RefreshRegexLimit  int64
	RefreshRegexQuota  int64
	RefreshRegexRemain int64
	RefreshRemain      int64
	UnblockLimit       int64
	UnblockQuota       int64
	UnblockRemain      int64
}

type DescribeContentTasksRequest

type DescribeContentTasksRequest struct {
	DomainName *string `json:",omitempty"`
	EndTime    *int64  `json:",omitempty"`
	PageNum    *int64  `json:",omitempty"`
	PageSize   *int64  `json:",omitempty"`
	Remark     *string `json:",omitempty"`
	StartTime  *int64  `json:",omitempty"`
	Status     *string `json:",omitempty"`
	TaskID     *string `json:",omitempty"`
	TaskType   string
	Url        *string `json:",omitempty"`
}

type DescribeContentTasksResponse

type DescribeContentTasksResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeContentTasksResult
}

type DescribeContentTasksResult

type DescribeContentTasksResult struct {
	Data     []ContentTask
	PageNum  int64
	PageSize int64
	Total    int64
}

type DescribeDistrictDataRequest added in v1.0.31

type DescribeDistrictDataRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	IpVersion *string `json:",omitempty"`
	Isp       *string `json:",omitempty"`
	Location  *string `json:",omitempty"`
	Metric    string
	Project   *string `json:",omitempty"`
	Protocol  *string `json:",omitempty"`
	Province  *string `json:",omitempty"`
	StartTime int64
}

type DescribeDistrictDataResponse added in v1.0.31

type DescribeDistrictDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeDistrictDataResult
}

type DescribeDistrictDataResult added in v1.0.31

type DescribeDistrictDataResult struct {
	MetricDataList []AccountingData
}

type DescribeDistrictIspDataRequest

type DescribeDistrictIspDataRequest struct {
	Aggregate *string `json:",omitempty"`
	Domain    string
	EndTime   int64
	Interval  *string `json:",omitempty"`
	IpVersion *string `json:",omitempty"`
	Metric    string
	Protocol  *string `json:",omitempty"`
	StartTime int64
	TimeZone  *string `json:",omitempty"`
}

type DescribeDistrictIspDataResponse

type DescribeDistrictIspDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeDistrictIspDataResult
}

type DescribeDistrictIspDataResult

type DescribeDistrictIspDataResult struct {
	Resources []DomainNrtDetailData
}

type DescribeDistrictRankingRequest added in v1.0.31

type DescribeDistrictRankingRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	Item      string
	Metric    string
	Project   *string `json:",omitempty"`
	StartTime int64
}

type DescribeDistrictRankingResponse added in v1.0.31

type DescribeDistrictRankingResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeDistrictRankingResult
}

type DescribeDistrictRankingResult added in v1.0.31

type DescribeDistrictRankingResult struct {
	Item           string
	TopDataDetails []RankingDataDetail
}

type DescribeDistrictSummaryRequest added in v1.0.31

type DescribeDistrictSummaryRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	IpVersion *string `json:",omitempty"`
	Isp       *string `json:",omitempty"`
	Location  *string `json:",omitempty"`
	Metric    string
	Project   *string `json:",omitempty"`
	Protocol  *string `json:",omitempty"`
	Province  *string `json:",omitempty"`
	StartTime int64
}

type DescribeDistrictSummaryResponse added in v1.0.31

type DescribeDistrictSummaryResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeDistrictSummaryResult
}

type DescribeDistrictSummaryResult added in v1.0.31

type DescribeDistrictSummaryResult struct {
	MetricDataList []MetricSummaryData
}

type DescribeEdgeDataRequest added in v1.0.31

type DescribeEdgeDataRequest struct {
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	Interval      *string `json:",omitempty"`
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeEdgeDataResponse added in v1.0.31

type DescribeEdgeDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeDataResult
}

type DescribeEdgeDataResult added in v1.0.31

type DescribeEdgeDataResult struct {
	MetricDataList []AccountingData
}

type DescribeEdgeNrtDataSummaryRequest

type DescribeEdgeNrtDataSummaryRequest struct {
	Aggregate           *string `json:",omitempty"`
	Area                *string `json:",omitempty"`
	BillingRegion       *string `json:",omitempty"`
	DisaggregateMetrics *string `json:",omitempty"`
	Domain              *string `json:",omitempty"`
	EndTime             int64
	Interval            *string `json:",omitempty"`
	InverseDomain       *bool   `json:",omitempty"`
	IpVersion           *string `json:",omitempty"`
	Isp                 *string `json:",omitempty"`
	Metric              string
	Project             *string `json:",omitempty"`
	Protocol            *string `json:",omitempty"`
	Region              *string `json:",omitempty"`
	StartTime           int64
}

type DescribeEdgeNrtDataSummaryResponse

type DescribeEdgeNrtDataSummaryResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeNrtDataSummaryResult
}

type DescribeEdgeNrtDataSummaryResult

type DescribeEdgeNrtDataSummaryResult struct {
	Resources []NrtDataSummaryResource
}

type DescribeEdgeRankingRequest added in v1.0.31

type DescribeEdgeRankingRequest struct {
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	Interval      *string `json:",omitempty"`
	Item          string
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeEdgeRankingResponse added in v1.0.31

type DescribeEdgeRankingResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeRankingResult
}

type DescribeEdgeRankingResult added in v1.0.31

type DescribeEdgeRankingResult struct {
	Item           string
	TopDataDetails []RankingDataDetail
}

type DescribeEdgeStatisticalDataRequest

type DescribeEdgeStatisticalDataRequest struct {
	Area      *string `json:",omitempty"`
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	IpVersion *string `json:",omitempty"`
	Metric    string
	Region    *string `json:",omitempty"`
	StartTime int64
}

type DescribeEdgeStatisticalDataResponse

type DescribeEdgeStatisticalDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeStatisticalDataResult
}

type DescribeEdgeStatisticalDataResult

type DescribeEdgeStatisticalDataResult struct {
	Resources []EdgeStatisticalDataResource
}

type DescribeEdgeStatusCodeRankingRequest added in v1.0.31

type DescribeEdgeStatusCodeRankingRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	Item      string
	Metric    string
	Project   *string `json:",omitempty"`
	StartTime int64
}

type DescribeEdgeStatusCodeRankingResponse added in v1.0.31

type DescribeEdgeStatusCodeRankingResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeStatusCodeRankingResult
}

type DescribeEdgeStatusCodeRankingResult added in v1.0.31

type DescribeEdgeStatusCodeRankingResult struct {
	Item           string
	Metric         string
	TopDataDetails []RankingStatusCodeDetail
}

type DescribeEdgeSummaryRequest added in v1.0.31

type DescribeEdgeSummaryRequest struct {
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	Interval      *string `json:",omitempty"`
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeEdgeSummaryResponse added in v1.0.31

type DescribeEdgeSummaryResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeSummaryResult
}

type DescribeEdgeSummaryResult added in v1.0.31

type DescribeEdgeSummaryResult struct {
	MetricDataList []MetricSummaryData
}

type DescribeEdgeTopNrtDataRequest

type DescribeEdgeTopNrtDataRequest struct {
	Area          *string `json:",omitempty"`
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	Interval      *string `json:",omitempty"`
	InverseDomain *bool   `json:",omitempty"`
	Item          string
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeEdgeTopNrtDataResponse

type DescribeEdgeTopNrtDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeTopNrtDataResult
}

type DescribeEdgeTopNrtDataResult

type DescribeEdgeTopNrtDataResult struct {
	Item           string
	Metric         string
	Name           string
	TopDataDetails []TopNrtDataDetail
}

type DescribeEdgeTopStatisticalDataRequest

type DescribeEdgeTopStatisticalDataRequest struct {
	Area      *string `json:",omitempty"`
	Domain    string
	EndTime   int64
	Item      string
	Metric    string
	StartTime int64
	UaType    *string `json:",omitempty"`
}

type DescribeEdgeTopStatisticalDataResponse

type DescribeEdgeTopStatisticalDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeTopStatisticalDataResult
}

type DescribeEdgeTopStatisticalDataResult

type DescribeEdgeTopStatisticalDataResult struct {
	Item           string
	Metric         string
	Name           string
	TopDataDetails []EdgeTopStatisticalDataDetail
}

type DescribeEdgeTopStatusCodeRequest

type DescribeEdgeTopStatusCodeRequest struct {
	Area          *string `json:",omitempty"`
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	InverseDomain *bool `json:",omitempty"`
	Item          string
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeEdgeTopStatusCodeResponse

type DescribeEdgeTopStatusCodeResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeEdgeTopStatusCodeResult
}

type DescribeEdgeTopStatusCodeResult

type DescribeEdgeTopStatusCodeResult struct {
	Item           string
	Metric         string
	Name           string
	TopDataDetails []TopStatusCodeDetail
}

type DescribeIPInfoRequest

type DescribeIPInfoRequest struct {
	IP string
}

type DescribeIPInfoResponse

type DescribeIPInfoResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeIPInfoResult
}

type DescribeIPInfoResult

type DescribeIPInfoResult struct {
	CdnIp    bool
	IP       string
	ISP      string
	Location string
}

type DescribeIPListInfoRequest

type DescribeIPListInfoRequest struct {
	IpList string
}

type DescribeIPListInfoResponse

type DescribeIPListInfoResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           []IPInfo
}

type DescribeOriginDataRequest added in v1.0.31

type DescribeOriginDataRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	Metric    string
	Project   *string `json:",omitempty"`
	StartTime int64
}

type DescribeOriginDataResponse added in v1.0.31

type DescribeOriginDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginDataResult
}

type DescribeOriginDataResult added in v1.0.31

type DescribeOriginDataResult struct {
	MetricDataList []AccountingData
}

type DescribeOriginNrtDataSummaryRequest

type DescribeOriginNrtDataSummaryRequest struct {
	Aggregate           *string `json:",omitempty"`
	Area                *string `json:",omitempty"`
	BillingRegion       *string `json:",omitempty"`
	DisaggregateMetrics *string `json:",omitempty"`
	Domain              *string `json:",omitempty"`
	EndTime             int64
	Interval            *string `json:",omitempty"`
	InverseDomain       *bool   `json:",omitempty"`
	IpVersion           *string `json:",omitempty"`
	Isp                 *string `json:",omitempty"`
	Metric              string
	Project             *string `json:",omitempty"`
	Protocol            *string `json:",omitempty"`
	Region              *string `json:",omitempty"`
	StartTime           int64
}

type DescribeOriginNrtDataSummaryResponse

type DescribeOriginNrtDataSummaryResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginNrtDataSummaryResult
}

type DescribeOriginNrtDataSummaryResult

type DescribeOriginNrtDataSummaryResult struct {
	Resources []NrtDataSummaryResource
}

type DescribeOriginRankingRequest added in v1.0.31

type DescribeOriginRankingRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	Item      string
	Metric    string
	Project   *string `json:",omitempty"`
	StartTime int64
}

type DescribeOriginRankingResponse added in v1.0.31

type DescribeOriginRankingResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginRankingResult
}

type DescribeOriginRankingResult added in v1.0.31

type DescribeOriginRankingResult struct {
	Item           string
	TopDataDetails []RankingDataDetail
}

type DescribeOriginStatusCodeRankingRequest added in v1.0.31

type DescribeOriginStatusCodeRankingRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	Item      string
	Metric    string
	Project   *string `json:",omitempty"`
	StartTime int64
}

type DescribeOriginStatusCodeRankingResponse added in v1.0.31

type DescribeOriginStatusCodeRankingResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginStatusCodeRankingResult
}

type DescribeOriginStatusCodeRankingResult added in v1.0.31

type DescribeOriginStatusCodeRankingResult struct {
	Item           string
	Metric         string
	TopDataDetails []RankingStatusCodeDetail
}

type DescribeOriginSummaryRequest added in v1.0.31

type DescribeOriginSummaryRequest struct {
	Domain    *string `json:",omitempty"`
	EndTime   int64
	Interval  *string `json:",omitempty"`
	Metric    string
	Project   *string `json:",omitempty"`
	StartTime int64
}

type DescribeOriginSummaryResponse added in v1.0.31

type DescribeOriginSummaryResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginSummaryResult
}

type DescribeOriginSummaryResult added in v1.0.31

type DescribeOriginSummaryResult struct {
	MetricDataList []MetricSummaryData
}

type DescribeOriginTopNrtDataRequest

type DescribeOriginTopNrtDataRequest struct {
	Area          *string `json:",omitempty"`
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	Interval      *string `json:",omitempty"`
	InverseDomain *bool   `json:",omitempty"`
	Item          string
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeOriginTopNrtDataResponse

type DescribeOriginTopNrtDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginTopNrtDataResult
}

type DescribeOriginTopNrtDataResult

type DescribeOriginTopNrtDataResult struct {
	Item           string
	Metric         string
	Name           string
	TopDataDetails []TopNrtDataDetail
}

type DescribeOriginTopStatusCodeRequest

type DescribeOriginTopStatusCodeRequest struct {
	Area          *string `json:",omitempty"`
	BillingRegion *string `json:",omitempty"`
	Domain        *string `json:",omitempty"`
	EndTime       int64
	InverseDomain *bool `json:",omitempty"`
	Item          string
	Metric        string
	Project       *string `json:",omitempty"`
	StartTime     int64
}

type DescribeOriginTopStatusCodeResponse

type DescribeOriginTopStatusCodeResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeOriginTopStatusCodeResult
}

type DescribeOriginTopStatusCodeResult

type DescribeOriginTopStatusCodeResult struct {
	Item           string
	Metric         string
	Name           string
	TopDataDetails []TopStatusCodeDetail
}

type DescribeServiceTemplateRequest added in v1.0.23

type DescribeServiceTemplateRequest struct {
	TemplateId string
}

type DescribeServiceTemplateResponse added in v1.0.23

type DescribeServiceTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeServiceTemplateResult
}

type DescribeServiceTemplateResult added in v1.0.23

type DescribeServiceTemplateResult struct {
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BoundDomains        []BoundDomain
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheHost           *CacheHost `json:",omitempty"`
	CacheKey            []CacheKeyRule
	Compression         *Compression         `json:",omitempty"`
	ConditionalOrigin   *ConditionalOrigin   `json:",omitempty"`
	CreateTime          *int64               `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	DownloadSpeedLimit  *DownloadSpeedLimit  `json:",omitempty"`
	Exception           *bool                `json:",omitempty"`
	FollowRedirect      *bool                `json:",omitempty"`
	IPv6                *IPv6                `json:",omitempty"`
	IpAccessRule        *IpAccessRule        `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit         `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit        `json:",omitempty"`
	Message             *string              `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule    `json:",omitempty"`
	MultiRange          *MultiRange          `json:",omitempty"`
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     *OriginCertCheck `json:",omitempty"`
	OriginHost          *string          `json:",omitempty"`
	OriginIPv6          *string          `json:",omitempty"`
	OriginProtocol      string
	OriginRange         *bool               `json:",omitempty"`
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	Project             *string             `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          *RewriteHLS          `json:",omitempty"`
	SignedUrlAuth       *SignedUrlAuth       `json:",omitempty"`
	Status              *string              `json:",omitempty"`
	TemplateId          *string              `json:",omitempty"`
	Timeout             *Timeout             `json:",omitempty"`
	Title               *string              `json:",omitempty"`
	Type                *string              `json:",omitempty"`
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	UpdateTime          *int64               `json:",omitempty"`
	VideoDrag           *VideoDrag           `json:",omitempty"`
	Websocket           *Websocket           `json:",omitempty"`
}

type DescribeStatisticalRankingRequest added in v1.0.31

type DescribeStatisticalRankingRequest struct {
	Area      *string `json:",omitempty"`
	Domain    string
	EndTime   int64
	Item      string
	Metric    string
	StartTime int64
	UaType    *string `json:",omitempty"`
}

type DescribeStatisticalRankingResponse added in v1.0.31

type DescribeStatisticalRankingResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeStatisticalRankingResult
}

type DescribeStatisticalRankingResult added in v1.0.31

type DescribeStatisticalRankingResult struct {
	Item            string
	Metric          string
	RankingDataList []EdgeTopStatisticalDataDetail
	UaType          string
}

type DescribeTemplateDomainsRequest added in v1.0.23

type DescribeTemplateDomainsRequest struct {
	Filters  []Filter
	PageNum  *int64 `json:",omitempty"`
	PageSize *int64 `json:",omitempty"`
}

type DescribeTemplateDomainsResponse added in v1.0.23

type DescribeTemplateDomainsResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeTemplateDomainsResult
}

type DescribeTemplateDomainsResult added in v1.0.23

type DescribeTemplateDomainsResult struct {
	Domains    []CdnTemplateDomain
	TotalCount int64
}

type DescribeTemplatesRequest added in v1.0.23

type DescribeTemplatesRequest struct {
	Filters  []Filter
	PageNum  *int64 `json:",omitempty"`
	PageSize *int64 `json:",omitempty"`
}

type DescribeTemplatesResponse added in v1.0.23

type DescribeTemplatesResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeTemplatesResult
}

type DescribeTemplatesResult added in v1.0.23

type DescribeTemplatesResult struct {
	Templates  []DomainTemplateInfo
	TotalCount int64
}

type DescribeUserDataRequest added in v1.0.31

type DescribeUserDataRequest struct {
	Domain    string
	EndTime   int64
	Interval  string
	IpVersion *string `json:",omitempty"`
	Location  *string `json:",omitempty"`
	Province  *string `json:",omitempty"`
	StartTime int64
}

type DescribeUserDataResponse added in v1.0.31

type DescribeUserDataResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DescribeUserDataResult
}

type DescribeUserDataResult added in v1.0.31

type DescribeUserDataResult struct {
	MetricDataList []DataPoint
}

type DomainCertStatus added in v1.0.23

type DomainCertStatus struct {
	CerStatus  string
	Domain     string
	DomainLock DomainLock
	Status     string
	Type       string
}

type DomainConfig added in v1.0.23

type DomainConfig struct {
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BackupCname         *string         `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheHost           *CacheHost `json:",omitempty"`
	CacheKey            []CacheKeyRule
	Cname               *string              `json:",omitempty"`
	Compression         *Compression         `json:",omitempty"`
	CreateTime          *int64               `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	Domain              *string              `json:",omitempty"`
	DownloadSpeedLimit  *DownloadSpeedLimit  `json:",omitempty"`
	FollowRedirect      *bool                `json:",omitempty"`
	HTTPS               *HTTPS               `json:",omitempty"`
	HeaderLogging       *HeaderLog           `json:",omitempty"`
	HttpForcedRedirect  *HttpForcedRedirect  `json:",omitempty"`
	IPv6                *IPv6                `json:",omitempty"`
	IpAccessRule        *IpAccessRule        `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit         `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit        `json:",omitempty"`
	LockStatus          *string              `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule    `json:",omitempty"`
	MultiRange          MultiRange
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     OriginCertCheck
	OriginHost          *string `json:",omitempty"`
	OriginIPv6          *string `json:",omitempty"`
	OriginProtocol      string
	OriginRange         *bool `json:",omitempty"`
	OriginRetry         OriginRetry
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	Project             *string             `json:",omitempty"`
	Quic                *Quic               `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestBlockRule    *RequestBlockRule   `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          RewriteHLS
	ServiceRegion       *string `json:",omitempty"`
	ServiceType         string
	SignedUrlAuth       *SignedUrlAuth       `json:",omitempty"`
	Sparrow             *Sparrow             `json:",omitempty"`
	Status              *string              `json:",omitempty"`
	Timeout             *Timeout             `json:",omitempty"`
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	UpdateTime          *int64               `json:",omitempty"`
	UrlNormalize        *URLNormalize        `json:",omitempty"`
	VideoDrag           *VideoDrag           `json:",omitempty"`
	Websocket           Websocket
}

type DomainLock

type DomainLock struct {
	Remark string
	Status string
}

type DomainLogDetail

type DomainLogDetail struct {
	EndTime   int64
	LogName   string
	LogPath   string
	LogSize   int64
	StartTime int64
}

type DomainNrtDetailData

type DomainNrtDetailData struct {
	DataDetails []NrtDataDetails
	Name        string
}

type DomainStatus added in v1.0.23

type DomainStatus struct {
	Domain     string
	DomainLock DomainLock
	Status     string
	Type       string
}

type DomainSummary added in v1.0.23

type DomainSummary struct {
	BackupCname           string
	BackupOrigin          []string
	CacheShared           string
	CacheSharedTargetHost string
	Cname                 string
	ConfigStatus          string
	CreateTime            int64
	Domain                string
	DomainLock            DomainLock
	FeatureConfig         FeatureConfig
	HTTPS                 bool
	IPv6                  bool
	IsConflictDomain      bool
	OriginProtocol        string
	PrimaryOrigin         []string
	Project               string
	ResourceTags          []ResourceTag
	ServiceRegion         string
	ServiceType           string
	SparrowList           []string
	Status                string
	UpdateTime            int64
	Waf                   bool
}

type DomainTemplateInfo added in v1.0.23

type DomainTemplateInfo struct {
	BoundDomains []BoundDomain
	CreateTime   int64
	Exception    bool
	Message      string
	Project      string
	Status       string
	TemplateId   string
	Title        string
	Type         string
	UpdateTime   int64
}

type DownloadSpeedLimit

type DownloadSpeedLimit struct {
	DownloadSpeedLimitRules []DownloadSpeedLimitRule
	Switch                  *bool `json:",omitempty"`
}

type DownloadSpeedLimitAction

type DownloadSpeedLimitAction struct {
	SpeedLimitRate      *int64          `json:",omitempty"`
	SpeedLimitRateAfter *int64          `json:",omitempty"`
	SpeedLimitTime      *SpeedLimitTime `json:",omitempty"`
}

type DownloadSpeedLimitRule

type DownloadSpeedLimitRule struct {
	Condition                *Condition                `json:",omitempty"`
	DownloadSpeedLimitAction *DownloadSpeedLimitAction `json:",omitempty"`
}

type DuplicateTemplateRequest added in v1.0.23

type DuplicateTemplateRequest struct {
	Message            *string `json:",omitempty"`
	Project            *string `json:",omitempty"`
	ReferredTemplateId string
	Title              *string `json:",omitempty"`
}

type DuplicateTemplateResponse added in v1.0.23

type DuplicateTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           DuplicateTemplateResult
}

type DuplicateTemplateResult added in v1.0.23

type DuplicateTemplateResult struct {
	TemplateId string
}

type EdgeStatisticalDataResource

type EdgeStatisticalDataResource struct {
	Metrics []AccountingData
	Name    string
}

type EdgeTopStatisticalDataDetail

type EdgeTopStatisticalDataDetail struct {
	ItemKey   string
	ItemKeyCN string
	Value     float64
}

type ErrorObj

type ErrorObj struct {
	CodeN   int64
	Code    string
	Message string
}

type ErrorPageAction

type ErrorPageAction struct {
	Action       *string `json:",omitempty"`
	RedirectCode *string `json:",omitempty"`
	RedirectUrl  *string `json:",omitempty"`
	StatusCode   *string `json:",omitempty"`
}

type ErrorPageRule

type ErrorPageRule struct {
	ErrorPageAction *ErrorPageAction `json:",omitempty"`
}

type FeatureConfig added in v1.0.23

type FeatureConfig struct {
	OriginV2 bool
}

type Filter added in v1.0.23

type Filter struct {
	Fuzzy *bool   `json:",omitempty"`
	Name  *string `json:",omitempty"`
	Value []string
}

type ForcedRedirect

type ForcedRedirect struct {
	EnableForcedRedirect *bool   `json:",omitempty"`
	StatusCode           *string `json:",omitempty"`
}

type HTTPS

type HTTPS struct {
	CertCheck      *CertCheck `json:",omitempty"`
	CertInfo       *CertInfo  `json:",omitempty"`
	CertInfoList   []CertInfo
	DisableHttp    *bool           `json:",omitempty"`
	ForcedRedirect *ForcedRedirect `json:",omitempty"`
	HTTP2          *bool           `json:",omitempty"`
	Hsts           *Hsts           `json:",omitempty"`
	OCSP           *bool           `json:",omitempty"`
	Switch         *bool           `json:",omitempty"`
	TlsVersion     []string
}

type HTTPSCommon added in v1.0.23

type HTTPSCommon struct {
	CertCheck      *CertCheck      `json:",omitempty"`
	DisableHttp    *bool           `json:",omitempty"`
	ForcedRedirect *ForcedRedirect `json:",omitempty"`
	HTTP2          *bool           `json:",omitempty"`
	Hsts           *Hsts           `json:",omitempty"`
	OCSP           *bool           `json:",omitempty"`
	TlsVersion     []string
}

type HeaderLog

type HeaderLog struct {
	HeaderLogging *string `json:",omitempty"`
	Switch        *bool   `json:",omitempty"`
}

type Hsts

type Hsts struct {
	Subdomain *string `json:",omitempty"`
	Switch    *bool   `json:",omitempty"`
	Ttl       *int64  `json:",omitempty"`
}

type HttpForcedRedirect

type HttpForcedRedirect struct {
	EnableForcedRedirect *bool   `json:",omitempty"`
	StatusCode           *string `json:",omitempty"`
}

type IPInfo

type IPInfo struct {
	CdnIp    bool
	IP       string
	ISP      string
	Location string
}

type IPv6

type IPv6 struct {
	Switch *bool `json:",omitempty"`
}

type IpAccessRule

type IpAccessRule struct {
	Ip           []string
	RuleType     *string             `json:",omitempty"`
	SharedConfig *CommonGlobalConfig `json:",omitempty"`
	Switch       *bool               `json:",omitempty"`
}

type IpFreqLimit

type IpFreqLimit struct {
	IpFreqLimitRules []IpFreqLimitRule
	Switch           *bool `json:",omitempty"`
}

type IpFreqLimitAction

type IpFreqLimitAction struct {
	Action        *string `json:",omitempty"`
	FreqLimitRate *int64  `json:",omitempty"`
	StatusCode    *string `json:",omitempty"`
}

type IpFreqLimitRule

type IpFreqLimitRule struct {
	Condition         *Condition         `json:",omitempty"`
	IpFreqLimitAction *IpFreqLimitAction `json:",omitempty"`
}

type IpSpeedLimit

type IpSpeedLimit struct {
	IpSpeedLimitRules []IpSpeedLimitRule
	Switch            *bool `json:",omitempty"`
}

type IpSpeedLimitAction

type IpSpeedLimitAction struct {
	SpeedLimitRate *int64 `json:",omitempty"`
}

type IpSpeedLimitRule

type IpSpeedLimitRule struct {
	Condition          *Condition          `json:",omitempty"`
	IpSpeedLimitAction *IpSpeedLimitAction `json:",omitempty"`
}

type ListCdnCertInfoRequest

type ListCdnCertInfoRequest struct {
	CertId           *string `json:",omitempty"`
	CertType         *string `json:",omitempty"`
	Configured       *bool   `json:",omitempty"`
	ConfiguredDomain *string `json:",omitempty"`
	DnsName          *string `json:",omitempty"`
	EncryType        *string `json:",omitempty"`
	PageNum          *int64  `json:",omitempty"`
	PageSize         *int64  `json:",omitempty"`
	Source           *string `json:",omitempty"`
	Status           *string `json:",omitempty"`
}

type ListCdnCertInfoResponse

type ListCdnCertInfoResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           ListCdnCertInfoResult
}

type ListCdnCertInfoResult

type ListCdnCertInfoResult struct {
	CertInfo      []ListCertInfo
	ExpiringCount int64
	PageNum       int64
	PageSize      int64
	Total         int64
}

type ListCdnDomainsRequest

type ListCdnDomainsRequest struct {
	Domain         *string `json:",omitempty"`
	ExactMatch     *bool   `json:",omitempty"`
	HTTPS          *bool   `json:",omitempty"`
	IPv6           *bool   `json:",omitempty"`
	NeedSparrows   *bool   `json:",omitempty"`
	OriginProtocol *string `json:",omitempty"`
	PageNum        *int64  `json:",omitempty"`
	PageSize       *int64  `json:",omitempty"`
	PrimaryOrigin  *string `json:",omitempty"`
	Project        *string `json:",omitempty"`
	ResourceTags   []string
	ServiceRegion  *string `json:",omitempty"`
	ServiceType    *string `json:",omitempty"`
	Status         *string `json:",omitempty"`
	TagConnective  *string `json:",omitempty"`
}

type ListCdnDomainsResponse

type ListCdnDomainsResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           ListCdnDomainsResult
}

type ListCdnDomainsResult

type ListCdnDomainsResult struct {
	Data     []DomainSummary
	PageNum  int64
	PageSize int64
	Total    int64
}

type ListCertInfo added in v1.0.23

type ListCertInfo struct {
	CertFingerprint        CertFingerprint
	CertId                 string
	CertName               string
	CertType               string
	ConfiguredDomain       string
	ConfiguredDomainDetail []ConfiguredDomain
	Desc                   string
	DnsName                string
	EffectiveTime          int64
	EncryType              string
	ExpireTime             int64
	Source                 string
	Status                 string
}

type ListCertInfoRequest

type ListCertInfoRequest struct {
	CertId           *string   `json:",omitempty"`
	CertType         *string   `json:",omitempty"`
	ConfiguredDomain *string   `json:",omitempty"`
	EncryType        *string   `json:",omitempty"`
	FuzzyMatch       *bool     `json:",omitempty"`
	Name             *string   `json:",omitempty"`
	PageNum          *int64    `json:",omitempty"`
	PageSize         *int64    `json:",omitempty"`
	SetPagination    *bool     `json:",omitempty"`
	SortRule         *SortRule `json:",omitempty"`
	Source           *string   `json:",omitempty"`
	Status           *string   `json:",omitempty"`
}

type ListCertInfoResponse

type ListCertInfoResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           ListCertInfoResult
}

type ListCertInfoResult

type ListCertInfoResult struct {
	CertInfo      []ListCertInfo
	ExpiringCount int64
	PageNum       int64
	PageSize      int64
	Total         int64
}

type ListUsageReportsRequest added in v1.0.31

type ListUsageReportsRequest struct {
	ExportType *string `json:",omitempty"`
	PageNum    *int64  `json:",omitempty"`
	PageSize   *int64  `json:",omitempty"`
	Status     *int64  `json:",omitempty"`
	TaskName   *string `json:",omitempty"`
}

type ListUsageReportsResponse added in v1.0.31

type ListUsageReportsResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           ListUsageReportsResult
}

type ListUsageReportsResult added in v1.0.31

type ListUsageReportsResult struct {
	PageNum             int64
	PageSize            int64
	Total               int64
	UsageReportsDetails []UsageReportsDetail
}

type LockTemplateRequest added in v1.0.23

type LockTemplateRequest struct {
	TemplateId string
}

type LockTemplateResponse added in v1.0.23

type LockTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type MethodDeniedRule

type MethodDeniedRule struct {
	Methods *string `json:",omitempty"`
	Switch  *bool   `json:",omitempty"`
}

type MetricSummaryData added in v1.0.31

type MetricSummaryData struct {
	Metric string
	Value  float64
}

type MetricTimestampValue

type MetricTimestampValue struct {
	Metric string
	Values []TimestampValue
}

type MetricValue

type MetricValue struct {
	Metric string
	Value  float64
}

type MultiRange added in v1.0.31

type MultiRange struct {
	Switch *bool `json:",omitempty"`
}

type NamePair

type NamePair struct {
	Code string
	Name string
}

type NegativeCache

type NegativeCache struct {
	Condition         *Condition           `json:",omitempty"`
	NegativeCacheRule *NegativeCacheAction `json:",omitempty"`
}

type NegativeCacheAction

type NegativeCacheAction struct {
	Action     *string `json:",omitempty"`
	IgnoreCase *bool   `json:",omitempty"`
	StatusCode *string `json:",omitempty"`
	Ttl        *int64  `json:",omitempty"`
}

type NrtDataDetails

type NrtDataDetails struct {
	Isp     string
	Metrics []MetricTimestampValue
	Region  string
}

type NrtDataResource

type NrtDataResource struct {
	BillingRegion string
	Isp           string
	Metrics       []MetricTimestampValue
	Name          string
	Region        string
}

type NrtDataSummaryResource

type NrtDataSummaryResource struct {
	BillingRegion string
	Metrics       []MetricValue
	Name          string
}

type OriginAccessRule

type OriginAccessRule struct {
	AllowEmpty *bool `json:",omitempty"`
	IgnoreCase *bool `json:",omitempty"`
	Origins    []string
	RuleType   *string `json:",omitempty"`
	Switch     *bool   `json:",omitempty"`
}

type OriginAction

type OriginAction struct {
	OriginLines []OriginLine
}

type OriginArgAction

type OriginArgAction struct {
	OriginArgComponents []OriginArgComponents
}

type OriginArgComponents

type OriginArgComponents struct {
	Action    *string `json:",omitempty"`
	Object    *string `json:",omitempty"`
	Subobject *string `json:",omitempty"`
}

type OriginArgRule

type OriginArgRule struct {
	Condition       *Condition       `json:",omitempty"`
	OriginArgAction *OriginArgAction `json:",omitempty"`
}

type OriginCertCheck added in v1.0.31

type OriginCertCheck struct {
	Switch *bool `json:",omitempty"`
}

type OriginLine

type OriginLine struct {
	Address             *string            `json:",omitempty"`
	BucketName          *string            `json:",omitempty"`
	HttpPort            *string            `json:",omitempty"`
	HttpsPort           *string            `json:",omitempty"`
	InstanceType        *string            `json:",omitempty"`
	OriginHost          *string            `json:",omitempty"`
	OriginType          *string            `json:",omitempty"`
	PrivateBucketAccess *bool              `json:",omitempty"`
	PrivateBucketAuth   *PrivateBucketAuth `json:",omitempty"`
	Region              *string            `json:",omitempty"`
	SignedOriginAuth    *SignedOriginAuth  `json:",omitempty"`
	Weight              *string            `json:",omitempty"`
}

type OriginRetry added in v1.0.31

type OriginRetry struct {
	StatusCode *string `json:",omitempty"`
	Switch     *bool   `json:",omitempty"`
}

type OriginRewrite

type OriginRewrite struct {
	OriginRewriteRule []OriginRewriteRule
	Switch            *bool `json:",omitempty"`
}

type OriginRewriteAction

type OriginRewriteAction struct {
	RewriteType *string `json:",omitempty"`
	SourcePath  *string `json:",omitempty"`
	TargetPath  *string `json:",omitempty"`
}

type OriginRewriteRule

type OriginRewriteRule struct {
	Condition           *Condition           `json:",omitempty"`
	OriginRewriteAction *OriginRewriteAction `json:",omitempty"`
}

type OriginRule

type OriginRule struct {
	Condition    *Condition    `json:",omitempty"`
	OriginAction *OriginAction `json:",omitempty"`
}

type OriginRules added in v1.0.31

type OriginRules struct {
	Actions   *ConditionalOriginAction `json:",omitempty"`
	Condition *RecursionCondition      `json:",omitempty"`
}

type OriginSni

type OriginSni struct {
	SniDomain *string `json:",omitempty"`
	Switch    *bool   `json:",omitempty"`
}

type PageOptimization added in v1.0.23

type PageOptimization struct {
	OptimizationType []string
	Switch           *bool `json:",omitempty"`
}

type ParamCapRule added in v1.0.23

type ParamCapRule struct {
	CapMode   *string `json:",omitempty"`
	ParamName *string `json:",omitempty"`
	UriLevel  *int64  `json:",omitempty"`
}

type PreloadHeader added in v1.0.23

type PreloadHeader struct {
	Key   *string `json:",omitempty"`
	Value *string `json:",omitempty"`
}

type PrivateBucketAuth

type PrivateBucketAuth struct {
	AuthType           *string             `json:",omitempty"`
	Switch             *bool               `json:",omitempty"`
	TosAuthInformation *TosAuthInformation `json:",omitempty"`
}

type QueryStringComponents

type QueryStringComponents struct {
	Action *string `json:",omitempty"`
	Value  *string `json:",omitempty"`
}

type QueryStringInstance

type QueryStringInstance struct {
	Action    *string `json:",omitempty"`
	Key       *string `json:",omitempty"`
	Value     *string `json:",omitempty"`
	ValueType *string `json:",omitempty"`
}

type QueryStringRule

type QueryStringRule struct {
	QueryStringComponents *QueryStringComponents `json:",omitempty"`
	QueryStringInstances  []QueryStringInstance
}

type Quic

type Quic struct {
	Switch *bool `json:",omitempty"`
}

type RankingDataDetail added in v1.0.31

type RankingDataDetail struct {
	Metric       string
	ValueDetails []RankingValueDetail
}

type RankingStatusCodeDetail added in v1.0.31

type RankingStatusCodeDetail struct {
	ItemKey        string
	Status2xx      float64
	Status2xxRatio float64
	Status3xx      float64
	Status3xxRatio float64
	Status4xx      float64
	Status4xxRatio float64
	Status5xx      float64
	Status5xxRatio float64
}

type RankingValueDetail added in v1.0.31

type RankingValueDetail struct {
	ItemKey   string
	Ratio     float64
	Timestamp int64
	Value     float64
}

type RecursionCondition added in v1.0.31

type RecursionCondition struct {
	ConditionGroups []SubRecursionCondition
	Connective      *string `json:",omitempty"`
	IsGroup         *bool   `json:",omitempty"`
}

type RecursionConditionRule added in v1.0.31

type RecursionConditionRule struct {
	Object   *string `json:",omitempty"`
	Operator *string `json:",omitempty"`
	Value    []string
}

type RedirectionAction

type RedirectionAction struct {
	RedirectCode          *string                `json:",omitempty"`
	SourcePath            *string                `json:",omitempty"`
	TargetHost            *string                `json:",omitempty"`
	TargetPath            *string                `json:",omitempty"`
	TargetProtocol        *string                `json:",omitempty"`
	TargetQueryComponents *TargetQueryComponents `json:",omitempty"`
}

type RedirectionRewrite

type RedirectionRewrite struct {
	RedirectionRule []RedirectionRule
	Switch          *bool `json:",omitempty"`
}

type RedirectionRule

type RedirectionRule struct {
	RedirectionAction *RedirectionAction `json:",omitempty"`
}

type RefererAccessRule

type RefererAccessRule struct {
	AllowEmpty   *bool `json:",omitempty"`
	Referers     []string
	ReferersType *ReferersType       `json:",omitempty"`
	RuleType     *string             `json:",omitempty"`
	SharedConfig *CommonGlobalConfig `json:",omitempty"`
	Switch       *bool               `json:",omitempty"`
}

type RefererType added in v1.0.23

type RefererType struct {
	Referers []string
}

type ReferersType added in v1.0.23

type ReferersType struct {
	CommonType  *CommonReferType `json:",omitempty"`
	RegularType *RefererType     `json:",omitempty"`
}

type RemoteAuth

type RemoteAuth struct {
	RemoteAuthRules []RemoteAuthRule
	Switch          *bool `json:",omitempty"`
}

type RemoteAuthRule

type RemoteAuthRule struct {
	Condition            *Condition            `json:",omitempty"`
	RemoteAuthRuleAction *RemoteAuthRuleAction `json:",omitempty"`
}

type RemoteAuthRuleAction

type RemoteAuthRuleAction struct {
	AuthModeConfig     *AuthModeConfig        `json:",omitempty"`
	AuthResponseConfig *AuthResponseConfig    `json:",omitempty"`
	QueryStringRules   *QueryStringRule       `json:",omitempty"`
	RequestBodyRules   *string                `json:",omitempty"`
	RequestHeaderRules *AuthRequestHeaderRule `json:",omitempty"`
}

type RequestBlockRule added in v1.0.23

type RequestBlockRule struct {
	BlockRule []BlockRule
	Switch    *bool `json:",omitempty"`
}

type RequestHeaderAction

type RequestHeaderAction struct {
	RequestHeaderInstances []RequestHeaderInstance
}

type RequestHeaderComponent

type RequestHeaderComponent struct {
	Action *string `json:",omitempty"`
	Value  *string `json:",omitempty"`
}

type RequestHeaderInstance

type RequestHeaderInstance struct {
	Action    *string `json:",omitempty"`
	Key       *string `json:",omitempty"`
	Value     *string `json:",omitempty"`
	ValueType *string `json:",omitempty"`
}

type RequestHeaderRule

type RequestHeaderRule struct {
	Condition           *Condition           `json:",omitempty"`
	RequestHeaderAction *RequestHeaderAction `json:",omitempty"`
}

type ResourceTag

type ResourceTag struct {
	Key   *string `json:",omitempty"`
	Value *string `json:",omitempty"`
}

type ResponseAction

type ResponseAction struct {
	StatusCode *string `json:",omitempty"`
}

type ResponseHeaderAction

type ResponseHeaderAction struct {
	ResponseHeaderInstances []ResponseHeaderInstance
}

type ResponseHeaderInstance

type ResponseHeaderInstance struct {
	AccessOriginControl *bool   `json:",omitempty"`
	Action              *string `json:",omitempty"`
	Key                 *string `json:",omitempty"`
	Value               *string `json:",omitempty"`
	ValueType           *string `json:",omitempty"`
}

type ResponseHeaderRule

type ResponseHeaderRule struct {
	Condition            *Condition            `json:",omitempty"`
	ResponseHeaderAction *ResponseHeaderAction `json:",omitempty"`
}

type ResponseMetadata

type ResponseMetadata struct {
	RequestId string
	Service   *string   `json:",omitempty"`
	Region    *string   `json:",omitempty"`
	Action    *string   `json:",omitempty"`
	Version   *string   `json:",omitempty"`
	Error     *ErrorObj `json:",omitempty"`
}

type RewriteHLS added in v1.0.31

type RewriteHLS struct {
	SignName *string `json:",omitempty"`
	Switch   *bool   `json:",omitempty"`
}

type RewriteM3u8Rule added in v1.0.23

type RewriteM3u8Rule struct {
	DeleteParam      *bool `json:",omitempty"`
	KeepM3u8Param    *bool `json:",omitempty"`
	TransferEncoding *bool `json:",omitempty"`
}

type SignedOriginAuth added in v1.0.31

type SignedOriginAuth struct {
	SignedOriginAuthRules []SignedOriginAuthRule
	Switch                *bool `json:",omitempty"`
}

type SignedOriginAuthAction added in v1.0.31

type SignedOriginAuthAction struct {
	Duration        *int64  `json:",omitempty"`
	KeyName         *string `json:",omitempty"`
	MasterAccessKey *string `json:",omitempty"`
	MasterSecretKey *string `json:",omitempty"`
	OriginAuthType  *string `json:",omitempty"`
	SignName        *string `json:",omitempty"`
	TimeFormat      *string `json:",omitempty"`
	TimeName        *string `json:",omitempty"`
}

type SignedOriginAuthRule added in v1.0.31

type SignedOriginAuthRule struct {
	Condition              *Condition              `json:",omitempty"`
	SignedOriginAuthAction *SignedOriginAuthAction `json:",omitempty"`
}

type SignedUrlAuth

type SignedUrlAuth struct {
	SignedUrlAuthRules []SignedUrlAuthRule
	Switch             *bool `json:",omitempty"`
}

type SignedUrlAuthAction

type SignedUrlAuthAction struct {
	AuthAlgorithm       *string              `json:",omitempty"`
	BackupSecretKey     *string              `json:",omitempty"`
	CustomVariableRules *CustomVariableRules `json:",omitempty"`
	Duration            *int64               `json:",omitempty"`
	KeepOriginArg       *bool                `json:",omitempty"`
	MasterSecretKey     *string              `json:",omitempty"`
	MpdVarExpand        *bool                `json:",omitempty"`
	RewriteM3u8         *bool                `json:",omitempty"`
	RewriteM3u8Rule     *RewriteM3u8Rule     `json:",omitempty"`
	RewriteMpd          *bool                `json:",omitempty"`
	SignName            *string              `json:",omitempty"`
	SignatureRule       []string
	TimeFormat          *string `json:",omitempty"`
	TimeName            *string `json:",omitempty"`
	URLAuthType         *string `json:",omitempty"`
}

type SignedUrlAuthRule

type SignedUrlAuthRule struct {
	Condition           *Condition           `json:",omitempty"`
	SignedUrlAuthAction *SignedUrlAuthAction `json:",omitempty"`
}

type SignedUrlAuthRules added in v1.0.31

type SignedUrlAuthRules struct {
	Duration *int64 `json:",omitempty"`
}

type SortRule added in v1.0.23

type SortRule struct {
	Asc     *bool   `json:",omitempty"`
	OrderBy *string `json:",omitempty"`
}

type Sparrow

type Sparrow struct {
	SparrowRules []SparrowRule
	Switch       *bool `json:",omitempty"`
}

type SparrowAction

type SparrowAction struct {
	Action     *string `json:",omitempty"`
	IgnoreCase *bool   `json:",omitempty"`
	SparrowID  *string `json:",omitempty"`
}

type SparrowRule

type SparrowRule struct {
	Condition     *Condition     `json:",omitempty"`
	SparrowAction *SparrowAction `json:",omitempty"`
}

type SpeedLimitTime

type SpeedLimitTime struct {
	BeginTime *string `json:",omitempty"`
	DayWeek   *string `json:",omitempty"`
	EndTime   *string `json:",omitempty"`
}

type StartCdnDomainRequest

type StartCdnDomainRequest struct {
	Domain string
}

type StartCdnDomainResponse

type StartCdnDomainResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type StatusCodeAction

type StatusCodeAction struct {
	DefaultAction *string `json:",omitempty"`
	FailCode      *string `json:",omitempty"`
	SuccessCode   *string `json:",omitempty"`
}

type StopCdnDomainRequest

type StopCdnDomainRequest struct {
	Domain string
}

type StopCdnDomainResponse

type StopCdnDomainResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type SubRecursionCondition added in v1.0.31

type SubRecursionCondition struct {
	Condition *RecursionConditionRule `json:",omitempty"`
	IsGroup   *bool                   `json:",omitempty"`
}

type SubmitBlockTaskRequest

type SubmitBlockTaskRequest struct {
	Type *string `json:",omitempty"`
	Urls string
}

type SubmitBlockTaskResponse

type SubmitBlockTaskResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           SubmitBlockTaskResult
}

type SubmitBlockTaskResult

type SubmitBlockTaskResult struct {
	TaskID string
}

type SubmitPreloadTaskRequest

type SubmitPreloadTaskRequest struct {
	Area                   *string `json:",omitempty"`
	ConcurrentLimit        *int64  `json:",omitempty"`
	Deduplicate            *bool   `json:",omitempty"`
	Isp                    *string `json:",omitempty"`
	Layer                  *string `json:",omitempty"`
	Region                 *string `json:",omitempty"`
	RequestHeaderInstances []PreloadHeader
	SubArea                *string `json:",omitempty"`
	Urls                   string
}

type SubmitPreloadTaskResponse

type SubmitPreloadTaskResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           SubmitPreloadTaskResult
}

type SubmitPreloadTaskResult

type SubmitPreloadTaskResult struct {
	CommitNum *int64 `json:",omitempty"`
	TaskID    string
}

type SubmitRefreshTaskRequest

type SubmitRefreshTaskRequest struct {
	Delete *bool   `json:",omitempty"`
	Prefix *bool   `json:",omitempty"`
	Type   *string `json:",omitempty"`
	Urls   string
}

type SubmitRefreshTaskResponse

type SubmitRefreshTaskResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           SubmitRefreshTaskResult
}

type SubmitRefreshTaskResult

type SubmitRefreshTaskResult struct {
	TaskID string
}

type SubmitUnblockTaskRequest

type SubmitUnblockTaskRequest struct {
	Type *string `json:",omitempty"`
	Urls string
}

type SubmitUnblockTaskResponse

type SubmitUnblockTaskResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           SubmitUnblockTaskResult
}

type SubmitUnblockTaskResult

type SubmitUnblockTaskResult struct {
	TaskID string
}

type TagResourcesRequest added in v1.0.36

type TagResourcesRequest struct {
	ResourceIds  []string
	ResourceType string
	Tags         []ResourceTag
}

type TagResourcesResponse added in v1.0.36

type TagResourcesResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type TargetQueryComponents

type TargetQueryComponents struct {
	Action *string `json:",omitempty"`
	Value  *string `json:",omitempty"`
}

type TemplateCertInfo added in v1.0.23

type TemplateCertInfo struct {
	CertId string
}

type Timeout added in v1.0.23

type Timeout struct {
	Switch       *bool `json:",omitempty"`
	TimeoutRules []TimeoutRule
}

type TimeoutAction added in v1.0.23

type TimeoutAction struct {
	HttpTimeout *int64 `json:",omitempty"`
	TcpTimeout  *int64 `json:",omitempty"`
}

type TimeoutRule

type TimeoutRule struct {
	Condition     *Condition     `json:",omitempty"`
	TimeoutAction *TimeoutAction `json:",omitempty"`
}

type TimestampValue

type TimestampValue struct {
	Timestamp int64
	Value     float64
}

type TopInstanceDetail

type TopInstanceDetail struct {
	BeginTime        string
	BillingCode      string
	BillingCycle     string
	BillingData      string
	BillingDesc      string
	CreateTime       string
	FreeTimePeriods  []int64
	InstanceCategory string
	InstanceType     string
	MetricType       string
	ServiceRegion    string
	StartTime        string
	Status           string
}

type TopNrtDataDetail

type TopNrtDataDetail struct {
	Bandwidth                float64
	BandwidthPeakTime        int64
	BsBandwidth              float64
	BsBandwidthPeakTime      int64
	BsFlux                   float64
	BsFluxRatio              float64
	DynamicRequest           int64
	DynamicRequestRatio      float64
	Flux                     float64
	FluxRatio                float64
	InboundBandwidth         float64
	InboundBandwidthPeakTime int64
	InboundFlux              float64
	InboundFluxRatio         float64
	ItemKey                  string
	ItemKeyCN                string
	PV                       float64
	PVRatio                  float64
	Quic                     int64
	StaticRequest            int64
	StaticRequestRatio       float64
}

type TopStatusCodeDetail

type TopStatusCodeDetail struct {
	Status2xx      float64 `json:"2xx"`
	Status2xxRatio float64 `json:"2xxRatio"`
	Status3xx      float64 `json:"3xx"`
	Status3xxRatio float64 `json:"3xxRatio"`
	Status4xx      float64 `json:"4xx"`
	Status4xxRatio float64 `json:"4xxRatio"`
	Status5xx      float64 `json:"5xx"`
	Status5xxRatio float64 `json:"5xxRatio"`
	ItemKey        string
}

type TosAuthInformation

type TosAuthInformation struct {
	AccessKeyId       *string `json:",omitempty"`
	AccessKeySecret   *string `json:",omitempty"`
	AccountKey        *string `json:",omitempty"`
	RoleAccountId     *string `json:",omitempty"`
	RoleName          *string `json:",omitempty"`
	RolePassAccountId *string `json:",omitempty"`
	RolePassName      *string `json:",omitempty"`
}

type URLNormalize added in v1.0.23

type URLNormalize struct {
	NormalizeObject []string
	Switch          *bool `json:",omitempty"`
}

type UntagResourcesRequest added in v1.0.36

type UntagResourcesRequest struct {
	ResourceIds  []string
	ResourceType string
	TagKeys      []string
}

type UntagResourcesResponse added in v1.0.36

type UntagResourcesResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type UpdateCdnConfigRequest

type UpdateCdnConfigRequest struct {
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheHost           *CacheHost `json:",omitempty"`
	CacheKey            []CacheKeyRule
	Compression         *Compression         `json:",omitempty"`
	ConditionalOrigin   *ConditionalOrigin   `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	Domain              *string              `json:",omitempty"`
	DownloadSpeedLimit  *DownloadSpeedLimit  `json:",omitempty"`
	FollowRedirect      *bool                `json:",omitempty"`
	HTTPS               *HTTPS               `json:",omitempty"`
	HeaderLogging       *HeaderLog           `json:",omitempty"`
	HttpForcedRedirect  *HttpForcedRedirect  `json:",omitempty"`
	IPv6                *IPv6                `json:",omitempty"`
	IpAccessRule        *IpAccessRule        `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit         `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit        `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule    `json:",omitempty"`
	MultiRange          *MultiRange          `json:",omitempty"`
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     *OriginCertCheck    `json:",omitempty"`
	OriginHost          *string             `json:",omitempty"`
	OriginIPv6          *string             `json:",omitempty"`
	OriginProtocol      *string             `json:",omitempty"`
	OriginRange         *bool               `json:",omitempty"`
	OriginRetry         *OriginRetry        `json:",omitempty"`
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	Quic                *Quic               `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestBlockRule    *RequestBlockRule   `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          *RewriteHLS          `json:",omitempty"`
	ServiceRegion       *string              `json:",omitempty"`
	ServiceType         *string              `json:",omitempty"`
	SignedUrlAuth       *SignedUrlAuth       `json:",omitempty"`
	Sparrow             *Sparrow             `json:",omitempty"`
	Timeout             *Timeout             `json:",omitempty"`
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	UrlNormalize        *URLNormalize        `json:",omitempty"`
	VideoDrag           *VideoDrag           `json:",omitempty"`
	Websocket           *Websocket           `json:",omitempty"`
}

type UpdateCdnConfigResponse

type UpdateCdnConfigResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type UpdateCipherTemplateRequest added in v1.0.23

type UpdateCipherTemplateRequest struct {
	HTTPS              *HTTPSCommon        `json:",omitempty"`
	HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"`
	Message            *string             `json:",omitempty"`
	Quic               *Quic               `json:",omitempty"`
	TemplateId         string
	Title              *string `json:",omitempty"`
}

type UpdateCipherTemplateResponse added in v1.0.23

type UpdateCipherTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type UpdateServiceTemplateRequest added in v1.0.23

type UpdateServiceTemplateRequest struct {
	AreaAccessRule      *AreaAccessRule `json:",omitempty"`
	BandwidthLimit      *BandwidthLimit `json:",omitempty"`
	BrowserCache        []BrowserCacheControlRule
	Cache               []CacheControlRule
	CacheKey            []CacheKeyRule
	Compression         *Compression         `json:",omitempty"`
	ConditionalOrigin   *ConditionalOrigin   `json:",omitempty"`
	CustomErrorPage     *CustomErrorPage     `json:",omitempty"`
	CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"`
	DownloadSpeedLimit  *DownloadSpeedLimit  `json:",omitempty"`
	FollowRedirect      *bool                `json:",omitempty"`
	IPv6                *IPv6                `json:",omitempty"`
	IpAccessRule        *IpAccessRule        `json:",omitempty"`
	IpFreqLimit         *IpFreqLimit         `json:",omitempty"`
	IpSpeedLimit        *IpSpeedLimit        `json:",omitempty"`
	Message             *string              `json:",omitempty"`
	MethodDeniedRule    *MethodDeniedRule    `json:",omitempty"`
	MultiRange          *MultiRange          `json:",omitempty"`
	NegativeCache       []NegativeCache
	Origin              []OriginRule
	OriginAccessRule    *OriginAccessRule `json:",omitempty"`
	OriginArg           []OriginArgRule
	OriginCertCheck     *OriginCertCheck `json:",omitempty"`
	OriginHost          *string          `json:",omitempty"`
	OriginIPv6          *string          `json:",omitempty"`
	OriginProtocol      string
	OriginRange         *bool               `json:",omitempty"`
	OriginRewrite       *OriginRewrite      `json:",omitempty"`
	OriginSni           *OriginSni          `json:",omitempty"`
	PageOptimization    *PageOptimization   `json:",omitempty"`
	RedirectionRewrite  *RedirectionRewrite `json:",omitempty"`
	RefererAccessRule   *RefererAccessRule  `json:",omitempty"`
	RemoteAuth          *RemoteAuth         `json:",omitempty"`
	RequestHeader       []RequestHeaderRule
	ResponseHeader      []ResponseHeaderRule
	RewriteHLS          *RewriteHLS    `json:",omitempty"`
	SignedUrlAuth       *SignedUrlAuth `json:",omitempty"`
	TemplateId          string
	Timeout             *Timeout             `json:",omitempty"`
	Title               *string              `json:",omitempty"`
	UaAccessRule        *UserAgentAccessRule `json:",omitempty"`
	VideoDrag           *VideoDrag           `json:",omitempty"`
	Websocket           *Websocket           `json:",omitempty"`
}

type UpdateServiceTemplateResponse added in v1.0.23

type UpdateServiceTemplateResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
}

type UpdateTemplateDomainRequest added in v1.0.23

type UpdateTemplateDomainRequest struct {
	CertId            *string `json:",omitempty"`
	CipherTemplateId  *string `json:",omitempty"`
	Disaggregate      *bool   `json:",omitempty"`
	Domains           []string
	HTTPSSwitch       *string `json:",omitempty"`
	ServiceRegion     *string `json:",omitempty"`
	ServiceTemplateId *string `json:",omitempty"`
	SparrowRules      []SparrowRule
	SparrowSwitch     *string `json:",omitempty"`
}

type UpdateTemplateDomainResponse added in v1.0.23

type UpdateTemplateDomainResponse struct {
	ResponseMetadata *ResponseMetadata `json:",omitempty"`
	Result           UpdateTemplateDomainResult
}

type UpdateTemplateDomainResult added in v1.0.31

type UpdateTemplateDomainResult struct {
	DeployResult []DeployResult
}

type UriParamSup added in v1.0.23

type UriParamSup struct {
	JoinSymbol  *string `json:",omitempty"`
	SplitSymbol *string `json:",omitempty"`
	StartLevel  *int64  `json:",omitempty"`
	TermLevel   *int64  `json:",omitempty"`
}

type UrlAuthCustomAction added in v1.0.31

type UrlAuthCustomAction struct {
	ExpTimeCapRule *ParamCapRule `json:",omitempty"`
	ParamCalRules  []string
	SignCapRule    *ParamCapRule `json:",omitempty"`
	SignJoinSymbol *string       `json:",omitempty"`
	SignParam      []CustomSignedUrlParam
}

type UsageReportsDetail added in v1.0.31

type UsageReportsDetail struct {
	BillingCode       string
	BillingRegion     string
	CalculationMethod string
	CreateTime        int64
	DownLoadUrl       string
	EndTime           int64
	ExportType        string
	Metric            string
	StartTime         int64
	Status            int64
	TaskId            string
	TaskName          string
	TimeZone          string
}

type UserAgentAccessRule

type UserAgentAccessRule struct {
	AllowEmpty *bool   `json:",omitempty"`
	IgnoreCase *bool   `json:",omitempty"`
	RuleType   *string `json:",omitempty"`
	Switch     *bool   `json:",omitempty"`
	UserAgent  []string
}

type VideoDrag

type VideoDrag struct {
	Switch *bool `json:",omitempty"`
}

type Websocket added in v1.0.31

type Websocket struct {
	Switch  *bool  `json:",omitempty"`
	Timeout *int64 `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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