Documentation ¶
Index ¶
- Constants
- Variables
- func GetStrPtr(str string) *string
- func MergeQueryArgs(body interface{}, query url.Values) (url.Values, error)
- type AccountingData
- type AccountingDataDetail
- type AccountingSummary
- type AddCdnCertInfo
- type AddCdnCertificateRequest
- type AddCdnCertificateResponse
- type AddCdnDomainRequest
- type AddCdnDomainResponse
- type AddResourceTagsRequest
- type AddResourceTagsResponse
- type AreaAccessRule
- type AuthCacheAction
- type AuthModeConfig
- type AuthRequestHeaderRule
- type AuthResponseConfig
- type AutoRotate
- type BandwidthLimit
- type BandwidthLimitAction
- type BandwidthLimitRule
- type BatchDeployCertRequest
- type BatchDeployCertResponse
- type BatchDeployCertResult
- type BrowserCacheControlRule
- type CDN
- func (s *CDN) AddCdnCertificate(dto *AddCdnCertificateRequest) (responseBody *AddCdnCertificateResponse, err error)
- func (s *CDN) AddCdnDomain(dto *AddCdnDomainRequest) (responseBody *AddCdnDomainResponse, err error)
- func (s *CDN) AddResourceTags(dto *AddResourceTagsRequest) (responseBody *AddResourceTagsResponse, err error)
- func (s *CDN) BatchDeployCert(dto *BatchDeployCertRequest) (responseBody *BatchDeployCertResponse, err error)
- func (s *CDN) DeleteCdnDomain(dto *DeleteCdnDomainRequest) (responseBody *DeleteCdnDomainResponse, err error)
- func (s *CDN) DeleteResourceTags(dto *DeleteResourceTagsRequest) (responseBody *DeleteResourceTagsResponse, err error)
- func (s *CDN) DescribeAccountingData(dto *DescribeAccountingDataRequest) (responseBody *DescribeAccountingDataResponse, err error)
- func (s *CDN) DescribeAccountingSummary(dto *DescribeAccountingSummaryRequest) (responseBody *DescribeAccountingSummaryResponse, err error)
- func (s *CDN) DescribeCdnAccessLog(dto *DescribeCdnAccessLogRequest, options ...OptionArg) (responseBody *DescribeCdnAccessLogResponse, err error)
- func (s *CDN) DescribeCdnConfig(dto *DescribeCdnConfigRequest) (responseBody *DescribeCdnConfigResponse, err error)
- func (s *CDN) DescribeCdnData(dto *DescribeCdnDataRequest, options ...OptionArg) (responseBody *DescribeCdnDataResponse, err error)
- func (s *CDN) DescribeCdnDataDetail(dto *DescribeCdnDataDetailRequest, options ...OptionArg) (responseBody *DescribeCdnDataDetailResponse, err error)
- func (s *CDN) DescribeCdnOriginData(dto *DescribeCdnOriginDataRequest, options ...OptionArg) (responseBody *DescribeCdnOriginDataResponse, err error)
- func (s *CDN) DescribeCdnRegionAndIsp(dto *DescribeCdnRegionAndIspRequest, options ...OptionArg) (responseBody *DescribeCdnRegionAndIspResponse, err error)
- func (s *CDN) DescribeCdnService() (responseBody *DescribeCdnServiceResponse, err error)
- func (s *CDN) DescribeCdnUpperIp(dto *DescribeCdnUpperIpRequest) (responseBody *DescribeCdnUpperIpResponse, err error)
- func (s *CDN) DescribeCertConfig(dto *DescribeCertConfigRequest) (responseBody *DescribeCertConfigResponse, err error)
- func (s *CDN) DescribeContentBlockTasks(dto *DescribeContentBlockTasksRequest) (responseBody *DescribeContentBlockTasksResponse, err error)
- func (s *CDN) DescribeContentQuota(options ...OptionArg) (responseBody *DescribeContentQuotaResponse, err error)
- func (s *CDN) DescribeContentTasks(dto *DescribeContentTasksRequest) (responseBody *DescribeContentTasksResponse, err error)
- func (s *CDN) DescribeDistrictIspData(dto *DescribeDistrictIspDataRequest, options ...OptionArg) (responseBody *DescribeDistrictIspDataResponse, err error)
- func (s *CDN) DescribeEdgeNrtDataSummary(dto *DescribeEdgeNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)
- func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest, options ...OptionArg) (responseBody *DescribeEdgeStatisticalDataResponse, err error)
- func (s *CDN) DescribeEdgeTopNrtData(dto *DescribeEdgeTopNrtDataRequest, options ...OptionArg) (responseBody *DescribeEdgeTopNrtDataResponse, err error)
- func (s *CDN) DescribeEdgeTopStatisticalData(dto *DescribeEdgeTopStatisticalDataRequest, options ...OptionArg) (responseBody *DescribeEdgeTopStatisticalDataResponse, err error)
- func (s *CDN) DescribeEdgeTopStatusCode(dto *DescribeEdgeTopStatusCodeRequest, options ...OptionArg) (responseBody *DescribeEdgeTopStatusCodeResponse, err error)
- func (s *CDN) DescribeIPInfo(dto *DescribeIPInfoRequest) (responseBody *DescribeIPInfoResponse, err error)
- func (s *CDN) DescribeIPListInfo(dto *DescribeIPListInfoRequest) (responseBody *DescribeIPListInfoResponse, err error)
- func (s *CDN) DescribeOriginNrtDataSummary(dto *DescribeOriginNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeOriginNrtDataSummaryResponse, err error)
- func (s *CDN) DescribeOriginTopNrtData(dto *DescribeOriginTopNrtDataRequest, options ...OptionArg) (responseBody *DescribeOriginTopNrtDataResponse, err error)
- func (s *CDN) DescribeOriginTopStatusCode(dto *DescribeOriginTopStatusCodeRequest, options ...OptionArg) (responseBody *DescribeOriginTopStatusCodeResponse, err error)
- func (s *CDN) GetAPIInfo(api string) *base.ApiInfo
- func (s *CDN) GetMethod(api string) string
- func (s *CDN) GetServiceInfo(region string) *base.ServiceInfo
- func (s *CDN) ListCdnCertInfo(dto *ListCdnCertInfoRequest) (responseBody *ListCdnCertInfoResponse, err error)
- func (s *CDN) ListCdnDomains(dto *ListCdnDomainsRequest, options ...OptionArg) (responseBody *ListCdnDomainsResponse, err error)
- func (s *CDN) ListCertInfo(dto *ListCertInfoRequest) (responseBody *ListCertInfoResponse, err error)
- func (s *CDN) ListResourceTags() (responseBody *ListResourceTagsResponse, err error)
- func (s *CDN) SendCommonRequest(action string, in interface{}, out interface{}) error
- func (s *CDN) SetHost(host string)
- func (s *CDN) SetMethod(api, method string) bool
- func (s *CDN) SetRegion(region string)
- func (s *CDN) SetSchema(schema string)
- func (s *CDN) StartCdnDomain(dto *StartCdnDomainRequest) (responseBody *StartCdnDomainResponse, err error)
- func (s *CDN) StopCdnDomain(dto *StopCdnDomainRequest) (responseBody *StopCdnDomainResponse, err error)
- func (s *CDN) SubmitBlockTask(dto *SubmitBlockTaskRequest) (responseBody *SubmitBlockTaskResponse, err error)
- func (s *CDN) SubmitPreloadTask(dto *SubmitPreloadTaskRequest) (responseBody *SubmitPreloadTaskResponse, err error)
- func (s *CDN) SubmitRefreshTask(dto *SubmitRefreshTaskRequest) (responseBody *SubmitRefreshTaskResponse, err error)
- func (s *CDN) SubmitUnblockTask(dto *SubmitUnblockTaskRequest) (responseBody *SubmitUnblockTaskResponse, err error)
- func (s *CDN) UpdateCdnConfig(dto *UpdateCdnConfigRequest) (responseBody *UpdateCdnConfigResponse, err error)
- func (s *CDN) UpdateResourceTags(dto *UpdateResourceTagsRequest) (responseBody *UpdateResourceTagsResponse, err error)
- func (s *CDN) ValidateResponse(meta *ResponseMetadata) error
- type CDNError
- type CacheAction
- type CacheControlRule
- type CacheKeyAction
- type CacheKeyComponent
- type CacheKeyGenerationRule
- type CertInfo
- type Certificate
- type Compression
- type CompressionAction
- type CompressionRule
- type Condition
- type ConditionRule
- type ContentTask
- type CustomErrorPage
- type CustomVariableInstance
- type CustomVariableRules
- type DataPoint
- type DeleteCdnDomainRequest
- type DeleteCdnDomainResponse
- type DeleteResourceTagsRequest
- type DeleteResourceTagsResponse
- type DescribeAccountingDataRequest
- type DescribeAccountingDataResponse
- type DescribeAccountingDataResult
- type DescribeAccountingSummaryRequest
- type DescribeAccountingSummaryResponse
- type DescribeAccountingSummaryResult
- type DescribeCdnAccessLogRequest
- type DescribeCdnAccessLogResponse
- type DescribeCdnAccessLogResult
- type DescribeCdnConfigRequest
- type DescribeCdnConfigResponse
- type DescribeCdnConfigResult
- type DescribeCdnDataDetailRequest
- type DescribeCdnDataDetailResponse
- type DescribeCdnDataDetailResult
- type DescribeCdnDataRequest
- type DescribeCdnDataResponse
- type DescribeCdnDataResult
- type DescribeCdnOriginDataRequest
- type DescribeCdnOriginDataResponse
- type DescribeCdnOriginDataResult
- type DescribeCdnRegionAndIspRequest
- type DescribeCdnRegionAndIspResponse
- type DescribeCdnRegionAndIspResult
- type DescribeCdnServiceResponse
- type DescribeCdnServiceResult
- type DescribeCdnUpperIpRequest
- type DescribeCdnUpperIpResponse
- type DescribeCdnUpperIpResult
- type DescribeCertConfigRequest
- type DescribeCertConfigResponse
- type DescribeCertConfigResult
- type DescribeContentBlockTasksRequest
- type DescribeContentBlockTasksResponse
- type DescribeContentBlockTasksResult
- type DescribeContentBlockTasksTaskInfo
- type DescribeContentQuotaResponse
- type DescribeContentQuotaResult
- type DescribeContentTasksRequest
- type DescribeContentTasksResponse
- type DescribeContentTasksResult
- type DescribeDistrictIspDataRequest
- type DescribeDistrictIspDataResponse
- type DescribeDistrictIspDataResult
- type DescribeEdgeNrtDataSummaryRequest
- type DescribeEdgeNrtDataSummaryResponse
- type DescribeEdgeNrtDataSummaryResult
- type DescribeEdgeStatisticalDataRequest
- type DescribeEdgeStatisticalDataResponse
- type DescribeEdgeStatisticalDataResult
- type DescribeEdgeTopNrtDataRequest
- type DescribeEdgeTopNrtDataResponse
- type DescribeEdgeTopNrtDataResult
- type DescribeEdgeTopStatisticalDataRequest
- type DescribeEdgeTopStatisticalDataResponse
- type DescribeEdgeTopStatisticalDataResult
- type DescribeEdgeTopStatusCodeRequest
- type DescribeEdgeTopStatusCodeResponse
- type DescribeEdgeTopStatusCodeResult
- type DescribeIPInfoRequest
- type DescribeIPInfoResponse
- type DescribeIPInfoResult
- type DescribeIPListInfoRequest
- type DescribeIPListInfoResponse
- type DescribeOriginNrtDataSummaryRequest
- type DescribeOriginNrtDataSummaryResponse
- type DescribeOriginNrtDataSummaryResult
- type DescribeOriginTopNrtDataRequest
- type DescribeOriginTopNrtDataResponse
- type DescribeOriginTopNrtDataResult
- type DescribeOriginTopStatusCodeRequest
- type DescribeOriginTopStatusCodeResponse
- type DescribeOriginTopStatusCodeResult
- type DomainCertDeployStatus
- type DomainCertResult
- type DomainLogDetail
- type DomainNrtDetailData
- type DomainVolcanoDetail
- type DownloadSpeedLimit
- type DownloadSpeedLimitAction
- type DownloadSpeedLimitRule
- type EdgeStatisticalDataResource
- type EdgeTopStatisticalDataDetail
- type ErrorObj
- type ErrorPageAction
- type ErrorPageRule
- type ForcedRedirect
- type HTTPS
- type HeaderLog
- type Hsts
- type HttpForcedRedirect
- type IPInfo
- type IPv6
- type IpAccessRule
- type IpFreqLimit
- type IpFreqLimitAction
- type IpFreqLimitRule
- type ListCdnCertInfoRequest
- type ListCdnCertInfoResponse
- type ListCdnCertInfoResult
- type ListCdnDomainDomain
- type ListCdnDomainsRequest
- type ListCdnDomainsResponse
- type ListCdnDomainsResult
- type ListCertInfoRequest
- type ListCertInfoResponse
- type ListCertInfoResult
- type ListResourceTagsResponse
- type ListResourceTagsResult
- type MassCompression
- type MassCompressionAction
- type MassCompressionCondition
- type MassCompressionRule
- type MethodDeniedRule
- type MetricTimestampValue
- type MetricValue
- type NamePair
- type NegativeCache
- type NegativeCacheAction
- type NrtDataDetails
- type NrtDataResource
- type NrtDataSummaryResource
- type OptionArg
- type OriginAccessRule
- type OriginAction
- type OriginArgAction
- type OriginArgComponents
- type OriginArgRule
- type OriginLine
- type OriginRewrite
- type OriginRewriteAction
- type OriginRewriteRule
- type OriginRule
- type OriginSni
- type OriginTimeoutAction
- type PrivateBucketAuth
- type QueryStringComponents
- type QueryStringInstance
- type QueryStringRule
- type Quic
- type RedirectionAction
- type RedirectionRewrite
- type RedirectionRule
- type RefererAccessRule
- type RemoteAuth
- type RemoteAuthRule
- type RemoteAuthRuleAction
- type RequestHeaderAction
- type RequestHeaderComponent
- type RequestHeaderInstance
- type RequestHeaderRule
- type ResourceTag
- type ResponseAction
- type ResponseHeaderAction
- type ResponseHeaderInstance
- type ResponseHeaderRule
- type ResponseMetadata
- type SignedUrlAuth
- type SignedUrlAuthAction
- type SignedUrlAuthRule
- type Sparrow
- type SparrowAction
- type SparrowRule
- type SpeedLimitTime
- type StartCdnDomainRequest
- type StartCdnDomainResponse
- type StatusCodeAction
- type StopCdnDomainRequest
- type StopCdnDomainResponse
- type SubmitBlockTaskRequest
- type SubmitBlockTaskResponse
- type SubmitBlockTaskResult
- type SubmitPreloadTaskRequest
- type SubmitPreloadTaskResponse
- type SubmitPreloadTaskResult
- type SubmitRefreshTaskRequest
- type SubmitRefreshTaskResponse
- type SubmitRefreshTaskResult
- type SubmitUnblockTaskRequest
- type SubmitUnblockTaskResponse
- type SubmitUnblockTaskResult
- type TargetQueryComponents
- type TimeOutAction
- type TimeoutArg
- type TimeoutRule
- type TimestampValue
- type TopInstanceDetail
- type TopNrtDataDetail
- type TopStatusCodeDetail
- type TosAuthInformation
- type UpdateCdnConfigRequest
- type UpdateCdnConfigResponse
- type UpdateResourceTagsRequest
- type UpdateResourceTagsResponse
- type UserAgentAccessRule
- type VideoDrag
- type WebpAdaptive
Constants ¶
View Source
const ( DefaultRegion = "cn-north-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}, }, }, "AddResourceTags": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddResourceTags"}, "Version": []string{ServiceVersion}, }, }, "UpdateResourceTags": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateResourceTags"}, "Version": []string{ServiceVersion}, }, }, "ListResourceTags": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListResourceTags"}, "Version": []string{ServiceVersion}, }, }, "DeleteResourceTags": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteResourceTags"}, "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}, }, }, "DescribeAccountingSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeAccountingSummary"}, "Version": []string{ServiceVersion}, }, }, }
View Source
var DefaultInstance = NewInstance()
DefaultInstance Package level default instance
View Source
var ( ServiceInfo = map[string]*base.ServiceInfo{ DefaultRegion: { Host: "cdn.volcengineapi.com", Timeout: time.Minute * 5, Header: http.Header{ "Accept": []string{"application/json"}, "Content-Type": []string{"application/json"}, }, }, } )
Functions ¶
Types ¶
type AccountingData ¶
type AccountingDataDetail ¶
type AccountingDataDetail struct { BillingRegion string Metrics []AccountingData Name string }
type AccountingSummary ¶
type AddCdnCertInfo ¶
type AddCdnCertInfo struct {
Desc *string `json:",omitempty"`
}
type AddCdnCertificateRequest ¶
type AddCdnCertificateRequest struct { CertInfo *AddCdnCertInfo `json:",omitempty"` Certificate Certificate Source *string `json:",omitempty"` }
type AddCdnCertificateResponse ¶
type AddCdnCertificateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result string }
type AddCdnDomainRequest ¶
type AddCdnDomainRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` AutoRotate *AutoRotate `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheKey []CacheKeyGenerationRule Compression *Compression `json:",omitempty"` CustomErrorPage *CustomErrorPage `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"` MassCompression *MassCompression `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginHost *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` Project *string `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestHeader []RequestHeaderRule ResourceTags []ResourceTag ResponseHeader []ResponseHeaderRule ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Timeout *TimeoutArg `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` WebpAdaptive *WebpAdaptive `json:",omitempty"` }
type AddCdnDomainResponse ¶
type AddCdnDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type AddResourceTagsRequest ¶
type AddResourceTagsRequest struct { ResourceTags []ResourceTag Resources []string }
type AddResourceTagsResponse ¶
type AddResourceTagsResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type AreaAccessRule ¶
type AuthCacheAction ¶
type AuthModeConfig ¶
type AuthRequestHeaderRule ¶
type AuthRequestHeaderRule struct { RequestHeaderComponents *RequestHeaderComponent `json:",omitempty"` RequestHeaderInstances []RequestHeaderInstance }
type AuthResponseConfig ¶
type AuthResponseConfig struct { CacheAction *AuthCacheAction `json:",omitempty"` ResponseAction *ResponseAction `json:",omitempty"` StatusCodeAction *StatusCodeAction `json:",omitempty"` TimeOutAction *TimeOutAction `json:",omitempty"` }
type AutoRotate ¶
type AutoRotate struct {
Switch *bool `json:",omitempty"`
}
type BandwidthLimit ¶
type BandwidthLimit struct { BandwidthLimitRule *BandwidthLimitRule `json:",omitempty"` Switch *bool `json:",omitempty"` }
type BandwidthLimitAction ¶
type BandwidthLimitRule ¶
type BandwidthLimitRule struct { BandwidthLimitAction *BandwidthLimitAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type BatchDeployCertRequest ¶
type BatchDeployCertResponse ¶
type BatchDeployCertResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result BatchDeployCertResult }
type BatchDeployCertResult ¶
type BatchDeployCertResult struct {
DeployResult []DomainCertDeployStatus
}
type BrowserCacheControlRule ¶
type BrowserCacheControlRule struct { CacheAction *CacheAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CDN ¶
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) AddResourceTags ¶
func (s *CDN) AddResourceTags(dto *AddResourceTagsRequest) (responseBody *AddResourceTagsResponse, err error)
func (*CDN) BatchDeployCert ¶
func (s *CDN) BatchDeployCert(dto *BatchDeployCertRequest) (responseBody *BatchDeployCertResponse, err error)
func (*CDN) DeleteCdnDomain ¶
func (s *CDN) DeleteCdnDomain(dto *DeleteCdnDomainRequest) (responseBody *DeleteCdnDomainResponse, err error)
func (*CDN) DeleteResourceTags ¶
func (s *CDN) DeleteResourceTags(dto *DeleteResourceTagsRequest) (responseBody *DeleteResourceTagsResponse, err error)
func (*CDN) DescribeAccountingData ¶
func (s *CDN) DescribeAccountingData(dto *DescribeAccountingDataRequest) (responseBody *DescribeAccountingDataResponse, err error)
func (*CDN) DescribeAccountingSummary ¶
func (s *CDN) DescribeAccountingSummary(dto *DescribeAccountingSummaryRequest) (responseBody *DescribeAccountingSummaryResponse, err error)
func (*CDN) DescribeCdnAccessLog ¶
func (s *CDN) DescribeCdnAccessLog(dto *DescribeCdnAccessLogRequest, options ...OptionArg) (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, options ...OptionArg) (responseBody *DescribeCdnDataResponse, err error)
func (*CDN) DescribeCdnDataDetail ¶
func (s *CDN) DescribeCdnDataDetail(dto *DescribeCdnDataDetailRequest, options ...OptionArg) (responseBody *DescribeCdnDataDetailResponse, err error)
func (*CDN) DescribeCdnOriginData ¶
func (s *CDN) DescribeCdnOriginData(dto *DescribeCdnOriginDataRequest, options ...OptionArg) (responseBody *DescribeCdnOriginDataResponse, err error)
func (*CDN) DescribeCdnRegionAndIsp ¶
func (s *CDN) DescribeCdnRegionAndIsp(dto *DescribeCdnRegionAndIspRequest, options ...OptionArg) (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) DescribeContentBlockTasks ¶
func (s *CDN) DescribeContentBlockTasks(dto *DescribeContentBlockTasksRequest) (responseBody *DescribeContentBlockTasksResponse, err error)
func (*CDN) DescribeContentQuota ¶
func (s *CDN) DescribeContentQuota(options ...OptionArg) (responseBody *DescribeContentQuotaResponse, err error)
func (*CDN) DescribeContentTasks ¶
func (s *CDN) DescribeContentTasks(dto *DescribeContentTasksRequest) (responseBody *DescribeContentTasksResponse, err error)
func (*CDN) DescribeDistrictIspData ¶
func (s *CDN) DescribeDistrictIspData(dto *DescribeDistrictIspDataRequest, options ...OptionArg) (responseBody *DescribeDistrictIspDataResponse, err error)
func (*CDN) DescribeEdgeNrtDataSummary ¶
func (s *CDN) DescribeEdgeNrtDataSummary(dto *DescribeEdgeNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)
func (*CDN) DescribeEdgeStatisticalData ¶
func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest, options ...OptionArg) (responseBody *DescribeEdgeStatisticalDataResponse, err error)
func (*CDN) DescribeEdgeTopNrtData ¶
func (s *CDN) DescribeEdgeTopNrtData(dto *DescribeEdgeTopNrtDataRequest, options ...OptionArg) (responseBody *DescribeEdgeTopNrtDataResponse, err error)
func (*CDN) DescribeEdgeTopStatisticalData ¶
func (s *CDN) DescribeEdgeTopStatisticalData(dto *DescribeEdgeTopStatisticalDataRequest, options ...OptionArg) (responseBody *DescribeEdgeTopStatisticalDataResponse, err error)
func (*CDN) DescribeEdgeTopStatusCode ¶
func (s *CDN) DescribeEdgeTopStatusCode(dto *DescribeEdgeTopStatusCodeRequest, options ...OptionArg) (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) DescribeOriginNrtDataSummary ¶
func (s *CDN) DescribeOriginNrtDataSummary(dto *DescribeOriginNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeOriginNrtDataSummaryResponse, err error)
func (*CDN) DescribeOriginTopNrtData ¶
func (s *CDN) DescribeOriginTopNrtData(dto *DescribeOriginTopNrtDataRequest, options ...OptionArg) (responseBody *DescribeOriginTopNrtDataResponse, err error)
func (*CDN) DescribeOriginTopStatusCode ¶
func (s *CDN) DescribeOriginTopStatusCode(dto *DescribeOriginTopStatusCodeRequest, options ...OptionArg) (responseBody *DescribeOriginTopStatusCodeResponse, err error)
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, options ...OptionArg) (responseBody *ListCdnDomainsResponse, err error)
func (*CDN) ListCertInfo ¶
func (s *CDN) ListCertInfo(dto *ListCertInfoRequest) (responseBody *ListCertInfoResponse, err error)
func (*CDN) ListResourceTags ¶
func (s *CDN) ListResourceTags() (responseBody *ListResourceTagsResponse, err error)
func (*CDN) SendCommonRequest ¶
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) UpdateCdnConfig ¶
func (s *CDN) UpdateCdnConfig(dto *UpdateCdnConfigRequest) (responseBody *UpdateCdnConfigResponse, err error)
func (*CDN) UpdateResourceTags ¶
func (s *CDN) UpdateResourceTags(dto *UpdateResourceTagsRequest) (responseBody *UpdateResourceTagsResponse, err error)
func (*CDN) ValidateResponse ¶
func (s *CDN) ValidateResponse(meta *ResponseMetadata) error
type CDNError ¶
type CacheAction ¶
type CacheControlRule ¶
type CacheControlRule struct { CacheAction *CacheAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CacheKeyAction ¶
type CacheKeyAction struct {
CacheKeyComponents []CacheKeyComponent
}
type CacheKeyComponent ¶
type CacheKeyGenerationRule ¶
type CacheKeyGenerationRule struct { CacheKeyAction *CacheKeyAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CertInfo ¶
type CertInfo struct { CertId *string `json:",omitempty"` CertName *string `json:",omitempty"` Certificate *Certificate `json:",omitempty"` ConfiguredDomain *string `json:",omitempty"` Desc *string `json:",omitempty"` DnsName *string `json:",omitempty"` EffectiveTime *int64 `json:",omitempty"` ExpireTime *int64 `json:",omitempty"` Source *string `json:",omitempty"` Status *string `json:",omitempty"` }
type Certificate ¶
type Compression ¶
type Compression struct { CompressionRules []CompressionRule Switch *bool `json:",omitempty"` }
type CompressionAction ¶
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 ContentTask ¶
type CustomErrorPage ¶
type CustomErrorPage struct { ErrorPageRule []ErrorPageRule Switch *bool `json:",omitempty"` }
type CustomVariableInstance ¶
type CustomVariableRules ¶
type CustomVariableRules struct {
CustomVariableInstances []CustomVariableInstance
}
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 DescribeAccountingDataRequest ¶
type DescribeAccountingDataRequest struct { Aggregate *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 Interval *int64 `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 DescribeAccountingSummaryResponse ¶
type DescribeAccountingSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeAccountingSummaryResult }
type DescribeAccountingSummaryResult ¶
type DescribeAccountingSummaryResult struct {
Resources []AccountingSummary
}
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 DomainVolcanoDetail
}
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"` 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 }
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"` IsWildcardDomain *bool `json:",omitempty"` Metric string Project *string `json:",omitempty"` StartTime int64 }
type DescribeCdnOriginDataResponse ¶
type DescribeCdnOriginDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnOriginDataResult }
type DescribeCdnOriginDataResult ¶
type DescribeCdnOriginDataResult struct {
Resources []NrtDataResource
}
type DescribeCdnRegionAndIspResponse ¶
type DescribeCdnRegionAndIspResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnRegionAndIspResult }
type DescribeCdnServiceResponse ¶
type DescribeCdnServiceResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnServiceResult }
type DescribeCdnServiceResult ¶
type DescribeCdnServiceResult struct {
ServiceInfos []TopInstanceDetail
}
type DescribeCdnUpperIpResponse ¶
type DescribeCdnUpperIpResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnUpperIpResult }
type DescribeCertConfigResponse ¶
type DescribeCertConfigResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCertConfigResult }
type DescribeCertConfigResult ¶
type DescribeCertConfigResult struct { CertNotConfig []DomainCertResult OtherCertConfig []DomainCertResult SpecifiedCertConfig []DomainCertResult }
type DescribeContentBlockTasksRequest ¶
type DescribeContentBlockTasksRequest struct { 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 []DescribeContentBlockTasksTaskInfo PageNum int64 PageSize int64 Total int64 }
type DescribeContentQuotaResponse ¶
type DescribeContentQuotaResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeContentQuotaResult }
type DescribeContentQuotaResult ¶
type DescribeContentQuotaResult struct { PreloadLimit int64 PreloadQuota int64 PreloadRemain int64 RefreshDirLimit int64 RefreshDirQuota int64 RefreshDirRemain int64 RefreshQuota int64 RefreshQuotaLimit int64 RefreshRegexLimit int64 RefreshRegexQuota int64 RefreshRegexRemain int64 RefreshRemain 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 DescribeDistrictIspDataResponse ¶
type DescribeDistrictIspDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictIspDataResult }
type DescribeDistrictIspDataResult ¶
type DescribeDistrictIspDataResult struct {
Resources []DomainNrtDetailData
}
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"` 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 DescribeEdgeStatisticalDataResponse ¶
type DescribeEdgeStatisticalDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeStatisticalDataResult }
type DescribeEdgeStatisticalDataResult ¶
type DescribeEdgeStatisticalDataResult struct {
Resources []EdgeStatisticalDataResource
}
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 DescribeEdgeTopStatisticalDataResponse ¶
type DescribeEdgeTopStatisticalDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeTopStatisticalDataResult }
type DescribeEdgeTopStatisticalDataResult ¶
type DescribeEdgeTopStatisticalDataResult struct { Item string Metric string Name string TopDataDetails []EdgeTopStatisticalDataDetail }
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 DescribeIPListInfoRequest ¶
type DescribeIPListInfoRequest struct {
IpList string
}
type DescribeIPListInfoResponse ¶
type DescribeIPListInfoResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result []IPInfo }
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"` 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 DescribeOriginTopNrtDataResponse ¶
type DescribeOriginTopNrtDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginTopNrtDataResult }
type DescribeOriginTopNrtDataResult ¶
type DescribeOriginTopNrtDataResult struct { Item string Metric string Name string TopDataDetails []TopNrtDataDetail }
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 DomainCertDeployStatus ¶
type DomainCertResult ¶
type DomainLogDetail ¶
type DomainNrtDetailData ¶
type DomainNrtDetailData struct { DataDetails []NrtDataDetails Name string }
type DomainVolcanoDetail ¶
type DomainVolcanoDetail struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` AutoRotate *AutoRotate `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheKey []CacheKeyGenerationRule Cname *string `json:",omitempty"` Compression *Compression `json:",omitempty"` CreateTime *int64 `json:",omitempty"` CustomErrorPage *CustomErrorPage `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"` LockStatus *string `json:",omitempty"` MassCompression *MassCompression `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginHost *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` Project *string `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Status *string `json:",omitempty"` Timeout *TimeoutArg `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UpdateTime *int64 `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` WebpAdaptive *WebpAdaptive `json:",omitempty"` }
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 EdgeStatisticalDataResource ¶
type EdgeStatisticalDataResource struct { Metrics []AccountingData Name string }
type ErrorPageAction ¶
type ErrorPageRule ¶
type ErrorPageRule struct {
ErrorPageAction *ErrorPageAction `json:",omitempty"`
}
type ForcedRedirect ¶
type HttpForcedRedirect ¶
type IpAccessRule ¶
type IpFreqLimit ¶
type IpFreqLimit struct { IpFreqLimitRules []IpFreqLimitRule Switch *bool `json:",omitempty"` }
type IpFreqLimitAction ¶
type IpFreqLimitRule ¶
type IpFreqLimitRule struct { Condition *Condition `json:",omitempty"` IpFreqLimitAction *IpFreqLimitAction `json:",omitempty"` }
type ListCdnCertInfoRequest ¶
type ListCdnCertInfoResponse ¶
type ListCdnCertInfoResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListCdnCertInfoResult }
type ListCdnCertInfoResult ¶
type ListCdnDomainDomain ¶
type ListCdnDomainsRequest ¶
type ListCdnDomainsRequest struct { Domain *string `json:",omitempty"` ExactMatch *bool `json:",omitempty"` HTTPS *bool `json:",omitempty"` IPv6 *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 []ListCdnDomainDomain PageNum int64 PageSize int64 Total int64 }
type ListCertInfoRequest ¶
type ListCertInfoResponse ¶
type ListCertInfoResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListCertInfoResult }
type ListCertInfoResult ¶
type ListResourceTagsResponse ¶
type ListResourceTagsResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListResourceTagsResult }
type ListResourceTagsResult ¶
type ListResourceTagsResult struct {
ResourceTags []ResourceTag
}
type MassCompression ¶
type MassCompression struct { MassCompressionRule []MassCompressionRule Switch *bool `json:",omitempty"` }
type MassCompressionAction ¶
type MassCompressionCondition ¶
type MassCompressionCondition struct { }
type MassCompressionRule ¶
type MassCompressionRule struct { CompressionAction *MassCompressionAction `json:",omitempty"` Condition *MassCompressionCondition `json:",omitempty"` }
type MethodDeniedRule ¶
type MetricTimestampValue ¶
type MetricTimestampValue struct { Metric string Values []TimestampValue }
type MetricValue ¶
type NegativeCache ¶
type NegativeCache struct { Condition *Condition `json:",omitempty"` NegativeCacheRule *NegativeCacheAction `json:",omitempty"` }
type NegativeCacheAction ¶
type NrtDataDetails ¶
type NrtDataDetails struct { Isp string Metrics []MetricTimestampValue Region string }
type NrtDataResource ¶
type NrtDataResource struct { BillingRegion string Metrics []MetricTimestampValue Name string }
type NrtDataSummaryResource ¶
type NrtDataSummaryResource struct { BillingRegion string Metrics []MetricValue Name string }
type OptionArg ¶ added in v1.0.106
type OptionArg struct {
// contains filtered or unexported fields
}
type OriginAccessRule ¶
type OriginAction ¶
type OriginAction struct {
OriginLines []OriginLine
}
type OriginArgAction ¶
type OriginArgAction struct {
OriginArgComponents []OriginArgComponents
}
type OriginArgComponents ¶
type OriginArgRule ¶
type OriginArgRule struct { Condition *Condition `json:",omitempty"` OriginArgAction *OriginArgAction `json:",omitempty"` }
type OriginLine ¶
type OriginLine struct { Address *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"` Weight *string `json:",omitempty"` }
type OriginRewrite ¶
type OriginRewrite struct { OriginRewriteRule []OriginRewriteRule Switch *bool `json:",omitempty"` }
type OriginRewriteAction ¶
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 OriginTimeoutAction ¶
type PrivateBucketAuth ¶
type PrivateBucketAuth struct { AuthType *string `json:",omitempty"` Switch *bool `json:",omitempty"` TosAuthInformation *TosAuthInformation `json:",omitempty"` }
type QueryStringComponents ¶
type QueryStringInstance ¶
type QueryStringRule ¶
type QueryStringRule struct { QueryStringComponents *QueryStringComponents `json:",omitempty"` QueryStringInstances []QueryStringInstance }
type RedirectionAction ¶
type RedirectionRewrite ¶
type RedirectionRewrite struct { RedirectionRule []RedirectionRule Switch *bool `json:",omitempty"` }
type RedirectionRule ¶
type RedirectionRule struct {
RedirectionAction *RedirectionAction `json:",omitempty"`
}
type RefererAccessRule ¶
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 RequestHeaderAction ¶
type RequestHeaderAction struct {
RequestHeaderInstances []RequestHeaderInstance
}
type RequestHeaderComponent ¶
type RequestHeaderInstance ¶
type RequestHeaderRule ¶
type RequestHeaderRule struct { Condition *Condition `json:",omitempty"` RequestHeaderAction *RequestHeaderAction `json:",omitempty"` }
type ResourceTag ¶
type ResponseAction ¶
type ResponseAction struct {
StatusCode *string `json:",omitempty"`
}
type ResponseHeaderAction ¶
type ResponseHeaderAction struct {
ResponseHeaderInstances []ResponseHeaderInstance
}
type ResponseHeaderInstance ¶
type ResponseHeaderRule ¶
type ResponseHeaderRule struct { Condition *Condition `json:",omitempty"` ResponseHeaderAction *ResponseHeaderAction `json:",omitempty"` }
type ResponseMetadata ¶
type SignedUrlAuth ¶
type SignedUrlAuth struct { SignedUrlAuthRules []SignedUrlAuthRule Switch *bool `json:",omitempty"` }
type SignedUrlAuthAction ¶
type SignedUrlAuthAction struct { BackupSecretKey *string `json:",omitempty"` CustomVariableRules *CustomVariableRules `json:",omitempty"` Duration *int64 `json:",omitempty"` MasterSecretKey *string `json:",omitempty"` RewriteM3u8 *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 Sparrow ¶
type Sparrow struct { SparrowRules []SparrowRule Switch *bool `json:",omitempty"` }
type SparrowAction ¶
type SparrowRule ¶
type SparrowRule struct { Condition *Condition `json:",omitempty"` SparrowAction *SparrowAction `json:",omitempty"` }
type SpeedLimitTime ¶
type StartCdnDomainRequest ¶
type StartCdnDomainRequest struct {
Domain string
}
type StartCdnDomainResponse ¶
type StartCdnDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type StatusCodeAction ¶
type StopCdnDomainRequest ¶
type StopCdnDomainRequest struct {
Domain string
}
type StopCdnDomainResponse ¶
type StopCdnDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type SubmitBlockTaskRequest ¶
type SubmitBlockTaskRequest struct {
Urls string
}
type SubmitBlockTaskResponse ¶
type SubmitBlockTaskResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result SubmitBlockTaskResult }
type SubmitBlockTaskResult ¶
type SubmitBlockTaskResult struct {
TaskID string
}
type SubmitPreloadTaskResponse ¶
type SubmitPreloadTaskResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result SubmitPreloadTaskResult }
type SubmitPreloadTaskResult ¶
type SubmitPreloadTaskResult struct {
TaskID string
}
type SubmitRefreshTaskResponse ¶
type SubmitRefreshTaskResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result SubmitRefreshTaskResult }
type SubmitRefreshTaskResult ¶
type SubmitRefreshTaskResult struct {
TaskID string
}
type SubmitUnblockTaskRequest ¶
type SubmitUnblockTaskRequest struct {
Urls string
}
type SubmitUnblockTaskResponse ¶
type SubmitUnblockTaskResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result SubmitUnblockTaskResult }
type SubmitUnblockTaskResult ¶
type SubmitUnblockTaskResult struct {
TaskID string
}
type TargetQueryComponents ¶
type TimeOutAction ¶
type TimeoutArg ¶
type TimeoutArg struct { Switch *bool `json:",omitempty"` TimeoutRules []TimeoutRule }
type TimeoutRule ¶
type TimeoutRule struct { Condition *Condition `json:",omitempty"` TimeoutAction *OriginTimeoutAction `json:",omitempty"` }
type TimestampValue ¶
type TopInstanceDetail ¶
type TopNrtDataDetail ¶
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 UpdateCdnConfigRequest ¶
type UpdateCdnConfigRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` AutoRotate *AutoRotate `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheKey []CacheKeyGenerationRule Compression *Compression `json:",omitempty"` CustomErrorPage *CustomErrorPage `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"` MassCompression *MassCompression `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginHost *string `json:",omitempty"` OriginProtocol *string `json:",omitempty"` OriginRange *bool `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Timeout *TimeoutArg `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` WebpAdaptive *WebpAdaptive `json:",omitempty"` }
type UpdateCdnConfigResponse ¶
type UpdateCdnConfigResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type UpdateResourceTagsRequest ¶
type UpdateResourceTagsRequest struct { ResourceTags []ResourceTag Resources []string }
type UpdateResourceTagsResponse ¶
type UpdateResourceTagsResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type UserAgentAccessRule ¶
type WebpAdaptive ¶
type WebpAdaptive struct {
Switch *bool `json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.