Documentation ¶
Index ¶
- Constants
- Variables
- func GetBoolPtr(b bool) *bool
- func GetInt64Ptr(i64 int64) *int64
- func GetStrPtr(str string) *string
- type AccountingData
- type AccountingDataDetail
- type AccountingSummary
- type AddCdnCertInfo
- type AddCdnCertificateRequest
- type AddCdnCertificateResponse
- type AddCdnDomainRequest
- type AddCdnDomainResponse
- type AddCertificateRequest
- type AddCertificateResponse
- type AddCertificateResult
- type AddTemplateDomainRequest
- type AddTemplateDomainResponse
- type AreaAccessRule
- type AuthCacheAction
- type AuthModeConfig
- type AuthRequestHeaderRule
- type AuthResponseConfig
- type AuthTimeoutAction
- 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 BoundDomain
- 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) AddTemplateDomain(dto *AddTemplateDomainRequest) (responseBody *AddTemplateDomainResponse, 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) CreateCipherTemplate(dto *CreateCipherTemplateRequest) (responseBody *CreateCipherTemplateResponse, err error)
- func (s *CDN) CreateServiceTemplate(dto *CreateServiceTemplateRequest) (responseBody *CreateServiceTemplateResponse, 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) DeleteTemplate(dto *DeleteTemplateRequest) (responseBody *DeleteTemplateResponse, 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) (responseBody *DescribeCdnAccessLogResponse, err error)
- func (s *CDN) DescribeCdnConfig(dto *DescribeCdnConfigRequest) (responseBody *DescribeCdnConfigResponse, err error)
- func (s *CDN) DescribeCdnData(dto *DescribeCdnDataRequest) (responseBody *DescribeCdnDataResponse, err error)
- func (s *CDN) DescribeCdnDataDetail(dto *DescribeCdnDataDetailRequest) (responseBody *DescribeCdnDataDetailResponse, err error)
- func (s *CDN) DescribeCdnOriginData(dto *DescribeCdnOriginDataRequest) (responseBody *DescribeCdnOriginDataResponse, err error)
- func (s *CDN) DescribeCdnRegionAndIsp(dto *DescribeCdnRegionAndIspRequest) (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) DescribeCipherTemplate(dto *DescribeCipherTemplateRequest) (responseBody *DescribeCipherTemplateResponse, err error)
- func (s *CDN) DescribeContentBlockTasks(dto *DescribeContentBlockTasksRequest) (responseBody *DescribeContentBlockTasksResponse, err error)
- func (s *CDN) DescribeContentQuota() (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) (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) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)
- func (s *CDN) DescribeEdgeRanking(dto *DescribeEdgeRankingRequest) (responseBody *DescribeEdgeRankingResponse, err error)
- func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest) (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) (responseBody *DescribeEdgeTopNrtDataResponse, err error)
- func (s *CDN) DescribeEdgeTopStatisticalData(dto *DescribeEdgeTopStatisticalDataRequest) (responseBody *DescribeEdgeTopStatisticalDataResponse, err error)
- func (s *CDN) DescribeEdgeTopStatusCode(dto *DescribeEdgeTopStatusCodeRequest) (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) (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) (responseBody *DescribeOriginTopNrtDataResponse, err error)
- func (s *CDN) DescribeOriginTopStatusCode(dto *DescribeOriginTopStatusCodeRequest) (responseBody *DescribeOriginTopStatusCodeResponse, err error)
- func (s *CDN) DescribeServiceTemplate(dto *DescribeServiceTemplateRequest) (responseBody *DescribeServiceTemplateResponse, err error)
- func (s *CDN) DescribeStatisticalRanking(dto *DescribeStatisticalRankingRequest) (responseBody *DescribeStatisticalRankingResponse, err error)
- func (s *CDN) DescribeTemplateDomains(dto *DescribeTemplateDomainsRequest) (responseBody *DescribeTemplateDomainsResponse, err error)
- func (s *CDN) DescribeTemplates(dto *DescribeTemplatesRequest) (responseBody *DescribeTemplatesResponse, err error)
- func (s *CDN) DescribeUserData(dto *DescribeUserDataRequest) (responseBody *DescribeUserDataResponse, err error)
- func (s *CDN) DuplicateTemplate(dto *DuplicateTemplateRequest) (responseBody *DuplicateTemplateResponse, err error)
- func (s *CDN) GetAPIInfo(api string) *base.ApiInfo
- func (s *CDN) GetServiceInfo(region string) *base.ServiceInfo
- func (s *CDN) ListCdnCertInfo(dto *ListCdnCertInfoRequest) (responseBody *ListCdnCertInfoResponse, err error)
- func (s *CDN) ListCdnDomains(dto *ListCdnDomainsRequest) (responseBody *ListCdnDomainsResponse, err error)
- func (s *CDN) ListCertInfo(dto *ListCertInfoRequest) (responseBody *ListCertInfoResponse, err error)
- func (s *CDN) ListUsageReports(dto *ListUsageReportsRequest) (responseBody *ListUsageReportsResponse, err error)
- func (s *CDN) LockTemplate(dto *LockTemplateRequest) (responseBody *LockTemplateResponse, err error)
- func (s *CDN) SendCommonRequest(action string, in interface{}, out interface{}) error
- func (s *CDN) SetHost(host string)
- 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) UpdateCipherTemplate(dto *UpdateCipherTemplateRequest) (responseBody *UpdateCipherTemplateResponse, err error)
- func (s *CDN) UpdateServiceTemplate(dto *UpdateServiceTemplateRequest) (responseBody *UpdateServiceTemplateResponse, err error)
- func (s *CDN) UpdateTemplateDomain(dto *UpdateTemplateDomainRequest) (responseBody *UpdateTemplateDomainResponse, 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 CdnTemplate
- type CdnTemplateDomain
- type CertCheck
- type CertDeployStatus
- type CertFingerprint
- type CertInfo
- type Certificate
- type CommonGlobalConfig
- type CommonReferType
- type Compression
- type CompressionAction
- type CompressionRule
- type Condition
- type ConditionRule
- type ConditionalOrigin
- type ConditionalOriginAction
- type ConditionalOriginLine
- type ConfiguredDomain
- type ContentTask
- type CreateCipherTemplateRequest
- type CreateCipherTemplateResponse
- type CreateCipherTemplateResult
- type CreateServiceTemplateRequest
- type CreateServiceTemplateResponse
- type CreateServiceTemplateResult
- type CreateUsageReportRequest
- type CreateUsageReportResponse
- type CreateUsageReportResult
- type CustomErrorPage
- type CustomSignedUrlParam
- 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 DeleteTemplateRequest
- type DeleteTemplateResponse
- 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 DescribeCipherTemplateRequest
- type DescribeCipherTemplateResponse
- type DescribeCipherTemplateResult
- 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 DescribeServiceTemplateRequest
- type DescribeServiceTemplateResponse
- type DescribeServiceTemplateResult
- type DescribeStatisticalRankingRequest
- type DescribeStatisticalRankingResponse
- type DescribeStatisticalRankingResult
- type DescribeTemplateDomainsRequest
- type DescribeTemplateDomainsResponse
- type DescribeTemplateDomainsResult
- type DescribeTemplatesRequest
- type DescribeTemplatesResponse
- type DescribeTemplatesResult
- type DescribeUserDataRequest
- type DescribeUserDataResponse
- type DescribeUserDataResult
- type DomainCertStatus
- type DomainConfig
- type DomainLock
- type DomainLogDetail
- type DomainNrtDetailData
- type DomainStatus
- type DomainSummary
- type DomainTemplateInfo
- type DownloadSpeedLimit
- type DownloadSpeedLimitAction
- type DownloadSpeedLimitRule
- type DuplicateTemplateRequest
- type DuplicateTemplateResponse
- type DuplicateTemplateResult
- type EdgeStatisticalDataResource
- type EdgeTopStatisticalDataDetail
- type ErrorObj
- type ErrorPageAction
- type ErrorPageRule
- type FeatureConfig
- type Filter
- type ForcedRedirect
- type HTTPS
- type HTTPSCommon
- type HeaderLog
- type Hsts
- type HttpForcedRedirect
- type IPInfo
- type IPv6
- type IpAccessRule
- type IpFreqLimit
- type IpFreqLimitAction
- type IpFreqLimitRule
- type IpSpeedLimit
- type IpSpeedLimitAction
- type IpSpeedLimitRule
- type ListCdnCertInfoRequest
- type ListCdnCertInfoResponse
- type ListCdnCertInfoResult
- type ListCdnDomainsRequest
- type ListCdnDomainsResponse
- type ListCdnDomainsResult
- type ListCertInfo
- type ListCertInfoRequest
- type ListCertInfoResponse
- type ListCertInfoResult
- type ListUsageReportsRequest
- type ListUsageReportsResponse
- type ListUsageReportsResult
- type LockTemplateRequest
- type LockTemplateResponse
- type MethodDeniedRule
- type MetricSummaryData
- type MetricTimestampValue
- type MetricValue
- type MultiRange
- type NamePair
- type NegativeCache
- type NegativeCacheAction
- type NrtDataDetails
- type NrtDataResource
- type NrtDataSummaryResource
- 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 ParamCapRule
- 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 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 TemplateCertInfo
- type Timeout
- type TimeoutAction
- type TimeoutRule
- type TimestampValue
- type TopInstanceDetail
- type TopNrtDataDetail
- type TopStatusCodeDetail
- type TosAuthInformation
- type URLNormalize
- type UpdateCdnConfigRequest
- type UpdateCdnConfigResponse
- type UpdateCipherTemplateRequest
- type UpdateCipherTemplateResponse
- type UpdateServiceTemplateRequest
- type UpdateServiceTemplateResponse
- type UpdateTemplateDomainRequest
- type UpdateTemplateDomainResponse
- type UpdateTemplateDomainResult
- type UriParamSup
- type UrlAuthCustomAction
- type UsageReportsDetail
- type UserAgentAccessRule
- type VideoDrag
- type Websocket
Constants ¶
View Source
const ( DefaultRegion = "ap-singapore-1" ServiceVersion = "2021-03-01" ServiceName = "CDN" )
Variables ¶
View Source
var ApiInfoList = map[string]*base.ApiInfo{ "AddCdnDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddCdnDomain"}, "Version": []string{ServiceVersion}, }, }, "StartCdnDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StartCdnDomain"}, "Version": []string{ServiceVersion}, }, }, "StopCdnDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopCdnDomain"}, "Version": []string{ServiceVersion}, }, }, "DeleteCdnDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCdnDomain"}, "Version": []string{ServiceVersion}, }, }, "ListCdnDomains": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListCdnDomains"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnConfig"}, "Version": []string{ServiceVersion}, }, }, "UpdateCdnConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCdnConfig"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnData"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeNrtDataSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeNrtDataSummary"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnOriginData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnOriginData"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginNrtDataSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginNrtDataSummary"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnDataDetail": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnDataDetail"}, "Version": []string{ServiceVersion}, }, }, "DescribeDistrictIspData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDistrictIspData"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeStatisticalData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeStatisticalData"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeTopNrtData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeTopNrtData"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginTopNrtData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginTopNrtData"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeTopStatusCode": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeTopStatusCode"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginTopStatusCode": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginTopStatusCode"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeTopStatisticalData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeTopStatisticalData"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnRegionAndIsp": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnRegionAndIsp"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnService": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnService"}, "Version": []string{ServiceVersion}, }, }, "DescribeAccountingData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeAccountingData"}, "Version": []string{ServiceVersion}, }, }, "SubmitRefreshTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SubmitRefreshTask"}, "Version": []string{ServiceVersion}, }, }, "SubmitPreloadTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SubmitPreloadTask"}, "Version": []string{ServiceVersion}, }, }, "DescribeContentTasks": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeContentTasks"}, "Version": []string{ServiceVersion}, }, }, "DescribeContentQuota": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeContentQuota"}, "Version": []string{ServiceVersion}, }, }, "SubmitBlockTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SubmitBlockTask"}, "Version": []string{ServiceVersion}, }, }, "SubmitUnblockTask": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"SubmitUnblockTask"}, "Version": []string{ServiceVersion}, }, }, "DescribeContentBlockTasks": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeContentBlockTasks"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnAccessLog": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnAccessLog"}, "Version": []string{ServiceVersion}, }, }, "DescribeIPInfo": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeIPInfo"}, "Version": []string{ServiceVersion}, }, }, "DescribeIPListInfo": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeIPListInfo"}, "Version": []string{ServiceVersion}, }, }, "DescribeCdnUpperIp": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCdnUpperIp"}, "Version": []string{ServiceVersion}, }, }, "AddCdnCertificate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddCdnCertificate"}, "Version": []string{ServiceVersion}, }, }, "ListCertInfo": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListCertInfo"}, "Version": []string{ServiceVersion}, }, }, "ListCdnCertInfo": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListCdnCertInfo"}, "Version": []string{ServiceVersion}, }, }, "DescribeCertConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCertConfig"}, "Version": []string{ServiceVersion}, }, }, "BatchDeployCert": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BatchDeployCert"}, "Version": []string{ServiceVersion}, }, }, "DeleteCdnCertificate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteCdnCertificate"}, "Version": []string{ServiceVersion}, }, }, "DescribeAccountingSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeAccountingSummary"}, "Version": []string{ServiceVersion}, }, }, "DescribeTemplates": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeTemplates"}, "Version": []string{ServiceVersion}, }, }, "DescribeServiceTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeServiceTemplate"}, "Version": []string{ServiceVersion}, }, }, "DescribeCipherTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeCipherTemplate"}, "Version": []string{ServiceVersion}, }, }, "CreateCipherTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateCipherTemplate"}, "Version": []string{ServiceVersion}, }, }, "UpdateServiceTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateServiceTemplate"}, "Version": []string{ServiceVersion}, }, }, "UpdateCipherTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateCipherTemplate"}, "Version": []string{ServiceVersion}, }, }, "DuplicateTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DuplicateTemplate"}, "Version": []string{ServiceVersion}, }, }, "LockTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"LockTemplate"}, "Version": []string{ServiceVersion}, }, }, "DeleteTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteTemplate"}, "Version": []string{ServiceVersion}, }, }, "DescribeTemplateDomains": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeTemplateDomains"}, "Version": []string{ServiceVersion}, }, }, "AddTemplateDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddTemplateDomain"}, "Version": []string{ServiceVersion}, }, }, "UpdateTemplateDomain": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdateTemplateDomain"}, "Version": []string{ServiceVersion}, }, }, "CreateServiceTemplate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateServiceTemplate"}, "Version": []string{ServiceVersion}, }, }, "DescribeDistrictData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDistrictData"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeData"}, "Version": []string{ServiceVersion}, }, }, "DescribeDistrictSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDistrictSummary"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeSummary"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginData"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginSummary": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginSummary"}, "Version": []string{ServiceVersion}, }, }, "DescribeUserData": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeUserData"}, "Version": []string{ServiceVersion}, }, }, "DescribeDistrictRanking": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeDistrictRanking"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeRanking": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeRanking"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginRanking": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginRanking"}, "Version": []string{ServiceVersion}, }, }, "DescribeEdgeStatusCodeRanking": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeEdgeStatusCodeRanking"}, "Version": []string{ServiceVersion}, }, }, "DescribeOriginStatusCodeRanking": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeOriginStatusCodeRanking"}, "Version": []string{ServiceVersion}, }, }, "DescribeStatisticalRanking": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DescribeStatisticalRanking"}, "Version": []string{ServiceVersion}, }, }, "BatchUpdateCdnConfig": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"BatchUpdateCdnConfig"}, "Version": []string{ServiceVersion}, }, }, "AddCertificate": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"AddCertificate"}, "Version": []string{ServiceVersion}, }, }, "DeleteUsageReport": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeleteUsageReport"}, "Version": []string{ServiceVersion}, }, }, "CreateUsageReport": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreateUsageReport"}, "Version": []string{ServiceVersion}, }, }, "ListUsageReports": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListUsageReports"}, "Version": []string{ServiceVersion}, }, }, }
View Source
var DefaultInstance = NewInstance()
DefaultInstance Package level default instance
View Source
var ( ServiceInfo = map[string]*base.ServiceInfo{ DefaultRegion: { Host: "open.byteplusapi.com", Timeout: time.Minute * 5, Header: http.Header{ "Accept": []string{"application/json"}, "Content-Type": []string{"application/json"}, }, }, } )
Functions ¶
func GetBoolPtr ¶ added in v1.0.23
func GetInt64Ptr ¶ added in v1.0.23
Types ¶
type AccountingData ¶
type AccountingDataDetail ¶
type AccountingDataDetail struct { BillingRegion string Metrics []AccountingData Name string }
type AccountingSummary ¶ added in v1.0.23
type AddCdnCertInfo ¶
type AddCdnCertInfo struct {
Desc *string `json:",omitempty"`
}
type AddCdnCertificateRequest ¶
type AddCdnCertificateRequest struct { CertInfo *AddCdnCertInfo `json:",omitempty"` CertType *string `json:",omitempty"` Certificate Certificate CloseSigCheck *bool `json:",omitempty"` EncryType *string `json:",omitempty"` Source *string `json:",omitempty"` }
type AddCdnCertificateResponse ¶
type AddCdnCertificateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result string }
type AddCdnDomainRequest ¶
type AddCdnDomainRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheHost *CacheHost `json:",omitempty"` CacheKey []CacheKeyRule Compression *Compression `json:",omitempty"` ConditionalOrigin *ConditionalOrigin `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` Domain string DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` HTTPS *HTTPS `json:",omitempty"` HeaderLogging *HeaderLog `json:",omitempty"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck *OriginCertCheck `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRetry *OriginRetry `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` Project *string `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestBlockRule *RequestBlockRule `json:",omitempty"` RequestHeader []RequestHeaderRule ResourceTags []ResourceTag ResponseHeader []ResponseHeaderRule RewriteHLS *RewriteHLS `json:",omitempty"` ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Timeout *Timeout `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UrlNormalize *URLNormalize `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` Websocket *Websocket `json:",omitempty"` }
type AddCdnDomainResponse ¶
type AddCdnDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type AddCertificateRequest ¶ added in v1.0.31
type AddCertificateRequest struct { CertType *string `json:",omitempty"` Certificate string CloseSigCheck *bool `json:",omitempty"` Desc *string `json:",omitempty"` EncryType *string `json:",omitempty"` EncryptionCert *string `json:",omitempty"` EncryptionKey *string `json:",omitempty"` PrivateKey string Repeatable *bool `json:",omitempty"` Source *string `json:",omitempty"` }
type AddCertificateResponse ¶ added in v1.0.31
type AddCertificateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result AddCertificateResult }
type AddCertificateResult ¶ added in v1.0.31
type AddCertificateResult struct {
CertId string
}
type AddTemplateDomainRequest ¶ added in v1.0.23
type AddTemplateDomainResponse ¶ added in v1.0.23
type AddTemplateDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
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.23
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.31
type BatchUpdateCdnConfigRequest struct { Aggregate *bool `json:",omitempty"` AreaAccessRule *AreaAccessRule `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheHost *CacheHost `json:",omitempty"` CacheKey []CacheKeyRule Compression *Compression `json:",omitempty"` ConditionalOrigin *ConditionalOrigin `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` Domains []string DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` HTTPS *HTTPS `json:",omitempty"` HeaderLogging *HeaderLog `json:",omitempty"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck *OriginCertCheck `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol *string `json:",omitempty"` OriginRange *bool `json:",omitempty"` OriginRetry *OriginRetry `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestBlockRule *RequestBlockRule `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule RewriteHLS *RewriteHLS `json:",omitempty"` ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Timeout *Timeout `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UrlNormalize *URLNormalize `json:",omitempty"` Websocket *Websocket `json:",omitempty"` }
type BatchUpdateCdnConfigResponse ¶ added in v1.0.31
type BatchUpdateCdnConfigResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result BatchUpdateCdnConfigResult }
type BatchUpdateCdnConfigResult ¶ added in v1.0.31
type BatchUpdateCdnConfigResult struct {
DeployResult []DeployResult
}
type BlockAction ¶ added in v1.0.23
type BlockRule ¶ added in v1.0.23
type BlockRule struct { BlockAction *BlockAction `json:",omitempty"` Condition *Condition `json:",omitempty"` RuleName *string `json:",omitempty"` }
type BlockTaskInfo ¶ added in v1.0.23
type BoundDomain ¶ added in v1.0.23
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.31
func (s *CDN) AddCertificate(dto *AddCertificateRequest) (responseBody *AddCertificateResponse, err error)
func (*CDN) AddTemplateDomain ¶ added in v1.0.23
func (s *CDN) AddTemplateDomain(dto *AddTemplateDomainRequest) (responseBody *AddTemplateDomainResponse, err error)
func (*CDN) BatchDeployCert ¶
func (s *CDN) BatchDeployCert(dto *BatchDeployCertRequest) (responseBody *BatchDeployCertResponse, err error)
func (*CDN) BatchUpdateCdnConfig ¶ added in v1.0.31
func (s *CDN) BatchUpdateCdnConfig(dto *BatchUpdateCdnConfigRequest) (responseBody *BatchUpdateCdnConfigResponse, err error)
func (*CDN) CreateCipherTemplate ¶ added in v1.0.23
func (s *CDN) CreateCipherTemplate(dto *CreateCipherTemplateRequest) (responseBody *CreateCipherTemplateResponse, err error)
func (*CDN) CreateServiceTemplate ¶ added in v1.0.23
func (s *CDN) CreateServiceTemplate(dto *CreateServiceTemplateRequest) (responseBody *CreateServiceTemplateResponse, err error)
func (*CDN) CreateUsageReport ¶ added in v1.0.31
func (s *CDN) CreateUsageReport(dto *CreateUsageReportRequest) (responseBody *CreateUsageReportResponse, err error)
func (*CDN) DeleteCdnCertificate ¶ added in v1.0.23
func (s *CDN) DeleteCdnCertificate(dto *DeleteCdnCertificateRequest) (responseBody *DeleteCdnCertificateResponse, err error)
func (*CDN) DeleteCdnDomain ¶
func (s *CDN) DeleteCdnDomain(dto *DeleteCdnDomainRequest) (responseBody *DeleteCdnDomainResponse, err error)
func (*CDN) DeleteTemplate ¶ added in v1.0.23
func (s *CDN) DeleteTemplate(dto *DeleteTemplateRequest) (responseBody *DeleteTemplateResponse, err error)
func (*CDN) DeleteUsageReport ¶ added in v1.0.31
func (s *CDN) DeleteUsageReport(dto *DeleteUsageReportRequest) (responseBody *DeleteUsageReportResponse, err error)
func (*CDN) DescribeAccountingData ¶
func (s *CDN) DescribeAccountingData(dto *DescribeAccountingDataRequest) (responseBody *DescribeAccountingDataResponse, err error)
func (*CDN) DescribeAccountingSummary ¶ added in v1.0.23
func (s *CDN) DescribeAccountingSummary(dto *DescribeAccountingSummaryRequest) (responseBody *DescribeAccountingSummaryResponse, err error)
func (*CDN) DescribeCdnAccessLog ¶
func (s *CDN) DescribeCdnAccessLog(dto *DescribeCdnAccessLogRequest) (responseBody *DescribeCdnAccessLogResponse, err error)
func (*CDN) DescribeCdnConfig ¶
func (s *CDN) DescribeCdnConfig(dto *DescribeCdnConfigRequest) (responseBody *DescribeCdnConfigResponse, err error)
func (*CDN) DescribeCdnData ¶
func (s *CDN) DescribeCdnData(dto *DescribeCdnDataRequest) (responseBody *DescribeCdnDataResponse, err error)
func (*CDN) DescribeCdnDataDetail ¶
func (s *CDN) DescribeCdnDataDetail(dto *DescribeCdnDataDetailRequest) (responseBody *DescribeCdnDataDetailResponse, err error)
func (*CDN) DescribeCdnOriginData ¶
func (s *CDN) DescribeCdnOriginData(dto *DescribeCdnOriginDataRequest) (responseBody *DescribeCdnOriginDataResponse, err error)
func (*CDN) DescribeCdnRegionAndIsp ¶
func (s *CDN) DescribeCdnRegionAndIsp(dto *DescribeCdnRegionAndIspRequest) (responseBody *DescribeCdnRegionAndIspResponse, err error)
func (*CDN) DescribeCdnService ¶
func (s *CDN) DescribeCdnService() (responseBody *DescribeCdnServiceResponse, err error)
func (*CDN) DescribeCdnUpperIp ¶
func (s *CDN) DescribeCdnUpperIp(dto *DescribeCdnUpperIpRequest) (responseBody *DescribeCdnUpperIpResponse, err error)
func (*CDN) DescribeCertConfig ¶
func (s *CDN) DescribeCertConfig(dto *DescribeCertConfigRequest) (responseBody *DescribeCertConfigResponse, err error)
func (*CDN) DescribeCipherTemplate ¶ added in v1.0.23
func (s *CDN) DescribeCipherTemplate(dto *DescribeCipherTemplateRequest) (responseBody *DescribeCipherTemplateResponse, err error)
func (*CDN) DescribeContentBlockTasks ¶
func (s *CDN) DescribeContentBlockTasks(dto *DescribeContentBlockTasksRequest) (responseBody *DescribeContentBlockTasksResponse, err error)
func (*CDN) DescribeContentQuota ¶
func (s *CDN) DescribeContentQuota() (responseBody *DescribeContentQuotaResponse, err error)
func (*CDN) DescribeContentTasks ¶
func (s *CDN) DescribeContentTasks(dto *DescribeContentTasksRequest) (responseBody *DescribeContentTasksResponse, err error)
func (*CDN) DescribeDistrictData ¶ added in v1.0.31
func (s *CDN) DescribeDistrictData(dto *DescribeDistrictDataRequest) (responseBody *DescribeDistrictDataResponse, err error)
func (*CDN) DescribeDistrictIspData ¶
func (s *CDN) DescribeDistrictIspData(dto *DescribeDistrictIspDataRequest) (responseBody *DescribeDistrictIspDataResponse, err error)
func (*CDN) DescribeDistrictRanking ¶ added in v1.0.31
func (s *CDN) DescribeDistrictRanking(dto *DescribeDistrictRankingRequest) (responseBody *DescribeDistrictRankingResponse, err error)
func (*CDN) DescribeDistrictSummary ¶ added in v1.0.31
func (s *CDN) DescribeDistrictSummary(dto *DescribeDistrictSummaryRequest) (responseBody *DescribeDistrictSummaryResponse, err error)
func (*CDN) DescribeEdgeData ¶ added in v1.0.31
func (s *CDN) DescribeEdgeData(dto *DescribeEdgeDataRequest) (responseBody *DescribeEdgeDataResponse, err error)
func (*CDN) DescribeEdgeNrtDataSummary ¶
func (s *CDN) DescribeEdgeNrtDataSummary(dto *DescribeEdgeNrtDataSummaryRequest) (responseBody *DescribeEdgeNrtDataSummaryResponse, err error)
func (*CDN) DescribeEdgeRanking ¶ added in v1.0.31
func (s *CDN) DescribeEdgeRanking(dto *DescribeEdgeRankingRequest) (responseBody *DescribeEdgeRankingResponse, err error)
func (*CDN) DescribeEdgeStatisticalData ¶
func (s *CDN) DescribeEdgeStatisticalData(dto *DescribeEdgeStatisticalDataRequest) (responseBody *DescribeEdgeStatisticalDataResponse, err error)
func (*CDN) DescribeEdgeStatusCodeRanking ¶ added in v1.0.31
func (s *CDN) DescribeEdgeStatusCodeRanking(dto *DescribeEdgeStatusCodeRankingRequest) (responseBody *DescribeEdgeStatusCodeRankingResponse, err error)
func (*CDN) DescribeEdgeSummary ¶ added in v1.0.31
func (s *CDN) DescribeEdgeSummary(dto *DescribeEdgeSummaryRequest) (responseBody *DescribeEdgeSummaryResponse, err error)
func (*CDN) DescribeEdgeTopNrtData ¶
func (s *CDN) DescribeEdgeTopNrtData(dto *DescribeEdgeTopNrtDataRequest) (responseBody *DescribeEdgeTopNrtDataResponse, err error)
func (*CDN) DescribeEdgeTopStatisticalData ¶
func (s *CDN) DescribeEdgeTopStatisticalData(dto *DescribeEdgeTopStatisticalDataRequest) (responseBody *DescribeEdgeTopStatisticalDataResponse, err error)
func (*CDN) DescribeEdgeTopStatusCode ¶
func (s *CDN) DescribeEdgeTopStatusCode(dto *DescribeEdgeTopStatusCodeRequest) (responseBody *DescribeEdgeTopStatusCodeResponse, err error)
func (*CDN) DescribeIPInfo ¶
func (s *CDN) DescribeIPInfo(dto *DescribeIPInfoRequest) (responseBody *DescribeIPInfoResponse, err error)
func (*CDN) DescribeIPListInfo ¶
func (s *CDN) DescribeIPListInfo(dto *DescribeIPListInfoRequest) (responseBody *DescribeIPListInfoResponse, err error)
func (*CDN) DescribeOriginData ¶ added in v1.0.31
func (s *CDN) DescribeOriginData(dto *DescribeOriginDataRequest) (responseBody *DescribeOriginDataResponse, err error)
func (*CDN) DescribeOriginNrtDataSummary ¶
func (s *CDN) DescribeOriginNrtDataSummary(dto *DescribeOriginNrtDataSummaryRequest) (responseBody *DescribeOriginNrtDataSummaryResponse, err error)
func (*CDN) DescribeOriginRanking ¶ added in v1.0.31
func (s *CDN) DescribeOriginRanking(dto *DescribeOriginRankingRequest) (responseBody *DescribeOriginRankingResponse, err error)
func (*CDN) DescribeOriginStatusCodeRanking ¶ added in v1.0.31
func (s *CDN) DescribeOriginStatusCodeRanking(dto *DescribeOriginStatusCodeRankingRequest) (responseBody *DescribeOriginStatusCodeRankingResponse, err error)
func (*CDN) DescribeOriginSummary ¶ added in v1.0.31
func (s *CDN) DescribeOriginSummary(dto *DescribeOriginSummaryRequest) (responseBody *DescribeOriginSummaryResponse, err error)
func (*CDN) DescribeOriginTopNrtData ¶
func (s *CDN) DescribeOriginTopNrtData(dto *DescribeOriginTopNrtDataRequest) (responseBody *DescribeOriginTopNrtDataResponse, err error)
func (*CDN) DescribeOriginTopStatusCode ¶
func (s *CDN) DescribeOriginTopStatusCode(dto *DescribeOriginTopStatusCodeRequest) (responseBody *DescribeOriginTopStatusCodeResponse, err error)
func (*CDN) DescribeServiceTemplate ¶ added in v1.0.23
func (s *CDN) DescribeServiceTemplate(dto *DescribeServiceTemplateRequest) (responseBody *DescribeServiceTemplateResponse, err error)
func (*CDN) DescribeStatisticalRanking ¶ added in v1.0.31
func (s *CDN) DescribeStatisticalRanking(dto *DescribeStatisticalRankingRequest) (responseBody *DescribeStatisticalRankingResponse, err error)
func (*CDN) DescribeTemplateDomains ¶ added in v1.0.23
func (s *CDN) DescribeTemplateDomains(dto *DescribeTemplateDomainsRequest) (responseBody *DescribeTemplateDomainsResponse, err error)
func (*CDN) DescribeTemplates ¶ added in v1.0.23
func (s *CDN) DescribeTemplates(dto *DescribeTemplatesRequest) (responseBody *DescribeTemplatesResponse, err error)
func (*CDN) DescribeUserData ¶ added in v1.0.31
func (s *CDN) DescribeUserData(dto *DescribeUserDataRequest) (responseBody *DescribeUserDataResponse, err error)
func (*CDN) DuplicateTemplate ¶ added in v1.0.23
func (s *CDN) DuplicateTemplate(dto *DuplicateTemplateRequest) (responseBody *DuplicateTemplateResponse, err error)
func (*CDN) GetServiceInfo ¶
func (s *CDN) GetServiceInfo(region string) *base.ServiceInfo
func (*CDN) ListCdnCertInfo ¶
func (s *CDN) ListCdnCertInfo(dto *ListCdnCertInfoRequest) (responseBody *ListCdnCertInfoResponse, err error)
func (*CDN) ListCdnDomains ¶
func (s *CDN) ListCdnDomains(dto *ListCdnDomainsRequest) (responseBody *ListCdnDomainsResponse, err error)
func (*CDN) ListCertInfo ¶
func (s *CDN) ListCertInfo(dto *ListCertInfoRequest) (responseBody *ListCertInfoResponse, err error)
func (*CDN) ListUsageReports ¶ added in v1.0.31
func (s *CDN) ListUsageReports(dto *ListUsageReportsRequest) (responseBody *ListUsageReportsResponse, err error)
func (*CDN) LockTemplate ¶ added in v1.0.23
func (s *CDN) LockTemplate(dto *LockTemplateRequest) (responseBody *LockTemplateResponse, err error)
func (*CDN) SendCommonRequest ¶
func (*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) UpdateCipherTemplate ¶ added in v1.0.23
func (s *CDN) UpdateCipherTemplate(dto *UpdateCipherTemplateRequest) (responseBody *UpdateCipherTemplateResponse, err error)
func (*CDN) UpdateServiceTemplate ¶ added in v1.0.23
func (s *CDN) UpdateServiceTemplate(dto *UpdateServiceTemplateRequest) (responseBody *UpdateServiceTemplateResponse, err error)
func (*CDN) UpdateTemplateDomain ¶ added in v1.0.23
func (s *CDN) UpdateTemplateDomain(dto *UpdateTemplateDomainRequest) (responseBody *UpdateTemplateDomainResponse, err error)
func (*CDN) ValidateResponse ¶
func (s *CDN) ValidateResponse(meta *ResponseMetadata) error
type CDNError ¶
type CacheAction ¶
type CacheControlRule ¶
type CacheControlRule struct { CacheAction *CacheAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CacheHost ¶ added in v1.0.23
type CacheHost struct { CacheHostRule []CacheHostRule Switch *bool `json:",omitempty"` }
type CacheHostAction ¶ added in v1.0.23
type CacheHostAction struct {
CacheHost *string `json:",omitempty"`
}
type CacheHostRule ¶ added in v1.0.23
type CacheHostRule struct { CacheHostAction *CacheHostAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CacheKeyAction ¶
type CacheKeyAction struct {
CacheKeyComponents []CacheKeyComponent
}
type CacheKeyComponent ¶
type CacheKeyRule ¶ added in v1.0.23
type CacheKeyRule struct { CacheKeyAction *CacheKeyAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type CdnTemplate ¶ added in v1.0.23
type CdnTemplateDomain ¶ added in v1.0.23
type CdnTemplateDomain struct { CertInfo TemplateCertInfo Cname string Domain string HTTPSSwitch string LockStatus string Project string Remark string ServiceRegion string SparrowNumber int64 SparrowRules []SparrowRule SparrowSwitch string Status string Templates []CdnTemplate WAFStatus string }
type CertDeployStatus ¶ added in v1.0.23
type CertFingerprint ¶ added in v1.0.23
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.23
type CommonGlobalConfig struct {
ConfigName *string `json:",omitempty"`
}
type CommonReferType ¶ added in v1.0.23
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.31
type ConditionalOrigin struct { OriginRules []OriginRules Switch *bool `json:",omitempty"` }
type ConditionalOriginAction ¶ added in v1.0.31
type ConditionalOriginAction struct {
OriginLines []ConditionalOriginLine
}
type ConditionalOriginLine ¶ added in v1.0.31
type ConfiguredDomain ¶ added in v1.0.23
type ContentTask ¶
type CreateCipherTemplateRequest ¶ added in v1.0.23
type CreateCipherTemplateRequest struct { HTTPS *HTTPSCommon `json:",omitempty"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` Message *string `json:",omitempty"` Project *string `json:",omitempty"` Quic *Quic `json:",omitempty"` Title string }
type CreateCipherTemplateResponse ¶ added in v1.0.23
type CreateCipherTemplateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result CreateCipherTemplateResult }
type CreateCipherTemplateResult ¶ added in v1.0.23
type CreateCipherTemplateResult struct {
TemplateId string
}
type CreateServiceTemplateRequest ¶ added in v1.0.23
type CreateServiceTemplateRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheHost *CacheHost `json:",omitempty"` CacheKey []CacheKeyRule Compression *Compression `json:",omitempty"` ConditionalOrigin *ConditionalOrigin `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` Message *string `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck *OriginCertCheck `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` Project *string `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule RewriteHLS *RewriteHLS `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Timeout *Timeout `json:",omitempty"` Title string UaAccessRule *UserAgentAccessRule `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` Websocket *Websocket `json:",omitempty"` }
type CreateServiceTemplateResponse ¶ added in v1.0.23
type CreateServiceTemplateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result CreateServiceTemplateResult }
type CreateServiceTemplateResult ¶ added in v1.0.23
type CreateServiceTemplateResult struct {
TemplateId string
}
type CreateUsageReportRequest ¶ added in v1.0.31
type CreateUsageReportRequest struct { Aggregate *string `json:",omitempty"` BillingCode *string `json:",omitempty"` BillingRegion string CalculationMethod *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 ExportType string FreeTimeTrafficCompute *bool `json:",omitempty"` Metric *string `json:",omitempty"` StartTime int64 TaskName string TimeZone *string `json:",omitempty"` TlsTopic *string `json:",omitempty"` }
type CreateUsageReportResponse ¶ added in v1.0.31
type CreateUsageReportResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result CreateUsageReportResult }
type CreateUsageReportResult ¶ added in v1.0.31
type CreateUsageReportResult struct {
TaskId string
}
type CustomErrorPage ¶
type CustomErrorPage struct { ErrorPageRule []ErrorPageRule Switch *bool `json:",omitempty"` }
type CustomSignedUrlParam ¶ added in v1.0.23
type CustomSignedUrlParam struct { ParamType *string `json:",omitempty"` RequestHeader *string `json:",omitempty"` SupContent *string `json:",omitempty"` UriParamSup *UriParamSup `json:",omitempty"` UrlParam *ParamCapRule `json:",omitempty"` }
type CustomVariableInstance ¶
type CustomVariableRules ¶
type CustomVariableRules struct {
CustomVariableInstances []CustomVariableInstance
}
type CustomizeAccessAction ¶ added in v1.0.23
type CustomizeAccessRule ¶ added in v1.0.23
type CustomizeAccessRule struct { CustomizeInstances []CustomizeInstance Switch *bool `json:",omitempty"` }
type CustomizeInstance ¶ added in v1.0.23
type CustomizeInstance struct {
CustomizeRule *CustomizeRule `json:",omitempty"`
}
type CustomizeRule ¶ added in v1.0.23
type CustomizeRule struct { AccessAction *CustomizeAccessAction `json:",omitempty"` Condition *Condition `json:",omitempty"` }
type DeleteCdnCertificateRequest ¶ added in v1.0.23
type DeleteCdnCertificateRequest struct {
CertId string
}
type DeleteCdnCertificateResponse ¶ added in v1.0.23
type DeleteCdnCertificateResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type DeleteCdnDomainRequest ¶
type DeleteCdnDomainRequest struct {
Domain string
}
type DeleteCdnDomainResponse ¶
type DeleteCdnDomainResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type DeleteResourceTagsRequest ¶
type DeleteResourceTagsRequest struct { ResourceTags []ResourceTag Resources []string }
type DeleteResourceTagsResponse ¶
type DeleteResourceTagsResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type DeleteTemplateRequest ¶ added in v1.0.23
type DeleteTemplateRequest struct {
TemplateId string
}
type DeleteTemplateResponse ¶ added in v1.0.23
type DeleteTemplateResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type DeleteUsageReportRequest ¶ added in v1.0.31
type DeleteUsageReportRequest struct {
TaskId string
}
type DeleteUsageReportResponse ¶ added in v1.0.31
type DeleteUsageReportResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DeleteUsageReportResult }
type DeleteUsageReportResult ¶ added in v1.0.31
type DeleteUsageReportResult struct {
TaskIds []string
}
type DeployResult ¶ added in v1.0.31
type DescribeAccountingDataRequest ¶
type DescribeAccountingDataRequest struct { Aggregate *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 Interval *int64 `json:",omitempty"` InverseDomain *bool `json:",omitempty"` IsWildcardDomain *bool `json:",omitempty"` Metric string Project *string `json:",omitempty"` Protocol *string `json:",omitempty"` StartTime int64 }
type DescribeAccountingDataResponse ¶
type DescribeAccountingDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeAccountingDataResult }
type DescribeAccountingDataResult ¶
type DescribeAccountingDataResult struct {
Resources []AccountingDataDetail
}
type DescribeAccountingSummaryRequest ¶ added in v1.0.23
type DescribeAccountingSummaryRequest struct { Aggregate *string `json:",omitempty"` BillingCode *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` Domain string EndTime int64 FreeTime *string `json:",omitempty"` InverseDomain *bool `json:",omitempty"` Project *string `json:",omitempty"` StartTime int64 TimeZone *string `json:",omitempty"` }
type DescribeAccountingSummaryResponse ¶ added in v1.0.23
type DescribeAccountingSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeAccountingSummaryResult }
type DescribeAccountingSummaryResult ¶ added in v1.0.23
type DescribeAccountingSummaryResult struct {
Resources []AccountingSummary
}
type DescribeCdnAccessLogResponse ¶
type DescribeCdnAccessLogResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnAccessLogResult }
type DescribeCdnAccessLogResult ¶
type DescribeCdnAccessLogResult struct { Domain string DomainLogDetails []DomainLogDetail PageNum int64 PageSize int64 TotalCount int64 }
type DescribeCdnConfigRequest ¶
type DescribeCdnConfigRequest struct {
Domain string
}
type DescribeCdnConfigResponse ¶
type DescribeCdnConfigResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCdnConfigResult }
type DescribeCdnConfigResult ¶
type DescribeCdnConfigResult struct { DomainConfig DomainConfig FeatureConfig FeatureConfig }
type 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 DescribeCipherTemplateRequest ¶ added in v1.0.23
type DescribeCipherTemplateRequest struct {
TemplateId string
}
type DescribeCipherTemplateResponse ¶ added in v1.0.23
type DescribeCipherTemplateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeCipherTemplateResult }
type DescribeCipherTemplateResult ¶ added in v1.0.23
type DescribeCipherTemplateResult struct { BoundDomains []BoundDomain CreateTime int64 Exception bool HTTPS HTTPSCommon HttpForcedRedirect HttpForcedRedirect Message string Project string Quic Quic Status string TemplateId string Title string Type string UpdateTime int64 }
type DescribeContentBlockTasksRequest ¶
type DescribeContentBlockTasksRequest struct { DomainName *string `json:",omitempty"` EndTime *int64 `json:",omitempty"` PageNum *int64 `json:",omitempty"` PageSize *int64 `json:",omitempty"` StartTime *int64 `json:",omitempty"` Status *string `json:",omitempty"` TaskID *string `json:",omitempty"` TaskType string URL *string `json:",omitempty"` }
type DescribeContentBlockTasksResponse ¶
type DescribeContentBlockTasksResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeContentBlockTasksResult }
type DescribeContentBlockTasksResult ¶
type DescribeContentBlockTasksResult struct { Data []BlockTaskInfo PageNum int64 PageSize int64 Total int64 }
type DescribeContentQuotaResponse ¶
type DescribeContentQuotaResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeContentQuotaResult }
type DescribeContentQuotaResult ¶
type DescribeContentQuotaResult struct { BlockLimit int64 BlockQuota int64 BlockRemain int64 PreloadLimit int64 PreloadQuota int64 PreloadRemain int64 RefreshDirLimit int64 RefreshDirQuota int64 RefreshDirRemain int64 RefreshQuota int64 RefreshQuotaLimit int64 RefreshRegexLimit int64 RefreshRegexQuota int64 RefreshRegexRemain int64 RefreshRemain int64 UnblockLimit int64 UnblockQuota int64 UnblockRemain int64 }
type DescribeContentTasksRequest ¶
type DescribeContentTasksRequest struct { DomainName *string `json:",omitempty"` EndTime *int64 `json:",omitempty"` PageNum *int64 `json:",omitempty"` PageSize *int64 `json:",omitempty"` Remark *string `json:",omitempty"` StartTime *int64 `json:",omitempty"` Status *string `json:",omitempty"` TaskID *string `json:",omitempty"` TaskType string Url *string `json:",omitempty"` }
type DescribeContentTasksResponse ¶
type DescribeContentTasksResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeContentTasksResult }
type DescribeContentTasksResult ¶
type DescribeContentTasksResult struct { Data []ContentTask PageNum int64 PageSize int64 Total int64 }
type DescribeDistrictDataRequest ¶ added in v1.0.31
type DescribeDistrictDataRequest struct { Domain *string `json:",omitempty"` EndTime int64 Interval *string `json:",omitempty"` IpVersion *string `json:",omitempty"` Isp *string `json:",omitempty"` Location *string `json:",omitempty"` Metric string Project *string `json:",omitempty"` Protocol *string `json:",omitempty"` Province *string `json:",omitempty"` StartTime int64 }
type DescribeDistrictDataResponse ¶ added in v1.0.31
type DescribeDistrictDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictDataResult }
type DescribeDistrictDataResult ¶ added in v1.0.31
type DescribeDistrictDataResult struct {
MetricDataList []AccountingData
}
type DescribeDistrictIspDataResponse ¶
type DescribeDistrictIspDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictIspDataResult }
type DescribeDistrictIspDataResult ¶
type DescribeDistrictIspDataResult struct {
Resources []DomainNrtDetailData
}
type DescribeDistrictRankingRequest ¶ added in v1.0.31
type DescribeDistrictRankingResponse ¶ added in v1.0.31
type DescribeDistrictRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictRankingResult }
type DescribeDistrictRankingResult ¶ added in v1.0.31
type DescribeDistrictRankingResult struct { Item string TopDataDetails []RankingDataDetail }
type DescribeDistrictSummaryRequest ¶ added in v1.0.31
type DescribeDistrictSummaryRequest struct { Domain *string `json:",omitempty"` EndTime int64 Interval *string `json:",omitempty"` IpVersion *string `json:",omitempty"` Isp *string `json:",omitempty"` Location *string `json:",omitempty"` Metric string Project *string `json:",omitempty"` Protocol *string `json:",omitempty"` Province *string `json:",omitempty"` StartTime int64 }
type DescribeDistrictSummaryResponse ¶ added in v1.0.31
type DescribeDistrictSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeDistrictSummaryResult }
type DescribeDistrictSummaryResult ¶ added in v1.0.31
type DescribeDistrictSummaryResult struct {
MetricDataList []MetricSummaryData
}
type DescribeEdgeDataRequest ¶ added in v1.0.31
type DescribeEdgeDataResponse ¶ added in v1.0.31
type DescribeEdgeDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeDataResult }
type DescribeEdgeDataResult ¶ added in v1.0.31
type DescribeEdgeDataResult struct {
MetricDataList []AccountingData
}
type DescribeEdgeNrtDataSummaryRequest ¶
type DescribeEdgeNrtDataSummaryRequest struct { Aggregate *string `json:",omitempty"` Area *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` DisaggregateMetrics *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 Interval *string `json:",omitempty"` InverseDomain *bool `json:",omitempty"` IpVersion *string `json:",omitempty"` Isp *string `json:",omitempty"` Metric string Project *string `json:",omitempty"` Protocol *string `json:",omitempty"` Region *string `json:",omitempty"` StartTime int64 }
type DescribeEdgeNrtDataSummaryResponse ¶
type DescribeEdgeNrtDataSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeNrtDataSummaryResult }
type DescribeEdgeNrtDataSummaryResult ¶
type DescribeEdgeNrtDataSummaryResult struct {
Resources []NrtDataSummaryResource
}
type DescribeEdgeRankingRequest ¶ added in v1.0.31
type DescribeEdgeRankingResponse ¶ added in v1.0.31
type DescribeEdgeRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeRankingResult }
type DescribeEdgeRankingResult ¶ added in v1.0.31
type DescribeEdgeRankingResult struct { Item string TopDataDetails []RankingDataDetail }
type DescribeEdgeStatisticalDataResponse ¶
type DescribeEdgeStatisticalDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeStatisticalDataResult }
type DescribeEdgeStatisticalDataResult ¶
type DescribeEdgeStatisticalDataResult struct {
Resources []EdgeStatisticalDataResource
}
type DescribeEdgeStatusCodeRankingRequest ¶ added in v1.0.31
type DescribeEdgeStatusCodeRankingResponse ¶ added in v1.0.31
type DescribeEdgeStatusCodeRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeStatusCodeRankingResult }
type DescribeEdgeStatusCodeRankingResult ¶ added in v1.0.31
type DescribeEdgeStatusCodeRankingResult struct { Item string Metric string TopDataDetails []RankingStatusCodeDetail }
type DescribeEdgeSummaryRequest ¶ added in v1.0.31
type DescribeEdgeSummaryResponse ¶ added in v1.0.31
type DescribeEdgeSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeSummaryResult }
type DescribeEdgeSummaryResult ¶ added in v1.0.31
type DescribeEdgeSummaryResult struct {
MetricDataList []MetricSummaryData
}
type DescribeEdgeTopNrtDataRequest ¶
type DescribeEdgeTopNrtDataRequest struct { Area *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 Interval *string `json:",omitempty"` InverseDomain *bool `json:",omitempty"` Item string Metric string Project *string `json:",omitempty"` StartTime int64 }
type DescribeEdgeTopNrtDataResponse ¶
type DescribeEdgeTopNrtDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeEdgeTopNrtDataResult }
type DescribeEdgeTopNrtDataResult ¶
type DescribeEdgeTopNrtDataResult struct { Item string Metric string Name string TopDataDetails []TopNrtDataDetail }
type 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.31
type DescribeOriginDataResponse ¶ added in v1.0.31
type DescribeOriginDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginDataResult }
type DescribeOriginDataResult ¶ added in v1.0.31
type DescribeOriginDataResult struct {
MetricDataList []AccountingData
}
type DescribeOriginNrtDataSummaryRequest ¶
type DescribeOriginNrtDataSummaryRequest struct { Aggregate *string `json:",omitempty"` Area *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` DisaggregateMetrics *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 Interval *string `json:",omitempty"` InverseDomain *bool `json:",omitempty"` IpVersion *string `json:",omitempty"` Isp *string `json:",omitempty"` Metric string Project *string `json:",omitempty"` Protocol *string `json:",omitempty"` Region *string `json:",omitempty"` StartTime int64 }
type DescribeOriginNrtDataSummaryResponse ¶
type DescribeOriginNrtDataSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginNrtDataSummaryResult }
type DescribeOriginNrtDataSummaryResult ¶
type DescribeOriginNrtDataSummaryResult struct {
Resources []NrtDataSummaryResource
}
type DescribeOriginRankingRequest ¶ added in v1.0.31
type DescribeOriginRankingResponse ¶ added in v1.0.31
type DescribeOriginRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginRankingResult }
type DescribeOriginRankingResult ¶ added in v1.0.31
type DescribeOriginRankingResult struct { Item string TopDataDetails []RankingDataDetail }
type DescribeOriginStatusCodeRankingRequest ¶ added in v1.0.31
type DescribeOriginStatusCodeRankingResponse ¶ added in v1.0.31
type DescribeOriginStatusCodeRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginStatusCodeRankingResult }
type DescribeOriginStatusCodeRankingResult ¶ added in v1.0.31
type DescribeOriginStatusCodeRankingResult struct { Item string Metric string TopDataDetails []RankingStatusCodeDetail }
type DescribeOriginSummaryRequest ¶ added in v1.0.31
type DescribeOriginSummaryResponse ¶ added in v1.0.31
type DescribeOriginSummaryResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginSummaryResult }
type DescribeOriginSummaryResult ¶ added in v1.0.31
type DescribeOriginSummaryResult struct {
MetricDataList []MetricSummaryData
}
type DescribeOriginTopNrtDataRequest ¶
type DescribeOriginTopNrtDataRequest struct { Area *string `json:",omitempty"` BillingRegion *string `json:",omitempty"` Domain *string `json:",omitempty"` EndTime int64 Interval *string `json:",omitempty"` InverseDomain *bool `json:",omitempty"` Item string Metric string Project *string `json:",omitempty"` StartTime int64 }
type DescribeOriginTopNrtDataResponse ¶
type DescribeOriginTopNrtDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginTopNrtDataResult }
type DescribeOriginTopNrtDataResult ¶
type DescribeOriginTopNrtDataResult struct { Item string Metric string Name string TopDataDetails []TopNrtDataDetail }
type DescribeOriginTopStatusCodeResponse ¶
type DescribeOriginTopStatusCodeResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeOriginTopStatusCodeResult }
type DescribeOriginTopStatusCodeResult ¶
type DescribeOriginTopStatusCodeResult struct { Item string Metric string Name string TopDataDetails []TopStatusCodeDetail }
type DescribeServiceTemplateRequest ¶ added in v1.0.23
type DescribeServiceTemplateRequest struct {
TemplateId string
}
type DescribeServiceTemplateResponse ¶ added in v1.0.23
type DescribeServiceTemplateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeServiceTemplateResult }
type DescribeServiceTemplateResult ¶ added in v1.0.23
type DescribeServiceTemplateResult struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BoundDomains []BoundDomain BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheHost *CacheHost `json:",omitempty"` CacheKey []CacheKeyRule Compression *Compression `json:",omitempty"` ConditionalOrigin *ConditionalOrigin `json:",omitempty"` CreateTime *int64 `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` Exception *bool `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` Message *string `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck *OriginCertCheck `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` Project *string `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule RewriteHLS *RewriteHLS `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Status *string `json:",omitempty"` TemplateId *string `json:",omitempty"` Timeout *Timeout `json:",omitempty"` Title *string `json:",omitempty"` Type *string `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UpdateTime *int64 `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` Websocket *Websocket `json:",omitempty"` }
type DescribeStatisticalRankingRequest ¶ added in v1.0.31
type DescribeStatisticalRankingResponse ¶ added in v1.0.31
type DescribeStatisticalRankingResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeStatisticalRankingResult }
type DescribeStatisticalRankingResult ¶ added in v1.0.31
type DescribeStatisticalRankingResult struct { Item string Metric string RankingDataList []EdgeTopStatisticalDataDetail UaType string }
type DescribeTemplateDomainsRequest ¶ added in v1.0.23
type DescribeTemplateDomainsResponse ¶ added in v1.0.23
type DescribeTemplateDomainsResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeTemplateDomainsResult }
type DescribeTemplateDomainsResult ¶ added in v1.0.23
type DescribeTemplateDomainsResult struct { Domains []CdnTemplateDomain TotalCount int64 }
type DescribeTemplatesRequest ¶ added in v1.0.23
type DescribeTemplatesResponse ¶ added in v1.0.23
type DescribeTemplatesResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeTemplatesResult }
type DescribeTemplatesResult ¶ added in v1.0.23
type DescribeTemplatesResult struct { Templates []DomainTemplateInfo TotalCount int64 }
type DescribeUserDataRequest ¶ added in v1.0.31
type DescribeUserDataResponse ¶ added in v1.0.31
type DescribeUserDataResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DescribeUserDataResult }
type DescribeUserDataResult ¶ added in v1.0.31
type DescribeUserDataResult struct {
MetricDataList []DataPoint
}
type DomainCertStatus ¶ added in v1.0.23
type DomainCertStatus struct { CerStatus string Domain string DomainLock DomainLock Status string Type string }
type DomainConfig ¶ added in v1.0.23
type DomainConfig struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` BackupCname *string `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheHost *CacheHost `json:",omitempty"` CacheKey []CacheKeyRule Cname *string `json:",omitempty"` Compression *Compression `json:",omitempty"` CreateTime *int64 `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` Domain *string `json:",omitempty"` DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` HTTPS *HTTPS `json:",omitempty"` HeaderLogging *HeaderLog `json:",omitempty"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` LockStatus *string `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange MultiRange NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck OriginCertCheck OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRetry OriginRetry OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` Project *string `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestBlockRule *RequestBlockRule `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule RewriteHLS RewriteHLS ServiceRegion *string `json:",omitempty"` ServiceType string SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Status *string `json:",omitempty"` Timeout *Timeout `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UpdateTime *int64 `json:",omitempty"` UrlNormalize *URLNormalize `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` Websocket Websocket }
type DomainLock ¶
type DomainLogDetail ¶
type DomainNrtDetailData ¶
type DomainNrtDetailData struct { DataDetails []NrtDataDetails Name string }
type DomainStatus ¶ added in v1.0.23
type DomainStatus struct { Domain string DomainLock DomainLock Status string Type string }
type DomainSummary ¶ added in v1.0.23
type DomainSummary struct { BackupCname string BackupOrigin []string Cname string ConfigStatus string CreateTime int64 Domain string DomainLock DomainLock FeatureConfig FeatureConfig HTTPS bool IPv6 bool IsConflictDomain bool OriginProtocol string PrimaryOrigin []string Project string ResourceTags []ResourceTag ServiceRegion string ServiceType string SparrowList []string Status string UpdateTime int64 Waf bool }
type DomainTemplateInfo ¶ added in v1.0.23
type DownloadSpeedLimit ¶
type DownloadSpeedLimit struct { DownloadSpeedLimitRules []DownloadSpeedLimitRule Switch *bool `json:",omitempty"` }
type DownloadSpeedLimitAction ¶
type DownloadSpeedLimitAction struct { SpeedLimitRate *int64 `json:",omitempty"` SpeedLimitRateAfter *int64 `json:",omitempty"` SpeedLimitTime *SpeedLimitTime `json:",omitempty"` }
type DownloadSpeedLimitRule ¶
type DownloadSpeedLimitRule struct { Condition *Condition `json:",omitempty"` DownloadSpeedLimitAction *DownloadSpeedLimitAction `json:",omitempty"` }
type DuplicateTemplateRequest ¶ added in v1.0.23
type DuplicateTemplateResponse ¶ added in v1.0.23
type DuplicateTemplateResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result DuplicateTemplateResult }
type DuplicateTemplateResult ¶ added in v1.0.23
type DuplicateTemplateResult struct {
TemplateId string
}
type EdgeStatisticalDataResource ¶
type EdgeStatisticalDataResource struct { Metrics []AccountingData Name string }
type ErrorPageAction ¶
type ErrorPageRule ¶
type ErrorPageRule struct {
ErrorPageAction *ErrorPageAction `json:",omitempty"`
}
type FeatureConfig ¶ added in v1.0.23
type FeatureConfig struct {
OriginV2 bool
}
type ForcedRedirect ¶
type HTTPS ¶
type HTTPS struct { CertCheck *CertCheck `json:",omitempty"` CertInfo *CertInfo `json:",omitempty"` CertInfoList []CertInfo DisableHttp *bool `json:",omitempty"` ForcedRedirect *ForcedRedirect `json:",omitempty"` HTTP2 *bool `json:",omitempty"` Hsts *Hsts `json:",omitempty"` OCSP *bool `json:",omitempty"` Switch *bool `json:",omitempty"` TlsVersion []string }
type HTTPSCommon ¶ added in v1.0.23
type 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 IpSpeedLimit ¶
type IpSpeedLimit struct { IpSpeedLimitRules []IpSpeedLimitRule Switch *bool `json:",omitempty"` }
type IpSpeedLimitAction ¶
type IpSpeedLimitAction struct {
SpeedLimitRate *int64 `json:",omitempty"`
}
type IpSpeedLimitRule ¶
type IpSpeedLimitRule struct { Condition *Condition `json:",omitempty"` IpSpeedLimitAction *IpSpeedLimitAction `json:",omitempty"` }
type ListCdnCertInfoRequest ¶
type ListCdnCertInfoRequest struct { CertId *string `json:",omitempty"` CertType *string `json:",omitempty"` Configured *bool `json:",omitempty"` ConfiguredDomain *string `json:",omitempty"` DnsName *string `json:",omitempty"` EncryType *string `json:",omitempty"` PageNum *int64 `json:",omitempty"` PageSize *int64 `json:",omitempty"` Source *string `json:",omitempty"` Status *string `json:",omitempty"` }
type ListCdnCertInfoResponse ¶
type ListCdnCertInfoResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListCdnCertInfoResult }
type ListCdnCertInfoResult ¶
type ListCdnCertInfoResult struct { CertInfo []ListCertInfo ExpiringCount int64 PageNum int64 PageSize int64 Total int64 }
type ListCdnDomainsRequest ¶
type ListCdnDomainsRequest struct { Domain *string `json:",omitempty"` ExactMatch *bool `json:",omitempty"` HTTPS *bool `json:",omitempty"` IPv6 *bool `json:",omitempty"` NeedSparrows *bool `json:",omitempty"` OriginProtocol *string `json:",omitempty"` PageNum *int64 `json:",omitempty"` PageSize *int64 `json:",omitempty"` PrimaryOrigin *string `json:",omitempty"` Project *string `json:",omitempty"` ResourceTags []string ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` Status *string `json:",omitempty"` TagConnective *string `json:",omitempty"` }
type ListCdnDomainsResponse ¶
type ListCdnDomainsResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListCdnDomainsResult }
type ListCdnDomainsResult ¶
type ListCdnDomainsResult struct { Data []DomainSummary PageNum int64 PageSize int64 Total int64 }
type ListCertInfo ¶ added in v1.0.23
type ListCertInfoRequest ¶
type ListCertInfoRequest struct { CertId *string `json:",omitempty"` CertType *string `json:",omitempty"` ConfiguredDomain *string `json:",omitempty"` EncryType *string `json:",omitempty"` FuzzyMatch *bool `json:",omitempty"` Name *string `json:",omitempty"` PageNum *int64 `json:",omitempty"` PageSize *int64 `json:",omitempty"` SetPagination *bool `json:",omitempty"` SortRule *SortRule `json:",omitempty"` Source *string `json:",omitempty"` Status *string `json:",omitempty"` }
type ListCertInfoResponse ¶
type ListCertInfoResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListCertInfoResult }
type ListCertInfoResult ¶
type ListCertInfoResult struct { CertInfo []ListCertInfo ExpiringCount int64 PageNum int64 PageSize int64 Total int64 }
type ListUsageReportsRequest ¶ added in v1.0.31
type ListUsageReportsResponse ¶ added in v1.0.31
type ListUsageReportsResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result ListUsageReportsResult }
type ListUsageReportsResult ¶ added in v1.0.31
type ListUsageReportsResult struct { PageNum int64 PageSize int64 Total int64 UsageReportsDetails []UsageReportsDetail }
type LockTemplateRequest ¶ added in v1.0.23
type LockTemplateRequest struct {
TemplateId string
}
type LockTemplateResponse ¶ added in v1.0.23
type LockTemplateResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type MethodDeniedRule ¶
type MetricSummaryData ¶ added in v1.0.31
type MetricTimestampValue ¶
type MetricTimestampValue struct { Metric string Values []TimestampValue }
type MetricValue ¶
type MultiRange ¶ added in v1.0.31
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 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.31
type OriginCertCheck struct {
Switch *bool `json:",omitempty"`
}
type OriginLine ¶
type OriginLine struct { Address *string `json:",omitempty"` BucketName *string `json:",omitempty"` HttpPort *string `json:",omitempty"` HttpsPort *string `json:",omitempty"` InstanceType *string `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginType *string `json:",omitempty"` PrivateBucketAccess *bool `json:",omitempty"` PrivateBucketAuth *PrivateBucketAuth `json:",omitempty"` Region *string `json:",omitempty"` SignedOriginAuth *SignedOriginAuth `json:",omitempty"` Weight *string `json:",omitempty"` }
type OriginRetry ¶ added in v1.0.31
type 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.31
type OriginRules struct { Actions *ConditionalOriginAction `json:",omitempty"` Condition *RecursionCondition `json:",omitempty"` }
type PageOptimization ¶ added in v1.0.23
type ParamCapRule ¶ added in v1.0.23
type PreloadHeader ¶ added in v1.0.23
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.31
type RankingDataDetail struct { Metric string ValueDetails []RankingValueDetail }
type RankingStatusCodeDetail ¶ added in v1.0.31
type RankingValueDetail ¶ added in v1.0.31
type RecursionCondition ¶ added in v1.0.31
type RecursionCondition struct { ConditionGroups []SubRecursionCondition Connective *string `json:",omitempty"` IsGroup *bool `json:",omitempty"` }
type RecursionConditionRule ¶ added in v1.0.31
type 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.23
type RefererType struct {
Referers []string
}
type ReferersType ¶ added in v1.0.23
type ReferersType struct { CommonType *CommonReferType `json:",omitempty"` RegularType *RefererType `json:",omitempty"` }
type RemoteAuth ¶
type RemoteAuth struct { RemoteAuthRules []RemoteAuthRule Switch *bool `json:",omitempty"` }
type RemoteAuthRule ¶
type RemoteAuthRule struct { Condition *Condition `json:",omitempty"` RemoteAuthRuleAction *RemoteAuthRuleAction `json:",omitempty"` }
type RemoteAuthRuleAction ¶
type RemoteAuthRuleAction struct { AuthModeConfig *AuthModeConfig `json:",omitempty"` AuthResponseConfig *AuthResponseConfig `json:",omitempty"` QueryStringRules *QueryStringRule `json:",omitempty"` RequestBodyRules *string `json:",omitempty"` RequestHeaderRules *AuthRequestHeaderRule `json:",omitempty"` }
type RequestBlockRule ¶ added in v1.0.23
type 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.31
type RewriteM3u8Rule ¶ added in v1.0.23
type SignedOriginAuth ¶ added in v1.0.31
type SignedOriginAuth struct { SignedOriginAuthRules []SignedOriginAuthRule Switch *bool `json:",omitempty"` }
type SignedOriginAuthAction ¶ added in v1.0.31
type SignedOriginAuthAction struct { Duration *int64 `json:",omitempty"` KeyName *string `json:",omitempty"` MasterAccessKey *string `json:",omitempty"` MasterSecretKey *string `json:",omitempty"` OriginAuthType *string `json:",omitempty"` SignName *string `json:",omitempty"` TimeFormat *string `json:",omitempty"` TimeName *string `json:",omitempty"` }
type SignedOriginAuthRule ¶ added in v1.0.31
type SignedOriginAuthRule struct { Condition *Condition `json:",omitempty"` SignedOriginAuthAction *SignedOriginAuthAction `json:",omitempty"` }
type SignedUrlAuth ¶
type SignedUrlAuth struct { SignedUrlAuthRules []SignedUrlAuthRule Switch *bool `json:",omitempty"` }
type SignedUrlAuthAction ¶
type SignedUrlAuthAction struct { AuthAlgorithm *string `json:",omitempty"` BackupSecretKey *string `json:",omitempty"` CustomVariableRules *CustomVariableRules `json:",omitempty"` Duration *int64 `json:",omitempty"` KeepOriginArg *bool `json:",omitempty"` MasterSecretKey *string `json:",omitempty"` MpdVarExpand *bool `json:",omitempty"` RewriteM3u8 *bool `json:",omitempty"` RewriteM3u8Rule *RewriteM3u8Rule `json:",omitempty"` RewriteMpd *bool `json:",omitempty"` SignName *string `json:",omitempty"` SignatureRule []string TimeFormat *string `json:",omitempty"` TimeName *string `json:",omitempty"` URLAuthType *string `json:",omitempty"` }
type SignedUrlAuthRule ¶
type SignedUrlAuthRule struct { Condition *Condition `json:",omitempty"` SignedUrlAuthAction *SignedUrlAuthAction `json:",omitempty"` }
type SignedUrlAuthRules ¶ added in v1.0.31
type SignedUrlAuthRules struct {
Duration *int64 `json:",omitempty"`
}
type 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.31
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 TemplateCertInfo ¶ added in v1.0.23
type TemplateCertInfo struct {
CertId string
}
type Timeout ¶ added in v1.0.23
type Timeout struct { Switch *bool `json:",omitempty"` TimeoutRules []TimeoutRule }
type TimeoutAction ¶ added in v1.0.23
type 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.23
type UpdateCdnConfigRequest ¶
type UpdateCdnConfigRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheHost *CacheHost `json:",omitempty"` CacheKey []CacheKeyRule Compression *Compression `json:",omitempty"` ConditionalOrigin *ConditionalOrigin `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` Domain *string `json:",omitempty"` DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` HTTPS *HTTPS `json:",omitempty"` HeaderLogging *HeaderLog `json:",omitempty"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck *OriginCertCheck `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol *string `json:",omitempty"` OriginRange *bool `json:",omitempty"` OriginRetry *OriginRetry `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` Quic *Quic `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestBlockRule *RequestBlockRule `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule RewriteHLS *RewriteHLS `json:",omitempty"` ServiceRegion *string `json:",omitempty"` ServiceType *string `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` Sparrow *Sparrow `json:",omitempty"` Timeout *Timeout `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` UrlNormalize *URLNormalize `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` Websocket *Websocket `json:",omitempty"` }
type UpdateCdnConfigResponse ¶
type UpdateCdnConfigResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type UpdateCipherTemplateRequest ¶ added in v1.0.23
type UpdateCipherTemplateRequest struct { HTTPS *HTTPSCommon `json:",omitempty"` HttpForcedRedirect *HttpForcedRedirect `json:",omitempty"` Message *string `json:",omitempty"` Quic *Quic `json:",omitempty"` TemplateId string Title *string `json:",omitempty"` }
type UpdateCipherTemplateResponse ¶ added in v1.0.23
type UpdateCipherTemplateResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type UpdateServiceTemplateRequest ¶ added in v1.0.23
type UpdateServiceTemplateRequest struct { AreaAccessRule *AreaAccessRule `json:",omitempty"` BandwidthLimit *BandwidthLimit `json:",omitempty"` BrowserCache []BrowserCacheControlRule Cache []CacheControlRule CacheKey []CacheKeyRule Compression *Compression `json:",omitempty"` ConditionalOrigin *ConditionalOrigin `json:",omitempty"` CustomErrorPage *CustomErrorPage `json:",omitempty"` CustomizeAccessRule *CustomizeAccessRule `json:",omitempty"` DownloadSpeedLimit *DownloadSpeedLimit `json:",omitempty"` FollowRedirect *bool `json:",omitempty"` IPv6 *IPv6 `json:",omitempty"` IpAccessRule *IpAccessRule `json:",omitempty"` IpFreqLimit *IpFreqLimit `json:",omitempty"` IpSpeedLimit *IpSpeedLimit `json:",omitempty"` Message *string `json:",omitempty"` MethodDeniedRule *MethodDeniedRule `json:",omitempty"` MultiRange *MultiRange `json:",omitempty"` NegativeCache []NegativeCache Origin []OriginRule OriginAccessRule *OriginAccessRule `json:",omitempty"` OriginArg []OriginArgRule OriginCertCheck *OriginCertCheck `json:",omitempty"` OriginHost *string `json:",omitempty"` OriginIPv6 *string `json:",omitempty"` OriginProtocol string OriginRange *bool `json:",omitempty"` OriginRewrite *OriginRewrite `json:",omitempty"` OriginSni *OriginSni `json:",omitempty"` PageOptimization *PageOptimization `json:",omitempty"` RedirectionRewrite *RedirectionRewrite `json:",omitempty"` RefererAccessRule *RefererAccessRule `json:",omitempty"` RemoteAuth *RemoteAuth `json:",omitempty"` RequestHeader []RequestHeaderRule ResponseHeader []ResponseHeaderRule RewriteHLS *RewriteHLS `json:",omitempty"` SignedUrlAuth *SignedUrlAuth `json:",omitempty"` TemplateId string Timeout *Timeout `json:",omitempty"` Title *string `json:",omitempty"` UaAccessRule *UserAgentAccessRule `json:",omitempty"` VideoDrag *VideoDrag `json:",omitempty"` Websocket *Websocket `json:",omitempty"` }
type UpdateServiceTemplateResponse ¶ added in v1.0.23
type UpdateServiceTemplateResponse struct {
ResponseMetadata *ResponseMetadata `json:",omitempty"`
}
type UpdateTemplateDomainRequest ¶ added in v1.0.23
type UpdateTemplateDomainRequest struct { CertId *string `json:",omitempty"` CipherTemplateId *string `json:",omitempty"` Disaggregate *bool `json:",omitempty"` Domains []string HTTPSSwitch *string `json:",omitempty"` ServiceRegion *string `json:",omitempty"` ServiceTemplateId *string `json:",omitempty"` SparrowRules []SparrowRule SparrowSwitch *string `json:",omitempty"` }
type UpdateTemplateDomainResponse ¶ added in v1.0.23
type UpdateTemplateDomainResponse struct { ResponseMetadata *ResponseMetadata `json:",omitempty"` Result UpdateTemplateDomainResult }
type UpdateTemplateDomainResult ¶ added in v1.0.31
type UpdateTemplateDomainResult struct {
DeployResult []DeployResult
}
type UriParamSup ¶ added in v1.0.23
type UrlAuthCustomAction ¶ added in v1.0.31
type UrlAuthCustomAction struct { ExpTimeCapRule *ParamCapRule `json:",omitempty"` ParamCalRules []string SignCapRule *ParamCapRule `json:",omitempty"` SignJoinSymbol *string `json:",omitempty"` SignParam []CustomSignedUrlParam }
type UsageReportsDetail ¶ added in v1.0.31
type UserAgentAccessRule ¶
Click to show internal directories.
Click to hide internal directories.