v20220901

package
v3.0.616+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The certificate does not exist.
	FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"

	// The site status is invalid.
	FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Server error.
	INTERNALERROR_BACKENDERROR = "InternalError.BackendError"

	// Database error.
	INTERNALERROR_DBERROR = "InternalError.DBError"

	// Failed to get configuration
	INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"

	// Failed to generate an upload link.
	INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"

	// Failed to get the role.
	INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"

	// An unknown error occurred in the backend server.
	INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

	// Server error.
	INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"

	// The backend routing address is incorrect.
	INTERNALERROR_ROUTEERROR = "InternalError.RouteError"

	// Internal system error.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// Too many attempts. Please try again later.
	INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"

	// HTTPS certificate chain error.
	INVALIDPARAMETER_CERTCHAINERROR = "InvalidParameter.CertChainError"

	// Certificate error.
	INVALIDPARAMETER_CERTCHECKERROR = "InvalidParameter.CertCheckError"

	// Certificate error.
	INVALIDPARAMETER_CERTCOMPLETEERROR = "InvalidParameter.CertCompleteError"

	// Certificate error.
	INVALIDPARAMETER_CERTFORMATERROR = "InvalidParameter.CertFormatError"

	// The HTTPS certificate has expired.
	INVALIDPARAMETER_CERTISEXPIRED = "InvalidParameter.CertIsExpired"

	// Certificate error.
	INVALIDPARAMETER_CERTNOCN = "InvalidParameter.CertNoCn"

	// Invalid HTTPS certificate.
	INVALIDPARAMETER_CERTNOINFO = "InvalidParameter.CertNoInfo"

	// Mismatch between the HTTPS certificate and the domain name.
	INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"

	// Mismatch between the HTTPS certificate and the key.
	INVALIDPARAMETER_CERTNOTMATCHKEY = "InvalidParameter.CertNotMatchKey"

	// Certificate error.
	INVALIDPARAMETER_CERTNOTPEM = "InvalidParameter.CertNotPem"

	// Internal error.
	INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"

	// The HTTPS certificate is about to expire.
	INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire"

	// Certificate error.
	INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize"

	// Certificate error.
	INVALIDPARAMETER_CERTUNSUPPORTEDTYPE = "InvalidParameter.CertUnsupportedType"

	// The domain name does not exist or is not belong to this account.
	INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"

	// The current conditions do not support the requested operation.
	INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget"

	// Invalid operation.
	INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction"

	// Invalid operation: Invalid parameter.
	INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam"

	//
	INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType"

	// Invalid parameter: Duplicate parameter names.
	INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName"

	// Invalid parameter: The parameter has too many values.
	INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues"

	// Invalid action type.
	INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType"

	// Invalid condition: The letter case is ignored.
	INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase"

	// Invalid condition: The match type is not supported by this parameter.
	INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName"

	//
	INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular"

	// Invalid condition: The parameter value is invalid.
	INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue"

	// Invalid parameter value: File extension is not allowed.
	INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension"

	// Invalid condition: The parameter value exceeds the limit.
	INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue"

	//
	INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard"

	// Invalid condition: The parameter value is 0.
	INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength"

	// To enable gRPC support, HTTP/2 support must be enabled as well.
	INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2"

	// The domain name does not exist.
	INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"

	//
	INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate"

	// Invalid token authentication.
	INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication"

	// Invalid token authentication parameter.
	INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"

	//
	INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin"

	// Invalid cache key.
	INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey"

	// Invalid query string.
	INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue"

	// Invalid node cache.
	INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"

	//
	INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime"

	// Incorrect certificate information.
	INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"

	// Invalid client IP request header.
	INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"

	// Invalid smart acceleration.
	INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"

	//
	INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling"

	// Invalid custom error page.
	INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"

	// Invalid HTTPS HSTS.
	INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge"

	// Invalid HTTPS TLS version.
	INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion"

	// Invalid IPv6 settings.
	INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"

	// Invalid origin server.
	INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"

	// Invalid parameter.
	INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"

	// The speciThe plan does not support limiting the max upload size.
	INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"

	// Invalid POST request size.
	INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"

	// Invalid request header.
	INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"

	// You have not purchased a plan yet.
	INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"

	// Invalid response header.
	INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName"

	// Invalid rule engine settings.
	INVALIDPARAMETER_INVALIDRULEENGINE = "InvalidParameter.InvalidRuleEngine"

	// Invalid rule engine operation.
	INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"

	// The rule does not exist.
	INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"

	// Invalid rule engine condition.
	INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"

	// Invalid file extension in the rule engine condition.
	INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"

	// Invalid URL in the rule engine condition.
	INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"

	// Invalid origin domain.
	INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName"

	// Invalid target host in the URL rewriting rule.
	INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"

	// The target URL for URL rewrite is invalid.
	INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

	// Invalid WebSocket.
	INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"

	// Invalid cache key.
	INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue"

	// Maximum parameter length exceeded.
	INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"

	// Parameter error.
	INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

	// The plan doesn’t exist.
	INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound"

	// Invalid parameter.
	INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

	// Configuration parameter error.
	INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"

	// Resource error
	INVALIDPARAMETER_TARGET = "InvalidParameter.Target"

	// Failed to create the task
	INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"

	//
	INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError"

	// Invalid file upload link.
	INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"

	// The site is already bound.
	INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound"

	// The site does not exist.
	INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Invalid domain name. Please check the status.
	INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus"

	// The quota limit has been reached.
	LIMITEXCEEDED = "LimitExceeded"

	// Reached the upper limit of resource number
	LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"

	// Reached the daily upper limit of resource number
	LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

	// Reached the API rate limit.
	LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// Unable to use the domain name when it’s blocked.
	OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"

	// The domain name doesn't have an ICP filing number.
	OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"

	// Operation failed: The L4 proxy is blocked.
	OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"

	// Unable to operate the L4 instance when it’s not running
	OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline"

	// Unable to switch to NS for multiple sites using CNAME.
	OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"

	// Domain traffic scheduling is not supported in NS access mode.
	OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy"

	// The resource is occupied.
	RESOURCEINUSE = "ResourceInUse"

	// Resources occupied by the alias domain names under this account.
	RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"

	// Resources occupied by this account via CNAME.
	RESOURCEINUSE_CNAME = "ResourceInUse.Cname"

	// DNS resources occupied.
	RESOURCEINUSE_DNS = "ResourceInUse.Dns"

	// Duplicate alias domain names.
	RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName"

	// Resources occupied by the wildcard domain name.
	RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost"

	// Resources occupied by the subdomain names under this account.
	RESOURCEINUSE_HOST = "ResourceInUse.Host"

	// Resources occupied by this account via NS.
	RESOURCEINUSE_NS = "ResourceInUse.NS"

	// The resource has been connected to EdgeOne by another user.
	RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

	// Resources occupied by the alias domain names under other accounts.
	RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain"

	// Resources occupied by other accounts via CNAME.
	RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname"

	// Resources occupied by the subdomain names under other accounts.
	RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost"

	// Resources occupied by other accounts via NS.
	RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"

	// Resources occupied by this account and others via CNAME.
	RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"

	// The alias domain name is already added.
	RESOURCEINUSE_ZONE = "ResourceInUse.Zone"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource doesn’t exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The certificate does not exist or is not authorized.
	RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

	// The domain name does not exist or not use a proxy.
	RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

	// No proxied sites found
	RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

	// The site does not exist or is not belong to this account.
	RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// CAM is not authorized.
	UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

	// Authentication error.
	UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"

	// The sub-account is not authorized for the operation. Please get permissions first.
	UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

	// An unknown error occurred in the backend server.
	UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2022-09-01"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelerateType

type AccelerateType struct {
	// Acceleration switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type AclCondition

type AclCondition struct {
	// The field to match. Values:
	// <li>`host`: Request domain name</li>
	// <li>`sip`: Client IP</li>
	// <li>`ua`: User-Agent</li>
	// <li>`cookie`: Cookie</li>
	// <li>`cgi`: CGI script</li>
	// <li>`xff`: XFF header</li>
	// <li>`url`: Request URL</li>
	// <li>`accept`: Request content type</li>
	// <li>`method`: Request method</li>
	// <li>`header`: Request header</li>
	// <li>`sip_proto`: Network layer protocol</li>
	MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`

	// The parameter of the field. When `MatchFrom = header`, the key contained in the header can be passed.
	MatchParam *string `json:"MatchParam,omitempty" name:"MatchParam"`

	// The logical operator. Values:
	// <li>`equal`: Value equals</li>
	// <li>`not_equal`: Value not equals</li>
	// <li>`include`: String contains</li>
	// <li>`not_include`: String not contains</li>
	// <li>`match`: IP matches</li>
	// <li>`not_match`: IP not matches</li>
	// <li>`include_area`: Regions contain</li>
	// <li>`is_empty`: Value left empty</li>
	// <li>`not_exists`: Key fields not exist</li>
	// <li>`regexp`: Regex matches</li>
	// <li>`len_gt`: Value greater than</li>
	// <li>`len_lt`: Value smaller than</li>
	// <li>`len_eq`: Value equals</li>
	// <li>`match_prefix`: Prefix matches</li>
	// <li>`match_suffix`: Suffix matches</li>
	// <li>`wildcard`: Wildcard</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// The content to match.
	MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}

type AclConfig

type AclConfig struct {
	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The custom rule.
	AclUserRules []*AclUserRule `json:"AclUserRules,omitempty" name:"AclUserRules"`
}

type AclUserRule

type AclUserRule struct {
	// The rule name.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule action. Values:
	// <li>`trans`: Allow the request.</li>
	// <li>`drop`: Block the request.</li>
	// <li>`monitor`: Observe the request.</li>
	// <li>`ban`: Block the IP.</li>
	// <li>`redirect`: Redirect the request.</li>
	// <li>`page`: Return the specified page.</li>
	// <li>`alg`: Verify the request by Javascript challenge.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The rule status. Values:
	// <li>`on`: Enabled</li>
	// <li>`off`: Disabled</li>
	RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`

	// The custom rule.
	AclConditions []*AclCondition `json:"AclConditions,omitempty" name:"AclConditions"`

	// The rule priority. Value range: 0-100.
	RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`

	// The rule ID, which is only used as an output parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`

	// The update time, which is only used as an output parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// The IP blocking duration. Value range: 0 seconds - 2 days. Default value: 0 seconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`

	// The unit of the IP blocking duration. Values:
	// <li>`second`: Second</li>
	// <li>`minutes`: Minute</li>
	// <li>`hour`: Hour</li>Default value: second.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`

	// The name of the custom page, which defaults to an empty string.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The ID of the custom page, which defaults to 0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageId *int64 `json:"PageId,omitempty" name:"PageId"`

	// The redirection URL, which must be a subdomain name of the site. It defaults to an empty string.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitempty" name:"RedirectUrl"`

	// The response code returned after redirection, which defaults to 0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResponseCode *int64 `json:"ResponseCode,omitempty" name:"ResponseCode"`
}

type Action

type Action struct {
	// Common feature operation. Features of this type include:
	// <li>`AccessUrlRedirect`: Access URL rewrite</li>
	// <li>`UpstreamUrlRedirect`: Origin-pull URL rewrite</li>
	// <li>`QUIC`: QUIC</li>
	// <li>`WebSocket`: WebSocket</li>
	// <li>`VideoSeek`: Video dragging</li>
	// <li>`Authentication`: Token authentication</li>
	// <li>`CacheKey`: Custom cache key</li>
	// <li>`Cache`: Node cache TTL</li>
	// <li>`MaxAge`: Browser cache TTL</li>
	// <li>`OfflineCache`: Offline cache</li>
	// <li>`SmartRouting`: Smart acceleration</li>
	// <li>`RangeOriginPull`: Range GETs</li>
	// <li>`UpstreamHttp2`: HTTP/2 forwarding</li>
	// <li>`HostHeader`: Host header rewrite</li>
	// <li>`ForceRedirect`: Force HTTPS</li>
	// <li>`OriginPullProtocol`: Origin-pull HTTPS</li>
	// <li>`CachePrefresh`: Cache prefresh</li>
	// <li>`Compression`: Smart compression</li>
	// <li>`Hsts`</li>
	// <li>`ClientIpHeader`</li>
	// <li>`TlsVersion`</li>
	// <li>`OcspStapling`</li>
	// <li>`Http2`: HTTP/2 access</li>
	// <li>`UpstreamFollowRedirect: Follow origin redirect</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NormalAction *NormalAction `json:"NormalAction,omitempty" name:"NormalAction"`

	// Feature operation with a request/response header. Features of this type include:
	// <li>`RequestHeader`: HTTP request header modification.</li>
	// <li>`ResponseHeader`: HTTP response header modification.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	RewriteAction *RewriteAction `json:"RewriteAction,omitempty" name:"RewriteAction"`

	// Feature operation with a status code. Features of this type include:
	// <li>`ErrorPage`: Custom error page.</li>
	// <li>`StatusCodeCache`: Status code cache TTL.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	CodeAction *CodeAction `json:"CodeAction,omitempty" name:"CodeAction"`
}

type AdvancedFilter

type AdvancedFilter struct {
	// Field to be filtered.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Value of the filtered field.
	Values []*string `json:"Values,omitempty" name:"Values"`

	// Whether to enable fuzzy query.
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

type AiRule

type AiRule struct {
	// The status of the AI rule engine. Values:
	// <li>`smart_status_close`: Disabled</li>
	// <li>`smart_status_open`: Block</li>
	// <li>`smart_status_observe`: Observe</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

type AliasDomain

type AliasDomain struct {
	// The alias domain name.
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The target domain name.
	TargetName *string `json:"TargetName,omitempty" name:"TargetName"`

	// Status of the alias domain name. Values:
	// <li>`active`: Activated</li>
	// <li>`pending`: Deploying</li>
	// <li>`conflict`: Reclaimed</li>
	// <li>`stop`: Stopped</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The blocking mode. Values:
	// <li>`0`: Not blocked</li>
	// <li>`11`: Blocked due to regulatory compliance</li>
	// <li>`14`: Blocked due to ICP filing not obtained</li>
	ForbidMode *int64 `json:"ForbidMode,omitempty" name:"ForbidMode"`

	// Creation time of the alias domain name.
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Modification time of the alias domain name.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
}

type ApplicationProxy

type ApplicationProxy struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The domain name or subdomain name when `ProxyType=hostname`.
	// The instance name when `ProxyType=instance`.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// The proxy type. Values:
	// <li>`hostname`: The proxy is created by subdomain name.</li>
	// <li>`instance`: The proxy is created by instance.</li>
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// The scheduling mode. Values:
	// <li>`ip`: Schedule via Anycast IP.</li>
	// <li>`domain`: Schedule via CNAME.</li>
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// Default value: overseas.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Whether to enable security protection. Values:
	// <li>`0`: Disable security protection.</li>
	// <li>`1`: Enable security protection.</li>
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// Whether to enable acceleration. Values:
	// <li>`0`: Disable acceleration.</li>
	// <li>`1`: Enable acceleration.</li>
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The session persistence duration.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// The rule status. Values:
	// <li>`online`: Enabled</li>
	// <li>`offline`: Disabled</li>
	// <li>`progress`: Deploying</li>
	// <li>`stopping`: Disabling</li>
	// <li>`fail`: Failed to deploy or disable</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The blocking status of the proxy. Values:
	// <li>`banned`: Blocked</li>
	// <li>`banning`: Blocking</li>
	// <li>`recover`: Unblocked</li>
	// <li>`recovering`: Unblocking</li>
	BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`

	// Scheduling information.
	ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"`

	// When `ProxyType=hostname`:
	// This field indicates the unique ID of the subdomain name.
	HostId *string `json:"HostId,omitempty" name:"HostId"`

	// The IPv6 access configuration.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

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

	// List of rules.
	ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitempty" name:"ApplicationProxyRules"`
}

type ApplicationProxyRule

type ApplicationProxyRule struct {
	// The protocol. Values:
	// <li>`TCP`: TCP protocol.</li>
	// <li>`UDP`: UDP protocol.</li>
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// The access port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-82</li>
	// Note that each rule can have up to 20 ports.
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information:
	// <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
	// <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The rule status. Values:
	// <li>`online`: Enabled.</li>
	// <li>`offline`: Disabled.</li>
	// <li>`progress`: Deploying</li>
	// <li>`stopping`: Disabling</li>
	// <li>`fail`: Failed to deploy or disable</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Passes the client IP. Values:
	// <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
	// <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
	// <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
	// <li>`OFF`: Not pass the client IP.</li>Default value: OFF.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Whether to enable session persistence. Values:
	// <li>`true`: Enable</li>
	// <li>`false`: Disable</li>Default value: false
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// The origin port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-82</li>
	OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}

type AscriptionInfo

type AscriptionInfo struct {
	Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"`

	// The record type.
	RecordType *string `json:"RecordType,omitempty" name:"RecordType"`

	// The record value.
	RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"`
}

type BindZoneToPlanRequest

type BindZoneToPlanRequest struct {
	*tchttp.BaseRequest

	// ID of the site to be bound.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// ID of the target plan.
	PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
}

func NewBindZoneToPlanRequest

func NewBindZoneToPlanRequest() (request *BindZoneToPlanRequest)

func (*BindZoneToPlanRequest) FromJsonString

func (r *BindZoneToPlanRequest) 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 (*BindZoneToPlanRequest) ToJsonString

func (r *BindZoneToPlanRequest) ToJsonString() string

type BindZoneToPlanRequestParams

type BindZoneToPlanRequestParams struct {
	// ID of the site to be bound.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// ID of the target plan.
	PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
}

Predefined struct for user

type BindZoneToPlanResponse

type BindZoneToPlanResponse struct {
	*tchttp.BaseResponse
	Response *BindZoneToPlanResponseParams `json:"Response"`
}

func NewBindZoneToPlanResponse

func NewBindZoneToPlanResponse() (response *BindZoneToPlanResponse)

func (*BindZoneToPlanResponse) FromJsonString

func (r *BindZoneToPlanResponse) 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 (*BindZoneToPlanResponse) ToJsonString

func (r *BindZoneToPlanResponse) ToJsonString() string

type BindZoneToPlanResponseParams

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

Predefined struct for user

type BotConfig

type BotConfig struct {
	// Whether to enable bot security. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The settings of the bot managed rule. If it is null, the settings that were last configured will be used.
	BotManagedRule *BotManagedRule `json:"BotManagedRule,omitempty" name:"BotManagedRule"`

	// The settings of the client reputation rule. If it is null, the settings that were last configured will be used.
	BotPortraitRule *BotPortraitRule `json:"BotPortraitRule,omitempty" name:"BotPortraitRule"`

	// The bot intelligence settings. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitempty" name:"IntelligenceRule"`
}

type BotManagedRule

type BotManagedRule struct {
	// The rule action. Values:
	// <li>`drop`: Block</li>
	// <li>`trans`: Allow</li>
	// <li>`alg`: JavaScript challenge</li>
	// <li>`monitor`: Observe</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The rule ID, which is only used as an output parameter.
	RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`

	// The ID of the rule that applies the "Allow" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TransManagedIds []*int64 `json:"TransManagedIds,omitempty" name:"TransManagedIds"`

	// The ID of the rule that applies the "JavaScript challenge" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AlgManagedIds []*int64 `json:"AlgManagedIds,omitempty" name:"AlgManagedIds"`

	// The ID of the rule that applies the "Managed challenge" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CapManagedIds []*int64 `json:"CapManagedIds,omitempty" name:"CapManagedIds"`

	// The ID of the rule that applies the "Observe" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MonManagedIds []*int64 `json:"MonManagedIds,omitempty" name:"MonManagedIds"`

	// The ID of the rule that applies the "Block" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DropManagedIds []*int64 `json:"DropManagedIds,omitempty" name:"DropManagedIds"`
}

type BotPortraitRule

type BotPortraitRule struct {
	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The rule ID, which is only used as an output parameter.
	RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`

	// The ID of the rule that applies the "JavaScript challenge" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AlgManagedIds []*int64 `json:"AlgManagedIds,omitempty" name:"AlgManagedIds"`

	// The ID of the rule that applies the "Managed challenge" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CapManagedIds []*int64 `json:"CapManagedIds,omitempty" name:"CapManagedIds"`

	// The ID of the rule that applies the "Observe" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MonManagedIds []*int64 `json:"MonManagedIds,omitempty" name:"MonManagedIds"`

	// The ID of the rule that applies the "Block" action.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DropManagedIds []*int64 `json:"DropManagedIds,omitempty" name:"DropManagedIds"`
}

type CC

type CC struct {
	// WAF switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// ID of the policy
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}

type Cache

type Cache struct {
	// Whether to enable cache configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

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

	// Whether to enable force cache. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	IgnoreCacheControl *string `json:"IgnoreCacheControl,omitempty" name:"IgnoreCacheControl"`
}

type CacheConfig

type CacheConfig struct {
	// Cache configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Cache *Cache `json:"Cache,omitempty" name:"Cache"`

	// No-cache configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	NoCache *NoCache `json:"NoCache,omitempty" name:"NoCache"`

	// Follows the origin server configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	FollowOrigin *FollowOrigin `json:"FollowOrigin,omitempty" name:"FollowOrigin"`
}

type CacheKey

type CacheKey struct {
	// Whether to enable full-path cache. Values:
	// <li>`on`: Enable full-path cache (i.e., disable Ignore Query String).</li>
	// <li>`off`: Disable full-path cache (i.e., enable Ignore Query String).</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	FullUrlCache *string `json:"FullUrlCache,omitempty" name:"FullUrlCache"`

	// Whether to ignore case in the cache key. Values:
	// <li>`on`: Ignore</li>
	// <li>`off`: Not ignore</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	IgnoreCase *string `json:"IgnoreCase,omitempty" name:"IgnoreCase"`

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

type CachePrefresh

type CachePrefresh struct {
	// Whether to enable cache prefresh. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The cache prefresh percentage. Values: 1-99
	// Note: This field may return null, indicating that no valid values can be obtained.
	Percent *int64 `json:"Percent,omitempty" name:"Percent"`
}

type CheckCertificateRequest

type CheckCertificateRequest struct {
	*tchttp.BaseRequest

	// Content of the certificate.
	Certificate *string `json:"Certificate,omitempty" name:"Certificate"`

	// Content of the private key.
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}

func NewCheckCertificateRequest

func NewCheckCertificateRequest() (request *CheckCertificateRequest)

func (*CheckCertificateRequest) FromJsonString

func (r *CheckCertificateRequest) 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 (*CheckCertificateRequest) ToJsonString

func (r *CheckCertificateRequest) ToJsonString() string

type CheckCertificateRequestParams

type CheckCertificateRequestParams struct {
	// Content of the certificate.
	Certificate *string `json:"Certificate,omitempty" name:"Certificate"`

	// Content of the private key.
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}

Predefined struct for user

type CheckCertificateResponse

type CheckCertificateResponse struct {
	*tchttp.BaseResponse
	Response *CheckCertificateResponseParams `json:"Response"`
}

func NewCheckCertificateResponse

func NewCheckCertificateResponse() (response *CheckCertificateResponse)

func (*CheckCertificateResponse) FromJsonString

func (r *CheckCertificateResponse) 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 (*CheckCertificateResponse) ToJsonString

func (r *CheckCertificateResponse) ToJsonString() string

type CheckCertificateResponseParams

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

Predefined struct for user

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) BindZoneToPlan

func (c *Client) BindZoneToPlan(request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)

BindZoneToPlan This API is used to bind a site to a plan.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound"
INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) BindZoneToPlanWithContext

func (c *Client) BindZoneToPlanWithContext(ctx context.Context, request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)

BindZoneToPlan This API is used to bind a site to a plan.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound"
INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CheckCertificate

func (c *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)

CheckCertificate This API is used to verify a certificate.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_CERTCHAINERROR = "InvalidParameter.CertChainError"
INVALIDPARAMETER_CERTCHECKERROR = "InvalidParameter.CertCheckError"
INVALIDPARAMETER_CERTCOMPLETEERROR = "InvalidParameter.CertCompleteError"
INVALIDPARAMETER_CERTFORMATERROR = "InvalidParameter.CertFormatError"
INVALIDPARAMETER_CERTISEXPIRED = "InvalidParameter.CertIsExpired"
INVALIDPARAMETER_CERTNOCN = "InvalidParameter.CertNoCn"
INVALIDPARAMETER_CERTNOINFO = "InvalidParameter.CertNoInfo"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
INVALIDPARAMETER_CERTNOTMATCHKEY = "InvalidParameter.CertNotMatchKey"
INVALIDPARAMETER_CERTNOTPEM = "InvalidParameter.CertNotPem"
INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"
INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire"
INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize"
INVALIDPARAMETER_CERTUNSUPPORTEDTYPE = "InvalidParameter.CertUnsupportedType"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"

func (*Client) CheckCertificateWithContext

func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)

CheckCertificate This API is used to verify a certificate.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_CERTCHAINERROR = "InvalidParameter.CertChainError"
INVALIDPARAMETER_CERTCHECKERROR = "InvalidParameter.CertCheckError"
INVALIDPARAMETER_CERTCOMPLETEERROR = "InvalidParameter.CertCompleteError"
INVALIDPARAMETER_CERTFORMATERROR = "InvalidParameter.CertFormatError"
INVALIDPARAMETER_CERTISEXPIRED = "InvalidParameter.CertIsExpired"
INVALIDPARAMETER_CERTNOCN = "InvalidParameter.CertNoCn"
INVALIDPARAMETER_CERTNOINFO = "InvalidParameter.CertNoInfo"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
INVALIDPARAMETER_CERTNOTMATCHKEY = "InvalidParameter.CertNotMatchKey"
INVALIDPARAMETER_CERTNOTPEM = "InvalidParameter.CertNotPem"
INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"
INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire"
INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize"
INVALIDPARAMETER_CERTUNSUPPORTEDTYPE = "InvalidParameter.CertUnsupportedType"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"

func (*Client) CreateAliasDomain

func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)

CreateAliasDomain This API is used to create an alias domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName"
RESOURCEINUSE_ZONE = "ResourceInUse.Zone"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAliasDomainWithContext

func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)

CreateAliasDomain This API is used to create an alias domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName"
RESOURCEINUSE_ZONE = "ResourceInUse.Zone"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateApplicationProxy

func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)

CreateApplicationProxy This API is used to create an application proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateApplicationProxyRule

func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)

CreateApplicationProxyRule This API is used to create an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateApplicationProxyRuleWithContext

func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)

CreateApplicationProxyRule This API is used to create an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateApplicationProxyWithContext

func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)

CreateApplicationProxy This API is used to create an application proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateCredential

func (c *Client) CreateCredential(request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)

CreateCredential Creates a credential for COS origin-pull.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"

func (*Client) CreateCredentialWithContext

func (c *Client) CreateCredentialWithContext(ctx context.Context, request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)

CreateCredential Creates a credential for COS origin-pull.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"

func (*Client) CreateOriginGroup

func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)

CreateOriginGroup This API is used to create an origin group.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) CreateOriginGroupWithContext

func (c *Client) CreateOriginGroupWithContext(ctx context.Context, request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)

CreateOriginGroup This API is used to create an origin group.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) CreatePlanForZone

func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)

CreatePlanForZone This API is used to purchase a plan for a new site.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) CreatePlanForZoneWithContext

func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)

CreatePlanForZone This API is used to purchase a plan for a new site.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) CreatePrefetchTask

func (c *Client) CreatePrefetchTask(request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)

CreatePrefetchTask This API is used to create a pre-warming task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreatePrefetchTaskWithContext

func (c *Client) CreatePrefetchTaskWithContext(ctx context.Context, request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)

CreatePrefetchTask This API is used to create a pre-warming task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreatePurgeTask

func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)

CreatePurgeTask This API is used to create a cache purging task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) CreatePurgeTaskWithContext

func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)

CreatePurgeTask This API is used to create a cache purging task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) CreateReplayTask

func (c *Client) CreateReplayTask(request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)

CreateReplayTask This API is used to create a replay task for purging or pre-warming URLs.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreateReplayTaskWithContext

func (c *Client) CreateReplayTaskWithContext(ctx context.Context, request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)

CreateReplayTask This API is used to create a replay task for purging or pre-warming URLs.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreateRule

func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)

CreateRule This API is used to create a rule in the rule engine.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"
INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction"
INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam"
INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType"
INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType"
INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication"
INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"
INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey"
INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge"
INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName"
INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) CreateRuleWithContext

func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)

CreateRule This API is used to create a rule in the rule engine.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"
INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction"
INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam"
INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType"
INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType"
INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication"
INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"
INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey"
INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge"
INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName"
INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) CreateSpeedTesting

func (c *Client) CreateSpeedTesting(request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)

CreateSpeedTesting This API is used to create a site testing task for a specified domain name.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) CreateSpeedTestingWithContext

func (c *Client) CreateSpeedTestingWithContext(ctx context.Context, request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)

CreateSpeedTesting This API is used to create a site testing task for a specified domain name.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) CreateZone

func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)

CreateZone This API is used to access a new site.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"
RESOURCEINUSE_CNAME = "ResourceInUse.Cname"
RESOURCEINUSE_DNS = "ResourceInUse.Dns"
RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost"
RESOURCEINUSE_HOST = "ResourceInUse.Host"
RESOURCEINUSE_NS = "ResourceInUse.NS"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"
RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain"
RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname"
RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost"
RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"
RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) CreateZoneWithContext

func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)

CreateZone This API is used to access a new site.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"
RESOURCEINUSE_CNAME = "ResourceInUse.Cname"
RESOURCEINUSE_DNS = "ResourceInUse.Dns"
RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost"
RESOURCEINUSE_HOST = "ResourceInUse.Host"
RESOURCEINUSE_NS = "ResourceInUse.NS"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"
RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain"
RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname"
RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost"
RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"
RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DeleteAliasDomain

func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)

DeleteAliasDomain This API is used to delete an alias domain name.

error code that may be returned:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteAliasDomainWithContext

func (c *Client) DeleteAliasDomainWithContext(ctx context.Context, request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)

DeleteAliasDomain This API is used to delete an alias domain name.

error code that may be returned:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteApplicationProxy

func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)

DeleteApplicationProxy This API is used to delete an application proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteApplicationProxyRule

func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)

DeleteApplicationProxyRule This API is used to delete an application proxy rule.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteApplicationProxyRuleWithContext

func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)

DeleteApplicationProxyRule This API is used to delete an application proxy rule.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteApplicationProxyWithContext

func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)

DeleteApplicationProxy This API is used to delete an application proxy.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteOriginGroup

func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)

DeleteOriginGroup This API is used to delete an origin group.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteOriginGroupWithContext

func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)

DeleteOriginGroup This API is used to delete an origin group.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteRules

func (c *Client) DeleteRules(request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)

DeleteRules This API is used to batch delete rules from the rule engine.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) DeleteRulesWithContext

func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)

DeleteRules This API is used to batch delete rules from the rule engine.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) DeleteZone

func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)

DeleteZone This API is used to delete a site.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteZoneWithContext

func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)

DeleteZone This API is used to delete a site.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeAddableEntityList

func (c *Client) DescribeAddableEntityList(request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)

DescribeAddableEntityList This API is used to query available shipping entities.

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeAddableEntityListWithContext

func (c *Client) DescribeAddableEntityListWithContext(ctx context.Context, request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)

DescribeAddableEntityList This API is used to query available shipping entities.

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeAliasDomains

func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)

DescribeAliasDomains This API is used to query the information of alias domain names.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeAliasDomainsWithContext

func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)

DescribeAliasDomains This API is used to query the information of alias domain names.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeApplicationProxies

func (c *Client) DescribeApplicationProxies(request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)

DescribeApplicationProxies This API is used to query the list of application proxies.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeApplicationProxiesWithContext

func (c *Client) DescribeApplicationProxiesWithContext(ctx context.Context, request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)

DescribeApplicationProxies This API is used to query the list of application proxies.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeAvailablePlans

func (c *Client) DescribeAvailablePlans(request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)

DescribeAvailablePlans This API is used to query plan options available for purchase.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

func (*Client) DescribeAvailablePlansWithContext

func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)

DescribeAvailablePlans This API is used to query plan options available for purchase.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

func (*Client) DescribeClientRuleList

func (c *Client) DescribeClientRuleList(request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)

DescribeClientRuleList This API is used to query the information of blocked clients.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeClientRuleListWithContext

func (c *Client) DescribeClientRuleListWithContext(ctx context.Context, request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)

DescribeClientRuleList This API is used to query the information of blocked clients.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeContentQuota

func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)

DescribeContentQuota This API is used to query content management quotas.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeContentQuotaWithContext

func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)

DescribeContentQuota This API is used to query content management quotas.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeDDoSAttackTopData

func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)

DescribeDDoSAttackTopData This API is used to query the top-ranked DDoS attack data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackTopDataWithContext

func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)

DescribeDDoSAttackTopData This API is used to query the top-ranked DDoS attack data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDefaultCertificates

func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)

DescribeDefaultCertificates This API is used to query a list of default certificates.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDefaultCertificatesWithContext

func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)

DescribeDefaultCertificates This API is used to query a list of default certificates.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDnsData

func (c *Client) DescribeDnsData(request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)

DescribeDnsData This API is used to get DNS requests.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDnsDataWithContext

func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)

DescribeDnsData This API is used to get DNS requests.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeHostsSetting

func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)

DescribeHostsSetting This API is used to query detailed domain name configuration.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeHostsSettingWithContext

func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)

DescribeHostsSetting This API is used to query detailed domain name configuration.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeIdentifications

func (c *Client) DescribeIdentifications(request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)

DescribeIdentifications This API is used to query the verification information of a site.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeIdentificationsWithContext

func (c *Client) DescribeIdentificationsWithContext(ctx context.Context, request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)

DescribeIdentifications This API is used to query the verification information of a site.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogSets

func (c *Client) DescribeLogSets(request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)

DescribeLogSets This API is used to get a list of logsets.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogSetsWithContext

func (c *Client) DescribeLogSetsWithContext(ctx context.Context, request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)

DescribeLogSets This API is used to get a list of logsets.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogTopicTasks

func (c *Client) DescribeLogTopicTasks(request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)

DescribeLogTopicTasks This API is used to get a list of shipping tasks.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

func (*Client) DescribeLogTopicTasksWithContext

func (c *Client) DescribeLogTopicTasksWithContext(ctx context.Context, request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)

DescribeLogTopicTasks This API is used to get a list of shipping tasks.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

func (*Client) DescribeOriginGroup

func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)

DescribeOriginGroup This API is used to obtain a list of origin groups.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

func (*Client) DescribeOriginGroupWithContext

func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)

DescribeOriginGroup This API is used to obtain a list of origin groups.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

func (*Client) DescribeOverviewL7Data

func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)

DescribeOverviewL7Data This API is used to query the L7 traffic summary statistics recorded over time.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeOverviewL7DataWithContext

func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)

DescribeOverviewL7Data This API is used to query the L7 traffic summary statistics recorded over time.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribePrefetchTasks

func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)

DescribePrefetchTasks This API is used to query the pre-warming task status.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"

func (*Client) DescribePrefetchTasksWithContext

func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)

DescribePrefetchTasks This API is used to query the pre-warming task status.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"

func (*Client) DescribePurgeTasks

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

DescribePurgeTasks Querying the cache purging history

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"

func (*Client) DescribePurgeTasksWithContext

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

DescribePurgeTasks Querying the cache purging history

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"

func (*Client) DescribeRules

func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

DescribeRules This API is used to query the rules in the rule engine.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"

func (*Client) DescribeRulesSetting

func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)

DescribeRulesSetting This API is used to return the list of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"

func (*Client) DescribeRulesSettingWithContext

func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)

DescribeRulesSetting This API is used to return the list of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"

func (*Client) DescribeRulesWithContext

func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

DescribeRules This API is used to query the rules in the rule engine.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"

func (*Client) DescribeSingleL7AnalysisData

func (c *Client) DescribeSingleL7AnalysisData(request *DescribeSingleL7AnalysisDataRequest) (response *DescribeSingleL7AnalysisDataResponse, err error)

DescribeSingleL7AnalysisData This API is used to query the statistical calculation result of an L7 traffic metric. In common cases, only one value is returned for the query of statistical calculation results.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSingleL7AnalysisDataWithContext

func (c *Client) DescribeSingleL7AnalysisDataWithContext(ctx context.Context, request *DescribeSingleL7AnalysisDataRequest) (response *DescribeSingleL7AnalysisDataResponse, err error)

DescribeSingleL7AnalysisData This API is used to query the statistical calculation result of an L7 traffic metric. In common cases, only one value is returned for the query of statistical calculation results.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSpeedTestingDetails

func (c *Client) DescribeSpeedTestingDetails(request *DescribeSpeedTestingDetailsRequest) (response *DescribeSpeedTestingDetailsResponse, err error)

DescribeSpeedTestingDetails This API is used to query the site’s load speed across regions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSpeedTestingDetailsWithContext

func (c *Client) DescribeSpeedTestingDetailsWithContext(ctx context.Context, request *DescribeSpeedTestingDetailsRequest) (response *DescribeSpeedTestingDetailsResponse, err error)

DescribeSpeedTestingDetails This API is used to query the site’s load speed across regions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSpeedTestingMetricData

func (c *Client) DescribeSpeedTestingMetricData(request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)

DescribeSpeedTestingMetricData This API is used to query the result of a site test.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSpeedTestingMetricDataWithContext

func (c *Client) DescribeSpeedTestingMetricDataWithContext(ctx context.Context, request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)

DescribeSpeedTestingMetricData This API is used to query the result of a site test.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSpeedTestingQuota

func (c *Client) DescribeSpeedTestingQuota(request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)

DescribeSpeedTestingQuota This API is used to query the quota limit on site tests.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSpeedTestingQuotaWithContext

func (c *Client) DescribeSpeedTestingQuotaWithContext(ctx context.Context, request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)

DescribeSpeedTestingQuota This API is used to query the quota limit on site tests.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeTimingL4Data

func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)

DescribeTimingL4Data This API is used to query the list of L4 traffic data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL4DataWithContext

func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)

DescribeTimingL4Data This API is used to query the list of L4 traffic data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7AnalysisData

func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)

DescribeTimingL7AnalysisData This API is used to query the L7 data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7AnalysisDataWithContext

func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)

DescribeTimingL7AnalysisData This API is used to query the L7 data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7CacheData

func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)

DescribeTimingL7CacheData This API is used to query the time-series L7 cached data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7CacheDataWithContext

func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)

DescribeTimingL7CacheData This API is used to query the time-series L7 cached data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTopL7AnalysisData

func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)

DescribeTopL7AnalysisData This API is used to query the top-ranked L7 traffic data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTopL7AnalysisDataWithContext

func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)

DescribeTopL7AnalysisData This API is used to query the top-ranked L7 traffic data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTopL7CacheData

func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)

DescribeTopL7CacheData This API is used to query the cached L7 top-ranked data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTopL7CacheDataWithContext

func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)

DescribeTopL7CacheData This API is used to query the cached L7 top-ranked data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebManagedRulesData

func (c *Client) DescribeWebManagedRulesData(request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)

DescribeWebManagedRulesData This API is used to query the WAF attack data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesDataWithContext

func (c *Client) DescribeWebManagedRulesDataWithContext(ctx context.Context, request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)

DescribeWebManagedRulesData This API is used to query the WAF attack data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesHitRuleDetail

func (c *Client) DescribeWebManagedRulesHitRuleDetail(request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)

DescribeWebManagedRulesHitRuleDetail This API is used to query the details of a hit WAF security rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesHitRuleDetailWithContext

func (c *Client) DescribeWebManagedRulesHitRuleDetailWithContext(ctx context.Context, request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)

DescribeWebManagedRulesHitRuleDetail This API is used to query the details of a hit WAF security rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesLog

func (c *Client) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)

DescribeWebManagedRulesLog This API is used to query web attack logs.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebManagedRulesLogWithContext

func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)

DescribeWebManagedRulesLog This API is used to query web attack logs.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebProtectionClientIpList

func (c *Client) DescribeWebProtectionClientIpList(request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)

DescribeWebProtectionClientIpList This API is used to query the information of CC attackers.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DescribeWebProtectionClientIpListWithContext

func (c *Client) DescribeWebProtectionClientIpListWithContext(ctx context.Context, request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)

DescribeWebProtectionClientIpList This API is used to query the information of CC attackers.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DescribeWebProtectionData

func (c *Client) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)

DescribeWebProtectionData This API is used to query the CC protection data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionDataWithContext

func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)

DescribeWebProtectionData This API is used to query the CC protection data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionHitRuleDetail

func (c *Client) DescribeWebProtectionHitRuleDetail(request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)

DescribeWebProtectionHitRuleDetail This API is used to query the details of a hit CC protection rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionHitRuleDetailWithContext

func (c *Client) DescribeWebProtectionHitRuleDetailWithContext(ctx context.Context, request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)

DescribeWebProtectionHitRuleDetail This API is used to query the details of a hit CC protection rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionTopData

func (c *Client) DescribeWebProtectionTopData(request *DescribeWebProtectionTopDataRequest) (response *DescribeWebProtectionTopDataResponse, err error)

DescribeWebProtectionTopData This API is used to query the top-ranked CC protection data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebProtectionTopDataWithContext

func (c *Client) DescribeWebProtectionTopDataWithContext(ctx context.Context, request *DescribeWebProtectionTopDataRequest) (response *DescribeWebProtectionTopDataResponse, err error)

DescribeWebProtectionTopData This API is used to query the top-ranked CC protection data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeZoneSetting

func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)

DescribeZoneSetting This API is used to query the site configuration.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZoneSettingWithContext

func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)

DescribeZoneSetting This API is used to query the site configuration.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZones

func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the list of user sites.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZonesWithContext

func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the list of user sites.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DownloadL4Logs

func (c *Client) DownloadL4Logs(request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)

DownloadL4Logs This API is used to download L4 logs.

error code that may be returned:

RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DownloadL4LogsWithContext

func (c *Client) DownloadL4LogsWithContext(ctx context.Context, request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)

DownloadL4Logs This API is used to download L4 logs.

error code that may be returned:

RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DownloadL7Logs

func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)

DownloadL7Logs This API is used to download L7 logs.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DownloadL7LogsWithContext

func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)

DownloadL7Logs This API is used to download L7 logs.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) IdentifyZone

func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)

IdentifyZone This API is used to verify ownership of the site.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) IdentifyZoneWithContext

func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)

IdentifyZone This API is used to verify ownership of the site.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifyAliasDomain

func (c *Client) ModifyAliasDomain(request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)

ModifyAliasDomain This API is used to modify an alias domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyAliasDomainStatus

func (c *Client) ModifyAliasDomainStatus(request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)

ModifyAliasDomainStatus This API is used to modify the status of an alias domain name.

error code that may be returned:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyAliasDomainStatusWithContext

func (c *Client) ModifyAliasDomainStatusWithContext(ctx context.Context, request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)

ModifyAliasDomainStatus This API is used to modify the status of an alias domain name.

error code that may be returned:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyAliasDomainWithContext

func (c *Client) ModifyAliasDomainWithContext(ctx context.Context, request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)

ModifyAliasDomain This API is used to modify an alias domain name.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyApplicationProxy

func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)

ModifyApplicationProxy This API is used to modify an application proxy.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyRule

func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)

ModifyApplicationProxyRule This API is used to modify an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyRuleStatus

func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)

ModifyApplicationProxyRuleStatus This API is used to modify the status of an application proxy rule.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyRuleStatusWithContext

func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)

ModifyApplicationProxyRuleStatus This API is used to modify the status of an application proxy rule.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyRuleWithContext

func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)

ModifyApplicationProxyRule This API is used to modify an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyStatus

func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)

ModifyApplicationProxyStatus This API is used to modify the status of an application proxy.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyStatusWithContext

func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)

ModifyApplicationProxyStatus This API is used to modify the status of an application proxy.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyWithContext

func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)

ModifyApplicationProxy This API is used to modify an application proxy.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDefaultCertificate

func (c *Client) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)

ModifyDefaultCertificate This example shows you how to modify the status of a default certificate.

error code that may be returned:

FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

func (*Client) ModifyDefaultCertificateWithContext

func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)

ModifyDefaultCertificate This example shows you how to modify the status of a default certificate.

error code that may be returned:

FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

func (*Client) ModifyHostsCertificate

func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)

ModifyHostsCertificate This API is used to modify the certificate of a domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire"
INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize"
INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyHostsCertificateWithContext

func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)

ModifyHostsCertificate This API is used to modify the certificate of a domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain"
INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire"
INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize"
INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyOriginGroup

func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)

ModifyOriginGroup This API is used to modify an origin group.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyOriginGroupWithContext

func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)

ModifyOriginGroup This API is used to modify an origin group.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyRule

func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

ModifyRule This API is used to modify a rule in the rule engine.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget"
INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction"
INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam"
INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName"
INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues"
INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase"
INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey"
INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) ModifyRulePriority

func (c *Client) ModifyRulePriority(request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)

ModifyRulePriority This API is used to modify the priority of a rule in the rule engine.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDRULEENGINE = "InvalidParameter.InvalidRuleEngine"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) ModifyRulePriorityWithContext

func (c *Client) ModifyRulePriorityWithContext(ctx context.Context, request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)

ModifyRulePriority This API is used to modify the priority of a rule in the rule engine.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDRULEENGINE = "InvalidParameter.InvalidRuleEngine"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) ModifyRuleWithContext

func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

ModifyRule This API is used to modify a rule in the rule engine.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget"
INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction"
INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam"
INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName"
INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues"
INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase"
INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue"
INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey"
INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"

func (*Client) ModifySecurityPolicy

func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)

ModifySecurityPolicy This API is used to modify the web and bot security configurations.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifySecurityPolicyWithContext

func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)

ModifySecurityPolicy This API is used to modify the web and bot security configurations.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifySecurityWafGroupPolicy

func (c *Client) ModifySecurityWafGroupPolicy(request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)

ModifySecurityWafGroupPolicy This API is used to modify a managed rule.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) ModifySecurityWafGroupPolicyWithContext

func (c *Client) ModifySecurityWafGroupPolicyWithContext(ctx context.Context, request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)

ModifySecurityWafGroupPolicy This API is used to modify a managed rule.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) ModifyZone

func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)

ModifyZone This API is used to modify a site.

error code that may be returned:

INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"
OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyZoneSetting

func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)

ModifyZoneSetting This API is used to modify the site configuration.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"
INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2"
INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin"
INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue"
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling"
INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge"
INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion"
INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ModifyZoneSettingWithContext

func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)

ModifyZoneSetting This API is used to modify the site configuration.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError"
INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2"
INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin"
INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue"
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling"
INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge"
INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion"
INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ModifyZoneStatus

func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)

ModifyZoneStatus This API is used to change the site status.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifyZoneStatusWithContext

func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)

ModifyZoneStatus This API is used to change the site status.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifyZoneWithContext

func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)

ModifyZone This API is used to modify a site.

error code that may be returned:

INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"
OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ReclaimAliasDomain

func (c *Client) ReclaimAliasDomain(request *ReclaimAliasDomainRequest) (response *ReclaimAliasDomainResponse, err error)

ReclaimAliasDomain To reclaim a site and its associated alias domain names, specify the "ZoneId" field; to reclaim an alias domain name that is already added, specify the "ZoneName" filed.

error code that may be returned:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ReclaimAliasDomainWithContext

func (c *Client) ReclaimAliasDomainWithContext(ctx context.Context, request *ReclaimAliasDomainRequest) (response *ReclaimAliasDomainResponse, err error)

ReclaimAliasDomain To reclaim a site and its associated alias domain names, specify the "ZoneId" field; to reclaim an alias domain name that is already added, specify the "ZoneName" filed.

error code that may be returned:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ReclaimZone

func (c *Client) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)

ReclaimZone This API is used to reclaim a site from other users after its ownership is verified.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ReclaimZoneWithContext

func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)

ReclaimZone This API is used to reclaim a site from other users after its ownership is verified.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

type ClientIpCountry

type ClientIpCountry struct {
	// Whether to enable configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Header name of ClientIpCountry. This field is valid only when `Switch=on`.
	// If it is left empty, the default value `EO-Client-IPCountry` will be used.
	HeaderName *string `json:"HeaderName,omitempty" name:"HeaderName"`
}

type ClientIpHeader

type ClientIpHeader struct {
	// Whether to enable the configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The name of the HTTP header that contains the client IP, which is used for forwarding.
	// If this field is not specified, the default value `X-Forwarded-IP` will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HeaderName *string `json:"HeaderName,omitempty" name:"HeaderName"`
}

type ClientRule

type ClientRule struct {
	// The client IP.
	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`

	// The rule type.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

	// The rule ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// The rule description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The blocking status. Values:
	// <li>`block`: Block;</li>
	// <li>`allow`: Allow.</li>
	IpStatus *string `json:"IpStatus,omitempty" name:"IpStatus"`

	// The blocking time recorded in UNIX timestamp.
	BlockTime *int64 `json:"BlockTime,omitempty" name:"BlockTime"`

	// The data entry ID.
	Id *string `json:"Id,omitempty" name:"Id"`
}

type ClsLogTopicInfo

type ClsLogTopicInfo struct {
	// Name of the task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

	// Name of the site.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Type of the task.
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// Retention period of the log topic.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// Whether the log topic is enabled.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// Whether the log topic is deleted.
	Deleted *string `json:"Deleted,omitempty" name:"Deleted"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Target location. Values:
	// <li>`cls`: Ship logs to CLS;</li>
	// <li>`custom_enpoint`: Ship logs to a custom address.</li>
	Target *string `json:"Target,omitempty" name:"Target"`

	// Region of the logset.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the site.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (outside the Chinese mainland).</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// Type of the shipping task. Values:
	// <li>`cls`: Ship logs to CLS.</li>
	// <li>`custom_endpoint`: Ship logs to custom APIs.</li>
	LogSetType *string `json:"LogSetType,omitempty" name:"LogSetType"`
}

type CodeAction

type CodeAction struct {
	// Feature name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the feature name.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Operation parameter.
	Parameters []*RuleCodeActionParams `json:"Parameters,omitempty" name:"Parameters"`
}

type Compression

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

	// Compression algorithm. Values:
	// <li>`brotli`: Brotli algorithm</li>
	// <li>`gzip`: Gzip algorithm</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Algorithms []*string `json:"Algorithms,omitempty" name:"Algorithms"`
}

type CreateAliasDomainRequest

type CreateAliasDomainRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The alias domain name.
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// The target domain name.
	TargetName *string `json:"TargetName,omitempty" name:"TargetName"`

	// Certificate configuration. Values:
	// <li>`none`: Off</li>
	// <li>`hosting`: Managed SSL certificate</li>
	// <li>`apply`: Free certificate</li>Default value: none
	CertType *string `json:"CertType,omitempty" name:"CertType"`

	// The certificate ID. This field is required when `CertType=hosting`.
	CertId []*string `json:"CertId,omitempty" name:"CertId"`
}

func NewCreateAliasDomainRequest

func NewCreateAliasDomainRequest() (request *CreateAliasDomainRequest)

func (*CreateAliasDomainRequest) FromJsonString

func (r *CreateAliasDomainRequest) 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 (*CreateAliasDomainRequest) ToJsonString

func (r *CreateAliasDomainRequest) ToJsonString() string

type CreateAliasDomainRequestParams

type CreateAliasDomainRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The alias domain name.
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// The target domain name.
	TargetName *string `json:"TargetName,omitempty" name:"TargetName"`

	// Certificate configuration. Values:
	// <li>`none`: Off</li>
	// <li>`hosting`: Managed SSL certificate</li>
	// <li>`apply`: Free certificate</li>Default value: none
	CertType *string `json:"CertType,omitempty" name:"CertType"`

	// The certificate ID. This field is required when `CertType=hosting`.
	CertId []*string `json:"CertId,omitempty" name:"CertId"`
}

Predefined struct for user

type CreateAliasDomainResponse

type CreateAliasDomainResponse struct {
	*tchttp.BaseResponse
	Response *CreateAliasDomainResponseParams `json:"Response"`
}

func NewCreateAliasDomainResponse

func NewCreateAliasDomainResponse() (response *CreateAliasDomainResponse)

func (*CreateAliasDomainResponse) FromJsonString

func (r *CreateAliasDomainResponse) 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 (*CreateAliasDomainResponse) ToJsonString

func (r *CreateAliasDomainResponse) ToJsonString() string

type CreateAliasDomainResponseParams

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

Predefined struct for user

type CreateApplicationProxyRequest

type CreateApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// When `ProxyType=hostname`, this field indicates a domain name or subdomain name.
	// When `ProxyType=instance`, it indicates a proxy instance.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// The scheduling mode. Values:
	// <li>`ip`: Schedule via Anycast IP.</li>
	// <li>`domain`: Schedule via CNAME.</li>
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// Whether to enable security protection. Values:
	// <li>`0`: Disable security protection.</li>
	// <li>`1`: Enable security protection.</li>
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// Whether to enable acceleration. Values:
	// <li>`0`: Disable acceleration.</li>
	// <li>`1`: Enable acceleration.</li>
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The proxy type. Values:
	// <li>`hostname`: The proxy is created by subdomain name.</li>
	// <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`.
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// The session persistence duration. Value range: 30-3600 (in seconds).
	// If not specified, this field uses the default value 600.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// The IPv6 access configuration.
	// If this field is not specified, IPv6 access will be disabled.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// The rule details.
	// If this field is not specified, an application proxy rule will not be created.
	ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitempty" name:"ApplicationProxyRules"`
}

func NewCreateApplicationProxyRequest

func NewCreateApplicationProxyRequest() (request *CreateApplicationProxyRequest)

func (*CreateApplicationProxyRequest) FromJsonString

func (r *CreateApplicationProxyRequest) 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 (*CreateApplicationProxyRequest) ToJsonString

func (r *CreateApplicationProxyRequest) ToJsonString() string

type CreateApplicationProxyRequestParams

type CreateApplicationProxyRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// When `ProxyType=hostname`, this field indicates a domain name or subdomain name.
	// When `ProxyType=instance`, it indicates a proxy instance.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// The scheduling mode. Values:
	// <li>`ip`: Schedule via Anycast IP.</li>
	// <li>`domain`: Schedule via CNAME.</li>
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// Whether to enable security protection. Values:
	// <li>`0`: Disable security protection.</li>
	// <li>`1`: Enable security protection.</li>
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// Whether to enable acceleration. Values:
	// <li>`0`: Disable acceleration.</li>
	// <li>`1`: Enable acceleration.</li>
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The proxy type. Values:
	// <li>`hostname`: The proxy is created by subdomain name.</li>
	// <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`.
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// The session persistence duration. Value range: 30-3600 (in seconds).
	// If not specified, this field uses the default value 600.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// The IPv6 access configuration.
	// If this field is not specified, IPv6 access will be disabled.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// The rule details.
	// If this field is not specified, an application proxy rule will not be created.
	ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitempty" name:"ApplicationProxyRules"`
}

Predefined struct for user

type CreateApplicationProxyResponse

type CreateApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *CreateApplicationProxyResponseParams `json:"Response"`
}

func NewCreateApplicationProxyResponse

func NewCreateApplicationProxyResponse() (response *CreateApplicationProxyResponse)

func (*CreateApplicationProxyResponse) FromJsonString

func (r *CreateApplicationProxyResponse) 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 (*CreateApplicationProxyResponse) ToJsonString

func (r *CreateApplicationProxyResponse) ToJsonString() string

type CreateApplicationProxyResponseParams

type CreateApplicationProxyResponseParams struct {
	// The L4 application proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

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

Predefined struct for user

type CreateApplicationProxyRuleRequest

type CreateApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The protocol. Values:
	// <li>`TCP`: TCP protocol</li>
	// <li>`UDP`: UDP protocol</li>
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// The access port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-90</li>
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information:
	// <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
	// <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. Values:
	// <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
	// <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
	// <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
	// <li>`OFF`: Not pass the client IP.</li>Default value: OFF.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Whether to enable session persistence. Values:
	// <li>`true`: Enable.</li>
	// <li>`false`: Disable.</li>Default value: false.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// The origin port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-82</li>
	OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}

func NewCreateApplicationProxyRuleRequest

func NewCreateApplicationProxyRuleRequest() (request *CreateApplicationProxyRuleRequest)

func (*CreateApplicationProxyRuleRequest) FromJsonString

func (r *CreateApplicationProxyRuleRequest) 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 (*CreateApplicationProxyRuleRequest) ToJsonString

func (r *CreateApplicationProxyRuleRequest) ToJsonString() string

type CreateApplicationProxyRuleRequestParams

type CreateApplicationProxyRuleRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The protocol. Values:
	// <li>`TCP`: TCP protocol</li>
	// <li>`UDP`: UDP protocol</li>
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// The access port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-90</li>
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information:
	// <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
	// <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. Values:
	// <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
	// <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
	// <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
	// <li>`OFF`: Not pass the client IP.</li>Default value: OFF.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Whether to enable session persistence. Values:
	// <li>`true`: Enable.</li>
	// <li>`false`: Disable.</li>Default value: false.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// The origin port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-82</li>
	OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}

Predefined struct for user

type CreateApplicationProxyRuleResponse

type CreateApplicationProxyRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateApplicationProxyRuleResponseParams `json:"Response"`
}

func NewCreateApplicationProxyRuleResponse

func NewCreateApplicationProxyRuleResponse() (response *CreateApplicationProxyRuleResponse)

func (*CreateApplicationProxyRuleResponse) FromJsonString

func (r *CreateApplicationProxyRuleResponse) 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 (*CreateApplicationProxyRuleResponse) ToJsonString

func (r *CreateApplicationProxyRuleResponse) ToJsonString() string

type CreateApplicationProxyRuleResponseParams

type CreateApplicationProxyRuleResponseParams struct {
	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type CreateCredentialRequest

type CreateCredentialRequest struct {
	*tchttp.BaseRequest
}

func NewCreateCredentialRequest

func NewCreateCredentialRequest() (request *CreateCredentialRequest)

func (*CreateCredentialRequest) FromJsonString

func (r *CreateCredentialRequest) 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 (*CreateCredentialRequest) ToJsonString

func (r *CreateCredentialRequest) ToJsonString() string

type CreateCredentialRequestParams

type CreateCredentialRequestParams struct {
}

Predefined struct for user

type CreateCredentialResponse

type CreateCredentialResponse struct {
	*tchttp.BaseResponse
	Response *CreateCredentialResponseParams `json:"Response"`
}

func NewCreateCredentialResponse

func NewCreateCredentialResponse() (response *CreateCredentialResponse)

func (*CreateCredentialResponse) FromJsonString

func (r *CreateCredentialResponse) 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 (*CreateCredentialResponse) ToJsonString

func (r *CreateCredentialResponse) ToJsonString() string

type CreateCredentialResponseParams

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

Predefined struct for user

type CreateOriginGroupRequest

type CreateOriginGroupRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The origin type. Values:
	// <li>`self`: Customer origin</li>
	// <li>`third_party`: Third-party origin</li>
	// <li>`cos`: Tencent Cloud COS origin</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The name of the origin group.
	OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`

	// The origin configuration type when `OriginType=self`. Values:
	// <li>`area`: Configure by region.</li>
	// <li>`weight`: Configure by weight.</li>
	// <li>`proto`: Configure by HTTP protocol.</li>When `OriginType=third_party/cos`, leave this field empty.
	ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`

	// Details of the origin record.
	OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`

	// The origin domain. This field can be specified only when `OriginType=self`.
	HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}

func NewCreateOriginGroupRequest

func NewCreateOriginGroupRequest() (request *CreateOriginGroupRequest)

func (*CreateOriginGroupRequest) FromJsonString

func (r *CreateOriginGroupRequest) 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 (*CreateOriginGroupRequest) ToJsonString

func (r *CreateOriginGroupRequest) ToJsonString() string

type CreateOriginGroupRequestParams

type CreateOriginGroupRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The origin type. Values:
	// <li>`self`: Customer origin</li>
	// <li>`third_party`: Third-party origin</li>
	// <li>`cos`: Tencent Cloud COS origin</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The name of the origin group.
	OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`

	// The origin configuration type when `OriginType=self`. Values:
	// <li>`area`: Configure by region.</li>
	// <li>`weight`: Configure by weight.</li>
	// <li>`proto`: Configure by HTTP protocol.</li>When `OriginType=third_party/cos`, leave this field empty.
	ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`

	// Details of the origin record.
	OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`

	// The origin domain. This field can be specified only when `OriginType=self`.
	HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}

Predefined struct for user

type CreateOriginGroupResponse

type CreateOriginGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateOriginGroupResponseParams `json:"Response"`
}

func NewCreateOriginGroupResponse

func NewCreateOriginGroupResponse() (response *CreateOriginGroupResponse)

func (*CreateOriginGroupResponse) FromJsonString

func (r *CreateOriginGroupResponse) 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 (*CreateOriginGroupResponse) ToJsonString

func (r *CreateOriginGroupResponse) ToJsonString() string

type CreateOriginGroupResponseParams

type CreateOriginGroupResponseParams struct {
	// The ID of the origin group.
	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`

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

Predefined struct for user

type CreatePlanForZoneRequest

type CreatePlanForZoneRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The plan option. Values:
	// <li>`sta`: Standard plan that supports content delivery network outside the Chinese mainland.</li>
	// <li>`sta_with_bot`: Standard plan that supports content delivery network outside the Chinese mainland and bot management.</li>
	// <li>`sta_cm`: Standard plan that supports content delivery network inside the Chinese mainland.</li>
	// <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside the Chinese mainland and bot management.</li>
	// <li>`sta_global`: Standard plan that supports content delivery network over the globe.</li>
	// <li>`sta_global_with_bot`: Standard plan that supports content delivery network over the globe and bot management.</li>
	// <li>`ent`: Enterprise plan that supports content delivery network outside the Chinese mainland.</li>
	// <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.</li>
	// <li>`ent_cm`: Enterprise plan that supports content delivery network inside the Chinese mainland.</li>
	// <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.</li>
	// <li>`ent_global`: Enterprise plan that supports content delivery network over the globe.</li>
	// <li>`ent_global_with_bot`: Enterprise plan that supports content delivery network over the globe and bot management.</li>To get the available plan options for your account, view the output from <a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">DescribeAvailablePlans</a>.
	PlanType *string `json:"PlanType,omitempty" name:"PlanType"`
}

func NewCreatePlanForZoneRequest

func NewCreatePlanForZoneRequest() (request *CreatePlanForZoneRequest)

func (*CreatePlanForZoneRequest) FromJsonString

func (r *CreatePlanForZoneRequest) 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 (*CreatePlanForZoneRequest) ToJsonString

func (r *CreatePlanForZoneRequest) ToJsonString() string

type CreatePlanForZoneRequestParams

type CreatePlanForZoneRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The plan option. Values:
	// <li>`sta`: Standard plan that supports content delivery network outside the Chinese mainland.</li>
	// <li>`sta_with_bot`: Standard plan that supports content delivery network outside the Chinese mainland and bot management.</li>
	// <li>`sta_cm`: Standard plan that supports content delivery network inside the Chinese mainland.</li>
	// <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside the Chinese mainland and bot management.</li>
	// <li>`sta_global`: Standard plan that supports content delivery network over the globe.</li>
	// <li>`sta_global_with_bot`: Standard plan that supports content delivery network over the globe and bot management.</li>
	// <li>`ent`: Enterprise plan that supports content delivery network outside the Chinese mainland.</li>
	// <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.</li>
	// <li>`ent_cm`: Enterprise plan that supports content delivery network inside the Chinese mainland.</li>
	// <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.</li>
	// <li>`ent_global`: Enterprise plan that supports content delivery network over the globe.</li>
	// <li>`ent_global_with_bot`: Enterprise plan that supports content delivery network over the globe and bot management.</li>To get the available plan options for your account, view the output from <a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">DescribeAvailablePlans</a>.
	PlanType *string `json:"PlanType,omitempty" name:"PlanType"`
}

Predefined struct for user

type CreatePlanForZoneResponse

type CreatePlanForZoneResponse struct {
	*tchttp.BaseResponse
	Response *CreatePlanForZoneResponseParams `json:"Response"`
}

func NewCreatePlanForZoneResponse

func NewCreatePlanForZoneResponse() (response *CreatePlanForZoneResponse)

func (*CreatePlanForZoneResponse) FromJsonString

func (r *CreatePlanForZoneResponse) 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 (*CreatePlanForZoneResponse) ToJsonString

func (r *CreatePlanForZoneResponse) ToJsonString() string

type CreatePlanForZoneResponseParams

type CreatePlanForZoneResponseParams struct {
	// List of purchased resources.
	ResourceNames []*string `json:"ResourceNames,omitempty" name:"ResourceNames"`

	// List or order numbers.
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`

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

Predefined struct for user

type CreatePrefetchTaskRequest

type CreatePrefetchTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of resources to be pre-warmed, for example:
	// http://www.example.com/example.txt
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Whether to encode a URL according to RFC3986. Enable this field when the URL contains non-ASCII characters.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`

	// HTTP header information
	Headers []*Header `json:"Headers,omitempty" name:"Headers"`
}

func NewCreatePrefetchTaskRequest

func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)

func (*CreatePrefetchTaskRequest) FromJsonString

func (r *CreatePrefetchTaskRequest) 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 (*CreatePrefetchTaskRequest) ToJsonString

func (r *CreatePrefetchTaskRequest) ToJsonString() string

type CreatePrefetchTaskRequestParams

type CreatePrefetchTaskRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of resources to be pre-warmed, for example:
	// http://www.example.com/example.txt
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Whether to encode a URL according to RFC3986. Enable this field when the URL contains non-ASCII characters.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`

	// HTTP header information
	Headers []*Header `json:"Headers,omitempty" name:"Headers"`
}

Predefined struct for user

type CreatePrefetchTaskResponse

type CreatePrefetchTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrefetchTaskResponseParams `json:"Response"`
}

func NewCreatePrefetchTaskResponse

func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)

func (*CreatePrefetchTaskResponse) FromJsonString

func (r *CreatePrefetchTaskResponse) 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 (*CreatePrefetchTaskResponse) ToJsonString

func (r *CreatePrefetchTaskResponse) ToJsonString() string

type CreatePrefetchTaskResponseParams

type CreatePrefetchTaskResponseParams struct {
	// ID of the task.
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// List of failed tasks.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`

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

Predefined struct for user

type CreatePurgeTaskRequest

type CreatePurgeTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Mode of cache purging. Values:
	// <li>`purge_url`: Purge by URL</li>
	// <li>`purge_prefix`: Purge by prefix</li>
	// <li>`purge_host`: Purge by hostname</li>
	// <li>`purge_all`: Purge all caches</li>
	// <li>`purge_cache_tag`: Purge by cache tag</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Enter the hostname, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Enter the prefix, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// Enter the URL, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`:
	// This field can be left empty.
	// 5. When `Type = purge_cache_tag`:
	// Enter the cache tag, such as tag1.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Specifies whether to transcode non-ASCII URLs according to RFC3986.
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
}

func NewCreatePurgeTaskRequest

func NewCreatePurgeTaskRequest() (request *CreatePurgeTaskRequest)

func (*CreatePurgeTaskRequest) FromJsonString

func (r *CreatePurgeTaskRequest) 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 (*CreatePurgeTaskRequest) ToJsonString

func (r *CreatePurgeTaskRequest) ToJsonString() string

type CreatePurgeTaskRequestParams

type CreatePurgeTaskRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Mode of cache purging. Values:
	// <li>`purge_url`: Purge by URL</li>
	// <li>`purge_prefix`: Purge by prefix</li>
	// <li>`purge_host`: Purge by hostname</li>
	// <li>`purge_all`: Purge all caches</li>
	// <li>`purge_cache_tag`: Purge by cache tag</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Enter the hostname, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Enter the prefix, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// Enter the URL, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`:
	// This field can be left empty.
	// 5. When `Type = purge_cache_tag`:
	// Enter the cache tag, such as tag1.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Specifies whether to transcode non-ASCII URLs according to RFC3986.
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
}

Predefined struct for user

type CreatePurgeTaskResponse

type CreatePurgeTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreatePurgeTaskResponseParams `json:"Response"`
}

func NewCreatePurgeTaskResponse

func NewCreatePurgeTaskResponse() (response *CreatePurgeTaskResponse)

func (*CreatePurgeTaskResponse) FromJsonString

func (r *CreatePurgeTaskResponse) 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 (*CreatePurgeTaskResponse) ToJsonString

func (r *CreatePurgeTaskResponse) ToJsonString() string

type CreatePurgeTaskResponseParams

type CreatePurgeTaskResponseParams struct {
	// ID of the task.
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// List of failed tasks and reasons.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`

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

Predefined struct for user

type CreateReplayTaskRequest

type CreateReplayTaskRequest struct {
	*tchttp.BaseRequest

	// List of replay task IDs.
	Ids []*string `json:"Ids,omitempty" name:"Ids"`
}

func NewCreateReplayTaskRequest

func NewCreateReplayTaskRequest() (request *CreateReplayTaskRequest)

func (*CreateReplayTaskRequest) FromJsonString

func (r *CreateReplayTaskRequest) 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 (*CreateReplayTaskRequest) ToJsonString

func (r *CreateReplayTaskRequest) ToJsonString() string

type CreateReplayTaskRequestParams

type CreateReplayTaskRequestParams struct {
	// List of replay task IDs.
	Ids []*string `json:"Ids,omitempty" name:"Ids"`
}

Predefined struct for user

type CreateReplayTaskResponse

type CreateReplayTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateReplayTaskResponseParams `json:"Response"`
}

func NewCreateReplayTaskResponse

func NewCreateReplayTaskResponse() (response *CreateReplayTaskResponse)

func (*CreateReplayTaskResponse) FromJsonString

func (r *CreateReplayTaskResponse) 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 (*CreateReplayTaskResponse) ToJsonString

func (r *CreateReplayTaskResponse) ToJsonString() string

type CreateReplayTaskResponseParams

type CreateReplayTaskResponseParams struct {
	// ID of the task.
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// List of failed tasks and reasons.
	FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`

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

Predefined struct for user

type CreateRuleRequest

type CreateRuleRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The rule name (1 to 255 characters)
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// Tag of the rule.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateRuleRequest

func NewCreateRuleRequest() (request *CreateRuleRequest)

func (*CreateRuleRequest) FromJsonString

func (r *CreateRuleRequest) 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 (*CreateRuleRequest) ToJsonString

func (r *CreateRuleRequest) ToJsonString() string

type CreateRuleRequestParams

type CreateRuleRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The rule name (1 to 255 characters)
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// Tag of the rule.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type CreateRuleResponse

type CreateRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateRuleResponseParams `json:"Response"`
}

func NewCreateRuleResponse

func NewCreateRuleResponse() (response *CreateRuleResponse)

func (*CreateRuleResponse) FromJsonString

func (r *CreateRuleResponse) 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 (*CreateRuleResponse) ToJsonString

func (r *CreateRuleResponse) ToJsonString() string

type CreateRuleResponseParams

type CreateRuleResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type CreateSpeedTestingRequest

type CreateSpeedTestingRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name to test.
	Host *string `json:"Host,omitempty" name:"Host"`
}

func NewCreateSpeedTestingRequest

func NewCreateSpeedTestingRequest() (request *CreateSpeedTestingRequest)

func (*CreateSpeedTestingRequest) FromJsonString

func (r *CreateSpeedTestingRequest) 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 (*CreateSpeedTestingRequest) ToJsonString

func (r *CreateSpeedTestingRequest) ToJsonString() string

type CreateSpeedTestingRequestParams

type CreateSpeedTestingRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name to test.
	Host *string `json:"Host,omitempty" name:"Host"`
}

Predefined struct for user

type CreateSpeedTestingResponse

type CreateSpeedTestingResponse struct {
	*tchttp.BaseResponse
	Response *CreateSpeedTestingResponseParams `json:"Response"`
}

func NewCreateSpeedTestingResponse

func NewCreateSpeedTestingResponse() (response *CreateSpeedTestingResponse)

func (*CreateSpeedTestingResponse) FromJsonString

func (r *CreateSpeedTestingResponse) 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 (*CreateSpeedTestingResponse) ToJsonString

func (r *CreateSpeedTestingResponse) ToJsonString() string

type CreateSpeedTestingResponseParams

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

Predefined struct for user

type CreateZoneRequest

type CreateZoneRequest struct {
	*tchttp.BaseRequest

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The access mode. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record. Note that you should verify your site with the IdentifyZone API before starting site access.</li>If it is left empty, the default value `full` is used.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether to skip scanning the existing DNS records of the site. Default value: false.
	JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`

	// The resource tag.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Whether to allow duplicate sites. Values:
	// <li>`true`: Duplicate sites are allowed.</li>
	// <li>`false`: Duplicate sites are not allowed.</li>If it is left empty, the default value `false` is used.
	AllowDuplicates *bool `json:"AllowDuplicates,omitempty" name:"AllowDuplicates"`

	// The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_).
	AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}

func NewCreateZoneRequest

func NewCreateZoneRequest() (request *CreateZoneRequest)

func (*CreateZoneRequest) FromJsonString

func (r *CreateZoneRequest) 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 (*CreateZoneRequest) ToJsonString

func (r *CreateZoneRequest) ToJsonString() string

type CreateZoneRequestParams

type CreateZoneRequestParams struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The access mode. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record. Note that you should verify your site with the IdentifyZone API before starting site access.</li>If it is left empty, the default value `full` is used.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether to skip scanning the existing DNS records of the site. Default value: false.
	JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`

	// The resource tag.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Whether to allow duplicate sites. Values:
	// <li>`true`: Duplicate sites are allowed.</li>
	// <li>`false`: Duplicate sites are not allowed.</li>If it is left empty, the default value `false` is used.
	AllowDuplicates *bool `json:"AllowDuplicates,omitempty" name:"AllowDuplicates"`

	// The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_).
	AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}

Predefined struct for user

type CreateZoneResponse

type CreateZoneResponse struct {
	*tchttp.BaseResponse
	Response *CreateZoneResponseParams `json:"Response"`
}

func NewCreateZoneResponse

func NewCreateZoneResponse() (response *CreateZoneResponse)

func (*CreateZoneResponse) FromJsonString

func (r *CreateZoneResponse) 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 (*CreateZoneResponse) ToJsonString

func (r *CreateZoneResponse) ToJsonString() string

type CreateZoneResponseParams

type CreateZoneResponseParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

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

Predefined struct for user

type DDoS

type DDoS struct {
	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type DefaultServerCertInfo

type DefaultServerCertInfo struct {
	// ID of the server certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Alias of the certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Type of the certificate. Values:
	// <li>`default`: Default certificate;</li>
	// <li>`upload`: Custom certificate;</li>
	// <li>`managed`: Tencent Cloud-managed certificate.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Time when the certificate expires.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Time when the certificate takes effect.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"`

	// Common name of the certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CommonName *string `json:"CommonName,omitempty" name:"CommonName"`

	// Domain names added to the SAN certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"`

	// Deployment status. Values:
	// <li>`processing`: Deployment in progress</li>
	// <li>`deployed`: Deployed</li>
	// <li>`failed`: Deployment failed</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Failure description
	// Note: This field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

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

type DeleteAliasDomainRequest

type DeleteAliasDomainRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The alias domain name to be deleted. If it is left empty, the delete operation is not performed.
	AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}

func NewDeleteAliasDomainRequest

func NewDeleteAliasDomainRequest() (request *DeleteAliasDomainRequest)

func (*DeleteAliasDomainRequest) FromJsonString

func (r *DeleteAliasDomainRequest) 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 (*DeleteAliasDomainRequest) ToJsonString

func (r *DeleteAliasDomainRequest) ToJsonString() string

type DeleteAliasDomainRequestParams

type DeleteAliasDomainRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The alias domain name to be deleted. If it is left empty, the delete operation is not performed.
	AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}

Predefined struct for user

type DeleteAliasDomainResponse

type DeleteAliasDomainResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAliasDomainResponseParams `json:"Response"`
}

func NewDeleteAliasDomainResponse

func NewDeleteAliasDomainResponse() (response *DeleteAliasDomainResponse)

func (*DeleteAliasDomainResponse) FromJsonString

func (r *DeleteAliasDomainResponse) 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 (*DeleteAliasDomainResponse) ToJsonString

func (r *DeleteAliasDomainResponse) ToJsonString() string

type DeleteAliasDomainResponseParams

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

Predefined struct for user

type DeleteApplicationProxyRequest

type DeleteApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

func NewDeleteApplicationProxyRequest

func NewDeleteApplicationProxyRequest() (request *DeleteApplicationProxyRequest)

func (*DeleteApplicationProxyRequest) FromJsonString

func (r *DeleteApplicationProxyRequest) 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 (*DeleteApplicationProxyRequest) ToJsonString

func (r *DeleteApplicationProxyRequest) ToJsonString() string

type DeleteApplicationProxyRequestParams

type DeleteApplicationProxyRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

Predefined struct for user

type DeleteApplicationProxyResponse

type DeleteApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApplicationProxyResponseParams `json:"Response"`
}

func NewDeleteApplicationProxyResponse

func NewDeleteApplicationProxyResponse() (response *DeleteApplicationProxyResponse)

func (*DeleteApplicationProxyResponse) FromJsonString

func (r *DeleteApplicationProxyResponse) 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 (*DeleteApplicationProxyResponse) ToJsonString

func (r *DeleteApplicationProxyResponse) ToJsonString() string

type DeleteApplicationProxyResponseParams

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

Predefined struct for user

type DeleteApplicationProxyRuleRequest

type DeleteApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
}

func NewDeleteApplicationProxyRuleRequest

func NewDeleteApplicationProxyRuleRequest() (request *DeleteApplicationProxyRuleRequest)

func (*DeleteApplicationProxyRuleRequest) FromJsonString

func (r *DeleteApplicationProxyRuleRequest) 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 (*DeleteApplicationProxyRuleRequest) ToJsonString

func (r *DeleteApplicationProxyRuleRequest) ToJsonString() string

type DeleteApplicationProxyRuleRequestParams

type DeleteApplicationProxyRuleRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
}

Predefined struct for user

type DeleteApplicationProxyRuleResponse

type DeleteApplicationProxyRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApplicationProxyRuleResponseParams `json:"Response"`
}

func NewDeleteApplicationProxyRuleResponse

func NewDeleteApplicationProxyRuleResponse() (response *DeleteApplicationProxyRuleResponse)

func (*DeleteApplicationProxyRuleResponse) FromJsonString

func (r *DeleteApplicationProxyRuleResponse) 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 (*DeleteApplicationProxyRuleResponse) ToJsonString

func (r *DeleteApplicationProxyRuleResponse) ToJsonString() string

type DeleteApplicationProxyRuleResponseParams

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

Predefined struct for user

type DeleteOriginGroupRequest

type DeleteOriginGroupRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The ID of the origin group.
	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
}

func NewDeleteOriginGroupRequest

func NewDeleteOriginGroupRequest() (request *DeleteOriginGroupRequest)

func (*DeleteOriginGroupRequest) FromJsonString

func (r *DeleteOriginGroupRequest) 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 (*DeleteOriginGroupRequest) ToJsonString

func (r *DeleteOriginGroupRequest) ToJsonString() string

type DeleteOriginGroupRequestParams

type DeleteOriginGroupRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The ID of the origin group.
	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
}

Predefined struct for user

type DeleteOriginGroupResponse

type DeleteOriginGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteOriginGroupResponseParams `json:"Response"`
}

func NewDeleteOriginGroupResponse

func NewDeleteOriginGroupResponse() (response *DeleteOriginGroupResponse)

func (*DeleteOriginGroupResponse) FromJsonString

func (r *DeleteOriginGroupResponse) 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 (*DeleteOriginGroupResponse) ToJsonString

func (r *DeleteOriginGroupResponse) ToJsonString() string

type DeleteOriginGroupResponseParams

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

Predefined struct for user

type DeleteRulesRequest

type DeleteRulesRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// IDs of the rules to be deleted.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

func NewDeleteRulesRequest

func NewDeleteRulesRequest() (request *DeleteRulesRequest)

func (*DeleteRulesRequest) FromJsonString

func (r *DeleteRulesRequest) 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 (*DeleteRulesRequest) ToJsonString

func (r *DeleteRulesRequest) ToJsonString() string

type DeleteRulesRequestParams

type DeleteRulesRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// IDs of the rules to be deleted.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

Predefined struct for user

type DeleteRulesResponse

type DeleteRulesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRulesResponseParams `json:"Response"`
}

func NewDeleteRulesResponse

func NewDeleteRulesResponse() (response *DeleteRulesResponse)

func (*DeleteRulesResponse) FromJsonString

func (r *DeleteRulesResponse) 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 (*DeleteRulesResponse) ToJsonString

func (r *DeleteRulesResponse) ToJsonString() string

type DeleteRulesResponseParams

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

Predefined struct for user

type DeleteZoneRequest

type DeleteZoneRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDeleteZoneRequest

func NewDeleteZoneRequest() (request *DeleteZoneRequest)

func (*DeleteZoneRequest) FromJsonString

func (r *DeleteZoneRequest) 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 (*DeleteZoneRequest) ToJsonString

func (r *DeleteZoneRequest) ToJsonString() string

type DeleteZoneRequestParams

type DeleteZoneRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DeleteZoneResponse

type DeleteZoneResponse struct {
	*tchttp.BaseResponse
	Response *DeleteZoneResponseParams `json:"Response"`
}

func NewDeleteZoneResponse

func NewDeleteZoneResponse() (response *DeleteZoneResponse)

func (*DeleteZoneResponse) FromJsonString

func (r *DeleteZoneResponse) 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 (*DeleteZoneResponse) ToJsonString

func (r *DeleteZoneResponse) ToJsonString() string

type DeleteZoneResponseParams

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

Predefined struct for user

type DescribeAddableEntityListRequest

type DescribeAddableEntityListRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}

func NewDescribeAddableEntityListRequest

func NewDescribeAddableEntityListRequest() (request *DescribeAddableEntityListRequest)

func (*DescribeAddableEntityListRequest) FromJsonString

func (r *DescribeAddableEntityListRequest) 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 (*DescribeAddableEntityListRequest) ToJsonString

func (r *DescribeAddableEntityListRequest) ToJsonString() string

type DescribeAddableEntityListRequestParams

type DescribeAddableEntityListRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}

Predefined struct for user

type DescribeAddableEntityListResponse

type DescribeAddableEntityListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAddableEntityListResponseParams `json:"Response"`
}

func NewDescribeAddableEntityListResponse

func NewDescribeAddableEntityListResponse() (response *DescribeAddableEntityListResponse)

func (*DescribeAddableEntityListResponse) FromJsonString

func (r *DescribeAddableEntityListResponse) 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 (*DescribeAddableEntityListResponse) ToJsonString

func (r *DescribeAddableEntityListResponse) ToJsonString() string

type DescribeAddableEntityListResponseParams

type DescribeAddableEntityListResponseParams struct {
	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of available shipping entities.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

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

Predefined struct for user

type DescribeAliasDomainsRequest

type DescribeAliasDomainsRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`target-name`:<br>   Filter by <strong>target domain name</strong><br>   Type: String<br>   Required: No</li><li>`alias-name`:<br>   Filter by <strong>alias domain name</strong><br>   Type: String<br>   Required: No</li>Only `alias-name` supports fuzzy query.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeAliasDomainsRequest

func NewDescribeAliasDomainsRequest() (request *DescribeAliasDomainsRequest)

func (*DescribeAliasDomainsRequest) FromJsonString

func (r *DescribeAliasDomainsRequest) 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 (*DescribeAliasDomainsRequest) ToJsonString

func (r *DescribeAliasDomainsRequest) ToJsonString() string

type DescribeAliasDomainsRequestParams

type DescribeAliasDomainsRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`target-name`:<br>   Filter by <strong>target domain name</strong><br>   Type: String<br>   Required: No</li><li>`alias-name`:<br>   Filter by <strong>alias domain name</strong><br>   Type: String<br>   Required: No</li>Only `alias-name` supports fuzzy query.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeAliasDomainsResponse

type DescribeAliasDomainsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAliasDomainsResponseParams `json:"Response"`
}

func NewDescribeAliasDomainsResponse

func NewDescribeAliasDomainsResponse() (response *DescribeAliasDomainsResponse)

func (*DescribeAliasDomainsResponse) FromJsonString

func (r *DescribeAliasDomainsResponse) 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 (*DescribeAliasDomainsResponse) ToJsonString

func (r *DescribeAliasDomainsResponse) ToJsonString() string

type DescribeAliasDomainsResponseParams

type DescribeAliasDomainsResponseParams struct {
	// Total eligible alias domain names.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Information of the eligible alias domain names.
	AliasDomains []*AliasDomain `json:"AliasDomains,omitempty" name:"AliasDomains"`

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

Predefined struct for user

type DescribeApplicationProxiesRequest

type DescribeApplicationProxiesRequest struct {
	*tchttp.BaseRequest

	// The paginated query offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries. <li>`proxy-id`:<br>   Filter by <strong>proxy ID</strong>, such as proxy-ev2sawbwfd<br>   Type: String<br>   Required: No</li><li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-vawer2vadg<br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeApplicationProxiesRequest

func NewDescribeApplicationProxiesRequest() (request *DescribeApplicationProxiesRequest)

func (*DescribeApplicationProxiesRequest) FromJsonString

func (r *DescribeApplicationProxiesRequest) 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 (*DescribeApplicationProxiesRequest) ToJsonString

func (r *DescribeApplicationProxiesRequest) ToJsonString() string

type DescribeApplicationProxiesRequestParams

type DescribeApplicationProxiesRequestParams struct {
	// The paginated query offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries. <li>`proxy-id`:<br>   Filter by <strong>proxy ID</strong>, such as proxy-ev2sawbwfd<br>   Type: String<br>   Required: No</li><li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-vawer2vadg<br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeApplicationProxiesResponse

type DescribeApplicationProxiesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApplicationProxiesResponseParams `json:"Response"`
}

func NewDescribeApplicationProxiesResponse

func NewDescribeApplicationProxiesResponse() (response *DescribeApplicationProxiesResponse)

func (*DescribeApplicationProxiesResponse) FromJsonString

func (r *DescribeApplicationProxiesResponse) 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 (*DescribeApplicationProxiesResponse) ToJsonString

func (r *DescribeApplicationProxiesResponse) ToJsonString() string

type DescribeApplicationProxiesResponseParams

type DescribeApplicationProxiesResponseParams struct {
	// List of application proxies.
	ApplicationProxies []*ApplicationProxy `json:"ApplicationProxies,omitempty" name:"ApplicationProxies"`

	// Total number of records.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeAvailablePlansRequest

type DescribeAvailablePlansRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeAvailablePlansRequest

func NewDescribeAvailablePlansRequest() (request *DescribeAvailablePlansRequest)

func (*DescribeAvailablePlansRequest) FromJsonString

func (r *DescribeAvailablePlansRequest) 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 (*DescribeAvailablePlansRequest) ToJsonString

func (r *DescribeAvailablePlansRequest) ToJsonString() string

type DescribeAvailablePlansRequestParams

type DescribeAvailablePlansRequestParams struct {
}

Predefined struct for user

type DescribeAvailablePlansResponse

type DescribeAvailablePlansResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailablePlansResponseParams `json:"Response"`
}

func NewDescribeAvailablePlansResponse

func NewDescribeAvailablePlansResponse() (response *DescribeAvailablePlansResponse)

func (*DescribeAvailablePlansResponse) FromJsonString

func (r *DescribeAvailablePlansResponse) 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 (*DescribeAvailablePlansResponse) ToJsonString

func (r *DescribeAvailablePlansResponse) ToJsonString() string

type DescribeAvailablePlansResponseParams

type DescribeAvailablePlansResponseParams struct {
	// Plans available for the current user
	// Note: This field may return null, indicating that no valid values can be obtained.
	PlanInfo []*PlanInfo `json:"PlanInfo,omitempty" name:"PlanInfo"`

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

Predefined struct for user

type DescribeClientRuleListRequest

type DescribeClientRuleListRequest struct {
	*tchttp.BaseRequest

	// The ID of the site to be queried.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name to be queried.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Rule type. Values:
	// <li>`acl`: Custom rules;</li>
	// <li>`rate`: Rate limiting rules.</li>All rules will be queried if this field is not specified.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

	// The rule ID.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// The client IP.
	SourceClientIp *string `json:"SourceClientIp,omitempty" name:"SourceClientIp"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeClientRuleListRequest

func NewDescribeClientRuleListRequest() (request *DescribeClientRuleListRequest)

func (*DescribeClientRuleListRequest) FromJsonString

func (r *DescribeClientRuleListRequest) 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 (*DescribeClientRuleListRequest) ToJsonString

func (r *DescribeClientRuleListRequest) ToJsonString() string

type DescribeClientRuleListRequestParams

type DescribeClientRuleListRequestParams struct {
	// The ID of the site to be queried.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name to be queried.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Rule type. Values:
	// <li>`acl`: Custom rules;</li>
	// <li>`rate`: Rate limiting rules.</li>All rules will be queried if this field is not specified.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

	// The rule ID.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// The client IP.
	SourceClientIp *string `json:"SourceClientIp,omitempty" name:"SourceClientIp"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeClientRuleListResponse

type DescribeClientRuleListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClientRuleListResponseParams `json:"Response"`
}

func NewDescribeClientRuleListResponse

func NewDescribeClientRuleListResponse() (response *DescribeClientRuleListResponse)

func (*DescribeClientRuleListResponse) FromJsonString

func (r *DescribeClientRuleListResponse) 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 (*DescribeClientRuleListResponse) ToJsonString

func (r *DescribeClientRuleListResponse) ToJsonString() string

type DescribeClientRuleListResponseParams

type DescribeClientRuleListResponseParams struct {
	// The blocked client information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*ClientRule `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeContentQuotaRequest

type DescribeContentQuotaRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeContentQuotaRequest

func NewDescribeContentQuotaRequest() (request *DescribeContentQuotaRequest)

func (*DescribeContentQuotaRequest) FromJsonString

func (r *DescribeContentQuotaRequest) 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 (*DescribeContentQuotaRequest) ToJsonString

func (r *DescribeContentQuotaRequest) ToJsonString() string

type DescribeContentQuotaRequestParams

type DescribeContentQuotaRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeContentQuotaResponse

type DescribeContentQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribeContentQuotaResponseParams `json:"Response"`
}

func NewDescribeContentQuotaResponse

func NewDescribeContentQuotaResponse() (response *DescribeContentQuotaResponse)

func (*DescribeContentQuotaResponse) FromJsonString

func (r *DescribeContentQuotaResponse) 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 (*DescribeContentQuotaResponse) ToJsonString

func (r *DescribeContentQuotaResponse) ToJsonString() string

type DescribeContentQuotaResponseParams

type DescribeContentQuotaResponseParams struct {
	// Purging quotas.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PurgeQuota []*Quota `json:"PurgeQuota,omitempty" name:"PurgeQuota"`

	// Pre-warming quotas.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrefetchQuota []*Quota `json:"PrefetchQuota,omitempty" name:"PrefetchQuota"`

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

Predefined struct for user

type DescribeDDoSAttackTopDataRequest

type DescribeDDoSAttackTopDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The statistical metric. Values:
	// <li>`ddos_attackFlux_protocol`: Rank protocols by the attack traffic.</li>
	// <li>`ddos_attackPackageNum_protocol`: Rank protocols by the number of attack packets.</li>
	// <li>`ddos_attackNum_attackType`: Rank attack types by the number of attacks.</li>
	// <li>`ddos_attackNum_sregion`: Rank attacker regions by the number of attacks.</li>
	// <li>`ddos_attackFlux_sip`: Rank attacker IPs by the number of attacks.</li>
	// <li>`ddos_attackFlux_sregion`: Rank attacker regions by the number of attacks.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of site IDs to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The attack type. Values:
	// <li>`flood`: Flood;</li>
	// <li>`icmpFlood`: ICMP flood;</li>
	// <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSAttackTopDataRequest

func NewDescribeDDoSAttackTopDataRequest() (request *DescribeDDoSAttackTopDataRequest)

func (*DescribeDDoSAttackTopDataRequest) FromJsonString

func (r *DescribeDDoSAttackTopDataRequest) 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 (*DescribeDDoSAttackTopDataRequest) ToJsonString

func (r *DescribeDDoSAttackTopDataRequest) ToJsonString() string

type DescribeDDoSAttackTopDataRequestParams

type DescribeDDoSAttackTopDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The statistical metric. Values:
	// <li>`ddos_attackFlux_protocol`: Rank protocols by the attack traffic.</li>
	// <li>`ddos_attackPackageNum_protocol`: Rank protocols by the number of attack packets.</li>
	// <li>`ddos_attackNum_attackType`: Rank attack types by the number of attacks.</li>
	// <li>`ddos_attackNum_sregion`: Rank attacker regions by the number of attacks.</li>
	// <li>`ddos_attackFlux_sip`: Rank attacker IPs by the number of attacks.</li>
	// <li>`ddos_attackFlux_sregion`: Rank attacker regions by the number of attacks.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of site IDs to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The attack type. Values:
	// <li>`flood`: Flood;</li>
	// <li>`icmpFlood`: ICMP flood;</li>
	// <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSAttackTopDataResponse

type DescribeDDoSAttackTopDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackTopDataResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackTopDataResponse

func NewDescribeDDoSAttackTopDataResponse() (response *DescribeDDoSAttackTopDataResponse)

func (*DescribeDDoSAttackTopDataResponse) FromJsonString

func (r *DescribeDDoSAttackTopDataResponse) 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 (*DescribeDDoSAttackTopDataResponse) ToJsonString

func (r *DescribeDDoSAttackTopDataResponse) ToJsonString() string

type DescribeDDoSAttackTopDataResponseParams

type DescribeDDoSAttackTopDataResponseParams struct {
	// The list of top-ranked DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeDefaultCertificatesRequest

type DescribeDefaultCertificatesRequest struct {
	*tchttp.BaseRequest

	// Filter criteria. Each filter criteria can have up to 5 entries.
	// <li>`zone-id`: <br>Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset for paginated queries. Default value: `0`
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeDefaultCertificatesRequest

func NewDescribeDefaultCertificatesRequest() (request *DescribeDefaultCertificatesRequest)

func (*DescribeDefaultCertificatesRequest) FromJsonString

func (r *DescribeDefaultCertificatesRequest) 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 (*DescribeDefaultCertificatesRequest) ToJsonString

func (r *DescribeDefaultCertificatesRequest) ToJsonString() string

type DescribeDefaultCertificatesRequestParams

type DescribeDefaultCertificatesRequestParams struct {
	// Filter criteria. Each filter criteria can have up to 5 entries.
	// <li>`zone-id`: <br>Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset for paginated queries. Default value: `0`
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDefaultCertificatesResponse

type DescribeDefaultCertificatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDefaultCertificatesResponseParams `json:"Response"`
}

func NewDescribeDefaultCertificatesResponse

func NewDescribeDefaultCertificatesResponse() (response *DescribeDefaultCertificatesResponse)

func (*DescribeDefaultCertificatesResponse) FromJsonString

func (r *DescribeDefaultCertificatesResponse) 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 (*DescribeDefaultCertificatesResponse) ToJsonString

func (r *DescribeDefaultCertificatesResponse) ToJsonString() string

type DescribeDefaultCertificatesResponseParams

type DescribeDefaultCertificatesResponseParams struct {
	// Total number of certificates
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of default certificates
	DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitempty" name:"DefaultServerCertInfo"`

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

Predefined struct for user

type DescribeDnsDataRequest

type DescribeDnsDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone`:<br>   Filter by <strong>site name</strong>, such as tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`host`:<br>   Filter by <strong>domain name</strong>, such as test.tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `A`: A record<br>   `AAAA`: AAAA record<br>   `CNAME`: CNAME record<br>   `MX`: MX record<br>   `TXT`: TXT record<br>   `NS`: NS record<br>   `SRV`: SRV record<br>   `CAA`: CAA record
	// <li>`code`:<br>   Filter by <strong>DNS status code</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `NoError`: Success<br>   `NXDomain`: Not found the request domain<br>   `NotImp`: Not supported request type<br>   `Refused`: The domain name server refuses to execute the request for policy reasons
	// <li>`area`:<br>   Filter by <strong>DNS region</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `Asia`<br>   `Europe`<br>   `Africa`<br>   `Oceania`<br>   `Americas`
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>This field will be set to the default value `min` if not specified.
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

func NewDescribeDnsDataRequest

func NewDescribeDnsDataRequest() (request *DescribeDnsDataRequest)

func (*DescribeDnsDataRequest) FromJsonString

func (r *DescribeDnsDataRequest) 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 (*DescribeDnsDataRequest) ToJsonString

func (r *DescribeDnsDataRequest) ToJsonString() string

type DescribeDnsDataRequestParams

type DescribeDnsDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone`:<br>   Filter by <strong>site name</strong>, such as tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`host`:<br>   Filter by <strong>domain name</strong>, such as test.tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `A`: A record<br>   `AAAA`: AAAA record<br>   `CNAME`: CNAME record<br>   `MX`: MX record<br>   `TXT`: TXT record<br>   `NS`: NS record<br>   `SRV`: SRV record<br>   `CAA`: CAA record
	// <li>`code`:<br>   Filter by <strong>DNS status code</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `NoError`: Success<br>   `NXDomain`: Not found the request domain<br>   `NotImp`: Not supported request type<br>   `Refused`: The domain name server refuses to execute the request for policy reasons
	// <li>`area`:<br>   Filter by <strong>DNS region</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `Asia`<br>   `Europe`<br>   `Africa`<br>   `Oceania`<br>   `Americas`
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>This field will be set to the default value `min` if not specified.
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

Predefined struct for user

type DescribeDnsDataResponse

type DescribeDnsDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnsDataResponseParams `json:"Response"`
}

func NewDescribeDnsDataResponse

func NewDescribeDnsDataResponse() (response *DescribeDnsDataResponse)

func (*DescribeDnsDataResponse) FromJsonString

func (r *DescribeDnsDataResponse) 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 (*DescribeDnsDataResponse) ToJsonString

func (r *DescribeDnsDataResponse) ToJsonString() string

type DescribeDnsDataResponseParams

type DescribeDnsDataResponseParams struct {
	// DNS statistics.
	Data []*DnsData `json:"Data,omitempty" name:"Data"`

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

Predefined struct for user

type DescribeHostsSettingRequest

type DescribeHostsSettingRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0. Minimum value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`host`:<br>   Filter by <strong>domain name </strong><br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeHostsSettingRequest

func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest)

func (*DescribeHostsSettingRequest) FromJsonString

func (r *DescribeHostsSettingRequest) 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 (*DescribeHostsSettingRequest) ToJsonString

func (r *DescribeHostsSettingRequest) ToJsonString() string

type DescribeHostsSettingRequestParams

type DescribeHostsSettingRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0. Minimum value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`host`:<br>   Filter by <strong>domain name </strong><br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeHostsSettingResponse

type DescribeHostsSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostsSettingResponseParams `json:"Response"`
}

func NewDescribeHostsSettingResponse

func NewDescribeHostsSettingResponse() (response *DescribeHostsSettingResponse)

func (*DescribeHostsSettingResponse) FromJsonString

func (r *DescribeHostsSettingResponse) 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 (*DescribeHostsSettingResponse) ToJsonString

func (r *DescribeHostsSettingResponse) ToJsonString() string

type DescribeHostsSettingResponseParams

type DescribeHostsSettingResponseParams struct {
	// List of domain names.
	DetailHosts []*DetailHost `json:"DetailHosts,omitempty" name:"DetailHosts"`

	// Number of domain names
	TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"`

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

Predefined struct for user

type DescribeIdentificationsRequest

type DescribeIdentificationsRequest struct {
	*tchttp.BaseRequest

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`: <br>Filter by <strong>site name</strong><br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeIdentificationsRequest

func NewDescribeIdentificationsRequest() (request *DescribeIdentificationsRequest)

func (*DescribeIdentificationsRequest) FromJsonString

func (r *DescribeIdentificationsRequest) 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 (*DescribeIdentificationsRequest) ToJsonString

func (r *DescribeIdentificationsRequest) ToJsonString() string

type DescribeIdentificationsRequestParams

type DescribeIdentificationsRequestParams struct {
	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`: <br>Filter by <strong>site name</strong><br>   Type: String<br>   Required: No</li>
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeIdentificationsResponse

type DescribeIdentificationsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIdentificationsResponseParams `json:"Response"`
}

func NewDescribeIdentificationsResponse

func NewDescribeIdentificationsResponse() (response *DescribeIdentificationsResponse)

func (*DescribeIdentificationsResponse) FromJsonString

func (r *DescribeIdentificationsResponse) 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 (*DescribeIdentificationsResponse) ToJsonString

func (r *DescribeIdentificationsResponse) ToJsonString() string

type DescribeIdentificationsResponseParams

type DescribeIdentificationsResponseParams struct {
	// Number of eligible sites.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The site verification information.
	Identifications []*Identification `json:"Identifications,omitempty" name:"Identifications"`

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

Predefined struct for user

type DescribeLogSetsRequest

type DescribeLogSetsRequest struct {
	*tchttp.BaseRequest

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
}

func NewDescribeLogSetsRequest

func NewDescribeLogSetsRequest() (request *DescribeLogSetsRequest)

func (*DescribeLogSetsRequest) FromJsonString

func (r *DescribeLogSetsRequest) 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 (*DescribeLogSetsRequest) ToJsonString

func (r *DescribeLogSetsRequest) ToJsonString() string

type DescribeLogSetsRequestParams

type DescribeLogSetsRequestParams struct {
	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
}

Predefined struct for user

type DescribeLogSetsResponse

type DescribeLogSetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogSetsResponseParams `json:"Response"`
}

func NewDescribeLogSetsResponse

func NewDescribeLogSetsResponse() (response *DescribeLogSetsResponse)

func (*DescribeLogSetsResponse) FromJsonString

func (r *DescribeLogSetsResponse) 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 (*DescribeLogSetsResponse) ToJsonString

func (r *DescribeLogSetsResponse) ToJsonString() string

type DescribeLogSetsResponseParams

type DescribeLogSetsResponseParams struct {
	// List of logsets.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogSetList []*LogSetInfo `json:"LogSetList,omitempty" name:"LogSetList"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeLogTopicTasksRequest

type DescribeLogTopicTasksRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeLogTopicTasksRequest

func NewDescribeLogTopicTasksRequest() (request *DescribeLogTopicTasksRequest)

func (*DescribeLogTopicTasksRequest) FromJsonString

func (r *DescribeLogTopicTasksRequest) 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 (*DescribeLogTopicTasksRequest) ToJsonString

func (r *DescribeLogTopicTasksRequest) ToJsonString() string

type DescribeLogTopicTasksRequestParams

type DescribeLogTopicTasksRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeLogTopicTasksResponse

type DescribeLogTopicTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogTopicTasksResponseParams `json:"Response"`
}

func NewDescribeLogTopicTasksResponse

func NewDescribeLogTopicTasksResponse() (response *DescribeLogTopicTasksResponse)

func (*DescribeLogTopicTasksResponse) FromJsonString

func (r *DescribeLogTopicTasksResponse) 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 (*DescribeLogTopicTasksResponse) ToJsonString

func (r *DescribeLogTopicTasksResponse) ToJsonString() string

type DescribeLogTopicTasksResponseParams

type DescribeLogTopicTasksResponseParams struct {
	// List of shipping tasks.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TopicList []*ClsLogTopicInfo `json:"TopicList,omitempty" name:"TopicList"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeOriginGroupRequest

type DescribeOriginGroupRequest struct {
	*tchttp.BaseRequest

	// Offset for paginated queries. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Value range: 1-1000. Default value: 10.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-id`<br>   Filter by <strong>site ID</strong>, such as zone-20hzkd4rdmy0<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`origin-group-id`:<br>   Filter by <strong>origin group ID</strong>, such as origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`origin-group-name`:<br>   Filter by <strong>origin group name</strong><br>   Type: String<br>   Required: No<br>   Fuzzy query: Supported (only one origin group name allowed in a query)
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeOriginGroupRequest

func NewDescribeOriginGroupRequest() (request *DescribeOriginGroupRequest)

func (*DescribeOriginGroupRequest) FromJsonString

func (r *DescribeOriginGroupRequest) 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 (*DescribeOriginGroupRequest) ToJsonString

func (r *DescribeOriginGroupRequest) ToJsonString() string

type DescribeOriginGroupRequestParams

type DescribeOriginGroupRequestParams struct {
	// Offset for paginated queries. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Value range: 1-1000. Default value: 10.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-id`<br>   Filter by <strong>site ID</strong>, such as zone-20hzkd4rdmy0<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`origin-group-id`:<br>   Filter by <strong>origin group ID</strong>, such as origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`origin-group-name`:<br>   Filter by <strong>origin group name</strong><br>   Type: String<br>   Required: No<br>   Fuzzy query: Supported (only one origin group name allowed in a query)
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeOriginGroupResponse

type DescribeOriginGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOriginGroupResponseParams `json:"Response"`
}

func NewDescribeOriginGroupResponse

func NewDescribeOriginGroupResponse() (response *DescribeOriginGroupResponse)

func (*DescribeOriginGroupResponse) FromJsonString

func (r *DescribeOriginGroupResponse) 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 (*DescribeOriginGroupResponse) ToJsonString

func (r *DescribeOriginGroupResponse) ToJsonString() string

type DescribeOriginGroupResponseParams

type DescribeOriginGroupResponseParams struct {
	// Total number of records.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Origin group information.
	OriginGroups []*OriginGroup `json:"OriginGroups,omitempty" name:"OriginGroups"`

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

Predefined struct for user

type DescribeOverviewL7DataRequest

type DescribeOverviewL7DataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	// <li>`l7Flow_hit_outFlux`: Cache hit traffic.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan. If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The protocol type. Values:
	// <li>`http`: HTTP protocol;</li>
	// <li>`https`: HTTPS protocol;</li>
	// <li>`http2`: HTTP2 protocol;</li>
	// <li>`all`:   All protocols. </li>If it's not specified, `all` is used. This parameter is not yet available now.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: One day</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Filters
	// <li>tagKey<br>   Filter by the specified <strong>tag key</strong></li>
	// <li>tagValue<br>   Filter by the specified <strong>tag value</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeOverviewL7DataRequest

func NewDescribeOverviewL7DataRequest() (request *DescribeOverviewL7DataRequest)

func (*DescribeOverviewL7DataRequest) FromJsonString

func (r *DescribeOverviewL7DataRequest) 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 (*DescribeOverviewL7DataRequest) ToJsonString

func (r *DescribeOverviewL7DataRequest) ToJsonString() string

type DescribeOverviewL7DataRequestParams

type DescribeOverviewL7DataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	// <li>`l7Flow_hit_outFlux`: Cache hit traffic.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan. If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The protocol type. Values:
	// <li>`http`: HTTP protocol;</li>
	// <li>`https`: HTTPS protocol;</li>
	// <li>`http2`: HTTP2 protocol;</li>
	// <li>`all`:   All protocols. </li>If it's not specified, `all` is used. This parameter is not yet available now.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: One day</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Filters
	// <li>tagKey<br>   Filter by the specified <strong>tag key</strong></li>
	// <li>tagValue<br>   Filter by the specified <strong>tag value</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeOverviewL7DataResponse

type DescribeOverviewL7DataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOverviewL7DataResponseParams `json:"Response"`
}

func NewDescribeOverviewL7DataResponse

func NewDescribeOverviewL7DataResponse() (response *DescribeOverviewL7DataResponse)

func (*DescribeOverviewL7DataResponse) FromJsonString

func (r *DescribeOverviewL7DataResponse) 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 (*DescribeOverviewL7DataResponse) ToJsonString

func (r *DescribeOverviewL7DataResponse) ToJsonString() string

type DescribeOverviewL7DataResponseParams

type DescribeOverviewL7DataResponseParams struct {
	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The list of L7 traffic summary statistics recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

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

Predefined struct for user

type DescribePrefetchTasksRequest

type DescribePrefetchTasksRequest struct {
	*tchttp.BaseRequest

	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`job-id`:<br>   Filter by <strong>task ID</strong>, such as 1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`target`:<br>   Filter by <strong>target resource</strong>, such as http://www.qq.com/1.txt (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`domains`:<br>   Filter by <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`statuses`:<br>   Filter by <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: The task is in progress.<br>   `success`: The task succeeded.<br>   `failed`: The task failed.<br>   `timeout`: The task timed out.</li>
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribePrefetchTasksRequest

func NewDescribePrefetchTasksRequest() (request *DescribePrefetchTasksRequest)

func (*DescribePrefetchTasksRequest) FromJsonString

func (r *DescribePrefetchTasksRequest) 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 (*DescribePrefetchTasksRequest) ToJsonString

func (r *DescribePrefetchTasksRequest) ToJsonString() string

type DescribePrefetchTasksRequestParams

type DescribePrefetchTasksRequestParams struct {
	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`job-id`:<br>   Filter by <strong>task ID</strong>, such as 1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`target`:<br>   Filter by <strong>target resource</strong>, such as http://www.qq.com/1.txt (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`domains`:<br>   Filter by <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`statuses`:<br>   Filter by <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: The task is in progress.<br>   `success`: The task succeeded.<br>   `failed`: The task failed.<br>   `timeout`: The task timed out.</li>
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrefetchTasksResponse

type DescribePrefetchTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrefetchTasksResponseParams `json:"Response"`
}

func NewDescribePrefetchTasksResponse

func NewDescribePrefetchTasksResponse() (response *DescribePrefetchTasksResponse)

func (*DescribePrefetchTasksResponse) FromJsonString

func (r *DescribePrefetchTasksResponse) 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 (*DescribePrefetchTasksResponse) ToJsonString

func (r *DescribePrefetchTasksResponse) ToJsonString() string

type DescribePrefetchTasksResponseParams

type DescribePrefetchTasksResponseParams struct {
	// Total entries that match the specified query condition.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of tasks returned.
	Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`

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

Predefined struct for user

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// Disused. Use "zone-id" in "Filters" instead.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries. <li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`job-id`:<br>   Filter by <strong>task ID</strong>, such as 1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`target`:<br>   Filter by <strong>target resource</strong>, such as http://www.qq.com/1.txt and tag1<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`domains`:<br>   Filter by <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`statuses`:<br>   Filter by <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: The task is in progress.<br>   `success`: The task succeeded.<br>   `failed`: The task failed.<br>   `timeout`: The task timed out.<li>`type`:<br>   Filter by <strong>purging mode</strong> (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `purge_url`: Purge by URL.<br>   `purge_prefix`: Purge by prefix.<br>   `purge_all`: Purge all caches.<br>   `purge_host`: Purge by hostname.<br>   `purge_cache_tag`: Purge by cache tag.</li>
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

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 {
	// Disused. Use "zone-id" in "Filters" instead.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries. <li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`job-id`:<br>   Filter by <strong>task ID</strong>, such as 1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`target`:<br>   Filter by <strong>target resource</strong>, such as http://www.qq.com/1.txt and tag1<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`domains`:<br>   Filter by <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported</li><li>`statuses`:<br>   Filter by <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: The task is in progress.<br>   `success`: The task succeeded.<br>   `failed`: The task failed.<br>   `timeout`: The task timed out.<li>`type`:<br>   Filter by <strong>purging mode</strong> (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `purge_url`: Purge by URL.<br>   `purge_prefix`: Purge by prefix.<br>   `purge_all`: Purge all caches.<br>   `purge_host`: Purge by hostname.<br>   `purge_cache_tag`: Purge by cache tag.</li>
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

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 {
	// Total entries that match the specified query condition.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of tasks returned.
	Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`

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

Predefined struct for user

type DescribeRulesRequest

type DescribeRulesRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`rule-id`:<br>   Filter by the <strong>rule ID</strong><br>   Type: string<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeRulesRequest

func NewDescribeRulesRequest() (request *DescribeRulesRequest)

func (*DescribeRulesRequest) FromJsonString

func (r *DescribeRulesRequest) 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 (*DescribeRulesRequest) ToJsonString

func (r *DescribeRulesRequest) ToJsonString() string

type DescribeRulesRequestParams

type DescribeRulesRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`rule-id`:<br>   Filter by the <strong>rule ID</strong><br>   Type: string<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeRulesResponse

type DescribeRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesResponseParams `json:"Response"`
}

func NewDescribeRulesResponse

func NewDescribeRulesResponse() (response *DescribeRulesResponse)

func (*DescribeRulesResponse) FromJsonString

func (r *DescribeRulesResponse) 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 (*DescribeRulesResponse) ToJsonString

func (r *DescribeRulesResponse) ToJsonString() string

type DescribeRulesResponseParams

type DescribeRulesResponseParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of rules. Rules are sorted in order of execution.
	RuleItems []*RuleItem `json:"RuleItems,omitempty" name:"RuleItems"`

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

Predefined struct for user

type DescribeRulesSettingRequest

type DescribeRulesSettingRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRulesSettingRequest

func NewDescribeRulesSettingRequest() (request *DescribeRulesSettingRequest)

func (*DescribeRulesSettingRequest) FromJsonString

func (r *DescribeRulesSettingRequest) 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 (*DescribeRulesSettingRequest) ToJsonString

func (r *DescribeRulesSettingRequest) ToJsonString() string

type DescribeRulesSettingRequestParams

type DescribeRulesSettingRequestParams struct {
}

Predefined struct for user

type DescribeRulesSettingResponse

type DescribeRulesSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesSettingResponseParams `json:"Response"`
}

func NewDescribeRulesSettingResponse

func NewDescribeRulesSettingResponse() (response *DescribeRulesSettingResponse)

func (*DescribeRulesSettingResponse) FromJsonString

func (r *DescribeRulesSettingResponse) 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 (*DescribeRulesSettingResponse) ToJsonString

func (r *DescribeRulesSettingResponse) ToJsonString() string

type DescribeRulesSettingResponseParams

type DescribeRulesSettingResponseParams struct {
	// List of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.
	Actions []*RulesSettingAction `json:"Actions,omitempty" name:"Actions"`

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

Predefined struct for user

type DescribeSingleL7AnalysisDataRequest

type DescribeSingleL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_singleIpRequest`: Number of requests from a single IP.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Filters
	// <li>`country`:<br>   Filter by the specified <strong>country code</strong>. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a> country codes are used.</li>
	// <li>`domain`<br>   Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li>
	// <li>`protocol`:<br>   Filter by the specified <strong>HTTP protocol</strong><br>   Values:<br>   `HTTP/1.0`: HTTP 1.0<br>   `HTTP/1.1`: HTTP 1.1<br>   `HTTP/2.0`: HTTP 2.0<br>   `HTTP/3.0`: HTTP 3.0<br>   `WebSocket`: WebSocket</li>
	// <li>tagKey<br>   Filter by the specified <strong>tag key</strong></li>
	// <li>tagValue<br>   Filter by the specified <strong>tag value</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeSingleL7AnalysisDataRequest

func NewDescribeSingleL7AnalysisDataRequest() (request *DescribeSingleL7AnalysisDataRequest)

func (*DescribeSingleL7AnalysisDataRequest) FromJsonString

func (r *DescribeSingleL7AnalysisDataRequest) 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 (*DescribeSingleL7AnalysisDataRequest) ToJsonString

func (r *DescribeSingleL7AnalysisDataRequest) ToJsonString() string

type DescribeSingleL7AnalysisDataRequestParams

type DescribeSingleL7AnalysisDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_singleIpRequest`: Number of requests from a single IP.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Filters
	// <li>`country`:<br>   Filter by the specified <strong>country code</strong>. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a> country codes are used.</li>
	// <li>`domain`<br>   Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li>
	// <li>`protocol`:<br>   Filter by the specified <strong>HTTP protocol</strong><br>   Values:<br>   `HTTP/1.0`: HTTP 1.0<br>   `HTTP/1.1`: HTTP 1.1<br>   `HTTP/2.0`: HTTP 2.0<br>   `HTTP/3.0`: HTTP 3.0<br>   `WebSocket`: WebSocket</li>
	// <li>tagKey<br>   Filter by the specified <strong>tag key</strong></li>
	// <li>tagValue<br>   Filter by the specified <strong>tag value</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeSingleL7AnalysisDataResponse

type DescribeSingleL7AnalysisDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSingleL7AnalysisDataResponseParams `json:"Response"`
}

func NewDescribeSingleL7AnalysisDataResponse

func NewDescribeSingleL7AnalysisDataResponse() (response *DescribeSingleL7AnalysisDataResponse)

func (*DescribeSingleL7AnalysisDataResponse) FromJsonString

func (r *DescribeSingleL7AnalysisDataResponse) 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 (*DescribeSingleL7AnalysisDataResponse) ToJsonString

func (r *DescribeSingleL7AnalysisDataResponse) ToJsonString() string

type DescribeSingleL7AnalysisDataResponseParams

type DescribeSingleL7AnalysisDataResponseParams struct {
	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The list of L7 dimensional data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SingleDataRecord `json:"Data,omitempty" name:"Data"`

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

Predefined struct for user

type DescribeSpeedTestingDetailsRequest

type DescribeSpeedTestingDetailsRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeSpeedTestingDetailsRequest

func NewDescribeSpeedTestingDetailsRequest() (request *DescribeSpeedTestingDetailsRequest)

func (*DescribeSpeedTestingDetailsRequest) FromJsonString

func (r *DescribeSpeedTestingDetailsRequest) 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 (*DescribeSpeedTestingDetailsRequest) ToJsonString

func (r *DescribeSpeedTestingDetailsRequest) ToJsonString() string

type DescribeSpeedTestingDetailsRequestParams

type DescribeSpeedTestingDetailsRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeSpeedTestingDetailsResponse

type DescribeSpeedTestingDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSpeedTestingDetailsResponseParams `json:"Response"`
}

func NewDescribeSpeedTestingDetailsResponse

func NewDescribeSpeedTestingDetailsResponse() (response *DescribeSpeedTestingDetailsResponse)

func (*DescribeSpeedTestingDetailsResponse) FromJsonString

func (r *DescribeSpeedTestingDetailsResponse) 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 (*DescribeSpeedTestingDetailsResponse) ToJsonString

func (r *DescribeSpeedTestingDetailsResponse) ToJsonString() string

type DescribeSpeedTestingDetailsResponseParams

type DescribeSpeedTestingDetailsResponseParams struct {
	// The site’s load speed across regions.
	SpeedTestingDetailData *SpeedTestingDetailData `json:"SpeedTestingDetailData,omitempty" name:"SpeedTestingDetailData"`

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

Predefined struct for user

type DescribeSpeedTestingMetricDataRequest

type DescribeSpeedTestingMetricDataRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeSpeedTestingMetricDataRequest

func NewDescribeSpeedTestingMetricDataRequest() (request *DescribeSpeedTestingMetricDataRequest)

func (*DescribeSpeedTestingMetricDataRequest) FromJsonString

func (r *DescribeSpeedTestingMetricDataRequest) 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 (*DescribeSpeedTestingMetricDataRequest) ToJsonString

type DescribeSpeedTestingMetricDataRequestParams

type DescribeSpeedTestingMetricDataRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeSpeedTestingMetricDataResponse

type DescribeSpeedTestingMetricDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSpeedTestingMetricDataResponseParams `json:"Response"`
}

func NewDescribeSpeedTestingMetricDataResponse

func NewDescribeSpeedTestingMetricDataResponse() (response *DescribeSpeedTestingMetricDataResponse)

func (*DescribeSpeedTestingMetricDataResponse) FromJsonString

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

func (*DescribeSpeedTestingMetricDataResponse) ToJsonString

type DescribeSpeedTestingMetricDataResponseParams

type DescribeSpeedTestingMetricDataResponseParams struct {
	// The site test metrics.
	SpeedTestingMetricData *SpeedTestingMetricData `json:"SpeedTestingMetricData,omitempty" name:"SpeedTestingMetricData"`

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

Predefined struct for user

type DescribeSpeedTestingQuotaRequest

type DescribeSpeedTestingQuotaRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeSpeedTestingQuotaRequest

func NewDescribeSpeedTestingQuotaRequest() (request *DescribeSpeedTestingQuotaRequest)

func (*DescribeSpeedTestingQuotaRequest) FromJsonString

func (r *DescribeSpeedTestingQuotaRequest) 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 (*DescribeSpeedTestingQuotaRequest) ToJsonString

func (r *DescribeSpeedTestingQuotaRequest) ToJsonString() string

type DescribeSpeedTestingQuotaRequestParams

type DescribeSpeedTestingQuotaRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeSpeedTestingQuotaResponse

type DescribeSpeedTestingQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSpeedTestingQuotaResponseParams `json:"Response"`
}

func NewDescribeSpeedTestingQuotaResponse

func NewDescribeSpeedTestingQuotaResponse() (response *DescribeSpeedTestingQuotaResponse)

func (*DescribeSpeedTestingQuotaResponse) FromJsonString

func (r *DescribeSpeedTestingQuotaResponse) 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 (*DescribeSpeedTestingQuotaResponse) ToJsonString

func (r *DescribeSpeedTestingQuotaResponse) ToJsonString() string

type DescribeSpeedTestingQuotaResponseParams

type DescribeSpeedTestingQuotaResponseParams struct {
	// The quota limit on site tests.
	SpeedTestingQuota *SpeedTestingQuota `json:"SpeedTestingQuota,omitempty" name:"SpeedTestingQuota"`

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

Predefined struct for user

type DescribeTimingL4DataRequest

type DescribeTimingL4DataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric to query. Values:
	// <li>`l4Flow_connections`: Access connections;</li>
	// <li>`l4Flow_flux`: Access traffic;</li>
	// <li>`l4Flow_inFlux`: Inbound traffic;</li>
	// <li>`l4Flow_outFlux`: Outbound traffic;</li>
	// <li>`l4Flow_outPkt`: Outbound packets.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Filters
	// <li>ruleId<br>   Filter by the specified <strong>forwarding rule ID</strong></li>
	// <li>proxyId<br>   Filter by the specified <strong>L4 agent ID</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTimingL4DataRequest

func NewDescribeTimingL4DataRequest() (request *DescribeTimingL4DataRequest)

func (*DescribeTimingL4DataRequest) FromJsonString

func (r *DescribeTimingL4DataRequest) 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 (*DescribeTimingL4DataRequest) ToJsonString

func (r *DescribeTimingL4DataRequest) ToJsonString() string

type DescribeTimingL4DataRequestParams

type DescribeTimingL4DataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric to query. Values:
	// <li>`l4Flow_connections`: Access connections;</li>
	// <li>`l4Flow_flux`: Access traffic;</li>
	// <li>`l4Flow_inFlux`: Inbound traffic;</li>
	// <li>`l4Flow_outFlux`: Outbound traffic;</li>
	// <li>`l4Flow_outPkt`: Outbound packets.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Filters
	// <li>ruleId<br>   Filter by the specified <strong>forwarding rule ID</strong></li>
	// <li>proxyId<br>   Filter by the specified <strong>L4 agent ID</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTimingL4DataResponse

type DescribeTimingL4DataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimingL4DataResponseParams `json:"Response"`
}

func NewDescribeTimingL4DataResponse

func NewDescribeTimingL4DataResponse() (response *DescribeTimingL4DataResponse)

func (*DescribeTimingL4DataResponse) FromJsonString

func (r *DescribeTimingL4DataResponse) 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 (*DescribeTimingL4DataResponse) ToJsonString

func (r *DescribeTimingL4DataResponse) ToJsonString() string

type DescribeTimingL4DataResponseParams

type DescribeTimingL4DataResponseParams struct {
	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The list of L4 traffic data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

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

Predefined struct for user

type DescribeTimingL7AnalysisDataRequest

type DescribeTimingL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The list of metrics. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan. If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Filters
	// <li>`country`:<br>   Filter by the specified <strong>country code</strong>. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a> country codes are used.</li>
	// <li>`province`<br>   Filter by the specified <strong>province name</strong>. It's only available when `Area` is `mainland`. </li>
	// <li>`isp`<br>   Filter by the specified <strong>ISP</strong>. It's only available when `Area` is `mainland`.<br>   Values: <br>   `2`: CTCC; <br>   `26`: CUCC;<br>   `1046`: CMCC;<br>   `3947`: CTT; <br>   `38`: CERNET; <br>   `43`: GWBN;<br>   `0`: Others</li>
	// <li>`domain`<br>   Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li>
	// <li>`url`<br>   Filter by the specified <strong>URL Path</strong> (such as `/content` or `content/test.jpg`.<br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.</li>
	// <li>`referer`<br>   Filter by the specified <strong>Referer header</strong>, such as `example.com`.<br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.</li>
	// <li>`resourceType`<br>   Filter by the specified <strong>resource file type</strong>, such as `jpg`, `css`. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.</li>
	// <li>`protocol`:<br>   Filter by the specified <strong>HTTP protocol</strong><br>   Values:<br>   `HTTP/1.0`: HTTP 1.0<br>   `HTTP/1.1`: HTTP 1.1<br>   `HTTP/2.0`: HTTP 2.0<br>   `HTTP/3.0`: HTTP 3.0<br>   `WebSocket`: WebSocket</li>
	// <li>`statusCode`<br>   Filter by the specified <strong> status code</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>  `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`browserType`<br>   Filter by the specified <strong>browser type</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>  `Firefox`: Firefox browser;<br>   `Chrome`: Chrome browser;<br>   `Safari`: Safari browser;<br>   `MicrosoftEdge`: Microsoft Edge browser;<br>   `IE`: IE browser;<br>   `Opera`: Opera browser;<br>   `QQBrowser`: QQ browser;<br>   `LBBrowser`: LB browser;<br>   `MaxthonBrowser`: Maxthon browser;<br>   `SouGouBrowser`: Sogou browser;<br>  `BIDUBrowser`: Baidu browser;<br>   `TaoBrowser`: Tao browser;<br>   `UBrowser`: UC browser;<br>   `Other`: Other browsers; <br>   `Empty`: The browser type is not specified; <br>   `Bot`: Web crawler.</li>
	// <li>`deviceType`<br>   Filter by the <strong>device type</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>   `TV`: TV; <br>   `Tablet`: Tablet;<br>   `Mobile`: Mobile phone;<br>   `Desktop`: Desktop device; <br>   `Other`: Other device;<br>   `Empty`: Device type not specified.</li>
	// <li>`operatingSystemType`<br>   Filter by the <strong>operating system</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>   `Linux`: Linux OS;<br>   `MacOS`: Mac OS;<br>   `Android`: Android OS;<br>   `IOS`: iOS OS;<br>   `Windows`: Windows OS;<br>   `NetBSD`: NetBSD OS;<br>   `ChromiumOS`: Chromium OS;<br>   `Bot`: Web crawler: <br>   `Other`: Other OS;<br>   `Empty`: The OS is not specified.</li>
	// <li>`tlsVersion`<br>   Filter by the <strong>TLS version</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values:<br>   `TLS1.0`: TLS 1.0; <br>   `TLS1.1`: TLS 1.1;<br>   `TLS1.2`: TLS 1.2;<br>   `TLS1.3`: TLS 1.3.</li>
	// <li>`ipVersion`<br>   Filter by the specified <strong>IP version</strong>.<br>   Values:<br>   `4`: IPv4;<br>   `6`: IPv6.</li>
	// <li>tagKey<br>   Filter by the specified <strong>tag key</strong></li>
	// <li>tagValue<br>   Filter by the specified <strong>tag value</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTimingL7AnalysisDataRequest

func NewDescribeTimingL7AnalysisDataRequest() (request *DescribeTimingL7AnalysisDataRequest)

func (*DescribeTimingL7AnalysisDataRequest) FromJsonString

func (r *DescribeTimingL7AnalysisDataRequest) 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 (*DescribeTimingL7AnalysisDataRequest) ToJsonString

func (r *DescribeTimingL7AnalysisDataRequest) ToJsonString() string

type DescribeTimingL7AnalysisDataRequestParams

type DescribeTimingL7AnalysisDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The list of metrics. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites
	// Enter the IDs of sites to query. The maximum query period is determined by the <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> of the bound plan. If it's not specified, all sites are selected by default, and the query period must be within the last 30 days.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The query granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period <= 1 hour: `min`; <br>1 hour < Period <= 2 days: `5min`; <br>2 days < period <= 7 days: `hour`; <br>Period > 7 days: `day`.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Filters
	// <li>`country`:<br>   Filter by the specified <strong>country code</strong>. <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a> country codes are used.</li>
	// <li>`province`<br>   Filter by the specified <strong>province name</strong>. It's only available when `Area` is `mainland`. </li>
	// <li>`isp`<br>   Filter by the specified <strong>ISP</strong>. It's only available when `Area` is `mainland`.<br>   Values: <br>   `2`: CTCC; <br>   `26`: CUCC;<br>   `1046`: CMCC;<br>   `3947`: CTT; <br>   `38`: CERNET; <br>   `43`: GWBN;<br>   `0`: Others</li>
	// <li>`domain`<br>   Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li>
	// <li>`url`<br>   Filter by the specified <strong>URL Path</strong> (such as `/content` or `content/test.jpg`.<br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.</li>
	// <li>`referer`<br>   Filter by the specified <strong>Referer header</strong>, such as `example.com`.<br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.</li>
	// <li>`resourceType`<br>   Filter by the specified <strong>resource file type</strong>, such as `jpg`, `css`. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.</li>
	// <li>`protocol`:<br>   Filter by the specified <strong>HTTP protocol</strong><br>   Values:<br>   `HTTP/1.0`: HTTP 1.0<br>   `HTTP/1.1`: HTTP 1.1<br>   `HTTP/2.0`: HTTP 2.0<br>   `HTTP/3.0`: HTTP 3.0<br>   `WebSocket`: WebSocket</li>
	// <li>`statusCode`<br>   Filter by the specified <strong> status code</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>  `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`browserType`<br>   Filter by the specified <strong>browser type</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>  `Firefox`: Firefox browser;<br>   `Chrome`: Chrome browser;<br>   `Safari`: Safari browser;<br>   `MicrosoftEdge`: Microsoft Edge browser;<br>   `IE`: IE browser;<br>   `Opera`: Opera browser;<br>   `QQBrowser`: QQ browser;<br>   `LBBrowser`: LB browser;<br>   `MaxthonBrowser`: Maxthon browser;<br>   `SouGouBrowser`: Sogou browser;<br>  `BIDUBrowser`: Baidu browser;<br>   `TaoBrowser`: Tao browser;<br>   `UBrowser`: UC browser;<br>   `Other`: Other browsers; <br>   `Empty`: The browser type is not specified; <br>   `Bot`: Web crawler.</li>
	// <li>`deviceType`<br>   Filter by the <strong>device type</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>   `TV`: TV; <br>   `Tablet`: Tablet;<br>   `Mobile`: Mobile phone;<br>   `Desktop`: Desktop device; <br>   `Other`: Other device;<br>   `Empty`: Device type not specified.</li>
	// <li>`operatingSystemType`<br>   Filter by the <strong>operating system</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values: <br>   `Linux`: Linux OS;<br>   `MacOS`: Mac OS;<br>   `Android`: Android OS;<br>   `IOS`: iOS OS;<br>   `Windows`: Windows OS;<br>   `NetBSD`: NetBSD OS;<br>   `ChromiumOS`: Chromium OS;<br>   `Bot`: Web crawler: <br>   `Other`: Other OS;<br>   `Empty`: The OS is not specified.</li>
	// <li>`tlsVersion`<br>   Filter by the <strong>TLS version</strong>. <br>   When this parameter is specified, the query period must be within the last 30 days. <br>   In this case, the supported <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query period</a> stated when `Zonelds` is specified become invalid.<br>   Values:<br>   `TLS1.0`: TLS 1.0; <br>   `TLS1.1`: TLS 1.1;<br>   `TLS1.2`: TLS 1.2;<br>   `TLS1.3`: TLS 1.3.</li>
	// <li>`ipVersion`<br>   Filter by the specified <strong>IP version</strong>.<br>   Values:<br>   `4`: IPv4;<br>   `6`: IPv6.</li>
	// <li>tagKey<br>   Filter by the specified <strong>tag key</strong></li>
	// <li>tagValue<br>   Filter by the specified <strong>tag value</strong></li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTimingL7AnalysisDataResponse

type DescribeTimingL7AnalysisDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimingL7AnalysisDataResponseParams `json:"Response"`
}

func NewDescribeTimingL7AnalysisDataResponse

func NewDescribeTimingL7AnalysisDataResponse() (response *DescribeTimingL7AnalysisDataResponse)

func (*DescribeTimingL7AnalysisDataResponse) FromJsonString

func (r *DescribeTimingL7AnalysisDataResponse) 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 (*DescribeTimingL7AnalysisDataResponse) ToJsonString

func (r *DescribeTimingL7AnalysisDataResponse) ToJsonString() string

type DescribeTimingL7AnalysisDataResponseParams

type DescribeTimingL7AnalysisDataResponseParams struct {
	// The list of L7 traffic data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeTimingL7CacheDataRequest

type DescribeTimingL7CacheDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux`: Response traffic.</li>
	// <li>`l7Cache_request`: Response requests.</li>
	// <li>`l7Cache_outBandwidth`: Response bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Filter conditions. See below for details:
	// <li>`domain`<br>   Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br>   Type: String<br>   Required: No</li>
	// <li>`url`<br>   Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No</li>
	// <li>`resourceType`<br>   Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>  Type: String<br>   Required: No</li>
	// <li>cacheType<br>  Filter by the <strong>cache hit result</strong>.<br> Type: String<br>   Required: No<br>   Values: <br>   `hit`: Cache hit; <br>   `dynamic`: Resource non-cacheable; <br>   `miss`: Cache miss</li>
	// <li>`statusCode`<br>   Filter by the <strong> status code</strong>. The query period  cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>   `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`tagKey`:<br>   Filter by the <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>   Filter by the <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTimingL7CacheDataRequest

func NewDescribeTimingL7CacheDataRequest() (request *DescribeTimingL7CacheDataRequest)

func (*DescribeTimingL7CacheDataRequest) FromJsonString

func (r *DescribeTimingL7CacheDataRequest) 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 (*DescribeTimingL7CacheDataRequest) ToJsonString

func (r *DescribeTimingL7CacheDataRequest) ToJsonString() string

type DescribeTimingL7CacheDataRequestParams

type DescribeTimingL7CacheDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux`: Response traffic.</li>
	// <li>`l7Cache_request`: Response requests.</li>
	// <li>`l7Cache_outBandwidth`: Response bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Filter conditions. See below for details:
	// <li>`domain`<br>   Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br>   Type: String<br>   Required: No</li>
	// <li>`url`<br>   Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No</li>
	// <li>`resourceType`<br>   Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>  Type: String<br>   Required: No</li>
	// <li>cacheType<br>  Filter by the <strong>cache hit result</strong>.<br> Type: String<br>   Required: No<br>   Values: <br>   `hit`: Cache hit; <br>   `dynamic`: Resource non-cacheable; <br>   `miss`: Cache miss</li>
	// <li>`statusCode`<br>   Filter by the <strong> status code</strong>. The query period  cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>   `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`tagKey`:<br>   Filter by the <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>   Filter by the <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTimingL7CacheDataResponse

type DescribeTimingL7CacheDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimingL7CacheDataResponseParams `json:"Response"`
}

func NewDescribeTimingL7CacheDataResponse

func NewDescribeTimingL7CacheDataResponse() (response *DescribeTimingL7CacheDataResponse)

func (*DescribeTimingL7CacheDataResponse) FromJsonString

func (r *DescribeTimingL7CacheDataResponse) 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 (*DescribeTimingL7CacheDataResponse) ToJsonString

func (r *DescribeTimingL7CacheDataResponse) ToJsonString() string

type DescribeTimingL7CacheDataResponseParams

type DescribeTimingL7CacheDataResponseParams struct {
	// The list of cached L7 time-series data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeTopL7AnalysisDataRequest

type DescribeTopL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux_country`: Country the request came from;</li>
	// <li>`l7Flow_outFlux_statusCode`: Status code of the request;</li>
	// <li>`l7Flow_outFlux_domain`: Domain name of the request;</li>
	// <li>`l7Flow_outFlux_url`: URL of the request;</li>
	// <li>`l7Flow_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Flow_outFlux_sip`: Client IP;</li>
	// <li>`l7Flow_outFlux_referers`: Refer header;</li>
	// <li>`l7Flow_outFlux_ua_device`: Device type;</li>
	// <li>`l7Flow_outFlux_ua_browser`: Browser type;</li>
	// <li>`l7Flow_outFlux_us_os`: OS type;</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top n rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter conditions. See below for details:
	// <li>`country`:<br>   Filter by the <strong>country/region code</strong>. <a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a> country codes are used.<br>   Type: String<br>   Required: No</li>
	// <li>`province`<br>   Filter by the <strong>province name</strong>. It’s only available when `Area` is `mainland`. <br>   Type: String<br>   Required: No</li>
	// <li>`isp`<br>   Filter by the <strong>ISP</strong>. It’s only available when `Area` is `mainland`.<br>   Type: String<br>   Required: No<br>   Values: <br>   `2`: CTCC; <br>   `26`: CUCC;<br>   `1046`: CMCC;<br>   `3947`: CTT; <br>   `38`: CERNET; <br>   `43`: GWBN;<br>   `0`: Others</li>
	// <li>`domain`<br>   Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br>   Type: String<br>   Required: No</li>
	// <li>`url`<br>   Filter by the <strong>URL</strong>, such as `/content`. Separate multiple URLs with semicolons. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No</li>
	// <li>`referer`<br>   Filter by the <strong>Referer header</strong>, such as `example.com`. The query period cannot exceed 30 days.<br>   Type: String<br>   Required: No</li>
	// <li>`resourceType`<br>   Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>  Type: String<br>   Required: No</li>
	// <li>`protocol`:<br>   Filter by the <strong>HTTP protocol</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `HTTP/1.0`: HTTP 1.0<br>   `HTTP/1.1`: HTTP 1.1<br>   `HTTP/2.0`: HTTP 2.0<br>   `HTTP/3.0`: HTTP 3.0<br>   `WebSocket`: WebSocket</li>
	// <li>`statusCode`<br>   Filter by the <strong> status code</strong>. The query period  cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>   `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`browserType`<br>   Filter by the <strong>browser type</strong>. The query period cannot exceed 30 days. <br>   Type:  String<br>   Required:  No<br>   Values: <br>  `Firefox`: Firefox browser;<br>   `Chrome`: Chrome browser;<br>   `Safari`: Safari browser;<br>   `MicrosoftEdge`: Microsoft Edge browser;<br>   `IE`: IE browser;<br>   `Opera`: Opera browser;<br>   `QQBrowser`: QQ browser;<br>   `LBBrowser`: LB browser;<br>   `MaxthonBrowser`: Maxthon browser;<br>   `SouGouBrowser`: Sogou browser;<br>  `BIDUBrowser`: Baidu browser;<br>   `TaoBrowser`: Tao browser;<br>   `UBrowser`: UC browser;<br>   `Other`: Other browsers; <br>   `Empty`: The browser type is not specified; <br>   `Bot`: Web crawler.</li>
	// <li>`deviceType`<br>   Filter by the <strong>device type</strong>. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `TV`: TV; <br>   `Tablet`: Tablet;<br>   `Mobile`: Mobile phone;<br>   `Desktop`: Desktop device; <br>   `Other`: Other device;<br>   `Empty`: Device type not specified.</li>
	// <li>`operatingSystemType`<br>   Filter by the <strong>operating system</strong>. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `Linux`: Linux OS;<br>   `MacOS`: Max OS;<br>   `Android`: Android OS;<br>   `IOS`: iOS OS;<br>   `Windows`: Windows OS;<br>   `NetBSD`: NetBSD OS;<br>   `ChromiumOS`: Chromium OS;<br>   `Bot`: Web crawler: <br>   `Other`: Other OS;<br>   `Empty`: The OS is not specified.</li>
	// <li>`tlsVersion`<br>   Filter by the <strong>TLS version</strong>. The query period cannot exceed 30 days.<br>   Type: String<br>   Required: No<br>   Values:<br>   `TLS1.0`: TLS 1.0; <br>   `TLS1.1`: TLS 1.1;<br>   `TLS1.2`: TLS 1.2;<br>   `TLS1.3`: TLS 1.3.</li>
	// <li>`ipVersion`<br>   Filter by the <strong>IP version</strong>.<br>   Type: String<br>   Required: No<br>   Values:<br>   `4`: IPv4;<br>   `6`: IPv6.</li>
	// <li>`tagKey`:<br>   Filter by the <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>   Filter by the <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTopL7AnalysisDataRequest

func NewDescribeTopL7AnalysisDataRequest() (request *DescribeTopL7AnalysisDataRequest)

func (*DescribeTopL7AnalysisDataRequest) FromJsonString

func (r *DescribeTopL7AnalysisDataRequest) 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 (*DescribeTopL7AnalysisDataRequest) ToJsonString

func (r *DescribeTopL7AnalysisDataRequest) ToJsonString() string

type DescribeTopL7AnalysisDataRequestParams

type DescribeTopL7AnalysisDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux_country`: Country the request came from;</li>
	// <li>`l7Flow_outFlux_statusCode`: Status code of the request;</li>
	// <li>`l7Flow_outFlux_domain`: Domain name of the request;</li>
	// <li>`l7Flow_outFlux_url`: URL of the request;</li>
	// <li>`l7Flow_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Flow_outFlux_sip`: Client IP;</li>
	// <li>`l7Flow_outFlux_referers`: Refer header;</li>
	// <li>`l7Flow_outFlux_ua_device`: Device type;</li>
	// <li>`l7Flow_outFlux_ua_browser`: Browser type;</li>
	// <li>`l7Flow_outFlux_us_os`: OS type;</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top n rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter conditions. See below for details:
	// <li>`country`:<br>   Filter by the <strong>country/region code</strong>. <a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a> country codes are used.<br>   Type: String<br>   Required: No</li>
	// <li>`province`<br>   Filter by the <strong>province name</strong>. It’s only available when `Area` is `mainland`. <br>   Type: String<br>   Required: No</li>
	// <li>`isp`<br>   Filter by the <strong>ISP</strong>. It’s only available when `Area` is `mainland`.<br>   Type: String<br>   Required: No<br>   Values: <br>   `2`: CTCC; <br>   `26`: CUCC;<br>   `1046`: CMCC;<br>   `3947`: CTT; <br>   `38`: CERNET; <br>   `43`: GWBN;<br>   `0`: Others</li>
	// <li>`domain`<br>   Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br>   Type: String<br>   Required: No</li>
	// <li>`url`<br>   Filter by the <strong>URL</strong>, such as `/content`. Separate multiple URLs with semicolons. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No</li>
	// <li>`referer`<br>   Filter by the <strong>Referer header</strong>, such as `example.com`. The query period cannot exceed 30 days.<br>   Type: String<br>   Required: No</li>
	// <li>`resourceType`<br>   Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>  Type: String<br>   Required: No</li>
	// <li>`protocol`:<br>   Filter by the <strong>HTTP protocol</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `HTTP/1.0`: HTTP 1.0<br>   `HTTP/1.1`: HTTP 1.1<br>   `HTTP/2.0`: HTTP 2.0<br>   `HTTP/3.0`: HTTP 3.0<br>   `WebSocket`: WebSocket</li>
	// <li>`statusCode`<br>   Filter by the <strong> status code</strong>. The query period  cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>   `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`browserType`<br>   Filter by the <strong>browser type</strong>. The query period cannot exceed 30 days. <br>   Type:  String<br>   Required:  No<br>   Values: <br>  `Firefox`: Firefox browser;<br>   `Chrome`: Chrome browser;<br>   `Safari`: Safari browser;<br>   `MicrosoftEdge`: Microsoft Edge browser;<br>   `IE`: IE browser;<br>   `Opera`: Opera browser;<br>   `QQBrowser`: QQ browser;<br>   `LBBrowser`: LB browser;<br>   `MaxthonBrowser`: Maxthon browser;<br>   `SouGouBrowser`: Sogou browser;<br>  `BIDUBrowser`: Baidu browser;<br>   `TaoBrowser`: Tao browser;<br>   `UBrowser`: UC browser;<br>   `Other`: Other browsers; <br>   `Empty`: The browser type is not specified; <br>   `Bot`: Web crawler.</li>
	// <li>`deviceType`<br>   Filter by the <strong>device type</strong>. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `TV`: TV; <br>   `Tablet`: Tablet;<br>   `Mobile`: Mobile phone;<br>   `Desktop`: Desktop device; <br>   `Other`: Other device;<br>   `Empty`: Device type not specified.</li>
	// <li>`operatingSystemType`<br>   Filter by the <strong>operating system</strong>. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `Linux`: Linux OS;<br>   `MacOS`: Max OS;<br>   `Android`: Android OS;<br>   `IOS`: iOS OS;<br>   `Windows`: Windows OS;<br>   `NetBSD`: NetBSD OS;<br>   `ChromiumOS`: Chromium OS;<br>   `Bot`: Web crawler: <br>   `Other`: Other OS;<br>   `Empty`: The OS is not specified.</li>
	// <li>`tlsVersion`<br>   Filter by the <strong>TLS version</strong>. The query period cannot exceed 30 days.<br>   Type: String<br>   Required: No<br>   Values:<br>   `TLS1.0`: TLS 1.0; <br>   `TLS1.1`: TLS 1.1;<br>   `TLS1.2`: TLS 1.2;<br>   `TLS1.3`: TLS 1.3.</li>
	// <li>`ipVersion`<br>   Filter by the <strong>IP version</strong>.<br>   Type: String<br>   Required: No<br>   Values:<br>   `4`: IPv4;<br>   `6`: IPv6.</li>
	// <li>`tagKey`:<br>   Filter by the <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>   Filter by the <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTopL7AnalysisDataResponse

type DescribeTopL7AnalysisDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopL7AnalysisDataResponseParams `json:"Response"`
}

func NewDescribeTopL7AnalysisDataResponse

func NewDescribeTopL7AnalysisDataResponse() (response *DescribeTopL7AnalysisDataResponse)

func (*DescribeTopL7AnalysisDataResponse) FromJsonString

func (r *DescribeTopL7AnalysisDataResponse) 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 (*DescribeTopL7AnalysisDataResponse) ToJsonString

func (r *DescribeTopL7AnalysisDataResponse) ToJsonString() string

type DescribeTopL7AnalysisDataResponseParams

type DescribeTopL7AnalysisDataResponseParams struct {
	// The list of top-ranked L7 traffic data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeTopL7CacheDataRequest

type DescribeTopL7CacheDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux_domain`: Host/Domain name;</li>
	// <li>`l7Cache_outFlux_url`: URL address;</li>
	// <li>`l7Cache_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Cache_outFlux_statusCode`: Status code.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter conditions. See below for details:
	// <li>`domain`<br>   Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br>   Type: String<br>   Required: No</li>
	// <li>`url`<br>   Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No</li>
	// <li>`resourceType`<br>   Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>  Type: String<br>   Required: No</li>
	// <li>cacheType<br>  Filter by the <strong>cache hit result</strong>.<br> Type: String<br>   Required: No<br>   Values: <br>   `hit`: Cache hit; <br>   `dynamic`: Resource non-cacheable; <br>   `miss`: Cache miss</li>
	// <li>`statusCode`<br>   Filter by the <strong> status code</strong>. The query period  cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>   `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`tagKey`:<br>   Filter by the <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>   Filter by the <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTopL7CacheDataRequest

func NewDescribeTopL7CacheDataRequest() (request *DescribeTopL7CacheDataRequest)

func (*DescribeTopL7CacheDataRequest) FromJsonString

func (r *DescribeTopL7CacheDataRequest) 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 (*DescribeTopL7CacheDataRequest) ToJsonString

func (r *DescribeTopL7CacheDataRequest) ToJsonString() string

type DescribeTopL7CacheDataRequestParams

type DescribeTopL7CacheDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux_domain`: Host/Domain name;</li>
	// <li>`l7Cache_outFlux_url`: URL address;</li>
	// <li>`l7Cache_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Cache_outFlux_statusCode`: Status code.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter conditions. See below for details:
	// <li>`domain`<br>   Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br>   Type: String<br>   Required: No</li>
	// <li>`url`<br>   Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br>   Type: String<br>   Required: No</li>
	// <li>`resourceType`<br>   Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br>  Type: String<br>   Required: No</li>
	// <li>cacheType<br>  Filter by the <strong>cache hit result</strong>.<br> Type: String<br>   Required: No<br>   Values: <br>   `hit`: Cache hit; <br>   `dynamic`: Resource non-cacheable; <br>   `miss`: Cache miss</li>
	// <li>`statusCode`<br>   Filter by the <strong> status code</strong>. The query period  cannot exceed 30 days. <br>   Type: String<br>   Required: No<br>   Values: <br>   `1XX`: All 1xx status codes;<br>   `100`: 100 status code;<br>   `101`: 101 status code;<br>   `102`: 102 status code;<br>   `2XX`: All 2xx status codes;<br>   `200`: 200 status code;<br>   `201`: 201 status code;<br>   `202`: 202 status code;<br>   `203`: 203 status code;<br>   `204`: 204 status code;<br>   `205`: 205 status code;<br>   `206`: 206 status code;<br>   `207`: 207 status code;<br>   `3XX`: All 3xx status codes;<br>   `300`: 300 status code;<br>   `301`: 301 status code;<br>   `302`: 302 status code;<br>   `303`: 303 status code;<br>   `304`: 304 status code;<br>   `305`: 305 status code;<br>   `307`: 307 status code;<br>   `4XX`: All 4xx status codes;<br>   `400`: 400 status code;<br>   `401`: 401 status code;<br>   `402`: 402 status code;<br>   `403`: 403 status code;<br>   `404`: 404 status code;<br>   `405`: 405 status code;<br>   `406`: 406 status code;<br>   `407`: 407 status code;<br>   `408`: 408 status code;<br>   `409`: 409 status code;<br>   `410`: 410 status code;<br>   `411`: 411 status code;<br>   `412`: 412 status code;<br>   `412`: 413 status code;<br>   `414`: 414 status code;<br>   `415`: 415 status code;<br>   `416`: 416 status code;<br>   `417`: 417 status code;<br>  `422`: 422 status code;<br>   `423`: 423 status code;<br>   `424`: 424 status code;<br>   `426`: 426 status code;<br>   `451`: 451 status code;<br>   `5XX`: All 5xx status codes;<br>   `500`: 500 status code;<br>   `501`: 501 status code;<br>   `502`: 502 status code;<br>   `503`: 503 status code;<br>   `504`: 504 status code;<br>   `505`: 505 status code;<br>   `506`: 506 status code;<br>   `507`: 507 status code;<br>   `510`: 510 status code;<br>   `514`: 514 status code;<br>   `544`: 544 status code.</li>
	// <li>`tagKey`:<br>   Filter by the <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>   Filter by the <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Geolocation scope. Values:
	// <li>`overseas`: Regions outside the Chinese mainland</li>
	// <li>`mainland`: Chinese mainland</li>
	// <li>`global`: Global</li>If this field is not specified, the default value `global` is used.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTopL7CacheDataResponse

type DescribeTopL7CacheDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopL7CacheDataResponseParams `json:"Response"`
}

func NewDescribeTopL7CacheDataResponse

func NewDescribeTopL7CacheDataResponse() (response *DescribeTopL7CacheDataResponse)

func (*DescribeTopL7CacheDataResponse) FromJsonString

func (r *DescribeTopL7CacheDataResponse) 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 (*DescribeTopL7CacheDataResponse) ToJsonString

func (r *DescribeTopL7CacheDataResponse) ToJsonString() string

type DescribeTopL7CacheDataResponseParams

type DescribeTopL7CacheDataResponseParams struct {
	// The list of cached L7 top-ranked traffic data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebManagedRulesDataRequest

type DescribeWebManagedRulesDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`waf_interceptNum`: Requests blocked by WAF.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebManagedRulesDataRequest

func NewDescribeWebManagedRulesDataRequest() (request *DescribeWebManagedRulesDataRequest)

func (*DescribeWebManagedRulesDataRequest) FromJsonString

func (r *DescribeWebManagedRulesDataRequest) 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 (*DescribeWebManagedRulesDataRequest) ToJsonString

func (r *DescribeWebManagedRulesDataRequest) ToJsonString() string

type DescribeWebManagedRulesDataRequestParams

type DescribeWebManagedRulesDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`waf_interceptNum`: Requests blocked by WAF.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebManagedRulesDataResponse

type DescribeWebManagedRulesDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesDataResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesDataResponse

func NewDescribeWebManagedRulesDataResponse() (response *DescribeWebManagedRulesDataResponse)

func (*DescribeWebManagedRulesDataResponse) FromJsonString

func (r *DescribeWebManagedRulesDataResponse) 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 (*DescribeWebManagedRulesDataResponse) ToJsonString

func (r *DescribeWebManagedRulesDataResponse) ToJsonString() string

type DescribeWebManagedRulesDataResponseParams

type DescribeWebManagedRulesDataResponseParams struct {
	// The list of WAF attack data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebManagedRulesHitRuleDetailRequest

type DescribeWebManagedRulesHitRuleDetailRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebManagedRulesHitRuleDetailRequest

func NewDescribeWebManagedRulesHitRuleDetailRequest() (request *DescribeWebManagedRulesHitRuleDetailRequest)

func (*DescribeWebManagedRulesHitRuleDetailRequest) FromJsonString

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

func (*DescribeWebManagedRulesHitRuleDetailRequest) ToJsonString

type DescribeWebManagedRulesHitRuleDetailRequestParams

type DescribeWebManagedRulesHitRuleDetailRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebManagedRulesHitRuleDetailResponse

type DescribeWebManagedRulesHitRuleDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesHitRuleDetailResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesHitRuleDetailResponse

func NewDescribeWebManagedRulesHitRuleDetailResponse() (response *DescribeWebManagedRulesHitRuleDetailResponse)

func (*DescribeWebManagedRulesHitRuleDetailResponse) FromJsonString

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

func (*DescribeWebManagedRulesHitRuleDetailResponse) ToJsonString

type DescribeWebManagedRulesHitRuleDetailResponseParams

type DescribeWebManagedRulesHitRuleDetailResponseParams struct {
	// The hit rule information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebManagedRulesLogRequest

type DescribeWebManagedRulesLogRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`attackType`: Attack type;</li>
	// <li>`riskLevel`: Risk level;</li>
	// <li>`action`: Action;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`sipCountryCode`: Country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`oriDomain`: Attacked subdomain name;</li>
	// <li>`eventId`: Event ID;</li>
	// <li>`ua`: User agent;</li>
	// <li>`requestMethod`: Request method;</li>
	// <li>`uri`: Uniform resource identifier.</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebManagedRulesLogRequest

func NewDescribeWebManagedRulesLogRequest() (request *DescribeWebManagedRulesLogRequest)

func (*DescribeWebManagedRulesLogRequest) FromJsonString

func (r *DescribeWebManagedRulesLogRequest) 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 (*DescribeWebManagedRulesLogRequest) ToJsonString

func (r *DescribeWebManagedRulesLogRequest) ToJsonString() string

type DescribeWebManagedRulesLogRequestParams

type DescribeWebManagedRulesLogRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`attackType`: Attack type;</li>
	// <li>`riskLevel`: Risk level;</li>
	// <li>`action`: Action;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`sipCountryCode`: Country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`oriDomain`: Attacked subdomain name;</li>
	// <li>`eventId`: Event ID;</li>
	// <li>`ua`: User agent;</li>
	// <li>`requestMethod`: Request method;</li>
	// <li>`uri`: Uniform resource identifier.</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebManagedRulesLogResponse

type DescribeWebManagedRulesLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesLogResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesLogResponse

func NewDescribeWebManagedRulesLogResponse() (response *DescribeWebManagedRulesLogResponse)

func (*DescribeWebManagedRulesLogResponse) FromJsonString

func (r *DescribeWebManagedRulesLogResponse) 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 (*DescribeWebManagedRulesLogResponse) ToJsonString

func (r *DescribeWebManagedRulesLogResponse) ToJsonString() string

type DescribeWebManagedRulesLogResponseParams

type DescribeWebManagedRulesLogResponseParams struct {
	// The list of web log data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*WebLogs `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebProtectionClientIpListRequest

type DescribeWebProtectionClientIpListRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionClientIpListRequest

func NewDescribeWebProtectionClientIpListRequest() (request *DescribeWebProtectionClientIpListRequest)

func (*DescribeWebProtectionClientIpListRequest) FromJsonString

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

func (*DescribeWebProtectionClientIpListRequest) ToJsonString

type DescribeWebProtectionClientIpListRequestParams

type DescribeWebProtectionClientIpListRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionClientIpListResponse

type DescribeWebProtectionClientIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionClientIpListResponseParams `json:"Response"`
}

func NewDescribeWebProtectionClientIpListResponse

func NewDescribeWebProtectionClientIpListResponse() (response *DescribeWebProtectionClientIpListResponse)

func (*DescribeWebProtectionClientIpListResponse) FromJsonString

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

func (*DescribeWebProtectionClientIpListResponse) ToJsonString

type DescribeWebProtectionClientIpListResponseParams

type DescribeWebProtectionClientIpListResponseParams struct {
	// The list of CC attacker IPs.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecClientIp `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebProtectionDataRequest

type DescribeWebProtectionDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metrics to query. Values:
	// <li>`ccRate_interceptNum`: Requests restricted by the rate limiting rules;</li>
	// <li>`ccAcl_interceptNum`: Requests restricted by the custom rules.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionDataRequest

func NewDescribeWebProtectionDataRequest() (request *DescribeWebProtectionDataRequest)

func (*DescribeWebProtectionDataRequest) FromJsonString

func (r *DescribeWebProtectionDataRequest) 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 (*DescribeWebProtectionDataRequest) ToJsonString

func (r *DescribeWebProtectionDataRequest) ToJsonString() string

type DescribeWebProtectionDataRequestParams

type DescribeWebProtectionDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metrics to query. Values:
	// <li>`ccRate_interceptNum`: Requests restricted by the rate limiting rules;</li>
	// <li>`ccAcl_interceptNum`: Requests restricted by the custom rules.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionDataResponse

type DescribeWebProtectionDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionDataResponseParams `json:"Response"`
}

func NewDescribeWebProtectionDataResponse

func NewDescribeWebProtectionDataResponse() (response *DescribeWebProtectionDataResponse)

func (*DescribeWebProtectionDataResponse) FromJsonString

func (r *DescribeWebProtectionDataResponse) 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 (*DescribeWebProtectionDataResponse) ToJsonString

func (r *DescribeWebProtectionDataResponse) ToJsonString() string

type DescribeWebProtectionDataResponseParams

type DescribeWebProtectionDataResponseParams struct {
	// The list of CC protection data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebProtectionHitRuleDetailRequest

type DescribeWebProtectionHitRuleDetailRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The rule type. Values:
	// <li>`rate`: Rate limiting rules;</li>
	// <li>`acl`: Custom rules.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionHitRuleDetailRequest

func NewDescribeWebProtectionHitRuleDetailRequest() (request *DescribeWebProtectionHitRuleDetailRequest)

func (*DescribeWebProtectionHitRuleDetailRequest) FromJsonString

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

func (*DescribeWebProtectionHitRuleDetailRequest) ToJsonString

type DescribeWebProtectionHitRuleDetailRequestParams

type DescribeWebProtectionHitRuleDetailRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The rule type. Values:
	// <li>`rate`: Rate limiting rules;</li>
	// <li>`acl`: Custom rules.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionHitRuleDetailResponse

type DescribeWebProtectionHitRuleDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionHitRuleDetailResponseParams `json:"Response"`
}

func NewDescribeWebProtectionHitRuleDetailResponse

func NewDescribeWebProtectionHitRuleDetailResponse() (response *DescribeWebProtectionHitRuleDetailResponse)

func (*DescribeWebProtectionHitRuleDetailResponse) FromJsonString

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

func (*DescribeWebProtectionHitRuleDetailResponse) ToJsonString

type DescribeWebProtectionHitRuleDetailResponseParams

type DescribeWebProtectionHitRuleDetailResponseParams struct {
	// The list of hit CC protection rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeWebProtectionTopDataRequest

type DescribeWebProtectionTopDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`ccRate_requestNum_url`: Top-ranked URLs by rate limiting requests.</li>
	// <li>`ccRate_cipRequestNum_region`: Top-ranked client IPs by rate limiting requests.</li>
	// <li>`ccAcl_requestNum_url`: Top-ranked URLs by custom rule requests.</li>
	// <li>`ccAcl_requestNum_cip`: Top-ranked client IPs by custom rule execution requests.</li>
	// <li>`ccAcl_cipRequestNum_region`: Top-ranked clients by custom rule execution requests.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionTopDataRequest

func NewDescribeWebProtectionTopDataRequest() (request *DescribeWebProtectionTopDataRequest)

func (*DescribeWebProtectionTopDataRequest) FromJsonString

func (r *DescribeWebProtectionTopDataRequest) 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 (*DescribeWebProtectionTopDataRequest) ToJsonString

func (r *DescribeWebProtectionTopDataRequest) ToJsonString() string

type DescribeWebProtectionTopDataRequestParams

type DescribeWebProtectionTopDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`ccRate_requestNum_url`: Top-ranked URLs by rate limiting requests.</li>
	// <li>`ccRate_cipRequestNum_region`: Top-ranked client IPs by rate limiting requests.</li>
	// <li>`ccAcl_requestNum_url`: Top-ranked URLs by custom rule requests.</li>
	// <li>`ccAcl_requestNum_cip`: Top-ranked client IPs by custom rule execution requests.</li>
	// <li>`ccAcl_cipRequestNum_region`: Top-ranked clients by custom rule execution requests.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionTopDataResponse

type DescribeWebProtectionTopDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionTopDataResponseParams `json:"Response"`
}

func NewDescribeWebProtectionTopDataResponse

func NewDescribeWebProtectionTopDataResponse() (response *DescribeWebProtectionTopDataResponse)

func (*DescribeWebProtectionTopDataResponse) FromJsonString

func (r *DescribeWebProtectionTopDataResponse) 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 (*DescribeWebProtectionTopDataResponse) ToJsonString

func (r *DescribeWebProtectionTopDataResponse) ToJsonString() string

type DescribeWebProtectionTopDataResponseParams

type DescribeWebProtectionTopDataResponseParams struct {
	// The list of top-ranked CC protection data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeZoneSettingRequest

type DescribeZoneSettingRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeZoneSettingRequest

func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)

func (*DescribeZoneSettingRequest) FromJsonString

func (r *DescribeZoneSettingRequest) 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 (*DescribeZoneSettingRequest) ToJsonString

func (r *DescribeZoneSettingRequest) ToJsonString() string

type DescribeZoneSettingRequestParams

type DescribeZoneSettingRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeZoneSettingResponse

type DescribeZoneSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZoneSettingResponseParams `json:"Response"`
}

func NewDescribeZoneSettingResponse

func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)

func (*DescribeZoneSettingResponse) FromJsonString

func (r *DescribeZoneSettingResponse) 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 (*DescribeZoneSettingResponse) ToJsonString

func (r *DescribeZoneSettingResponse) ToJsonString() string

type DescribeZoneSettingResponseParams

type DescribeZoneSettingResponseParams struct {
	// The site configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneSetting *ZoneSetting `json:"ZoneSetting,omitempty" name:"ZoneSetting"`

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

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`:<br>   Filter by <strong>site name</strong><br>   Type: String<br>   Required: No</li><li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No</li><li>`status`:<br>   Filter by <strong>site status</strong><br>   Type: String<br>   Required: No</li><li>`tag-key`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No</li><li>`tag-value`:<br>   Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No</li>Only `zone-name` supports fuzzy query.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`

	// The sorting field. Values:
	// <li>`type`: Access mode</li>
	// <li>`area`: Acceleration region</li>
	// <li>`create-time`: Creation date</li>
	// <li>`zone-name`: Site name</li>
	// <li>`use-time`: Last used date</li>
	// <li>`active-status`: Activation status</li>If it is left empty, the default value `create-time` is used.
	Order *string `json:"Order,omitempty" name:"Order"`

	// The sorting direction. Values:
	// <li>`asc`: From smallest to largest</li>
	// <li>`desc`: From largest to smallest</li>If it is left empty, the default value `desc` is used.
	Direction *string `json:"Direction,omitempty" name:"Direction"`
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

func (r *DescribeZonesRequest) 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 (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesRequestParams

type DescribeZonesRequestParams struct {
	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`:<br>   Filter by <strong>site name</strong><br>   Type: String<br>   Required: No</li><li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No</li><li>`status`:<br>   Filter by <strong>site status</strong><br>   Type: String<br>   Required: No</li><li>`tag-key`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No</li><li>`tag-value`:<br>   Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No</li>Only `zone-name` supports fuzzy query.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`

	// The sorting field. Values:
	// <li>`type`: Access mode</li>
	// <li>`area`: Acceleration region</li>
	// <li>`create-time`: Creation date</li>
	// <li>`zone-name`: Site name</li>
	// <li>`use-time`: Last used date</li>
	// <li>`active-status`: Activation status</li>If it is left empty, the default value `create-time` is used.
	Order *string `json:"Order,omitempty" name:"Order"`

	// The sorting direction. Values:
	// <li>`asc`: From smallest to largest</li>
	// <li>`desc`: From largest to smallest</li>If it is left empty, the default value `desc` is used.
	Direction *string `json:"Direction,omitempty" name:"Direction"`
}

Predefined struct for user

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZonesResponseParams `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

func (r *DescribeZonesResponse) 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 (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type DescribeZonesResponseParams

type DescribeZonesResponseParams struct {
	// Number of eligible sites.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Details of sites
	Zones []*Zone `json:"Zones,omitempty" name:"Zones"`

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

Predefined struct for user

type DetailHost

type DetailHost struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The acceleration status. Values:
	// <li>`process`: In progress</li>
	// <li>`online`: Enabled</li>
	// <li>`offline`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The domain name.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Name of the site
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The assigned CNAME
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// The resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// The instance ID.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// The lock status.
	Lock *int64 `json:"Lock,omitempty" name:"Lock"`

	// The domain name status.
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// The acceleration area of the domain name. Values:
	// <li>`global`: Global.</li>
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// The acceleration type configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AccelerateType *AccelerateType `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The HTTPS configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// The cache configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// The origin configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// The security type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SecurityType *SecurityType `json:"SecurityType,omitempty" name:"SecurityType"`

	// The cache key configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The smart compression configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// The WAF protection configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Waf *Waf `json:"Waf,omitempty" name:"Waf"`

	// The CC protection configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CC *CC `json:"CC,omitempty" name:"CC"`

	// DDoS mitigation configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	DDoS *DDoS `json:"DDoS,omitempty" name:"DDoS"`

	// The smart routing configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// The IPv6 access configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// Whether to carry the location information of the client IP during origin-pull.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

type DistrictStatistics

type DistrictStatistics struct {
	// The ISO 3166-2 Alpha-2 country code. For the list of country codes, see [ISO 3166-2](https://zh.m.wikipedia.org/zh-hans/ISO_3166-2).
	Alpha2 *string `json:"Alpha2,omitempty" name:"Alpha2"`

	// The overall load time, in milliseconds.
	LoadTime *int64 `json:"LoadTime,omitempty" name:"LoadTime"`
}

type DnsData

type DnsData struct {
	// The time.
	Time *string `json:"Time,omitempty" name:"Time"`

	// The value.
	Value *uint64 `json:"Value,omitempty" name:"Value"`
}

type DownloadL4LogsRequest

type DownloadL4LogsRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDownloadL4LogsRequest

func NewDownloadL4LogsRequest() (request *DownloadL4LogsRequest)

func (*DownloadL4LogsRequest) FromJsonString

func (r *DownloadL4LogsRequest) 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 (*DownloadL4LogsRequest) ToJsonString

func (r *DownloadL4LogsRequest) ToJsonString() string

type DownloadL4LogsRequestParams

type DownloadL4LogsRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DownloadL4LogsResponse

type DownloadL4LogsResponse struct {
	*tchttp.BaseResponse
	Response *DownloadL4LogsResponseParams `json:"Response"`
}

func NewDownloadL4LogsResponse

func NewDownloadL4LogsResponse() (response *DownloadL4LogsResponse)

func (*DownloadL4LogsResponse) FromJsonString

func (r *DownloadL4LogsResponse) 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 (*DownloadL4LogsResponse) ToJsonString

func (r *DownloadL4LogsResponse) ToJsonString() string

type DownloadL4LogsResponseParams

type DownloadL4LogsResponseParams struct {
	// The list of L4 log data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*L4OfflineLog `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DownloadL7LogsRequest

type DownloadL7LogsRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDownloadL7LogsRequest

func NewDownloadL7LogsRequest() (request *DownloadL7LogsRequest)

func (*DownloadL7LogsRequest) FromJsonString

func (r *DownloadL7LogsRequest) 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 (*DownloadL7LogsRequest) ToJsonString

func (r *DownloadL7LogsRequest) ToJsonString() string

type DownloadL7LogsRequestParams

type DownloadL7LogsRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DownloadL7LogsResponse

type DownloadL7LogsResponse struct {
	*tchttp.BaseResponse
	Response *DownloadL7LogsResponseParams `json:"Response"`
}

func NewDownloadL7LogsResponse

func NewDownloadL7LogsResponse() (response *DownloadL7LogsResponse)

func (*DownloadL7LogsResponse) FromJsonString

func (r *DownloadL7LogsResponse) 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 (*DownloadL7LogsResponse) ToJsonString

func (r *DownloadL7LogsResponse) ToJsonString() string

type DownloadL7LogsResponseParams

type DownloadL7LogsResponseParams struct {
	// The list of L7 log data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*L7OfflineLog `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DropPageConfig

type DropPageConfig struct {
	// Whether to enable configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The settings of the block page that applies managed rules. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WafDropPageDetail *DropPageDetail `json:"WafDropPageDetail,omitempty" name:"WafDropPageDetail"`

	// The settings of the block page that applies custom rules. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AclDropPageDetail *DropPageDetail `json:"AclDropPageDetail,omitempty" name:"AclDropPageDetail"`
}

type DropPageDetail

type DropPageDetail struct {
	// The ID of the block page, which can be obtained from the CreateSecurityDropPage API.
	// If 0 is passed, the default block page will be used.
	PageId *int64 `json:"PageId,omitempty" name:"PageId"`

	// The HTTP status code of the block page. Value range: 100-600.
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// The block page file or URL.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Type of the block page. Values:
	// <li>`file`: Block page file</li>
	// <li>`url`: Block page URL</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

type ExceptConfig

type ExceptConfig struct {
	// Whether to enable configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The settings of the exception rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExceptUserRules []*ExceptUserRule `json:"ExceptUserRules,omitempty" name:"ExceptUserRules"`
}

type ExceptUserRule

type ExceptUserRule struct {
	// The rule name.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule action. It only supports the value `skip`, which indicates skipping all managed rules.
	Action *string `json:"Action,omitempty" name:"Action"`

	// The rule status. Values:
	// <li>`on`: Enabled</li>
	// <li>`off`: Disabled</li>
	RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`

	// The rule ID, which is automatically created and only used as an output parameter.
	RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`

	// The update time. If it is null, the current date and time is recorded.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// The matching condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExceptUserRuleConditions []*ExceptUserRuleCondition `json:"ExceptUserRuleConditions,omitempty" name:"ExceptUserRuleConditions"`

	// The scope to which the exception rule applies.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExceptUserRuleScope *ExceptUserRuleScope `json:"ExceptUserRuleScope,omitempty" name:"ExceptUserRuleScope"`

	// The rule priority. Value range: 0-100. If it is null, it defaults to 0.
	RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
}

type ExceptUserRuleCondition

type ExceptUserRuleCondition struct {
	// The field to match. Values:
	// <li>`host`: Request domain name</li>
	// <li>`sip`: Client IP</li>
	// <li>`ua`: User-Agent</li>
	// <li>`cookie`: Cookie</li>
	// <li>`cgi`: CGI script</li>
	// <li>`xff`: XFF header</li>
	// <li>`url`: Request URL</li>
	// <li>`accept`: Request content type</li>
	// <li>`method`: Request method</li>
	// <li>`header`: Request header</li>
	// <li>`sip_proto`: Network layer protocol</li>
	MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`

	// The parameter of the field. Only when `MatchFrom = header`, the key contained in the header can be passed.
	MatchParam *string `json:"MatchParam,omitempty" name:"MatchParam"`

	// The logical operator. Values:
	// <li>`equal`: String equals</li>
	// <li>`not_equal`: Value not equals</li>
	// <li>`include`: String contains</li>
	// <li>`not_include`: String not contains</li>
	// <li>`match`: IP matches</li>
	// <li>`not_match`: IP not matches</li>
	// <li>`include_area`: Regions contain</li>
	// <li>`is_empty`: Value left empty</li>
	// <li>`not_exists`: Key fields not exist</li>
	// <li>`regexp`: Regex matches</li>
	// <li>`len_gt`: Value greater than</li>
	// <li>`len_lt`: Value smaller than</li>
	// <li>`len_eq`: Value equals</li>
	// <li>`match_prefix`: Prefix matches</li>
	// <li>`match_suffix`: Suffix matches</li>
	// <li>`wildcard`: Wildcard</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// The value of the parameter.
	MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}

type ExceptUserRuleScope

type ExceptUserRuleScope struct {
	// Exception mode. Values:
	// <li>`complete`: Skip the exception rule for full requests.</li>
	// <li>`partial`: Skip the exception rule for partial requests.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The module to be activated. Values:
	// <li>`waf`: Managed rules</li>
	// <li>`cc`: Rate limiting rules</li>
	// <li>`bot`: bot protection</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Modules []*string `json:"Modules,omitempty" name:"Modules"`

	// Module settings of the exception rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PartialModules []*PartialModule `json:"PartialModules,omitempty" name:"PartialModules"`

	// Condition settings of the exception rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SkipConditions []*SkipCondition `json:"SkipConditions,omitempty" name:"SkipConditions"`
}

type FailReason

type FailReason struct {
	// Failure reason.
	Reason *string `json:"Reason,omitempty" name:"Reason"`

	// List of resources failed to be processed.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`
}

type FileAscriptionInfo

type FileAscriptionInfo struct {
	// Directory of the verification file.
	IdentifyPath *string `json:"IdentifyPath,omitempty" name:"IdentifyPath"`

	// Content of the verification file.
	IdentifyContent *string `json:"IdentifyContent,omitempty" name:"IdentifyContent"`
}

type Filter

type Filter struct {
	// Fields to be filtered.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Value of the filtered field.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type FollowOrigin

type FollowOrigin struct {
	// Whether to enable the configuration of following the origin server. Valid values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Sets the default cache time when the origin server does not return the Cache-Control header.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DefaultCacheTime *int64 `json:"DefaultCacheTime,omitempty" name:"DefaultCacheTime"`

	// Specifies whether to enable cache when the origin server does not return the Cache-Control header.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DefaultCache *string `json:"DefaultCache,omitempty" name:"DefaultCache"`

	// Specifies whether to use the default caching policy when Cache-Control is not returned from the origin
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DefaultCacheStrategy *string `json:"DefaultCacheStrategy,omitempty" name:"DefaultCacheStrategy"`
}

type ForceRedirect

type ForceRedirect struct {
	// Whether to enable force HTTPS redirect. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Redirect status code. Values:
	// <li>`301`: 301 redirect</li>
	// <li>`302`: 302 redirect</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitempty" name:"RedirectStatusCode"`
}

type Grpc

type Grpc struct {
	// Whether to enable gRPC support
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type Header struct {
	// HTTP header name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// HTTP header value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type Hsts

type Hsts struct {
	// Whether to enable the configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The MaxAge value in seconds. Maximum value: `86400` (one day)
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxAge *int64 `json:"MaxAge,omitempty" name:"MaxAge"`

	// Whether to contain subdomain names. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	IncludeSubDomains *string `json:"IncludeSubDomains,omitempty" name:"IncludeSubDomains"`

	// Whether to enable preloading. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Preload *string `json:"Preload,omitempty" name:"Preload"`
}

type Https

type Https struct {
	// Whether to enable HTTP2. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Http2 *string `json:"Http2,omitempty" name:"Http2"`

	// Whether to enable OCSP. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	OcspStapling *string `json:"OcspStapling,omitempty" name:"OcspStapling"`

	// TLS version. Values:
	// <li>`TLSv1`: TLSv1 version</li>
	// <li>`TLSV1.1`: TLSv1.1 version</li>
	// <li>`TLSV1.2`: TLSv1.2 version</li>
	// <li>`TLSv1.3`: TLSv1.3 version</li>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,omitempty" name:"TlsVersion"`

	// HSTS Configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Hsts *Hsts `json:"Hsts,omitempty" name:"Hsts"`

	// The certificate configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`

	// Whether the certificate is managed by EdgeOne. Values:
	// <li>`apply`: Managed by EdgeOne.</li>
	// <li>`none`: Not managed by EdgeOne.</li>If it is left empty, the default value `none` is used.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ApplyType *string `json:"ApplyType,omitempty" name:"ApplyType"`
}

type Identification

type Identification struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The verification status. Values:
	// <li>`pending`: The verification is ongoing.</li>
	// <li>`finished`: The verification completed.</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Details of the DNS record.
	Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`

	// The NS record of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// Details of the verification file.
	FileAscription *FileAscriptionInfo `json:"FileAscription,omitempty" name:"FileAscription"`
}

type IdentifyZoneRequest

type IdentifyZoneRequest struct {
	*tchttp.BaseRequest

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

func NewIdentifyZoneRequest

func NewIdentifyZoneRequest() (request *IdentifyZoneRequest)

func (*IdentifyZoneRequest) FromJsonString

func (r *IdentifyZoneRequest) 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 (*IdentifyZoneRequest) ToJsonString

func (r *IdentifyZoneRequest) ToJsonString() string

type IdentifyZoneRequestParams

type IdentifyZoneRequestParams struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

Predefined struct for user

type IdentifyZoneResponse

type IdentifyZoneResponse struct {
	*tchttp.BaseResponse
	Response *IdentifyZoneResponseParams `json:"Response"`
}

func NewIdentifyZoneResponse

func NewIdentifyZoneResponse() (response *IdentifyZoneResponse)

func (*IdentifyZoneResponse) FromJsonString

func (r *IdentifyZoneResponse) 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 (*IdentifyZoneResponse) ToJsonString

func (r *IdentifyZoneResponse) ToJsonString() string

type IdentifyZoneResponseParams

type IdentifyZoneResponseParams struct {
	// Details of the DNS record.
	Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`

	// Details of the verification file.
	FileAscription *FileAscriptionInfo `json:"FileAscription,omitempty" name:"FileAscription"`

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

Predefined struct for user

type IntelligenceRule

type IntelligenceRule struct {
	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Items in a bot intelligence rule
	// Note: This field may return null, indicating that no valid values can be obtained.
	IntelligenceRuleItems []*IntelligenceRuleItem `json:"IntelligenceRuleItems,omitempty" name:"IntelligenceRuleItems"`
}

type IntelligenceRuleItem

type IntelligenceRuleItem struct {
	// The tag to categorize bots. Values:
	// <li>`evil_bot`: Malicious bot</li>
	// <li>`suspect_bot`: Suspected bot</li>
	// <li>`good_bot`: Good bot</li>
	// <li>`normal`: Normal request</li>
	Label *string `json:"Label,omitempty" name:"Label"`

	// The action taken on bots. Values
	// <li>`drop`: Block</li>
	// <li>`trans`: Allow</li>
	// <li>`alg`: JavaScript challenge</li>
	// <li>`captcha`: Managed challenge</li>
	// <li>`monitor`: Observe</li>
	Action *string `json:"Action,omitempty" name:"Action"`
}

type IpTableConfig

type IpTableConfig struct {
	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The settings of the basic access control rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IpTableRules []*IpTableRule `json:"IpTableRules,omitempty" name:"IpTableRules"`
}

type IpTableRule

type IpTableRule struct {
	// The action. Values:
	// <li>`drop`: Block</li>
	// <li>`trans`: Allow</li>
	// <li>`monitor`: Observe</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The matching dimension. Values:
	// <li>`ip`: Match by IP.</li>
	// <li>`area`: Match by IP region.</li>
	MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`

	// The matching content.
	MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`

	// The rule ID, which is only used as an output parameter.
	RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`

	// The update time, which is only used as an output parameter.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// The rule status. A null value indicates that the rule is enabled. Values:
	// <li>`on`: Enabled</li>
	// <li>`off`: Disabled</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`
}

type Ipv6

type Ipv6 struct {
	// Whether to enable IPv6 access. Values:
	// <li>`on`: Enable IPv6 access.</li>
	// <li>`off`: Disable IPv6 access.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type L4OfflineLog

type L4OfflineLog struct {
	// The start time of the log packaging.
	LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`

	// The L4 proxy ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The log size, in bytes.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// The download address.
	Url *string `json:"Url,omitempty" name:"Url"`

	// The log package name.
	LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`

	// The acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type L7OfflineLog

type L7OfflineLog struct {
	// Start time of the log packaging
	LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`

	// The subdomain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Log size, in bytes.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Download address
	Url *string `json:"Url,omitempty" name:"Url"`

	// Log package name
	LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type LogSetInfo

type LogSetInfo struct {
	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Whether the logset is deleted. Values:
	// <li>`no`: The logset is not deleted;</li>
	// <li>`yes`: The logset is deleted.</li>
	Deleted *string `json:"Deleted,omitempty" name:"Deleted"`
}

type MaxAge

type MaxAge struct {
	// Whether to follow the origin server. Values:
	// <li>`on`: Follow the origin server and ignore the field MaxAgeTime;</li>
	// <li>`off`: Do not follow the origin server and apply the field MaxAgeTime.</li>
	FollowOrigin *string `json:"FollowOrigin,omitempty" name:"FollowOrigin"`

	// Specifies the maximum amount of time (in seconds). The maximum value is 365 days.
	// Note: The value `0` means not to cache.
	MaxAgeTime *int64 `json:"MaxAgeTime,omitempty" name:"MaxAgeTime"`
}

type ModifyAliasDomainRequest

type ModifyAliasDomainRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The alias domain name.
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// The target domain name.
	TargetName *string `json:"TargetName,omitempty" name:"TargetName"`

	// Certificate configuration. Values:
	// <li>`none`: Off</li>
	// <li>`hosting`: Managed SSL certificate</li>
	// <li>`apply`: Free certificate</li>The original configuration will apply if this field is not specified.
	CertType *string `json:"CertType,omitempty" name:"CertType"`

	// The certificate ID. This field is required when `CertType=hosting`.
	CertId []*string `json:"CertId,omitempty" name:"CertId"`
}

func NewModifyAliasDomainRequest

func NewModifyAliasDomainRequest() (request *ModifyAliasDomainRequest)

func (*ModifyAliasDomainRequest) FromJsonString

func (r *ModifyAliasDomainRequest) 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 (*ModifyAliasDomainRequest) ToJsonString

func (r *ModifyAliasDomainRequest) ToJsonString() string

type ModifyAliasDomainRequestParams

type ModifyAliasDomainRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The alias domain name.
	AliasName *string `json:"AliasName,omitempty" name:"AliasName"`

	// The target domain name.
	TargetName *string `json:"TargetName,omitempty" name:"TargetName"`

	// Certificate configuration. Values:
	// <li>`none`: Off</li>
	// <li>`hosting`: Managed SSL certificate</li>
	// <li>`apply`: Free certificate</li>The original configuration will apply if this field is not specified.
	CertType *string `json:"CertType,omitempty" name:"CertType"`

	// The certificate ID. This field is required when `CertType=hosting`.
	CertId []*string `json:"CertId,omitempty" name:"CertId"`
}

Predefined struct for user

type ModifyAliasDomainResponse

type ModifyAliasDomainResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAliasDomainResponseParams `json:"Response"`
}

func NewModifyAliasDomainResponse

func NewModifyAliasDomainResponse() (response *ModifyAliasDomainResponse)

func (*ModifyAliasDomainResponse) FromJsonString

func (r *ModifyAliasDomainResponse) 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 (*ModifyAliasDomainResponse) ToJsonString

func (r *ModifyAliasDomainResponse) ToJsonString() string

type ModifyAliasDomainResponseParams

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

Predefined struct for user

type ModifyAliasDomainStatusRequest

type ModifyAliasDomainStatusRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Status of the alias domain name. Values:
	// <li>`false`: Enable the alias domain name.</li>
	// <li>`true`: Disable the alias domain name.</li>
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// The alias domain name you want to modify its status. If it is left empty, the modify operation is not performed.
	AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}

func NewModifyAliasDomainStatusRequest

func NewModifyAliasDomainStatusRequest() (request *ModifyAliasDomainStatusRequest)

func (*ModifyAliasDomainStatusRequest) FromJsonString

func (r *ModifyAliasDomainStatusRequest) 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 (*ModifyAliasDomainStatusRequest) ToJsonString

func (r *ModifyAliasDomainStatusRequest) ToJsonString() string

type ModifyAliasDomainStatusRequestParams

type ModifyAliasDomainStatusRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Status of the alias domain name. Values:
	// <li>`false`: Enable the alias domain name.</li>
	// <li>`true`: Disable the alias domain name.</li>
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// The alias domain name you want to modify its status. If it is left empty, the modify operation is not performed.
	AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}

Predefined struct for user

type ModifyAliasDomainStatusResponse

type ModifyAliasDomainStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAliasDomainStatusResponseParams `json:"Response"`
}

func NewModifyAliasDomainStatusResponse

func NewModifyAliasDomainStatusResponse() (response *ModifyAliasDomainStatusResponse)

func (*ModifyAliasDomainStatusResponse) FromJsonString

func (r *ModifyAliasDomainStatusResponse) 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 (*ModifyAliasDomainStatusResponse) ToJsonString

func (r *ModifyAliasDomainStatusResponse) ToJsonString() string

type ModifyAliasDomainStatusResponseParams

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

Predefined struct for user

type ModifyApplicationProxyRequest

type ModifyApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The domain name or subdomain name when `ProxyType=hostname`.
	// The instance name when `ProxyType=instance`.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// The session persistence duration. Value range: 30-3600 (in seconds).
	// The original configuration will apply if this field is not specified.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// The proxy type. Values:
	// <li>`hostname`: The proxy is created by subdomain name.</li>
	// <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`.
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// The IPv6 access configuration. The original configuration will apply if this field is not specified.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
}

func NewModifyApplicationProxyRequest

func NewModifyApplicationProxyRequest() (request *ModifyApplicationProxyRequest)

func (*ModifyApplicationProxyRequest) FromJsonString

func (r *ModifyApplicationProxyRequest) 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 (*ModifyApplicationProxyRequest) ToJsonString

func (r *ModifyApplicationProxyRequest) ToJsonString() string

type ModifyApplicationProxyRequestParams

type ModifyApplicationProxyRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The domain name or subdomain name when `ProxyType=hostname`.
	// The instance name when `ProxyType=instance`.
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// The session persistence duration. Value range: 30-3600 (in seconds).
	// The original configuration will apply if this field is not specified.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// The proxy type. Values:
	// <li>`hostname`: The proxy is created by subdomain name.</li>
	// <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`.
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// The IPv6 access configuration. The original configuration will apply if this field is not specified.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
}

Predefined struct for user

type ModifyApplicationProxyResponse

type ModifyApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyResponseParams `json:"Response"`
}

func NewModifyApplicationProxyResponse

func NewModifyApplicationProxyResponse() (response *ModifyApplicationProxyResponse)

func (*ModifyApplicationProxyResponse) FromJsonString

func (r *ModifyApplicationProxyResponse) 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 (*ModifyApplicationProxyResponse) ToJsonString

func (r *ModifyApplicationProxyResponse) ToJsonString() string

type ModifyApplicationProxyResponseParams

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

Predefined struct for user

type ModifyApplicationProxyRuleRequest

type ModifyApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li></li>The original configuration will apply if this field is not specified.
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The access port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-90</li>
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The protocol. Values:
	// <li>`TCP`: TCP protocol</li>
	// <li>`UDP`: UDP protocol</li>The original configuration will apply if this field is not specified.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Origin server information:
	// <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
	// <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
	//
	// The original configuration will apply if this field is not specified.
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. Values:
	// <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
	// <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
	// <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
	// <li>`OFF`: Not pass the client IP.</li>If not specified, this field uses the default value OFF.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Whether to enable session persistence. Values:
	// <li>`true`: Enable</li>
	// <li>`false`: Disable</li>If it is left empty, the default value `false` is used.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// The origin port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-82</li>
	OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}

func NewModifyApplicationProxyRuleRequest

func NewModifyApplicationProxyRuleRequest() (request *ModifyApplicationProxyRuleRequest)

func (*ModifyApplicationProxyRuleRequest) FromJsonString

func (r *ModifyApplicationProxyRuleRequest) 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 (*ModifyApplicationProxyRuleRequest) ToJsonString

func (r *ModifyApplicationProxyRuleRequest) ToJsonString() string

type ModifyApplicationProxyRuleRequestParams

type ModifyApplicationProxyRuleRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li></li>The original configuration will apply if this field is not specified.
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The access port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-90</li>
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The protocol. Values:
	// <li>`TCP`: TCP protocol</li>
	// <li>`UDP`: UDP protocol</li>The original configuration will apply if this field is not specified.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Origin server information:
	// <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li>
	// <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
	//
	// The original configuration will apply if this field is not specified.
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. Values:
	// <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li>
	// <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li>
	// <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li>
	// <li>`OFF`: Not pass the client IP.</li>If not specified, this field uses the default value OFF.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Whether to enable session persistence. Values:
	// <li>`true`: Enable</li>
	// <li>`false`: Disable</li>If it is left empty, the default value `false` is used.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// The origin port, which can be:
	// <li>A single port, such as 80</li>
	// <li>A port range, such as 81-82</li>
	OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}

Predefined struct for user

type ModifyApplicationProxyRuleResponse

type ModifyApplicationProxyRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyRuleResponseParams `json:"Response"`
}

func NewModifyApplicationProxyRuleResponse

func NewModifyApplicationProxyRuleResponse() (response *ModifyApplicationProxyRuleResponse)

func (*ModifyApplicationProxyRuleResponse) FromJsonString

func (r *ModifyApplicationProxyRuleResponse) 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 (*ModifyApplicationProxyRuleResponse) ToJsonString

func (r *ModifyApplicationProxyRuleResponse) ToJsonString() string

type ModifyApplicationProxyRuleResponseParams

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

Predefined struct for user

type ModifyApplicationProxyRuleStatusRequest

type ModifyApplicationProxyRuleStatusRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The rule status. Values:
	// <li>`offline`: Disabled</li>
	// <li>`online`: Enabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyApplicationProxyRuleStatusRequest

func NewModifyApplicationProxyRuleStatusRequest() (request *ModifyApplicationProxyRuleStatusRequest)

func (*ModifyApplicationProxyRuleStatusRequest) FromJsonString

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

func (*ModifyApplicationProxyRuleStatusRequest) ToJsonString

type ModifyApplicationProxyRuleStatusRequestParams

type ModifyApplicationProxyRuleStatusRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The rule status. Values:
	// <li>`offline`: Disabled</li>
	// <li>`online`: Enabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyApplicationProxyRuleStatusResponse

type ModifyApplicationProxyRuleStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyRuleStatusResponseParams `json:"Response"`
}

func NewModifyApplicationProxyRuleStatusResponse

func NewModifyApplicationProxyRuleStatusResponse() (response *ModifyApplicationProxyRuleStatusResponse)

func (*ModifyApplicationProxyRuleStatusResponse) FromJsonString

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

func (*ModifyApplicationProxyRuleStatusResponse) ToJsonString

type ModifyApplicationProxyRuleStatusResponseParams

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

Predefined struct for user

type ModifyApplicationProxyStatusRequest

type ModifyApplicationProxyStatusRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The proxy status. Values:
	// <li>`offline`: The proxy is disabled.</li>
	// <li>`online`: The proxy is enabled.</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyApplicationProxyStatusRequest

func NewModifyApplicationProxyStatusRequest() (request *ModifyApplicationProxyStatusRequest)

func (*ModifyApplicationProxyStatusRequest) FromJsonString

func (r *ModifyApplicationProxyStatusRequest) 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 (*ModifyApplicationProxyStatusRequest) ToJsonString

func (r *ModifyApplicationProxyStatusRequest) ToJsonString() string

type ModifyApplicationProxyStatusRequestParams

type ModifyApplicationProxyStatusRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The proxy ID.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The proxy status. Values:
	// <li>`offline`: The proxy is disabled.</li>
	// <li>`online`: The proxy is enabled.</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyApplicationProxyStatusResponse

type ModifyApplicationProxyStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyStatusResponseParams `json:"Response"`
}

func NewModifyApplicationProxyStatusResponse

func NewModifyApplicationProxyStatusResponse() (response *ModifyApplicationProxyStatusResponse)

func (*ModifyApplicationProxyStatusResponse) FromJsonString

func (r *ModifyApplicationProxyStatusResponse) 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 (*ModifyApplicationProxyStatusResponse) ToJsonString

func (r *ModifyApplicationProxyStatusResponse) ToJsonString() string

type ModifyApplicationProxyStatusResponseParams

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

Predefined struct for user

type ModifyDefaultCertificateRequest

type ModifyDefaultCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// ID of the certificate.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Status of the certificate. Values:
	// <li>`deployed`: The certificate is deployed;</li>
	// <li>`disabled`: The certificate is disabled.</li>When a deployment fails, you can try again.
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyDefaultCertificateRequest

func NewModifyDefaultCertificateRequest() (request *ModifyDefaultCertificateRequest)

func (*ModifyDefaultCertificateRequest) FromJsonString

func (r *ModifyDefaultCertificateRequest) 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 (*ModifyDefaultCertificateRequest) ToJsonString

func (r *ModifyDefaultCertificateRequest) ToJsonString() string

type ModifyDefaultCertificateRequestParams

type ModifyDefaultCertificateRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// ID of the certificate.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Status of the certificate. Values:
	// <li>`deployed`: The certificate is deployed;</li>
	// <li>`disabled`: The certificate is disabled.</li>When a deployment fails, you can try again.
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyDefaultCertificateResponse

type ModifyDefaultCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDefaultCertificateResponseParams `json:"Response"`
}

func NewModifyDefaultCertificateResponse

func NewModifyDefaultCertificateResponse() (response *ModifyDefaultCertificateResponse)

func (*ModifyDefaultCertificateResponse) FromJsonString

func (r *ModifyDefaultCertificateResponse) 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 (*ModifyDefaultCertificateResponse) ToJsonString

func (r *ModifyDefaultCertificateResponse) ToJsonString() string

type ModifyDefaultCertificateResponseParams

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

Predefined struct for user

type ModifyHostsCertificateRequest

type ModifyHostsCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names that the certificate will be attached to.
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitempty" name:"ServerCertInfo"`

	// Whether the certificate is managed by EdgeOne. Values:
	// <li>`apply`: Managed by EdgeOne</li>
	// <li>`none`: Not managed by EdgeOne</li>If it is left empty, the default value `apply` is used.
	ApplyType *string `json:"ApplyType,omitempty" name:"ApplyType"`
}

func NewModifyHostsCertificateRequest

func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest)

func (*ModifyHostsCertificateRequest) FromJsonString

func (r *ModifyHostsCertificateRequest) 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 (*ModifyHostsCertificateRequest) ToJsonString

func (r *ModifyHostsCertificateRequest) ToJsonString() string

type ModifyHostsCertificateRequestParams

type ModifyHostsCertificateRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names that the certificate will be attached to.
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitempty" name:"ServerCertInfo"`

	// Whether the certificate is managed by EdgeOne. Values:
	// <li>`apply`: Managed by EdgeOne</li>
	// <li>`none`: Not managed by EdgeOne</li>If it is left empty, the default value `apply` is used.
	ApplyType *string `json:"ApplyType,omitempty" name:"ApplyType"`
}

Predefined struct for user

type ModifyHostsCertificateResponse

type ModifyHostsCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyHostsCertificateResponseParams `json:"Response"`
}

func NewModifyHostsCertificateResponse

func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateResponse)

func (*ModifyHostsCertificateResponse) FromJsonString

func (r *ModifyHostsCertificateResponse) 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 (*ModifyHostsCertificateResponse) ToJsonString

func (r *ModifyHostsCertificateResponse) ToJsonString() string

type ModifyHostsCertificateResponseParams

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

Predefined struct for user

type ModifyOriginGroupRequest

type ModifyOriginGroupRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The ID of the origin group.
	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`

	// The origin type. Values:
	// <li>`self`: Customer origin</li>
	// <li>`third_party`: Third-party origin</li>
	// <li>`cos`: Tencent Cloud COS origin</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The name of the origin group.
	OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`

	// The origin configuration type when `OriginType=self`. Values:
	// <li>`area`: Configure by region.</li>
	// <li>`weight`: Configure by weight.</li>
	// <li>`proto`: Configure by HTTP protocol.</li> When `OriginType=third_party/cos`, leave this field empty.
	ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`

	// Details of the origin record.
	OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`

	// The origin domain. This field can be specified only when `OriginType=self`.
	// If it is left empty, the existing configuration is used.
	HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}

func NewModifyOriginGroupRequest

func NewModifyOriginGroupRequest() (request *ModifyOriginGroupRequest)

func (*ModifyOriginGroupRequest) FromJsonString

func (r *ModifyOriginGroupRequest) 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 (*ModifyOriginGroupRequest) ToJsonString

func (r *ModifyOriginGroupRequest) ToJsonString() string

type ModifyOriginGroupRequestParams

type ModifyOriginGroupRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The ID of the origin group.
	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`

	// The origin type. Values:
	// <li>`self`: Customer origin</li>
	// <li>`third_party`: Third-party origin</li>
	// <li>`cos`: Tencent Cloud COS origin</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The name of the origin group.
	OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`

	// The origin configuration type when `OriginType=self`. Values:
	// <li>`area`: Configure by region.</li>
	// <li>`weight`: Configure by weight.</li>
	// <li>`proto`: Configure by HTTP protocol.</li> When `OriginType=third_party/cos`, leave this field empty.
	ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`

	// Details of the origin record.
	OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`

	// The origin domain. This field can be specified only when `OriginType=self`.
	// If it is left empty, the existing configuration is used.
	HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}

Predefined struct for user

type ModifyOriginGroupResponse

type ModifyOriginGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyOriginGroupResponseParams `json:"Response"`
}

func NewModifyOriginGroupResponse

func NewModifyOriginGroupResponse() (response *ModifyOriginGroupResponse)

func (*ModifyOriginGroupResponse) FromJsonString

func (r *ModifyOriginGroupResponse) 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 (*ModifyOriginGroupResponse) ToJsonString

func (r *ModifyOriginGroupResponse) ToJsonString() string

type ModifyOriginGroupResponseParams

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

Predefined struct for user

type ModifyRulePriorityRequest

type ModifyRulePriorityRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Order of rule IDs. If there are multiple rules, they will be executed in order from top to bottom.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

func NewModifyRulePriorityRequest

func NewModifyRulePriorityRequest() (request *ModifyRulePriorityRequest)

func (*ModifyRulePriorityRequest) FromJsonString

func (r *ModifyRulePriorityRequest) 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 (*ModifyRulePriorityRequest) ToJsonString

func (r *ModifyRulePriorityRequest) ToJsonString() string

type ModifyRulePriorityRequestParams

type ModifyRulePriorityRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Order of rule IDs. If there are multiple rules, they will be executed in order from top to bottom.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

Predefined struct for user

type ModifyRulePriorityResponse

type ModifyRulePriorityResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRulePriorityResponseParams `json:"Response"`
}

func NewModifyRulePriorityResponse

func NewModifyRulePriorityResponse() (response *ModifyRulePriorityResponse)

func (*ModifyRulePriorityResponse) FromJsonString

func (r *ModifyRulePriorityResponse) 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 (*ModifyRulePriorityResponse) ToJsonString

func (r *ModifyRulePriorityResponse) ToJsonString() string

type ModifyRulePriorityResponseParams

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

Predefined struct for user

type ModifyRuleRequest

type ModifyRuleRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The rule name. It is a string that can contain 1–255 characters.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Tag of the rule.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

func NewModifyRuleRequest

func NewModifyRuleRequest() (request *ModifyRuleRequest)

func (*ModifyRuleRequest) FromJsonString

func (r *ModifyRuleRequest) 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 (*ModifyRuleRequest) ToJsonString

func (r *ModifyRuleRequest) ToJsonString() string

type ModifyRuleRequestParams

type ModifyRuleRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The rule name. It is a string that can contain 1–255 characters.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Tag of the rule.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type ModifyRuleResponse

type ModifyRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRuleResponseParams `json:"Response"`
}

func NewModifyRuleResponse

func NewModifyRuleResponse() (response *ModifyRuleResponse)

func (*ModifyRuleResponse) FromJsonString

func (r *ModifyRuleResponse) 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 (*ModifyRuleResponse) ToJsonString

func (r *ModifyRuleResponse) ToJsonString() string

type ModifyRuleResponseParams

type ModifyRuleResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type ModifySecurityPolicyRequest

type ModifySecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Security configuration.
	SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`

	// The subdomain name/L4 proxy. You must specify either "Entity" or "TemplateId".
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// The template ID. You must specify either this field or "Entity".
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

func NewModifySecurityPolicyRequest

func NewModifySecurityPolicyRequest() (request *ModifySecurityPolicyRequest)

func (*ModifySecurityPolicyRequest) FromJsonString

func (r *ModifySecurityPolicyRequest) 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 (*ModifySecurityPolicyRequest) ToJsonString

func (r *ModifySecurityPolicyRequest) ToJsonString() string

type ModifySecurityPolicyRequestParams

type ModifySecurityPolicyRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Security configuration.
	SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`

	// The subdomain name/L4 proxy. You must specify either "Entity" or "TemplateId".
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// The template ID. You must specify either this field or "Entity".
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

Predefined struct for user

type ModifySecurityPolicyResponse

type ModifySecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ModifySecurityPolicyResponseParams `json:"Response"`
}

func NewModifySecurityPolicyResponse

func NewModifySecurityPolicyResponse() (response *ModifySecurityPolicyResponse)

func (*ModifySecurityPolicyResponse) FromJsonString

func (r *ModifySecurityPolicyResponse) 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 (*ModifySecurityPolicyResponse) ToJsonString

func (r *ModifySecurityPolicyResponse) ToJsonString() string

type ModifySecurityPolicyResponseParams

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

Predefined struct for user

type ModifySecurityWafGroupPolicyRequest

type ModifySecurityWafGroupPolicyRequest struct {
	*tchttp.BaseRequest

	// The site ID. You must specify either "ZoneId+Entity" or "TemplateId".
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name. You must specify either "ZoneId+Entity" or "TemplateId".
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>If not specified, it defaults to the setting that was last configured.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The rule level. Values:
	// <li>`loose`: Loose</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`stricter`: Super strict</li>
	// <li>`custom`: Custom</li>If not specified, it defaults to the setting that was last configured.
	Level *string `json:"Level,omitempty" name:"Level"`

	// The rule action. Values:
	// <li>`block`: Block</li>
	// <li>`observe`: Observe</li>If not specified, it defaults to the setting that was last configured.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// The settings of the managed rule. If not specified, it defaults to the settings that were last configured.
	WafRules *WafRule `json:"WafRules,omitempty" name:"WafRules"`

	// The settings of the AI rule engine. If not specified, it defaults to the settings that were last configured.
	AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`

	// The settings of the managed rule group. If not specified, it defaults to the settings that were last configured.
	WafGroups []*WafGroup `json:"WafGroups,omitempty" name:"WafGroups"`

	// The template ID. You must specify either this field or "ZoneId+Entity".
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

func NewModifySecurityWafGroupPolicyRequest

func NewModifySecurityWafGroupPolicyRequest() (request *ModifySecurityWafGroupPolicyRequest)

func (*ModifySecurityWafGroupPolicyRequest) FromJsonString

func (r *ModifySecurityWafGroupPolicyRequest) 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 (*ModifySecurityWafGroupPolicyRequest) ToJsonString

func (r *ModifySecurityWafGroupPolicyRequest) ToJsonString() string

type ModifySecurityWafGroupPolicyRequestParams

type ModifySecurityWafGroupPolicyRequestParams struct {
	// The site ID. You must specify either "ZoneId+Entity" or "TemplateId".
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name. You must specify either "ZoneId+Entity" or "TemplateId".
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>If not specified, it defaults to the setting that was last configured.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The rule level. Values:
	// <li>`loose`: Loose</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`stricter`: Super strict</li>
	// <li>`custom`: Custom</li>If not specified, it defaults to the setting that was last configured.
	Level *string `json:"Level,omitempty" name:"Level"`

	// The rule action. Values:
	// <li>`block`: Block</li>
	// <li>`observe`: Observe</li>If not specified, it defaults to the setting that was last configured.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// The settings of the managed rule. If not specified, it defaults to the settings that were last configured.
	WafRules *WafRule `json:"WafRules,omitempty" name:"WafRules"`

	// The settings of the AI rule engine. If not specified, it defaults to the settings that were last configured.
	AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`

	// The settings of the managed rule group. If not specified, it defaults to the settings that were last configured.
	WafGroups []*WafGroup `json:"WafGroups,omitempty" name:"WafGroups"`

	// The template ID. You must specify either this field or "ZoneId+Entity".
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

Predefined struct for user

type ModifySecurityWafGroupPolicyResponse

type ModifySecurityWafGroupPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ModifySecurityWafGroupPolicyResponseParams `json:"Response"`
}

func NewModifySecurityWafGroupPolicyResponse

func NewModifySecurityWafGroupPolicyResponse() (response *ModifySecurityWafGroupPolicyResponse)

func (*ModifySecurityWafGroupPolicyResponse) FromJsonString

func (r *ModifySecurityWafGroupPolicyResponse) 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 (*ModifySecurityWafGroupPolicyResponse) ToJsonString

func (r *ModifySecurityWafGroupPolicyResponse) ToJsonString() string

type ModifySecurityWafGroupPolicyResponseParams

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

Predefined struct for user

type ModifyZoneRequest

type ModifyZoneRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site access method. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>The original configuration will apply if this field is not specified.
	Type *string `json:"Type,omitempty" name:"Type"`

	// The custom name servers. If this field is not specified, the default name servers will be used.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`

	// The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_).
	AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}

func NewModifyZoneRequest

func NewModifyZoneRequest() (request *ModifyZoneRequest)

func (*ModifyZoneRequest) FromJsonString

func (r *ModifyZoneRequest) 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 (*ModifyZoneRequest) ToJsonString

func (r *ModifyZoneRequest) ToJsonString() string

type ModifyZoneRequestParams

type ModifyZoneRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site access method. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>The original configuration will apply if this field is not specified.
	Type *string `json:"Type,omitempty" name:"Type"`

	// The custom name servers. If this field is not specified, the default name servers will be used.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`

	// The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_).
	AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}

Predefined struct for user

type ModifyZoneResponse

type ModifyZoneResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneResponseParams `json:"Response"`
}

func NewModifyZoneResponse

func NewModifyZoneResponse() (response *ModifyZoneResponse)

func (*ModifyZoneResponse) FromJsonString

func (r *ModifyZoneResponse) 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 (*ModifyZoneResponse) ToJsonString

func (r *ModifyZoneResponse) ToJsonString() string

type ModifyZoneResponseParams

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

Predefined struct for user

type ModifyZoneSettingRequest

type ModifyZoneSettingRequest struct {
	*tchttp.BaseRequest

	// The site ID to be modified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Cache expiration time configuration
	// The original configuration will apply if this field is not specified.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// The node cache key configuration.
	// The original configuration will apply if this field is not specified.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The browser cache configuration.
	// The original configuration will apply if this field is not specified.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// The offline cache configuration.
	// The original configuration will apply if this field is not specified.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// The QUIC access configuration.
	// The original configuration will apply if this field is not specified.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// The POST transport configuration.
	// The original configuration will apply if this field is not specified.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// The smart compression configuration.
	// The original configuration will apply if this field is not specified.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// The HTTP2 origin-pull configuration.
	// The original configuration will apply if this field is not specified.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// The force HTTPS redirect configuration.
	// The original configuration will apply if this field is not specified.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// The HTTPS acceleration configuration.
	// The original configuration will apply if this field is not specified.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// The origin server configuration.
	// The original configuration will apply if this field is not specified.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// The smart acceleration configuration.
	// The original configuration will apply if this field is not specified.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// The WebSocket configuration.
	// The original configuration will apply if this field is not specified.
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// The origin-pull client IP header configuration.
	// The original configuration will apply if this field is not specified.
	ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	// The cache prefresh configuration.
	// The original configuration will apply if this field is not specified.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

	// The IPv6 access configuration.
	// The original configuration will apply if this field is not specified.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// Whether to carry the location information of the client IP during origin-pull.
	// The original configuration will apply if this field is not specified.
	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`

	// Configuration of gRPC support
	// The original configuration will apply if this field is not specified.
	Grpc *Grpc `json:"Grpc,omitempty" name:"Grpc"`
}

func NewModifyZoneSettingRequest

func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)

func (*ModifyZoneSettingRequest) FromJsonString

func (r *ModifyZoneSettingRequest) 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 (*ModifyZoneSettingRequest) ToJsonString

func (r *ModifyZoneSettingRequest) ToJsonString() string

type ModifyZoneSettingRequestParams

type ModifyZoneSettingRequestParams struct {
	// The site ID to be modified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Cache expiration time configuration
	// The original configuration will apply if this field is not specified.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// The node cache key configuration.
	// The original configuration will apply if this field is not specified.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The browser cache configuration.
	// The original configuration will apply if this field is not specified.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// The offline cache configuration.
	// The original configuration will apply if this field is not specified.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// The QUIC access configuration.
	// The original configuration will apply if this field is not specified.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// The POST transport configuration.
	// The original configuration will apply if this field is not specified.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// The smart compression configuration.
	// The original configuration will apply if this field is not specified.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// The HTTP2 origin-pull configuration.
	// The original configuration will apply if this field is not specified.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// The force HTTPS redirect configuration.
	// The original configuration will apply if this field is not specified.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// The HTTPS acceleration configuration.
	// The original configuration will apply if this field is not specified.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// The origin server configuration.
	// The original configuration will apply if this field is not specified.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// The smart acceleration configuration.
	// The original configuration will apply if this field is not specified.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// The WebSocket configuration.
	// The original configuration will apply if this field is not specified.
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// The origin-pull client IP header configuration.
	// The original configuration will apply if this field is not specified.
	ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	// The cache prefresh configuration.
	// The original configuration will apply if this field is not specified.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

	// The IPv6 access configuration.
	// The original configuration will apply if this field is not specified.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// Whether to carry the location information of the client IP during origin-pull.
	// The original configuration will apply if this field is not specified.
	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`

	// Configuration of gRPC support
	// The original configuration will apply if this field is not specified.
	Grpc *Grpc `json:"Grpc,omitempty" name:"Grpc"`
}

Predefined struct for user

type ModifyZoneSettingResponse

type ModifyZoneSettingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneSettingResponseParams `json:"Response"`
}

func NewModifyZoneSettingResponse

func NewModifyZoneSettingResponse() (response *ModifyZoneSettingResponse)

func (*ModifyZoneSettingResponse) FromJsonString

func (r *ModifyZoneSettingResponse) 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 (*ModifyZoneSettingResponse) ToJsonString

func (r *ModifyZoneSettingResponse) ToJsonString() string

type ModifyZoneSettingResponseParams

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

Predefined struct for user

type ModifyZoneStatusRequest

type ModifyZoneStatusRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site status. Values:
	// <li>`false`: Disabled</li>
	// <li>`true`: Enabled</li>
	Paused *bool `json:"Paused,omitempty" name:"Paused"`
}

func NewModifyZoneStatusRequest

func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)

func (*ModifyZoneStatusRequest) FromJsonString

func (r *ModifyZoneStatusRequest) 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 (*ModifyZoneStatusRequest) ToJsonString

func (r *ModifyZoneStatusRequest) ToJsonString() string

type ModifyZoneStatusRequestParams

type ModifyZoneStatusRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site status. Values:
	// <li>`false`: Disabled</li>
	// <li>`true`: Enabled</li>
	Paused *bool `json:"Paused,omitempty" name:"Paused"`
}

Predefined struct for user

type ModifyZoneStatusResponse

type ModifyZoneStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneStatusResponseParams `json:"Response"`
}

func NewModifyZoneStatusResponse

func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)

func (*ModifyZoneStatusResponse) FromJsonString

func (r *ModifyZoneStatusResponse) 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 (*ModifyZoneStatusResponse) ToJsonString

func (r *ModifyZoneStatusResponse) ToJsonString() string

type ModifyZoneStatusResponseParams

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

Predefined struct for user

type NoCache

type NoCache struct {
	// Whether to enable no-cache configuration. Valid values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type NormalAction

type NormalAction struct {
	// Feature name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the feature name.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter
	Parameters []*RuleNormalActionParams `json:"Parameters,omitempty" name:"Parameters"`
}

type OfflineCache

type OfflineCache struct {
	// Whether offline cache is enabled. Valid values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type OptimizeAction

type OptimizeAction struct {
	// The optimization metric. Values:
	// <li>`Http2`</li>
	// <li>`Http3`</li>
	// <li>`Brotli`</li>
	Name *string `json:"Name,omitempty" name:"Name"`

	// The network environment.
	Connectivity *string `json:"Connectivity,omitempty" name:"Connectivity"`

	// The estimated load time, in milliseconds.
	Value *int64 `json:"Value,omitempty" name:"Value"`

	// The estimated improvement ratio, in %.
	Ratio *int64 `json:"Ratio,omitempty" name:"Ratio"`
}

type Origin

type Origin struct {
	// Primary origin server list
	// Note: This field may return null, indicating that no valid values can be obtained.
	Origins []*string `json:"Origins,omitempty" name:"Origins"`

	// The list of backup origin servers.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupOrigins []*string `json:"BackupOrigins,omitempty" name:"BackupOrigins"`

	// Origin-pull protocol configuration. Values:
	// <li>`http`: Force HTTP for origin-pull.</li>
	// <li>`follow`: Follow protocol.</li>
	// <li>`https`: Force HTTPS for origin-pull.</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`

	// Whether to allow private access to buckets when `OriginType=cos`. Values:
	// <li>`on`: Allow private access.</li>
	// <li>`off`: Allow public access.</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CosPrivateAccess *string `json:"CosPrivateAccess,omitempty" name:"CosPrivateAccess"`
}

type OriginGroup

type OriginGroup struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The ID of the origin group.
	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`

	// The origin type. Values:
	// <li>`self`: Customer origin</li>
	// <li>`third_party`: Third-party origin</li>
	// <li>`cos`: Tencent Cloud COS origin</li>
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// The name of the origin group.
	OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`

	// The origin configuration type when `OriginType=self`. Values:
	// <li>`area`: Configure by region.</li>
	// <li>`weight`: Configure by weight.</li>
	// <li>`proto`: Configure by HTTP protocol.</li>When `OriginType=third_party/cos`, leave this field empty.
	ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`

	// The origin record information.
	OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`

	// The update time of the origin group.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// The origin domain when `OriginType=self`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}

type OriginRecord

type OriginRecord struct {
	// The origin record value, which can be an IPv4/IPv6 address or a domain name.
	Record *string `json:"Record,omitempty" name:"Record"`

	// The origin record ID.
	RecordId *string `json:"RecordId,omitempty" name:"RecordId"`

	// The origin port. Value rang: 1-65535.
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// The weight when `ConfigurationType=weight`.
	// If 0 or no value is passed, the weight of each origin in a group will be 0 or left empty, indicating that origin-pull is performed by round-robin.
	// If a value between 1-100 is passed, the total weight of multiple origins in a group should be 100, indicating that origin-pull is performed by weight.
	// The weight when `ConfigurationType=proto`.
	// If 0 or no value is passed, the weight of each origin in a group will be 0 or left empty, indicating that origin-pull is performed by round-robin.
	// If a value between 1-100 is passed, the total weight of multiple origins with the same protocol in a group should be 100, indicating that origin-pull is performed by weight.
	Weight *uint64 `json:"Weight,omitempty" name:"Weight"`

	// The origin protocol when `ConfigurationType=proto`, indicating that origin-pull is performed by protocol.
	// <li>`http`: HTTP protocol</li>
	// <li>`https`: HTTPS protocol</li>
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// The region when `ConfigurationType=area`, which is specified by country code (ISO 3166 alpha-2) or continent code. If not specified, it indicates all regions. Supported continent codes:
	// <li>`Asia`</li>
	// <li>`Europe`</li>
	// <li>`Africa`</li>
	// <li>`Oceania`</li>
	// <li>`Americas`</li>An origin group must have at least one origin configured with all regions.
	Area []*string `json:"Area,omitempty" name:"Area"`

	// It is valid only when `OriginType=third_part`.
	// Whether the origin group is private. Values:
	// <li>`true`: Yes.</li>
	// <li>`false`: No.</li>If not specified, it defaults to false.
	Private *bool `json:"Private,omitempty" name:"Private"`

	// The authentication parameter, which is used when `Private=true`.
	PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitempty" name:"PrivateParameters"`
}

type PartialModule

type PartialModule struct {
	// The module. Values:
	// <li>`waf`: Managed rules</li>
	Module *string `json:"Module,omitempty" name:"Module"`

	// List of managed rule IDs to be skipped.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Include []*int64 `json:"Include,omitempty" name:"Include"`
}

type PlanInfo

type PlanInfo struct {
	// Settlement currency. Values:
	// <li>`CNY`: Settled by Chinese RMB;</li>
	// <li>`USD`: Settled by US dollars.</li>
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// Traffic quota of the plan. It includes the traffic for security acceleration, content acceleration and smart acceleration. Unit: byte.
	Flux *uint64 `json:"Flux,omitempty" name:"Flux"`

	// Settlement cycle. Values:
	// <li>`y`: Settled by year;</li>
	// <li>`m`: Settled by month;</li>
	// <li>`h`: Settled by hour;</li>
	// <li>`M`: Settled by minute;</li>
	// <li>`s`: Settled by second.</li>
	Frequency *string `json:"Frequency,omitempty" name:"Frequency"`

	// The plan option. Values:
	// <li>`sta`: Standard plan that supports content delivery network outside the Chinese mainland.</li>
	// <li>`sta_with_bot`: Standard plan that supports content delivery network outside the Chinese mainland and bot management.</li>
	// <li>`sta_cm`: Standard plan that supports content delivery network inside the Chinese mainland.</li>
	// <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside the Chinese mainland and bot management.</li>
	// <li>`sta`: Standard plan that supports content delivery network over the globe.</li>
	// <li>`sta_global_with_bot`: Standard plan that supports content delivery network over the globe and bot management.</li>
	// <li>`ent`: Enterprise plan that supports content delivery network outside the Chinese mainland.</li>
	// <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.</li>
	// <li>`ent_cm`: Enterprise plan that supports content delivery network inside the Chinese mainland.</li>
	// <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.</li>
	// <li>`ent_global`: Enterprise plan that supports content delivery network over the globe.</li>
	// <li>`ent_global_with_bot`: Enterprise plan that supports content delivery network over the globe and bot management.</li>
	PlanType *string `json:"PlanType,omitempty" name:"PlanType"`

	// Plan price (in CNY fen/US cent). The price unit depends on the settlement currency.
	Price *float64 `json:"Price,omitempty" name:"Price"`

	// Quota on security acceleration requests
	Request *uint64 `json:"Request,omitempty" name:"Request"`

	// Number of sites to be bound to the plan
	SiteNumber *uint64 `json:"SiteNumber,omitempty" name:"SiteNumber"`

	// The acceleration region. Values:
	// <li>`mainland`: Chinese mainland</li>
	// <li>`overseas`: Global (Chinese mainland not included)</li>
	// <li>`global`: Global (Chinese mainland included)</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type PostMaxSize

type PostMaxSize struct {
	// Whether to enable POST upload limit (default limit: 32 MB). Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Maximum size. Value range: 1-500 MB.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"`
}

type PrivateParameter

type PrivateParameter struct {
	// The parameter name. Values
	// <li>`AccessKeyId`: Access Key ID</li>
	// <li>`SecretAccessKey`: Secret Access Key</li>
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type QueryCondition

type QueryCondition struct {
	// The key of QueryCondition.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The conditional operator. Values:
	// <li>`equals`: Equals</li>
	// <li>`notEquals`: Does not equal</li>
	// <li>`include`: Contains</li>
	// <li>`notInclude`: Does not contain</li>
	// <li>`startWith`: Starts with</li>
	// <li>`notStartWith`: Does not start with</li>
	// <li>`endWith`: Ends with</li>
	// <li>`notEndWith`: Does not end with</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// The value of QueryCondition.
	Value []*string `json:"Value,omitempty" name:"Value"`
}

type QueryString

type QueryString struct {
	// Whether to use `QueryString` as part of `CacheKey`. Values:
	// <li>`on`: Yes</li>
	// <li>`off`: No</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Specifies how to use query strings in the cache key. Values:
	// <li>`includeCustom`: `Include partial query strings.</li>
	// <li>`excludeCustom`: Exclude partial query strings.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Array of query strings used/excluded
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value []*string `json:"Value,omitempty" name:"Value"`
}

type Quic

type Quic struct {
	// Whether to enable QUIC. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Quota

type Quota struct {
	Batch *int64 `json:"Batch,omitempty" name:"Batch"`

	// Daily submission quota limit.
	Daily *int64 `json:"Daily,omitempty" name:"Daily"`

	// Remaining daily submission quota.
	DailyAvailable *int64 `json:"DailyAvailable,omitempty" name:"DailyAvailable"`

	// Type of cache purging/pre-warming. Values:
	// <li>`purge_prefix`: Purge by prefix</li>
	// <li>`purge_url`: Purge by URL</li>
	// <li>`purge_host`: Purge by hostname</li>
	// <li>`purge_all`: Purge all caches</li>
	// <li>`purge_cache_tag`: Purge by cache tag</li><li>`prefetch_url`: Pre-warm by URL</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

type RateLimitConfig

type RateLimitConfig struct {
	// Switch. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The settings of the custom rate limiting rule. If it is null, the settings that were last configured will be used.
	RateLimitUserRules []*RateLimitUserRule `json:"RateLimitUserRules,omitempty" name:"RateLimitUserRules"`

	// The settings of the rate limiting template. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RateLimitTemplate *RateLimitTemplate `json:"RateLimitTemplate,omitempty" name:"RateLimitTemplate"`

	// The client filtering settings. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RateLimitIntelligence *RateLimitIntelligence `json:"RateLimitIntelligence,omitempty" name:"RateLimitIntelligence"`
}

type RateLimitIntelligence

type RateLimitIntelligence struct {
	// Whether to enable configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Action to be executed. Values:
	// <li>`monitor`: Observe</li>
	// <li>`alg`: Challenge</li>
	Action *string `json:"Action,omitempty" name:"Action"`
}

type RateLimitTemplate

type RateLimitTemplate struct {
	// The mode. Values:
	// <li>`sup_loose`: Super loose</li>
	// <li>`loose`: Loose</li>
	// <li>`emergency`: Emergency</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`close`: Off</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// The action. Values:
	// <li>`alg`: JavaScript challenge</li>
	// <li>`monitor`: Observe</li>If it is left empty, the default value `alg` is used.
	Action *string `json:"Action,omitempty" name:"Action"`

	// The settings of the rate limiting template. It is only used as an output parameter.
	RateLimitTemplateDetail *RateLimitTemplateDetail `json:"RateLimitTemplateDetail,omitempty" name:"RateLimitTemplateDetail"`
}

type RateLimitTemplateDetail

type RateLimitTemplateDetail struct {
	// The mode. Values:
	// <li>`sup_loose`: Super loose</li>
	// <li>`loose`: Loose</li>
	// <li>`emergency`: Emergency</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`close`: Off</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// The unique ID.
	ID *int64 `json:"ID,omitempty" name:"ID"`

	// The action. Values:
	// <li>`alg`: JavaScript challenge</li>
	// <li>`monitor`: Observe</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// The blocking duration, in seconds. Value range: 0-172800.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`

	// The request threshold. Value range: 0-4294967294.
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// The statistical period. Value range: 0-120 seconds.
	Period *int64 `json:"Period,omitempty" name:"Period"`
}

type RateLimitUserRule

type RateLimitUserRule struct {
	// The request threshold. Value range: 0-4294967294.
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// The statistical period. The value can be 10, 20, 30, 40, 50, or 60 seconds.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// The rule name, which consists of only letters, digits, and underscores and cannot start with an underscore.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The action. Values:
	// <li>`monitor`: Observe</li>
	// <li>`drop`: Block</li>
	// <li>`alg`: JavaScript challenge</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The amount of time taken to perform the action. Value range: 0 seconds - 2 days.
	PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`

	// The time unit. Values:
	// <li>`second`: Second</li>
	// <li>`minutes`: Minute</li>
	// <li>`hour`: Hour</li>
	PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`

	// The rule status. Values:
	// <li>`on`: Enabled</li>
	// <li>`off`: Disabled</li>Default value: on
	RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`

	// The rule details.
	AclConditions []*AclCondition `json:"AclConditions,omitempty" name:"AclConditions"`

	// The rule weight. Value range: 0-100.
	RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`

	// The rule ID, which is only used as an output parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`

	// The filter. Values:
	// <li>`sip`: Client IP</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	FreqFields []*string `json:"FreqFields,omitempty" name:"FreqFields"`

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

	// The statistical dimension. Values:
	// <li>`source_to_eo`: Responses from the origin server to EdgeOne</li>
	// <li>`client_to_eo`: Requests from the client to EdgeOne</li>
	// Note: A null value indicates responses from the origin server to EdgeOne are recorded.
	FreqScope []*string `json:"FreqScope,omitempty" name:"FreqScope"`
}

type ReclaimAliasDomainRequest

type ReclaimAliasDomainRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

func NewReclaimAliasDomainRequest

func NewReclaimAliasDomainRequest() (request *ReclaimAliasDomainRequest)

func (*ReclaimAliasDomainRequest) FromJsonString

func (r *ReclaimAliasDomainRequest) 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 (*ReclaimAliasDomainRequest) ToJsonString

func (r *ReclaimAliasDomainRequest) ToJsonString() string

type ReclaimAliasDomainRequestParams

type ReclaimAliasDomainRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

Predefined struct for user

type ReclaimAliasDomainResponse

type ReclaimAliasDomainResponse struct {
	*tchttp.BaseResponse
	Response *ReclaimAliasDomainResponseParams `json:"Response"`
}

func NewReclaimAliasDomainResponse

func NewReclaimAliasDomainResponse() (response *ReclaimAliasDomainResponse)

func (*ReclaimAliasDomainResponse) FromJsonString

func (r *ReclaimAliasDomainResponse) 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 (*ReclaimAliasDomainResponse) ToJsonString

func (r *ReclaimAliasDomainResponse) ToJsonString() string

type ReclaimAliasDomainResponseParams

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

Predefined struct for user

type ReclaimZoneRequest

type ReclaimZoneRequest struct {
	*tchttp.BaseRequest

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

func NewReclaimZoneRequest

func NewReclaimZoneRequest() (request *ReclaimZoneRequest)

func (*ReclaimZoneRequest) FromJsonString

func (r *ReclaimZoneRequest) 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 (*ReclaimZoneRequest) ToJsonString

func (r *ReclaimZoneRequest) ToJsonString() string

type ReclaimZoneRequestParams

type ReclaimZoneRequestParams struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

Predefined struct for user

type ReclaimZoneResponse

type ReclaimZoneResponse struct {
	*tchttp.BaseResponse
	Response *ReclaimZoneResponseParams `json:"Response"`
}

func NewReclaimZoneResponse

func NewReclaimZoneResponse() (response *ReclaimZoneResponse)

func (*ReclaimZoneResponse) FromJsonString

func (r *ReclaimZoneResponse) 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 (*ReclaimZoneResponse) ToJsonString

func (r *ReclaimZoneResponse) ToJsonString() string

type ReclaimZoneResponseParams

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

Predefined struct for user

type Resource

type Resource struct {
	// The resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Billing mode
	// `0`: Pay-as-you-go
	PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`

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

	// The effective time.
	EnableTime *string `json:"EnableTime,omitempty" name:"EnableTime"`

	// The expiration time.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// The plan status. Values:
	// <li>`normal`: Normal</li>
	// <li>`isolated`: Isolated</li>
	// <li>`destroyed`: Terminated</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Pricing query parameter
	Sv []*Sv `json:"Sv,omitempty" name:"Sv"`

	// Whether to enable auto-renewal. Values:
	// <li>`0`: Default status.</li>
	// <li>`1`: Enable auto-renewal.</li>
	// <li>`2`: Disable auto-renewal.</li>
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// ID of the resource associated with the plan.
	PlanId *string `json:"PlanId,omitempty" name:"PlanId"`

	// The region. Values:
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type RewriteAction

type RewriteAction struct {
	// Feature name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the feature name.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter
	Parameters []*RuleRewriteActionParams `json:"Parameters,omitempty" name:"Parameters"`
}

type Rule

type Rule struct {
	// Feature to be executed.
	Actions []*Action `json:"Actions,omitempty" name:"Actions"`

	// Feature execution conditions.
	// Note: If any condition in the array is met, the feature will run.
	Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`

	// The nested rule.
	SubRules []*SubRuleItem `json:"SubRules,omitempty" name:"SubRules"`
}

type RuleAndConditions

type RuleAndConditions struct {
	// Rule engine condition. This condition will be considered met if all items in the array are met.
	Conditions []*RuleCondition `json:"Conditions,omitempty" name:"Conditions"`
}

type RuleChoicePropertiesItem

type RuleChoicePropertiesItem struct {
	// The parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value type.
	// <li>CHOICE: The parameter value can be selected only from `Values`.</li>
	// <li>TOGGLE: The parameter value is of switch type and can be selected from `ChoicesValue`.</li>
	// <li>CUSTOM_NUM: The parameter value is a custom integer.</li>
	// <li>CUSTOM_STRING: The parameter value is a custom string.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Valid parameter values.
	// Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array.
	ChoicesValue []*string `json:"ChoicesValue,omitempty" name:"ChoicesValue"`

	// Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Min *int64 `json:"Min,omitempty" name:"Min"`

	// Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// Whether multiple values can be selected or entered.
	IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"`

	// Whether the parameter can be left empty.
	IsAllowEmpty *bool `json:"IsAllowEmpty,omitempty" name:"IsAllowEmpty"`

	// Special parameter.
	// <li>NULL: Select `NormalAction` for `RuleAction`. </li>
	// <li>If the member parameter `Id` is `Action`, select `RewirteAction` for `RuleAction`.</li>
	// <li>If the member parameter `Id` is `StatusCode`, select `CodeAction` for `RuleAction`.</li>
	ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitempty" name:"ExtraParameter"`
}

type RuleCodeActionParams

type RuleCodeActionParams struct {
	// The status code.
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// The parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RuleCondition

type RuleCondition struct {
	// Operator. Valid values:
	// <li>`equals`: Equals</li>
	// <li>`notEquals`: Does not equal</li>
	// <li>`exist`: Exists</li>
	// <li>`notexist`: Does not exist</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// The match type. Values:
	// <li>`filename`: File name</li>
	// <li>`extension`: File extension</li>
	// <li>`host`: Host</li>
	// <li>`full_url`: Full URL, which indicates the complete URL path under the current site and must contain the HTTP protocol, host, and path.</li>
	// <li>`url`: Partial URL under the current site</li><li>`client_country`: Country/Region of the client</li>
	// <li>`query_string`: Query string in the request URL</li>
	// <li>`request_header`: HTTP request header</li>
	Target *string `json:"Target,omitempty" name:"Target"`

	// The parameter value of the match type. It can be an empty string only when `Target=query string/request header` and `Operator=exist/notexist`.
	// <li>When `Target=extension`, enter the file extension, such as "jpg" and "txt".</li>
	// <li>When `Target=filename`, enter the file name, such as "foo" in "foo.jpg".</li>
	// <li>When `Target=all`, it indicates any site request.</li>
	// <li>When `Target=host`, enter the host under the current site, such as "www.maxx55.com".</li>
	// <li>When `Target=url`, enter the partial URL path under the current site, such as "/example".</li>
	// <li>When `Target=full_url`, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".</li>
	// <li>When `Target=client_country`, enter the ISO-3166 country/region code.</li>
	// <li>When `Target=query_string`, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".</li>
	// <li>When `Target=request_header`, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.</li>
	Values []*string `json:"Values,omitempty" name:"Values"`

	// Whether the parameter value is case insensitive. Default value: false.
	IgnoreCase *bool `json:"IgnoreCase,omitempty" name:"IgnoreCase"`

	// The parameter name of the match type. This field is required only when `Target=query_string/request_header`.
	// <li>`query_string`: Name of the query string, such as "lang" and "version" in "lang=cn&version=1".</li>
	// <li>`request_header`: Name of the HTTP request header, such as "Accept-Language" in the "Accept-Language:zh-CN,zh;q=0.9" header.</li>
	Name *string `json:"Name,omitempty" name:"Name"`

	// Whether the parameter name is case insensitive. Default value: `false`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IgnoreNameCase *bool `json:"IgnoreNameCase,omitempty" name:"IgnoreNameCase"`
}

type RuleExtraParameter

type RuleExtraParameter struct {
	// Parameter name. Valid values:
	// <li>`Action`: Required parameter for HTTP header modification when `RewirteAction` is selected for `RuleAction`.</li>
	// <li>`StatusCode`: Required parameter for the status code feature when `CodeAction` is selected for `RuleAction`.</li>
	Id *string `json:"Id,omitempty" name:"Id"`

	// Parameter value type.
	// <li>`CHOICE`: The parameter value can be selected only from `Values`.</li>
	// <li>`CUSTOM_NUM`: The parameter value is a custom integer.</li>
	// <li>`CUSTOM_STRING`: The parameter value is a custom string.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Valid values.
	// Note: If the value of `Id` is `StatusCode`, values in the array are all integer values. When entering a parameter value, enter the integer value of the string.
	Choices []*string `json:"Choices,omitempty" name:"Choices"`
}

type RuleItem

type RuleItem struct {
	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The rule name. It is a string that can contain 1–255 characters.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// The rule priority. The greater the value, the higher the priority. The minimum value is `1`.
	RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`

	// Tag of the rule.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

type RuleNormalActionParams

type RuleNormalActionParams struct {
	// Parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RuleRewriteActionParams

type RuleRewriteActionParams struct {
	// Feature parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name, which has three values:
	// <li>add: Add the HTTP header.</li>
	// <li>set: Rewrite the HTTP header.</li>
	// <li>del: Delete the HTTP header.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Parameter value
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RulesProperties

type RulesProperties struct {
	// Parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Min *int64 `json:"Min,omitempty" name:"Min"`

	// Valid parameter values.
	// Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array.
	ChoicesValue []*string `json:"ChoicesValue,omitempty" name:"ChoicesValue"`

	// Parameter value type.
	// <li>`CHOICE`: The parameter value can be selected only from `ChoicesValue`.</li>
	// <li>`TOGGLE`: The parameter value is of switch type and can be selected from `ChoicesValue`.</li>
	// <li>`OBJECT`: The parameter value is of object type, and `ChoiceProperties` indicates the attributes associated with the object type.</li>
	// <li>`CUSTOM_NUM`: Custom integer</li>
	// <li>`CUSTOM_STRING`: Custom string.</li>Note: If `OBJECT` is selected, refer to [Example 2. Create a rule with parameters of OBJECT type](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1).
	Type *string `json:"Type,omitempty" name:"Type"`

	// Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// Whether multiple values can be selected or entered.
	IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"`

	// Whether the parameter can be left empty.
	IsAllowEmpty *bool `json:"IsAllowEmpty,omitempty" name:"IsAllowEmpty"`

	// Associated configuration parameters of this parameter, which are required for API call.
	// Note: This parameter will be an empty array if no special parameters are added as optional parameters.
	ChoiceProperties []*RuleChoicePropertiesItem `json:"ChoiceProperties,omitempty" name:"ChoiceProperties"`

	// <li>NULL: No special parameters when `NormalAction` is selected for `RuleAction`.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitempty" name:"ExtraParameter"`
}

type RulesSettingAction

type RulesSettingAction struct {
	// Feature name. Valid values:
	// <li>Access URL rewrite (`AccessUrlRedirect`).</li>
	// <li>Origin-pull URL rewrite (`UpstreamUrlRedirect`).</li>
	// <li>Custom error page
	// (`ErrorPage`).</li>
	// <li>QUIC (`QUIC`).</li>
	// <li>WebSocket (`WebSocket`).</li>
	// <li>Video dragging (`VideoSeek`).</li>
	// <li>Token authentication (`Authentication`).</li>
	// <li>`CacheKey`: Custom cache key.</li>
	// <li>`Cache`: Node cache TTL.</li>
	// <li>`MaxAge`: Browser cache TTL.</li>
	// <li>`OfflineCache`: Offline cache.</li>
	// <li>`SmartRouting`: Smart acceleration.</li>
	// <li>`RangeOriginPull`: Range GETs.</li>
	// <li>`UpstreamHttp2`: HTTP/2 forwarding.</li>
	// <li>`HostHeader`: Host header rewrite.</li>
	// <li>`ForceRedirect`: Force HTTPS.</li>
	// <li>`OriginPullProtocol`: Origin-pull HTTPS.</li>
	// <li>`CachePrefresh`: Cache prefresh.</li>
	// <li>`Compression`: Smart compression.</li>
	// <li>`RequestHeader`: HTTP request header modification.</li>
	// <li>HTTP response header modification (`ResponseHeader`).</li>
	// <li>Status code cache TTL (`StatusCodeCache`).</li>
	// <li>`Hsts`.</li>
	// <li>`ClientIpHeader`.</li>
	// <li>`TlsVersion`.</li>
	// <li>`OcspStapling`.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter information
	Properties []*RulesProperties `json:"Properties,omitempty" name:"Properties"`
}

type SecClientIp

type SecClientIp struct {
	// IP of the client.
	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`

	// Maximum QPS.
	RequestMaxQps *int64 `json:"RequestMaxQps,omitempty" name:"RequestMaxQps"`

	// Number of requests.
	RequestNum *int64 `json:"RequestNum,omitempty" name:"RequestNum"`
}

type SecEntry

type SecEntry struct {
	// The query dimension value.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The details.
	Value []*SecEntryValue `json:"Value,omitempty" name:"Value"`
}

type SecEntryValue

type SecEntryValue struct {
	// The metric name.
	Metric *string `json:"Metric,omitempty" name:"Metric"`

	// The time-series data details.
	Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`

	// The maximum value.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// The average value.
	Avg *float64 `json:"Avg,omitempty" name:"Avg"`

	// Sum
	Sum *float64 `json:"Sum,omitempty" name:"Sum"`
}

type SecHitRuleInfo

type SecHitRuleInfo struct {
	// The rule ID.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// The rule type.
	RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`

	// Action. Values:
	// <li>`trans`: Allow;</li>
	// <li>`alg`: Algorithm challenge;</li>
	// <li>`drop`: Discard;</li>
	// <li>`ban`: Block the source IP;</li>
	// <li>`redirect`: Redirect;</li>
	// <li>`page`: Return to the specified page;</li>
	// <li>`monitor`: Observe.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The hit time recorded in seconds using UNIX timestamp.
	HitTime *int64 `json:"HitTime,omitempty" name:"HitTime"`

	// The number of requests.
	RequestNum *int64 `json:"RequestNum,omitempty" name:"RequestNum"`

	// The rule description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The subdomain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The bot tag. Values:
	// <li>`evil_bot`: Malicious bot</li>
	// <li>`suspect_bot`: Suspected bot</li>
	// <li>`good_bot`: Good bot</li>
	// <li>`normal`: Normal request</li>
	// <li>`none`: Uncategorized</li>
	BotLabel *string `json:"BotLabel,omitempty" name:"BotLabel"`
}

type SecRuleRelatedInfo

type SecRuleRelatedInfo struct {
	// The rule ID.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// Action. Values:
	// <li>`trans`: Allow;</li>
	// <li>`alg`: Algorithm challenge;</li>
	// <li>`drop`: Discard;</li>
	// <li>`ban`: Block the source IP;</li>
	// <li>`redirect`: Redirect;</li>
	// <li>`page`: Return to the specified page;</li>
	// <li>`monitor`: Observe.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// Risk level (only found in WAF logs). Values:
	// <li>`high risk`: High risk;</li>
	// <li>`middle risk`: Middle risk;</li>
	// <li>`low risk`: Low risk;</li>
	// <li>`unkonw`: Unknown.</li>
	RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`

	// Rule level. Values:
	// <li>`normal`: Moderate.</li>
	RuleLevel *string `json:"RuleLevel,omitempty" name:"RuleLevel"`

	// Rule description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The rule type.
	RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`

	// The attack content.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`
}

type SecurityConfig

type SecurityConfig struct {
	// The settings of the managed rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WafConfig *WafConfig `json:"WafConfig,omitempty" name:"WafConfig"`

	// The settings of the rate limiting rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitempty" name:"RateLimitConfig"`

	// The settings of the custom rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AclConfig *AclConfig `json:"AclConfig,omitempty" name:"AclConfig"`

	// The settings of the bot configuration. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BotConfig *BotConfig `json:"BotConfig,omitempty" name:"BotConfig"`

	// The switch setting of the layer-7 protection. If it is null, the setting that was last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SwitchConfig *SwitchConfig `json:"SwitchConfig,omitempty" name:"SwitchConfig"`

	// The settings of the basic access control rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IpTableConfig *IpTableConfig `json:"IpTableConfig,omitempty" name:"IpTableConfig"`

	// The settings of the exception rule. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExceptConfig *ExceptConfig `json:"ExceptConfig,omitempty" name:"ExceptConfig"`

	// The settings of the custom block page. If it is null, the settings that were last configured will be used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DropPageConfig *DropPageConfig `json:"DropPageConfig,omitempty" name:"DropPageConfig"`

	// Security template settings
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TemplateConfig *TemplateConfig `json:"TemplateConfig,omitempty" name:"TemplateConfig"`
}

type SecurityType

type SecurityType struct {
	// Whether to enable the security type setting. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ServerCertInfo

type ServerCertInfo struct {
	// ID of the server certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Alias of the certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Type of the certificate. Values:
	// <li>`default`: Default certificate</lil>
	// <li>`upload`: Specified certificate</li>
	// <li>`managed`: Tencent Cloud-managed certificate</li>
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Time when the certificate expires.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Time when the certificate is deployed.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`

	// Signature algorithm.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SignAlgo *string `json:"SignAlgo,omitempty" name:"SignAlgo"`

	// Domain name of the certificate.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CommonName *string `json:"CommonName,omitempty" name:"CommonName"`
}

type SingleDataRecord

type SingleDataRecord struct {
	// The query dimension value.
	TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`

	// Value of the metric under the query dimension.
	TypeValue []*SingleTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}

type SingleTypeValue

type SingleTypeValue struct {
	// The metric name.
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The metric value.
	DetailData *int64 `json:"DetailData,omitempty" name:"DetailData"`
}

type SkipCondition

type SkipCondition struct {
	// The field type. Values:
	// <li>`header_fields`: HTTP request header</li>
	// <li>`cookie`: HTTP request cookie</li>
	// <li>`query_string`: Query string in the HTTP request URL</li>
	// <li>`uri`: HTTP request URI</li>
	// <li>`body_raw`: HTTP request body</li>
	// <li>`body_json`: JSON HTTP request body</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The specific field. Values:
	// <li>`args`: Query parameter in the URI, such as "?name1=jack&age=12"</li>
	// <li>`path`: Partial path in the URI, such as "/path/to/resource.jpg"</li>
	// <li>`full`: Full path in the URI, such as "example.com/path/to/resource.jpg?name1=jack&age=12"</li>
	// <li>`upload_filename`: File path segment</li>
	// <li>`keys`: All keys</li>
	// <li>`values`: Values of all keys</li>
	// <li>`key_value`: Key and its value</li>
	Selector *string `json:"Selector,omitempty" name:"Selector"`

	// The match method used to match the key. Values:
	// <li>`equal`: Exact match</li>
	// <li>`wildcard`: Wildcard match (only asterisks)</li>
	MatchFromType *string `json:"MatchFromType,omitempty" name:"MatchFromType"`

	// The value that matches the key.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MatchFrom []*string `json:"MatchFrom,omitempty" name:"MatchFrom"`

	// The match method used to match the content.
	// <li>`equal`: Exact match</li>
	// <li>`wildcard`: Wildcard match (only asterisks)</li>
	MatchContentType *string `json:"MatchContentType,omitempty" name:"MatchContentType"`

	// The value that matches the content.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MatchContent []*string `json:"MatchContent,omitempty" name:"MatchContent"`
}

type SmartRouting

type SmartRouting struct {
	// Whether to enable smart acceleration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type SpeedTestingConfig

type SpeedTestingConfig struct {
	// The task type. Values:
	// <li>`1`: Page performance</li>
	// <li>`2`: File uploads</li>
	// <li>`3`: File downloads</li>
	// <li>`4`: Port performance</li>
	// <li>`5`: Network quality</li>
	// <li>`6`: Audio/Video experience</li>
	TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"`

	// The URL.
	Url *string `json:"Url,omitempty" name:"Url"`

	// The user agent.
	UA *string `json:"UA,omitempty" name:"UA"`

	// The network type.
	Connectivity *string `json:"Connectivity,omitempty" name:"Connectivity"`
}

type SpeedTestingDetailData

type SpeedTestingDetailData struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The site performance across regions.
	DistrictStatistics []*DistrictStatistics `json:"DistrictStatistics,omitempty" name:"DistrictStatistics"`
}

type SpeedTestingInfo

type SpeedTestingInfo struct {
	// The task status. Values:
	// <li>`200`: The task completed.</li>
	// <li>`100`: The task is running.</li>
	// <li>`503`: The task failed.</li>
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// ID of the site test task.
	TestId *string `json:"TestId,omitempty" name:"TestId"`

	// The settings of the site test task.
	SpeedTestingConfig *SpeedTestingConfig `json:"SpeedTestingConfig,omitempty" name:"SpeedTestingConfig"`

	// The site test result.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SpeedTestingStatistics *SpeedTestingStatistics `json:"SpeedTestingStatistics,omitempty" name:"SpeedTestingStatistics"`
}

type SpeedTestingMetricData

type SpeedTestingMetricData struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The origin information.
	OriginSpeedTestingInfo []*SpeedTestingInfo `json:"OriginSpeedTestingInfo,omitempty" name:"OriginSpeedTestingInfo"`

	// The EdgeOne information.
	ProxySpeedTestingInfo []*SpeedTestingInfo `json:"ProxySpeedTestingInfo,omitempty" name:"ProxySpeedTestingInfo"`

	// The site status.
	SpeedTestingStatus *SpeedTestingStatus `json:"SpeedTestingStatus,omitempty" name:"SpeedTestingStatus"`

	// The optimization suggestions.
	OptimizeAction []*OptimizeAction `json:"OptimizeAction,omitempty" name:"OptimizeAction"`

	// The EdgeOne load time, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyLoadTime *int64 `json:"ProxyLoadTime,omitempty" name:"ProxyLoadTime"`

	// The origin load time, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OriginLoadTime *int64 `json:"OriginLoadTime,omitempty" name:"OriginLoadTime"`
}

type SpeedTestingQuota

type SpeedTestingQuota struct {
	// The total number of site tests.
	TotalTestRuns *int64 `json:"TotalTestRuns,omitempty" name:"TotalTestRuns"`

	// The number of available site tests.
	AvailableTestRuns *int64 `json:"AvailableTestRuns,omitempty" name:"AvailableTestRuns"`
}

type SpeedTestingStatistics

type SpeedTestingStatistics struct {
	// Last contentful paint, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FirstContentfulPaint *int64 `json:"FirstContentfulPaint,omitempty" name:"FirstContentfulPaint"`

	// Full content load, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FirstMeaningfulPaint *int64 `json:"FirstMeaningfulPaint,omitempty" name:"FirstMeaningfulPaint"`

	// Average download speed, in KB/s.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OverallDownloadSpeed *float64 `json:"OverallDownloadSpeed,omitempty" name:"OverallDownloadSpeed"`

	// Rendering time, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RenderTime *int64 `json:"RenderTime,omitempty" name:"RenderTime"`

	// DOM content loaded, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DocumentFinishTime *int64 `json:"DocumentFinishTime,omitempty" name:"DocumentFinishTime"`

	// Average TCP connection, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TcpConnectionTime *int64 `json:"TcpConnectionTime,omitempty" name:"TcpConnectionTime"`

	// Average backend response, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResponseTime *int64 `json:"ResponseTime,omitempty" name:"ResponseTime"`

	// Average DOM content download, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FileDownloadTime *int64 `json:"FileDownloadTime,omitempty" name:"FileDownloadTime"`

	// Load time, in milliseconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadTime *int64 `json:"LoadTime,omitempty" name:"LoadTime"`
}

type SpeedTestingStatus

type SpeedTestingStatus struct {
	// The URL.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Whether the URL uses HTTPS.
	Tls *bool `json:"Tls,omitempty" name:"Tls"`

	// Creation time of the task.
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// The task status. Values:
	// <li>`200`: The task completed.</li>
	// <li>`100`: The task is running.</li>
	// <li>`503`: The task failed./li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// The user agent.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UA *string `json:"UA,omitempty" name:"UA"`

	// The network environment.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Connectivity *string `json:"Connectivity,omitempty" name:"Connectivity"`

	// Whether the URL is reachable. Values:
	// <li>`true`: Yes</li>
	// <li>`false`: No</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Reachable *bool `json:"Reachable,omitempty" name:"Reachable"`

	// Whether the URL connection timed out. Values:
	// <li>`true`: Yes</li>
	// <li>`false`: No</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimedOut *bool `json:"TimedOut,omitempty" name:"TimedOut"`
}

type SubRule

type SubRule struct {
	// The condition that determines if a feature should run.
	// Note: If any condition in the array is met, the feature will run.
	Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`

	// The feature to be executed.
	Actions []*Action `json:"Actions,omitempty" name:"Actions"`
}

type SubRuleItem

type SubRuleItem struct {
	// Nested rule settings
	Rules []*SubRule `json:"Rules,omitempty" name:"Rules"`

	// Tag of the rule.
	Tags []*string `json:"Tags,omitempty" name:"Tags"`
}

type Sv

type Sv struct {
	// The parameter key.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The parameter value.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type SwitchConfig

type SwitchConfig struct {
	// Whether to enable web protection. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>It does not affect DDoS and bot configuration.
	WebSwitch *string `json:"WebSwitch,omitempty" name:"WebSwitch"`
}

type Tag

type Tag struct {
	// The tag key.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// The tag value.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type Task

type Task struct {
	// ID of the task.
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Status of the task.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Resource.
	Target *string `json:"Target,omitempty" name:"Target"`

	// Type of the task.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Creation time of the task.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Completion time of the task.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type TemplateConfig

type TemplateConfig struct {
	// The template ID.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// The template name.
	TemplateName *string `json:"TemplateName,omitempty" name:"TemplateName"`
}

type TimingDataItem

type TimingDataItem struct {
	// The query time recorded in seconds using UNIX timestamp.
	Timestamp *int64 `json:"Timestamp,omitempty" name:"Timestamp"`

	// The value.
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type TimingDataRecord

type TimingDataRecord struct {
	// The query dimension value.
	TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`

	// Detailed time series data
	TypeValue []*TimingTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}

type TimingTypeValue

type TimingTypeValue struct {
	// Sum.
	Sum *int64 `json:"Sum,omitempty" name:"Sum"`

	// The maximum value.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// The average value.
	Avg *int64 `json:"Avg,omitempty" name:"Avg"`

	// Metric name.
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`
}

type TopDataRecord

type TopDataRecord struct {
	// The query dimension value.
	TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`

	// Top data rankings
	DetailData []*TopDetailData `json:"DetailData,omitempty" name:"DetailData"`
}

type TopDetailData

type TopDetailData struct {
	// The field name.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The field value.
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type TopEntry

type TopEntry struct {
	// The query dimension value.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The details.
	Value []*TopEntryValue `json:"Value,omitempty" name:"Value"`
}

type TopEntryValue

type TopEntryValue struct {
	// The item name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The number of items.
	Count *int64 `json:"Count,omitempty" name:"Count"`
}

type UpstreamHttp2

type UpstreamHttp2 struct {
	// Whether to enable HTTP2 origin-pull. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type VanityNameServers

type VanityNameServers struct {
	// Whether to enable custom name servers. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// List of custom name servers
	Servers []*string `json:"Servers,omitempty" name:"Servers"`
}

type VanityNameServersIps

type VanityNameServersIps struct {
	// Custom name of the name server
	Name *string `json:"Name,omitempty" name:"Name"`

	// IPv4 address of the custom name server
	IPv4 *string `json:"IPv4,omitempty" name:"IPv4"`
}

type Waf

type Waf struct {
	// Whether to enable WAF. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// ID of the policy
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}

type WafConfig

type WafConfig struct {
	// Whether to enable WAF configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>The configuration can be modified even when it is disabled.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The protection level. Values:
	// <li>`loose`: Loose</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`stricter`: Super strict</li>
	// <li>`custom`: Custom</li>
	Level *string `json:"Level,omitempty" name:"Level"`

	// The WAF global mode. Values:
	// <li>`block`: Block globally</li>
	// <li>`observe`: Observe globally</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// The settings of the managed rule. If it is null, the settings that were last configured will be used.
	WafRule *WafRule `json:"WafRule,omitempty" name:"WafRule"`

	// The setting of the AI rule engine. If it is null, the setting that was last configured will be used.
	AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`
}

type WafGroup

type WafGroup struct {
	// Action to be executed. Values:
	// <li>`block`: Block</li>
	// <li>`observe: Observe</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// The protection level. Values:
	// <li>`loose`: Loose</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`stricter`: Super strict</li>
	// <li>`custom`: Custom</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Level *string `json:"Level,omitempty" name:"Level"`

	// ID of the rule type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TypeId *int64 `json:"TypeId,omitempty" name:"TypeId"`
}

type WafRule

type WafRule struct {
	// Whether to enable managed rules. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// IDs of the managed rules in the Block mode. You can obtain more details from [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1).
	BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitempty" name:"BlockRuleIDs"`

	// IDs of the managed rules in the Observe mode. You can obtain more details from [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1).
	ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitempty" name:"ObserveRuleIDs"`
}

type WebLogs

type WebLogs struct {
	// The attack event ID.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// The attacker IP.
	AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`

	// The attacked subdomain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The HTTP log content.
	HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`

	// The country code of the attacker IP, which is defined in ISO-3166 alpha-2. For the list of country codes, see [ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json).
	SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"`

	// The attack time recorded in seconds using UNIX timestamp.
	AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`

	// The request address.
	RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`

	// The attack content.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`

	// The security rule information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`

	// The request type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ReqMethod *string `json:"ReqMethod,omitempty" name:"ReqMethod"`
}

type WebSocket

type WebSocket struct {
	// Whether to enable WebSocket connection timeout. Values:
	// <li>`on`: The field "Timeout" can be configured.</li>
	// <li>`off`: The field "Timeout" is fixed to 15 seconds.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The timeout period in seconds. Maximum value: 120.
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`
}

type Zone

type Zone struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// List of name servers used by the site
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// The list of name servers assigned by Tencent Cloud.
	NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`

	// The site status. Values:
	// <li>`active`: The name server is switched.</li>
	// <li>`pending`: The name server is not switched.</li>
	// <li>`moved`: The name server is moved.</li>
	// <li>`deactivated`: The site is blocked.</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The site access method. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether the site is disabled.
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// Whether CNAME acceleration is enabled. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"`

	// CNAME record access status. Values:
	// <li>`finished`: The site is verified.</li>
	// <li>`pending`: The site is being verified.</li>
	CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`

	// The list of resource tags.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// The list of billable resources.
	Resources []*Resource `json:"Resources,omitempty" name:"Resources"`

	// The creation time of the site.
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// The modification date of the site.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// The site access region. Values:
	// <li>`global`: Global.</li>
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// The custom name server information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`

	// The custom name server IP information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitempty" name:"VanityNameServersIps"`

	// Status of the proxy. Values:
	// <li>`active`: Enabled</li>
	// <li>`inactive`: Not activated</li>
	// <li>`paused`: Disabled</li>
	ActiveStatus *string `json:"ActiveStatus,omitempty" name:"ActiveStatus"`

	// The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_).
	// Note: This field may return null, indicating that no valid values can be obtained.
	AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}

type ZoneSetting

type ZoneSetting struct {
	// Name of the site
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Site acceleration region. Values:
	// <li>`mainland`: Acceleration in the Chinese mainland.</li>
	// <li>`overseas`: Acceleration outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// Node cache key configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The QUIC access configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// The POST transport configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// Smart compression configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// HTTP2 origin-pull configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// Cache expiration time configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// Origin server configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// Smart acceleration configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// Browser cache configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// The offline cache configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// WebSocket configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// Origin-pull client IP header configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	// Cache prefresh configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

	// IPv6 access configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// HTTPS acceleration configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// Whether to carry the location information of the client IP during origin-pull.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`

	// Configuration of gRPC support
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Grpc *Grpc `json:"Grpc,omitempty" name:"Grpc"`
}

Jump to

Keyboard shortcuts

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