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 AddCertificateRequest
- type AddCertificateResponse
- type AddCertificateResult
- type AddResourceTagsRequest
- type AddResourceTagsResponse
- type AddSharedConfigRequest
- type AddSharedConfigResponse
- type AreaAccessRule
- type AuthCacheAction
- type AuthModeConfig
- type AuthRequestHeaderRule
- type AuthResponseConfig
- type AuthTimeoutAction
- type AutoRotate
- type BandwidthLimit
- type BandwidthLimitAction
- type BandwidthLimitRule
- type BatchDeployCertRequest
- type BatchDeployCertResponse
- type BatchDeployCertResult
- type BatchUpdateCdnConfigRequest
- type BatchUpdateCdnConfigResponse
- type BatchUpdateCdnConfigResult
- type BlockAction
- type BlockRule
- type BlockTaskInfo
- 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) AddCertificate(dto *AddCertificateRequest) (responseBody *AddCertificateResponse, err error)
- func (s *CDN) AddResourceTags(dto *AddResourceTagsRequest) (responseBody *AddResourceTagsResponse, err error)
- func (s *CDN) AddSharedConfig(dto *AddSharedConfigRequest) (responseBody *AddSharedConfigResponse, err error)
- func (s *CDN) BatchDeployCert(dto *BatchDeployCertRequest) (responseBody *BatchDeployCertResponse, err error)
- func (s *CDN) BatchUpdateCdnConfig(dto *BatchUpdateCdnConfigRequest) (responseBody *BatchUpdateCdnConfigResponse, err error)
- func (s *CDN) CreateUsageReport(dto *CreateUsageReportRequest) (responseBody *CreateUsageReportResponse, err error)
- func (s *CDN) DeleteCdnCertificate(dto *DeleteCdnCertificateRequest) (responseBody *DeleteCdnCertificateResponse, 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) DeleteSharedConfig(dto *DeleteSharedConfigRequest) (responseBody *DeleteSharedConfigResponse, err error)
- func (s *CDN) DeleteUsageReport(dto *DeleteUsageReportRequest) (responseBody *DeleteUsageReportResponse, 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) DescribeDistrictData(dto *DescribeDistrictDataRequest) (responseBody *DescribeDistrictDataResponse, err error)
- func (s *CDN) DescribeDistrictIspData(dto *DescribeDistrictIspDataRequest, options ...OptionArg) (responseBody *DescribeDistrictIspDataResponse, err error)
- func (s *CDN) DescribeDistrictRanking(dto *DescribeDistrictRankingRequest) (responseBody *DescribeDistrictRankingResponse, err error)
- func (s *CDN) DescribeDistrictSummary(dto *DescribeDistrictSummaryRequest) (responseBody *DescribeDistrictSummaryResponse, err error)
- func (s *CDN) DescribeEdgeData(dto *DescribeEdgeDataRequest) (responseBody *DescribeEdgeDataResponse, err error)
- func (s *CDN) DescribeEdgeNrtDataSummary(dto *DescribeEdgeNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)
- func (s *CDN) DescribeEdgeRanking(dto *DescribeEdgeRankingRequest) (responseBody *DescribeEdgeRankingResponse, err error)
- func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest, options ...OptionArg) (responseBody *DescribeEdgeStatisticalDataResponse, err error)
- func (s *CDN) DescribeEdgeStatusCodeRanking(dto *DescribeEdgeStatusCodeRankingRequest) (responseBody *DescribeEdgeStatusCodeRankingResponse, err error)
- func (s *CDN) DescribeEdgeSummary(dto *DescribeEdgeSummaryRequest) (responseBody *DescribeEdgeSummaryResponse, 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) DescribeOriginData(dto *DescribeOriginDataRequest) (responseBody *DescribeOriginDataResponse, err error)
- func (s *CDN) DescribeOriginNrtDataSummary(dto *DescribeOriginNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeOriginNrtDataSummaryResponse, err error)
- func (s *CDN) DescribeOriginRanking(dto *DescribeOriginRankingRequest) (responseBody *DescribeOriginRankingResponse, err error)
- func (s *CDN) DescribeOriginStatusCodeRanking(dto *DescribeOriginStatusCodeRankingRequest) (responseBody *DescribeOriginStatusCodeRankingResponse, err error)
- func (s *CDN) DescribeOriginSummary(dto *DescribeOriginSummaryRequest) (responseBody *DescribeOriginSummaryResponse, 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) DescribeSharedConfig(dto *DescribeSharedConfigRequest) (responseBody *DescribeSharedConfigResponse, err error)
- func (s *CDN) DescribeStatisticalRanking(dto *DescribeStatisticalRankingRequest) (responseBody *DescribeStatisticalRankingResponse, err error)
- func (s *CDN) DescribeUserData(dto *DescribeUserDataRequest) (responseBody *DescribeUserDataResponse, 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) ListSharedConfig(dto *ListSharedConfigRequest) (responseBody *ListSharedConfigResponse, err error)
- func (s *CDN) ListUsageReports(dto *ListUsageReportsRequest) (responseBody *ListUsageReportsResponse, err error)
- func (s *CDN) SendCommonRequest(action string, in interface{}, out interface{}) error
- func (s *CDN) SetAPIRetrySetting(apis []string, retryTime int, interval time.Duration) bool
- func (s *CDN) SetHost(host string)
- func (s *CDN) SetMethod(api, method string) bool
- func (s *CDN) SetNewAPI(info base.ApiInfo)
- 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) UpdateSharedConfig(dto *UpdateSharedConfigRequest) (responseBody *UpdateSharedConfigResponse, err error)
- func (s *CDN) ValidateResponse(meta *ResponseMetadata) error
- type CDNError
- type CacheAction
- type CacheControlRule
- type CacheHost
- type CacheHostAction
- type CacheHostRule
- type CacheKeyAction
- type CacheKeyComponent
- type CacheKeyRule
- type CertCheck
- type CertDeployStatus
- type CertFingerprint
- type CertInfo
- type Certificate
- type CommonGlobalConfig
- type CommonMatchList
- type CommonReferType
- type Compression
- type CompressionAction
- type CompressionRule
- type Condition
- type ConditionRule
- type ConditionalOrigin
- type ConditionalOriginAction
- type ConditionalOriginLine
- type ConfiguredDomain
- type ContentTask
- type CreateUsageReportRequest
- type CreateUsageReportResponse
- type CreateUsageReportResult
- type CustomErrorPage
- type CustomVariableInstance
- type CustomVariableRules
- type CustomizeAccessAction
- type CustomizeAccessRule
- type CustomizeInstance
- type CustomizeRule
- type DataPoint
- type DeleteCdnCertificateRequest
- type DeleteCdnCertificateResponse
- type DeleteCdnDomainRequest
- type DeleteCdnDomainResponse
- type DeleteResourceTagsRequest
- type DeleteResourceTagsResponse
- type DeleteSharedConfigRequest
- type DeleteSharedConfigResponse
- type DeleteUsageReportRequest
- type DeleteUsageReportResponse
- type DeleteUsageReportResult
- type DeployResult
- 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 DescribeContentQuotaResponse
- type DescribeContentQuotaResult
- type DescribeContentTasksRequest
- type DescribeContentTasksResponse
- type DescribeContentTasksResult
- type DescribeDistrictDataRequest
- type DescribeDistrictDataResponse
- type DescribeDistrictDataResult
- type DescribeDistrictIspDataRequest
- type DescribeDistrictIspDataResponse
- type DescribeDistrictIspDataResult
- type DescribeDistrictRankingRequest
- type DescribeDistrictRankingResponse
- type DescribeDistrictRankingResult
- type DescribeDistrictSummaryRequest
- type DescribeDistrictSummaryResponse
- type DescribeDistrictSummaryResult
- type DescribeEdgeDataRequest
- type DescribeEdgeDataResponse
- type DescribeEdgeDataResult
- type DescribeEdgeNrtDataSummaryRequest
- type DescribeEdgeNrtDataSummaryResponse
- type DescribeEdgeNrtDataSummaryResult
- type DescribeEdgeRankingRequest
- type DescribeEdgeRankingResponse
- type DescribeEdgeRankingResult
- type DescribeEdgeStatisticalDataRequest
- type DescribeEdgeStatisticalDataResponse
- type DescribeEdgeStatisticalDataResult
- type DescribeEdgeStatusCodeRankingRequest
- type DescribeEdgeStatusCodeRankingResponse
- type DescribeEdgeStatusCodeRankingResult
- type DescribeEdgeSummaryRequest
- type DescribeEdgeSummaryResponse
- type DescribeEdgeSummaryResult
- 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 DescribeOriginDataRequest
- type DescribeOriginDataResponse
- type DescribeOriginDataResult
- type DescribeOriginNrtDataSummaryRequest
- type DescribeOriginNrtDataSummaryResponse
- type DescribeOriginNrtDataSummaryResult
- type DescribeOriginRankingRequest
- type DescribeOriginRankingResponse
- type DescribeOriginRankingResult
- type DescribeOriginStatusCodeRankingRequest
- type DescribeOriginStatusCodeRankingResponse
- type DescribeOriginStatusCodeRankingResult
- type DescribeOriginSummaryRequest
- type DescribeOriginSummaryResponse
- type DescribeOriginSummaryResult
- type DescribeOriginTopNrtDataRequest
- type DescribeOriginTopNrtDataResponse
- type DescribeOriginTopNrtDataResult
- type DescribeOriginTopStatusCodeRequest
- type DescribeOriginTopStatusCodeResponse
- type DescribeOriginTopStatusCodeResult
- type DescribeSharedConfigRequest
- type DescribeSharedConfigResponse
- type DescribeSharedConfigResult
- type DescribeStatisticalRankingRequest
- type DescribeStatisticalRankingResponse
- type DescribeStatisticalRankingResult
- type DescribeUserDataRequest
- type DescribeUserDataResponse
- type DescribeUserDataResult
- type DomainCertStatus
- type DomainConfig
- type DomainLock
- type DomainLogDetail
- type DomainNrtDetailData
- type DomainStatus
- type DomainSummary
- type DownloadSpeedLimit
- type DownloadSpeedLimitAction
- type DownloadSpeedLimitRule
- type EdgeStatisticalDataResource
- type EdgeTopStatisticalDataDetail
- type ErrorObj
- type ErrorPageAction
- type ErrorPageRule
- type FeatureConfig
- type ForcedRedirect
- type GlobalErrorPageRule
- type GlobalIPAccessRule
- type GlobalRefererAccessRule
- type GlobalRefererCommonType
- 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 ListCdnDomainsRequest
- type ListCdnDomainsResponse
- type ListCdnDomainsResult
- type ListCertInfo
- type ListCertInfoRequest
- type ListCertInfoResponse
- type ListCertInfoResult
- type ListResourceTagsResponse
- type ListResourceTagsResult
- type ListSharedConfigRequest
- type ListSharedConfigResponse
- type ListSharedConfigResult
- type ListUsageReportsRequest
- type ListUsageReportsResponse
- type ListUsageReportsResult
- type MassCompression
- type MassCompressionAction
- type MassCompressionRule
- type MethodDeniedRule
- type MetricSummaryData
- type MetricTimestampValue
- type MetricValue
- type MultiRange
- 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 OriginCertCheck
- type OriginLine
- type OriginRetry
- type OriginRewrite
- type OriginRewriteAction
- type OriginRewriteRule
- type OriginRule
- type OriginRules
- type OriginSni
- type PageOptimization
- type PreloadHeader
- type PrivateBucketAuth
- type QueryStringComponents
- type QueryStringInstance
- type QueryStringRule
- type Quic
- type RankingDataDetail
- type RankingStatusCodeDetail
- type RankingValueDetail
- type RecursionCondition
- type RecursionConditionRule
- type RedirectionAction
- type RedirectionRewrite
- type RedirectionRule
- type RefererAccessRule
- type RefererType
- type ReferersType
- type RemoteAuth
- type RemoteAuthRule
- type RemoteAuthRuleAction
- type RequestBlockRule
- type RequestHeaderAction
- type RequestHeaderComponent
- type RequestHeaderInstance
- type RequestHeaderRule
- type ResourceTag
- type ResponseAction
- type ResponseHeaderAction
- type ResponseHeaderInstance
- type ResponseHeaderRule
- type ResponseMetadata
- type RewriteHLS
- type RewriteM3u8Rule
- type SharedCname
- type SharedConfig
- type SignedOriginAuth
- type SignedOriginAuthAction
- type SignedOriginAuthRule
- type SignedUrlAuth
- type SignedUrlAuthAction
- type SignedUrlAuthRule
- type SignedUrlAuthRules
- type SortRule
- type Sparrow
- type SparrowAction
- type SparrowRule
- type SpeedLimitTime
- type StartCdnDomainRequest
- type StartCdnDomainResponse
- type StatusCodeAction
- type StopCdnDomainRequest
- type StopCdnDomainResponse
- type SubRecursionCondition
- 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 Timeout
- type TimeoutAction
- type TimeoutRule
- type TimestampValue
- type TopInstanceDetail
- type TopNrtDataDetail
- type TopStatusCodeDetail
- type TosAuthInformation
- type URLNormalize
- type UpdateCdnConfigRequest
- type UpdateCdnConfigResponse
- type UpdateResourceTagsRequest
- type UpdateResourceTagsResponse
- type UpdateSharedConfigRequest
- type UpdateSharedConfigResponse
- type UriParamSup
- type UrlDecrypt
- type UsageReportsDetail
- type UserAgentAccessRule
- type VideoDrag
- type WebpAdaptive
- type Websocket
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}, }, }, "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}, }, }, "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}, }, }, "DescribeSharedConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeSharedConfig"}, "Version": []string{ServiceVersion}, }, }, "ListSharedConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListSharedConfig"}, "Version": []string{ServiceVersion}, }, }, "DeleteSharedConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteSharedConfig"}, "Version": []string{ServiceVersion}, }, }, "UpdateSharedConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateSharedConfig"}, "Version": []string{ServiceVersion}, }, }, "AddSharedConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddSharedConfig"}, "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"` 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"` MassCompression *MassCompression `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"` 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 SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Timeout *Timeout `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UrlNormalize *URLNormalize `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` WebpAdaptive *WebpAdaptive `json:",omitempty"` }
type AddCdnDomainResponse ¶
type AddCdnDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type AddCertificateRequest ¶ added in v1.0.171
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.171
type AddCertificateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result AddCertificateResult }
type AddCertificateResult ¶ added in v1.0.171
type AddCertificateResult struct {
CertId string
}
type AddResourceTagsRequest ¶
type AddResourceTagsRequest struct { ResourceTags []ResourceTag Resources []string }
type AddResourceTagsResponse ¶
type AddResourceTagsResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type AddSharedConfigRequest ¶ added in v1.0.182
type AddSharedConfigRequest struct {}
type AddSharedConfigResponse ¶ added in v1.0.182
type AddSharedConfigResponse struct {
}type AreaAccessRule ¶
type AuthCacheAction ¶
type AuthModeConfig ¶
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.120
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 []CertDeployStatus
}
type BatchUpdateCdnConfigRequest ¶ added in v1.0.171
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"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `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"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Timeout *Timeout `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UrlNormalize *URLNormalize `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` }
type BatchUpdateCdnConfigResponse ¶ added in v1.0.171
type BatchUpdateCdnConfigResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result BatchUpdateCdnConfigResult }
type BatchUpdateCdnConfigResult ¶ added in v1.0.171
type BatchUpdateCdnConfigResult struct {
DeployResult []DeployResult
}
type BlockAction ¶ added in v1.0.168
type BlockRule ¶ added in v1.0.168
type BlockRule struct { BlockAction *BlockAction `json:",omitempty"` Condition *Condition `json:",omitempty"` RuleName *string `json:",omitempty"` }
type BlockTaskInfo ¶ added in v1.0.120
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) AddCertificate ¶ added in v1.0.171
func (s *CDN) AddCertificate(dto *AddCertificateRequest) (responseBody *AddCertificateResponse, err error)
func (*CDN) AddResourceTags ¶
func (s *CDN) AddResourceTags(dto *AddResourceTagsRequest) (responseBody *AddResourceTagsResponse, err error)
func (*CDN) AddSharedConfig ¶ added in v1.0.182
func (s *CDN) AddSharedConfig(dto *AddSharedConfigRequest) (responseBody *AddSharedConfigResponse, err error)
func (*CDN) BatchDeployCert ¶
func (s *CDN) BatchDeployCert(dto *BatchDeployCertRequest) (responseBody *BatchDeployCertResponse, err error)
func (*CDN) BatchUpdateCdnConfig ¶ added in v1.0.171
func (s *CDN) BatchUpdateCdnConfig(dto *BatchUpdateCdnConfigRequest) (responseBody *BatchUpdateCdnConfigResponse, err error)
func (*CDN) CreateUsageReport ¶ added in v1.0.171
func (s *CDN) CreateUsageReport(dto *CreateUsageReportRequest) (responseBody *CreateUsageReportResponse, err error)
func (*CDN) DeleteCdnCertificate ¶ added in v1.0.109
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) DeleteResourceTags ¶
func (s *CDN) DeleteResourceTags(dto *DeleteResourceTagsRequest) (responseBody *DeleteResourceTagsResponse, err error)
func (*CDN) DeleteSharedConfig ¶ added in v1.0.182
func (s *CDN) DeleteSharedConfig(dto *DeleteSharedConfigRequest) (responseBody *DeleteSharedConfigResponse, err error)
func (*CDN) DeleteUsageReport ¶ added in v1.0.171
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 ¶
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) DescribeDistrictData ¶ added in v1.0.168
func (s *CDN) DescribeDistrictData(dto *DescribeDistrictDataRequest) (responseBody *DescribeDistrictDataResponse, err error)
func (*CDN) DescribeDistrictIspData ¶
func (s *CDN) DescribeDistrictIspData(dto *DescribeDistrictIspDataRequest, options ...OptionArg) (responseBody *DescribeDistrictIspDataResponse, err error)
func (*CDN) DescribeDistrictRanking ¶ added in v1.0.168
func (s *CDN) DescribeDistrictRanking(dto *DescribeDistrictRankingRequest) (responseBody *DescribeDistrictRankingResponse, err error)
func (*CDN) DescribeDistrictSummary ¶ added in v1.0.168
func (s *CDN) DescribeDistrictSummary(dto *DescribeDistrictSummaryRequest) (responseBody *DescribeDistrictSummaryResponse, err error)
func (*CDN) DescribeEdgeData ¶ added in v1.0.168
func (s *CDN) DescribeEdgeData(dto *DescribeEdgeDataRequest) (responseBody *DescribeEdgeDataResponse, err error)
func (*CDN) DescribeEdgeNrtDataSummary ¶
func (s *CDN) DescribeEdgeNrtDataSummary(dto *DescribeEdgeNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)
func (*CDN) DescribeEdgeRanking ¶ added in v1.0.168
func (s *CDN) DescribeEdgeRanking(dto *DescribeEdgeRankingRequest) (responseBody *DescribeEdgeRankingResponse, err error)
func (*CDN) DescribeEdgeStatisticalData ¶
func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest, options ...OptionArg) (responseBody *DescribeEdgeStatisticalDataResponse, err error)
func (*CDN) DescribeEdgeStatusCodeRanking ¶ added in v1.0.168
func (s *CDN) DescribeEdgeStatusCodeRanking(dto *DescribeEdgeStatusCodeRankingRequest) (responseBody *DescribeEdgeStatusCodeRankingResponse, err error)
func (*CDN) DescribeEdgeSummary ¶ added in v1.0.168
func (s *CDN) DescribeEdgeSummary(dto *DescribeEdgeSummaryRequest) (responseBody *DescribeEdgeSummaryResponse, 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) DescribeOriginData ¶ added in v1.0.168
func (s *CDN) DescribeOriginData(dto *DescribeOriginDataRequest) (responseBody *DescribeOriginDataResponse, err error)
func (*CDN) DescribeOriginNrtDataSummary ¶
func (s *CDN) DescribeOriginNrtDataSummary(dto *DescribeOriginNrtDataSummaryRequest, options ...OptionArg) (responseBody *DescribeOriginNrtDataSummaryResponse, err error)
func (*CDN) DescribeOriginRanking ¶ added in v1.0.168
func (s *CDN) DescribeOriginRanking(dto *DescribeOriginRankingRequest) (responseBody *DescribeOriginRankingResponse, err error)
func (*CDN) DescribeOriginStatusCodeRanking ¶ added in v1.0.168
func (s *CDN) DescribeOriginStatusCodeRanking(dto *DescribeOriginStatusCodeRankingRequest) (responseBody *DescribeOriginStatusCodeRankingResponse, err error)
func (*CDN) DescribeOriginSummary ¶ added in v1.0.168
func (s *CDN) DescribeOriginSummary(dto *DescribeOriginSummaryRequest) (responseBody *DescribeOriginSummaryResponse, 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) DescribeSharedConfig ¶ added in v1.0.182
func (s *CDN) DescribeSharedConfig(dto *DescribeSharedConfigRequest) (responseBody *DescribeSharedConfigResponse, err error)
func (*CDN) DescribeStatisticalRanking ¶ added in v1.0.168
func (s *CDN) DescribeStatisticalRanking(dto *DescribeStatisticalRankingRequest) (responseBody *DescribeStatisticalRankingResponse, err error)
func (*CDN) DescribeUserData ¶ added in v1.0.168
func (s *CDN) DescribeUserData(dto *DescribeUserDataRequest) (responseBody *DescribeUserDataResponse, 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) ListSharedConfig ¶ added in v1.0.182
func (s *CDN) ListSharedConfig(dto *ListSharedConfigRequest) (responseBody *ListSharedConfigResponse, err error)
func (*CDN) ListUsageReports ¶ added in v1.0.171
func (s *CDN) ListUsageReports(dto *ListUsageReportsRequest) (responseBody *ListUsageReportsResponse, err error)
func (*CDN) SendCommonRequest ¶
func (*CDN) SetAPIRetrySetting ¶ added in v1.0.120
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) UpdateSharedConfig ¶ added in v1.0.182
func (s *CDN) UpdateSharedConfig(dto *UpdateSharedConfigRequest) (responseBody *UpdateSharedConfigResponse, 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 CacheHost ¶ added in v1.0.109
type CacheHost struct { CacheHostRule []CacheHostRule Switch *bool `json:",omitempty"` }
type CacheHostAction ¶ added in v1.0.109
type CacheHostAction struct {
CacheHost *string `json:",omitempty"`
}
type CacheHostRule ¶ added in v1.0.109
type CacheHostRule struct { CacheHostAction *CacheHostAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CacheKeyAction ¶
type CacheKeyAction struct {
CacheKeyComponents []CacheKeyComponent
}
type CacheKeyComponent ¶
type CacheKeyRule ¶ added in v1.0.120
type CacheKeyRule struct { CacheKeyAction *CacheKeyAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CertDeployStatus ¶ added in v1.0.120
type CertFingerprint ¶ added in v1.0.168
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 CommonGlobalConfig ¶ added in v1.0.168
type CommonGlobalConfig struct {
ConfigName *string `json:",omitempty"`
}
type CommonMatchList ¶ added in v1.0.182
type CommonMatchList struct {
CommonType *GlobalRefererCommonType `json:",omitempty"`
}
type CommonReferType ¶ added in v1.0.109
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 ConditionalOrigin ¶ added in v1.0.168
type ConditionalOrigin struct { OriginRules []OriginRules Switch *bool `json:",omitempty"` }
type ConditionalOriginAction ¶ added in v1.0.168
type ConditionalOriginAction struct {
OriginLines []ConditionalOriginLine
}
type ConditionalOriginLine ¶ added in v1.0.168
type ConfiguredDomain ¶ added in v1.0.120
type ContentTask ¶
type CreateUsageReportRequest ¶ added in v1.0.171
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 TlsTopic *string `json:",omitempty"` }
type CreateUsageReportResponse ¶ added in v1.0.171
type CreateUsageReportResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result CreateUsageReportResult }
type CreateUsageReportResult ¶ added in v1.0.171
type CreateUsageReportResult struct {
TaskId string
}
type CustomErrorPage ¶
type CustomErrorPage struct { ErrorPageRule []ErrorPageRule Switch *bool `json:",omitempty"` }
type CustomVariableInstance ¶
type CustomVariableRules ¶
type CustomVariableRules struct {
CustomVariableInstances []CustomVariableInstance
}
type CustomizeAccessAction ¶ added in v1.0.120
type CustomizeAccessRule ¶ added in v1.0.120
type CustomizeAccessRule struct { CustomizeInstances []CustomizeInstance Switch *bool `json:",omitempty"` }
type CustomizeInstance ¶ added in v1.0.120
type CustomizeInstance struct {
CustomizeRule *CustomizeRule `json:",omitempty"`
}
type CustomizeRule ¶ added in v1.0.120
type CustomizeRule struct { AccessAction *CustomizeAccessAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type DeleteCdnCertificateRequest ¶ added in v1.0.109
type DeleteCdnCertificateRequest struct {
CertId string
}
type DeleteCdnCertificateResponse ¶ added in v1.0.109
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 DeleteSharedConfigRequest ¶ added in v1.0.182
type DeleteSharedConfigRequest struct {
}type DeleteSharedConfigResponse ¶ added in v1.0.182
type DeleteSharedConfigResponse struct {
}type DeleteUsageReportRequest ¶ added in v1.0.171
type DeleteUsageReportRequest struct {
TaskId string
}
type DeleteUsageReportResponse ¶ added in v1.0.171
type DeleteUsageReportResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DeleteUsageReportResult }
type DeleteUsageReportResult ¶ added in v1.0.171
type DeleteUsageReportResult struct {
TaskIds []string
}
type DeployResult ¶ added in v1.0.171
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 ¶
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 ¶
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 DescribeCdnConfigResponse ¶
type DescribeCdnConfigResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnConfigResult }
type DescribeCdnConfigResult ¶
type DescribeCdnConfigResult struct { DomainConfig DomainConfig FeatureConfig FeatureConfig }
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 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 []DomainStatus OtherCertConfig []DomainCertStatus SpecifiedCertConfig []DomainCertStatus }
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.168
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.168
type DescribeDistrictDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictDataResult }
type DescribeDistrictDataResult ¶ added in v1.0.168
type DescribeDistrictDataResult struct {
MetricDataList []AccountingData
}
type DescribeDistrictIspDataResponse ¶
type DescribeDistrictIspDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictIspDataResult }
type DescribeDistrictIspDataResult ¶
type DescribeDistrictIspDataResult struct {
Resources []DomainNrtDetailData
}
type DescribeDistrictRankingRequest ¶ added in v1.0.168
type DescribeDistrictRankingResponse ¶ added in v1.0.168
type DescribeDistrictRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictRankingResult }
type DescribeDistrictRankingResult ¶ added in v1.0.168
type DescribeDistrictRankingResult struct { Item string TopDataDetails []RankingDataDetail }
type DescribeDistrictSummaryRequest ¶ added in v1.0.168
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.168
type DescribeDistrictSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictSummaryResult }
type DescribeDistrictSummaryResult ¶ added in v1.0.168
type DescribeDistrictSummaryResult struct {
MetricDataList []MetricSummaryData
}
type DescribeEdgeDataRequest ¶ added in v1.0.168
type DescribeEdgeDataResponse ¶ added in v1.0.168
type DescribeEdgeDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeDataResult }
type DescribeEdgeDataResult ¶ added in v1.0.168
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.168
type DescribeEdgeRankingResponse ¶ added in v1.0.168
type DescribeEdgeRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeRankingResult }
type DescribeEdgeRankingResult ¶ added in v1.0.168
type DescribeEdgeRankingResult struct { Item string TopDataDetails []RankingDataDetail }
type DescribeEdgeStatisticalDataResponse ¶
type DescribeEdgeStatisticalDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeStatisticalDataResult }
type DescribeEdgeStatisticalDataResult ¶
type DescribeEdgeStatisticalDataResult struct {
Resources []EdgeStatisticalDataResource
}
type DescribeEdgeStatusCodeRankingRequest ¶ added in v1.0.168
type DescribeEdgeStatusCodeRankingResponse ¶ added in v1.0.168
type DescribeEdgeStatusCodeRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeStatusCodeRankingResult }
type DescribeEdgeStatusCodeRankingResult ¶ added in v1.0.168
type DescribeEdgeStatusCodeRankingResult struct { Item string Metric string TopDataDetails []RankingStatusCodeDetail }
type DescribeEdgeSummaryRequest ¶ added in v1.0.168
type DescribeEdgeSummaryResponse ¶ added in v1.0.168
type DescribeEdgeSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeSummaryResult }
type DescribeEdgeSummaryResult ¶ added in v1.0.168
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 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 DescribeOriginDataRequest ¶ added in v1.0.168
type DescribeOriginDataResponse ¶ added in v1.0.168
type DescribeOriginDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginDataResult }
type DescribeOriginDataResult ¶ added in v1.0.168
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.168
type DescribeOriginRankingResponse ¶ added in v1.0.168
type DescribeOriginRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginRankingResult }
type DescribeOriginRankingResult ¶ added in v1.0.168
type DescribeOriginRankingResult struct { Item string TopDataDetails []RankingDataDetail }
type DescribeOriginStatusCodeRankingRequest ¶ added in v1.0.168
type DescribeOriginStatusCodeRankingResponse ¶ added in v1.0.168
type DescribeOriginStatusCodeRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginStatusCodeRankingResult }
type DescribeOriginStatusCodeRankingResult ¶ added in v1.0.168
type DescribeOriginStatusCodeRankingResult struct { Item string Metric string TopDataDetails []RankingStatusCodeDetail }
type DescribeOriginSummaryRequest ¶ added in v1.0.168
type DescribeOriginSummaryResponse ¶ added in v1.0.168
type DescribeOriginSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginSummaryResult }
type DescribeOriginSummaryResult ¶ added in v1.0.168
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 DescribeOriginTopStatusCodeResponse ¶
type DescribeOriginTopStatusCodeResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginTopStatusCodeResult }
type DescribeOriginTopStatusCodeResult ¶
type DescribeOriginTopStatusCodeResult struct { Item string Metric string Name string TopDataDetails []TopStatusCodeDetail }
type DescribeSharedConfigRequest ¶ added in v1.0.182
type DescribeSharedConfigRequest struct {
}type DescribeSharedConfigResponse ¶ added in v1.0.182
type DescribeSharedConfigResponse struct {}
type DescribeSharedConfigResult ¶ added in v1.0.182
type DescribeSharedConfigResult struct {}
type DescribeStatisticalRankingRequest ¶ added in v1.0.168
type DescribeStatisticalRankingResponse ¶ added in v1.0.168
type DescribeStatisticalRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeStatisticalRankingResult }
type DescribeStatisticalRankingResult ¶ added in v1.0.168
type DescribeStatisticalRankingResult struct { Item string Metric string RankingDataList []EdgeTopStatisticalDataDetail UaType string }
type DescribeUserDataRequest ¶ added in v1.0.168
type DescribeUserDataResponse ¶ added in v1.0.168
type DescribeUserDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeUserDataResult }
type DescribeUserDataResult ¶ added in v1.0.168
type DescribeUserDataResult struct {
MetricDataList []DataPoint
}
type DomainCertStatus ¶ added in v1.0.120
type DomainCertStatus struct { CerStatus string Domain string DomainLock DomainLock Status string Type string }
type DomainConfig ¶ added in v1.0.120
type DomainConfig struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` AutoRotate *AutoRotate `json:",omitempty"` BackupCname string 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"` ConditionalOrigin *ConditionalOrigin `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"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck OriginCertCheck OriginHost *string `json:",omitempty"` OriginIPv6 string 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 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 VideoDrag *VideoDrag `json:",omitempty"` WebpAdaptive *WebpAdaptive `json:",omitempty"` Websocket Websocket }
type DomainLock ¶ added in v1.0.109
type DomainLogDetail ¶
type DomainNrtDetailData ¶
type DomainNrtDetailData struct { DataDetails []NrtDataDetails Name string }
type DomainStatus ¶ added in v1.0.120
type DomainStatus struct { Domain string DomainLock DomainLock Status string Type string }
type DomainSummary ¶ added in v1.0.120
type DomainSummary struct { BackupCname string BackupOrigin []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 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 FeatureConfig ¶ added in v1.0.168
type FeatureConfig struct {
OriginV2 bool
}
type ForcedRedirect ¶
type GlobalErrorPageRule ¶ added in v1.0.182
type GlobalErrorPageRule struct {
RuleContent string
}
type GlobalIPAccessRule ¶ added in v1.0.182
type GlobalRefererAccessRule ¶ added in v1.0.182
type GlobalRefererAccessRule struct { AllowEmpty *bool `json:",omitempty"` CommonType *GlobalRefererCommonType `json:",omitempty"` }
type GlobalRefererCommonType ¶ added in v1.0.182
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 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 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"` FeatureConfig *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.109
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 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 ListResourceTagsResponse ¶
type ListResourceTagsResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListResourceTagsResult }
type ListResourceTagsResult ¶
type ListResourceTagsResult struct {
ResourceTags []ResourceTag
}
type ListSharedConfigRequest ¶ added in v1.0.182
type ListSharedConfigRequest struct {}
type ListSharedConfigResponse ¶ added in v1.0.182
type ListSharedConfigResponse struct {}
type ListSharedConfigResult ¶ added in v1.0.182
type ListSharedConfigResult struct {}
type ListUsageReportsRequest ¶ added in v1.0.171
type ListUsageReportsResponse ¶ added in v1.0.171
type ListUsageReportsResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListUsageReportsResult }
type ListUsageReportsResult ¶ added in v1.0.171
type ListUsageReportsResult struct { PageNum int64 PageSize int64 Total int64 UsageReportsDetails []UsageReportsDetail }
type MassCompression ¶
type MassCompression struct { MassCompressionRule []MassCompressionRule Switch *bool `json:",omitempty"` }
type MassCompressionAction ¶
type MassCompressionRule ¶
type MassCompressionRule struct {
CompressionAction *MassCompressionAction `json:",omitempty"`
}
type MethodDeniedRule ¶
type MetricSummaryData ¶ added in v1.0.168
type MetricTimestampValue ¶
type MetricTimestampValue struct { Metric string Values []TimestampValue }
type MetricValue ¶
type MultiRange ¶ added in v1.0.182
type MultiRange struct {
Switch *bool `json:",omitempty"`
}
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 Isp string Metrics []MetricTimestampValue Name string Region 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 OriginCertCheck ¶ added in v1.0.168
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.168
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 OriginRules ¶ added in v1.0.168
type OriginRules struct { Actions *ConditionalOriginAction `json:",omitempty"` Condition *RecursionCondition `json:",omitempty"` }
type PageOptimization ¶ added in v1.0.120
type PreloadHeader ¶ added in v1.0.168
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 RankingDataDetail ¶ added in v1.0.168
type RankingDataDetail struct { Metric string ValueDetails []RankingValueDetail }
type RankingStatusCodeDetail ¶ added in v1.0.168
type RankingValueDetail ¶ added in v1.0.168
type RecursionCondition ¶ added in v1.0.168
type RecursionCondition struct { ConditionGroups []SubRecursionCondition Connective *string `json:",omitempty"` IsGroup *bool `json:",omitempty"` }
type RecursionConditionRule ¶ added in v1.0.168
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 RefererAccessRule struct { AllowEmpty *bool `json:",omitempty"` Referers []string ReferersType *ReferersType `json:",omitempty"` RuleType *string `json:",omitempty"` Switch *bool `json:",omitempty"` }
type RefererType ¶ added in v1.0.109
type RefererType struct {
Referers []string
}
type ReferersType ¶ added in v1.0.109
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.168
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 RewriteHLS ¶ added in v1.0.168
type RewriteM3u8Rule ¶ added in v1.0.168
type SharedCname ¶ added in v1.0.168
type SharedCname struct {}
type SharedConfig ¶ added in v1.0.182
type SharedConfig struct {}
type SignedOriginAuth ¶ added in v1.0.168
type SignedOriginAuth struct { SignedOriginAuthRules []SignedOriginAuthRule Switch *bool `json:",omitempty"` }
type SignedOriginAuthAction ¶ added in v1.0.168
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.168
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.168
type SignedUrlAuthRules struct {
Duration *int64 `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 SubRecursionCondition ¶ added in v1.0.168
type SubRecursionCondition struct { Condition *RecursionConditionRule `json:",omitempty"` IsGroup *bool `json:",omitempty"` }
type SubmitBlockTaskRequest ¶
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 SubmitRefreshTaskResponse ¶
type SubmitRefreshTaskResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result SubmitRefreshTaskResult }
type SubmitRefreshTaskResult ¶
type SubmitRefreshTaskResult struct {
TaskID string
}
type SubmitUnblockTaskResponse ¶
type SubmitUnblockTaskResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result SubmitUnblockTaskResult }
type SubmitUnblockTaskResult ¶
type SubmitUnblockTaskResult struct {
TaskID string
}
type TargetQueryComponents ¶
type Timeout ¶ added in v1.0.120
type Timeout struct { Switch *bool `json:",omitempty"` TimeoutRules []TimeoutRule }
type TimeoutAction ¶ added in v1.0.120
type TimeoutRule ¶
type TimeoutRule struct { Condition *Condition `json:",omitempty"` TimeoutAction *TimeoutAction `json:",omitempty"` }
type TimestampValue ¶
type TopInstanceDetail ¶
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.168
type UpdateCdnConfigRequest ¶
type UpdateCdnConfigRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` AutoRotate *AutoRotate `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"` MassCompression *MassCompression `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"` WebpAdaptive *WebpAdaptive `json:",omitempty"` Websocket *Websocket `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 UpdateSharedConfigRequest ¶ added in v1.0.182
type UpdateSharedConfigRequest struct {}
type UpdateSharedConfigResponse ¶ added in v1.0.182
type UpdateSharedConfigResponse struct {
}type UriParamSup ¶ added in v1.0.168
type UrlDecrypt ¶ added in v1.0.168
type UrlDecrypt struct { SignedUrlAuthRules *SignedUrlAuthRules `json:",omitempty"` Switch *bool `json:",omitempty"` }
type UsageReportsDetail ¶ added in v1.0.171
type UserAgentAccessRule ¶
type WebpAdaptive ¶
type WebpAdaptive struct {
Switch *bool `json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.