v20180606

package
v3.0.959+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// Authentication error. Please check and try again.
	AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"

	// Failed to update the domain name configuration. Please submit a ticket for troubleshooting.
	FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"

	// Authentication system internal error.
	INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"

	// Failed to update the domain name configuration.
	INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"

	// Internal data error. Please submit a ticket for troubleshooting.
	INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"

	// Internal error. Please try again or contact the customer service for assistance.
	INTERNALERROR_CDNQUERYPARAMERROR = "InternalError.CdnQueryParamError"

	// Internal error. Please try again or contact the customer service for assistance.
	INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"

	// System error. Please submit a ticket for troubleshooting.
	INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"

	// CLS internal error.
	INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"

	// Billing data query internal error. Please submit a ticket for troubleshooting.
	INTERNALERROR_COSTDATASYSTEMERROR = "InternalError.CostDataSystemError"

	// Error with the data query. Please submit a ticket for troubleshooting.
	INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"

	// Service internal error. Please submit a ticket for troubleshooting.
	INTERNALERROR_ERROR = "InternalError.Error"

	// Service internal error. Please submit a ticket for troubleshooting.
	INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"

	// Internal service error. Please submit a ticket for troubleshooting.
	INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

	// Internal service error. Please submit a ticket for troubleshooting.
	INTERNALERROR_ROUTEERROR = "InternalError.RouteError"

	// The SCDN service is not activated. Please purchase or renew an SCDN packet and try again.
	INTERNALERROR_SCDNUSERNOPACKAGE = "InternalError.ScdnUserNoPackage"

	// Your SCDN service is suspended. Please purchase a new SCDN packet.
	INTERNALERROR_SCDNUSERSUSPEND = "InternalError.ScdnUserSuspend"

	// Tag internal error. Please submit a ticket for troubleshooting.
	INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"

	// Internal service error. Please submit a ticket for troubleshooting.
	INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

	// The access port 443 must be enabled for HTTPS configuration.
	INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"

	// Please delete the rate limiting configuration before you switch the acceleration region.
	INVALIDPARAMETER_BANDLIMITREQUIREDMAINLAND = "InvalidParameter.BandLimitRequiredMainland"

	// Tencent Cloud COS and third-party object storage origins only support "Return 404". Please modify and try again.
	INVALIDPARAMETER_BANDWIDTHALERTCOUNTERMEASURECONFLICTORIGINTYPE = "InvalidParameter.BandwidthAlertCounterMeasureConflictOriginType"

	// Invalid domain name status.
	INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"

	// Inconsistent resource AppID.
	INVALIDPARAMETER_CAMRESOURCEBELONGTODIFFERENTUSER = "InvalidParameter.CamResourceBelongToDifferentUser"

	// Incorrect six-segment resource parameter.
	INVALIDPARAMETER_CAMRESOURCESIXSTAGEERROR = "InvalidParameter.CamResourceSixStageError"

	// The domain name has already been associated with this tag.
	INVALIDPARAMETER_CAMTAGKEYALREADYATTACHED = "InvalidParameter.CamTagKeyAlreadyAttached"

	// Invalid characters in the tag key.
	INVALIDPARAMETER_CAMTAGKEYILLEGAL = "InvalidParameter.CamTagKeyIllegal"

	// The tag key does not exist.
	INVALIDPARAMETER_CAMTAGKEYNOTEXIST = "InvalidParameter.CamTagKeyNotExist"

	// Invalid characters in the tag value.
	INVALIDPARAMETER_CAMTAGVALUEILLEGAL = "InvalidParameter.CamTagValueIllegal"

	// The certificate information is invalid or does not exist. Please check and try again.
	INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"

	// Invalid certificate. Please check and try again.
	INVALIDPARAMETER_CDNCERTNOCERTINFO = "InvalidParameter.CdnCertNoCertInfo"

	// Invalid HTTPS certificate.
	INVALIDPARAMETER_CDNCERTNOTPEM = "InvalidParameter.CdnCertNotPem"

	// A duplicate topic is found.
	INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"

	// Invalid topic name.
	INVALIDPARAMETER_CDNCLSTOPICNAMEINVALID = "InvalidParameter.CdnClsTopicNameInvalid"

	// The CLS topic does not exist.
	INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"

	// Invalid cache configuration. Please check and try again.
	INVALIDPARAMETER_CDNCONFIGINVALIDCACHE = "InvalidParameter.CdnConfigInvalidCache"

	// Invalid domain name. Please make sure the domain name is valid.
	INVALIDPARAMETER_CDNCONFIGINVALIDHOST = "InvalidParameter.CdnConfigInvalidHost"

	// Invalid tag configuration.
	INVALIDPARAMETER_CDNCONFIGINVALIDTAG = "InvalidParameter.CdnConfigInvalidTag"

	// Failed to add the domain name. Please make sure to specify a tag for the domain name.
	INVALIDPARAMETER_CDNCONFIGTAGREQUIRED = "InvalidParameter.CdnConfigTagRequired"

	// The domain name is configured with special configurations, please submit a ticket.
	INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"

	// This domain name belongs to another account. You are not allowed o connect it to CDN.
	INVALIDPARAMETER_CDNHOSTINTERNALHOST = "InvalidParameter.CdnHostInternalHost"

	// Incorrect intermediate server configuration.
	INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"

	// Invalid domain name format. Please check and try again.
	INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"

	// Invalid domain name status.
	INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"

	// It is a COS origin domain name. Please go to the COS console to enable "Default CDN Acceleration Domain".
	INVALIDPARAMETER_CDNHOSTISCOSDEFAULTACCESS = "InvalidParameter.CdnHostIsCosDefaultAccess"

	// The domain name is too long.
	INVALIDPARAMETER_CDNHOSTTOOLONGHOST = "InvalidParameter.CdnHostTooLongHost"

	// Internal API error. Please submit a ticket for troubleshooting.
	INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"

	// Parameter error: Interval. Please check and try again.
	INVALIDPARAMETER_CDNINVALIDPARAMINTERVAL = "InvalidParameter.CdnInvalidParamInterval"

	// Parameter error: Metric. Please check and try again.
	INVALIDPARAMETER_CDNINVALIDPARAMMETRIC = "InvalidParameter.CdnInvalidParamMetric"

	// Invalid field: ServiceType. Please check and try again.
	INVALIDPARAMETER_CDNINVALIDPARAMSERVICETYPE = "InvalidParameter.CdnInvalidParamServiceType"

	// The configuration is not supported.
	INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"

	// Invalid field: QueryString. Please check and try again.
	INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"

	// Parameter error. Please see the sample parameters in the documentation.
	INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"

	// Cache purge does not support wildcard domain names.
	INVALIDPARAMETER_CDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.CdnPurgeWildcardNotAllowed"

	// Prefetch does not support wildcard domain names.
	INVALIDPARAMETER_CDNPUSHWILDCARDNOTALLOWED = "InvalidParameter.CdnPushWildcardNotAllowed"

	// Invalid date. Please see the sample date in the documentation.
	INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"

	// Invalid statistical dimension. Please see the sample statistical analysis in the documentation.
	INVALIDPARAMETER_CDNSTATINVALIDFILTER = "InvalidParameter.CdnStatInvalidFilter"

	// Invalid statistical type. Please see the sample statistical analysis in the documentation.
	INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"

	// Incorrect project ID. Please check and try again.
	INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"

	// The number of queried domain names reached the limit.
	INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"

	// The URL exceeds the length limit.
	INVALIDPARAMETER_CDNURLEXCEEDLENGTH = "InvalidParameter.CdnUrlExceedLength"

	// Index conflict.
	INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"

	// The index rule is empty.
	INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"

	// Invalid content.
	INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"

	// Invalid `Content-Type`.
	INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"

	// Parameter error. Please check and try again.
	INVALIDPARAMETER_CLSINVALIDPARAM = "InvalidParameter.ClsInvalidParam"

	// Logset conflict.
	INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"

	// The logset is empty.
	INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"

	// The logset is not empty.
	INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"

	// No authorization information.
	INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"

	// Lost content.
	INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"

	// Syntax error.
	INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"

	// The topic has been closed.
	INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"

	// Topic conflict.
	INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"

	// API internal error. Please try again or contact the customer service for assistance.
	INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"

	// The maximum number of regex sub-patterns is exceeded.
	INVALIDPARAMETER_PATHREGEXTOOMANYSUBPATTERN = "InvalidParameter.PathRegexTooManySubPattern"

	// This platform does not support remote authentication.
	INVALIDPARAMETER_REMOTEAUTHINVALIDPLATFORM = "InvalidParameter.RemoteAuthInvalidPlatform"

	// This platform does not support remote access to an authentication address via the HTTPS protocol.
	INVALIDPARAMETER_REMOTEAUTHINVALIDPROTOCOL = "InvalidParameter.RemoteAuthInvalidProtocol"

	// Unable to recreate: the task has expired.
	INVALIDPARAMETER_SCDNLOGTASKEXPIRED = "InvalidParameter.ScdnLogTaskExpired"

	// The task does not exist or was not failed.
	INVALIDPARAMETER_SCDNLOGTASKNOTFOUNDORNOTFAIL = "InvalidParameter.ScdnLogTaskNotFoundOrNotFail"

	// Incorrect time range
	INVALIDPARAMETER_SCDNLOGTASKTIMERANGEINVALID = "InvalidParameter.ScdnLogTaskTimeRangeInvalid"

	// The number of resource arrays exceeds the upper limit.
	LIMITEXCEEDED_CAMRESOURCEARRAYTOOLONG = "LimitExceeded.CamResourceArrayTooLong"

	// The number of tag keys exceeds the upper limit. Each resource can have up to 50 tag keys.
	LIMITEXCEEDED_CAMRESOURCETOOMANYTAGKEY = "LimitExceeded.CamResourceTooManyTagKey"

	// The tag key length exceeds the upper limit.
	LIMITEXCEEDED_CAMTAGKEYTOOLONG = "LimitExceeded.CamTagKeyTooLong"

	// The number of tag values exceeds the upper limit. Each tag key can have up to 1,000 tag values.
	LIMITEXCEEDED_CAMTAGKEYTOOMANYTAGVALUE = "LimitExceeded.CamTagKeyTooManyTagValue"

	// The number of bound tags exceeds the limit.
	LIMITEXCEEDED_CAMTAGQUOTAEXCEEDLIMIT = "LimitExceeded.CamTagQuotaExceedLimit"

	// The number of keys exceeds the upper limit. Each user can have up to 1,000 different keys.
	LIMITEXCEEDED_CAMUSERTOOMANYTAGKEY = "LimitExceeded.CamUserTooManyTagKey"

	// Too frequent queries on IP ownership.
	LIMITEXCEEDED_CDNCALLINGQUERYIPTOOOFTEN = "LimitExceeded.CdnCallingQueryIpTooOften"

	// This account has created too many topics.
	LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"

	// The number of cache validity configuration rules exceeds the limit.
	LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"

	// Domain name operations are too frequent.
	LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"

	//
	LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeExceedBatchLimit"

	//
	LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeExceedDayLimit"

	// The number of directories to be purged exceeds the limit.
	LIMITEXCEEDED_CDNPURGEPATHEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgePathExceedBatchLimit"

	// The number of directories to be purged exceeds the daily limit.
	LIMITEXCEEDED_CDNPURGEPATHEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgePathExceedDayLimit"

	// The number of URLs to be purged exceeds the limit.
	LIMITEXCEEDED_CDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeUrlExceedBatchLimit"

	// The number of URLs to be purged exceeds the daily limit.
	LIMITEXCEEDED_CDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeUrlExceedDayLimit"

	// The number of URLs to be prefetched at a time exceeds the limit.
	LIMITEXCEEDED_CDNPUSHEXCEEDBATCHLIMIT = "LimitExceeded.CdnPushExceedBatchLimit"

	// The number of URLs to be prefetched exceeds the daily limit.
	LIMITEXCEEDED_CDNPUSHEXCEEDDAYLIMIT = "LimitExceeded.CdnPushExceedDayLimit"

	// The number of IPs to be queried exceeds the limit.
	LIMITEXCEEDED_CDNQUERYIPBATCHTOOMANY = "LimitExceeded.CdnQueryIpBatchTooMany"

	// The number of domain names under the account has reached the upper limit. Please submit a ticket for assistance.
	LIMITEXCEEDED_CDNUSERTOOMANYHOSTS = "LimitExceeded.CdnUserTooManyHosts"

	// The log size exceeds the limit.
	LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"

	// The number of logsets exceeds the limit.
	LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"

	// The number of topics exceeds the limit.
	LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"

	// Daily task quota exceeded
	LIMITEXCEEDED_SCDNLOGTASKEXCEEDDAYLIMIT = "LimitExceeded.ScdnLogTaskExceedDayLimit"

	// Inconsistent domain name. Please select again or submit a ticket.
	OPERATIONDENIED_SHARECACHEAREADNSNOTMATCH = "OperationDenied.ShareCacheAreaDnsNotMatch"

	// The domain name conflicts with an existing domain name in the system.
	RESOURCEINUSE_CDNCONFLICTHOSTEXISTS = "ResourceInUse.CdnConflictHostExists"

	// Domain name already exists.
	RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"

	// CDN resources are being operated.
	RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"

	// The tag key does not exist.
	RESOURCENOTFOUND_CAMTAGKEYNOTEXIST = "ResourceNotFound.CamTagKeyNotExist"

	// Unable to find the domain name. Please make sure the domain name is correct.
	RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"

	// The project does not exist. Please check and try again.
	RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"

	// The CDN service has not been activated. Please activate it first before using this API.
	RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"

	// The number of domain names under the account has reached the upper limit. Please submit a ticket for assistance.
	RESOURCENOTFOUND_CDNUSERTOOMANYHOSTS = "ResourceNotFound.CdnUserTooManyHosts"

	// The index does not exist.
	RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"

	// The logset does not exist.
	RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"

	// The topic does not exist.
	RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"

	// The domain name does not exist. Please check and try again.
	RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"

	// The domain name has been connected to the Mainland China service region. If you need to switch the service region to "Global", please verify its ownership for domain name retrieval.
	RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINMAINLAND = "ResourceUnavailable.CdnHostBelongsToOthersInMainland"

	// The domain name has been connected to the service region outside Mainland China. If you need to switch the service region to "Global", please verify its ownership for domain name retrieval.
	RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINOVERSEAS = "ResourceUnavailable.CdnHostBelongsToOthersInOverseas"

	// The DSA feature is enabled for the domain name.
	RESOURCEUNAVAILABLE_CDNHOSTEXISTSINDSA = "ResourceUnavailable.CdnHostExistsInDsa"

	// The domain name has been connected in the TCB console.
	RESOURCEUNAVAILABLE_CDNHOSTEXISTSINTCB = "ResourceUnavailable.CdnHostExistsInTcb"

	// The domain name is locked.
	RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"

	// The domain name is not compliant and cannot be connected.
	RESOURCEUNAVAILABLE_CDNHOSTISMALICIOUS = "ResourceUnavailable.CdnHostIsMalicious"

	// Domain name is still in use.
	RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"

	// The domain name has been deactivated. Prefetch requests cannot be submitted.
	RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"

	// ICP filing is required for the domain name and the synchronization takes 2 hours. If it is already filed, please try later.
	RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"

	// The domain name has been connected to VOD. To access CDN, please delete it from VOD first.
	RESOURCEUNAVAILABLE_HOSTEXISTINVOD = "ResourceUnavailable.HostExistInVod"

	// The SCDN service is not activated. Please purchase or renew an SCDN packet and try again.
	RESOURCEUNAVAILABLE_SCDNUSERNOPACKAGE = "ResourceUnavailable.ScdnUserNoPackage"

	// The sub-account is unauthorized to query full data.
	UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"

	// No CAM policy is configured for the sub-account.
	UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"

	// This account is not authorized to activate CLS.
	UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"

	// The domain name has not been verified.
	UNAUTHORIZEDOPERATION_CDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.CdnDomainRecordNotVerified"

	// The domain name already exists in the system. Please submit a ticket.
	UNAUTHORIZEDOPERATION_CDNHOSTEXISTSININTERNAL = "UnauthorizedOperation.CdnHostExistsInInternal"

	// The domain name is not compliant and cannot be connected.
	UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"

	// This domain name belongs to another account, and you do not have permission to connect it.
	UNAUTHORIZEDOPERATION_CDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.CdnHostIsOwnedByOther"

	// The domain name has been connected by another account. For more information, please submit a ticket.
	UNAUTHORIZEDOPERATION_CDNHOSTISUSEDBYOTHER = "UnauthorizedOperation.CdnHostIsUsedByOther"

	// The sub-account has no access to the CDN-accelerated domain name.
	UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"

	// The project is not authorized for the sub-account.
	UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"

	// The sub-account has no access to the tag.
	UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"

	// Fail to authenticate the CDN user.
	UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"

	// The CDN user is pending authentication.
	UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"

	// Service internal error. Please submit a ticket for troubleshooting.
	UNAUTHORIZEDOPERATION_CDNUSERINVALIDCREDENTIAL = "UnauthorizedOperation.CdnUserInvalidCredential"

	// The account has been isolated due to arrears. Please pay the bill and try again.
	UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"

	// The CDN service has been suspended. Please restart it and try again.
	UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"

	// You are not in the beta whitelist and thus have no permission to use this function.
	UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"

	// Invalid authorization.
	UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"

	// You have not activated CLS service. Please activate it in the CLS console first.
	UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"

	// Authorization failed.
	UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"

	// Service internal error. Please submit a ticket for troubleshooting.
	UNAUTHORIZEDOPERATION_CSRFERROR = "UnauthorizedOperation.CsrfError"

	// Please go to the CDN console for operation.
	UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"

	// This operation is not supported currently. Please submit a ticket for assistance.
	UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"

	// Too many calling attempts.
	UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

	// The operation is not allowed.
	UNSUPPORTEDOPERATION_CLSNOTALLOWED = "UnsupportedOperation.ClsNotAllowed"

	// This operation is not supported currently. Please submit a ticket for assistance.
	UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"
)
View Source
const APIVersion = "2018-06-06"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControl

type AccessControl struct {
	// Whether to enable access control based on the request header and request URL. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Request header and request URL access rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AccessControlRules []*AccessControlRule `json:"AccessControlRules,omitnil,omitempty" name:"AccessControlRules"`

	// Returns status code
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ReturnCode *int64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`
}

type AccessControlRule

type AccessControlRule struct {
	// requestHeader: access control over request header
	// url: access control over access URL
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Blocked content
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleContent *string `json:"RuleContent,omitnil,omitempty" name:"RuleContent"`

	// on: regular match
	// off: exact match
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Regex *string `json:"Regex,omitnil,omitempty" name:"Regex"`

	// This parameter is required only if `RuleType` is `requestHeader`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleHeader *string `json:"RuleHeader,omitnil,omitempty" name:"RuleHeader"`
}

type AddCLSTopicDomainsRequest

type AddCLSTopicDomainsRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Region configuration for domains
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

func NewAddCLSTopicDomainsRequest

func NewAddCLSTopicDomainsRequest() (request *AddCLSTopicDomainsRequest)

func (*AddCLSTopicDomainsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddCLSTopicDomainsRequest) ToJsonString

func (r *AddCLSTopicDomainsRequest) ToJsonString() string

type AddCLSTopicDomainsRequestParams

type AddCLSTopicDomainsRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Region configuration for domains
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

Predefined struct for user

type AddCLSTopicDomainsResponse

type AddCLSTopicDomainsResponse struct {
	*tchttp.BaseResponse
	Response *AddCLSTopicDomainsResponseParams `json:"Response"`
}

func NewAddCLSTopicDomainsResponse

func NewAddCLSTopicDomainsResponse() (response *AddCLSTopicDomainsResponse)

func (*AddCLSTopicDomainsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddCLSTopicDomainsResponse) ToJsonString

func (r *AddCLSTopicDomainsResponse) ToJsonString() string

type AddCLSTopicDomainsResponseParams

type AddCLSTopicDomainsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddCdnDomainRequest

type AddCdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Acceleration domain name service type
	// `web`: Webpage file downloads
	// `download`: Large file downloads
	// `media`: Audio and video on demand acceleration
	// `hybrid`: Dynamic and static content acceleration
	// `dynamic`: Dynamic content acceleration
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Origin server configuration
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Project ID. Default value: 0, indicating `Default Project`
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// IP blocklist/allowlist
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP rate limiting
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Status code cache
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Smart compression
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Bandwidth cap configuration
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Range GETs configuration
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// 301/302 origin-pull follow-redirect configuration
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Error code redirection (in beta)
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// Request header configuration
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Response header configuration
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Download speed configuration
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Node cache key configuration
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Header cache configuration
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// Video dragging configuration
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Cache validity configuration
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// Cross-MLC-border origin-pull optimization
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// HTTPS acceleration
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Timestamp hotlink protection
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// SEO optimization
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Force redirect by access protocol
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Referer hotlink protection
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Browser caching (in beta)
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// IPv6 configuration (This feature is in beta and not generally available yet.)
	Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"`

	// Specific region configuration
	// Applicable to cases where the acceleration domain name configuration differs for regions in and outside mainland China.
	SpecificConfig *SpecificConfig `json:"SpecificConfig,omitnil,omitempty" name:"SpecificConfig"`

	// Domain name acceleration region
	// mainland: acceleration inside mainland China
	// overseas: acceleration outside mainland China
	// global: global acceleration
	// Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Origin-pull timeout configuration
	OriginPullTimeout *OriginPullTimeout `json:"OriginPullTimeout,omitnil,omitempty" name:"OriginPullTimeout"`

	// Tag configuration
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// Ipv6 access configuration
	Ipv6Access *Ipv6Access `json:"Ipv6Access,omitnil,omitempty" name:"Ipv6Access"`

	// Offline cache
	OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"`

	// QUIC access, which is a paid service. You can check the product document and Billing Overview for more information.
	Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"`

	// Access authentication for S3 origin
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// Access authentication for OSS origin
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// Origin-pull authentication for Huawei Cloud OBS origin
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Origin-pull authentication for Qiniu Cloud Kodo origin
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`

	// Origin-pull authentication for other origins
	OthersPrivateAccess *OthersPrivateAccess `json:"OthersPrivateAccess,omitnil,omitempty" name:"OthersPrivateAccess"`

	// HTTPS (enabled by default), which is a paid service. You can check the product document and Billing Overview for more information.
	HttpsBilling *HttpsBilling `json:"HttpsBilling,omitnil,omitempty" name:"HttpsBilling"`
}

func NewAddCdnDomainRequest

func NewAddCdnDomainRequest() (request *AddCdnDomainRequest)

func (*AddCdnDomainRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddCdnDomainRequest) ToJsonString

func (r *AddCdnDomainRequest) ToJsonString() string

type AddCdnDomainRequestParams

type AddCdnDomainRequestParams struct {
	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Acceleration domain name service type
	// `web`: Webpage file downloads
	// `download`: Large file downloads
	// `media`: Audio and video on demand acceleration
	// `hybrid`: Dynamic and static content acceleration
	// `dynamic`: Dynamic content acceleration
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Origin server configuration
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Project ID. Default value: 0, indicating `Default Project`
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// IP blocklist/allowlist
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP rate limiting
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Status code cache
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Smart compression
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Bandwidth cap configuration
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Range GETs configuration
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// 301/302 origin-pull follow-redirect configuration
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Error code redirection (in beta)
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// Request header configuration
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Response header configuration
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Download speed configuration
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Node cache key configuration
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Header cache configuration
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// Video dragging configuration
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Cache validity configuration
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// Cross-MLC-border origin-pull optimization
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// HTTPS acceleration
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Timestamp hotlink protection
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// SEO optimization
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Force redirect by access protocol
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Referer hotlink protection
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Browser caching (in beta)
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// IPv6 configuration (This feature is in beta and not generally available yet.)
	Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"`

	// Specific region configuration
	// Applicable to cases where the acceleration domain name configuration differs for regions in and outside mainland China.
	SpecificConfig *SpecificConfig `json:"SpecificConfig,omitnil,omitempty" name:"SpecificConfig"`

	// Domain name acceleration region
	// mainland: acceleration inside mainland China
	// overseas: acceleration outside mainland China
	// global: global acceleration
	// Overseas acceleration service must be enabled to use overseas acceleration and global acceleration.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Origin-pull timeout configuration
	OriginPullTimeout *OriginPullTimeout `json:"OriginPullTimeout,omitnil,omitempty" name:"OriginPullTimeout"`

	// Tag configuration
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// Ipv6 access configuration
	Ipv6Access *Ipv6Access `json:"Ipv6Access,omitnil,omitempty" name:"Ipv6Access"`

	// Offline cache
	OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"`

	// QUIC access, which is a paid service. You can check the product document and Billing Overview for more information.
	Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"`

	// Access authentication for S3 origin
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// Access authentication for OSS origin
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// Origin-pull authentication for Huawei Cloud OBS origin
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Origin-pull authentication for Qiniu Cloud Kodo origin
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`

	// Origin-pull authentication for other origins
	OthersPrivateAccess *OthersPrivateAccess `json:"OthersPrivateAccess,omitnil,omitempty" name:"OthersPrivateAccess"`

	// HTTPS (enabled by default), which is a paid service. You can check the product document and Billing Overview for more information.
	HttpsBilling *HttpsBilling `json:"HttpsBilling,omitnil,omitempty" name:"HttpsBilling"`
}

Predefined struct for user

type AddCdnDomainResponse

type AddCdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *AddCdnDomainResponseParams `json:"Response"`
}

func NewAddCdnDomainResponse

func NewAddCdnDomainResponse() (response *AddCdnDomainResponse)

func (*AddCdnDomainResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddCdnDomainResponse) ToJsonString

func (r *AddCdnDomainResponse) ToJsonString() string

type AddCdnDomainResponseParams

type AddCdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AdvanceCacheRule

type AdvanceCacheRule struct {
	// Rule types:
	// `all`: Apply to all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// `default`: the cache rules when the origin server has not returned max-age
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheType *string `json:"CacheType,omitnil,omitempty" name:"CacheType"`

	// Content for each CacheType:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// For `default`, enter "no max-age".
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheContents []*string `json:"CacheContents,omitnil,omitempty" name:"CacheContents"`

	// Cache expiration time
	// Unit: second. The maximum value is 365 days.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheTime *int64 `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`
}

type AdvanceConfig

type AdvanceConfig struct {
	// Advanced configuration name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Whether to support advanced configuration
	// `on`: Supported
	// `off`: Not supported
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type AdvanceHttps

type AdvanceHttps struct {
	// Custom TLS data switch
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CustomTlsStatus *string `json:"CustomTlsStatus,omitnil,omitempty" name:"CustomTlsStatus"`

	// TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TlsVersion []*string `json:"TlsVersion,omitnil,omitempty" name:"TlsVersion"`

	// Custom encryption suite
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Cipher *string `json:"Cipher,omitnil,omitempty" name:"Cipher"`

	// Origin-pull verification status
	// `off`: Disables origin-pull verification
	// `oneWay`: Only verify the origin
	// `twoWay`: Enables two-way origin-pull verification
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VerifyOriginType *string `json:"VerifyOriginType,omitnil,omitempty" name:"VerifyOriginType"`

	// Configuration information of the origin-pull certificate
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CertInfo *ServerCert `json:"CertInfo,omitnil,omitempty" name:"CertInfo"`

	// Configuration information of the origin server certificate
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	OriginCertInfo *ClientCert `json:"OriginCertInfo,omitnil,omitempty" name:"OriginCertInfo"`
}

type AdvancedAuthentication

type AdvancedAuthentication struct {
	// Whether to enable hot linking protection. Values:
	// `on`: Enable
	// `off`: Disable
	// Only one advanced configuration can be enabled. Set the rests to `null`.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Timestamp hotlink protection advanced configuration mode A
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeA *AdvancedAuthenticationTypeA `json:"TypeA,omitnil,omitempty" name:"TypeA"`

	// Timestamp hotlink protection advanced configuration mode B
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeB *AdvancedAuthenticationTypeB `json:"TypeB,omitnil,omitempty" name:"TypeB"`

	// Timestamp hotlink protection advanced configuration mode C
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeC *AdvancedAuthenticationTypeC `json:"TypeC,omitnil,omitempty" name:"TypeC"`

	// Timestamp hotlink protection advanced configuration mode D
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeD *AdvancedAuthenticationTypeD `json:"TypeD,omitnil,omitempty" name:"TypeD"`

	// Timestamp hotlink protection advanced configuration mode E
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeE *AdvancedAuthenticationTypeE `json:"TypeE,omitnil,omitempty" name:"TypeE"`

	// Timestamp hotlink protection advanced configuration mode F
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeF *AdvancedAuthenticationTypeF `json:"TypeF,omitnil,omitempty" name:"TypeF"`
}

type AdvancedAuthenticationTypeA

type AdvancedAuthenticationTypeA struct {
	// Key used for signature calculation, allowing 6 to 32 bytes of letters and digits.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Signature field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// Time field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	TimeParam *string `json:"TimeParam,omitnil,omitempty" name:"TimeParam"`

	// Expiration time in seconds
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Whether the expiration time parameter is required
	ExpireTimeRequired *bool `json:"ExpireTimeRequired,omitnil,omitempty" name:"ExpireTimeRequired"`

	// URL composition, e.g., `${private_key}${schema}${host}${full_uri}`.
	Format *string `json:"Format,omitnil,omitempty" name:"Format"`

	// Time format. Valid values: dec (decimal), hex (hexadecimal).
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`

	// Status code returned when the authentication failed
	FailCode *int64 `json:"FailCode,omitnil,omitempty" name:"FailCode"`

	// Status code returned when the URL expired
	ExpireCode *int64 `json:"ExpireCode,omitnil,omitempty" name:"ExpireCode"`

	// List of URLs to be authenticated
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Reserved field
	Transformation *int64 `json:"Transformation,omitnil,omitempty" name:"Transformation"`
}

type AdvancedAuthenticationTypeB

type AdvancedAuthenticationTypeB struct {
	// Alpha key name
	KeyAlpha *string `json:"KeyAlpha,omitnil,omitempty" name:"KeyAlpha"`

	// Beta key name
	KeyBeta *string `json:"KeyBeta,omitnil,omitempty" name:"KeyBeta"`

	// Gamma key name
	KeyGamma *string `json:"KeyGamma,omitnil,omitempty" name:"KeyGamma"`

	// Signature field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// Time field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	TimeParam *string `json:"TimeParam,omitnil,omitempty" name:"TimeParam"`

	// Expiration time in seconds
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Time format. Valid values: dec (decimal), hex (hexadecimal).
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`

	// Status code returned when the authentication failed
	FailCode *int64 `json:"FailCode,omitnil,omitempty" name:"FailCode"`

	// Status code returned when the URL expired
	ExpireCode *int64 `json:"ExpireCode,omitnil,omitempty" name:"ExpireCode"`

	// List of URLs to be authenticated
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`
}

type AdvancedAuthenticationTypeC

type AdvancedAuthenticationTypeC struct {
	// Access key
	AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"`

	// Authentication key
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
}

type AdvancedAuthenticationTypeD

type AdvancedAuthenticationTypeD struct {
	// Key used for signature calculation, allowing 6 to 32 bytes of letters and digits.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Alternative key used for authentication after the authentication key (`SecretKey`) failed
	BackupSecretKey *string `json:"BackupSecretKey,omitnil,omitempty" name:"BackupSecretKey"`

	// Signature field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// Time field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	TimeParam *string `json:"TimeParam,omitnil,omitempty" name:"TimeParam"`

	// Expiration time in seconds
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Time format. Valid values: dec (decimal), hex (hexadecimal).
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`
}

type AdvancedAuthenticationTypeE

type AdvancedAuthenticationTypeE struct {
	// Key used for signature calculation, allowing 6 to 32 bytes of letters and digits.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Signature field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// ACL signature field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AclSignParam *string `json:"AclSignParam,omitnil,omitempty" name:"AclSignParam"`

	// Start time field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	StartTimeParam *string `json:"StartTimeParam,omitnil,omitempty" name:"StartTimeParam"`

	// Expiration time field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ExpireTimeParam *string `json:"ExpireTimeParam,omitnil,omitempty" name:"ExpireTimeParam"`

	// Time format (dec)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`
}

type AdvancedAuthenticationTypeF

type AdvancedAuthenticationTypeF struct {
	// Signature field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// Time field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TimeParam *string `json:"TimeParam,omitnil,omitempty" name:"TimeParam"`

	// Transaction field name in the URI string, starting with a letter, and consisting of letters, digits, and underscores.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TransactionParam *string `json:"TransactionParam,omitnil,omitempty" name:"TransactionParam"`

	// CMK used for signature calculation, allowing 6 to 32 bytes of letters and digits.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Alternative key used for signature calculation, which is used after the CMK fails in authentication. It allows 6 to 32 bytes of letters and digits.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BackupSecretKey *string `json:"BackupSecretKey,omitnil,omitempty" name:"BackupSecretKey"`
}

type AdvancedCCRules

type AdvancedCCRules struct {
	// Rule name
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// Detection duration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DetectionTime *uint64 `json:"DetectionTime,omitnil,omitempty" name:"DetectionTime"`

	// Detection frequency threshold
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FrequencyLimit *uint64 `json:"FrequencyLimit,omitnil,omitempty" name:"FrequencyLimit"`

	// Whether to enable IP blocking. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	PunishmentSwitch *string `json:"PunishmentSwitch,omitnil,omitempty" name:"PunishmentSwitch"`

	// IP penalty duration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	PunishmentTime *uint64 `json:"PunishmentTime,omitnil,omitempty" name:"PunishmentTime"`

	// Action. Valid values: `intercept` and `redirect`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// A redirection URL used when Action is `redirect`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`

	// Layer-7 rule configuration for CC frequency limiting
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Configure []*ScdnSevenLayerRules `json:"Configure,omitnil,omitempty" name:"Configure"`

	// Whether to enable custom CC rules. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type AdvancedCache

type AdvancedCache struct {
	// Cache expiration rule
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CacheRules []*AdvanceCacheRule `json:"CacheRules,omitnil,omitempty" name:"CacheRules"`

	// Forced cache configuration
	// on: enabled
	// off: disabled
	// When this is enabled, if the origin server returns no-cache, no-store headers, node caching will still be performed according to the cache expiration rules.
	// This is disabled by default
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCacheControl *string `json:"IgnoreCacheControl,omitnil,omitempty" name:"IgnoreCacheControl"`

	// Whether to ignore the header and body on cache nodes if the origin server returns the header `Set-Cookie`.
	// `on`: Ignore; do not cache the header and body.
	// `off`: Do not ignore; follow the custom cache rules of cache nodes.
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreSetCookie *string `json:"IgnoreSetCookie,omitnil,omitempty" name:"IgnoreSetCookie"`
}

type AdvancedScdnAclGroup

type AdvancedScdnAclGroup struct {
	// Rule name
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// Specific configurations
	Configure []*AdvancedScdnAclRule `json:"Configure,omitnil,omitempty" name:"Configure"`

	// Action. Valid values: `intercept` and `redirect`.
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

	// Whether the rule is activated. Valid values: `active` and `inactive`.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Error page configuration
	ErrorPage *ScdnErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`
}

type AdvancedScdnAclRule

type AdvancedScdnAclRule struct {
	// Keyword. Valid values:
	// `protocol`: HTTP protocol
	// `httpVersion`: HTTP version
	// `method`: request method
	// `ip`: requester IP
	// `ipAsn`: ASN of the requester IP
	// `ipCountry`: country/region of the requester IP
	// `ipArea`: region of the requester IP
	// `xForwardFor`: X-Forward-For request header
	// `directory`: Path
	// `index`: Homepage
	// `path`: Full path of a file
	// `file`: File extension
	// `param`: Request parameter
	// `referer`: Referer request header
	// `cookie`: Cookie request header
	// `userAgent`: User-Agent request header
	// `head`: Custom request header
	MatchKey *string `json:"MatchKey,omitnil,omitempty" name:"MatchKey"`

	// Logical operator. Valid values:
	// `exclude`: The keyword is not included
	// `include`: The keyword is included
	// `notequal`: Not the same as the keyword
	// `equal`: The same as the keyword
	// `matching`: The prefix is matched
	// `null`: Empty or does not exist
	LogicOperator *string `json:"LogicOperator,omitnil,omitempty" name:"LogicOperator"`

	// Matched value.
	// When `MatchKey` is `protocol`,
	// Values: `HTTP` and `HTTPS`.
	//
	// When `MatchKey` is `httpVersion`,
	// Values: `HTTP/1.0`, `HTTP/1.1`, `HTTP/1.2`, `HTTP/2`, and `HTTP/3`.
	//
	// When `MatchKey` is `method`,
	// Values: `HEAD`, `GET`, `POST`, `PUT`, `OPTIONS`, `TRACE`, `DELETE`, `PATCH` and `CONNECT`.
	//
	// When `MatchKey` is `ipCountry`, valid values include:
	// `OTHER`: Other areas
	// `VE`: Venezuela
	// `UY`: Uruguay
	// `SR`: Suriname
	// `PY`: Paraguay
	// `PE`: Peru
	// `GY`: Guyana
	// `EC`: Ecuador
	// `CO`: Colombia
	// `CL`: Chile
	// `BR`: Brazil
	// `BO`: Bolivia
	// `AR`: Argentina
	// `NZ`: New Zealand
	// `WS`: Samoa
	// `VU`: Vanuatu
	// `TV`: Tuvalu
	// `TO`: Tonga
	// `TK`: Tokelau
	// `PW`: Palau
	// `NU`: Niue
	// `NR`: Nauru
	// `KI`: Kiribati
	// `GU`: Guam
	// `FM`: Micronesia
	// `AU`: Australia
	// `US`: United States
	// `PR`: Puerto Rico
	// `DO`: Dominican Republic
	// `CR`: Costa Rica
	// `AS`: American Samoa
	// `AG`: Antigua and Barbuda
	// `PA`: Panama
	// `NI`: Nicaragua
	// `MX`: Mexico
	// `JM`: Jamaica
	// `HT`: Haiti
	// `HN`: Honduras
	// `GT`: Guatemala
	// `GP`: Guadeloupe
	// `GL`: Greenland
	// `GD`: Grenada
	// `CU`: Cuba
	// `CA`: Canada
	// `BZ`: Belize
	// `BS`: Bahamas
	// `BM`: Bermuda
	// `BB`: Barbados
	// `AW`: Aruba
	// `AI`: Anguilla
	// `VA`: Vatican
	// `SK`: Slovakia
	// `GB`: United Kingdom
	// `CZ`: Czech Republic
	// `UA`: Ukraine
	// `TR`: Türkiye
	// `SI`: Slovenia
	// `SE`: Sweden
	// `RS`: Republic of Serbia
	// `RO`: Romania
	// `PT`: Portugal
	// `PL`: Poland
	// `NO`: Norway
	// `NL`: Netherlands
	// `MT`: Malta
	// `MK`: Macedonia
	// `ME`: Montenegro
	// `MD`: Moldova
	// `MC`: Monaco
	// `LV`: Latvia
	// `LU`: Luxembourg
	// `LT`: Lithuania
	// `LI`: Liechtenstein
	// `KZ`: Kazakhstan
	// `IT`: Italy
	// `IS`: Iceland
	// `IE`: Ireland
	// `HU`: Hungary
	// `HR`: Croatia
	// `GR`: Greece
	// `GI`: Gibraltar
	// `GG`: Guernsey
	// `GE`: Georgia
	// `FR`: France
	// `FI`: Finland
	// `ES`: Spain
	// `EE`: Estonia
	// `DK`: Denmark
	// `DE`: Germany
	// `CY`: Cyprus
	// `CH`: Switzerland
	// `BY`: Belarus
	// `BG`: Bulgaria
	// `BE`: Belgium
	// `AZ`: Azerbaijan
	// `AT`: Austria
	// `AM`: Armenia
	// `AL`: Albania
	// `AD`: Andorra
	// `TL`: East Timor
	// `SY`: Syria
	// `SA`: Saudi Arabia
	// `PS`: Palestine
	// `LK`: Sri Lanka
	// `LK`: Sri Lanka
	// `KP`: North Korea
	// `KG`: Kyrgyzstan
	// `HK`: Hong Kong, China
	// `BN`: Brunei
	// `BD`: Bangladesh
	// `AE`: United Arab Emirates
	// `YE`: Yemen
	// `VN`: Vietnam
	// `UZ`: Uzbekistan
	// `TW`: Taiwan, China
	// `TM`: Turkmenistan
	// `TJ`: Tajikistan
	// `TH`: Thailand
	// `SG`: Singapore
	// `QA`: Qatar
	// `PK`: Pakistan
	// `PH`: Philippines
	// `OM`: Oman
	// `NP`: Nepal
	// `MY`: Malaysia
	// `MV`: Maldives
	// `MO`: Macao, China
	// `MN`: Mongolia
	// `MM`: Myanmar
	// `LB`: Lebanon
	// `KW`: Kuwait
	// `KR`: South Korea
	// `KH`: Cambodia
	// `JP`: Japan
	// `JO`: Jordan
	// `IR`: Iran
	// `IQ`: Iraq
	// `IN`: India
	// `IL`: Israel
	// `ID`: Indonesia
	// `CN`: China
	// `BT`: Bhutan
	// `BH`: Bahrain
	// `AF`: Afghanistan
	// `LY`: Libya
	// `CD`: Democratic Republic of the Congo
	// `RE`: La Réunion
	// `SZ`: Swaziland
	// `ZW`: Zimbabwe
	// `ZM`: Zambia
	// `YT`: Mayotte
	// `UG`: Uganda
	// `TZ`: Tanzania
	// `TN`: Tunisia
	// `TG`: Togo
	// `TD`: Chad
	// `SO`: Somalia
	// `SN`: Senegal
	// `SD`: Sudan
	// `SC`: Seychelles
	// `RW`: Rwanda
	// `NG`: Nigeria
	// `NE`: Niger
	// `NA`: Namibia
	// `MZ`: Mozambique
	// `MW`: Malawi
	// `MU`: Mauritius
	// `MR`: Mauritania
	// `ML`: Mali
	// `MG`: Madagascar
	// `MA`: Morocco
	// `LS`: Lesotho
	// `LR`: Liberia
	// `KM`: Comoros
	// `KE`: Kenya
	// `GN`: Guinea
	// `GM`: Gambia
	// `GH`: Ghana
	// `GA`: Gabon
	// `ET`: Ethiopia
	// `ER`: Eritrea
	// `EG`: Egypt
	// `DZ`: Algeria
	// `DJ`: Djibouti
	// `CM`: Cameroon
	// `CG`: Republic of the Congo
	// `BW`: Botswana
	// `BJ`: Benin
	// `BI`: Burundi
	// `AO`: Angola
	//
	// When MatchKey is `ipArea`, valid values include:
	// `OTHER`: Other areas
	// `AS`: Asia
	// `EU`: Europe
	// `AN`: Antarctica
	// `AF`: Africa
	// `OC`: Oceania
	// `NA`: North America
	// `SA`: South America
	//
	// When MatchKey is `index`,
	// valid value is `/;/index.html`.
	MatchValue []*string `json:"MatchValue,omitnil,omitempty" name:"MatchValue"`

	// Whether to distinguish uppercase or lowercase letters. `true`: case sensitive; `false`: case insensitive.
	CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"`

	// This field is required when `MatchKey` is `param` or `cookie`. For `param`, it indicates a key value of the request parameter if MatchKey is `param`, while a key value of the Cookie request header if MatchKey is `cookie`.
	MatchKeyParam *string `json:"MatchKeyParam,omitnil,omitempty" name:"MatchKeyParam"`
}

type Authentication

type Authentication struct {
	// Whether to enable hot linking protection. Values:
	// `on`: Enable
	// `off`: Disable
	// Only one advanced configuration can be enabled. Set the rests to `null`.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Authentication algorithm. Values:
	// `md5`: Calculate the hash using MD5.
	// `sha256`: Calculate the hash using SHA-256.
	// Default value: `md5`.
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	AuthAlgorithm *string `json:"AuthAlgorithm,omitnil,omitempty" name:"AuthAlgorithm"`

	// Timestamp hotlink protection mode A configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TypeA *AuthenticationTypeA `json:"TypeA,omitnil,omitempty" name:"TypeA"`

	// Timestamp hotlink protection mode B configuration (mode B is being upgraded and is currently not supported)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TypeB *AuthenticationTypeB `json:"TypeB,omitnil,omitempty" name:"TypeB"`

	// Timestamp hotlink protection mode C configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TypeC *AuthenticationTypeC `json:"TypeC,omitnil,omitempty" name:"TypeC"`

	// Timestamp hotlink protection mode D configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TypeD *AuthenticationTypeD `json:"TypeD,omitnil,omitempty" name:"TypeD"`
}

type AuthenticationTypeA

type AuthenticationTypeA struct {
	// The key for signature calculation
	// 6-32 characters. Only digits and letters are allowed.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Signature parameter name
	// Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// Signature expiration time
	// Unit: second. The maximum value is 630720000.
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// File extension list settings determining if authentication should be performed
	// If it contains an asterisk (*), this indicates all files.
	FileExtensions []*string `json:"FileExtensions,omitnil,omitempty" name:"FileExtensions"`

	// `whitelist`: All file types apart from the FileExtensions list are authenticated.
	// `blacklist`: Only the file types in the FileExtensions list are authenticated.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// Backup key, which is used to calculate a signature.
	// 6-32 characters. Only digits and letters are allowed.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BackupSecretKey *string `json:"BackupSecretKey,omitnil,omitempty" name:"BackupSecretKey"`
}

type AuthenticationTypeB

type AuthenticationTypeB struct {
	// The key for signature calculation
	// 6-32 characters. Only digits and letters are allowed.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Signature expiration time
	// Unit: second. The maximum value is 630720000.
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// File extension list settings determining if authentication should be performed
	// If it contains an asterisk (*), this indicates all files.
	FileExtensions []*string `json:"FileExtensions,omitnil,omitempty" name:"FileExtensions"`

	// whitelist: indicates that all file types apart from the FileExtensions list are authenticated
	// blacklist: indicates that only the file types in the FileExtensions list are authenticated
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// Backup key, which is used to calculate a signature.
	// 6-32 characters. Only digits and letters are allowed.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BackupSecretKey *string `json:"BackupSecretKey,omitnil,omitempty" name:"BackupSecretKey"`
}

type AuthenticationTypeC

type AuthenticationTypeC struct {
	// The key for signature calculation
	// 6-32 characters. Only digits and letters are allowed.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Signature expiration time
	// Unit: second. The maximum value is 630720000.
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// File extension list settings determining if authentication should be performed
	// If it contains an asterisk (*), this indicates all files.
	FileExtensions []*string `json:"FileExtensions,omitnil,omitempty" name:"FileExtensions"`

	// `whitelist`: All file types apart from the FileExtensions list are authenticated.
	// `blacklist`: Only the file types in the FileExtensions list are authenticated.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// Timestamp settings
	// `dec`: Decimal
	// `hex`: Hexadecimal
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`

	// Backup key, which is used to calculate a signature.
	// 6-32 characters. Only digits and letters are allowed.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BackupSecretKey *string `json:"BackupSecretKey,omitnil,omitempty" name:"BackupSecretKey"`
}

type AuthenticationTypeD

type AuthenticationTypeD struct {
	// The key for signature calculation
	// 6-32 characters. Only digits and letters are allowed.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Signature expiration time
	// Unit: second. The maximum value is 630720000.
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// File extension list settings determining if authentication should be performed
	// If it contains an asterisk (*), this indicates all files.
	FileExtensions []*string `json:"FileExtensions,omitnil,omitempty" name:"FileExtensions"`

	// `whitelist`: All file types apart from the FileExtensions list are authenticated.
	// `blacklist`: Only the file types in the FileExtensions list are authenticated.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// Signature parameter name
	// Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
	SignParam *string `json:"SignParam,omitnil,omitempty" name:"SignParam"`

	// Timestamp parameter name
	// Only upper and lower-case letters, digits, and underscores (_) are allowed. It cannot start with a digit. Length limit: 1-100 characters.
	TimeParam *string `json:"TimeParam,omitnil,omitempty" name:"TimeParam"`

	// Timestamp settings
	// `dec`: Decimal
	// `hex`: Hexadecimal
	TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"`

	// Backup key, which is used to calculate a signature.
	// 6-32 characters. Only digits and letters are allowed.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BackupSecretKey *string `json:"BackupSecretKey,omitnil,omitempty" name:"BackupSecretKey"`
}

type AvifAdapter

type AvifAdapter struct {
	// Whether to enable `AvifAdapter` for image optimization. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type AwsPrivateAccess

type AwsPrivateAccess struct {
	// Whether to enable origin-pull authentication for S3 buckets.
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access ID.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"`

	// Key.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Region.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// BucketName
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`
}

type BandwidthAlert

type BandwidthAlert struct {
	// Whether to enable usage limit. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// The upper limit of bandwidth usage (in bps) or traffic usage (in bytes).
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BpsThreshold *int64 `json:"BpsThreshold,omitnil,omitempty" name:"BpsThreshold"`

	// Action taken when threshold is reached
	// `RETURN_404`: A 404 error will be returned for all requests.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CounterMeasure *string `json:"CounterMeasure,omitnil,omitempty" name:"CounterMeasure"`

	// The last time when the usage upper limit in the Chinese mainland was reached
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LastTriggerTime *string `json:"LastTriggerTime,omitnil,omitempty" name:"LastTriggerTime"`

	// Whether to enable alerts for usage limit. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AlertSwitch *string `json:"AlertSwitch,omitnil,omitempty" name:"AlertSwitch"`

	// Triggers alarms when the ratio of bandwidth or traffic usage to the usage upper limit reaches the specified value
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AlertPercentage *int64 `json:"AlertPercentage,omitnil,omitempty" name:"AlertPercentage"`

	// The last time when the usage outside the Chinese mainland reached the upper limit
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LastTriggerTimeOverseas *string `json:"LastTriggerTimeOverseas,omitnil,omitempty" name:"LastTriggerTimeOverseas"`

	// Dimension of the usage limit
	// `bandwidth`: Bandwidth
	// `flux`: Traffic
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Usage limit configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	StatisticItems []*StatisticItem `json:"StatisticItems,omitnil,omitempty" name:"StatisticItems"`
}

type BotCookie

type BotCookie struct {
	// Whether to enable bot cookie policies. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Rule type, which can only be `all` currently.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Rule value. Valid value: `*`.
	RuleValue []*string `json:"RuleValue,omitnil,omitempty" name:"RuleValue"`

	// Action. Valid values: `monitor`, `intercept`, `redirect`, and `captcha`.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Redirection target page
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type BotJavaScript

type BotJavaScript struct {
	// Whether to enable bot JS policies. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Rule type, which can only be `file` currently.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Rule value. Valid values: `html` and `htm`.
	RuleValue []*string `json:"RuleValue,omitnil,omitempty" name:"RuleValue"`

	// Action. Valid values: `monitor`, `intercept`, `redirect`, and `captcha`.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Redirection target page
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type BriefDomain

type BriefDomain struct {
	// Domain name ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Tencent Cloud account ID
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Acceleration domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// CNAME address of domain name
	Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"`

	// Acceleration service status
	// `rejected`: The domain name is rejected due to expiration/deregistration of its ICP filing
	// `processing`: Deploying
	// `closing`: Disabling
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Project ID, which can be viewed on the Tencent Cloud project management page
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Domain name service type
	// `web`: Static acceleration
	// `download`: Download acceleration
	// `media`: Streaming media VOD acceleration
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Domain name creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Domain name update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Origin server configuration details.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Domain name block status
	// `normal`: Normal
	// `overdue`: The domain name has been disabled due to account arrears. The acceleration service can be resumed after the account is topped up.
	// `malicious`: The acceleration service has been forcibly disabled due to detection of malicious behavior.
	// `ddos`: The acceleration service has been disabled due to large-scale DDoS attacks to the domain name
	// `idle`: No operations or data has been detected for more than 90 days. The domain name is determined to be inactive which automatically disables the acceleration service. You can restart the service.
	// `unlicensed`: The acceleration service has been automatically disabled as the domain name has no ICP filing or its ICP filing is deregistered. Service can be resumed after an ICP filing is obtained.
	// `capping`: The configured upper limit for bandwidth has been reached.
	// `readonly`: The domain name has a special configuration and has been locked.
	Disable *string `json:"Disable,omitnil,omitempty" name:"Disable"`

	// Acceleration region
	// `mainland`: Acceleration inside the Chinese mainland
	// `overseas`: Acceleration outside the Chinese mainland
	// `global`: Acceleration over the globe
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Domain name lock status
	// `normal`: Not locked
	// `mainland`: Locked in the Chinese mainland
	// overseas: Locked outside the Chinese mainland
	// global: Locked globally
	Readonly *string `json:"Readonly,omitnil,omitempty" name:"Readonly"`

	// Product of the domain name, either `cdn` or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Primary domain name
	ParentHost *string `json:"ParentHost,omitnil,omitempty" name:"ParentHost"`
}

type Cache

type Cache struct {
	// Basic cache expiration time configuration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SimpleCache *SimpleCache `json:"SimpleCache,omitnil,omitempty" name:"SimpleCache"`

	// (Disused) Advanced cache validity configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AdvancedCache *AdvancedCache `json:"AdvancedCache,omitnil,omitempty" name:"AdvancedCache"`

	// Advanced path cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleCache []*RuleCache `json:"RuleCache,omitnil,omitempty" name:"RuleCache"`
}

type CacheConfig

type CacheConfig struct {
	// Whether to enable heuristic cache validity. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	HeuristicCacheTimeSwitch *string `json:"HeuristicCacheTimeSwitch,omitnil,omitempty" name:"HeuristicCacheTimeSwitch"`

	// Unit: Second
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	HeuristicCacheTime *int64 `json:"HeuristicCacheTime,omitnil,omitempty" name:"HeuristicCacheTime"`
}

type CacheConfigCache

type CacheConfigCache struct {
	// Whether to enable path cache. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Cache expiration time settings
	// Unit: second. The maximum value is 365 days.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheTime *int64 `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`

	// Advanced cache expiration configuration. If this is enabled, the max-age value returned by the origin server will be compared with the cache expiration time set in CacheRules, and the smallest value will be cached on the node.
	// `on`: Enable
	// `off`: Disable
	// This is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CompareMaxAge *string `json:"CompareMaxAge,omitnil,omitempty" name:"CompareMaxAge"`

	// Force cache
	// `on`: Enable
	// `off`: Disable
	// This is disabled by default. If enabled, the `no-store` and `no-cache` resources returned from the origin server will be cached according to `CacheRules` rules.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCacheControl *string `json:"IgnoreCacheControl,omitnil,omitempty" name:"IgnoreCacheControl"`

	// Whether to ignore the header and body on cache nodes if the origin server returns the header `Set-Cookie`.
	// `on`: Ignore; do not cache the header and body.
	// `off`: Do not ignore; follow the custom cache rules of cache nodes.
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreSetCookie *string `json:"IgnoreSetCookie,omitnil,omitempty" name:"IgnoreSetCookie"`
}

type CacheConfigFollowOrigin

type CacheConfigFollowOrigin struct {
	// Whether to follow the origin configuration for path cache. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Heuristic cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeuristicCache *HeuristicCache `json:"HeuristicCache,omitnil,omitempty" name:"HeuristicCache"`
}

type CacheConfigNoCache

type CacheConfigNoCache struct {
	// Whether to enable no-caching at the path. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Always forwards to the origin server for verification
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Revalidate *string `json:"Revalidate,omitnil,omitempty" name:"Revalidate"`
}

type CacheKey

type CacheKey struct {
	// Whether to enable full-path cache
	// `on`: Enable full-path cache (i.e., disable Ignore Query String)
	// `off`: Disable full-path cache (i.e., enable Ignore Query String)
	FullUrlCache *string `json:"FullUrlCache,omitnil,omitempty" name:"FullUrlCache"`

	// Specifies whether the cache key is case sensitive
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCase *string `json:"IgnoreCase,omitnil,omitempty" name:"IgnoreCase"`

	// Request parameter contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	QueryString *QueryStringKey `json:"QueryString,omitnil,omitempty" name:"QueryString"`

	// Cookie contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cookie *CookieKey `json:"Cookie,omitnil,omitempty" name:"Cookie"`

	// Request header contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Header *HeaderKey `json:"Header,omitnil,omitempty" name:"Header"`

	// Custom string contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheTag *CacheTagKey `json:"CacheTag,omitnil,omitempty" name:"CacheTag"`

	// Request protocol contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Scheme *SchemeKey `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// Path-specific cache key configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	KeyRules []*KeyRule `json:"KeyRules,omitnil,omitempty" name:"KeyRules"`
}

type CacheOptResult

type CacheOptResult struct {
	// List of succeeded URLs
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SuccessUrls []*string `json:"SuccessUrls,omitnil,omitempty" name:"SuccessUrls"`

	// List of failed URLs
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FailUrls []*string `json:"FailUrls,omitnil,omitempty" name:"FailUrls"`
}

type CacheTagKey

type CacheTagKey struct {
	// Whether to include `CacheTag` as part of `CacheKey`. Values:
	// `on`: Yes
	// `off`: No
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Value of custom `CacheTag`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type CappingRule

type CappingRule struct {
	// Rule types:
	// `all`: Apply to all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `RuleType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Downstream speed value settings (in KB/s)
	KBpsThreshold *int64 `json:"KBpsThreshold,omitnil,omitempty" name:"KBpsThreshold"`
}

type CdnData

type CdnData struct {
	// Queries by the specified metric:
	// `flux`: Traffic (in bytes)
	// `bandwidth`: Bandwidth (in bps)
	// `request`: Number of requests
	// `fluxHitRate`: Traffic hit rate (in %)
	// `statusCode`: Status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx status codes will be returned (in entries)
	// `2XX`: Returns the aggregate list of 2xx status codes and the data for status codes starting with 2 (in entries)
	// `3XX`: Returns the aggregate list of 3xx status codes and the data for status codes starting with 3 (in entries)
	// `4XX`: Returns the aggregate list of 4xx status codes and the data for status codes starting with 4 (in entries)
	// `5XX`: Returns the aggregate list of 5xx status codes and the data for status codes starting with 5 (in entries)
	// You can also specify a status code for querying.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Detailed data combination
	DetailData []*TimestampData `json:"DetailData,omitnil,omitempty" name:"DetailData"`

	// Aggregate data combination
	SummarizedData *SummarizedData `json:"SummarizedData,omitnil,omitempty" name:"SummarizedData"`
}

type CdnIp

type CdnIp struct {
	// IP to be queried
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// IP ownership:
	// yes: Tencent Cloud CDN node
	// no: non-Tencent Cloud CDN node
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`

	// Node district/country
	// unknown: unknown node location
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// Activation and deactivation history of the node.
	History []*CdnIpHistory `json:"History,omitnil,omitempty" name:"History"`

	// Node region
	// `mainland`: Acceleration nodes inside the Chinese mainland
	// `overseas`: Acceleration nodes outside the Chinese mainland
	// `unknown`: Service region unknown
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// City where the nodes reside
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	City *string `json:"City,omitnil,omitempty" name:"City"`
}

type CdnIpHistory

type CdnIpHistory struct {
	// Operation type
	// `online`: Nodes activated
	// `offline`: Nodes deactivated
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Operation time corresponding to operation type
	// If its value is `null`, it means there is no status change record.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Datetime *string `json:"Datetime,omitnil,omitempty" name:"Datetime"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) AddCLSTopicDomains

func (c *Client) AddCLSTopicDomains(request *AddCLSTopicDomainsRequest) (response *AddCLSTopicDomainsResponse, err error)

AddCLSTopicDomains This API is used to add one or more domains to a specified log topic.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNAMEINVALID = "InvalidParameter.CdnClsTopicNameInvalid"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSINVALIDPARAM = "InvalidParameter.ClsInvalidParam"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_CLSNOTALLOWED = "UnsupportedOperation.ClsNotAllowed"

func (*Client) AddCLSTopicDomainsWithContext

func (c *Client) AddCLSTopicDomainsWithContext(ctx context.Context, request *AddCLSTopicDomainsRequest) (response *AddCLSTopicDomainsResponse, err error)

AddCLSTopicDomains This API is used to add one or more domains to a specified log topic.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNAMEINVALID = "InvalidParameter.CdnClsTopicNameInvalid"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSINVALIDPARAM = "InvalidParameter.ClsInvalidParam"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_CLSNOTALLOWED = "UnsupportedOperation.ClsNotAllowed"

func (*Client) AddCdnDomain

func (c *Client) AddCdnDomain(request *AddCdnDomainRequest) (response *AddCdnDomainResponse, err error)

AddCdnDomain This API is used to add a CDN acceleration domain name. Up to 100 domain names can be added per minute.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CAMRESOURCEBELONGTODIFFERENTUSER = "InvalidParameter.CamResourceBelongToDifferentUser"
INVALIDPARAMETER_CAMRESOURCESIXSTAGEERROR = "InvalidParameter.CamResourceSixStageError"
INVALIDPARAMETER_CAMTAGKEYALREADYATTACHED = "InvalidParameter.CamTagKeyAlreadyAttached"
INVALIDPARAMETER_CAMTAGKEYILLEGAL = "InvalidParameter.CamTagKeyIllegal"
INVALIDPARAMETER_CAMTAGKEYNOTEXIST = "InvalidParameter.CamTagKeyNotExist"
INVALIDPARAMETER_CAMTAGVALUEILLEGAL = "InvalidParameter.CamTagValueIllegal"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNCONFIGINVALIDHOST = "InvalidParameter.CdnConfigInvalidHost"
INVALIDPARAMETER_CDNCONFIGINVALIDTAG = "InvalidParameter.CdnConfigInvalidTag"
INVALIDPARAMETER_CDNCONFIGTAGREQUIRED = "InvalidParameter.CdnConfigTagRequired"
INVALIDPARAMETER_CDNHOSTINTERNALHOST = "InvalidParameter.CdnHostInternalHost"
INVALIDPARAMETER_CDNHOSTISCOSDEFAULTACCESS = "InvalidParameter.CdnHostIsCosDefaultAccess"
INVALIDPARAMETER_CDNHOSTTOOLONGHOST = "InvalidParameter.CdnHostTooLongHost"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CAMRESOURCEARRAYTOOLONG = "LimitExceeded.CamResourceArrayTooLong"
LIMITEXCEEDED_CAMRESOURCETOOMANYTAGKEY = "LimitExceeded.CamResourceTooManyTagKey"
LIMITEXCEEDED_CAMTAGKEYTOOLONG = "LimitExceeded.CamTagKeyTooLong"
LIMITEXCEEDED_CAMTAGKEYTOOMANYTAGVALUE = "LimitExceeded.CamTagKeyTooManyTagValue"
LIMITEXCEEDED_CAMTAGQUOTAEXCEEDLIMIT = "LimitExceeded.CamTagQuotaExceedLimit"
LIMITEXCEEDED_CAMUSERTOOMANYTAGKEY = "LimitExceeded.CamUserTooManyTagKey"
LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
LIMITEXCEEDED_CDNUSERTOOMANYHOSTS = "LimitExceeded.CdnUserTooManyHosts"
RESOURCEINUSE_CDNCONFLICTHOSTEXISTS = "ResourceInUse.CdnConflictHostExists"
RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CAMTAGKEYNOTEXIST = "ResourceNotFound.CamTagKeyNotExist"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTEXISTSINDSA = "ResourceUnavailable.CdnHostExistsInDsa"
RESOURCEUNAVAILABLE_CDNHOSTEXISTSINTCB = "ResourceUnavailable.CdnHostExistsInTcb"
RESOURCEUNAVAILABLE_CDNHOSTISMALICIOUS = "ResourceUnavailable.CdnHostIsMalicious"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
RESOURCEUNAVAILABLE_HOSTEXISTINVOD = "ResourceUnavailable.HostExistInVod"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.CdnDomainRecordNotVerified"
UNAUTHORIZEDOPERATION_CDNHOSTEXISTSININTERNAL = "UnauthorizedOperation.CdnHostExistsInInternal"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.CdnHostIsOwnedByOther"
UNAUTHORIZEDOPERATION_CDNHOSTISUSEDBYOTHER = "UnauthorizedOperation.CdnHostIsUsedByOther"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) AddCdnDomainWithContext

func (c *Client) AddCdnDomainWithContext(ctx context.Context, request *AddCdnDomainRequest) (response *AddCdnDomainResponse, err error)

AddCdnDomain This API is used to add a CDN acceleration domain name. Up to 100 domain names can be added per minute.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CAMRESOURCEBELONGTODIFFERENTUSER = "InvalidParameter.CamResourceBelongToDifferentUser"
INVALIDPARAMETER_CAMRESOURCESIXSTAGEERROR = "InvalidParameter.CamResourceSixStageError"
INVALIDPARAMETER_CAMTAGKEYALREADYATTACHED = "InvalidParameter.CamTagKeyAlreadyAttached"
INVALIDPARAMETER_CAMTAGKEYILLEGAL = "InvalidParameter.CamTagKeyIllegal"
INVALIDPARAMETER_CAMTAGKEYNOTEXIST = "InvalidParameter.CamTagKeyNotExist"
INVALIDPARAMETER_CAMTAGVALUEILLEGAL = "InvalidParameter.CamTagValueIllegal"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNCONFIGINVALIDHOST = "InvalidParameter.CdnConfigInvalidHost"
INVALIDPARAMETER_CDNCONFIGINVALIDTAG = "InvalidParameter.CdnConfigInvalidTag"
INVALIDPARAMETER_CDNCONFIGTAGREQUIRED = "InvalidParameter.CdnConfigTagRequired"
INVALIDPARAMETER_CDNHOSTINTERNALHOST = "InvalidParameter.CdnHostInternalHost"
INVALIDPARAMETER_CDNHOSTISCOSDEFAULTACCESS = "InvalidParameter.CdnHostIsCosDefaultAccess"
INVALIDPARAMETER_CDNHOSTTOOLONGHOST = "InvalidParameter.CdnHostTooLongHost"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CAMRESOURCEARRAYTOOLONG = "LimitExceeded.CamResourceArrayTooLong"
LIMITEXCEEDED_CAMRESOURCETOOMANYTAGKEY = "LimitExceeded.CamResourceTooManyTagKey"
LIMITEXCEEDED_CAMTAGKEYTOOLONG = "LimitExceeded.CamTagKeyTooLong"
LIMITEXCEEDED_CAMTAGKEYTOOMANYTAGVALUE = "LimitExceeded.CamTagKeyTooManyTagValue"
LIMITEXCEEDED_CAMTAGQUOTAEXCEEDLIMIT = "LimitExceeded.CamTagQuotaExceedLimit"
LIMITEXCEEDED_CAMUSERTOOMANYTAGKEY = "LimitExceeded.CamUserTooManyTagKey"
LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
LIMITEXCEEDED_CDNUSERTOOMANYHOSTS = "LimitExceeded.CdnUserTooManyHosts"
RESOURCEINUSE_CDNCONFLICTHOSTEXISTS = "ResourceInUse.CdnConflictHostExists"
RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CAMTAGKEYNOTEXIST = "ResourceNotFound.CamTagKeyNotExist"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTEXISTSINDSA = "ResourceUnavailable.CdnHostExistsInDsa"
RESOURCEUNAVAILABLE_CDNHOSTEXISTSINTCB = "ResourceUnavailable.CdnHostExistsInTcb"
RESOURCEUNAVAILABLE_CDNHOSTISMALICIOUS = "ResourceUnavailable.CdnHostIsMalicious"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
RESOURCEUNAVAILABLE_HOSTEXISTINVOD = "ResourceUnavailable.HostExistInVod"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.CdnDomainRecordNotVerified"
UNAUTHORIZEDOPERATION_CDNHOSTEXISTSININTERNAL = "UnauthorizedOperation.CdnHostExistsInInternal"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.CdnHostIsOwnedByOther"
UNAUTHORIZEDOPERATION_CDNHOSTISUSEDBYOTHER = "UnauthorizedOperation.CdnHostIsUsedByOther"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) CreateClsLogTopic

func (c *Client) CreateClsLogTopic(request *CreateClsLogTopicRequest) (response *CreateClsLogTopicResponse, err error)

CreateClsLogTopic This API is used to create a log topic. Up to 10 log topics can be created under one logset.

error code that may be returned:

INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNAMEINVALID = "InvalidParameter.CdnClsTopicNameInvalid"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) CreateClsLogTopicWithContext

func (c *Client) CreateClsLogTopicWithContext(ctx context.Context, request *CreateClsLogTopicRequest) (response *CreateClsLogTopicResponse, err error)

CreateClsLogTopic This API is used to create a log topic. Up to 10 log topics can be created under one logset.

error code that may be returned:

INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNAMEINVALID = "InvalidParameter.CdnClsTopicNameInvalid"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) CreateScdnFailedLogTask

func (c *Client) CreateScdnFailedLogTask(request *CreateScdnFailedLogTaskRequest) (response *CreateScdnFailedLogTaskResponse, err error)

CreateScdnFailedLogTask This API is used to recreate a failed event log task.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_SCDNLOGTASKEXPIRED = "InvalidParameter.ScdnLogTaskExpired"
INVALIDPARAMETER_SCDNLOGTASKNOTFOUNDORNOTFAIL = "InvalidParameter.ScdnLogTaskNotFoundOrNotFail"
INVALIDPARAMETER_SCDNLOGTASKTIMERANGEINVALID = "InvalidParameter.ScdnLogTaskTimeRangeInvalid"
LIMITEXCEEDED_SCDNLOGTASKEXCEEDDAYLIMIT = "LimitExceeded.ScdnLogTaskExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"

func (*Client) CreateScdnFailedLogTaskWithContext

func (c *Client) CreateScdnFailedLogTaskWithContext(ctx context.Context, request *CreateScdnFailedLogTaskRequest) (response *CreateScdnFailedLogTaskResponse, err error)

CreateScdnFailedLogTask This API is used to recreate a failed event log task.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_SCDNLOGTASKEXPIRED = "InvalidParameter.ScdnLogTaskExpired"
INVALIDPARAMETER_SCDNLOGTASKNOTFOUNDORNOTFAIL = "InvalidParameter.ScdnLogTaskNotFoundOrNotFail"
INVALIDPARAMETER_SCDNLOGTASKTIMERANGEINVALID = "InvalidParameter.ScdnLogTaskTimeRangeInvalid"
LIMITEXCEEDED_SCDNLOGTASKEXCEEDDAYLIMIT = "LimitExceeded.ScdnLogTaskExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"

func (*Client) DeleteCdnDomain

func (c *Client) DeleteCdnDomain(request *DeleteCdnDomainRequest) (response *DeleteCdnDomainResponse, err error)

DeleteCdnDomain This API is used to delete a specified acceleration domain name.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DeleteCdnDomainWithContext

func (c *Client) DeleteCdnDomainWithContext(ctx context.Context, request *DeleteCdnDomainRequest) (response *DeleteCdnDomainResponse, err error)

DeleteCdnDomain This API is used to delete a specified acceleration domain name.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DeleteClsLogTopic

func (c *Client) DeleteClsLogTopic(request *DeleteClsLogTopicRequest) (response *DeleteClsLogTopicResponse, err error)

DeleteClsLogTopic This API is used to delete a log topic. Note: when a log topic is deleted, all logs of the domain names bound to it will no longer be published to the topic, and the logs previously published to the topic will be deleted. This action will take effect within 5–15 minutes.

error code that may be returned:

INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DeleteClsLogTopicWithContext

func (c *Client) DeleteClsLogTopicWithContext(ctx context.Context, request *DeleteClsLogTopicRequest) (response *DeleteClsLogTopicResponse, err error)

DeleteClsLogTopic This API is used to delete a log topic. Note: when a log topic is deleted, all logs of the domain names bound to it will no longer be published to the topic, and the logs previously published to the topic will be deleted. This action will take effect within 5–15 minutes.

error code that may be returned:

INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeBillingData

func (c *Client) DescribeBillingData(request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)

DescribeBillingData This API is used to query billing data details.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_COSTDATASYSTEMERROR = "InternalError.CostDataSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeBillingDataWithContext

func (c *Client) DescribeBillingDataWithContext(ctx context.Context, request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)

DescribeBillingData This API is used to query billing data details.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_COSTDATASYSTEMERROR = "InternalError.CostDataSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeCdnData

func (c *Client) DescribeCdnData(request *DescribeCdnDataRequest) (response *DescribeCdnDataResponse, err error)

DescribeCdnData This API is used to query CDN real-time access monitoring data and supports the following metrics:

+ Traffic (in bytes)

+ Bandwidth (in bps)

+ Number of requests

+ Number of hit requests

+ Request hit rate (in %)

+ Hit traffic (in bytes)

+ Traffic hit rate (in %)

+ Aggregate list of 2xx status codes and the details of status codes starting with 2 (in entries)

+ Aggregate list of 3xx status codes and the details of status codes starting with 3 (in entries)

+ Aggregate list of 4xx status codes and the details of status codes starting with 4 (in entries)

+ Aggregate list of 5xx status codes and the details of status codes starting with 5 (in entries)

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_COSTDATASYSTEMERROR = "InternalError.CostDataSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMMETRIC = "InvalidParameter.CdnInvalidParamMetric"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_CSRFERROR = "UnauthorizedOperation.CsrfError"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeCdnDataWithContext

func (c *Client) DescribeCdnDataWithContext(ctx context.Context, request *DescribeCdnDataRequest) (response *DescribeCdnDataResponse, err error)

DescribeCdnData This API is used to query CDN real-time access monitoring data and supports the following metrics:

+ Traffic (in bytes)

+ Bandwidth (in bps)

+ Number of requests

+ Number of hit requests

+ Request hit rate (in %)

+ Hit traffic (in bytes)

+ Traffic hit rate (in %)

+ Aggregate list of 2xx status codes and the details of status codes starting with 2 (in entries)

+ Aggregate list of 3xx status codes and the details of status codes starting with 3 (in entries)

+ Aggregate list of 4xx status codes and the details of status codes starting with 4 (in entries)

+ Aggregate list of 5xx status codes and the details of status codes starting with 5 (in entries)

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_COSTDATASYSTEMERROR = "InternalError.CostDataSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMMETRIC = "InvalidParameter.CdnInvalidParamMetric"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_CSRFERROR = "UnauthorizedOperation.CsrfError"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeCdnDomainLogs

func (c *Client) DescribeCdnDomainLogs(request *DescribeCdnDomainLogsRequest) (response *DescribeCdnDomainLogsResponse, err error)

DescribeCdnDomainLogs This API is used to query the download link of an access log. You can use this API for access logs in the last 30 days either within or outside Mainland China.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DescribeCdnDomainLogsWithContext

func (c *Client) DescribeCdnDomainLogsWithContext(ctx context.Context, request *DescribeCdnDomainLogsRequest) (response *DescribeCdnDomainLogsResponse, err error)

DescribeCdnDomainLogs This API is used to query the download link of an access log. You can use this API for access logs in the last 30 days either within or outside Mainland China.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DescribeCdnIp

func (c *Client) DescribeCdnIp(request *DescribeCdnIpRequest) (response *DescribeCdnIpResponse, err error)

DescribeCdnIp This API is used to query CDN IP ownership.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNCALLINGQUERYIPTOOOFTEN = "LimitExceeded.CdnCallingQueryIpTooOften"
LIMITEXCEEDED_CDNQUERYIPBATCHTOOMANY = "LimitExceeded.CdnQueryIpBatchTooMany"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"

func (*Client) DescribeCdnIpWithContext

func (c *Client) DescribeCdnIpWithContext(ctx context.Context, request *DescribeCdnIpRequest) (response *DescribeCdnIpResponse, err error)

DescribeCdnIp This API is used to query CDN IP ownership.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNCALLINGQUERYIPTOOOFTEN = "LimitExceeded.CdnCallingQueryIpTooOften"
LIMITEXCEEDED_CDNQUERYIPBATCHTOOMANY = "LimitExceeded.CdnQueryIpBatchTooMany"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"

func (*Client) DescribeCdnOriginIp

func (c *Client) DescribeCdnOriginIp(request *DescribeCdnOriginIpRequest) (response *DescribeCdnOriginIpResponse, err error)

DescribeCdnOriginIp This API is used to query the IP information of CDN intermediate nodes. Note: this API will be deactivated soon and no longer be maintained. Please call `DescribeIpStatus` instead.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNCALLINGQUERYIPTOOOFTEN = "LimitExceeded.CdnCallingQueryIpTooOften"
LIMITEXCEEDED_CDNQUERYIPBATCHTOOMANY = "LimitExceeded.CdnQueryIpBatchTooMany"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"

func (*Client) DescribeCdnOriginIpWithContext

func (c *Client) DescribeCdnOriginIpWithContext(ctx context.Context, request *DescribeCdnOriginIpRequest) (response *DescribeCdnOriginIpResponse, err error)

DescribeCdnOriginIp This API is used to query the IP information of CDN intermediate nodes. Note: this API will be deactivated soon and no longer be maintained. Please call `DescribeIpStatus` instead.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNCALLINGQUERYIPTOOOFTEN = "LimitExceeded.CdnCallingQueryIpTooOften"
LIMITEXCEEDED_CDNQUERYIPBATCHTOOMANY = "LimitExceeded.CdnQueryIpBatchTooMany"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"

func (*Client) DescribeCertDomains

func (c *Client) DescribeCertDomains(request *DescribeCertDomainsRequest) (response *DescribeCertDomainsResponse, err error)

DescribeCertDomains This API is used to verify a SSL certificate and obtain its domain names.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INVALIDPARAMETER_CDNCERTNOCERTINFO = "InvalidParameter.CdnCertNoCertInfo"
INVALIDPARAMETER_CDNCERTNOTPEM = "InvalidParameter.CdnCertNotPem"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNHOSTISUSEDBYOTHER = "UnauthorizedOperation.CdnHostIsUsedByOther"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_CLSNOTALLOWED = "UnsupportedOperation.ClsNotAllowed"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DescribeCertDomainsWithContext

func (c *Client) DescribeCertDomainsWithContext(ctx context.Context, request *DescribeCertDomainsRequest) (response *DescribeCertDomainsResponse, err error)

DescribeCertDomains This API is used to verify a SSL certificate and obtain its domain names.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INVALIDPARAMETER_CDNCERTNOCERTINFO = "InvalidParameter.CdnCertNoCertInfo"
INVALIDPARAMETER_CDNCERTNOTPEM = "InvalidParameter.CdnCertNotPem"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNHOSTISUSEDBYOTHER = "UnauthorizedOperation.CdnHostIsUsedByOther"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_CLSNOTALLOWED = "UnsupportedOperation.ClsNotAllowed"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DescribeDomains

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

DescribeDomains This API is used to query the basic configuration information of CDN acceleration domain names (inside and outside mainland China), including the project ID, service status, service type, creation time, and update time, etc.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeDomainsConfig

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

DescribeDomainsConfig This API is used to query the complete configuration information of CDN acceleration domain names (inside and outside mainland China).

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTNOCERTINFO = "InvalidParameter.CdnCertNoCertInfo"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeDomainsConfigWithContext

func (c *Client) DescribeDomainsConfigWithContext(ctx context.Context, request *DescribeDomainsConfigRequest) (response *DescribeDomainsConfigResponse, err error)

DescribeDomainsConfig This API is used to query the complete configuration information of CDN acceleration domain names (inside and outside mainland China).

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTNOCERTINFO = "InvalidParameter.CdnCertNoCertInfo"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeDomainsWithContext

func (c *Client) DescribeDomainsWithContext(ctx context.Context, request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

DescribeDomains This API is used to query the basic configuration information of CDN acceleration domain names (inside and outside mainland China), including the project ID, service status, service type, creation time, and update time, etc.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeIpStatus

func (c *Client) DescribeIpStatus(request *DescribeIpStatusRequest) (response *DescribeIpStatusResponse, err error)

DescribeIpStatus This API is used to query the IP details of edge nodes (available soon) and intermediate nodes. Note that there is a certain delay in data availability.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41954?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNCONFIGINVALIDHOST = "InvalidParameter.CdnConfigInvalidHost"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeIpStatusWithContext

func (c *Client) DescribeIpStatusWithContext(ctx context.Context, request *DescribeIpStatusRequest) (response *DescribeIpStatusResponse, err error)

DescribeIpStatus This API is used to query the IP details of edge nodes (available soon) and intermediate nodes. Note that there is a certain delay in data availability.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41954?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNCONFIGINVALIDHOST = "InvalidParameter.CdnConfigInvalidHost"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeIpVisit

func (c *Client) DescribeIpVisit(request *DescribeIpVisitRequest) (response *DescribeIpVisitResponse, err error)

DescribeIpVisit This API (DescribeIpVisit) is used to query the number of users who remain active for 5 minutes and the detailed number of daily active users.

+ Number of users who remain active for 5 minutes: Collects deduplicated statistics based on client IP addresses in the log with the 5-minute granularity.

+ Number of daily active users: Collects deduplicated statistics based on client IP addresses in the log with the 1-day granularity.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMINTERVAL = "InvalidParameter.CdnInvalidParamInterval"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeIpVisitWithContext

func (c *Client) DescribeIpVisitWithContext(ctx context.Context, request *DescribeIpVisitRequest) (response *DescribeIpVisitResponse, err error)

DescribeIpVisit This API (DescribeIpVisit) is used to query the number of users who remain active for 5 minutes and the detailed number of daily active users.

+ Number of users who remain active for 5 minutes: Collects deduplicated statistics based on client IP addresses in the log with the 5-minute granularity.

+ Number of daily active users: Collects deduplicated statistics based on client IP addresses in the log with the 1-day granularity.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMINTERVAL = "InvalidParameter.CdnInvalidParamInterval"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeMapInfo

func (c *Client) DescribeMapInfo(request *DescribeMapInfoRequest) (response *DescribeMapInfoResponse, err error)

DescribeMapInfo This API (DescribeMapInfo) is used to query the IDs of districts or ISPs.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeMapInfoWithContext

func (c *Client) DescribeMapInfoWithContext(ctx context.Context, request *DescribeMapInfoRequest) (response *DescribeMapInfoResponse, err error)

DescribeMapInfo This API (DescribeMapInfo) is used to query the IDs of districts or ISPs.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeOriginData

func (c *Client) DescribeOriginData(request *DescribeOriginDataRequest) (response *DescribeOriginDataResponse, err error)

DescribeOriginData This API is used to query CDN real-time origin-pull monitoring data and supports the following metrics:

+ Origin-pull traffic (in bytes)

+ Origin-pull bandwidth (in bps)

+ Number of origin-pull requests

+ Number of failed origin-pull requests

+ Origin-pull failure rate (in % with two decimal digits)

+ Aggregate list of 2xx origin-pull status codes and the details of origin-pull status codes starting with 2 (in entries)

+ Aggregate list of 3xx origin-pull status codes and the details of origin-pull status codes starting with 3 (in entries)

+ Aggregate list of 4xx origin-pull status codes and the details of origin-pull status codes starting with 4 (in entries)

+ Aggregate list of 5xx origin-pull status codes and the details of origin-pull status codes starting with 5 (in entries)

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMMETRIC = "InvalidParameter.CdnInvalidParamMetric"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CDNUSERTOOMANYHOSTS = "ResourceNotFound.CdnUserTooManyHosts"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeOriginDataWithContext

func (c *Client) DescribeOriginDataWithContext(ctx context.Context, request *DescribeOriginDataRequest) (response *DescribeOriginDataResponse, err error)

DescribeOriginData This API is used to query CDN real-time origin-pull monitoring data and supports the following metrics:

+ Origin-pull traffic (in bytes)

+ Origin-pull bandwidth (in bps)

+ Number of origin-pull requests

+ Number of failed origin-pull requests

+ Origin-pull failure rate (in % with two decimal digits)

+ Aggregate list of 2xx origin-pull status codes and the details of origin-pull status codes starting with 2 (in entries)

+ Aggregate list of 3xx origin-pull status codes and the details of origin-pull status codes starting with 3 (in entries)

+ Aggregate list of 4xx origin-pull status codes and the details of origin-pull status codes starting with 4 (in entries)

+ Aggregate list of 5xx origin-pull status codes and the details of origin-pull status codes starting with 5 (in entries)

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMMETRIC = "InvalidParameter.CdnInvalidParamMetric"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CDNUSERTOOMANYHOSTS = "ResourceNotFound.CdnUserTooManyHosts"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePayType

func (c *Client) DescribePayType(request *DescribePayTypeRequest) (response *DescribePayTypeResponse, err error)

DescribePayType This API (DescribePayType) is used to query billing information of the current account, such as billing mode and billing cycle.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePayTypeWithContext

func (c *Client) DescribePayTypeWithContext(ctx context.Context, request *DescribePayTypeRequest) (response *DescribePayTypeResponse, err error)

DescribePayType This API (DescribePayType) is used to query billing information of the current account, such as billing mode and billing cycle.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePurgeQuota

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

DescribePurgeQuota This API is used to query the purge usage quota and daily available usage for an account.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePurgeQuotaWithContext

func (c *Client) DescribePurgeQuotaWithContext(ctx context.Context, request *DescribePurgeQuotaRequest) (response *DescribePurgeQuotaResponse, err error)

DescribePurgeQuota This API is used to query the purge usage quota and daily available usage for an account.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePurgeTasks

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

DescribePurgeTasks This API is used to query the record and progress of URL or directory purge tasks submitted via the `PurgePathCache` or `PurgeUrlsCache` APIs.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePurgeTasksWithContext

func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)

DescribePurgeTasks This API is used to query the record and progress of URL or directory purge tasks submitted via the `PurgePathCache` or `PurgeUrlsCache` APIs.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePushQuota

func (c *Client) DescribePushQuota(request *DescribePushQuotaRequest) (response *DescribePushQuotaResponse, err error)

DescribePushQuota This API is used to query the prefetch quota and daily available usage.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePushQuotaWithContext

func (c *Client) DescribePushQuotaWithContext(ctx context.Context, request *DescribePushQuotaRequest) (response *DescribePushQuotaResponse, err error)

DescribePushQuota This API is used to query the prefetch quota and daily available usage.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePushTasks

func (c *Client) DescribePushTasks(request *DescribePushTasksRequest) (response *DescribePushTasksResponse, err error)

DescribePushTasks This API is used to query the submission record and progress of prefetch tasks.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribePushTasksWithContext

func (c *Client) DescribePushTasksWithContext(ctx context.Context, request *DescribePushTasksRequest) (response *DescribePushTasksResponse, err error)

DescribePushTasks This API is used to query the submission record and progress of prefetch tasks.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeReportData

func (c *Client) DescribeReportData(request *DescribeReportDataRequest) (response *DescribeReportDataResponse, err error)

DescribeReportData This API is used to query the daily/weekly/monthly report data at domain name/project levels.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DescribeReportDataWithContext

func (c *Client) DescribeReportDataWithContext(ctx context.Context, request *DescribeReportDataRequest) (response *DescribeReportDataResponse, err error)

DescribeReportData This API is used to query the daily/weekly/monthly report data at domain name/project levels.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) DescribeUrlViolations

func (c *Client) DescribeUrlViolations(request *DescribeUrlViolationsRequest) (response *DescribeUrlViolationsResponse, err error)

DescribeUrlViolations This API is used to query the list of domain name URLs containing regulation-violating content scanned and detected by the CDN system, and the current status of the URLs.

It corresponds to the **Pornography Detection** page on the CDN Console.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DescribeUrlViolationsWithContext

func (c *Client) DescribeUrlViolationsWithContext(ctx context.Context, request *DescribeUrlViolationsRequest) (response *DescribeUrlViolationsResponse, err error)

DescribeUrlViolations This API is used to query the list of domain name URLs containing regulation-violating content scanned and detected by the CDN system, and the current status of the URLs.

It corresponds to the **Pornography Detection** page on the CDN Console.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DisableCaches

func (c *Client) DisableCaches(request *DisableCachesRequest) (response *DisableCachesResponse, err error)

DisableCaches This API is used to block access to a specific URL on CDN. When a URL is blocked, error 403 will be returned for requests from the Chinese mainland. URL blocking is not permanent. Note that this API is only available to beta users now.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
LIMITEXCEEDED_CDNPUSHEXCEEDDAYLIMIT = "LimitExceeded.CdnPushExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DisableCachesWithContext

func (c *Client) DisableCachesWithContext(ctx context.Context, request *DisableCachesRequest) (response *DisableCachesResponse, err error)

DisableCaches This API is used to block access to a specific URL on CDN. When a URL is blocked, error 403 will be returned for requests from the Chinese mainland. URL blocking is not permanent. Note that this API is only available to beta users now.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
LIMITEXCEEDED_CDNPUSHEXCEEDDAYLIMIT = "LimitExceeded.CdnPushExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DisableClsLogTopic

func (c *Client) DisableClsLogTopic(request *DisableClsLogTopicRequest) (response *DisableClsLogTopicResponse, err error)

DisableClsLogTopic This API is used to stop publishing to a log topic. Note: after a log topic is disabled, all logs of the domain names bound to it will no longer be published to the topic, and the logs that have already been published will be retained. This action will take effect within 5–15 minutes.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) DisableClsLogTopicWithContext

func (c *Client) DisableClsLogTopicWithContext(ctx context.Context, request *DisableClsLogTopicRequest) (response *DisableClsLogTopicResponse, err error)

DisableClsLogTopic This API is used to stop publishing to a log topic. Note: after a log topic is disabled, all logs of the domain names bound to it will no longer be published to the topic, and the logs that have already been published will be retained. This action will take effect within 5–15 minutes.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) EnableCaches

func (c *Client) EnableCaches(request *EnableCachesRequest) (response *EnableCachesResponse, err error)

EnableCaches This API (EnableCaches) is used to unblock manually blocked URLs. After a URL is successfully unblocked, it takes about 5 to 10 minutes to take effect across the entire network. (This API is during beta test and not fully available now.)

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) EnableCachesWithContext

func (c *Client) EnableCachesWithContext(ctx context.Context, request *EnableCachesRequest) (response *EnableCachesResponse, err error)

EnableCaches This API (EnableCaches) is used to unblock manually blocked URLs. After a URL is successfully unblocked, it takes about 5 to 10 minutes to take effect across the entire network. (This API is during beta test and not fully available now.)

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) EnableClsLogTopic

func (c *Client) EnableClsLogTopic(request *EnableClsLogTopicRequest) (response *EnableClsLogTopicResponse, err error)

EnableClsLogTopic This API is used to start publishing to a log topic. Note: after a log topic is enabled, all logs of the domain names bound to the topic will be published to it. This action will take effect within 5–15 minutes.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) EnableClsLogTopicWithContext

func (c *Client) EnableClsLogTopicWithContext(ctx context.Context, request *EnableClsLogTopicRequest) (response *EnableClsLogTopicResponse, err error)

EnableClsLogTopic This API is used to start publishing to a log topic. Note: after a log topic is enabled, all logs of the domain names bound to the topic will be published to it. This action will take effect within 5–15 minutes.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) GetDisableRecords

func (c *Client) GetDisableRecords(request *GetDisableRecordsRequest) (response *GetDisableRecordsResponse, err error)

GetDisableRecords This API is used to query the resource blocking history and the current URL status. (This API is in beta test and not generally available yet.)

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) GetDisableRecordsWithContext

func (c *Client) GetDisableRecordsWithContext(ctx context.Context, request *GetDisableRecordsRequest) (response *GetDisableRecordsResponse, err error)

GetDisableRecords This API is used to query the resource blocking history and the current URL status. (This API is in beta test and not generally available yet.)

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ListClsLogTopics

func (c *Client) ListClsLogTopics(request *ListClsLogTopicsRequest) (response *ListClsLogTopicsResponse, err error)

ListClsLogTopics This API is used to display the list of log topics. Note: a logset can contain up to 10 log topics.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ListClsLogTopicsWithContext

func (c *Client) ListClsLogTopicsWithContext(ctx context.Context, request *ListClsLogTopicsRequest) (response *ListClsLogTopicsResponse, err error)

ListClsLogTopics This API is used to display the list of log topics. Note: a logset can contain up to 10 log topics.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSSERVICENOTACTIVATED = "UnauthorizedOperation.ClsServiceNotActivated"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ListClsTopicDomains

func (c *Client) ListClsTopicDomains(request *ListClsTopicDomainsRequest) (response *ListClsTopicDomainsResponse, err error)

ListClsTopicDomains This API is used to get the list of domain names bound to a log topic.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ListClsTopicDomainsWithContext

func (c *Client) ListClsTopicDomainsWithContext(ctx context.Context, request *ListClsTopicDomainsRequest) (response *ListClsTopicDomainsResponse, err error)

ListClsTopicDomains This API is used to get the list of domain names bound to a log topic.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ListTopData

func (c *Client) ListTopData(request *ListTopDataRequest) (response *ListTopDataResponse, err error)

ListTopData This API is used to list data sorted the following ways by using different combinations of the Metric and Filter input parameters:

+ It sorts access URLs by total traffic and total requests, and returns the top 1,000 URLs in descending order.

+ It sorts client districts by total traffic and total requests, and returns the list of districts in descending order.

+ It sorts client ISPs by total traffic and total requests, and returns the list of ISPs in descending order.

+ It sorts domain names by total traffic, peak bandwidth, total requests, average hit rate, and 2XX/3XX/4XX/5XX status codes, and returns the list of domain names in descending order.

+ It sorts domain names by total origin-pull traffic, peak origin-pull bandwidth, total origin-pull requests, average origin-pull failure rate, and 2XX/3XX/4XX/5XX origin-pull status codes, and returns the list of domain names in descending order.

Note: only data from the last 90 days will be queried.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDFILTER = "InvalidParameter.CdnStatInvalidFilter"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ListTopDataWithContext

func (c *Client) ListTopDataWithContext(ctx context.Context, request *ListTopDataRequest) (response *ListTopDataResponse, err error)

ListTopData This API is used to list data sorted the following ways by using different combinations of the Metric and Filter input parameters:

+ It sorts access URLs by total traffic and total requests, and returns the top 1,000 URLs in descending order.

+ It sorts client districts by total traffic and total requests, and returns the list of districts in descending order.

+ It sorts client ISPs by total traffic and total requests, and returns the list of ISPs in descending order.

+ It sorts domain names by total traffic, peak bandwidth, total requests, average hit rate, and 2XX/3XX/4XX/5XX status codes, and returns the list of domain names in descending order.

+ It sorts domain names by total origin-pull traffic, peak origin-pull bandwidth, total origin-pull requests, average origin-pull failure rate, and 2XX/3XX/4XX/5XX origin-pull status codes, and returns the list of domain names in descending order.

Note: only data from the last 90 days will be queried.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_DATASYSTEMERROR = "InternalError.DataSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_TAGSYSTEMERROR = "InternalError.TagSystemError"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDFILTER = "InvalidParameter.CdnStatInvalidFilter"
INVALIDPARAMETER_CDNSTATINVALIDMETRIC = "InvalidParameter.CdnStatInvalidMetric"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNPROJECTNOTEXISTS = "ResourceNotFound.CdnProjectNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ManageClsTopicDomains

func (c *Client) ManageClsTopicDomains(request *ManageClsTopicDomainsRequest) (response *ManageClsTopicDomainsResponse, err error)

ManageClsTopicDomains This API is used to manage the list of domain names bound to a log topic.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ManageClsTopicDomainsWithContext

func (c *Client) ManageClsTopicDomainsWithContext(ctx context.Context, request *ManageClsTopicDomainsRequest) (response *ManageClsTopicDomainsResponse, err error)

ManageClsTopicDomains This API is used to manage the list of domain names bound to a log topic.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ModifyDomainConfig

func (c *Client) ModifyDomainConfig(request *ModifyDomainConfigRequest) (response *ModifyDomainConfigResponse, err error)

ModifyDomainConfig This API is used to modify the configuration of a CDN acceleration domain name in a finer manner than `UpdateDomainConfig`.

Notes:

In `Route`, separate values by dots (.). The last value is called a leaf node. For non-leaf nodes, keep the configuration unchanged.

The Value field is serialized to a JSON string {key:value}, where **key** is fixed to `update` and **value** is used to specify the value of the configuration parameter. To specify configurations with complex types, see https://intl.cloud.tencent.com/document/product/228/41116.?from_cn_redirect=1

The input parameters of this API are not reported to CloudAudit as it may contain sensitive data, such as keys and secrets.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"
INVALIDPARAMETER_BANDLIMITREQUIREDMAINLAND = "InvalidParameter.BandLimitRequiredMainland"
INVALIDPARAMETER_BANDWIDTHALERTCOUNTERMEASURECONFLICTORIGINTYPE = "InvalidParameter.BandwidthAlertCounterMeasureConflictOriginType"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNCONFIGINVALIDCACHE = "InvalidParameter.CdnConfigInvalidCache"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMSERVICETYPE = "InvalidParameter.CdnInvalidParamServiceType"
INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"
INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
INVALIDPARAMETER_PATHREGEXTOOMANYSUBPATTERN = "InvalidParameter.PathRegexTooManySubPattern"
INVALIDPARAMETER_REMOTEAUTHINVALIDPLATFORM = "InvalidParameter.RemoteAuthInvalidPlatform"
INVALIDPARAMETER_REMOTEAUTHINVALIDPROTOCOL = "InvalidParameter.RemoteAuthInvalidProtocol"
LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINMAINLAND = "ResourceUnavailable.CdnHostBelongsToOthersInMainland"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINOVERSEAS = "ResourceUnavailable.CdnHostBelongsToOthersInOverseas"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) ModifyDomainConfigWithContext

func (c *Client) ModifyDomainConfigWithContext(ctx context.Context, request *ModifyDomainConfigRequest) (response *ModifyDomainConfigResponse, err error)

ModifyDomainConfig This API is used to modify the configuration of a CDN acceleration domain name in a finer manner than `UpdateDomainConfig`.

Notes:

In `Route`, separate values by dots (.). The last value is called a leaf node. For non-leaf nodes, keep the configuration unchanged.

The Value field is serialized to a JSON string {key:value}, where **key** is fixed to `update` and **value** is used to specify the value of the configuration parameter. To specify configurations with complex types, see https://intl.cloud.tencent.com/document/product/228/41116.?from_cn_redirect=1

The input parameters of this API are not reported to CloudAudit as it may contain sensitive data, such as keys and secrets.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"
INVALIDPARAMETER_BANDLIMITREQUIREDMAINLAND = "InvalidParameter.BandLimitRequiredMainland"
INVALIDPARAMETER_BANDWIDTHALERTCOUNTERMEASURECONFLICTORIGINTYPE = "InvalidParameter.BandwidthAlertCounterMeasureConflictOriginType"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNCONFIGINVALIDCACHE = "InvalidParameter.CdnConfigInvalidCache"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMSERVICETYPE = "InvalidParameter.CdnInvalidParamServiceType"
INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"
INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
INVALIDPARAMETER_PATHREGEXTOOMANYSUBPATTERN = "InvalidParameter.PathRegexTooManySubPattern"
INVALIDPARAMETER_REMOTEAUTHINVALIDPLATFORM = "InvalidParameter.RemoteAuthInvalidPlatform"
INVALIDPARAMETER_REMOTEAUTHINVALIDPROTOCOL = "InvalidParameter.RemoteAuthInvalidProtocol"
LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINMAINLAND = "ResourceUnavailable.CdnHostBelongsToOthersInMainland"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINOVERSEAS = "ResourceUnavailable.CdnHostBelongsToOthersInOverseas"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) PurgePathCache

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

PurgePathCache This API is used to submit multiple directory purge tasks, which are carried out according to the acceleration region of the domain names.

By default, a maximum of 100 directories can be purged per day for acceleration regions either within or outside the Chinese mainland, and up to 500 tasks can be submitted at a time.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYPARAMERROR = "InternalError.CdnQueryParamError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.CdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNURLEXCEEDLENGTH = "InvalidParameter.CdnUrlExceedLength"
LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeExceedDayLimit"
LIMITEXCEEDED_CDNPURGEPATHEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgePathExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEPATHEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgePathExceedDayLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeUrlExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeUrlExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) PurgePathCacheWithContext

func (c *Client) PurgePathCacheWithContext(ctx context.Context, request *PurgePathCacheRequest) (response *PurgePathCacheResponse, err error)

PurgePathCache This API is used to submit multiple directory purge tasks, which are carried out according to the acceleration region of the domain names.

By default, a maximum of 100 directories can be purged per day for acceleration regions either within or outside the Chinese mainland, and up to 500 tasks can be submitted at a time.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYPARAMERROR = "InternalError.CdnQueryParamError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.CdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNURLEXCEEDLENGTH = "InvalidParameter.CdnUrlExceedLength"
LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeExceedDayLimit"
LIMITEXCEEDED_CDNPURGEPATHEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgePathExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEPATHEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgePathExceedDayLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeUrlExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeUrlExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) PurgeUrlsCache

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

PurgeUrlsCache This API is used to submit multiple URL purge tasks, which are carried out according to the current acceleration region of the domain names in the URLs.

By default, a maximum of 10,000 URLs can be purged per day for acceleration regions either within or outside Mainland China, and up to 1,000 tasks can be submitted at a time.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYPARAMERROR = "InternalError.CdnQueryParamError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.CdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNURLEXCEEDLENGTH = "InvalidParameter.CdnUrlExceedLength"
LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeExceedDayLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeUrlExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeUrlExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) PurgeUrlsCacheWithContext

func (c *Client) PurgeUrlsCacheWithContext(ctx context.Context, request *PurgeUrlsCacheRequest) (response *PurgeUrlsCacheResponse, err error)

PurgeUrlsCache This API is used to submit multiple URL purge tasks, which are carried out according to the current acceleration region of the domain names in the URLs.

By default, a maximum of 10,000 URLs can be purged per day for acceleration regions either within or outside Mainland China, and up to 1,000 tasks can be submitted at a time.

error code that may be returned:

AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYPARAMERROR = "InternalError.CdnQueryParamError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.CdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNURLEXCEEDLENGTH = "InvalidParameter.CdnUrlExceedLength"
LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeExceedDayLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.CdnPurgeUrlExceedBatchLimit"
LIMITEXCEEDED_CDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.CdnPurgeUrlExceedDayLimit"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) PushUrlsCache

func (c *Client) PushUrlsCache(request *PushUrlsCacheRequest) (response *PushUrlsCacheResponse, err error)

PushUrlsCache This API is used to cache specified URL resources to CDN nodes. You can specify acceleration regions for the prefetch.

By default, a maximum of 1000 URLs can be prefetched per day for regions either within or outside the Chinese mainland, and up to 500 tasks can be submitted at a time. Note that resources prefetched outside the Chinese mainland will be cached to CDN nodes outside the Chinese mainland and the traffic generated will incur costs.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNPUSHWILDCARDNOTALLOWED = "InvalidParameter.CdnPushWildcardNotAllowed"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
LIMITEXCEEDED_CDNPUSHEXCEEDBATCHLIMIT = "LimitExceeded.CdnPushExceedBatchLimit"
LIMITEXCEEDED_CDNPUSHEXCEEDDAYLIMIT = "LimitExceeded.CdnPushExceedDayLimit"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) PushUrlsCacheWithContext

func (c *Client) PushUrlsCacheWithContext(ctx context.Context, request *PushUrlsCacheRequest) (response *PushUrlsCacheResponse, err error)

PushUrlsCache This API is used to cache specified URL resources to CDN nodes. You can specify acceleration regions for the prefetch.

By default, a maximum of 1000 URLs can be prefetched per day for regions either within or outside the Chinese mainland, and up to 500 tasks can be submitted at a time. Note that resources prefetched outside the Chinese mainland will be cached to CDN nodes outside the Chinese mainland and the traffic generated will incur costs.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDPARAM = "InvalidParameter.CdnHostInvalidParam"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNPUSHWILDCARDNOTALLOWED = "InvalidParameter.CdnPushWildcardNotAllowed"
INVALIDPARAMETER_CDNSTATINVALIDDATE = "InvalidParameter.CdnStatInvalidDate"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
LIMITEXCEEDED_CDNPUSHEXCEEDBATCHLIMIT = "LimitExceeded.CdnPushExceedBatchLimit"
LIMITEXCEEDED_CDNPUSHEXCEEDDAYLIMIT = "LimitExceeded.CdnPushExceedDayLimit"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTONLINE = "ResourceUnavailable.CdnHostIsNotOnline"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) SearchClsLog

func (c *Client) SearchClsLog(request *SearchClsLogRequest) (response *SearchClsLogResponse, err error)

SearchClsLog This API is used to search for CLS logs. Search filters can be set to today, 24 hours (one of the last 7 days), and the last 7 days.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSINVALIDPARAM = "InvalidParameter.ClsInvalidParam"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) SearchClsLogWithContext

func (c *Client) SearchClsLogWithContext(ctx context.Context, request *SearchClsLogRequest) (response *SearchClsLogResponse, err error)

SearchClsLog This API is used to search for CLS logs. Search filters can be set to today, 24 hours (one of the last 7 days), and the last 7 days.

error code that may be returned:

INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_CLSINTERNALERROR = "InternalError.ClsInternalError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_CDNCLSDUPLICATETOPIC = "InvalidParameter.CdnClsDuplicateTopic"
INVALIDPARAMETER_CDNCLSTOPICNOTEXIST = "InvalidParameter.CdnClsTopicNotExist"
INVALIDPARAMETER_CLSINDEXCONFLICT = "InvalidParameter.ClsIndexConflict"
INVALIDPARAMETER_CLSINDEXRULEEMPTY = "InvalidParameter.ClsIndexRuleEmpty"
INVALIDPARAMETER_CLSINVALIDCONTENT = "InvalidParameter.ClsInvalidContent"
INVALIDPARAMETER_CLSINVALIDCONTENTTYPE = "InvalidParameter.ClsInvalidContentType"
INVALIDPARAMETER_CLSINVALIDPARAM = "InvalidParameter.ClsInvalidParam"
INVALIDPARAMETER_CLSLOGSETCONFLICT = "InvalidParameter.ClsLogsetConflict"
INVALIDPARAMETER_CLSLOGSETEMPTY = "InvalidParameter.ClsLogsetEmpty"
INVALIDPARAMETER_CLSLOGSETNOTEMPTY = "InvalidParameter.ClsLogsetNotEmpty"
INVALIDPARAMETER_CLSMISSINGAUTHORIZATION = "InvalidParameter.ClsMissingAuthorization"
INVALIDPARAMETER_CLSMISSINGCONTENT = "InvalidParameter.ClsMissingContent"
INVALIDPARAMETER_CLSSYNTAXERROR = "InvalidParameter.ClsSyntaxError"
INVALIDPARAMETER_CLSTOPICCLOSED = "InvalidParameter.ClsTopicClosed"
INVALIDPARAMETER_CLSTOPICCONFLICT = "InvalidParameter.ClsTopicConflict"
LIMITEXCEEDED_CDNCLSTOOMANYTOPICS = "LimitExceeded.CdnClsTooManyTopics"
LIMITEXCEEDED_CLSLOGSIZEEXCEED = "LimitExceeded.ClsLogSizeExceed"
LIMITEXCEEDED_CLSLOGSETEXCEED = "LimitExceeded.ClsLogsetExceed"
LIMITEXCEEDED_CLSTOPICEXCEED = "LimitExceeded.ClsTopicExceed"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_CLSINDEXNOTEXIST = "ResourceNotFound.ClsIndexNotExist"
RESOURCENOTFOUND_CLSLOGSETNOTEXIST = "ResourceNotFound.ClsLogsetNotExist"
RESOURCENOTFOUND_CLSTOPICNOTEXIST = "ResourceNotFound.ClsTopicNotExist"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNCLSNOTREGISTERED = "UnauthorizedOperation.CdnClsNotRegistered"
UNAUTHORIZEDOPERATION_CLSINVALIDAUTHORIZATION = "UnauthorizedOperation.ClsInvalidAuthorization"
UNAUTHORIZEDOPERATION_CLSUNAUTHORIZED = "UnauthorizedOperation.ClsUnauthorized"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) StartCdnDomain

func (c *Client) StartCdnDomain(request *StartCdnDomainRequest) (response *StartCdnDomainResponse, err error)

StartCdnDomain This API is used to enable the acceleration service for a disabled domain name.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERINVALIDCREDENTIAL = "UnauthorizedOperation.CdnUserInvalidCredential"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) StartCdnDomainWithContext

func (c *Client) StartCdnDomainWithContext(ctx context.Context, request *StartCdnDomainRequest) (response *StartCdnDomainResponse, err error)

StartCdnDomain This API is used to enable the acceleration service for a disabled domain name.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERINVALIDCREDENTIAL = "UnauthorizedOperation.CdnUserInvalidCredential"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) StopCdnDomain

func (c *Client) StopCdnDomain(request *StopCdnDomainRequest) (response *StopCdnDomainResponse, err error)

StopCdnDomain This API is used to suspend the acceleration service for a domain name.

Note: after the acceleration service has been suspended, requests to the cache node will return a 404 error. In order to avoid impact to your business, please move the domain name to another service before suspending the acceleration service.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"
INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) StopCdnDomainWithContext

func (c *Client) StopCdnDomainWithContext(ctx context.Context, request *StopCdnDomainRequest) (response *StopCdnDomainResponse, err error)

StopCdnDomain This API is used to suspend the acceleration service for a domain name.

Note: after the acceleration service has been suspended, requests to the cache node will return a 404 error. In order to avoid impact to your business, please move the domain name to another service before suspending the acceleration service.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTHASSPECIALCONFIG = "InvalidParameter.CdnHostHasSpecialConfig"
INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"
UNSUPPORTEDOPERATION_OPNOAUTH = "UnsupportedOperation.OpNoAuth"

func (*Client) UpdateDomainConfig

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

UpdateDomainConfig This API is used to modify the configuration of CDN acceleration domain names.

Note: To update complex configuration items, all attributes of the object must be specified, or the default values are used. We recommend calling the querying API to get attributes before modifying and passing them to this API.

The input parameters of this API are not reported to CloudAudit as it may contain sensitive data, such as keys and secrets.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"
INVALIDPARAMETER_BANDLIMITREQUIREDMAINLAND = "InvalidParameter.BandLimitRequiredMainland"
INVALIDPARAMETER_BANDWIDTHALERTCOUNTERMEASURECONFLICTORIGINTYPE = "InvalidParameter.BandwidthAlertCounterMeasureConflictOriginType"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNCONFIGINVALIDCACHE = "InvalidParameter.CdnConfigInvalidCache"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMSERVICETYPE = "InvalidParameter.CdnInvalidParamServiceType"
INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"
INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
INVALIDPARAMETER_PATHREGEXTOOMANYSUBPATTERN = "InvalidParameter.PathRegexTooManySubPattern"
INVALIDPARAMETER_REMOTEAUTHINVALIDPLATFORM = "InvalidParameter.RemoteAuthInvalidPlatform"
INVALIDPARAMETER_REMOTEAUTHINVALIDPROTOCOL = "InvalidParameter.RemoteAuthInvalidProtocol"
LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
OPERATIONDENIED_SHARECACHEAREADNSNOTMATCH = "OperationDenied.ShareCacheAreaDnsNotMatch"
RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINMAINLAND = "ResourceUnavailable.CdnHostBelongsToOthersInMainland"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINOVERSEAS = "ResourceUnavailable.CdnHostBelongsToOthersInOverseas"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) UpdateDomainConfigWithContext

func (c *Client) UpdateDomainConfigWithContext(ctx context.Context, request *UpdateDomainConfigRequest) (response *UpdateDomainConfigResponse, err error)

UpdateDomainConfig This API is used to modify the configuration of CDN acceleration domain names.

Note: To update complex configuration items, all attributes of the object must be specified, or the default values are used. We recommend calling the querying API to get attributes before modifying and passing them to this API.

The input parameters of this API are not reported to CloudAudit as it may contain sensitive data, such as keys and secrets.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CAMSYSTEMERROR = "InternalError.CamSystemError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNQUERYSYSTEMERROR = "InternalError.CdnQuerySystemError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_ERROR = "InternalError.Error"
INTERNALERROR_INVALIDERRORCODE = "InternalError.InvalidErrorCode"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"
INVALIDPARAMETER_BANDLIMITREQUIREDMAINLAND = "InvalidParameter.BandLimitRequiredMainland"
INVALIDPARAMETER_BANDWIDTHALERTCOUNTERMEASURECONFLICTORIGINTYPE = "InvalidParameter.BandwidthAlertCounterMeasureConflictOriginType"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNCERTINFONOTFOUND = "InvalidParameter.CdnCertInfoNotFound"
INVALIDPARAMETER_CDNCONFIGINVALIDCACHE = "InvalidParameter.CdnConfigInvalidCache"
INVALIDPARAMETER_CDNHOSTINVALIDMIDDLECONFIG = "InvalidParameter.CdnHostInvalidMiddleConfig"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNINVALIDPARAMSERVICETYPE = "InvalidParameter.CdnInvalidParamServiceType"
INVALIDPARAMETER_CDNKEYRULESEXCLUDECUSTOMREQUIRESFULLLEGO = "InvalidParameter.CdnKeyRulesExcludeCustomRequiresFullLego"
INVALIDPARAMETER_CDNKEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.CdnKeyRulesInvalidQueryStringValue"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
INVALIDPARAMETER_CDNSTATINVALIDPROJECTID = "InvalidParameter.CdnStatInvalidProjectId"
INVALIDPARAMETER_CDNSTATTOOMANYDOMAINS = "InvalidParameter.CdnStatTooManyDomains"
INVALIDPARAMETER_PATHREGEXTOOMANYSUBPATTERN = "InvalidParameter.PathRegexTooManySubPattern"
INVALIDPARAMETER_REMOTEAUTHINVALIDPLATFORM = "InvalidParameter.RemoteAuthInvalidPlatform"
INVALIDPARAMETER_REMOTEAUTHINVALIDPROTOCOL = "InvalidParameter.RemoteAuthInvalidProtocol"
LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = "LimitExceeded.CdnConfigTooManyCacheRules"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
OPERATIONDENIED_SHARECACHEAREADNSNOTMATCH = "OperationDenied.ShareCacheAreaDnsNotMatch"
RESOURCEINUSE_CDNHOSTEXISTS = "ResourceInUse.CdnHostExists"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINMAINLAND = "ResourceUnavailable.CdnHostBelongsToOthersInMainland"
RESOURCEUNAVAILABLE_CDNHOSTBELONGSTOOTHERSINOVERSEAS = "ResourceUnavailable.CdnHostBelongsToOthersInOverseas"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_CDNHOSTISNOTOFFLINE = "ResourceUnavailable.CdnHostIsNotOffline"
RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTINICPBLACKLIST = "UnauthorizedOperation.CdnHostInIcpBlacklist"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_CDNTAGUNAUTHORIZED = "UnauthorizedOperation.CdnTagUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERAUTHFAIL = "UnauthorizedOperation.CdnUserAuthFail"
UNAUTHORIZEDOPERATION_CDNUSERAUTHWAIT = "UnauthorizedOperation.CdnUserAuthWait"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) UpdatePayType

func (c *Client) UpdatePayType(request *UpdatePayTypeRequest) (response *UpdatePayTypeResponse, err error)

UpdatePayType This API is used to modify the billing mode of an account. At present, the billing mode of accounts on a monthly billing cycle and sub-accounts cannot be modified.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) UpdatePayTypeWithContext

func (c *Client) UpdatePayTypeWithContext(ctx context.Context, request *UpdatePayTypeRequest) (response *UpdatePayTypeResponse, err error)

UpdatePayType This API is used to modify the billing mode of an account. At present, the billing mode of accounts on a monthly billing cycle and sub-accounts cannot be modified.

error code that may be returned:

INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISISOLATED = "UnauthorizedOperation.CdnUserIsIsolated"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_OPNOAUTH = "UnauthorizedOperation.OpNoAuth"
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = "UnauthorizedOperation.OperationTooOften"

func (*Client) UpdateScdnDomain

func (c *Client) UpdateScdnDomain(request *UpdateScdnDomainRequest) (response *UpdateScdnDomainResponse, err error)

UpdateScdnDomain This API is used to modify security configurations of SCDN acceleration domain names.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_SCDNUSERNOPACKAGE = "InternalError.ScdnUserNoPackage"
INTERNALERROR_SCDNUSERSUSPEND = "InternalError.ScdnUserSuspend"
INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTINTERNALHOST = "InvalidParameter.CdnHostInternalHost"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_SCDNUSERNOPACKAGE = "ResourceUnavailable.ScdnUserNoPackage"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"

func (*Client) UpdateScdnDomainWithContext

func (c *Client) UpdateScdnDomainWithContext(ctx context.Context, request *UpdateScdnDomainRequest) (response *UpdateScdnDomainResponse, err error)

UpdateScdnDomain This API is used to modify security configurations of SCDN acceleration domain names.

error code that may be returned:

FAILEDOPERATION_CDNCONFIGERROR = "FailedOperation.CdnConfigError"
INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError"
INTERNALERROR_CDNDBERROR = "InternalError.CdnDbError"
INTERNALERROR_CDNSYSTEMERROR = "InternalError.CdnSystemError"
INTERNALERROR_SCDNUSERNOPACKAGE = "InternalError.ScdnUserNoPackage"
INTERNALERROR_SCDNUSERSUSPEND = "InternalError.ScdnUserSuspend"
INVALIDPARAMETER_ACCESSPORTOPENEDHTTPS = "InvalidParameter.AccessPortOpenedHttps"
INVALIDPARAMETER_CDNSTATUSINVALIDDOMAIN = "InvalidParameter.CDNStatusInvalidDomain"
INVALIDPARAMETER_CDNHOSTINTERNALHOST = "InvalidParameter.CdnHostInternalHost"
INVALIDPARAMETER_CDNHOSTINVALIDSTATUS = "InvalidParameter.CdnHostInvalidStatus"
INVALIDPARAMETER_CDNINTERFACEERROR = "InvalidParameter.CdnInterfaceError"
INVALIDPARAMETER_CDNPARAMERROR = "InvalidParameter.CdnParamError"
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = "LimitExceeded.CdnHostOpTooOften"
RESOURCEINUSE_CDNOPINPROGRESS = "ResourceInUse.CdnOpInProgress"
RESOURCENOTFOUND_CDNHOSTNOTEXISTS = "ResourceNotFound.CdnHostNotExists"
RESOURCENOTFOUND_CDNUSERNOTEXISTS = "ResourceNotFound.CdnUserNotExists"
RESOURCEUNAVAILABLE_CDNHOSTISLOCKED = "ResourceUnavailable.CdnHostIsLocked"
RESOURCEUNAVAILABLE_SCDNUSERNOPACKAGE = "ResourceUnavailable.ScdnUserNoPackage"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNUSERISSUSPENDED = "UnauthorizedOperation.CdnUserIsSuspended"
UNAUTHORIZEDOPERATION_CDNUSERNOWHITELIST = "UnauthorizedOperation.CdnUserNoWhitelist"

type ClientCert

type ClientCert struct {
	// Client certificate
	// PEM format, requires Base64 encoding.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Certificate *string `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// Client certificate name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertName *string `json:"CertName,omitnil,omitempty" name:"CertName"`

	// Certificate expiration time
	// When this is used as an input parameter, it can be left blank.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Certificate issuance time
	// When this is used as an input parameter, it can be left blank.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"`
}

type ClsLogObject

type ClsLogObject struct {
	// Topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Topic name
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Log time
	Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Log content
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// Capture path
	Filename *string `json:"Filename,omitnil,omitempty" name:"Filename"`

	// Log source device
	Source *string `json:"Source,omitnil,omitempty" name:"Source"`
}

type ClsSearchLogs

type ClsSearchLogs struct {
	// Cursor for more search results
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// Whether all search results have been returned
	Listover *bool `json:"Listover,omitnil,omitempty" name:"Listover"`

	// Log content information
	Results []*ClsLogObject `json:"Results,omitnil,omitempty" name:"Results"`
}

type Compatibility

type Compatibility struct {
	// Compatibility flag status code.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Code *int64 `json:"Code,omitnil,omitempty" name:"Code"`
}

type Compression

type Compression struct {
	// Whether to enable smart compression. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Compression rules array
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CompressionRules []*CompressionRule `json:"CompressionRules,omitnil,omitempty" name:"CompressionRules"`
}

type CompressionRule

type CompressionRule struct {
	// true: must be set as true, enables compression
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Compress *bool `json:"Compress,omitnil,omitempty" name:"Compress"`

	// The minimum file size to trigger compression (in bytes)
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MinLength *int64 `json:"MinLength,omitnil,omitempty" name:"MinLength"`

	// The maximum file size to trigger compression (in bytes).
	// The maximum value is 30 MB.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxLength *int64 `json:"MaxLength,omitnil,omitempty" name:"MaxLength"`

	// File compression algorithm
	// `gzip`: Gzip compression
	// `brotli`: Brotli compression
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Algorithms []*string `json:"Algorithms,omitnil,omitempty" name:"Algorithms"`

	// Compress based on file suffix.
	// File suffixes such as jpg and txt are supported.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FileExtensions []*string `json:"FileExtensions,omitnil,omitempty" name:"FileExtensions"`

	// Rule types:
	// `all`: Apply to all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// `contentType`: Apply when the `ContentType` is specified.
	// If this field is specified, `FileExtensions` does not take effect.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `CacheType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// For `contentType`, enter `text/html`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`
}

type CookieKey

type CookieKey struct {
	// Whether to include Cookie as part of CacheKey. Values:
	// `on`: Yes
	// `off`: No
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Used cookies (separated by ';')
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type CreateClsLogTopicRequest

type CreateClsLogTopicRequest struct {
	*tchttp.BaseRequest

	// Log topic name
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Domain name region information
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`
}

func NewCreateClsLogTopicRequest

func NewCreateClsLogTopicRequest() (request *CreateClsLogTopicRequest)

func (*CreateClsLogTopicRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClsLogTopicRequest) ToJsonString

func (r *CreateClsLogTopicRequest) ToJsonString() string

type CreateClsLogTopicRequestParams

type CreateClsLogTopicRequestParams struct {
	// Log topic name
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Domain name region information
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`
}

Predefined struct for user

type CreateClsLogTopicResponse

type CreateClsLogTopicResponse struct {
	*tchttp.BaseResponse
	Response *CreateClsLogTopicResponseParams `json:"Response"`
}

func NewCreateClsLogTopicResponse

func NewCreateClsLogTopicResponse() (response *CreateClsLogTopicResponse)

func (*CreateClsLogTopicResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClsLogTopicResponse) ToJsonString

func (r *CreateClsLogTopicResponse) ToJsonString() string

type CreateClsLogTopicResponseParams

type CreateClsLogTopicResponseParams struct {
	// Topic ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateScdnFailedLogTaskRequest

type CreateScdnFailedLogTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the failed task to retry
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Region. Valid values: `mainland` and `overseas`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

func NewCreateScdnFailedLogTaskRequest

func NewCreateScdnFailedLogTaskRequest() (request *CreateScdnFailedLogTaskRequest)

func (*CreateScdnFailedLogTaskRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateScdnFailedLogTaskRequest) ToJsonString

func (r *CreateScdnFailedLogTaskRequest) ToJsonString() string

type CreateScdnFailedLogTaskRequestParams

type CreateScdnFailedLogTaskRequestParams struct {
	// ID of the failed task to retry
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Region. Valid values: `mainland` and `overseas`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

Predefined struct for user

type CreateScdnFailedLogTaskResponse

type CreateScdnFailedLogTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateScdnFailedLogTaskResponseParams `json:"Response"`
}

func NewCreateScdnFailedLogTaskResponse

func NewCreateScdnFailedLogTaskResponse() (response *CreateScdnFailedLogTaskResponse)

func (*CreateScdnFailedLogTaskResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateScdnFailedLogTaskResponse) ToJsonString

func (r *CreateScdnFailedLogTaskResponse) ToJsonString() string

type CreateScdnFailedLogTaskResponseParams

type CreateScdnFailedLogTaskResponseParams struct {
	// Creation result.
	// 0: Creation succeeded
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCdnDomainRequest

type DeleteCdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name
	// The domain name status should be `Disabled`
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewDeleteCdnDomainRequest

func NewDeleteCdnDomainRequest() (request *DeleteCdnDomainRequest)

func (*DeleteCdnDomainRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCdnDomainRequest) ToJsonString

func (r *DeleteCdnDomainRequest) ToJsonString() string

type DeleteCdnDomainRequestParams

type DeleteCdnDomainRequestParams struct {
	// Domain name
	// The domain name status should be `Disabled`
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type DeleteCdnDomainResponse

type DeleteCdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCdnDomainResponseParams `json:"Response"`
}

func NewDeleteCdnDomainResponse

func NewDeleteCdnDomainResponse() (response *DeleteCdnDomainResponse)

func (*DeleteCdnDomainResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCdnDomainResponse) ToJsonString

func (r *DeleteCdnDomainResponse) ToJsonString() string

type DeleteCdnDomainResponseParams

type DeleteCdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClsLogTopicRequest

type DeleteClsLogTopicRequest struct {
	*tchttp.BaseRequest

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

func NewDeleteClsLogTopicRequest

func NewDeleteClsLogTopicRequest() (request *DeleteClsLogTopicRequest)

func (*DeleteClsLogTopicRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClsLogTopicRequest) ToJsonString

func (r *DeleteClsLogTopicRequest) ToJsonString() string

type DeleteClsLogTopicRequestParams

type DeleteClsLogTopicRequestParams struct {
	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

Predefined struct for user

type DeleteClsLogTopicResponse

type DeleteClsLogTopicResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClsLogTopicResponseParams `json:"Response"`
}

func NewDeleteClsLogTopicResponse

func NewDeleteClsLogTopicResponse() (response *DeleteClsLogTopicResponse)

func (*DeleteClsLogTopicResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClsLogTopicResponse) ToJsonString

func (r *DeleteClsLogTopicResponse) ToJsonString() string

type DeleteClsLogTopicResponseParams

type DeleteClsLogTopicResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBillingDataRequest

type DescribeBillingDataRequest struct {
	*tchttp.BaseRequest

	// Start time of the query, e.g., 2018-09-04 10:40:00.
	// The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the query, e.g. 2018-09-04 10:40:00.
	// The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Time granularity, which can be:
	// `min`: 1-minute granularity. The query period cannot exceed 24 hours.
	// `5min`: 5-minute granularity. The query range cannot exceed 31 days.
	// `hour`: 1-hour granularity. The query period cannot exceed 31 days.
	// `day`: 1-day granularity. The query period cannot exceed 31 days.
	//
	// `min` is not supported if the `Area` field is `overseas`.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Domain name whose billing data is to be queried
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
	// If the `Domain` parameter is passed in, the `Proejct` parameter is ignored. Only the billing data of the specified domain name is returned.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Acceleration region whose billing data is to be queried:
	// `mainland`: Regions within the Chinese mainland
	// `overseas`: Regions outside the Chinese mainland
	// If this parameter is left empty, `mainland` will be used by default
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Country/region to be queried if `Area` is `overseas`
	// To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
	// If this parameter is left empty, all countries/regions will be queried
	District *int64 `json:"District,omitnil,omitempty" name:"District"`

	// Billing statistics type
	// `flux`: Bill by traffic
	// `bandwidth`: Bill by bandwidth
	// Default value: `bandwidth`
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func NewDescribeBillingDataRequest

func NewDescribeBillingDataRequest() (request *DescribeBillingDataRequest)

func (*DescribeBillingDataRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBillingDataRequest) ToJsonString

func (r *DescribeBillingDataRequest) ToJsonString() string

type DescribeBillingDataRequestParams

type DescribeBillingDataRequestParams struct {
	// Start time of the query, e.g., 2018-09-04 10:40:00.
	// The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the query, e.g. 2018-09-04 10:40:00.
	// The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Time granularity, which can be:
	// `min`: 1-minute granularity. The query period cannot exceed 24 hours.
	// `5min`: 5-minute granularity. The query range cannot exceed 31 days.
	// `hour`: 1-hour granularity. The query period cannot exceed 31 days.
	// `day`: 1-day granularity. The query period cannot exceed 31 days.
	//
	// `min` is not supported if the `Area` field is `overseas`.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Domain name whose billing data is to be queried
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
	// If the `Domain` parameter is passed in, the `Proejct` parameter is ignored. Only the billing data of the specified domain name is returned.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Acceleration region whose billing data is to be queried:
	// `mainland`: Regions within the Chinese mainland
	// `overseas`: Regions outside the Chinese mainland
	// If this parameter is left empty, `mainland` will be used by default
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Country/region to be queried if `Area` is `overseas`
	// To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
	// If this parameter is left empty, all countries/regions will be queried
	District *int64 `json:"District,omitnil,omitempty" name:"District"`

	// Billing statistics type
	// `flux`: Bill by traffic
	// `bandwidth`: Bill by bandwidth
	// Default value: `bandwidth`
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

Predefined struct for user

type DescribeBillingDataResponse

type DescribeBillingDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBillingDataResponseParams `json:"Response"`
}

func NewDescribeBillingDataResponse

func NewDescribeBillingDataResponse() (response *DescribeBillingDataResponse)

func (*DescribeBillingDataResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBillingDataResponse) ToJsonString

func (r *DescribeBillingDataResponse) ToJsonString() string

type DescribeBillingDataResponseParams

type DescribeBillingDataResponseParams struct {
	// Time granularity, which is specified by the parameter passed in during the query:
	// `min`: 1 minute
	// `5min`: 5 minutes
	// `hour`: 1 hour
	// `day`: 1 day
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Data details
	Data []*ResourceBillingData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCdnDataRequest

type DescribeCdnDataRequest struct {
	*tchttp.BaseRequest

	// Start time of the query, e.g., 2018-09-04 10:40:00.
	// The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the query, e.g. 2018-09-04 10:40:00.
	// The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the metric to query, which can be:
	// `flux`: Traffic (in bytes)
	// `fluxIn`: Upstream traffic (in bytes), only used for the `ecdn` product
	// `fluxOut`: Downstream traffic (in bytes), only used for the `ecdn` product
	// `bandwidth`: Bandwidth (in bps)
	// `bandwidthIn`: Upstream bandwidth (in bps), only used for the `ecdn` product
	// `bandwidthOut`: Downstream bandwidth (in bps), only used for the `ecdn` product
	// `request`: Number of requests
	// `hitRequest`: Number of hit requests
	// `requestHitRate`: Request hit rate (in % with two decimal digits)
	// `hitFlux`: Hit traffic (in bytes)
	// `fluxHitRate`: Traffic hit rate (in % with two decimal digits)
	// `statusCode`: Status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx status codes will be returned (in entries)
	// `2xx`: Returns the aggregate list of 2xx status codes and the data for status codes starting with 2 (in entries)
	// `3xx`: Returns the aggregate list of 3xx status codes and the data for status codes starting with 3 (in entries)
	// `4xx`: Returns the aggregate list of 4xx status codes and the data for status codes starting with 4 (in entries)
	// `5xx`: Returns the aggregate list of 5xx status codes and the data for status codes starting with 5 (in entries)
	// Specifies the status code to query. The return will be empty if the status code has never been generated.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Specifies the list of domain names to be queried
	// You can specify one or more domain names.
	// Up to 30 domain names can be queried in one request.
	// If this parameter is not specified, it means to query all domain names under the current account.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
	// Note that `Project` will be ignored if `Domains` is specified.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Sampling interval. The available options vary for different query period. See below:
	// `min`: Return data with 1-minute granularity. It’s available when the query period is  within 24 hours and `Area` is `mainland`.
	// `5min`: Return data with 5-minute granularity. It’s available when the query period is within 31 days.
	// `hour`: Return data with 1-hour granularity. It’s available when the query period is within 31 days.
	// `day`: Return data with 1-day granularity. It’s available when the query period is longer than 31 days.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// The aggregate data for multiple domain names is returned by default (false) during a multi-domain-name query.
	// You can set it to true to return the details for each Domain (the statusCode metric is currently not supported).
	Detail *bool `json:"Detail,omitnil,omitempty" name:"Detail"`

	// Specifies an ISP when you query the CDN data within the Chinese mainland. If this is left blank, all ISPs will be queried.
	// To view ISP codes, see [ISP Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)
	// Note that only one of `District`, `Isp` and `IpProtocol` can be specified.
	Isp *int64 `json:"Isp,omitnil,omitempty" name:"Isp"`

	// Specifies a province when you query the CDN data within the Chinese mainland. If this is left blank, all provinces will be queried.
	// Specifies a country/region when you query the CDN data outside the Chinese mainland. If this is left blank, all countries/regions will be queried.
	// To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8).
	// When `Area` is `mainland`, you can query by the province. Note that only one of `District`, `Isp` and `IpProtocol` can be specified.
	District *int64 `json:"District,omitnil,omitempty" name:"District"`

	// Specifies the protocol to be queried; if you leave it blank, all protocols will be queried.
	// `all`: All protocols
	// `http`: Query HTTP data
	// `https`: Query HTTPS data
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Specifies the data source to be queried. It’s only open to beta users now.
	DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"`

	// Specifies the IP protocol to be queried. If it’s not specified, data of all IP protocols are returned.
	// `all`: All protocols
	// `ipv4`: Query IPv4 data
	// `ipv6`: Query IPv6 data
	// If `IpProtocol` is specified, `District` parameter can not be specified at the same time.
	// Note: `ipv4` and `ipv6` are only available to beta users.
	IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"`

	// Specifies the service area. If it’s not specified, CDN data of the Chinese mainland are returned.
	// `mainland`: Query CDN data in the Chinese mainland.
	// `overseas`: Query CDN data outside the Chinese mainland.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specify whether to query by the region of the server or client. This parameter is valid only when `Area` is `overseas`.
	// `server`: Query by the location of server (Tencent Cloud CDN nodes)
	// `client`: Query by the location of the client (where the request devices are located)
	AreaType *string `json:"AreaType,omitnil,omitempty" name:"AreaType"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Specifies a time zone to query. The default time zone is UTC+08:00.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func NewDescribeCdnDataRequest

func NewDescribeCdnDataRequest() (request *DescribeCdnDataRequest)

func (*DescribeCdnDataRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnDataRequest) ToJsonString

func (r *DescribeCdnDataRequest) ToJsonString() string

type DescribeCdnDataRequestParams

type DescribeCdnDataRequestParams struct {
	// Start time of the query, e.g., 2018-09-04 10:40:00.
	// The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the query, e.g. 2018-09-04 10:40:00.
	// The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the metric to query, which can be:
	// `flux`: Traffic (in bytes)
	// `fluxIn`: Upstream traffic (in bytes), only used for the `ecdn` product
	// `fluxOut`: Downstream traffic (in bytes), only used for the `ecdn` product
	// `bandwidth`: Bandwidth (in bps)
	// `bandwidthIn`: Upstream bandwidth (in bps), only used for the `ecdn` product
	// `bandwidthOut`: Downstream bandwidth (in bps), only used for the `ecdn` product
	// `request`: Number of requests
	// `hitRequest`: Number of hit requests
	// `requestHitRate`: Request hit rate (in % with two decimal digits)
	// `hitFlux`: Hit traffic (in bytes)
	// `fluxHitRate`: Traffic hit rate (in % with two decimal digits)
	// `statusCode`: Status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx status codes will be returned (in entries)
	// `2xx`: Returns the aggregate list of 2xx status codes and the data for status codes starting with 2 (in entries)
	// `3xx`: Returns the aggregate list of 3xx status codes and the data for status codes starting with 3 (in entries)
	// `4xx`: Returns the aggregate list of 4xx status codes and the data for status codes starting with 4 (in entries)
	// `5xx`: Returns the aggregate list of 5xx status codes and the data for status codes starting with 5 (in entries)
	// Specifies the status code to query. The return will be empty if the status code has never been generated.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Specifies the list of domain names to be queried
	// You can specify one or more domain names.
	// Up to 30 domain names can be queried in one request.
	// If this parameter is not specified, it means to query all domain names under the current account.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
	// Note that `Project` will be ignored if `Domains` is specified.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Sampling interval. The available options vary for different query period. See below:
	// `min`: Return data with 1-minute granularity. It’s available when the query period is  within 24 hours and `Area` is `mainland`.
	// `5min`: Return data with 5-minute granularity. It’s available when the query period is within 31 days.
	// `hour`: Return data with 1-hour granularity. It’s available when the query period is within 31 days.
	// `day`: Return data with 1-day granularity. It’s available when the query period is longer than 31 days.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// The aggregate data for multiple domain names is returned by default (false) during a multi-domain-name query.
	// You can set it to true to return the details for each Domain (the statusCode metric is currently not supported).
	Detail *bool `json:"Detail,omitnil,omitempty" name:"Detail"`

	// Specifies an ISP when you query the CDN data within the Chinese mainland. If this is left blank, all ISPs will be queried.
	// To view ISP codes, see [ISP Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)
	// Note that only one of `District`, `Isp` and `IpProtocol` can be specified.
	Isp *int64 `json:"Isp,omitnil,omitempty" name:"Isp"`

	// Specifies a province when you query the CDN data within the Chinese mainland. If this is left blank, all provinces will be queried.
	// Specifies a country/region when you query the CDN data outside the Chinese mainland. If this is left blank, all countries/regions will be queried.
	// To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8).
	// When `Area` is `mainland`, you can query by the province. Note that only one of `District`, `Isp` and `IpProtocol` can be specified.
	District *int64 `json:"District,omitnil,omitempty" name:"District"`

	// Specifies the protocol to be queried; if you leave it blank, all protocols will be queried.
	// `all`: All protocols
	// `http`: Query HTTP data
	// `https`: Query HTTPS data
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Specifies the data source to be queried. It’s only open to beta users now.
	DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"`

	// Specifies the IP protocol to be queried. If it’s not specified, data of all IP protocols are returned.
	// `all`: All protocols
	// `ipv4`: Query IPv4 data
	// `ipv6`: Query IPv6 data
	// If `IpProtocol` is specified, `District` parameter can not be specified at the same time.
	// Note: `ipv4` and `ipv6` are only available to beta users.
	IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"`

	// Specifies the service area. If it’s not specified, CDN data of the Chinese mainland are returned.
	// `mainland`: Query CDN data in the Chinese mainland.
	// `overseas`: Query CDN data outside the Chinese mainland.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specify whether to query by the region of the server or client. This parameter is valid only when `Area` is `overseas`.
	// `server`: Query by the location of server (Tencent Cloud CDN nodes)
	// `client`: Query by the location of the client (where the request devices are located)
	AreaType *string `json:"AreaType,omitnil,omitempty" name:"AreaType"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Specifies a time zone to query. The default time zone is UTC+08:00.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

Predefined struct for user

type DescribeCdnDataResponse

type DescribeCdnDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCdnDataResponseParams `json:"Response"`
}

func NewDescribeCdnDataResponse

func NewDescribeCdnDataResponse() (response *DescribeCdnDataResponse)

func (*DescribeCdnDataResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnDataResponse) ToJsonString

func (r *DescribeCdnDataResponse) ToJsonString() string

type DescribeCdnDataResponseParams

type DescribeCdnDataResponseParams struct {
	// Time granularity of the returned data.
	// `min`: 1 minute
	// `5min`: 5 minutes
	// `hour`: 1 hour
	// `day`: 1 day
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Returned data details of the specified conditional query
	Data []*ResourceData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCdnDomainLogsRequest

type DescribeCdnDomainLogsRequest struct {
	*tchttp.BaseRequest

	// Specifies a domain name for the query
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Starting time, such as `2019-09-04 00:00:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as `2019-09-04 12:00:00`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1,000
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies a region for the query.
	// `mainland`: specifies to return the download link of logs on acceleration within Mainland China;
	// `overseas`: specifies to return the download link of logs on acceleration outside Mainland China;
	// `global`: specifies to return a download link of logs on acceleration within Mainland China and a link of logs on acceleration outside Mainland China.
	// Default value: `mainland`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies the type of logs to download (only access logs supported).
	// `access`: Access logs.
	LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"`
}

func NewDescribeCdnDomainLogsRequest

func NewDescribeCdnDomainLogsRequest() (request *DescribeCdnDomainLogsRequest)

func (*DescribeCdnDomainLogsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnDomainLogsRequest) ToJsonString

func (r *DescribeCdnDomainLogsRequest) ToJsonString() string

type DescribeCdnDomainLogsRequestParams

type DescribeCdnDomainLogsRequestParams struct {
	// Specifies a domain name for the query
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Starting time, such as `2019-09-04 00:00:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as `2019-09-04 12:00:00`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1,000
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies a region for the query.
	// `mainland`: specifies to return the download link of logs on acceleration within Mainland China;
	// `overseas`: specifies to return the download link of logs on acceleration outside Mainland China;
	// `global`: specifies to return a download link of logs on acceleration within Mainland China and a link of logs on acceleration outside Mainland China.
	// Default value: `mainland`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies the type of logs to download (only access logs supported).
	// `access`: Access logs.
	LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"`
}

Predefined struct for user

type DescribeCdnDomainLogsResponse

type DescribeCdnDomainLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCdnDomainLogsResponseParams `json:"Response"`
}

func NewDescribeCdnDomainLogsResponse

func NewDescribeCdnDomainLogsResponse() (response *DescribeCdnDomainLogsResponse)

func (*DescribeCdnDomainLogsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnDomainLogsResponse) ToJsonString

func (r *DescribeCdnDomainLogsResponse) ToJsonString() string

type DescribeCdnDomainLogsResponseParams

type DescribeCdnDomainLogsResponseParams struct {
	// Download link of the log package.
	// You can open the link to download a .gz log package that contains all log files without extension.
	DomainLogs []*DomainLog `json:"DomainLogs,omitnil,omitempty" name:"DomainLogs"`

	// Total number of entries obtained
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCdnIpRequest

type DescribeCdnIpRequest struct {
	*tchttp.BaseRequest

	// List of IPs to be queried
	Ips []*string `json:"Ips,omitnil,omitempty" name:"Ips"`
}

func NewDescribeCdnIpRequest

func NewDescribeCdnIpRequest() (request *DescribeCdnIpRequest)

func (*DescribeCdnIpRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnIpRequest) ToJsonString

func (r *DescribeCdnIpRequest) ToJsonString() string

type DescribeCdnIpRequestParams

type DescribeCdnIpRequestParams struct {
	// List of IPs to be queried
	Ips []*string `json:"Ips,omitnil,omitempty" name:"Ips"`
}

Predefined struct for user

type DescribeCdnIpResponse

type DescribeCdnIpResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCdnIpResponseParams `json:"Response"`
}

func NewDescribeCdnIpResponse

func NewDescribeCdnIpResponse() (response *DescribeCdnIpResponse)

func (*DescribeCdnIpResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnIpResponse) ToJsonString

func (r *DescribeCdnIpResponse) ToJsonString() string

type DescribeCdnIpResponseParams

type DescribeCdnIpResponseParams struct {
	// Node ownership details
	Ips []*CdnIp `json:"Ips,omitnil,omitempty" name:"Ips"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCdnOriginIpRequest

type DescribeCdnOriginIpRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeCdnOriginIpRequest

func NewDescribeCdnOriginIpRequest() (request *DescribeCdnOriginIpRequest)

func (*DescribeCdnOriginIpRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnOriginIpRequest) ToJsonString

func (r *DescribeCdnOriginIpRequest) ToJsonString() string

type DescribeCdnOriginIpRequestParams

type DescribeCdnOriginIpRequestParams struct {
}

Predefined struct for user

type DescribeCdnOriginIpResponse

type DescribeCdnOriginIpResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCdnOriginIpResponseParams `json:"Response"`
}

func NewDescribeCdnOriginIpResponse

func NewDescribeCdnOriginIpResponse() (response *DescribeCdnOriginIpResponse)

func (*DescribeCdnOriginIpResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCdnOriginIpResponse) ToJsonString

func (r *DescribeCdnOriginIpResponse) ToJsonString() string

type DescribeCdnOriginIpResponseParams

type DescribeCdnOriginIpResponseParams struct {
	// Intermediate node IP details
	Ips []*OriginIp `json:"Ips,omitnil,omitempty" name:"Ips"`

	// Number of intermediate node IPs
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCertDomainsRequest

type DescribeCertDomainsRequest struct {
	*tchttp.BaseRequest

	// Base64-encoded string of certificate in PEM format
	Cert *string `json:"Cert,omitnil,omitempty" name:"Cert"`

	// Managed certificate ID. `Cert` and `CertId` cannot be both empty. If they’re both filled in, `CerID` prevails.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Product of the domain name, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`
}

func NewDescribeCertDomainsRequest

func NewDescribeCertDomainsRequest() (request *DescribeCertDomainsRequest)

func (*DescribeCertDomainsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertDomainsRequest) ToJsonString

func (r *DescribeCertDomainsRequest) ToJsonString() string

type DescribeCertDomainsRequestParams

type DescribeCertDomainsRequestParams struct {
	// Base64-encoded string of certificate in PEM format
	Cert *string `json:"Cert,omitnil,omitempty" name:"Cert"`

	// Managed certificate ID. `Cert` and `CertId` cannot be both empty. If they’re both filled in, `CerID` prevails.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Product of the domain name, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`
}

Predefined struct for user

type DescribeCertDomainsResponse

type DescribeCertDomainsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertDomainsResponseParams `json:"Response"`
}

func NewDescribeCertDomainsResponse

func NewDescribeCertDomainsResponse() (response *DescribeCertDomainsResponse)

func (*DescribeCertDomainsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertDomainsResponse) ToJsonString

func (r *DescribeCertDomainsResponse) ToJsonString() string

type DescribeCertDomainsResponseParams

type DescribeCertDomainsResponseParams struct {
	// List of domain names connected to CDN
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// List of CDN domain names with certificates configured
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertifiedDomains []*string `json:"CertifiedDomains,omitnil,omitempty" name:"CertifiedDomains"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomainsConfigRequest

type DescribeDomainsConfigRequest struct {
	*tchttp.BaseRequest

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query condition filter, complex type.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting rules
	Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"`
}

func NewDescribeDomainsConfigRequest

func NewDescribeDomainsConfigRequest() (request *DescribeDomainsConfigRequest)

func (*DescribeDomainsConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsConfigRequest) ToJsonString

func (r *DescribeDomainsConfigRequest) ToJsonString() string

type DescribeDomainsConfigRequestParams

type DescribeDomainsConfigRequestParams struct {
	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query condition filter, complex type.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting rules
	Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"`
}

Predefined struct for user

type DescribeDomainsConfigResponse

type DescribeDomainsConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainsConfigResponseParams `json:"Response"`
}

func NewDescribeDomainsConfigResponse

func NewDescribeDomainsConfigResponse() (response *DescribeDomainsConfigResponse)

func (*DescribeDomainsConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsConfigResponse) ToJsonString

func (r *DescribeDomainsConfigResponse) ToJsonString() string

type DescribeDomainsConfigResponseParams

type DescribeDomainsConfigResponseParams struct {
	// List of domain names
	Domains []*DetailDomain `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Number of domain names that match the specified query conditions
	// Used for paginated queries
	TotalNumber *int64 `json:"TotalNumber,omitnil,omitempty" name:"TotalNumber"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	*tchttp.BaseRequest

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query condition filter, which supports complex type.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeDomainsRequest

func NewDescribeDomainsRequest() (request *DescribeDomainsRequest)

func (*DescribeDomainsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsRequest) ToJsonString

func (r *DescribeDomainsRequest) ToJsonString() string

type DescribeDomainsRequestParams

type DescribeDomainsRequestParams struct {
	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query condition filter, which supports complex type.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainsResponseParams `json:"Response"`
}

func NewDescribeDomainsResponse

func NewDescribeDomainsResponse() (response *DescribeDomainsResponse)

func (*DescribeDomainsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsResponse) ToJsonString

func (r *DescribeDomainsResponse) ToJsonString() string

type DescribeDomainsResponseParams

type DescribeDomainsResponseParams struct {
	// List of domain names
	Domains []*BriefDomain `json:"Domains,omitnil,omitempty" name:"Domains"`

	// The number of domain names that matched the query conditions
	// Used for paginated queries
	TotalNumber *int64 `json:"TotalNumber,omitnil,omitempty" name:"TotalNumber"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIpStatusRequest

type DescribeIpStatusRequest struct {
	*tchttp.BaseRequest

	// Acceleration domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Node type.
	// `edge`: Edge server
	// `last`: Intermediate server
	// If this parameter is left empty, edge server information will be returned by default
	Layer *string `json:"Layer,omitnil,omitempty" name:"Layer"`

	// Specifies a region to query.
	// `mainland`: Nodes in the Chinese mainland
	// `overseas`: Nodes outside the Chinese mainland
	// `global`: Global nodes
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Whether to return a value as an IP range
	Segment *bool `json:"Segment,omitnil,omitempty" name:"Segment"`

	ShowIpv6 *bool `json:"ShowIpv6,omitnil,omitempty" name:"ShowIpv6"`

	// Whether to abbreviate the IPv6 address.
	AbbreviationIpv6 *bool `json:"AbbreviationIpv6,omitnil,omitempty" name:"AbbreviationIpv6"`
}

func NewDescribeIpStatusRequest

func NewDescribeIpStatusRequest() (request *DescribeIpStatusRequest)

func (*DescribeIpStatusRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIpStatusRequest) ToJsonString

func (r *DescribeIpStatusRequest) ToJsonString() string

type DescribeIpStatusRequestParams

type DescribeIpStatusRequestParams struct {
	// Acceleration domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Node type.
	// `edge`: Edge server
	// `last`: Intermediate server
	// If this parameter is left empty, edge server information will be returned by default
	Layer *string `json:"Layer,omitnil,omitempty" name:"Layer"`

	// Specifies a region to query.
	// `mainland`: Nodes in the Chinese mainland
	// `overseas`: Nodes outside the Chinese mainland
	// `global`: Global nodes
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Whether to return a value as an IP range
	Segment *bool `json:"Segment,omitnil,omitempty" name:"Segment"`

	ShowIpv6 *bool `json:"ShowIpv6,omitnil,omitempty" name:"ShowIpv6"`

	// Whether to abbreviate the IPv6 address.
	AbbreviationIpv6 *bool `json:"AbbreviationIpv6,omitnil,omitempty" name:"AbbreviationIpv6"`
}

Predefined struct for user

type DescribeIpStatusResponse

type DescribeIpStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIpStatusResponseParams `json:"Response"`
}

func NewDescribeIpStatusResponse

func NewDescribeIpStatusResponse() (response *DescribeIpStatusResponse)

func (*DescribeIpStatusResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIpStatusResponse) ToJsonString

func (r *DescribeIpStatusResponse) ToJsonString() string

type DescribeIpStatusResponseParams

type DescribeIpStatusResponseParams struct {
	// Node list
	Ips []*IpStatus `json:"Ips,omitnil,omitempty" name:"Ips"`

	// Total number of nodes
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIpVisitRequest

type DescribeIpVisitRequest struct {
	*tchttp.BaseRequest

	// Query start time, such as 2018-09-04 10:40:10; the returned result is later than or equal to the specified time.
	// According to the specified time granularity, forward rounding is applied; for example, if the query start time is 2018-09-04 10:40:10 and the query time granularity is 5 minutes, the time for the first returned entry will be 2018-09-04 10:40:00.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, such as 2018-09-04 10:40:10; the returned result is earlier than or equal to the specified time.
	// According to the specified time granularity, forward rounding is applied; for example, if the query start time is 2018-09-04 10:40:10 and the query time granularity is 5 minutes, the time for the last returned entry will be 2018-09-04 10:40:00.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// Please note that if domain names are specified, this parameter will be ignored.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Sampling interval in minutes. The available options vary for different query period. See below:
	// 5min: 5 minutes. If the query period is within 24 hours, `5min` will be used by default.
	// day: 1 day. If the query period is longer than 24 hours, `day` will be used by default.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
}

func NewDescribeIpVisitRequest

func NewDescribeIpVisitRequest() (request *DescribeIpVisitRequest)

func (*DescribeIpVisitRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIpVisitRequest) ToJsonString

func (r *DescribeIpVisitRequest) ToJsonString() string

type DescribeIpVisitRequestParams

type DescribeIpVisitRequestParams struct {
	// Query start time, such as 2018-09-04 10:40:10; the returned result is later than or equal to the specified time.
	// According to the specified time granularity, forward rounding is applied; for example, if the query start time is 2018-09-04 10:40:10 and the query time granularity is 5 minutes, the time for the first returned entry will be 2018-09-04 10:40:00.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, such as 2018-09-04 10:40:10; the returned result is earlier than or equal to the specified time.
	// According to the specified time granularity, forward rounding is applied; for example, if the query start time is 2018-09-04 10:40:10 and the query time granularity is 5 minutes, the time for the last returned entry will be 2018-09-04 10:40:00.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// Please note that if domain names are specified, this parameter will be ignored.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Sampling interval in minutes. The available options vary for different query period. See below:
	// 5min: 5 minutes. If the query period is within 24 hours, `5min` will be used by default.
	// day: 1 day. If the query period is longer than 24 hours, `day` will be used by default.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
}

Predefined struct for user

type DescribeIpVisitResponse

type DescribeIpVisitResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIpVisitResponseParams `json:"Response"`
}

func NewDescribeIpVisitResponse

func NewDescribeIpVisitResponse() (response *DescribeIpVisitResponse)

func (*DescribeIpVisitResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIpVisitResponse) ToJsonString

func (r *DescribeIpVisitResponse) ToJsonString() string

type DescribeIpVisitResponseParams

type DescribeIpVisitResponseParams struct {
	// Time granularity of data statistics, which supports 5min (5 minutes) and day (1 day).
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Origin-pull data details of each resource.
	Data []*ResourceData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMapInfoRequest

type DescribeMapInfoRequest struct {
	*tchttp.BaseRequest

	// Query type:
	// `isp`: queries ISP codes
	// `district`: queries codes of provinces (Mainland China) or countries/regions (outside Mainland China)
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

func NewDescribeMapInfoRequest

func NewDescribeMapInfoRequest() (request *DescribeMapInfoRequest)

func (*DescribeMapInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMapInfoRequest) ToJsonString

func (r *DescribeMapInfoRequest) ToJsonString() string

type DescribeMapInfoRequestParams

type DescribeMapInfoRequestParams struct {
	// Query type:
	// `isp`: queries ISP codes
	// `district`: queries codes of provinces (Mainland China) or countries/regions (outside Mainland China)
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

Predefined struct for user

type DescribeMapInfoResponse

type DescribeMapInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMapInfoResponseParams `json:"Response"`
}

func NewDescribeMapInfoResponse

func NewDescribeMapInfoResponse() (response *DescribeMapInfoResponse)

func (*DescribeMapInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMapInfoResponse) ToJsonString

func (r *DescribeMapInfoResponse) ToJsonString() string

type DescribeMapInfoResponseParams

type DescribeMapInfoResponseParams struct {
	// Array of mappings.
	MapInfoList []*MapInfo `json:"MapInfoList,omitnil,omitempty" name:"MapInfoList"`

	// Mapping relationship between server region ID and sub-region ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ServerRegionRelation []*RegionMapRelation `json:"ServerRegionRelation,omitnil,omitempty" name:"ServerRegionRelation"`

	// Mapping relationship between client region ID and sub-region ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ClientRegionRelation []*RegionMapRelation `json:"ClientRegionRelation,omitnil,omitempty" name:"ClientRegionRelation"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOriginDataRequest

type DescribeOriginDataRequest struct {
	*tchttp.BaseRequest

	// Start time of the query, e.g., 2018-09-04 10:40:00.
	// The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the query, e.g. 2018-09-04 10:40:00.
	// The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the metric to query, which can be:
	// `flux`: Origin-pull traffic (in bytes)
	// `bandwidth`: Origin-pull bandwidth (in bps)
	// `request`: Number of origin-pull requests
	// `failRequest`: Number of failed origin-pull requests
	// `failRate`: Origin-pull failure rate (in %)
	// `statusCode`: Origin-pull status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx origin-pull status codes will be returned (in entries)
	// `2xx`: Returns the aggregate list of 2xx origin-pull status codes and the data for origin-pull status codes starting with 2 (in entries)
	// `3xx`: Returns the aggregate list of 3xx origin-pull status codes and the data for origin-pull status codes starting with 3 (in entries)
	// `4xx`: Returns the aggregate list of 4xx origin-pull status codes and the data for origin-pull status codes starting with 4 (in entries)
	// `5xx`: Returns the aggregate list of 5xx origin-pull status codes and the data for origin-pull status codes starting with 5 (in entries)
	// It is supported to specify a status code for query. The return will be empty if the status code has never been generated.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Specifies the list of domain names to query. You can query up to 30 domain names at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
	// If the domain name is not specified, the specified project will be queried. Up to 30 acceleration domain names can be queried at a time.
	// If the domain name information is specified, this parameter can be ignored.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Time granularity, which can be:
	// `min`: Return data with 1-minute granularity. It’s available when the query period is  within 24 hours and `Area` is `mainland`.
	// `5min`: Return data with 5-minute granularity. It’s available when the query period is within 31 days.
	// `hour`: Return data with 1-hour granularity. It’s available when the query period is within 31 days.
	// `day`: Return data with 1-day granularity. It’s available when the query period is longer than 31 days.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in.
	// You can set it to true to return the details for each Domain (the statusCode metric is currently not supported)
	Detail *bool `json:"Detail,omitnil,omitempty" name:"Detail"`

	// Specifies the service region. If this value is left blank, it means to query CDN data within the Chinese mainland.
	// `mainland`: Query CDN data in the Chinese mainland.
	// `overseas`: Query CDN data outside the Chinese mainland.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies a time zone to query. The default time zone is UTC+08:00.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func NewDescribeOriginDataRequest

func NewDescribeOriginDataRequest() (request *DescribeOriginDataRequest)

func (*DescribeOriginDataRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOriginDataRequest) ToJsonString

func (r *DescribeOriginDataRequest) ToJsonString() string

type DescribeOriginDataRequestParams

type DescribeOriginDataRequestParams struct {
	// Start time of the query, e.g., 2018-09-04 10:40:00.
	// The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the query, e.g. 2018-09-04 10:40:00.
	// The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
	// The period between the start time and end time can be up to 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the metric to query, which can be:
	// `flux`: Origin-pull traffic (in bytes)
	// `bandwidth`: Origin-pull bandwidth (in bps)
	// `request`: Number of origin-pull requests
	// `failRequest`: Number of failed origin-pull requests
	// `failRate`: Origin-pull failure rate (in %)
	// `statusCode`: Origin-pull status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx origin-pull status codes will be returned (in entries)
	// `2xx`: Returns the aggregate list of 2xx origin-pull status codes and the data for origin-pull status codes starting with 2 (in entries)
	// `3xx`: Returns the aggregate list of 3xx origin-pull status codes and the data for origin-pull status codes starting with 3 (in entries)
	// `4xx`: Returns the aggregate list of 4xx origin-pull status codes and the data for origin-pull status codes starting with 4 (in entries)
	// `5xx`: Returns the aggregate list of 5xx origin-pull status codes and the data for origin-pull status codes starting with 5 (in entries)
	// It is supported to specify a status code for query. The return will be empty if the status code has never been generated.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Specifies the list of domain names to query. You can query up to 30 domain names at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
	// If the domain name is not specified, the specified project will be queried. Up to 30 acceleration domain names can be queried at a time.
	// If the domain name information is specified, this parameter can be ignored.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// Time granularity, which can be:
	// `min`: Return data with 1-minute granularity. It’s available when the query period is  within 24 hours and `Area` is `mainland`.
	// `5min`: Return data with 5-minute granularity. It’s available when the query period is within 31 days.
	// `hour`: Return data with 1-hour granularity. It’s available when the query period is within 31 days.
	// `day`: Return data with 1-day granularity. It’s available when the query period is longer than 31 days.
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in.
	// You can set it to true to return the details for each Domain (the statusCode metric is currently not supported)
	Detail *bool `json:"Detail,omitnil,omitempty" name:"Detail"`

	// Specifies the service region. If this value is left blank, it means to query CDN data within the Chinese mainland.
	// `mainland`: Query CDN data in the Chinese mainland.
	// `overseas`: Query CDN data outside the Chinese mainland.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies a time zone to query. The default time zone is UTC+08:00.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

Predefined struct for user

type DescribeOriginDataResponse

type DescribeOriginDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOriginDataResponseParams `json:"Response"`
}

func NewDescribeOriginDataResponse

func NewDescribeOriginDataResponse() (response *DescribeOriginDataResponse)

func (*DescribeOriginDataResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOriginDataResponse) ToJsonString

func (r *DescribeOriginDataResponse) ToJsonString() string

type DescribeOriginDataResponseParams

type DescribeOriginDataResponseParams struct {
	// Time granularity of data statistics, which supports `min` (1 minute), `5min` (5 minutes), `hour` (1 hour), and `day` (1 day).
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Origin-pull data details of each resource.
	Data []*ResourceOriginData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePayTypeRequest

type DescribePayTypeRequest struct {
	*tchttp.BaseRequest

	// Specifies the service area.
	// `mainland`: Queries billing methods available in the Chinese mainland.
	// `overseas`: Queries billing methods available in the regions outside the Chinese mainland.
	// `Global`: Queries billing methods available across the globe.
	// If it is not specified, it defaults to `mainland`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Specifies resources.
	// `flux`: Traffic package
	// `https`: HTTPS requests
	// It defaults to `flux` if not specified.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

func NewDescribePayTypeRequest

func NewDescribePayTypeRequest() (request *DescribePayTypeRequest)

func (*DescribePayTypeRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePayTypeRequest) ToJsonString

func (r *DescribePayTypeRequest) ToJsonString() string

type DescribePayTypeRequestParams

type DescribePayTypeRequestParams struct {
	// Specifies the service area.
	// `mainland`: Queries billing methods available in the Chinese mainland.
	// `overseas`: Queries billing methods available in the regions outside the Chinese mainland.
	// `Global`: Queries billing methods available across the globe.
	// If it is not specified, it defaults to `mainland`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Specifies resources.
	// `flux`: Traffic package
	// `https`: HTTPS requests
	// It defaults to `flux` if not specified.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

Predefined struct for user

type DescribePayTypeResponse

type DescribePayTypeResponse struct {
	*tchttp.BaseResponse
	Response *DescribePayTypeResponseParams `json:"Response"`
}

func NewDescribePayTypeResponse

func NewDescribePayTypeResponse() (response *DescribePayTypeResponse)

func (*DescribePayTypeResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePayTypeResponse) ToJsonString

func (r *DescribePayTypeResponse) ToJsonString() string

type DescribePayTypeResponseParams

type DescribePayTypeResponseParams struct {
	// Billing type
	// `flux`: Bill by traffic
	// `bandwidth`: Bill by bandwidth
	// `request`: Bill by the number of requests
	// `flux_sep`: Bill by dynamic and static traffic separately
	// `bandwidth_sep`: Bill by dynamic and static bandwidth separately
	// If you incur any usage when switching the billing mode, the new mode will take effect the next day. If no usage is incurred, the new mode takes effect immediately.
	PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"`

	// Billing cycle
	// `day`: Daily
	// `month`: Monthly
	// `hour`: Hourly
	BillingCycle *string `json:"BillingCycle,omitnil,omitempty" name:"BillingCycle"`

	// Statistic data
	// `monthMax`: Billed monthly based on the monthly average daily peak traffic
	// `day95`: Billed monthly based on the daily 95th percentile bandwidth
	// `month95`: Billed monthly based on the monthly 95th percentile bandwidth
	// `sum`: Billed daily/monthly based on the total traffic or requests
	// `max`: Billed daily based on the peak bandwidth
	StatType *string `json:"StatType,omitnil,omitempty" name:"StatType"`

	// Regionl billing
	// `all`: Unified billing for all regions
	// `multiple`: Region-specific billing
	RegionType *string `json:"RegionType,omitnil,omitempty" name:"RegionType"`

	// Current billing mode
	// `flux`: Bill by traffic
	// `bandwidth`: Bill by bandwidth
	// `request`: Bill by the number of requests
	// `flux_sep`: Bill by dynamic and static traffic separately
	// `bandwidth_sep`: Bill by dynamic and static bandwidth separately
	CurrentPayType *string `json:"CurrentPayType,omitnil,omitempty" name:"CurrentPayType"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePurgeQuotaRequest

type DescribePurgeQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribePurgeQuotaRequest

func NewDescribePurgeQuotaRequest() (request *DescribePurgeQuotaRequest)

func (*DescribePurgeQuotaRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeQuotaRequest) ToJsonString

func (r *DescribePurgeQuotaRequest) ToJsonString() string

type DescribePurgeQuotaRequestParams

type DescribePurgeQuotaRequestParams struct {
}

Predefined struct for user

type DescribePurgeQuotaResponse

type DescribePurgeQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribePurgeQuotaResponseParams `json:"Response"`
}

func NewDescribePurgeQuotaResponse

func NewDescribePurgeQuotaResponse() (response *DescribePurgeQuotaResponse)

func (*DescribePurgeQuotaResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeQuotaResponse) ToJsonString

func (r *DescribePurgeQuotaResponse) ToJsonString() string

type DescribePurgeQuotaResponseParams

type DescribePurgeQuotaResponseParams struct {
	// URL purge usage and quota.
	UrlPurge []*Quota `json:"UrlPurge,omitnil,omitempty" name:"UrlPurge"`

	// Directory purge usage and quota.
	PathPurge []*Quota `json:"PathPurge,omitnil,omitempty" name:"PathPurge"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// Specifies a purge type:
	// `url`: URL purge record
	// `path`: Directory purge record
	PurgeType *string `json:"PurgeType,omitnil,omitempty" name:"PurgeType"`

	// Specifies the starting time of the period you want to query, such as `2018-08-08 00:00:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the end time of the period you want to query, such as 2018-08-08 23:59:59
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies a task ID when you want to query by task ID.
	// You must specify either a task ID or a starting time for your query.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// You can filter the results by domain name or a complete URL beginning with `http(s)://`
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Specifies a task state for your query:
	// `fail`: purge failed
	// `done`: purge succeeded
	// `process`: purge in progress
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Specifies a purge region for your query:
	// `mainland`: within Mainland China
	// `overseas`: outside Mainland China
	// `global`: global
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

func NewDescribePurgeTasksRequest

func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)

func (*DescribePurgeTasksRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeTasksRequest) ToJsonString

func (r *DescribePurgeTasksRequest) ToJsonString() string

type DescribePurgeTasksRequestParams

type DescribePurgeTasksRequestParams struct {
	// Specifies a purge type:
	// `url`: URL purge record
	// `path`: Directory purge record
	PurgeType *string `json:"PurgeType,omitnil,omitempty" name:"PurgeType"`

	// Specifies the starting time of the period you want to query, such as `2018-08-08 00:00:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the end time of the period you want to query, such as 2018-08-08 23:59:59
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies a task ID when you want to query by task ID.
	// You must specify either a task ID or a starting time for your query.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// You can filter the results by domain name or a complete URL beginning with `http(s)://`
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Specifies a task state for your query:
	// `fail`: purge failed
	// `done`: purge succeeded
	// `process`: purge in progress
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Specifies a purge region for your query:
	// `mainland`: within Mainland China
	// `overseas`: outside Mainland China
	// `global`: global
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

Predefined struct for user

type DescribePurgeTasksResponse

type DescribePurgeTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePurgeTasksResponseParams `json:"Response"`
}

func NewDescribePurgeTasksResponse

func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)

func (*DescribePurgeTasksResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeTasksResponse) ToJsonString

func (r *DescribePurgeTasksResponse) ToJsonString() string

type DescribePurgeTasksResponseParams

type DescribePurgeTasksResponseParams struct {
	// Detailed purge record.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PurgeLogs []*PurgeTask `json:"PurgeLogs,omitnil,omitempty" name:"PurgeLogs"`

	// Total number of tasks, which is used for pagination.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePushQuotaRequest

type DescribePushQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribePushQuotaRequest

func NewDescribePushQuotaRequest() (request *DescribePushQuotaRequest)

func (*DescribePushQuotaRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePushQuotaRequest) ToJsonString

func (r *DescribePushQuotaRequest) ToJsonString() string

type DescribePushQuotaRequestParams

type DescribePushQuotaRequestParams struct {
}

Predefined struct for user

type DescribePushQuotaResponse

type DescribePushQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribePushQuotaResponseParams `json:"Response"`
}

func NewDescribePushQuotaResponse

func NewDescribePushQuotaResponse() (response *DescribePushQuotaResponse)

func (*DescribePushQuotaResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePushQuotaResponse) ToJsonString

func (r *DescribePushQuotaResponse) ToJsonString() string

type DescribePushQuotaResponseParams

type DescribePushQuotaResponseParams struct {
	// URL prefetch usage and quota.
	UrlPush []*Quota `json:"UrlPush,omitnil,omitempty" name:"UrlPush"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePushTasksRequest

type DescribePushTasksRequest struct {
	*tchttp.BaseRequest

	// Starting time, such as `2018-08-08 00:00:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as `2018-08-08 23:59:59`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies a task ID for your query.
	// You must specify either a task ID or a starting time.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Specifies a keyword for your query. Please enter a domain name or a complete URL beginning with `http(s)://`
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies a region to query the prefetch records
	// `mainland`: Chinese mainland
	// `overseas`: Outside the Chinese mainland
	// `global`: Globe
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Queries the status of a specified task
	// `fail`: Prefetch failed
	// `done`: Prefetch succeeded
	// `process`: Prefetch in progress
	// `invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewDescribePushTasksRequest

func NewDescribePushTasksRequest() (request *DescribePushTasksRequest)

func (*DescribePushTasksRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePushTasksRequest) ToJsonString

func (r *DescribePushTasksRequest) ToJsonString() string

type DescribePushTasksRequestParams

type DescribePushTasksRequestParams struct {
	// Starting time, such as `2018-08-08 00:00:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as `2018-08-08 23:59:59`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies a task ID for your query.
	// You must specify either a task ID or a starting time.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Specifies a keyword for your query. Please enter a domain name or a complete URL beginning with `http(s)://`
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies a region to query the prefetch records
	// `mainland`: Chinese mainland
	// `overseas`: Outside the Chinese mainland
	// `global`: Globe
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Queries the status of a specified task
	// `fail`: Prefetch failed
	// `done`: Prefetch succeeded
	// `process`: Prefetch in progress
	// `invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type DescribePushTasksResponse

type DescribePushTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePushTasksResponseParams `json:"Response"`
}

func NewDescribePushTasksResponse

func NewDescribePushTasksResponse() (response *DescribePushTasksResponse)

func (*DescribePushTasksResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePushTasksResponse) ToJsonString

func (r *DescribePushTasksResponse) ToJsonString() string

type DescribePushTasksResponseParams

type DescribePushTasksResponseParams struct {
	// Prefetch history
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PushLogs []*PushTask `json:"PushLogs,omitnil,omitempty" name:"PushLogs"`

	// Total number of tasks, which is used for pagination.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReportDataRequest

type DescribeReportDataRequest struct {
	*tchttp.BaseRequest

	// Query the start time in the format of `yyyy-MM-dd`
	// If the report type is `daily`, the start time and end time must be of the same day.
	// If the report type is `weekly`, the start time must be Monday and the end time must be the Sunday of the same week.
	// If the report type is `monthly`, the start time must be the first day of the month and the end time must be the last day of the same month.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query the end time in the format of `yyyy-MM-dd`
	// If the report type is `daily`, the start time and end time must be of the same day.
	// If the report type is `weekly`, the start time must be Monday and the end time must be the Sunday of the same week.
	// If the report type is `monthly`, the start time must be the first day of the month and the end time must be the last day of the same month.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Report type
	// daily: daily report
	// weekly: weekly report (Monday to Sunday)
	// monthly: monthly report (calendar month)
	ReportType *string `json:"ReportType,omitnil,omitempty" name:"ReportType"`

	// Domain name acceleration region
	// `mainland`: Regions within the Chinese mainland
	// `overseas`: Regions outside the Chinese mainland
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of data entries. Default value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filters by project ID
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`
}

func NewDescribeReportDataRequest

func NewDescribeReportDataRequest() (request *DescribeReportDataRequest)

func (*DescribeReportDataRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReportDataRequest) ToJsonString

func (r *DescribeReportDataRequest) ToJsonString() string

type DescribeReportDataRequestParams

type DescribeReportDataRequestParams struct {
	// Query the start time in the format of `yyyy-MM-dd`
	// If the report type is `daily`, the start time and end time must be of the same day.
	// If the report type is `weekly`, the start time must be Monday and the end time must be the Sunday of the same week.
	// If the report type is `monthly`, the start time must be the first day of the month and the end time must be the last day of the same month.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query the end time in the format of `yyyy-MM-dd`
	// If the report type is `daily`, the start time and end time must be of the same day.
	// If the report type is `weekly`, the start time must be Monday and the end time must be the Sunday of the same week.
	// If the report type is `monthly`, the start time must be the first day of the month and the end time must be the last day of the same month.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Report type
	// daily: daily report
	// weekly: weekly report (Monday to Sunday)
	// monthly: monthly report (calendar month)
	ReportType *string `json:"ReportType,omitnil,omitempty" name:"ReportType"`

	// Domain name acceleration region
	// `mainland`: Regions within the Chinese mainland
	// `overseas`: Regions outside the Chinese mainland
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of data entries. Default value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filters by project ID
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`
}

Predefined struct for user

type DescribeReportDataResponse

type DescribeReportDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReportDataResponseParams `json:"Response"`
}

func NewDescribeReportDataResponse

func NewDescribeReportDataResponse() (response *DescribeReportDataResponse)

func (*DescribeReportDataResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReportDataResponse) ToJsonString

func (r *DescribeReportDataResponse) ToJsonString() string

type DescribeReportDataResponseParams

type DescribeReportDataResponseParams struct {
	// Domain name-level data details.
	DomainReport []*ReportData `json:"DomainReport,omitnil,omitempty" name:"DomainReport"`

	// Project-level data details
	ProjectReport []*ReportData `json:"ProjectReport,omitnil,omitempty" name:"ProjectReport"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUrlViolationsRequest

type DescribeUrlViolationsRequest struct {
	*tchttp.BaseRequest

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specified domain name query
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`
}

func NewDescribeUrlViolationsRequest

func NewDescribeUrlViolationsRequest() (request *DescribeUrlViolationsRequest)

func (*DescribeUrlViolationsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUrlViolationsRequest) ToJsonString

func (r *DescribeUrlViolationsRequest) ToJsonString() string

type DescribeUrlViolationsRequestParams

type DescribeUrlViolationsRequestParams struct {
	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specified domain name query
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`
}

Predefined struct for user

type DescribeUrlViolationsResponse

type DescribeUrlViolationsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUrlViolationsResponseParams `json:"Response"`
}

func NewDescribeUrlViolationsResponse

func NewDescribeUrlViolationsResponse() (response *DescribeUrlViolationsResponse)

func (*DescribeUrlViolationsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUrlViolationsResponse) ToJsonString

func (r *DescribeUrlViolationsResponse) ToJsonString() string

type DescribeUrlViolationsResponseParams

type DescribeUrlViolationsResponseParams struct {
	// Details of URLs in violation
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UrlRecordList []*ViolationUrl `json:"UrlRecordList,omitnil,omitempty" name:"UrlRecordList"`

	// Total number of records, which is used for pagination.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DetailDomain

type DetailDomain struct {
	// Domain name ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Tencent Cloud account ID
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Accelerated domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// CNAME address of domain name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"`

	// Acceleration service status
	// `rejected`: The domain name is rejected due to expiration/deregistration of its ICP filing
	// `processing`: Deploying
	// `closing`: Disabling
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Project ID, which can be viewed on the Tencent Cloud project management page
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Acceleration domain name service type
	// `web`: Webpage file downloads
	// `download`: Large file downloads
	// `media`: Audio and video on demand acceleration
	// `hybrid`: Dynamic and static content acceleration
	// `dynamic`: Dynamic content acceleration
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Domain name creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Domain name update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Origin server configuration.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// IP blocklist/allowlist configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Status code cache configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Smart compression configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Bandwidth cap configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Range GETs configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// 301/302 origin-pull follow-redirect configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Custom error page configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// Custom request header configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Custom response header configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Single-link downstream speed limit configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Configuration of cache with/without parameter
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Origin server header cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// Video dragging configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Node cache expiration rule configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// Cross-border linkage optimization configuration (in beta)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// HTTPS Acceleration Configuration Guide
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Timestamp hotlink protection configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// SEO configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Domain name block status
	// `normal`: Normal
	// `overdue`: The domain name has been disabled due to account arrears. The acceleration service can be resumed after the account is topped up.
	// `malicious`: The acceleration service has been forcibly disabled due to detection of malicious behavior.
	// `ddos`: The acceleration service has been disabled due to large-scale DDoS attacks to the domain name
	// `idle`: No operations or data has been detected for more than 90 days. The domain name is determined to be inactive which automatically disables the acceleration service. You can restart the service.
	// `unlicensed`: The acceleration service has been automatically disabled as the domain name has no ICP filing or its ICP filing is deregistered. Service can be resumed after an ICP filing is obtained.
	// `capping`: The configured upper limit for bandwidth has been reached.
	// `readonly`: The domain name has a special configuration and has been locked.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Disable *string `json:"Disable,omitnil,omitempty" name:"Disable"`

	// Access protocol forced redirect configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Referer configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Browser cache expiration rule configuration (in beta)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// IPv6 origin-pull configuration (in beta)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"`

	// Backwards compatibility configuration (compatibility field for internal use)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Compatibility *Compatibility `json:"Compatibility,omitnil,omitempty" name:"Compatibility"`

	// Region-specific configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SpecificConfig *SpecificConfig `json:"SpecificConfig,omitnil,omitempty" name:"SpecificConfig"`

	// Acceleration region
	// `mainland`: Acceleration inside the Chinese mainland
	// `overseas`: Acceleration outside the Chinese mainland
	// `global`: Acceleration over the globe
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Domain name lock status
	// `normal`: Not locked
	// `mainland`: Locked in the Chinese mainland
	// `overseas`: Locked outside the Chinese mainland
	// global: Locked globally
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Readonly *string `json:"Readonly,omitnil,omitempty" name:"Readonly"`

	// Origin-pull timeout configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullTimeout *OriginPullTimeout `json:"OriginPullTimeout,omitnil,omitempty" name:"OriginPullTimeout"`

	// S3 bucket origin access authentication configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// SCDN configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SecurityConfig *SecurityConfig `json:"SecurityConfig,omitnil,omitempty" name:"SecurityConfig"`

	// Image optimization configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ImageOptimization *ImageOptimization `json:"ImageOptimization,omitnil,omitempty" name:"ImageOptimization"`

	// UA blocklist/allowlist configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UserAgentFilter *UserAgentFilter `json:"UserAgentFilter,omitnil,omitempty" name:"UserAgentFilter"`

	// Access control
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AccessControl *AccessControl `json:"AccessControl,omitnil,omitempty" name:"AccessControl"`

	// Whether to support advanced configuration items
	// `on`: Supported
	// `off`: Not supported
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Advance *string `json:"Advance,omitnil,omitempty" name:"Advance"`

	// URL redirect configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UrlRedirect *UrlRedirect `json:"UrlRedirect,omitnil,omitempty" name:"UrlRedirect"`

	// Access port configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AccessPort []*int64 `json:"AccessPort,omitnil,omitempty" name:"AccessPort"`

	// Tag configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// Timestamp hotlink protection advanced configuration (allowlist feature)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AdvancedAuthentication *AdvancedAuthentication `json:"AdvancedAuthentication,omitnil,omitempty" name:"AdvancedAuthentication"`

	// Origin-pull authentication advanced configuration (allowlist feature)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginAuthentication *OriginAuthentication `json:"OriginAuthentication,omitnil,omitempty" name:"OriginAuthentication"`

	// IPv6 access configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Ipv6Access *Ipv6Access `json:"Ipv6Access,omitnil,omitempty" name:"Ipv6Access"`

	// Advanced configuration settings
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AdvanceSet []*AdvanceConfig `json:"AdvanceSet,omitnil,omitempty" name:"AdvanceSet"`

	// Offline cache (only available to beta users)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"`

	// Merging origin-pull requests (only available to beta users)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginCombine *OriginCombine `json:"OriginCombine,omitnil,omitempty" name:"OriginCombine"`

	// POST request configuration item
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PostMaxSize *PostSize `json:"PostMaxSize,omitnil,omitempty" name:"PostMaxSize"`

	// QUIC configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"`

	// Access authentication for OSS origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// WebSocket configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`

	// Remote authentication configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RemoteAuthentication *RemoteAuthentication `json:"RemoteAuthentication,omitnil,omitempty" name:"RemoteAuthentication"`

	// Shared CNAME configuration (only available to beta users)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ShareCname *ShareCname `json:"ShareCname,omitnil,omitempty" name:"ShareCname"`

	// Rule engine
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleEngine *RuleEngine `json:"RuleEngine,omitnil,omitempty" name:"RuleEngine"`

	// Primary domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ParentHost *string `json:"ParentHost,omitnil,omitempty" name:"ParentHost"`

	// Access authentication for Huawei Cloud OBS origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Access authentication for QiNiu Cloud Kodo origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`

	// HTTPS (enabled by default)
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	HttpsBilling *HttpsBilling `json:"HttpsBilling,omitnil,omitempty" name:"HttpsBilling"`

	// Origin-pull authentication for other origins
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	OthersPrivateAccess *OthersPrivateAccess `json:"OthersPrivateAccess,omitnil,omitempty" name:"OthersPrivateAccess"`
}

type DisableCachesRequest

type DisableCachesRequest struct {
	*tchttp.BaseRequest

	// List of URLs to be blocked (URLs must contain `http://` or `https://`).
	// Up to 100 entries can be submitted at a time and 3,000 entries per day.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`
}

func NewDisableCachesRequest

func NewDisableCachesRequest() (request *DisableCachesRequest)

func (*DisableCachesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableCachesRequest) ToJsonString

func (r *DisableCachesRequest) ToJsonString() string

type DisableCachesRequestParams

type DisableCachesRequestParams struct {
	// List of URLs to be blocked (URLs must contain `http://` or `https://`).
	// Up to 100 entries can be submitted at a time and 3,000 entries per day.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`
}

Predefined struct for user

type DisableCachesResponse

type DisableCachesResponse struct {
	*tchttp.BaseResponse
	Response *DisableCachesResponseParams `json:"Response"`
}

func NewDisableCachesResponse

func NewDisableCachesResponse() (response *DisableCachesResponse)

func (*DisableCachesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableCachesResponse) ToJsonString

func (r *DisableCachesResponse) ToJsonString() string

type DisableCachesResponseParams

type DisableCachesResponseParams struct {
	// Submission result
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CacheOptResult *CacheOptResult `json:"CacheOptResult,omitnil,omitempty" name:"CacheOptResult"`

	// Task ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableClsLogTopicRequest

type DisableClsLogTopicRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

func NewDisableClsLogTopicRequest

func NewDisableClsLogTopicRequest() (request *DisableClsLogTopicRequest)

func (*DisableClsLogTopicRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableClsLogTopicRequest) ToJsonString

func (r *DisableClsLogTopicRequest) ToJsonString() string

type DisableClsLogTopicRequestParams

type DisableClsLogTopicRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

Predefined struct for user

type DisableClsLogTopicResponse

type DisableClsLogTopicResponse struct {
	*tchttp.BaseResponse
	Response *DisableClsLogTopicResponseParams `json:"Response"`
}

func NewDisableClsLogTopicResponse

func NewDisableClsLogTopicResponse() (response *DisableClsLogTopicResponse)

func (*DisableClsLogTopicResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableClsLogTopicResponse) ToJsonString

func (r *DisableClsLogTopicResponse) ToJsonString() string

type DisableClsLogTopicResponseParams

type DisableClsLogTopicResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DomainAreaConfig

type DomainAreaConfig struct {
	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Region list, where the element can be `mainland`/`overseas`
	Area []*string `json:"Area,omitnil,omitempty" name:"Area"`
}

type DomainFilter

type DomainFilter struct {
	// Filter filter. Values:
	// - `origin`: Primary origin server.
	// - `domain`: Domain name.
	// - `resourceId`: Domain name ID.
	// - `status`: Domain name status. Values: `online`, `offline`, and `processing`.
	// - `serviceType`: Service type. Values: `web`, `download`, `media`, `hybrid` and `dynamic`.
	// - `projectId`: Project ID.
	// - `domainType`: Primary origin type. Values: `cname` (customer origin), `COS` (COS origin), `third_party` (third-party object storage origin), and `igtm` (IGTM origin).
	// - `fullUrlCache`: Whether to enable path cache. Values: `on`, `off`.
	// - `https`: Whether to configure HTTPS. Values: `on`, `off` and `processing`.
	// - `originPullProtocol`: Origin-pull protocol type. Value: `http`, `follow`, and `https`.
	// - `tagKey`: Tag key.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter field value.
	Value []*string `json:"Value,omitnil,omitempty" name:"Value"`

	// Whether to enable fuzzy query. Only `origin` or `domain` is supported for the filter field name.
	// When fuzzy query is enabled, the maximum Value length is 1. When fuzzy query is disabled, the maximum Value length is 5.
	Fuzzy *bool `json:"Fuzzy,omitnil,omitempty" name:"Fuzzy"`
}

type DomainLog

type DomainLog struct {
	// Starting time of the log package
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the log package
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Log package download link
	LogPath *string `json:"LogPath,omitnil,omitempty" name:"LogPath"`

	// Acceleration region corresponding to the log package
	// `mainland`: Within the Chinese mainland
	// `overseas`: Outside the Chinese mainland
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Log package filename
	LogName *string `json:"LogName,omitnil,omitempty" name:"LogName"`

	// File size, in bytes.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`
}

type DownstreamCapping

type DownstreamCapping struct {
	// Whether to enable downstream speed limit. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Downstream speed limiting rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CappingRules []*CappingRule `json:"CappingRules,omitnil,omitempty" name:"CappingRules"`
}

type EnableCachesRequest

type EnableCachesRequest struct {
	*tchttp.BaseRequest

	// List of unblocked URLs
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`

	// URL blocking date
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`
}

func NewEnableCachesRequest

func NewEnableCachesRequest() (request *EnableCachesRequest)

func (*EnableCachesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableCachesRequest) ToJsonString

func (r *EnableCachesRequest) ToJsonString() string

type EnableCachesRequestParams

type EnableCachesRequestParams struct {
	// List of unblocked URLs
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`

	// URL blocking date
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`
}

Predefined struct for user

type EnableCachesResponse

type EnableCachesResponse struct {
	*tchttp.BaseResponse
	Response *EnableCachesResponseParams `json:"Response"`
}

func NewEnableCachesResponse

func NewEnableCachesResponse() (response *EnableCachesResponse)

func (*EnableCachesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableCachesResponse) ToJsonString

func (r *EnableCachesResponse) ToJsonString() string

type EnableCachesResponseParams

type EnableCachesResponseParams struct {
	// Result list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CacheOptResult *CacheOptResult `json:"CacheOptResult,omitnil,omitempty" name:"CacheOptResult"`

	// Task ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableClsLogTopicRequest

type EnableClsLogTopicRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

func NewEnableClsLogTopicRequest

func NewEnableClsLogTopicRequest() (request *EnableClsLogTopicRequest)

func (*EnableClsLogTopicRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableClsLogTopicRequest) ToJsonString

func (r *EnableClsLogTopicRequest) ToJsonString() string

type EnableClsLogTopicRequestParams

type EnableClsLogTopicRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

Predefined struct for user

type EnableClsLogTopicResponse

type EnableClsLogTopicResponse struct {
	*tchttp.BaseResponse
	Response *EnableClsLogTopicResponseParams `json:"Response"`
}

func NewEnableClsLogTopicResponse

func NewEnableClsLogTopicResponse() (response *EnableClsLogTopicResponse)

func (*EnableClsLogTopicResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableClsLogTopicResponse) ToJsonString

func (r *EnableClsLogTopicResponse) ToJsonString() string

type EnableClsLogTopicResponseParams

type EnableClsLogTopicResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ErrorPage

type ErrorPage struct {
	// Whether to enable status code-based redirection. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Status code redirect rules configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageRules []*ErrorPageRule `json:"PageRules,omitnil,omitempty" name:"PageRules"`
}

type ErrorPageRule

type ErrorPageRule struct {
	// Status code
	// Supports 400, 403, 404, 500.
	StatusCode *int64 `json:"StatusCode,omitnil,omitempty" name:"StatusCode"`

	// Redirect status code settings
	// Supports 301 or 302.
	RedirectCode *int64 `json:"RedirectCode,omitnil,omitempty" name:"RedirectCode"`

	// Redirect URL
	// Requires a full redirect path, such as https://www.test.com/error.html.
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`
}

type ExtraLogset

type ExtraLogset struct {
	// Logset information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Logset *LogSetInfo `json:"Logset,omitnil,omitempty" name:"Logset"`

	// Log topic information
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Topics []*TopicInfo `json:"Topics,omitnil,omitempty" name:"Topics"`
}

type FollowRedirect

type FollowRedirect struct {
	// Whether to enable origin-pull to follow the origin configuration. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Specifies a host header for 302 redirects. This feature is only available to beta users. To join the beta, please submit a ticket.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedirectConfig *RedirectConfig `json:"RedirectConfig,omitnil,omitempty" name:"RedirectConfig"`
}

type ForceRedirect

type ForceRedirect struct {
	// Whether to enable forced HTTPS redirects. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access forced redirect types
	// http: forced HTTP redirect
	// https: forced HTTPS redirect
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RedirectType *string `json:"RedirectType,omitnil,omitempty" name:"RedirectType"`

	// Status code returned for forced redirect
	// Supports 301, 302.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitnil,omitempty" name:"RedirectStatusCode"`

	// Whether to return the newly added header during force redirection
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CarryHeaders *string `json:"CarryHeaders,omitnil,omitempty" name:"CarryHeaders"`
}

type GetDisableRecordsRequest

type GetDisableRecordsRequest struct {
	*tchttp.BaseRequest

	// Specifies the URL to be queried
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Starting time, such as `2018-12-12 10:24:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as `2018-12-14 10:24:00`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Current URL status
	// disable: The URL remains disabled, and accessing it will return an error 403
	// enable: The URL is enabled (unblocked) and can be normally accessed
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination limit. Default value: 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Task ID. The task ID and start time cannot be both left empty.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewGetDisableRecordsRequest

func NewGetDisableRecordsRequest() (request *GetDisableRecordsRequest)

func (*GetDisableRecordsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDisableRecordsRequest) ToJsonString

func (r *GetDisableRecordsRequest) ToJsonString() string

type GetDisableRecordsRequestParams

type GetDisableRecordsRequestParams struct {
	// Specifies the URL to be queried
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Starting time, such as `2018-12-12 10:24:00`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as `2018-12-14 10:24:00`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Current URL status
	// disable: The URL remains disabled, and accessing it will return an error 403
	// enable: The URL is enabled (unblocked) and can be normally accessed
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination limit. Default value: 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Task ID. The task ID and start time cannot be both left empty.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type GetDisableRecordsResponse

type GetDisableRecordsResponse struct {
	*tchttp.BaseResponse
	Response *GetDisableRecordsResponseParams `json:"Response"`
}

func NewGetDisableRecordsResponse

func NewGetDisableRecordsResponse() (response *GetDisableRecordsResponse)

func (*GetDisableRecordsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDisableRecordsResponse) ToJsonString

func (r *GetDisableRecordsResponse) ToJsonString() string

type GetDisableRecordsResponseParams

type GetDisableRecordsResponseParams struct {
	// Blocking history
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UrlRecordList []*UrlRecord `json:"UrlRecordList,omitnil,omitempty" name:"UrlRecordList"`

	// Total number of tasks, which is used for pagination.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GuetzliAdapter

type GuetzliAdapter struct {
	// Whether to enable AvifAdapter for image optimization. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type HTTPHeader

type HTTPHeader struct {
	// Request header name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Request header value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type HeaderKey

type HeaderKey struct {
	// Whether to enable Cachekey control. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Array of headers that make up the `CacheKey` (separated by ';')
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type HeuristicCache

type HeuristicCache struct {
	// Whether to enable heuristic caching. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Heuristic cache validity configuration
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	CacheConfig *CacheConfig `json:"CacheConfig,omitnil,omitempty" name:"CacheConfig"`
}

type Hsts

type Hsts struct {
	// Whether to enable HSTS. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// `MaxAge` value.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAge *int64 `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// Whether to include subdomain names. Valid values: on, off.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IncludeSubDomains *string `json:"IncludeSubDomains,omitnil,omitempty" name:"IncludeSubDomains"`
}

type HttpHeaderPathRule

type HttpHeaderPathRule struct {
	// HTTP header setting methods
	// `set`: sets a value for an existing header parameter, a new header parameter, or multiple header parameters. Multiple header parameters will be merged into one.
	// `del`: deletes a header parameter.
	// `add`: adds a header parameter. By default, you can repeat the same action to add the same header parameter, which may affect browser response. Please consider the set operation first.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	HeaderMode *string `json:"HeaderMode,omitnil,omitempty" name:"HeaderMode"`

	// HTTP header name. Up to 100 characters can be set.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeaderName *string `json:"HeaderName,omitnil,omitempty" name:"HeaderName"`

	// HTTP header value. Up to 1000 characters can be set.
	// Not required when Mode is del
	// Required when Mode is add/set
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeaderValue *string `json:"HeaderValue,omitnil,omitempty" name:"HeaderValue"`

	// Rule types:
	// `all`: Apply to all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `RuleType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`
}

type HttpHeaderRule

type HttpHeaderRule struct {
	// HTTP header setting method. Valid values: `add` (add header), `set` (set header) or `del` (delete header).
	HeaderMode *string `json:"HeaderMode,omitnil,omitempty" name:"HeaderMode"`

	// HTTP header name
	HeaderName *string `json:"HeaderName,omitnil,omitempty" name:"HeaderName"`

	// HTTP header value
	HeaderValue *string `json:"HeaderValue,omitnil,omitempty" name:"HeaderValue"`
}

type Https

type Https struct {
	// Whether to enable HTTPS. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Whether to enable HTTP2
	// `on`: Enable
	// `off`: Disable
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Http2 *string `json:"Http2,omitnil,omitempty" name:"Http2"`

	// OCSP configuration switch
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OcspStapling *string `json:"OcspStapling,omitnil,omitempty" name:"OcspStapling"`

	// Client certificate authentication feature
	// `on`: Enable
	// `off`: Disable
	// This is disabled by default. The client certificate information is needed when enabled. This is still in beta and not generally available yet.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VerifyClient *string `json:"VerifyClient,omitnil,omitempty" name:"VerifyClient"`

	// Server certificate configuration information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertInfo *ServerCert `json:"CertInfo,omitnil,omitempty" name:"CertInfo"`

	// Client certificate configuration information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ClientCertInfo *ClientCert `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"`

	// Spdy configuration switch
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Spdy *string `json:"Spdy,omitnil,omitempty" name:"Spdy"`

	// HTTPS certificate deployment status
	// closed: already closed
	// deploying: in deployment
	// deployed: successfully deployed
	// failed: deployment failed
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SslStatus *string `json:"SslStatus,omitnil,omitempty" name:"SslStatus"`

	// HSTS configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Hsts *Hsts `json:"Hsts,omitnil,omitempty" name:"Hsts"`

	// TLS version settings, which only support certain advanced domain names. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TlsVersion []*string `json:"TlsVersion,omitnil,omitempty" name:"TlsVersion"`
}

type HttpsBilling

type HttpsBilling struct {
	// Whether to enable HTTPS. Values:
	// `on`: When it's enabled, HTTPS requests are allowed and incur charges. If not specified, his field uses the default value `on`.
	// `off`: When it's disabled, HTTPS requests are blocked.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type HwPrivateAccess

type HwPrivateAccess struct {
	//  Whether to enable origin-pull authentication for Huawei Cloud OBS origin. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"`

	// Key
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// BucketName
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`
}

type ImageOptimization

type ImageOptimization struct {
	// `WebpAdapter` configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	WebpAdapter *WebpAdapter `json:"WebpAdapter,omitnil,omitempty" name:"WebpAdapter"`

	// `TpgAdapter` configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TpgAdapter *TpgAdapter `json:"TpgAdapter,omitnil,omitempty" name:"TpgAdapter"`

	// `GuetzliAdapter` configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	GuetzliAdapter *GuetzliAdapter `json:"GuetzliAdapter,omitnil,omitempty" name:"GuetzliAdapter"`

	// AVIF adapter configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AvifAdapter *AvifAdapter `json:"AvifAdapter,omitnil,omitempty" name:"AvifAdapter"`
}

type IpFilter

type IpFilter struct {
	// Whether to enable IP blocklist/allowlist. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// IP blocklist/allowlist type
	// `whitelist`: IP allowlist
	// `blacklist`: IP blocklist
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// IP blocklist/allowlist
	// Supports IPs in X.X.X.X format, or IP ranges in /8, /16, /24 format.
	// Up to 50 whitelists or blacklists can be entered
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Filters []*string `json:"Filters,omitnil,omitempty" name:"Filters"`

	// IP blocklist/allowlist path-based configuration. This feature is only available to selected beta customers.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FilterRules []*IpFilterPathRule `json:"FilterRules,omitnil,omitempty" name:"FilterRules"`

	// (Disused) Expected HTTP code to return when the IP allowlist/blocklist verification fails. <br><font color=red>The 514 code is used instead.</font>
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ReturnCode *int64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`
}

type IpFilterPathRule

type IpFilterPathRule struct {
	// IP blocklist/allowlist type
	// `whitelist`: allowlist IPs
	// `blacklist`: blocklist IPs
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// IP blocklist/allowlist list
	// Supports IPs in X.X.X.X format, or /8, /16, /24 format IP ranges.
	// Up to 50 allowlists or blocklists can be entered.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Filters []*string `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Rule types:
	// `all`: Effective for all files
	// `file`: Effective for specified file suffixes
	// `directory`: Effective for specified paths
	// `path`: Effective for specified absolute paths
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each RuleType:
	// For `all`, enter an asterisk (*).
	// For `file`, enter the suffix, such as jpg, txt.
	// For `directory`, enter the path, such as /xxx/test/.
	// For `path`, enter the corresponding absolute path, such as /xxx/test.html.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`
}

type IpFreqLimit

type IpFreqLimit struct {
	// Whether to enable IP rate limit. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Sets the limited number of requests per second
	// 514 will be returned for requests that exceed the limit
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Qps *int64 `json:"Qps,omitnil,omitempty" name:"Qps"`
}

type IpStatus

type IpStatus struct {
	// Node IP
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Region of the node
	District *string `json:"District,omitnil,omitempty" name:"District"`

	// ISP of the node
	Isp *string `json:"Isp,omitnil,omitempty" name:"Isp"`

	// City of the node
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Status of the node
	// `online`: The node is active and scheduling normally.
	// `offline`: The node is inactive.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type Ipv6

type Ipv6 struct {
	// Whether to enable an IPv6 address for the origin server. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type Ipv6Access

type Ipv6Access struct {
	// Whether to enable IPv6 access. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type KeyRule

type KeyRule struct {
	// Content for each CacheType:
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter the path, such as /xxx/test/.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// For `index`, enter a backslash (/).
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Rule types:
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// `index`: home page
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Whether to enable full-path cache
	// `on`: Enable full-path cache (i.e., disable Ignore Query String).
	// `off`: Disable full-path cache (i.e., enable Ignore Query String).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FullUrlCache *string `json:"FullUrlCache,omitnil,omitempty" name:"FullUrlCache"`

	// Whether caches are case insensitive
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCase *string `json:"IgnoreCase,omitnil,omitempty" name:"IgnoreCase"`

	// Request parameter contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	QueryString *RuleQueryString `json:"QueryString,omitnil,omitempty" name:"QueryString"`

	// Path cache key tag, the value "user" is passed.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"`
}

type ListClsLogTopicsRequest

type ListClsLogTopicsRequest struct {
	*tchttp.BaseRequest

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

func NewListClsLogTopicsRequest

func NewListClsLogTopicsRequest() (request *ListClsLogTopicsRequest)

func (*ListClsLogTopicsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClsLogTopicsRequest) ToJsonString

func (r *ListClsLogTopicsRequest) ToJsonString() string

type ListClsLogTopicsRequestParams

type ListClsLogTopicsRequestParams struct {
	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

Predefined struct for user

type ListClsLogTopicsResponse

type ListClsLogTopicsResponse struct {
	*tchttp.BaseResponse
	Response *ListClsLogTopicsResponseParams `json:"Response"`
}

func NewListClsLogTopicsResponse

func NewListClsLogTopicsResponse() (response *ListClsLogTopicsResponse)

func (*ListClsLogTopicsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClsLogTopicsResponse) ToJsonString

func (r *ListClsLogTopicsResponse) ToJsonString() string

type ListClsLogTopicsResponseParams

type ListClsLogTopicsResponseParams struct {
	// Information of logsets in the Shanghai region
	Logset *LogSetInfo `json:"Logset,omitnil,omitempty" name:"Logset"`

	// Information of log topics in the Shanghai region
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Topics []*TopicInfo `json:"Topics,omitnil,omitempty" name:"Topics"`

	// Information on logsets in regions except Shanghai
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ExtraLogset []*ExtraLogset `json:"ExtraLogset,omitnil,omitempty" name:"ExtraLogset"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListClsTopicDomainsRequest

type ListClsTopicDomainsRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

func NewListClsTopicDomainsRequest

func NewListClsTopicDomainsRequest() (request *ListClsTopicDomainsRequest)

func (*ListClsTopicDomainsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClsTopicDomainsRequest) ToJsonString

func (r *ListClsTopicDomainsRequest) ToJsonString() string

type ListClsTopicDomainsRequestParams

type ListClsTopicDomainsRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`
}

Predefined struct for user

type ListClsTopicDomainsResponse

type ListClsTopicDomainsResponse struct {
	*tchttp.BaseResponse
	Response *ListClsTopicDomainsResponseParams `json:"Response"`
}

func NewListClsTopicDomainsResponse

func NewListClsTopicDomainsResponse() (response *ListClsTopicDomainsResponse)

func (*ListClsTopicDomainsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClsTopicDomainsResponse) ToJsonString

func (r *ListClsTopicDomainsResponse) ToJsonString() string

type ListClsTopicDomainsResponseParams

type ListClsTopicDomainsResponseParams struct {
	// Developer ID
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Channel
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Domain name region configuration, which may contain deleted domain names. If this is to be used in `ManageClsTopicDomains` API, you need to exclude deleted domain names by using the `ListCdnDomains` API.
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`

	// Log topic name
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Last modified time of log topic
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListTopDataRequest

type ListTopDataRequest struct {
	*tchttp.BaseRequest

	// Query start time in the format of `yyyy-MM-dd HH:mm:ss`
	// Only data queries at the granularity of minutes are supported. The start time is truncated to minutes. For example, if the value of `StartTime` is 2018-09-04 10:40:23, the start time of the data returned is 2018-09-04 10:40:00.
	// Only data for the last 90 days can be queried.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time in the format of `yyyy-MM-dd HH:mm:ss`
	// Only data queries at the granularity of days are supported. Take the day in the input parameter as the end date, and the data generated on or before 23:59:59 on the end date is returned. For example, if the value of `EndTime` is 2018-09-05 22:40:00, the end time of the data returned is 2018-09-05 23:59:59.
	// `EndTime` must be later than or equal to `StartTime`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Objects to be sorted. Valid values:
	// `url`: Sort by access URL (URLs carrying no parameters). Supported filters are `flux` and `request`.
	// `district`: sorts provinces or countries/regions. Supported filters are `flux` and `request`.
	// `isp`: sorts ISPs. Supported filters are `flux` and `request`.
	// `host`: Sort by domain name access data. Supported filters are `flux`, `request`, `bandwidth`, `fluxHitRate`, and `statusCode` (2XX, 3XX, 4XX, 5XX).
	// `originHost`: Sort by domain name origin-pull data. Supported filters are `flux`, `request`, `bandwidth`, and `OriginStatusCode` (origin_2XX, origin_3XX, origin_4XX, origin_5XX).
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Metric name used for sorting:
	// flux: If Metric is `host`, it indicates the access traffic; if Metric is `originHost`, it indicates the origin-pull traffic.
	// bandwidth: If Metric is `host`, it indicates the access bandwidth; if Metric is `originHost`, it indicates the origin-pull bandwidth.
	// request: If Metric is `host`, it indicates the number of access requests; if Metric is `originHost`, it indicates the number of origin-pull requests.
	// fluxHitRate: Average traffic hit rate
	// 2XX: access 2XX status code
	// 3XX: access 3XX status code
	// 4XX: access 4XX status code
	// 5XX: access 5XX status code
	// origin_2XX: origin-pull 2XX status code
	// origin_3XX: origin-pull 3XX status code
	// origin_4XX: origin-pull 4XX status code
	// origin_5XX: origin-pull 5XX status code
	// statusCode: statistics of a specific access status code which is specified in the `Code` parameter.
	// OriginStatusCode: statistics of a specific origin-pull status code which is specified in the `Code` parameter.
	Filter *string `json:"Filter,omitnil,omitempty" name:"Filter"`

	// Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// Please note that if domain names are specified, this parameter will be ignored.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// The sorted results of all domain names are returned by default (false) during a multi-domain-name query
	// If `Metric` is `url`, `path`, `district`, or `isp` and `Filter` is `flux` or `request`, it can be set to `true` to return the sorted results of each domain.
	Detail *bool `json:"Detail,omitnil,omitempty" name:"Detail"`

	// When Filter is `statusCode` or `OriginStatusCode`, enter a code to query and sort results.
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// Specifies the service region. If this value is left blank, it means to query CDN data within the Chinese mainland.
	// `mainland`: Query CDN data in the Chinese mainland.
	// `overseas`: Query CDN data outside the Chinese mainland. Supported metrics are `url`, `district`, `host`, and `originHost`. If `Metric` is `originHost`, supported filters are `flux`, `request`, and `bandwidth`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies a region type for the query. If it is left blank, data of the service region will be queried. This parameter is only valid when `Area` is `overseas` and `Metric` is `district` or `host`.
	// `server`: Query by the location of server (Tencent Cloud CDN nodes).
	// `client`: Query data of the client region where the request devices are located; if `Metric` is `host`, supported filters are `flux`, `request`, and `bandwidth`.
	AreaType *string `json:"AreaType,omitnil,omitempty" name:"AreaType"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Returns the first N data entries. The default value is 100 if this parameter is not specified, whereas 1000 if `Metric` is `url`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListTopDataRequest

func NewListTopDataRequest() (request *ListTopDataRequest)

func (*ListTopDataRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListTopDataRequest) ToJsonString

func (r *ListTopDataRequest) ToJsonString() string

type ListTopDataRequestParams

type ListTopDataRequestParams struct {
	// Query start time in the format of `yyyy-MM-dd HH:mm:ss`
	// Only data queries at the granularity of minutes are supported. The start time is truncated to minutes. For example, if the value of `StartTime` is 2018-09-04 10:40:23, the start time of the data returned is 2018-09-04 10:40:00.
	// Only data for the last 90 days can be queried.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time in the format of `yyyy-MM-dd HH:mm:ss`
	// Only data queries at the granularity of days are supported. Take the day in the input parameter as the end date, and the data generated on or before 23:59:59 on the end date is returned. For example, if the value of `EndTime` is 2018-09-05 22:40:00, the end time of the data returned is 2018-09-05 23:59:59.
	// `EndTime` must be later than or equal to `StartTime`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Objects to be sorted. Valid values:
	// `url`: Sort by access URL (URLs carrying no parameters). Supported filters are `flux` and `request`.
	// `district`: sorts provinces or countries/regions. Supported filters are `flux` and `request`.
	// `isp`: sorts ISPs. Supported filters are `flux` and `request`.
	// `host`: Sort by domain name access data. Supported filters are `flux`, `request`, `bandwidth`, `fluxHitRate`, and `statusCode` (2XX, 3XX, 4XX, 5XX).
	// `originHost`: Sort by domain name origin-pull data. Supported filters are `flux`, `request`, `bandwidth`, and `OriginStatusCode` (origin_2XX, origin_3XX, origin_4XX, origin_5XX).
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	// Metric name used for sorting:
	// flux: If Metric is `host`, it indicates the access traffic; if Metric is `originHost`, it indicates the origin-pull traffic.
	// bandwidth: If Metric is `host`, it indicates the access bandwidth; if Metric is `originHost`, it indicates the origin-pull bandwidth.
	// request: If Metric is `host`, it indicates the number of access requests; if Metric is `originHost`, it indicates the number of origin-pull requests.
	// fluxHitRate: Average traffic hit rate
	// 2XX: access 2XX status code
	// 3XX: access 3XX status code
	// 4XX: access 4XX status code
	// 5XX: access 5XX status code
	// origin_2XX: origin-pull 2XX status code
	// origin_3XX: origin-pull 3XX status code
	// origin_4XX: origin-pull 4XX status code
	// origin_5XX: origin-pull 5XX status code
	// statusCode: statistics of a specific access status code which is specified in the `Code` parameter.
	// OriginStatusCode: statistics of a specific origin-pull status code which is specified in the `Code` parameter.
	Filter *string `json:"Filter,omitnil,omitempty" name:"Filter"`

	// Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// Please note that if domain names are specified, this parameter will be ignored.
	Project *int64 `json:"Project,omitnil,omitempty" name:"Project"`

	// The sorted results of all domain names are returned by default (false) during a multi-domain-name query
	// If `Metric` is `url`, `path`, `district`, or `isp` and `Filter` is `flux` or `request`, it can be set to `true` to return the sorted results of each domain.
	Detail *bool `json:"Detail,omitnil,omitempty" name:"Detail"`

	// When Filter is `statusCode` or `OriginStatusCode`, enter a code to query and sort results.
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// Specifies the service region. If this value is left blank, it means to query CDN data within the Chinese mainland.
	// `mainland`: Query CDN data in the Chinese mainland.
	// `overseas`: Query CDN data outside the Chinese mainland. Supported metrics are `url`, `district`, `host`, and `originHost`. If `Metric` is `originHost`, supported filters are `flux`, `request`, and `bandwidth`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Specifies a region type for the query. If it is left blank, data of the service region will be queried. This parameter is only valid when `Area` is `overseas` and `Metric` is `district` or `host`.
	// `server`: Query by the location of server (Tencent Cloud CDN nodes).
	// `client`: Query data of the client region where the request devices are located; if `Metric` is `host`, supported filters are `flux`, `request`, and `bandwidth`.
	AreaType *string `json:"AreaType,omitnil,omitempty" name:"AreaType"`

	// Specifies the product to query, either `cdn` (default) or `ecdn`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Returns the first N data entries. The default value is 100 if this parameter is not specified, whereas 1000 if `Metric` is `url`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListTopDataResponse

type ListTopDataResponse struct {
	*tchttp.BaseResponse
	Response *ListTopDataResponseParams `json:"Response"`
}

func NewListTopDataResponse

func NewListTopDataResponse() (response *ListTopDataResponse)

func (*ListTopDataResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListTopDataResponse) ToJsonString

func (r *ListTopDataResponse) ToJsonString() string

type ListTopDataResponseParams

type ListTopDataResponseParams struct {
	// Top access data details of each resource
	Data []*TopData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LogSetInfo

type LogSetInfo struct {
	// Developer ID
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Channel
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Logset name
	LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"`

	// Whether it is the default logset
	IsDefault *uint64 `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`

	// Log retention period in days
	LogsetSavePeriod *uint64 `json:"LogsetSavePeriod,omitnil,omitempty" name:"LogsetSavePeriod"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Whether the logset has been removed from CLS
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Deleted *string `json:"Deleted,omitnil,omitempty" name:"Deleted"`

	// Whether English is used in this region
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RegionEn *string `json:"RegionEn,omitnil,omitempty" name:"RegionEn"`
}

type MainlandConfig

type MainlandConfig struct {
	// Timestamp hotlink protection configuration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// Bandwidth cap configuration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Cache rule configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// Cache configurations.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Smart compression configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Download speed limit configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Error code redirect configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// 301 and 302 automatic origin-pull follow-redirect configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Force redirect by access protocol.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// HTTPS configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// IP blocklist/allowlist configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limiting configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Browser cache rules configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// Origin server configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Cross-border optimization configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// Range GETs configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// Hotlink protection configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Origin-pull request header configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Origin server response header configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Follows origin server cache header configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// SEO configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Domain name service type. Values: `web` (static acceleration); `download` (download acceleration); `media` (streaming media acceleration).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Status code cache configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Video dragging configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Access authentication for S3 origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// Access authentication for OSS origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// Access authentication for Huawei Cloud OBS origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Access authentication for QiNiu Cloud Kodo origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`
}

type ManageClsTopicDomainsRequest

type ManageClsTopicDomainsRequest struct {
	*tchttp.BaseRequest

	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Domain name region configuration. Note: if this field is empty, it means to unbind all domain names from the corresponding topic
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`
}

func NewManageClsTopicDomainsRequest

func NewManageClsTopicDomainsRequest() (request *ManageClsTopicDomainsRequest)

func (*ManageClsTopicDomainsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ManageClsTopicDomainsRequest) ToJsonString

func (r *ManageClsTopicDomainsRequest) ToJsonString() string

type ManageClsTopicDomainsRequestParams

type ManageClsTopicDomainsRequestParams struct {
	// Logset ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Domain name region configuration. Note: if this field is empty, it means to unbind all domain names from the corresponding topic
	DomainAreaConfigs []*DomainAreaConfig `json:"DomainAreaConfigs,omitnil,omitempty" name:"DomainAreaConfigs"`
}

Predefined struct for user

type ManageClsTopicDomainsResponse

type ManageClsTopicDomainsResponse struct {
	*tchttp.BaseResponse
	Response *ManageClsTopicDomainsResponseParams `json:"Response"`
}

func NewManageClsTopicDomainsResponse

func NewManageClsTopicDomainsResponse() (response *ManageClsTopicDomainsResponse)

func (*ManageClsTopicDomainsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ManageClsTopicDomainsResponse) ToJsonString

func (r *ManageClsTopicDomainsResponse) ToJsonString() string

type ManageClsTopicDomainsResponseParams

type ManageClsTopicDomainsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type MapInfo

type MapInfo struct {
	// Object ID
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Object name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type MaxAge

type MaxAge struct {
	// Whether to enable browser caching. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// MaxAge rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAgeRules []*MaxAgeRule `json:"MaxAgeRules,omitnil,omitempty" name:"MaxAgeRules"`

	// MaxAge status code
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAgeCodeRule *MaxAgeCodeRule `json:"MaxAgeCodeRule,omitnil,omitempty" name:"MaxAgeCodeRule"`
}

type MaxAgeCodeRule

type MaxAgeCodeRule struct {
	// Action to execute.
	// `clear`: Clear the cache-control header.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Specifies the HTTP status code in the range 400-599.
	StatusCodes []*string `json:"StatusCodes,omitnil,omitempty" name:"StatusCodes"`
}

type MaxAgeRule

type MaxAgeRule struct {
	// Rule types:
	// `all`: effective for all files.
	// `file`: effective for specified file suffixes.
	// `directory`: effective for specified paths.
	// `path`: effective for specified absolute paths.
	// `index`: effective for specified homepages.
	MaxAgeType *string `json:"MaxAgeType,omitnil,omitempty" name:"MaxAgeType"`

	// Content for each `MaxAgeType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter the suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter the path, e.g., `/xxx/test/`.
	// For `path`, enter the absolute path, e.g., `/xxx/test.html`.
	// For `index`, enter a forward slash `/`.
	// Note: The rule `all` cannot be deleted. It follows origin by default and can be modified.
	MaxAgeContents []*string `json:"MaxAgeContents,omitnil,omitempty" name:"MaxAgeContents"`

	// MaxAge time (in seconds)
	// Note: The value `0` means not to cache.
	MaxAgeTime *int64 `json:"MaxAgeTime,omitnil,omitempty" name:"MaxAgeTime"`

	// Whether to follow the origin server. Valid values: `on` and `off`. If it's on, `MaxAgeTime` is ignored.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowOrigin *string `json:"FollowOrigin,omitnil,omitempty" name:"FollowOrigin"`
}

type ModifyDomainConfigRequest

type ModifyDomainConfigRequest struct {
	*tchttp.BaseRequest

	// The domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Name of the configuration parameter.
	Route *string `json:"Route,omitnil,omitempty" name:"Route"`

	// Value of the configuration parameter. This field is serialized to a JSON string {key:value}, where **key** is fixed to `update`.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

func NewModifyDomainConfigRequest

func NewModifyDomainConfigRequest() (request *ModifyDomainConfigRequest)

func (*ModifyDomainConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDomainConfigRequest) ToJsonString

func (r *ModifyDomainConfigRequest) ToJsonString() string

type ModifyDomainConfigRequestParams

type ModifyDomainConfigRequestParams struct {
	// The domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Name of the configuration parameter.
	Route *string `json:"Route,omitnil,omitempty" name:"Route"`

	// Value of the configuration parameter. This field is serialized to a JSON string {key:value}, where **key** is fixed to `update`.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

Predefined struct for user

type ModifyDomainConfigResponse

type ModifyDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDomainConfigResponseParams `json:"Response"`
}

func NewModifyDomainConfigResponse

func NewModifyDomainConfigResponse() (response *ModifyDomainConfigResponse)

func (*ModifyDomainConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDomainConfigResponse) ToJsonString

func (r *ModifyDomainConfigResponse) ToJsonString() string

type ModifyDomainConfigResponseParams

type ModifyDomainConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OfflineCache

type OfflineCache struct {
	// Whether to enable offline caching. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type Origin

type Origin struct {
	// List of primary origin servers
	// <font color=red>When modifying the origins, you need to specify `OriginType`.</font>
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Origins []*string `json:"Origins,omitnil,omitempty" name:"Origins"`

	// Primary origin server type
	// <font color=red>This field is used together with `Origins`.</font>
	// Input:
	// `domain`: Domain name
	// `domainv6`: IPv6 domain name
	// `cos`: COS bucket address
	// `third_party`: Third-party object storage origin
	// `igtm`: IGTM origin
	// `ip`: IP address
	// `ipv6`: One IPv6 address
	// `ip_ipv6`: Multiple IPv4 addresses and one IPv6 address
	// `ip_domain`: IP addresses and domain names (only available to beta users)
	// `ip_domainv6`: Multiple IPv4 addresses and one IPv6 domain name
	// `ipv6_domain`: Multiple IPv6 addresses and one domain name
	// `ipv6_domainv6`: Multiple IPv6 addresses and one IPv6 domain name
	// `domain_domainv6`: Multiple IPv4 domain names and one IPv6 domain name
	// `ip_ipv6_domain`: Multiple IPv4 and IPv6 addresses and one domain name
	// `ip_ipv6_domainv6`: Multiple IPv4 and IPv6 addresses and one IPv6 domain name
	// `ip_domain_domainv6`: Multiple IPv4 addresses and IPv4 domain names and one IPv6 domain name
	// `ipv6_domain_domainv6`: Multiple IPv4 domain names and IPv6 addresses and one IPv6 domain name
	// `ip_ipv6_domain_domainv6`: Multiple IPv4 and IPv6 addresses and IPv4 domain names and one IPv6 domain name
	// Output:
	// `image`: Cloud Infinite origin
	// `ftp`: FTP origin (disused)
	// When modifying `Origins`, you need to specify `OriginType`.
	// The IPv6 feature is now only available to beta users. Submit a ticket if you need it.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"`

	// Origin-pull host header.
	// <font color=red>This field is required when `OriginType=cos/third-party`.</font>
	// If not specified, this field defaults to the acceleration domain name.
	// For a wildcard domain name, the sub-domain name during the access is used by default.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ServerName *string `json:"ServerName,omitnil,omitempty" name:"ServerName"`

	// When OriginType is COS, you can specify if access to private buckets is allowed.
	// Note: To enable this configuration, you need to first grant CDN access to the private bucket. Values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CosPrivateAccess *string `json:"CosPrivateAccess,omitnil,omitempty" name:"CosPrivateAccess"`

	// Origin-pull protocol configuration
	// http: forced HTTP origin-pull
	// follow: protocol follow origin-pull
	// https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitnil,omitempty" name:"OriginPullProtocol"`

	// List of secondary origin servers
	// <font color=red>This field is used together with `BackupOriginType`.</font>
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	BackupOrigins []*string `json:"BackupOrigins,omitnil,omitempty" name:"BackupOrigins"`

	// Secondary origin type
	// <font color=red>This field is used together with `BackupOrigins`.</font>
	// Values:
	// `domain`: Domain name
	// `ip`: IP address
	// The following secondary origin types are only available to beta users. Submit a ticket to use it.
	// `ipv6_domain`: Multiple IPv6 addresses and one domain name
	// `ip_ipv6`: Multiple IPv4 addresses and one IPv6 address
	// `ipv6_domain`: Multiple IPv6 addresses and one domain name
	// `ip_ipv6_domain`: Multiple IPv4 and IPv6 addresses and one domain name
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	BackupOriginType *string `json:"BackupOriginType,omitnil,omitempty" name:"BackupOriginType"`

	// Host header used when accessing the backup origin server. If it is left empty, the `ServerName` of primary origin server will be used by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BackupServerName *string `json:"BackupServerName,omitnil,omitempty" name:"BackupServerName"`

	// Origin-pull path
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BasePath *string `json:"BasePath,omitnil,omitempty" name:"BasePath"`

	// Origin-pull path rewriting configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PathRules []*PathRule `json:"PathRules,omitnil,omitempty" name:"PathRules"`

	// Path-based origin-pull configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PathBasedOrigin []*PathBasedOriginRule `json:"PathBasedOrigin,omitnil,omitempty" name:"PathBasedOrigin"`

	// HTTPS origin-pull SNI
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Sni *OriginSni `json:"Sni,omitnil,omitempty" name:"Sni"`

	// HTTPS advanced origin-pull configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AdvanceHttps *AdvanceHttps `json:"AdvanceHttps,omitnil,omitempty" name:"AdvanceHttps"`

	// Third-party object storage service vendor
	// <font color=red>This field is required when `OriginType=third-party`.</font>
	// Values:
	// `aws_s3`: AWS S3
	// `ali_oss`: Alibaba Cloud OSS
	// `hw_obs`: Huawei Cloud OBS
	// `Qiniu_kodo`: Qiniu Kodo
	// `Others`: Other object storage service vendors. Only AWS signature-compatible object storage services are supported, such as Tencent Cloud COS for Finance Zone.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	OriginCompany *string `json:"OriginCompany,omitnil,omitempty" name:"OriginCompany"`
}

type OriginAuthentication

type OriginAuthentication struct {
	// Whether to enable advanced origin-pull authentication. Values:
	// `on`: Enable
	// `off`: Disable
	//
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Authentication type configuration A
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TypeA *OriginAuthenticationTypeA `json:"TypeA,omitnil,omitempty" name:"TypeA"`
}

type OriginAuthenticationTypeA

type OriginAuthenticationTypeA struct {
	// Key used for signature calculation, allowing 6 to 32 bytes of letters and digits.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
}

type OriginCombine

type OriginCombine struct {
	// Whether to enable origin-pull merge. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type OriginIp

type OriginIp struct {
	// Intermediate IP range/intermediate IP. The IP range information is returned by default.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`
}

type OriginPullOptimization

type OriginPullOptimization struct {
	// Whether to enable cross-MLC-border origin-pull optimization. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Cross-border types
	// OVToCN: origin-pull from outside mainland China to inside mainland China
	// CNToOV: origin-pull from inside mainland China to outside mainland China
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OptimizationType *string `json:"OptimizationType,omitnil,omitempty" name:"OptimizationType"`
}

type OriginPullTimeout

type OriginPullTimeout struct {
	// The origin-pull connection timeout (in seconds). Valid range: 5-60.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"`

	// The origin-pull receipt timeout (in seconds). Valid range: 10-300.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ReceiveTimeout *uint64 `json:"ReceiveTimeout,omitnil,omitempty" name:"ReceiveTimeout"`
}

type OriginSni

type OriginSni struct {
	// Whether to enable HTTPS origin-pull SNI. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Origin-pull domain name.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ServerName *string `json:"ServerName,omitnil,omitempty" name:"ServerName"`
}

type OssPrivateAccess

type OssPrivateAccess struct {
	// Whether to enable OSS origin-pull authentication. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access ID.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"`

	// Key.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Region
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// BucketName
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`
}

type OthersPrivateAccess

type OthersPrivateAccess struct {
	// Whether to enable origin-pull authentication for other object storage origins. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access ID.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"`

	// Key.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`

	// Region.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Bucket name
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`
}

type OverseaConfig

type OverseaConfig struct {
	// Timestamp hotlink protection configuration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// Bandwidth cap configuration.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Cache rule configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// Cache configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Smart compression configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Download speed limit configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Error code redirect configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// 301 and 302 automatic origin-pull follow-redirect configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Protocol redirect configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// HTTPS configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// IP blocklist/allowlist configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Browser cache rules configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// Origin server configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Cross-border optimization configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// Range GETs configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// Hotlink protection configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Origin-pull request header configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Origin server response header configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Follows origin server cache header configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// SEO configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Domain name service type. Values: `web` (static acceleration); `download` (download acceleration); `media` (streaming media acceleration).
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Status code cache configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Video dragging configuration.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Access authentication for S3 origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// Access authentication for OSS origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// Access authentication for Huawei Cloud OBS origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Access authentication for QiNiu Cloud Kodo origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`
}

type PathBasedOriginRule

type PathBasedOriginRule struct {
	// Rule types:
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// `index`: Apply to specified homepages.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `RuleType`:
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// For `index`, enter a forward slash `/`.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Origin server list. Domain name and IPv4 addresses are supported.
	Origin []*string `json:"Origin,omitnil,omitempty" name:"Origin"`
}

type PathRule

type PathRule struct {
	// Whether to enable wildcard match (`*`).
	// `false`: disabled
	// `true`: enabled
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Regex *bool `json:"Regex,omitnil,omitempty" name:"Regex"`

	// Matched URL. Only URLs are supported, while parameters are not. The exact match is used by default. If wildcard match is enabled, up to 5 wildcards are supported. The URL can contain up to 1,024 characters.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Origin server when the path matches. COS origin with private read/write is not supported. The default origin server will be used by default when this field is left empty.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Origin server host header when the path matches. The default `ServerName` will be used by default when this field is left empty.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ServerName *string `json:"ServerName,omitnil,omitempty" name:"ServerName"`

	// Region of the origin server. Valid values: `CN` and `OV`.
	// `CN`: Within the Chinese mainland
	// `OV`: Outside the Chinese mainland
	// Default value: `CN`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	OriginArea *string `json:"OriginArea,omitnil,omitempty" name:"OriginArea"`

	// Origin server URI path when the path matches, starting with `/` and excluding parameters. The path can contain up to 1,024 characters. The wildcards in the match path can be respectively captured using `$1`, `$2`, `$3`, `$4`, and `$5`. Up to 10 values can be captured.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForwardUri *string `json:"ForwardUri,omitnil,omitempty" name:"ForwardUri"`

	// Origin-pull header setting when the path matches.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RequestHeaders []*HttpHeaderRule `json:"RequestHeaders,omitnil,omitempty" name:"RequestHeaders"`

	// When `Regex` is `false`, this parameter should be `true`.
	// `false`: Disabled
	// `true`: enabled
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FullMatch *bool `json:"FullMatch,omitnil,omitempty" name:"FullMatch"`
}

type PostSize

type PostSize struct {
	// Maximum size of the file uploaded for streaming via a POST request. Values:
	// `on`: Enable. When enabled, it is set to 32 MB by default.
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Maximum size. Value range: 1 MB to 200 MB.
	MaxSize *int64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`
}

type PurgePathCacheRequest

type PurgePathCacheRequest struct {
	*tchttp.BaseRequest

	// List of directories. The protocol header such as "http://" or "https://" needs to be included.
	Paths []*string `json:"Paths,omitnil,omitempty" name:"Paths"`

	// Purge type:
	// `flush`: purges updated resources
	// `delete`: purges all resources
	FlushType *string `json:"FlushType,omitnil,omitempty" name:"FlushType"`

	// Whether to encode Chinese characters before purge.
	UrlEncode *bool `json:"UrlEncode,omitnil,omitempty" name:"UrlEncode"`

	// Region to purge
	// The acceleration region of the acceleration domain name will be purged if this parameter is not passed in.
	// If `mainland` is passed in, only the content cached on nodes in the Chinese mainland will be purged.
	// If `overseas` is passed in, only the content cached on nodes outside the Chinese mainland will be purged.
	// The specified region to purge should match the domain name’s acceleration region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

func NewPurgePathCacheRequest

func NewPurgePathCacheRequest() (request *PurgePathCacheRequest)

func (*PurgePathCacheRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgePathCacheRequest) ToJsonString

func (r *PurgePathCacheRequest) ToJsonString() string

type PurgePathCacheRequestParams

type PurgePathCacheRequestParams struct {
	// List of directories. The protocol header such as "http://" or "https://" needs to be included.
	Paths []*string `json:"Paths,omitnil,omitempty" name:"Paths"`

	// Purge type:
	// `flush`: purges updated resources
	// `delete`: purges all resources
	FlushType *string `json:"FlushType,omitnil,omitempty" name:"FlushType"`

	// Whether to encode Chinese characters before purge.
	UrlEncode *bool `json:"UrlEncode,omitnil,omitempty" name:"UrlEncode"`

	// Region to purge
	// The acceleration region of the acceleration domain name will be purged if this parameter is not passed in.
	// If `mainland` is passed in, only the content cached on nodes in the Chinese mainland will be purged.
	// If `overseas` is passed in, only the content cached on nodes outside the Chinese mainland will be purged.
	// The specified region to purge should match the domain name’s acceleration region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

Predefined struct for user

type PurgePathCacheResponse

type PurgePathCacheResponse struct {
	*tchttp.BaseResponse
	Response *PurgePathCacheResponseParams `json:"Response"`
}

func NewPurgePathCacheResponse

func NewPurgePathCacheResponse() (response *PurgePathCacheResponse)

func (*PurgePathCacheResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgePathCacheResponse) ToJsonString

func (r *PurgePathCacheResponse) ToJsonString() string

type PurgePathCacheResponseParams

type PurgePathCacheResponseParams struct {
	// Purge task ID. Directories submitted in one request share a task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PurgeTask

type PurgeTask struct {
	// Purge task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Purged URL
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Purge task status
	// `fail`: Purge failed
	// `done`: Purge succeeded
	// `process`: Purge in progress
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Purge type
	// `url`: URL purge
	// `path`: directory purge
	PurgeType *string `json:"PurgeType,omitnil,omitempty" name:"PurgeType"`

	// Purge method
	// `flush`: purges updated resources; this type is available only for directory purges
	// `delete`: Purge all resources
	FlushType *string `json:"FlushType,omitnil,omitempty" name:"FlushType"`

	// Purge task submission time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type PurgeUrlsCacheRequest

type PurgeUrlsCacheRequest struct {
	*tchttp.BaseRequest

	// List of URLs. The protocol header such as "http://" or "https://" needs to be included.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`

	// Purging region
	// The acceleration region of the acceleration domain name will be purged if this parameter is not passed in.
	// If `mainland` is passed in, only the content cached on nodes in the Chinese mainland will be purged.
	// If `overseas` is passed in, only the content cached on nodes outside the Chinese mainland will be purged.
	// The specified purging region should match the domain name acceleration region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Whether to encode Chinese characters for purge
	UrlEncode *bool `json:"UrlEncode,omitnil,omitempty" name:"UrlEncode"`
}

func NewPurgeUrlsCacheRequest

func NewPurgeUrlsCacheRequest() (request *PurgeUrlsCacheRequest)

func (*PurgeUrlsCacheRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgeUrlsCacheRequest) ToJsonString

func (r *PurgeUrlsCacheRequest) ToJsonString() string

type PurgeUrlsCacheRequestParams

type PurgeUrlsCacheRequestParams struct {
	// List of URLs. The protocol header such as "http://" or "https://" needs to be included.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`

	// Purging region
	// The acceleration region of the acceleration domain name will be purged if this parameter is not passed in.
	// If `mainland` is passed in, only the content cached on nodes in the Chinese mainland will be purged.
	// If `overseas` is passed in, only the content cached on nodes outside the Chinese mainland will be purged.
	// The specified purging region should match the domain name acceleration region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Whether to encode Chinese characters for purge
	UrlEncode *bool `json:"UrlEncode,omitnil,omitempty" name:"UrlEncode"`
}

Predefined struct for user

type PurgeUrlsCacheResponse

type PurgeUrlsCacheResponse struct {
	*tchttp.BaseResponse
	Response *PurgeUrlsCacheResponseParams `json:"Response"`
}

func NewPurgeUrlsCacheResponse

func NewPurgeUrlsCacheResponse() (response *PurgeUrlsCacheResponse)

func (*PurgeUrlsCacheResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgeUrlsCacheResponse) ToJsonString

func (r *PurgeUrlsCacheResponse) ToJsonString() string

type PurgeUrlsCacheResponseParams

type PurgeUrlsCacheResponseParams struct {
	// Purge task ID. URLs submitted in one request share a task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PushTask

type PushTask struct {
	// Prefetch task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Prefetched URL
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Prefetch task status
	// `fail`: Prefetch failed
	// `done`: Prefetch succeeded
	// `process`: Prefetch in progress
	// `invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Prefetch progress in percentage
	Percent *int64 `json:"Percent,omitnil,omitempty" name:"Percent"`

	// Prefetch task submission time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Prefetch region
	// `mainland`: Within the Chinese mainland
	// `overseas`: Outside the Chinese mainland
	// `global`: Globe
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Prefetch task update time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type PushUrlsCacheRequest

type PushUrlsCacheRequest struct {
	*tchttp.BaseRequest

	// List of URLs. The protocol header such as "http://" or "https://" needs to be included.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`

	// Specifies the User-Agent header of an HTTP prefetch request when it is forwarded to the origin server
	// Default value: `TencentCdn`
	UserAgent *string `json:"UserAgent,omitnil,omitempty" name:"UserAgent"`

	// Destination region for the prefetch
	// `mainland`: prefetches resources to nodes within Mainland China
	// `overseas`: prefetches resources to nodes outside Mainland China
	// `global`: prefetches resources to global nodes
	// Default value: `mainland`. You can prefetch a URL to nodes in a region provided that CDN service has been enabled for the domain name in the URL in the region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// By default, prefetch for regions in the Chinese mainland is performed onto the intermediate nodes, while prefetch for regions outside the Chinese mainland is performed onto the edge nodes and the traffic generated will be billed.
	// If this parameter is `middle` or left empty, prefetch will be performed onto the intermediate node.
	Layer *string `json:"Layer,omitnil,omitempty" name:"Layer"`

	// Whether to recursively resolve the M3U8 index file and prefetch the TS shards in it.
	// Notes:
	// 1. This feature requires that the M3U8 index file can be directly requested and obtained.
	// 2. In the M3U8 index file, currently only the TS shards at the first to the third level can be recursively resolved.
	// 3. Prefetching the TS shards obtained through recursive resolution consumes the daily prefetch quota. If the usage exceeds the quota, the feature will be disabled and TS shards will not be prefetched.
	ParseM3U8 *bool `json:"ParseM3U8,omitnil,omitempty" name:"ParseM3U8"`

	// Specifies whether to disable Range GETs.
	// Notes:
	// This feature is in beta test.
	DisableRange *bool `json:"DisableRange,omitnil,omitempty" name:"DisableRange"`

	// Custom HTTP request headers (Up to 20). `Name`: Up to 128 characters. `Value`: Up to 1024 characters.
	Headers []*HTTPHeader `json:"Headers,omitnil,omitempty" name:"Headers"`

	// Whether to encode the URL
	UrlEncode *bool `json:"UrlEncode,omitnil,omitempty" name:"UrlEncode"`
}

func NewPushUrlsCacheRequest

func NewPushUrlsCacheRequest() (request *PushUrlsCacheRequest)

func (*PushUrlsCacheRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PushUrlsCacheRequest) ToJsonString

func (r *PushUrlsCacheRequest) ToJsonString() string

type PushUrlsCacheRequestParams

type PushUrlsCacheRequestParams struct {
	// List of URLs. The protocol header such as "http://" or "https://" needs to be included.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`

	// Specifies the User-Agent header of an HTTP prefetch request when it is forwarded to the origin server
	// Default value: `TencentCdn`
	UserAgent *string `json:"UserAgent,omitnil,omitempty" name:"UserAgent"`

	// Destination region for the prefetch
	// `mainland`: prefetches resources to nodes within Mainland China
	// `overseas`: prefetches resources to nodes outside Mainland China
	// `global`: prefetches resources to global nodes
	// Default value: `mainland`. You can prefetch a URL to nodes in a region provided that CDN service has been enabled for the domain name in the URL in the region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// By default, prefetch for regions in the Chinese mainland is performed onto the intermediate nodes, while prefetch for regions outside the Chinese mainland is performed onto the edge nodes and the traffic generated will be billed.
	// If this parameter is `middle` or left empty, prefetch will be performed onto the intermediate node.
	Layer *string `json:"Layer,omitnil,omitempty" name:"Layer"`

	// Whether to recursively resolve the M3U8 index file and prefetch the TS shards in it.
	// Notes:
	// 1. This feature requires that the M3U8 index file can be directly requested and obtained.
	// 2. In the M3U8 index file, currently only the TS shards at the first to the third level can be recursively resolved.
	// 3. Prefetching the TS shards obtained through recursive resolution consumes the daily prefetch quota. If the usage exceeds the quota, the feature will be disabled and TS shards will not be prefetched.
	ParseM3U8 *bool `json:"ParseM3U8,omitnil,omitempty" name:"ParseM3U8"`

	// Specifies whether to disable Range GETs.
	// Notes:
	// This feature is in beta test.
	DisableRange *bool `json:"DisableRange,omitnil,omitempty" name:"DisableRange"`

	// Custom HTTP request headers (Up to 20). `Name`: Up to 128 characters. `Value`: Up to 1024 characters.
	Headers []*HTTPHeader `json:"Headers,omitnil,omitempty" name:"Headers"`

	// Whether to encode the URL
	UrlEncode *bool `json:"UrlEncode,omitnil,omitempty" name:"UrlEncode"`
}

Predefined struct for user

type PushUrlsCacheResponse

type PushUrlsCacheResponse struct {
	*tchttp.BaseResponse
	Response *PushUrlsCacheResponseParams `json:"Response"`
}

func NewPushUrlsCacheResponse

func NewPushUrlsCacheResponse() (response *PushUrlsCacheResponse)

func (*PushUrlsCacheResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PushUrlsCacheResponse) ToJsonString

func (r *PushUrlsCacheResponse) ToJsonString() string

type PushUrlsCacheResponseParams

type PushUrlsCacheResponseParams struct {
	// ID of the submitted task
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type QnPrivateAccess

type QnPrivateAccess struct {
	// Whether to enable origin-pull authentication for QiNiu Cloud Kodo. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"`

	// Key
	SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
}

type QueryStringKey

type QueryStringKey struct {
	// Whether to include `QueryString` as part of `CacheKey`. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Whether to sort again
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Reorder *string `json:"Reorder,omitnil,omitempty" name:"Reorder"`

	// Whether to include URL parameters. Values:
	// `includeAll`: Include all parameters.
	// `excludeAll`: Exclude all parameters.
	// `includeCustom`: Include custom parameters.
	// `excludeCustom`: Exclude custom parameters.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Array of included/excluded query strings (separated by ';')
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type Quic

type Quic struct {
	// Whether to enable QUIC. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type Quota

type Quota struct {
	// Quota limit for one batch submission request.
	Batch *int64 `json:"Batch,omitnil,omitempty" name:"Batch"`

	// Daily submission quota limit.
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Remaining daily submission quota.
	Available *int64 `json:"Available,omitnil,omitempty" name:"Available"`

	// Quota region.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

type RangeOriginPull

type RangeOriginPull struct {
	// Whether to enable Range GETs. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Range GETs configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RangeRules []*RangeOriginPullRule `json:"RangeRules,omitnil,omitempty" name:"RangeRules"`
}

type RangeOriginPullRule

type RangeOriginPullRule struct {
	// Whether to enable Range GETs. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Rule types:
	// `file`: effective for specified file suffixes.
	// `directory`: effective for specified paths.
	// `path`: effective for specified absolute paths.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `RuleType`:
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`
}

type RedirectConfig

type RedirectConfig struct {
	// Whether to enable the custom origin-pull request to follow the host when a 302 code is returned. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// The custom host header that is sent when the primary origin server follows 302 redirects
	FollowRedirectHost *string `json:"FollowRedirectHost,omitnil,omitempty" name:"FollowRedirectHost"`

	// The custom host header that is sent when the secondary origin server follows 302 redirects
	FollowRedirectBackupHost *string `json:"FollowRedirectBackupHost,omitnil,omitempty" name:"FollowRedirectBackupHost"`
}

type Referer

type Referer struct {
	// Whether to enable referer blocklist/allowlist. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Referer blacklist/whitelist configuration rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RefererRules []*RefererRule `json:"RefererRules,omitnil,omitempty" name:"RefererRules"`
}

type RefererRule

type RefererRule struct {
	// Rule types:
	// `all`: Apply to all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `RuleType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Referer configuration types
	// `whitelist`: Allowlist
	// `blacklist`: Blocklist
	RefererType *string `json:"RefererType,omitnil,omitempty" name:"RefererType"`

	// Referer content list
	Referers []*string `json:"Referers,omitnil,omitempty" name:"Referers"`

	// Whether to allow empty referer
	// `true`: Allow empty referer when `RefererType = whitelist`.
	// `false`: Reject empty refer when `RefererType = blacklist`.
	AllowEmpty *bool `json:"AllowEmpty,omitnil,omitempty" name:"AllowEmpty"`
}

type RegionMapRelation

type RegionMapRelation struct {
	// Region ID
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// List of sub-region IDs
	SubRegionIdList []*int64 `json:"SubRegionIdList,omitnil,omitempty" name:"SubRegionIdList"`
}

type RemoteAuthentication

type RemoteAuthentication struct {
	// Whether to enable remote authentication. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Remote authentication rule configuration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RemoteAuthenticationRules []*RemoteAuthenticationRule `json:"RemoteAuthenticationRules,omitnil,omitempty" name:"RemoteAuthenticationRules"`

	// Remote authentication server
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Server *string `json:"Server,omitnil,omitempty" name:"Server"`
}

type RemoteAuthenticationRule

type RemoteAuthenticationRule struct {
	// Remote authentication server
	// The server configured in `RemoteAutherntication` is used by default.
	Server *string `json:"Server,omitnil,omitempty" name:"Server"`

	// HTTP method used by the remote authentication server. Valid values: `get`, `post`, `head`, and `all`.
	// `all`: the remote authentication server follows the client request method.
	// Default: `all`
	AuthMethod *string `json:"AuthMethod,omitnil,omitempty" name:"AuthMethod"`

	// Rule types:
	// `all`: apply to all files
	// `file`: apply to files with the specified suffixes
	// `directory`: apply to the specified directories
	// `path`: apply to the specified absolute paths
	// Default: `all`.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Content for each `RuleType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// For `index`, enter a forward slash `/`.
	// Default: `*`
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Timeout period of the remote authentication server. Unit: ms.
	// Value range: [1, 30,000]
	// Default: 20000
	AuthTimeout *int64 `json:"AuthTimeout,omitnil,omitempty" name:"AuthTimeout"`

	// Whether to deny or allow the request when the remote authentication server is timed out:
	// `RETURN_200`: the request is allowed when the remote authentication server is timed out.
	// `RETURN_403`: the request is denied when the remote authentication server is timed out.
	// Default: `RETURN_200`
	AuthTimeoutAction *string `json:"AuthTimeoutAction,omitnil,omitempty" name:"AuthTimeoutAction"`
}

type ReportData

type ReportData struct {
	// Project ID/domain name ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Project name/domain name.
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Total traffic/max bandwidth in bytes and bps, respectively.
	Value *int64 `json:"Value,omitnil,omitempty" name:"Value"`

	// Percentage of individual resource out of all resources.
	Percentage *float64 `json:"Percentage,omitnil,omitempty" name:"Percentage"`

	// Total billable traffic/max billable bandwidth in bytes and bps, respectively.
	BillingValue *int64 `json:"BillingValue,omitnil,omitempty" name:"BillingValue"`

	// Percentage of billable amount out of total amount.
	BillingPercentage *float64 `json:"BillingPercentage,omitnil,omitempty" name:"BillingPercentage"`
}

type RequestHeader

type RequestHeader struct {
	// Whether to enable custom request headers. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Custom request header configuration rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeaderRules []*HttpHeaderPathRule `json:"HeaderRules,omitnil,omitempty" name:"HeaderRules"`
}

type ResourceBillingData

type ResourceBillingData struct {
	// Resource name, which is classified as follows based on different query filters:
	// When a domain name is specified: Details of the domain name
	// `multiDomains`: Aggregated details of multiple domain names
	// A specific project ID: ID of the specifically queried project
	// `all`: Details at the account level
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Billing data details
	BillingData []*CdnData `json:"BillingData,omitnil,omitempty" name:"BillingData"`
}

type ResourceData

type ResourceData struct {
	// Resource name.
	// A single domain name: Queries domain name details by a domain name. The details of the domain name will be displayed when the passed parameter `detail` is `true`.
	// Multiple domain names: Queries domain name details by multiple domain names. The aggregated details of the domain names will be displayed.
	// Project ID: Queries domain name details by a project ID. The aggregated details of the domain names of the project will be displayed.
	// `all`: Account-level data, which is aggregated details of all domain names of an account.
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Data details of a resource
	CdnData []*CdnData `json:"CdnData,omitnil,omitempty" name:"CdnData"`
}

type ResourceOriginData

type ResourceOriginData struct {
	// Resource name, which is classified as follows based on different query filters:
	// A specific domain name: Details of the domain name
	// `multiDomains`: Aggregated details of multiple domain names
	// Project ID: ID of the specifically queried project
	// `all`: Details at the account level
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Origin-pull data details
	OriginData []*CdnData `json:"OriginData,omitnil,omitempty" name:"OriginData"`
}

type ResponseHeader

type ResponseHeader struct {
	// Whether to enable custom response headers. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Custom response header rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeaderRules []*HttpHeaderPathRule `json:"HeaderRules,omitnil,omitempty" name:"HeaderRules"`
}

type ResponseHeaderCache

type ResponseHeaderCache struct {
	// Whether to enable response header caching. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type Revalidate

type Revalidate struct {
	// Whether to enable origin-pull authentication. Values:
	// `on`: Enable
	// `off`: Disable
	//
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Forwards to the origin server for verification only for specific request path
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`
}

type RuleCache

type RuleCache struct {
	// Content for each `CacheType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter the suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter the path, e.g., `/xxx/test/`.
	// For `path`, enter the absolute path, e.g., `/xxx/test.html`.
	// For `index`, enter a forward slash `/`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// Rule types:
	// `all`: effective for all files.
	// `file`: effective for specified file suffixes.
	// `directory`: effective for specified paths.
	// `path`: effective for specified absolute paths.
	// `index`: homepage.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheConfig *RuleCacheConfig `json:"CacheConfig,omitnil,omitempty" name:"CacheConfig"`
}

type RuleCacheConfig

type RuleCacheConfig struct {
	// Cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *CacheConfigCache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// No cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NoCache *CacheConfigNoCache `json:"NoCache,omitnil,omitempty" name:"NoCache"`

	// Follows the origin server configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowOrigin *CacheConfigFollowOrigin `json:"FollowOrigin,omitnil,omitempty" name:"FollowOrigin"`
}

type RuleEngine

type RuleEngine struct {
	// Whether to enable rule engine. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Rule
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

type RuleQueryString

type RuleQueryString struct {
	// Whether to include query string parameters. Values:
	// `on`: Include `QueryString` as part of `CacheKey`.
	// `off`: Do not include `QueryString` as part of `CacheKey`.
	//
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// `includeCustom` will retain partial query strings
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Array of included/excluded query strings (separated by ';')
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type ScdnAclConfig

type ScdnAclConfig struct {
	// Whether to enable SCDN access. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// This field is disused. Please use `AdvancedScriptData` instead.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ScriptData []*ScdnAclGroup `json:"ScriptData,omitnil,omitempty" name:"ScriptData"`

	// Error page configuration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ErrorPage *ScdnErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// ACL rule group, which is required when the access control is on.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AdvancedScriptData []*AdvancedScdnAclGroup `json:"AdvancedScriptData,omitnil,omitempty" name:"AdvancedScriptData"`
}

type ScdnAclGroup

type ScdnAclGroup struct {
	// Rule name
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// Specific configurations
	Configure []*ScdnAclRule `json:"Configure,omitnil,omitempty" name:"Configure"`

	// Action. Valid values: `intercept` and `redirect`.
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

	// Whether the rule is activated. Valid values: `active` and `inactive`.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Error page configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ErrorPage *ScdnErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`
}

type ScdnAclRule

type ScdnAclRule struct {
	// Keyword
	MatchKey *string `json:"MatchKey,omitnil,omitempty" name:"MatchKey"`

	// Logical operator. Valid values:
	LogiOperator *string `json:"LogiOperator,omitnil,omitempty" name:"LogiOperator"`

	// Matched value
	MatchValue *string `json:"MatchValue,omitnil,omitempty" name:"MatchValue"`
}

type ScdnBotConfig

type ScdnBotConfig struct {
	// Whether to enable SCDN bot configuration. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Bot cookie policy
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BotCookie []*BotCookie `json:"BotCookie,omitnil,omitempty" name:"BotCookie"`

	// Bot JS policy
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BotJavaScript []*BotJavaScript `json:"BotJavaScript,omitnil,omitempty" name:"BotJavaScript"`
}

type ScdnCCRules

type ScdnCCRules struct {
	// Rule types:
	// `all`: effective for all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// `index`: effective for web homepages and root directories.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Rule value (blocking condition)
	RuleValue []*string `json:"RuleValue,omitnil,omitempty" name:"RuleValue"`

	// IP access limit rule
	Qps *uint64 `json:"Qps,omitnil,omitempty" name:"Qps"`

	// Detection granularity
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DetectionTime *uint64 `json:"DetectionTime,omitnil,omitempty" name:"DetectionTime"`

	// Frequency threshold
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FrequencyLimit *uint64 `json:"FrequencyLimit,omitnil,omitempty" name:"FrequencyLimit"`

	// Whether to enable IP blocking. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	PunishmentSwitch *string `json:"PunishmentSwitch,omitnil,omitempty" name:"PunishmentSwitch"`

	// Suspicious IP restriction duration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	PunishmentTime *uint64 `json:"PunishmentTime,omitnil,omitempty" name:"PunishmentTime"`

	// Action. Valid values: `intercept` and `redirect`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// The redirection target URL used when the `Action` is `redirect`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`
}

type ScdnConfig

type ScdnConfig struct {
	// Whether to enable SCDN CC configuration. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Custom CC attack defense rule
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Rules []*ScdnCCRules `json:"Rules,omitnil,omitempty" name:"Rules"`

	// Advanced custom CC attack defense rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AdvancedRules []*AdvancedCCRules `json:"AdvancedRules,omitnil,omitempty" name:"AdvancedRules"`

	// Global advanced CC protection rules
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	GlobalAdvancedRules []*AdvancedCCRules `json:"GlobalAdvancedRules,omitnil,omitempty" name:"GlobalAdvancedRules"`
}

type ScdnDdosConfig

type ScdnDdosConfig struct {
	// Whether to enable SCDN DDoS configuration. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type ScdnErrorPage

type ScdnErrorPage struct {
	// Status code
	// `403` is passed in when the action is `intercept`.
	// `301` is passed in when the action is `redirect`.
	RedirectCode *int64 `json:"RedirectCode,omitnil,omitempty" name:"RedirectCode"`

	// URL to be redirected
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`
}

type ScdnSevenLayerRules

type ScdnSevenLayerRules struct {
	// Whether values are case sensitive
	CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"`

	// Rule types:
	// `protocol`: protocol. Valid values: `HTTP` and `HTTPS`.
	// `method`: request method. Valid values: `HEAD`, `GET`, `POST`, `PUT`, `OPTIONS`, `TRACE`, `DELETE`, `PATCH` and `CONNECT`.
	// `all`: domain name. The matching content is `*` and cannot be edited.
	// `ip`: IP in CIDR format.
	// `directory`: path starting with a slash (/). You can specify a directory or specific path using up to 128 characters.
	// `index`: default homepage, which is specified by `/;/index.html` and cannot be edited.
	// `path`: full path of the file, such as `/acb/test.png`. Wildcard is supported, such as `/abc/*.jpg`.
	// `file`: file extension, such as `jpg`, `png` and `css`.
	// `param`: request parameter. The value can contain up to 512 characters.
	// `referer`: Referer. The value can contain up to 512 characters.
	// `cookie`: Cookie. The value can contain up to 512 characters.
	// `user-agent`: User-Agent. The value can contain up to 512 characters.
	// `head`: custom header. The value can contain up to 512 characters. If the matching content is blank or does not exist, enter the matching parameter directly.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Logical operator, which connects the relation between RuleType and RuleValue. Valid values:
	// `exclude`: the rule value is not contained.
	// `include`: the rule value is contained.
	// `notequal`: the rule value is not equal to the specified rule type.
	// `equal`: the rule value is equal to the specified rule type.
	// `matching`: the rule value matches with the prefix of the specified rule type.
	// `null`: the rule value is empty or does not exist.
	LogicOperator *string `json:"LogicOperator,omitnil,omitempty" name:"LogicOperator"`

	// Rule value
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RuleValue []*string `json:"RuleValue,omitnil,omitempty" name:"RuleValue"`

	// Matched parameter. Only request parameters, Cookie, and custom request headers have a value.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RuleParam *string `json:"RuleParam,omitnil,omitempty" name:"RuleParam"`
}

type ScdnWafConfig

type ScdnWafConfig struct {
	// Whether to enable SCDN WAF configuration. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// WAF protection mode. Valid values: `intercept` and `observe`. Default value: `intercept`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`

	// Redirection error page
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ErrorPage *ScdnErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// Whether to enable webshell blocking. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	WebShellSwitch *string `json:"WebShellSwitch,omitnil,omitempty" name:"WebShellSwitch"`

	// Attack blocking rules
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Rules []*ScdnWafRule `json:"Rules,omitnil,omitempty" name:"Rules"`

	// WAF rule level. Valid values: 100, 200, and 300.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Level *int64 `json:"Level,omitnil,omitempty" name:"Level"`

	// Whether to enable WAF sub-rules. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	SubRuleSwitch []*WafSubRuleStatus `json:"SubRuleSwitch,omitnil,omitempty" name:"SubRuleSwitch"`
}

type ScdnWafRule

type ScdnWafRule struct {
	// Attack type
	AttackType *string `json:"AttackType,omitnil,omitempty" name:"AttackType"`

	// Defense action. Valid value: `observe`.
	Operate *string `json:"Operate,omitnil,omitempty" name:"Operate"`
}

type SchemeKey

type SchemeKey struct {
	// Whether to enable scheme as part of the cache key. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type SearchClsLogRequest

type SearchClsLogRequest struct {
	*tchttp.BaseRequest

	// ID of logset to be queried
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// List of IDs of log topics to be queried, separated by commas
	TopicIds *string `json:"TopicIds,omitnil,omitempty" name:"TopicIds"`

	// Query start time in the format of YYYY-mm-dd HH:MM:SS
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time in the format of YYYY-mm-dd HH:MM:SS
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Number of logs to be returned at a time. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Query statement. For more details, see [https://intl.cloud.tencent.com/document/product/614/16982?from_cn_redirect=1].
	Query *string `json:"Query,omitnil,omitempty" name:"Query"`

	// This field is used when loading more results. Pass through the last `context` value returned to get more log content. Up to 10,000 logs can be obtained through the cursor. Please narrow down the time range as much as possible.
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// Sorting by log time. Valid values: asc (ascending), desc (descending). Default value: desc
	Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"`
}

func NewSearchClsLogRequest

func NewSearchClsLogRequest() (request *SearchClsLogRequest)

func (*SearchClsLogRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchClsLogRequest) ToJsonString

func (r *SearchClsLogRequest) ToJsonString() string

type SearchClsLogRequestParams

type SearchClsLogRequestParams struct {
	// ID of logset to be queried
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// List of IDs of log topics to be queried, separated by commas
	TopicIds *string `json:"TopicIds,omitnil,omitempty" name:"TopicIds"`

	// Query start time in the format of YYYY-mm-dd HH:MM:SS
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time in the format of YYYY-mm-dd HH:MM:SS
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Number of logs to be returned at a time. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Query statement. For more details, see [https://intl.cloud.tencent.com/document/product/614/16982?from_cn_redirect=1].
	Query *string `json:"Query,omitnil,omitempty" name:"Query"`

	// This field is used when loading more results. Pass through the last `context` value returned to get more log content. Up to 10,000 logs can be obtained through the cursor. Please narrow down the time range as much as possible.
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// Sorting by log time. Valid values: asc (ascending), desc (descending). Default value: desc
	Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"`
}

Predefined struct for user

type SearchClsLogResponse

type SearchClsLogResponse struct {
	*tchttp.BaseResponse
	Response *SearchClsLogResponseParams `json:"Response"`
}

func NewSearchClsLogResponse

func NewSearchClsLogResponse() (response *SearchClsLogResponse)

func (*SearchClsLogResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchClsLogResponse) ToJsonString

func (r *SearchClsLogResponse) ToJsonString() string

type SearchClsLogResponseParams

type SearchClsLogResponseParams struct {
	// Query results
	Logs *ClsSearchLogs `json:"Logs,omitnil,omitempty" name:"Logs"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SecurityConfig

type SecurityConfig struct {
	// Whether to enable SCDN. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type Seo

type Seo struct {
	// Whether to enable SEO. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type ServerCert

type ServerCert struct {
	// Server certificate ID, which is auto-generated when the certificate is being managed by the SSL Certificate Service
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Server certificate name
	// This is auto-generated when the certificate is being hosted by the SSL Certificate Service
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertName *string `json:"CertName,omitnil,omitempty" name:"CertName"`

	// Server certificate information
	// This is required when uploading an external certificate, which should contain the complete certificate chain.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Certificate *string `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// Server key information
	// This is required when uploading an external certificate.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`

	// Time when the certificate expires
	// Can be left blank when used as an input parameter
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Certificate issuance time
	// Can be left blank when used as an input parameter
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"`

	// Certificate remarks
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// Certificate source
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	From *string `json:"From,omitnil,omitempty" name:"From"`
}

type ShareCname

type ShareCname struct {
	// Whether to enable Shared CNAME. Values:
	// `on`: Enable. When enabled, it uses a shared CNAME.
	// `off`: Disable. When disabled, it uses a default CNAME.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Shared CNAME to be configured
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"`
}

type SimpleCache

type SimpleCache struct {
	// Cache expiration time rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheRules []*SimpleCacheRule `json:"CacheRules,omitnil,omitempty" name:"CacheRules"`

	// Follows origin server Cache-Control: max-age configurations
	// `on`: Enable
	// `off`: Disable
	// If this is enabled, resources that do not match CacheRules rules will be cached by the node according to the max-age value returned by the origin server. Resources that match CacheRules rules will be cached on the node according to the cache expiration time set in CacheRules.
	// This conflicts with CompareMaxAge. The two cannot be enabled at the same time.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowOrigin *string `json:"FollowOrigin,omitnil,omitempty" name:"FollowOrigin"`

	// Forced cache
	// `on`: Enable
	// `off`: Disable
	// This is disabled by default. If enabled, the `no-store` and `no-cache` resources returned from the origin server will be cached according to `CacheRules` rules.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCacheControl *string `json:"IgnoreCacheControl,omitnil,omitempty" name:"IgnoreCacheControl"`

	// Ignores the Set-Cookie header of the origin server
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreSetCookie *string `json:"IgnoreSetCookie,omitnil,omitempty" name:"IgnoreSetCookie"`

	// Advanced cache expiration configuration. If this is enabled, the max-age value returned by the origin server will be compared with the cache expiration time set in CacheRules, and the smallest value will be cached on the node.
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CompareMaxAge *string `json:"CompareMaxAge,omitnil,omitempty" name:"CompareMaxAge"`

	// Always forwards to the origin server for verification
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Revalidate *Revalidate `json:"Revalidate,omitnil,omitempty" name:"Revalidate"`
}

type SimpleCacheRule

type SimpleCacheRule struct {
	// Rule types:
	// `all`: Apply to all files.
	// `file`: Apply to files with the specified suffixes.
	// `directory`: Apply to specified paths.
	// `path`: Apply to specified absolute paths.
	// index: home page
	CacheType *string `json:"CacheType,omitnil,omitempty" name:"CacheType"`

	// Content for each `CacheType`:
	// For `all`, enter a wildcard `*`.
	// For `file`, enter a suffix, e.g., `jpg` or `txt`.
	// For `directory`, enter a path, e.g., `/xxx/test/`.
	// For `path`, enter an absolute path, e.g., `/xxx/test.html`.
	// For `index`, enter a forward slash `/`.
	CacheContents []*string `json:"CacheContents,omitnil,omitempty" name:"CacheContents"`

	// Cache expiration time settings
	// Unit: second. The maximum value is 365 days.
	CacheTime *int64 `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`
}

type Sort

type Sort struct {
	// Fields that can be sorted. Currently supports:
	// `createTime`: domain name creation time.
	// `certExpireTime`: certificate expiration time.
	// Default value: createTime.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// asc/desc. Default value: desc.
	Sequence *string `json:"Sequence,omitnil,omitempty" name:"Sequence"`
}

type SpecificConfig

type SpecificConfig struct {
	// Specific configuration for domain name inside mainland China.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mainland *MainlandConfig `json:"Mainland,omitnil,omitempty" name:"Mainland"`

	// Specific configuration for domain name outside mainland China.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Overseas *OverseaConfig `json:"Overseas,omitnil,omitempty" name:"Overseas"`
}

type StartCdnDomainRequest

type StartCdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name
	// The domain name status should be `Disabled`
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewStartCdnDomainRequest

func NewStartCdnDomainRequest() (request *StartCdnDomainRequest)

func (*StartCdnDomainRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartCdnDomainRequest) ToJsonString

func (r *StartCdnDomainRequest) ToJsonString() string

type StartCdnDomainRequestParams

type StartCdnDomainRequestParams struct {
	// Domain name
	// The domain name status should be `Disabled`
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type StartCdnDomainResponse

type StartCdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *StartCdnDomainResponseParams `json:"Response"`
}

func NewStartCdnDomainResponse

func NewStartCdnDomainResponse() (response *StartCdnDomainResponse)

func (*StartCdnDomainResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartCdnDomainResponse) ToJsonString

func (r *StartCdnDomainResponse) ToJsonString() string

type StartCdnDomainResponseParams

type StartCdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StatisticItem

type StatisticItem struct {
	// Type of usage limit. `total`: Cumulative usage; `moment`: Instantaneous usage.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Unblocking time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UnBlockTime *uint64 `json:"UnBlockTime,omitnil,omitempty" name:"UnBlockTime"`

	// Bandwidth/Traffic threshold
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	BpsThreshold *uint64 `json:"BpsThreshold,omitnil,omitempty" name:"BpsThreshold"`

	// Specifies how to disable CDN service when the threshold is exceeded. `RETURN_404`: Return 404; `RESOLVE_DNS_TO_ORIGIN`: Forward to origin server.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CounterMeasure *string `json:"CounterMeasure,omitnil,omitempty" name:"CounterMeasure"`

	// Threshold (in percentage) that triggers alarms
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AlertPercentage *uint64 `json:"AlertPercentage,omitnil,omitempty" name:"AlertPercentage"`

	// Whether to enable alerts for cumulative usage limit. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AlertSwitch *string `json:"AlertSwitch,omitnil,omitempty" name:"AlertSwitch"`

	// Metric type. `flux`: Traffic; `bandwidth`: Bandwidth.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`

	Cycle *uint64 `json:"Cycle,omitnil,omitempty" name:"Cycle"`

	// Whether to enable cumulative usage limit. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type StatusCodeCache

type StatusCodeCache struct {
	// Whether to enable status code caching. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Status code cache expiration rules details
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheRules []*StatusCodeCacheRule `json:"CacheRules,omitnil,omitempty" name:"CacheRules"`
}

type StatusCodeCacheRule

type StatusCodeCacheRule struct {
	// HTTP status code
	// Supports 403 and 404 status codes
	StatusCode *string `json:"StatusCode,omitnil,omitempty" name:"StatusCode"`

	// Status code cache expiration time (in seconds)
	CacheTime *int64 `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`
}

type StopCdnDomainRequest

type StopCdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name
	// The domain name status should be **Enabled**
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewStopCdnDomainRequest

func NewStopCdnDomainRequest() (request *StopCdnDomainRequest)

func (*StopCdnDomainRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopCdnDomainRequest) ToJsonString

func (r *StopCdnDomainRequest) ToJsonString() string

type StopCdnDomainRequestParams

type StopCdnDomainRequestParams struct {
	// Domain name
	// The domain name status should be **Enabled**
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type StopCdnDomainResponse

type StopCdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *StopCdnDomainResponseParams `json:"Response"`
}

func NewStopCdnDomainResponse

func NewStopCdnDomainResponse() (response *StopCdnDomainResponse)

func (*StopCdnDomainResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopCdnDomainResponse) ToJsonString

func (r *StopCdnDomainResponse) ToJsonString() string

type StopCdnDomainResponseParams

type StopCdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SummarizedData

type SummarizedData struct {
	// Aggregation method, which can be:
	// `sum`: Aggregate summation
	// `max`: Maximum value. In bandwidth mode, the peak bandwidth is calculated based on the data aggregated in 5 minutes.
	// `avg`: Average value
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Aggregated value
	Value *float64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type Tag

type Tag struct {
	// Tag key
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type TimestampData

type TimestampData struct {
	// The start point of the sampling period.
	// For example, if the time is set to 13:35:00, and `interval` is `5min`, the data returned is collected between 13:35:00 and 13:39:59
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Data value
	Value *float64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type TopData

type TopData struct {
	// Resource name, which is classified as follows based on different query conditions:
	// A specific domain name: This indicates the details of this domain name
	// multiDomains: This indicates the aggregate details of multiple domain names
	// Project ID: This displays the ID of the specifically queried project
	// all: This indicates the details at the account level
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Detailed sorting results
	DetailData []*TopDetailData `json:"DetailData,omitnil,omitempty" name:"DetailData"`
}

type TopDetailData

type TopDetailData struct {
	// Datatype name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data value
	Value *float64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type TopicInfo

type TopicInfo struct {
	// Topic ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Topic name
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Whether to enable publishing
	Enabled *int64 `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// Creation time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Either `cdn` or `ecdn`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Channel *string `json:"Channel,omitnil,omitempty" name:"Channel"`

	// Whether the logset has been removed from CLS
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Deleted *string `json:"Deleted,omitnil,omitempty" name:"Deleted"`
}

type TpgAdapter

type TpgAdapter struct {
	// Whether to enable TpgAdapter for image optimization. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type UpdateDomainConfigRequest

type UpdateDomainConfigRequest struct {
	*tchttp.BaseRequest

	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Origin server configuration
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// IP blocklist/allowlist configuration
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Status code cache configuration
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Smart compression configuration
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Bandwidth cap configuration
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Range GETs configuration
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// 301/302 origin-pull follow-redirect configuration
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Error code redirect configuration (This feature is in beta and not generally available yet.)
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// Origin-pull request header configuration.
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Response header configuration
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Download speed configuration
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Node cache key configuration
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Header cache configuration
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// Video dragging configuration
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Cache expiration time configuration
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// (Disused) Cross-border linkage optimization\
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// HTTPS acceleration configuration
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Timestamp hotlink protection configuration
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// SEO configuration
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Protocol redirect configuration
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Referer configuration
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Browser cache configuration (This feature is in beta and not generally available yet.)
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// Specific-region special configuration
	// Applicable to cases where the acceleration domain name configuration differs for regions in and outside the Chinese mainland.
	SpecificConfig *SpecificConfig `json:"SpecificConfig,omitnil,omitempty" name:"SpecificConfig"`

	// Domain name service type
	// `web`: Static acceleration
	// `download`: Download acceleration
	// `media`: Streaming media VOD acceleration
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Domain name acceleration region
	// `mainland`: Acceleration inside the Chinese mainland
	// `overseas`: Acceleration outside the Chinese mainland
	// `global`: Acceleration over the globe
	// After switching to global acceleration, configurations of the domain name will be deployed to the region inside or outside the Chinese mainland. The deployment will take some time as this domain name has special settings.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Origin-pull timeout configuration
	OriginPullTimeout *OriginPullTimeout `json:"OriginPullTimeout,omitnil,omitempty" name:"OriginPullTimeout"`

	// Access authentication for S3 origin
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// UA blocklist/allowlist configuration
	UserAgentFilter *UserAgentFilter `json:"UserAgentFilter,omitnil,omitempty" name:"UserAgentFilter"`

	// Access control
	AccessControl *AccessControl `json:"AccessControl,omitnil,omitempty" name:"AccessControl"`

	// URL rewriting configuration
	UrlRedirect *UrlRedirect `json:"UrlRedirect,omitnil,omitempty" name:"UrlRedirect"`

	// Access port configuration
	AccessPort []*int64 `json:"AccessPort,omitnil,omitempty" name:"AccessPort"`

	// Timestamp hotlink protection advanced configuration (allowlist feature)
	AdvancedAuthentication *AdvancedAuthentication `json:"AdvancedAuthentication,omitnil,omitempty" name:"AdvancedAuthentication"`

	// Origin-pull authentication advanced configuration (allowlist feature)
	OriginAuthentication *OriginAuthentication `json:"OriginAuthentication,omitnil,omitempty" name:"OriginAuthentication"`

	// IPv6 access configuration
	Ipv6Access *Ipv6Access `json:"Ipv6Access,omitnil,omitempty" name:"Ipv6Access"`

	// Offline cache
	OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"`

	// Merging pull requests
	OriginCombine *OriginCombine `json:"OriginCombine,omitnil,omitempty" name:"OriginCombine"`

	// Post transport configuration
	PostMaxSize *PostSize `json:"PostMaxSize,omitnil,omitempty" name:"PostMaxSize"`

	// QUIC access, which is a paid service. You can check the product document and Billing Overview for more information.
	Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"`

	// Access authentication for OSS origin
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// WebSocket configuration
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`

	// Remote authentication configuration
	RemoteAuthentication *RemoteAuthentication `json:"RemoteAuthentication,omitnil,omitempty" name:"RemoteAuthentication"`

	// Shared CNAME configuration (only available to beta users)
	ShareCname *ShareCname `json:"ShareCname,omitnil,omitempty" name:"ShareCname"`

	// Access authentication for Huawei Cloud OBS origin
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Access authentication for QiNiu Cloud Kodo origin
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`

	// Origin-pull authentication for other origins
	OthersPrivateAccess *OthersPrivateAccess `json:"OthersPrivateAccess,omitnil,omitempty" name:"OthersPrivateAccess"`

	// HTTPS, which is a paid service. You can check the product document and Billing Overview for more information.
	HttpsBilling *HttpsBilling `json:"HttpsBilling,omitnil,omitempty" name:"HttpsBilling"`
}

func NewUpdateDomainConfigRequest

func NewUpdateDomainConfigRequest() (request *UpdateDomainConfigRequest)

func (*UpdateDomainConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDomainConfigRequest) ToJsonString

func (r *UpdateDomainConfigRequest) ToJsonString() string

type UpdateDomainConfigRequestParams

type UpdateDomainConfigRequestParams struct {
	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Origin server configuration
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// IP blocklist/allowlist configuration
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Status code cache configuration
	StatusCodeCache *StatusCodeCache `json:"StatusCodeCache,omitnil,omitempty" name:"StatusCodeCache"`

	// Smart compression configuration
	Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"`

	// Bandwidth cap configuration
	BandwidthAlert *BandwidthAlert `json:"BandwidthAlert,omitnil,omitempty" name:"BandwidthAlert"`

	// Range GETs configuration
	RangeOriginPull *RangeOriginPull `json:"RangeOriginPull,omitnil,omitempty" name:"RangeOriginPull"`

	// 301/302 origin-pull follow-redirect configuration
	FollowRedirect *FollowRedirect `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"`

	// Error code redirect configuration (This feature is in beta and not generally available yet.)
	ErrorPage *ErrorPage `json:"ErrorPage,omitnil,omitempty" name:"ErrorPage"`

	// Origin-pull request header configuration.
	RequestHeader *RequestHeader `json:"RequestHeader,omitnil,omitempty" name:"RequestHeader"`

	// Response header configuration
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Download speed configuration
	DownstreamCapping *DownstreamCapping `json:"DownstreamCapping,omitnil,omitempty" name:"DownstreamCapping"`

	// Node cache key configuration
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Header cache configuration
	ResponseHeaderCache *ResponseHeaderCache `json:"ResponseHeaderCache,omitnil,omitempty" name:"ResponseHeaderCache"`

	// Video dragging configuration
	VideoSeek *VideoSeek `json:"VideoSeek,omitnil,omitempty" name:"VideoSeek"`

	// Cache expiration time configuration
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// (Disused) Cross-border linkage optimization\
	OriginPullOptimization *OriginPullOptimization `json:"OriginPullOptimization,omitnil,omitempty" name:"OriginPullOptimization"`

	// HTTPS acceleration configuration
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Timestamp hotlink protection configuration
	Authentication *Authentication `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// SEO configuration
	Seo *Seo `json:"Seo,omitnil,omitempty" name:"Seo"`

	// Protocol redirect configuration
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Referer configuration
	Referer *Referer `json:"Referer,omitnil,omitempty" name:"Referer"`

	// Browser cache configuration (This feature is in beta and not generally available yet.)
	MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// Specific-region special configuration
	// Applicable to cases where the acceleration domain name configuration differs for regions in and outside the Chinese mainland.
	SpecificConfig *SpecificConfig `json:"SpecificConfig,omitnil,omitempty" name:"SpecificConfig"`

	// Domain name service type
	// `web`: Static acceleration
	// `download`: Download acceleration
	// `media`: Streaming media VOD acceleration
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Domain name acceleration region
	// `mainland`: Acceleration inside the Chinese mainland
	// `overseas`: Acceleration outside the Chinese mainland
	// `global`: Acceleration over the globe
	// After switching to global acceleration, configurations of the domain name will be deployed to the region inside or outside the Chinese mainland. The deployment will take some time as this domain name has special settings.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Origin-pull timeout configuration
	OriginPullTimeout *OriginPullTimeout `json:"OriginPullTimeout,omitnil,omitempty" name:"OriginPullTimeout"`

	// Access authentication for S3 origin
	AwsPrivateAccess *AwsPrivateAccess `json:"AwsPrivateAccess,omitnil,omitempty" name:"AwsPrivateAccess"`

	// UA blocklist/allowlist configuration
	UserAgentFilter *UserAgentFilter `json:"UserAgentFilter,omitnil,omitempty" name:"UserAgentFilter"`

	// Access control
	AccessControl *AccessControl `json:"AccessControl,omitnil,omitempty" name:"AccessControl"`

	// URL rewriting configuration
	UrlRedirect *UrlRedirect `json:"UrlRedirect,omitnil,omitempty" name:"UrlRedirect"`

	// Access port configuration
	AccessPort []*int64 `json:"AccessPort,omitnil,omitempty" name:"AccessPort"`

	// Timestamp hotlink protection advanced configuration (allowlist feature)
	AdvancedAuthentication *AdvancedAuthentication `json:"AdvancedAuthentication,omitnil,omitempty" name:"AdvancedAuthentication"`

	// Origin-pull authentication advanced configuration (allowlist feature)
	OriginAuthentication *OriginAuthentication `json:"OriginAuthentication,omitnil,omitempty" name:"OriginAuthentication"`

	// IPv6 access configuration
	Ipv6Access *Ipv6Access `json:"Ipv6Access,omitnil,omitempty" name:"Ipv6Access"`

	// Offline cache
	OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"`

	// Merging pull requests
	OriginCombine *OriginCombine `json:"OriginCombine,omitnil,omitempty" name:"OriginCombine"`

	// Post transport configuration
	PostMaxSize *PostSize `json:"PostMaxSize,omitnil,omitempty" name:"PostMaxSize"`

	// QUIC access, which is a paid service. You can check the product document and Billing Overview for more information.
	Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"`

	// Access authentication for OSS origin
	OssPrivateAccess *OssPrivateAccess `json:"OssPrivateAccess,omitnil,omitempty" name:"OssPrivateAccess"`

	// WebSocket configuration
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`

	// Remote authentication configuration
	RemoteAuthentication *RemoteAuthentication `json:"RemoteAuthentication,omitnil,omitempty" name:"RemoteAuthentication"`

	// Shared CNAME configuration (only available to beta users)
	ShareCname *ShareCname `json:"ShareCname,omitnil,omitempty" name:"ShareCname"`

	// Access authentication for Huawei Cloud OBS origin
	HwPrivateAccess *HwPrivateAccess `json:"HwPrivateAccess,omitnil,omitempty" name:"HwPrivateAccess"`

	// Access authentication for QiNiu Cloud Kodo origin
	QnPrivateAccess *QnPrivateAccess `json:"QnPrivateAccess,omitnil,omitempty" name:"QnPrivateAccess"`

	// Origin-pull authentication for other origins
	OthersPrivateAccess *OthersPrivateAccess `json:"OthersPrivateAccess,omitnil,omitempty" name:"OthersPrivateAccess"`

	// HTTPS, which is a paid service. You can check the product document and Billing Overview for more information.
	HttpsBilling *HttpsBilling `json:"HttpsBilling,omitnil,omitempty" name:"HttpsBilling"`
}

Predefined struct for user

type UpdateDomainConfigResponse

type UpdateDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *UpdateDomainConfigResponseParams `json:"Response"`
}

func NewUpdateDomainConfigResponse

func NewUpdateDomainConfigResponse() (response *UpdateDomainConfigResponse)

func (*UpdateDomainConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDomainConfigResponse) ToJsonString

func (r *UpdateDomainConfigResponse) ToJsonString() string

type UpdateDomainConfigResponseParams

type UpdateDomainConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdatePayTypeRequest

type UpdatePayTypeRequest struct {
	*tchttp.BaseRequest

	// Billing region, which can be `mainland` or `overseas`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Billing mode, which can be `flux` or `bandwidth`.
	PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"`
}

func NewUpdatePayTypeRequest

func NewUpdatePayTypeRequest() (request *UpdatePayTypeRequest)

func (*UpdatePayTypeRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdatePayTypeRequest) ToJsonString

func (r *UpdatePayTypeRequest) ToJsonString() string

type UpdatePayTypeRequestParams

type UpdatePayTypeRequestParams struct {
	// Billing region, which can be `mainland` or `overseas`.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Billing mode, which can be `flux` or `bandwidth`.
	PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"`
}

Predefined struct for user

type UpdatePayTypeResponse

type UpdatePayTypeResponse struct {
	*tchttp.BaseResponse
	Response *UpdatePayTypeResponseParams `json:"Response"`
}

func NewUpdatePayTypeResponse

func NewUpdatePayTypeResponse() (response *UpdatePayTypeResponse)

func (*UpdatePayTypeResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdatePayTypeResponse) ToJsonString

func (r *UpdatePayTypeResponse) ToJsonString() string

type UpdatePayTypeResponseParams

type UpdatePayTypeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateScdnDomainRequest

type UpdateScdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// WAF configuration
	Waf *ScdnWafConfig `json:"Waf,omitnil,omitempty" name:"Waf"`

	// Custom defense policy configuration
	Acl *ScdnAclConfig `json:"Acl,omitnil,omitempty" name:"Acl"`

	// CC attack defense configurations. CC attack defense is enabled by default.
	CC *ScdnConfig `json:"CC,omitnil,omitempty" name:"CC"`

	// DDoS defense configuration. DDoS defense is enabled by default.
	Ddos *ScdnDdosConfig `json:"Ddos,omitnil,omitempty" name:"Ddos"`

	// Bot defense configuration
	Bot *ScdnBotConfig `json:"Bot,omitnil,omitempty" name:"Bot"`
}

func NewUpdateScdnDomainRequest

func NewUpdateScdnDomainRequest() (request *UpdateScdnDomainRequest)

func (*UpdateScdnDomainRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateScdnDomainRequest) ToJsonString

func (r *UpdateScdnDomainRequest) ToJsonString() string

type UpdateScdnDomainRequestParams

type UpdateScdnDomainRequestParams struct {
	// Domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// WAF configuration
	Waf *ScdnWafConfig `json:"Waf,omitnil,omitempty" name:"Waf"`

	// Custom defense policy configuration
	Acl *ScdnAclConfig `json:"Acl,omitnil,omitempty" name:"Acl"`

	// CC attack defense configurations. CC attack defense is enabled by default.
	CC *ScdnConfig `json:"CC,omitnil,omitempty" name:"CC"`

	// DDoS defense configuration. DDoS defense is enabled by default.
	Ddos *ScdnDdosConfig `json:"Ddos,omitnil,omitempty" name:"Ddos"`

	// Bot defense configuration
	Bot *ScdnBotConfig `json:"Bot,omitnil,omitempty" name:"Bot"`
}

Predefined struct for user

type UpdateScdnDomainResponse

type UpdateScdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *UpdateScdnDomainResponseParams `json:"Response"`
}

func NewUpdateScdnDomainResponse

func NewUpdateScdnDomainResponse() (response *UpdateScdnDomainResponse)

func (*UpdateScdnDomainResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateScdnDomainResponse) ToJsonString

func (r *UpdateScdnDomainResponse) ToJsonString() string

type UpdateScdnDomainResponseParams

type UpdateScdnDomainResponseParams struct {
	// Result of the request. `Success` indicates that the configurations are updated.
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UrlRecord

type UrlRecord struct {
	// Status. `disable`: Blocked; `enable`: Unblocked.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Corresponding URL
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RealUrl *string `json:"RealUrl,omitnil,omitempty" name:"RealUrl"`

	// Creation time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type UrlRedirect

type UrlRedirect struct {
	// Whether to enable URL rewriting. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Rule of URL rewriting rule, which is required if `Switch` is `on`. There can be up to 10 rules.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PathRules []*UrlRedirectRule `json:"PathRules,omitnil,omitempty" name:"PathRules"`
}

type UrlRedirectRule

type UrlRedirectRule struct {
	// Redirect status code. Valid values: 301, 302
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitnil,omitempty" name:"RedirectStatusCode"`

	// URL to be matched. Only URLs are supported, while parameters are not. The exact match is used by default. In regex match, up to 5 wildcards `*` are supported. The URL can contain up to 1,024 characters.
	Pattern *string `json:"Pattern,omitnil,omitempty" name:"Pattern"`

	// Target URL, starting with `/` and excluding parameters. The path can contain up to 1,024 characters. The wildcards in the matching path can be respectively captured using `$1`, `$2`, `$3`, `$4`, and `$5`. Up to 10 values can be captured.
	RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"`

	// Target host. It should be a standard domain name starting with `http://` or `https://`. If it is left empty, “http://[current domain name]” will be used by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RedirectHost *string `json:"RedirectHost,omitnil,omitempty" name:"RedirectHost"`

	// Whether to use full-path matching or arbitrary matching
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FullMatch *bool `json:"FullMatch,omitnil,omitempty" name:"FullMatch"`
}

type UserAgentFilter

type UserAgentFilter struct {
	// Whether to enable User-Agent blocklist/allowlist. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// UA blacklist/whitelist effect rule list
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FilterRules []*UserAgentFilterRule `json:"FilterRules,omitnil,omitempty" name:"FilterRules"`
}

type UserAgentFilterRule

type UserAgentFilterRule struct {
	// Effective access path type
	// `all`: All access paths are effective
	// `file`: Effective by file extension
	// `directory`: Effective by directory
	// `path`: Effective by full access path
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Effective access paths
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`

	// `UserAgent` list
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UserAgents []*string `json:"UserAgents,omitnil,omitempty" name:"UserAgents"`

	// Blocklist or allowlist. Valid values: `blacklist`, `whitelist`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`
}

type VideoSeek

type VideoSeek struct {
	// Whether to enable video dragging. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

type ViolationUrl

type ViolationUrl struct {
	// ID
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Origin access URL of the resource in violation
	RealUrl *string `json:"RealUrl,omitnil,omitempty" name:"RealUrl"`

	// Snapshot path. This is used to display a snapshot of the content in violation on the console.
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

	// Current status of non-compliant resource
	// `forbid`: Blocked
	// `release`: Unblocked
	// `delay`: Processing delayed
	// `reject`: Appeal dismissed. It is still in `forbid` status.
	// `complain`: Appeal in process
	UrlStatus *string `json:"UrlStatus,omitnil,omitempty" name:"UrlStatus"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type WafSubRuleStatus

type WafSubRuleStatus struct {
	// Whether to enable WAF sub-rules. Values:
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// List of rule IDs
	SubIds []*int64 `json:"SubIds,omitnil,omitempty" name:"SubIds"`
}

type WebSocket

type WebSocket struct {
	// Whether to enable WebSocket connection timeout. Values:
	// `on`: When it's enabled, the connection timeout can be configured.
	// `off`: When it's disabled, the connection timeout is set to 15 seconds by default.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Sets timeout period in seconds. Maximum value: 300
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"`
}

type WebpAdapter

type WebpAdapter struct {
	// Whether to enable WebpAdapter for image optimization. Values:
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return·`null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`
}

Jump to

Keyboard shortcuts

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