v20220901

package
v3.0.562+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 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"

	// Failed to create the logset: The logset name already exists.
	FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"

	// Failed to create the log topic: The topic/task name already exists.
	FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed"

	// 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"

	// System error.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	//
	INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"

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

	//
	INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"

	//
	INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"

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

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

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

	//
	INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"

	//
	INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"

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

	//
	INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"

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

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

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

	//
	INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"

	//
	INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"

	//
	INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"

	//
	INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"

	//
	INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"

	//
	INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"

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

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

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

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

	// Incorrect domain name configuration.
	INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"

	// Resource error
	INVALIDPARAMETER_TARGET = "InvalidParameter.Target"

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

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

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

	// It conflicts with existing records.
	INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"

	// DNS records conflict with DNSSEC.
	INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC"

	// This DNS record conflicts with CLB records.
	INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"

	// This DNS record conflicts with NS records.
	INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"

	// Incorrect DNS record
	INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"

	// Incorrect DNS CNAME
	INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"

	// Incorrect DNS proxied domain name.
	INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName"

	// Incorrect DNS proxy
	INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"

	// This record already exists.
	INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"

	// This record cannot be added.
	INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"

	// 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"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	//
	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"

	//
	OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"

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

	//
	RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"

	//
	RESOURCEINUSE_CNAME = "ResourceInUse.Cname"

	//
	RESOURCEINUSE_DNS = "ResourceInUse.Dns"

	//
	RESOURCEINUSE_HOST = "ResourceInUse.Host"

	//
	RESOURCEINUSE_NS = "ResourceInUse.NS"

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

	//
	RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain"

	//
	RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname"

	//
	RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost"

	//
	RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS"

	//
	RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

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

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

	// No domain names available.
	RESOURCEUNAVAILABLE_AVAILABLEDOMAINNOTFOUND = "ResourceUnavailable.AvailableDomainNotFound"

	// 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"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// 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>
	// Note: This field may return null, indicating that no valid values 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 AdvancedOriginGroup

type AdvancedOriginGroup struct {
	OriginGroupConditions []*OriginGroupCondition `json:"OriginGroupConditions,omitempty" name:"OriginGroupConditions"`

	OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`

	BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
}

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 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 port, which can be specified in the following formats:
	// Single port, such as 80.
	// Port range, such as 81-82.
	// 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.
	// When `OriginType=custom`, it indicates one or more origin servers. Example:
	// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
	// OriginValue=["test.com:80"];
	// When `OriginType=origins`, it indicates an origin group ID. Example:
	// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
	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"`
}

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 BillingDataFilter

type BillingDataFilter struct {
	// Parameter name. Valid values:
	// `zone`: Site name
	// `host`: Domain name
	// `proxy`: L4 proxy
	// `plan`: Plan type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Parameter value
	Value *string `json:"Value,omitempty" name:"Value"`
}

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 BotLog

type BotLog struct {
	// The attack time recorded in seconds using UNIX timestamp.
	AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`

	// The attacker IP.
	AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`

	// The attacked domain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The URI.
	RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`

	// Attack type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// Request method.
	RequestMethod *string `json:"RequestMethod,omitempty" name:"RequestMethod"`

	// The attack content.
	AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`

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

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

	// 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 event ID.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

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

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

	// The user agent.
	Ua *string `json:"Ua,omitempty" name:"Ua"`

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

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

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

	// 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 bot tag.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Label *string `json:"Label,omitempty" name:"Label"`
}

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 BotManagedRuleDetail

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

	// The rule description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Rule type
	RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`

	// The rule status.
	Status *string `json:"Status,omitempty" name:"Status"`
}

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 CCInterceptEvent

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

	// The requests per minute that are blocked.
	InterceptNum *int64 `json:"InterceptNum,omitempty" name:"InterceptNum"`

	// Block time in seconds.
	InterceptTime *int64 `json:"InterceptTime,omitempty" name:"InterceptTime"`
}

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

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:

INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"

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

func (c *Client) CreateCustomErrorPage(request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)

CreateCustomErrorPage This API is used to create a custom error page.

error code that may be returned:

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

func (*Client) CreateCustomErrorPageWithContext

func (c *Client) CreateCustomErrorPageWithContext(ctx context.Context, request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)

CreateCustomErrorPage This API is used to create a custom error page.

error code that may be returned:

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

func (*Client) CreateDnsRecord

func (c *Client) CreateDnsRecord(request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)

CreateDnsRecord This API is used to create a DNS record.

error code that may be returned:

INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC"
INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) CreateDnsRecordWithContext

func (c *Client) CreateDnsRecordWithContext(ctx context.Context, request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)

CreateDnsRecord This API is used to create a DNS record.

error code that may be returned:

INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC"
INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) CreateIpTableList

func (c *Client) CreateIpTableList(request *CreateIpTableListRequest) (response *CreateIpTableListResponse, err error)

CreateIpTableList This API is used to create an IP blocklist/allowlist.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIpTableListWithContext

func (c *Client) CreateIpTableListWithContext(ctx context.Context, request *CreateIpTableListRequest) (response *CreateIpTableListResponse, err error)

CreateIpTableList This API is used to create an IP blocklist/allowlist.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateLoadBalancing

func (c *Client) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)

CreateLoadBalancing This API is used to create a CLB instance.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateLoadBalancingWithContext

func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)

CreateLoadBalancing This API is used to create a CLB instance.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateLogSet

func (c *Client) CreateLogSet(request *CreateLogSetRequest) (response *CreateLogSetResponse, err error)

CreateLogSet This API is used to create a CLS logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"

func (*Client) CreateLogSetWithContext

func (c *Client) CreateLogSetWithContext(ctx context.Context, request *CreateLogSetRequest) (response *CreateLogSetResponse, err error)

CreateLogSet This API is used to create a CLS logset.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"

func (*Client) CreateLogTopicTask

func (c *Client) CreateLogTopicTask(request *CreateLogTopicTaskRequest) (response *CreateLogTopicTaskResponse, err error)

CreateLogTopicTask This API is used to create a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE_AVAILABLEDOMAINNOTFOUND = "ResourceUnavailable.AvailableDomainNotFound"

func (*Client) CreateLogTopicTaskWithContext

func (c *Client) CreateLogTopicTaskWithContext(ctx context.Context, request *CreateLogTopicTaskRequest) (response *CreateLogTopicTaskResponse, err error)

CreateLogTopicTask This API is used to create a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE_AVAILABLEDOMAINNOTFOUND = "ResourceUnavailable.AvailableDomainNotFound"

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:

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:

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_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_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:

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:

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:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

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:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) CreateSecurityDropPage

func (c *Client) CreateSecurityDropPage(request *CreateSecurityDropPageRequest) (response *CreateSecurityDropPageResponse, err error)

CreateSecurityDropPage This API is used to create a custom block page.

error code that may be returned:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) CreateSecurityDropPageWithContext

func (c *Client) CreateSecurityDropPageWithContext(ctx context.Context, request *CreateSecurityDropPageRequest) (response *CreateSecurityDropPageResponse, err error)

CreateSecurityDropPage This API is used to create a custom block page.

error code that may be returned:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam"
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine"
INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

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:

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:

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"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"
RESOURCEINUSE_CNAME = "ResourceInUse.Cname"
RESOURCEINUSE_DNS = "ResourceInUse.Dns"
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"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"
RESOURCEINUSE_CNAME = "ResourceInUse.Cname"
RESOURCEINUSE_DNS = "ResourceInUse.Dns"
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) 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:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"
RESOURCEINUSE_CNAME = "ResourceInUse.Cname"
RESOURCEINUSE_DNS = "ResourceInUse.Dns"
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) 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"

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"

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:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain"
RESOURCEINUSE_CNAME = "ResourceInUse.Cname"
RESOURCEINUSE_DNS = "ResourceInUse.Dns"
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) DeleteDnsRecords

func (c *Client) DeleteDnsRecords(request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)

DeleteDnsRecords This API is used to delete DNS records in batches.

error code that may be returned:

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

func (*Client) DeleteDnsRecordsWithContext

func (c *Client) DeleteDnsRecordsWithContext(ctx context.Context, request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)

DeleteDnsRecords This API is used to delete DNS records in batches.

error code that may be returned:

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

func (*Client) DeleteLoadBalancing

func (c *Client) DeleteLoadBalancing(request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)

DeleteLoadBalancing This API is used to delete a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) DeleteLoadBalancingWithContext

func (c *Client) DeleteLoadBalancingWithContext(ctx context.Context, request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)

DeleteLoadBalancing This API is used to delete a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) DeleteLogTopicTask

func (c *Client) DeleteLogTopicTask(request *DeleteLogTopicTaskRequest) (response *DeleteLogTopicTaskResponse, err error)

DeleteLogTopicTask This API is used to delete a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DeleteLogTopicTaskWithContext

func (c *Client) DeleteLogTopicTaskWithContext(ctx context.Context, request *DeleteLogTopicTaskRequest) (response *DeleteLogTopicTaskResponse, err error)

DeleteLogTopicTask This API is used to delete a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

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:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

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:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

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:

OPERATIONDENIED = "OperationDenied"
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:

OPERATIONDENIED = "OperationDenied"
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) 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"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

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"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

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"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

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"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeBillingData

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

DescribeBillingData This API is used to get the billing data.

error code that may be returned:

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

func (*Client) DescribeBillingDataWithContext

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

DescribeBillingData This API is used to get the billing data.

error code that may be returned:

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

func (*Client) DescribeBotClientIpList

func (c *Client) DescribeBotClientIpList(request *DescribeBotClientIpListRequest) (response *DescribeBotClientIpListResponse, err error)

DescribeBotClientIpList This API is used to query the list of bot attackers.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotClientIpListWithContext

func (c *Client) DescribeBotClientIpListWithContext(ctx context.Context, request *DescribeBotClientIpListRequest) (response *DescribeBotClientIpListResponse, err error)

DescribeBotClientIpList This API is used to query the list of bot attackers.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotData

func (c *Client) DescribeBotData(request *DescribeBotDataRequest) (response *DescribeBotDataResponse, err error)

DescribeBotData This API is used to query the bot attack data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeBotDataWithContext

func (c *Client) DescribeBotDataWithContext(ctx context.Context, request *DescribeBotDataRequest) (response *DescribeBotDataResponse, err error)

DescribeBotData This API is used to query the bot attack data recorded over time.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeBotHitRuleDetail

func (c *Client) DescribeBotHitRuleDetail(request *DescribeBotHitRuleDetailRequest) (response *DescribeBotHitRuleDetailResponse, err error)

DescribeBotHitRuleDetail This API is used to query the details of a hit bot security rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotHitRuleDetailWithContext

func (c *Client) DescribeBotHitRuleDetailWithContext(ctx context.Context, request *DescribeBotHitRuleDetailRequest) (response *DescribeBotHitRuleDetailResponse, err error)

DescribeBotHitRuleDetail This API is used to query the details of a hit bot security rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotLog

func (c *Client) DescribeBotLog(request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)

DescribeBotLog This API is used to query bot attack logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotLogWithContext

func (c *Client) DescribeBotLogWithContext(ctx context.Context, request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)

DescribeBotLog This API is used to query bot attack logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotManagedRules

func (c *Client) DescribeBotManagedRules(request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)

DescribeBotManagedRules This API is used to query a bot managed rule.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) DescribeBotManagedRulesWithContext

func (c *Client) DescribeBotManagedRulesWithContext(ctx context.Context, request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)

DescribeBotManagedRules This API is used to query a bot managed rule.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) DescribeBotTopData

func (c *Client) DescribeBotTopData(request *DescribeBotTopDataRequest) (response *DescribeBotTopDataResponse, err error)

DescribeBotTopData This API is used to query the top-ranked bot attack data.

error code that may be returned:

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

func (*Client) DescribeBotTopDataWithContext

func (c *Client) DescribeBotTopDataWithContext(ctx context.Context, request *DescribeBotTopDataRequest) (response *DescribeBotTopDataResponse, err error)

DescribeBotTopData This API is used to query the top-ranked bot attack data.

error code that may be returned:

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

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:

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:

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_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_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeDDoSAttackData

func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)

DescribeDDoSAttackData This API is used to query the DDoS attack data recorded over time.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackDataWithContext

func (c *Client) DescribeDDoSAttackDataWithContext(ctx context.Context, request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)

DescribeDDoSAttackData This API is used to query the DDoS attack data recorded over time.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackEvent

func (c *Client) DescribeDDoSAttackEvent(request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)

DescribeDDoSAttackEvent This API is used to query the list of DDoS attack events.

error code that may be returned:

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

func (*Client) DescribeDDoSAttackEventDetail

func (c *Client) DescribeDDoSAttackEventDetail(request *DescribeDDoSAttackEventDetailRequest) (response *DescribeDDoSAttackEventDetailResponse, err error)

DescribeDDoSAttackEventDetail This API is used to query the details of a DDoS attack event.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackEventDetailWithContext

func (c *Client) DescribeDDoSAttackEventDetailWithContext(ctx context.Context, request *DescribeDDoSAttackEventDetailRequest) (response *DescribeDDoSAttackEventDetailResponse, err error)

DescribeDDoSAttackEventDetail This API is used to query the details of a DDoS attack event.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackEventWithContext

func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)

DescribeDDoSAttackEvent This API is used to query the list of DDoS attack events.

error code that may be returned:

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

func (*Client) DescribeDDoSAttackSourceEvent

func (c *Client) DescribeDDoSAttackSourceEvent(request *DescribeDDoSAttackSourceEventRequest) (response *DescribeDDoSAttackSourceEventResponse, err error)

DescribeDDoSAttackSourceEvent This API is used to query the list of DDoS attackers.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackSourceEventWithContext

func (c *Client) DescribeDDoSAttackSourceEventWithContext(ctx context.Context, request *DescribeDDoSAttackSourceEventRequest) (response *DescribeDDoSAttackSourceEventResponse, err error)

DescribeDDoSAttackSourceEvent This API is used to query the list of DDoS attackers.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

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:

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:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSBlockList

func (c *Client) DescribeDDoSBlockList(request *DescribeDDoSBlockListRequest) (response *DescribeDDoSBlockListResponse, err error)

DescribeDDoSBlockList This API is used to query the list of DDoS blocking data.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSBlockListWithContext

func (c *Client) DescribeDDoSBlockListWithContext(ctx context.Context, request *DescribeDDoSBlockListRequest) (response *DescribeDDoSBlockListResponse, err error)

DescribeDDoSBlockList This API is used to query the list of DDoS blocking data.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSMajorAttackEvent

func (c *Client) DescribeDDoSMajorAttackEvent(request *DescribeDDoSMajorAttackEventRequest) (response *DescribeDDoSMajorAttackEventResponse, err error)

DescribeDDoSMajorAttackEvent This API is used to query the list of large attack events.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSMajorAttackEventWithContext

func (c *Client) DescribeDDoSMajorAttackEventWithContext(ctx context.Context, request *DescribeDDoSMajorAttackEventRequest) (response *DescribeDDoSMajorAttackEventResponse, err error)

DescribeDDoSMajorAttackEvent This API is used to query the list of large attack events.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSPolicy

func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)

DescribeDDoSPolicy This API is used to query the DDoS protection configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSPolicyWithContext

func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)

DescribeDDoSPolicy This API is used to query the DDoS protection configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
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_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_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) DescribeDnsRecords

func (c *Client) DescribeDnsRecords(request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)

DescribeDnsRecords This API is used to query DNS records. Paging, sorting and filtering are supported.

error code that may be returned:

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

func (*Client) DescribeDnsRecordsWithContext

func (c *Client) DescribeDnsRecordsWithContext(ctx context.Context, request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)

DescribeDnsRecords This API is used to query DNS records. Paging, sorting and filtering are supported.

error code that may be returned:

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

func (*Client) DescribeDnssec

func (c *Client) DescribeDnssec(request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)

DescribeDnssec This API is used to query DNSSEC information.

error code that may be returned:

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

func (*Client) DescribeDnssecWithContext

func (c *Client) DescribeDnssecWithContext(ctx context.Context, request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)

DescribeDnssec This API is used to query DNSSEC information.

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_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_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) DescribeLoadBalancing

func (c *Client) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)

DescribeLoadBalancing This API is used to obtain a list of CLB instances.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeLoadBalancingWithContext

func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)

DescribeLoadBalancing This API is used to obtain a list of CLB instances.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

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:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

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:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeLogTopicTaskDetail

func (c *Client) DescribeLogTopicTaskDetail(request *DescribeLogTopicTaskDetailRequest) (response *DescribeLogTopicTaskDetailResponse, err error)

DescribeLogTopicTaskDetail This API is used to get the details of a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeLogTopicTaskDetailWithContext

func (c *Client) DescribeLogTopicTaskDetailWithContext(ctx context.Context, request *DescribeLogTopicTaskDetailRequest) (response *DescribeLogTopicTaskDetailResponse, err error)

DescribeLogTopicTaskDetail This API is used to get the details of a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

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:

FAILEDOPERATION = "FailedOperation"

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:

FAILEDOPERATION = "FailedOperation"

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:

FAILEDOPERATION = "FailedOperation"

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:

FAILEDOPERATION = "FailedOperation"

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

func (c *Client) DescribeRateLimitIntelligenceRule(request *DescribeRateLimitIntelligenceRuleRequest) (response *DescribeRateLimitIntelligenceRuleResponse, err error)

DescribeRateLimitIntelligenceRule This API is used to query an intelligent rate limiting rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeRateLimitIntelligenceRuleWithContext

func (c *Client) DescribeRateLimitIntelligenceRuleWithContext(ctx context.Context, request *DescribeRateLimitIntelligenceRuleRequest) (response *DescribeRateLimitIntelligenceRuleResponse, err error)

DescribeRateLimitIntelligenceRule This API is used to query an intelligent rate limiting rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

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 = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

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 = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

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 = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

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 = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeSecurityGroupManagedRules

func (c *Client) DescribeSecurityGroupManagedRules(request *DescribeSecurityGroupManagedRulesRequest) (response *DescribeSecurityGroupManagedRulesResponse, err error)

DescribeSecurityGroupManagedRules This API is used to obtain a managed rule group.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityGroupManagedRulesWithContext

func (c *Client) DescribeSecurityGroupManagedRulesWithContext(ctx context.Context, request *DescribeSecurityGroupManagedRulesRequest) (response *DescribeSecurityGroupManagedRulesResponse, err error)

DescribeSecurityGroupManagedRules This API is used to obtain a managed rule group.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityPolicy

func (c *Client) DescribeSecurityPolicy(request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)

DescribeSecurityPolicy This API is used to query the security protection configuration.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityPolicyList

func (c *Client) DescribeSecurityPolicyList(request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)

DescribeSecurityPolicyList This API is used to query all protected subdomain names.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityPolicyListWithContext

func (c *Client) DescribeSecurityPolicyListWithContext(ctx context.Context, request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)

DescribeSecurityPolicyList This API is used to query all protected subdomain names.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityPolicyRegions

func (c *Client) DescribeSecurityPolicyRegions(request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)

DescribeSecurityPolicyRegions This API is used to query information of all regions.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeSecurityPolicyRegionsWithContext

func (c *Client) DescribeSecurityPolicyRegionsWithContext(ctx context.Context, request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)

DescribeSecurityPolicyRegions This API is used to query information of all regions.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeSecurityPolicyWithContext

func (c *Client) DescribeSecurityPolicyWithContext(ctx context.Context, request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)

DescribeSecurityPolicy This API is used to query the security protection configuration.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityPortraitRules

func (c *Client) DescribeSecurityPortraitRules(request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)

DescribeSecurityPortraitRules This API is used to query user profiling rules.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityPortraitRulesWithContext

func (c *Client) DescribeSecurityPortraitRulesWithContext(ctx context.Context, request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)

DescribeSecurityPortraitRules This API is used to query user profiling rules.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityRuleId

func (c *Client) DescribeSecurityRuleId(request *DescribeSecurityRuleIdRequest) (response *DescribeSecurityRuleIdResponse, err error)

DescribeSecurityRuleId This API is used to query a security rule.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSecurityRuleIdWithContext

func (c *Client) DescribeSecurityRuleIdWithContext(ctx context.Context, request *DescribeSecurityRuleIdRequest) (response *DescribeSecurityRuleIdResponse, err error)

DescribeSecurityRuleId This API is used to query a security rule.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSingleL7AnalysisData

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

DescribeSingleL7AnalysisData This API is used to query the list of L7 dimensional data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
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 list of L7 dimensional data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
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"
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"
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"
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"
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"
OPERATIONDENIED = "OperationDenied"
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"
OPERATIONDENIED = "OperationDenied"
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:

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:

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"
OPERATIONDENIED = "OperationDenied"
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"
OPERATIONDENIED = "OperationDenied"
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:

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:

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"
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"
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"
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"
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:

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:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebProtectionAttackEvents

func (c *Client) DescribeWebProtectionAttackEvents(request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)

DescribeWebProtectionAttackEvents This API is used to query the list of CC attack events.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionAttackEventsWithContext

func (c *Client) DescribeWebProtectionAttackEventsWithContext(ctx context.Context, request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)

DescribeWebProtectionAttackEvents This API is used to query the list of CC attack events.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

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"

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"

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"
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"
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"
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"
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) DescribeZoneDDoSPolicy

func (c *Client) DescribeZoneDDoSPolicy(request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)

DescribeZoneDDoSPolicy This API is used to query all DDoS mitigation configuration.

error code that may be returned:

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

func (*Client) DescribeZoneDDoSPolicyWithContext

func (c *Client) DescribeZoneDDoSPolicyWithContext(ctx context.Context, request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)

DescribeZoneDDoSPolicy This API is used to query all DDoS mitigation configuration.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"
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:

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:

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:

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:

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

func (c *Client) ModifyAlarmConfig(request *ModifyAlarmConfigRequest) (response *ModifyAlarmConfigResponse, err error)

ModifyAlarmConfig This API is used to modify alarm configuration.

error code that may be returned:

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

func (*Client) ModifyAlarmConfigWithContext

func (c *Client) ModifyAlarmConfigWithContext(ctx context.Context, request *ModifyAlarmConfigRequest) (response *ModifyAlarmConfigResponse, err error)

ModifyAlarmConfig This API is used to modify alarm configuration.

error code that may be returned:

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

func (*Client) ModifyAlarmDefaultThreshold

func (c *Client) ModifyAlarmDefaultThreshold(request *ModifyAlarmDefaultThresholdRequest) (response *ModifyAlarmDefaultThresholdResponse, err error)

ModifyAlarmDefaultThreshold This API is used to modify the default alarm threshold.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifyAlarmDefaultThresholdWithContext

func (c *Client) ModifyAlarmDefaultThresholdWithContext(ctx context.Context, request *ModifyAlarmDefaultThresholdRequest) (response *ModifyAlarmDefaultThresholdResponse, err error)

ModifyAlarmDefaultThreshold This API is used to modify the default alarm threshold.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

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"

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"

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"

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"

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

func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)

ModifyDDoSPolicy This API is used to modify DDoS mitigation configuration.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) ModifyDDoSPolicyHost

func (c *Client) ModifyDDoSPolicyHost(request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)

ModifyDDoSPolicyHost This API is used to enable high availability for domain names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyDDoSPolicyHostWithContext

func (c *Client) ModifyDDoSPolicyHostWithContext(ctx context.Context, request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)

ModifyDDoSPolicyHost This API is used to enable high availability for domain names.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyDDoSPolicyWithContext

func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)

ModifyDDoSPolicy This API is used to modify DDoS mitigation configuration.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

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"
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"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

func (*Client) ModifyDnsRecord

func (c *Client) ModifyDnsRecord(request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)

ModifyDnsRecord This API is used to modify DNS records.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifyDnsRecordWithContext

func (c *Client) ModifyDnsRecordWithContext(ctx context.Context, request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)

ModifyDnsRecord This API is used to modify DNS records.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ModifyDnssec

func (c *Client) ModifyDnssec(request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)

ModifyDnssec This API is used to modify the DNSSEC status of a site.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyDnssecWithContext

func (c *Client) ModifyDnssecWithContext(ctx context.Context, request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)

ModifyDnssec This API is used to modify the DNSSEC status of a site.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

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"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
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"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyLoadBalancing

func (c *Client) ModifyLoadBalancing(request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)

ModifyLoadBalancing This API is used to modify a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyLoadBalancingStatus

func (c *Client) ModifyLoadBalancingStatus(request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)

ModifyLoadBalancingStatus This API is used to modify the status of a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyLoadBalancingStatusWithContext

func (c *Client) ModifyLoadBalancingStatusWithContext(ctx context.Context, request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)

ModifyLoadBalancingStatus This API is used to modify the status of a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyLoadBalancingWithContext

func (c *Client) ModifyLoadBalancingWithContext(ctx context.Context, request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)

ModifyLoadBalancing This API is used to modify a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyLogTopicTask

func (c *Client) ModifyLogTopicTask(request *ModifyLogTopicTaskRequest) (response *ModifyLogTopicTaskResponse, err error)

ModifyLogTopicTask This API is used to modify a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyLogTopicTaskWithContext

func (c *Client) ModifyLogTopicTaskWithContext(ctx context.Context, request *ModifyLogTopicTaskRequest) (response *ModifyLogTopicTaskResponse, err error)

ModifyLogTopicTask This API is used to modify a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

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"
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"
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:

INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

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:

INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

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:

INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

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:

INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

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:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyZoneCnameSpeedUp

func (c *Client) ModifyZoneCnameSpeedUp(request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)

ModifyZoneCnameSpeedUp This API is used to modify the CNAME acceleration status.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyZoneCnameSpeedUpWithContext

func (c *Client) ModifyZoneCnameSpeedUpWithContext(ctx context.Context, request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)

ModifyZoneCnameSpeedUp This API is used to modify the CNAME acceleration status.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

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:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
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:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
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:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

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:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

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:

OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

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:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

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:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) SwitchLogTopicTask

func (c *Client) SwitchLogTopicTask(request *SwitchLogTopicTaskRequest) (response *SwitchLogTopicTaskResponse, err error)

SwitchLogTopicTask This API is used to enable or disable a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) SwitchLogTopicTaskWithContext

func (c *Client) SwitchLogTopicTaskWithContext(ctx context.Context, request *SwitchLogTopicTaskRequest) (response *SwitchLogTopicTaskResponse, err error)

SwitchLogTopicTask This API is used to enable or disable a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

type ClientIpCountry

type ClientIpCountry struct {
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	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"`

	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 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 origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li>
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The origin type. Values:
	// `custom`: Origin server, which is formatted as "IP:Port" or "Domain name:Port"
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information:
	// When `OriginType=custom`, it indicates one or more origin servers. Example:
	// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
	// OriginValue=["test.com:80"];
	// When `OriginType=origins`, it indicates an origin group ID. Example:
	// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
	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"`
}

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 origin type. Values:
	// <li>`custom`: Specified origins</li>
	// <li>`origins`: Origin group</li>
	Port []*string `json:"Port,omitempty" name:"Port"`

	// The origin type. Values:
	// `custom`: Origin server, which is formatted as "IP:Port" or "Domain name:Port"
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information:
	// When `OriginType=custom`, it indicates one or more origin servers. Example:
	// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
	// OriginValue=["test.com:80"];
	// When `OriginType=origins`, it indicates an origin group ID. Example:
	// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
	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"`
}

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 CreateCustomErrorPageRequest

type CreateCustomErrorPageRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Name of the file specified to be returned.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The custom page content, which is passed after being URL-encoded.
	Content *string `json:"Content,omitempty" name:"Content"`
}

func NewCreateCustomErrorPageRequest

func NewCreateCustomErrorPageRequest() (request *CreateCustomErrorPageRequest)

func (*CreateCustomErrorPageRequest) FromJsonString

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

func (r *CreateCustomErrorPageRequest) ToJsonString() string

type CreateCustomErrorPageRequestParams

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

	// The subdomain name.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Name of the file specified to be returned.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The custom page content, which is passed after being URL-encoded.
	Content *string `json:"Content,omitempty" name:"Content"`
}

Predefined struct for user

type CreateCustomErrorPageResponse

type CreateCustomErrorPageResponse struct {
	*tchttp.BaseResponse
	Response *CreateCustomErrorPageResponseParams `json:"Response"`
}

func NewCreateCustomErrorPageResponse

func NewCreateCustomErrorPageResponse() (response *CreateCustomErrorPageResponse)

func (*CreateCustomErrorPageResponse) FromJsonString

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

func (r *CreateCustomErrorPageResponse) ToJsonString() string

type CreateCustomErrorPageResponseParams

type CreateCustomErrorPageResponseParams struct {
	// ID of the custom page
	PageId *int64 `json:"PageId,omitempty" name:"PageId"`

	// 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 CreateDnsRecordRequest

type CreateDnsRecordRequest struct {
	*tchttp.BaseRequest

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

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The DNS record name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The DNS record content.
	Content *string `json:"Content,omitempty" name:"Content"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}

func NewCreateDnsRecordRequest

func NewCreateDnsRecordRequest() (request *CreateDnsRecordRequest)

func (*CreateDnsRecordRequest) FromJsonString

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

func (r *CreateDnsRecordRequest) ToJsonString() string

type CreateDnsRecordRequestParams

type CreateDnsRecordRequestParams struct {
	// The site ID of the DNS record.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The DNS record name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The DNS record content.
	Content *string `json:"Content,omitempty" name:"Content"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}

Predefined struct for user

type CreateDnsRecordResponse

type CreateDnsRecordResponse struct {
	*tchttp.BaseResponse
	Response *CreateDnsRecordResponseParams `json:"Response"`
}

func NewCreateDnsRecordResponse

func NewCreateDnsRecordResponse() (response *CreateDnsRecordResponse)

func (*CreateDnsRecordResponse) FromJsonString

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

func (r *CreateDnsRecordResponse) ToJsonString() string

type CreateDnsRecordResponseParams

type CreateDnsRecordResponseParams struct {
	// The DNS record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

	// 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 CreateIpTableListRequest

type CreateIpTableListRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// List of basic access control rules.
	IpTableRules []*IpTableRule `json:"IpTableRules,omitempty" name:"IpTableRules"`
}

func NewCreateIpTableListRequest

func NewCreateIpTableListRequest() (request *CreateIpTableListRequest)

func (*CreateIpTableListRequest) FromJsonString

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

func (r *CreateIpTableListRequest) ToJsonString() string

type CreateIpTableListRequestParams

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// List of basic access control rules.
	IpTableRules []*IpTableRule `json:"IpTableRules,omitempty" name:"IpTableRules"`
}

Predefined struct for user

type CreateIpTableListResponse

type CreateIpTableListResponse struct {
	*tchttp.BaseResponse
	Response *CreateIpTableListResponseParams `json:"Response"`
}

func NewCreateIpTableListResponse

func NewCreateIpTableListResponse() (response *CreateIpTableListResponse)

func (*CreateIpTableListResponse) FromJsonString

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

func (r *CreateIpTableListResponse) ToJsonString() string

type CreateIpTableListResponseParams

type CreateIpTableListResponseParams 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 CreateLoadBalancingRequest

type CreateLoadBalancingRequest struct {
	*tchttp.BaseRequest

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

	// The load balancing hostname.
	Host *string `json:"Host,omitempty" name:"Host"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Type *string `json:"Type,omitempty" name:"Type"`

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

	// The ID of the secondary origin group (only available when `Type=proxied`). If not specified, it indicates that secondary origins are not used.
	BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`

	// When `Type=dns_only`, it indicates the amount of time that DNS records remain in the cache of a DNS server.
	// Value range: 60-86400 (in seconds). If it's not specified, the default value 600 will be used.
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}

func NewCreateLoadBalancingRequest

func NewCreateLoadBalancingRequest() (request *CreateLoadBalancingRequest)

func (*CreateLoadBalancingRequest) FromJsonString

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

func (r *CreateLoadBalancingRequest) ToJsonString() string

type CreateLoadBalancingRequestParams

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

	// The load balancing hostname.
	Host *string `json:"Host,omitempty" name:"Host"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Type *string `json:"Type,omitempty" name:"Type"`

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

	// The ID of the secondary origin group (only available when `Type=proxied`). If not specified, it indicates that secondary origins are not used.
	BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`

	// When `Type=dns_only`, it indicates the amount of time that DNS records remain in the cache of a DNS server.
	// Value range: 60-86400 (in seconds). If it's not specified, the default value 600 will be used.
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}

Predefined struct for user

type CreateLoadBalancingResponse

type CreateLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *CreateLoadBalancingResponseParams `json:"Response"`
}

func NewCreateLoadBalancingResponse

func NewCreateLoadBalancingResponse() (response *CreateLoadBalancingResponse)

func (*CreateLoadBalancingResponse) FromJsonString

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

func (r *CreateLoadBalancingResponse) ToJsonString() string

type CreateLoadBalancingResponseParams

type CreateLoadBalancingResponseParams struct {
	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// 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 CreateLogSetRequest

type CreateLogSetRequest struct {
	*tchttp.BaseRequest

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}

func NewCreateLogSetRequest

func NewCreateLogSetRequest() (request *CreateLogSetRequest)

func (*CreateLogSetRequest) FromJsonString

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

func (r *CreateLogSetRequest) ToJsonString() string

type CreateLogSetRequestParams

type CreateLogSetRequestParams struct {
	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}

Predefined struct for user

type CreateLogSetResponse

type CreateLogSetResponse struct {
	*tchttp.BaseResponse
	Response *CreateLogSetResponseParams `json:"Response"`
}

func NewCreateLogSetResponse

func NewCreateLogSetResponse() (response *CreateLogSetResponse)

func (*CreateLogSetResponse) FromJsonString

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

func (r *CreateLogSetResponse) ToJsonString() string

type CreateLogSetResponseParams

type CreateLogSetResponseParams struct {
	// ID of the logset created.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// 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 CreateLogTopicTaskRequest

type CreateLogTopicTaskRequest struct {
	*tchttp.BaseRequest

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

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// Topic name of the logset.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

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

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

	// 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"`

	// Retention period of the log topic. Value range: 1–366 (in days).
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// List of shipping entities.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Global (outside the Chinese mainland).</li> If this field is not specified, the acceleration region will be determined based on the user’s region.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewCreateLogTopicTaskRequest

func NewCreateLogTopicTaskRequest() (request *CreateLogTopicTaskRequest)

func (*CreateLogTopicTaskRequest) FromJsonString

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

func (r *CreateLogTopicTaskRequest) ToJsonString() string

type CreateLogTopicTaskRequestParams

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

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// Topic name of the logset.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

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

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

	// 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"`

	// Retention period of the log topic. Value range: 1–366 (in days).
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// List of shipping entities.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Global (outside the Chinese mainland).</li> If this field is not specified, the acceleration region will be determined based on the user’s region.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type CreateLogTopicTaskResponse

type CreateLogTopicTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateLogTopicTaskResponseParams `json:"Response"`
}

func NewCreateLogTopicTaskResponse

func NewCreateLogTopicTaskResponse() (response *CreateLogTopicTaskResponse)

func (*CreateLogTopicTaskResponse) FromJsonString

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

func (r *CreateLogTopicTaskResponse) ToJsonString() string

type CreateLogTopicTaskResponseParams

type CreateLogTopicTaskResponseParams struct {
	// ID of the log topic created.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// 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"`

	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"`

	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"`

	// Plan options available for purchase. Values:
	// <li>`sta`: Standard plan for global areas except Chinese mainland;</li>
	// <li>`sta_with_bot`: Standard plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`sta_cm`: Standard plan for Chinese mainland;</li>
	// <li>`sta_cm_with_bot`: Standard plan for Chinese mainland, with extra bot management;</li>
	// <li>`ent`: Enterprise plan for global areas except Chinese mainland;</li>
	// <li>`ent_with_bot`: Enterprise plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`ent_cm`: Enterprise plan for Chinese mainland;</li>
	// <li>`ent_cm_with_bot`: Enterprise plan for Chinese mainland, with extra 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"`

	// Plan options available for purchase. Values:
	// <li>`sta`: Standard plan for global areas except Chinese mainland;</li>
	// <li>`sta_with_bot`: Standard plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`sta_cm`: Standard plan for Chinese mainland;</li>
	// <li>`sta_cm_with_bot`: Standard plan for Chinese mainland, with extra bot management;</li>
	// <li>`ent`: Enterprise plan for global areas except Chinese mainland;</li>
	// <li>`ent_with_bot`: Enterprise plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`ent_cm`: Enterprise plan for Chinese mainland;</li>
	// <li>`ent_cm_with_bot`: Enterprise plan for Chinese mainland, with extra 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"`

	// Purging mode. Values:
	// <li>`purge_url`: Purge URLs;</li>
	// <li>`purge_prefix`: Purge prefixes;</li>
	// <li>`purge_host`: Purge hostnames;</li>
	// <li>`purge_all`: Purge all caches.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Hostnames are purged, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Prefixes are purged, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// URLs are purged, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`: All types of resources are purged.
	// `Targets` is not a required field.
	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"`

	// Purging mode. Values:
	// <li>`purge_url`: Purge URLs;</li>
	// <li>`purge_prefix`: Purge prefixes;</li>
	// <li>`purge_host`: Purge hostnames;</li>
	// <li>`purge_all`: Purge all caches.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Hostnames are purged, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Prefixes are purged, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// URLs are purged, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`: All types of resources are purged.
	// `Targets` is not a required field.
	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"`
}

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"`
}

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 CreateSecurityDropPageRequest

type CreateSecurityDropPageRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Name of the block page file.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The block page content, which is passed after being URL-encoded.
	Content *string `json:"Content,omitempty" name:"Content"`

	// How to build the block page. Values:
	// <li>`file`: Upload a file to be URL-encoded.</li>
	// <li>`url`: Upload a URL to be URL-encoded.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The module that applies on the block page. Values:
	// <li>`waf`: Managed rules</li>
	// <li>`rate`: Custom rules</li>
	Module *string `json:"Module,omitempty" name:"Module"`
}

func NewCreateSecurityDropPageRequest

func NewCreateSecurityDropPageRequest() (request *CreateSecurityDropPageRequest)

func (*CreateSecurityDropPageRequest) FromJsonString

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

func (r *CreateSecurityDropPageRequest) ToJsonString() string

type CreateSecurityDropPageRequestParams

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

	// The subdomain name.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Name of the block page file.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The block page content, which is passed after being URL-encoded.
	Content *string `json:"Content,omitempty" name:"Content"`

	// How to build the block page. Values:
	// <li>`file`: Upload a file to be URL-encoded.</li>
	// <li>`url`: Upload a URL to be URL-encoded.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The module that applies on the block page. Values:
	// <li>`waf`: Managed rules</li>
	// <li>`rate`: Custom rules</li>
	Module *string `json:"Module,omitempty" name:"Module"`
}

Predefined struct for user

type CreateSecurityDropPageResponse

type CreateSecurityDropPageResponse struct {
	*tchttp.BaseResponse
	Response *CreateSecurityDropPageResponseParams `json:"Response"`
}

func NewCreateSecurityDropPageResponse

func NewCreateSecurityDropPageResponse() (response *CreateSecurityDropPageResponse)

func (*CreateSecurityDropPageResponse) FromJsonString

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

func (r *CreateSecurityDropPageResponse) ToJsonString() string

type CreateSecurityDropPageResponseParams

type CreateSecurityDropPageResponseParams struct {
	// ID of the custom page.
	PageId *int64 `json:"PageId,omitempty" name:"PageId"`

	// 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.</li>This field will be set to the default value `full` if not specified.
	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"`
}

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.</li>This field will be set to the default value `full` if not specified.
	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"`
}

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 DDoSAcl

type DDoSAcl struct {
	// Array of port filtering rules.
	DDoSAclRules []*DDoSAclRule `json:"DDoSAclRules,omitempty" name:"DDoSAclRules"`

	// Whether to clear port filtering rules. Values:
	// <li>`off`: Clear port filtering rules.</li>
	// <li>`on`: Configure port filtering rules. In this case, DDoSAclRules needs to be specified.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type DDoSAclRule

type DDoSAclRule struct {
	// End of the destination port. Value range: 0–65535.
	DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"`

	// Start of the destination port. Value range: 0–65535.
	DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"`

	// End of the source port. Value range: 0–65535.
	SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"`

	// Start of the source port. Value range: 0–65535.
	SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"`

	// The protocol. Values:
	// <li>`tcp`: TCP protocol</li>
	// <li>`udp`: UDP protocol</li>
	// <li>`all`: All protocols</li>
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Action to be executed. Values:
	// <li>`drop`: Discard</li>
	// <li>`transmit`: Allow</li>
	// <li>`forward`: Continue protection</li>
	Action *string `json:"Action,omitempty" name:"Action"`
}

type DDoSAllowBlock

type DDoSAllowBlock struct {
	// Array of objects in the blocklist/allowlist configuration.
	DDoSAllowBlockRules []*DDoSAllowBlockRule `json:"DDoSAllowBlockRules,omitempty" name:"DDoSAllowBlockRules"`

	// Whether to clear the blocklist/allowlist. Values:
	// <li>`off`: Disable.</li>
	// <li>`on`: Enable. In this case, UserAllowBlockIp needs to be specified.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type DDoSAllowBlockRule

type DDoSAllowBlockRule struct {
	// The client IP, which can be a single IP, IP range, or subnet range, such as "1.1.1.1", "1.1.1.2-1.1.1.3", and "1.2.1.0/24-1.2.2.0/24".
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// The type. Values:
	// <li>`block`: Blocklist</li><li>`allow`: Allowlist</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The 10-digit timestamp, such as `1199116800`. The current time will be used if this field is not specified.
	UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type DDoSAntiPly

type DDoSAntiPly struct {
	// Whether to enable TCP protocol blocking. Values:
	// <li>`off`: Disable</li>
	// <li>`on`: Enable</li>
	DropTcp *string `json:"DropTcp,omitempty" name:"DropTcp"`

	// Whether to enable UDP protocol blocking. Values:
	// <li>`off`: Disable</li>
	// <li>`on`: Enable</li>
	DropUdp *string `json:"DropUdp,omitempty" name:"DropUdp"`

	// Whether to enable ICMP protocol blocking. Values:
	// <li>`off`: Disable</li>
	// <li>`on`: Enable</li>
	DropIcmp *string `json:"DropIcmp,omitempty" name:"DropIcmp"`

	// Whether to enable blocking of other protocols. Values:
	// <li>`off`: Disable</li>
	// <li>`on`: Enable</li>
	DropOther *string `json:"DropOther,omitempty" name:"DropOther"`

	// Maximum number of new connections to the origin per second. Value range: 0–4294967295.
	SourceCreateLimit *int64 `json:"SourceCreateLimit,omitempty" name:"SourceCreateLimit"`

	// Maximum number of concurrent connections to the origin. Value range: 0–4294967295.
	SourceConnectLimit *int64 `json:"SourceConnectLimit,omitempty" name:"SourceConnectLimit"`

	// Maximum number of new connections to the destination port per second. Value range: 0–4294967295.
	DestinationCreateLimit *int64 `json:"DestinationCreateLimit,omitempty" name:"DestinationCreateLimit"`

	// Maximum number of concurrent connections to the destination port. Value range: 0–4294967295.
	DestinationConnectLimit *int64 `json:"DestinationConnectLimit,omitempty" name:"DestinationConnectLimit"`

	// Maximum number of abnormal connections per second. Value range: 0–4294967295.
	AbnormalConnectNum *int64 `json:"AbnormalConnectNum,omitempty" name:"AbnormalConnectNum"`

	// Maximum percentage of abnormal SYN packets. Value range: 0–100.
	AbnormalSynRatio *int64 `json:"AbnormalSynRatio,omitempty" name:"AbnormalSynRatio"`

	// Maximum number of abnormal SYN packets. Value range: 0–65535.
	AbnormalSynNum *int64 `json:"AbnormalSynNum,omitempty" name:"AbnormalSynNum"`

	// Maximum number of detected connections timed out per second. Value range: 0–65535.
	ConnectTimeout *int64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`

	// Whether to enable null session protection. Values:
	// <li>`off`: Disable</li>
	// <li>`on`: Enable</li>
	EmptyConnectProtect *string `json:"EmptyConnectProtect,omitempty" name:"EmptyConnectProtect"`

	// Whether to enable UDP fragmentation. Values:
	// <li>`off`: Disable</li>
	// <li>`on`: Enable</li>
	UdpShard *string `json:"UdpShard,omitempty" name:"UdpShard"`
}

type DDoSAttackEvent

type DDoSAttackEvent struct {
	// The event ID.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// The attack type.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// The attack status.
	AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"`

	// The maximum attack bandwidth.
	AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"`

	// The peak attack packet rate.
	AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitempty" name:"AttackPacketMaxRate"`

	// The attack start time recorded in seconds.
	AttackStartTime *int64 `json:"AttackStartTime,omitempty" name:"AttackStartTime"`

	// The attack end time recorded in seconds.
	AttackEndTime *int64 `json:"AttackEndTime,omitempty" name:"AttackEndTime"`

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

	// 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"`
}

type DDoSAttackEventDetailData

type DDoSAttackEventDetailData struct {
	// The attack status. Values:
	// <li>`1`: The attack is being observed;</li>
	// <li>`2`: The attack started;</li>
	// <li>`3`: The attack ended.</li>
	AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"`

	// The attack type.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// The end time.
	EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`

	// The start time.
	StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`

	// The maximum bandwidth.
	MaxBandWidth *int64 `json:"MaxBandWidth,omitempty" name:"MaxBandWidth"`

	// The maximum packet rate.
	PacketMaxRate *int64 `json:"PacketMaxRate,omitempty" name:"PacketMaxRate"`

	// The event ID.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// The DDoS policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}

type DDoSAttackSourceEvent

type DDoSAttackSourceEvent struct {
	// The attacker IP.
	AttackSourceIp *string `json:"AttackSourceIp,omitempty" name:"AttackSourceIp"`

	// The country or region.
	AttackRegion *string `json:"AttackRegion,omitempty" name:"AttackRegion"`

	// The accumulative attack traffic.
	AttackFlow *uint64 `json:"AttackFlow,omitempty" name:"AttackFlow"`

	// The accumulative attack packets.
	AttackPacketNum *uint64 `json:"AttackPacketNum,omitempty" name:"AttackPacketNum"`
}

type DDoSBlockData

type DDoSBlockData struct {
	// The start time recorded in UNIX timestamp.
	StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`

	// The start time recorded in UNIX timestamp.
	EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
}

type DDoSFeaturesFilter

type DDoSFeaturesFilter struct {
	// Action to be executed. Valid values:
	// <li>`drop`: Discard</li>
	// <li>`transmit`: Allow</li>
	// <li>`drop_block`: Discard and block</li>
	// <li>`forward`: Continue protection</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The protocol. Values:
	// <li>`tcp`: TCP protocol</li>
	// <li>`udp`: UDP protocol</li>
	// <li>`icmp`: ICMP protocol</li>
	// <li>`all`: All protocols</li>
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Start of the destination port. Value range: 0–65535.
	DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"`

	// End of the destination port. Value range: 0–65535.
	DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"`

	// Minimum packet length. Value range: 0–1500.
	PacketMin *int64 `json:"PacketMin,omitempty" name:"PacketMin"`

	// Maximum packet length. Value range: 0–1500.
	PacketMax *int64 `json:"PacketMax,omitempty" name:"PacketMax"`

	// Start of the source port. Value range: 0–65535.
	SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"`

	// End of the source port. Value range: 0–65535.
	SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"`

	// Matching method 1 of **feature 1**. Values:
	// <li>`pcre`: Regular expression match</li>
	// <li>`sunday`: String match</li>An empty string is used by default.
	MatchType *string `json:"MatchType,omitempty" name:"MatchType"`

	// Whether the pattern in **feature 1** is matched. This parameter is used together with `MatchType`. Values:
	// <li>`0`: Matched</li>
	// <li>`1`: Not matched</li>
	IsNot *int64 `json:"IsNot,omitempty" name:"IsNot"`

	// Offset 1 of **feature 1**. Value range: 0–1500.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The depth to inspect **feature 1** in the packet. Value range: 1–1500.
	Depth *int64 `json:"Depth,omitempty" name:"Depth"`

	// The layer from which each match starts. Values:
	// <li>`begin_l5`: Start from the payload.</li>
	// <li>`begin_l4`: Start from the TCP/UDP header.</li>
	// <li>`begin_l3`: Start from the IP header.</li>
	MatchBegin *string `json:"MatchBegin,omitempty" name:"MatchBegin"`

	// The match content of **feature 1**.
	Str *string `json:"Str,omitempty" name:"Str"`

	// Matching method 2 of **feature 2**. Values:
	// <li>`pcre`: Regular expression match</li>
	// <li>`sunday`: String match</li>An empty string is used by default.
	MatchType2 *string `json:"MatchType2,omitempty" name:"MatchType2"`

	// Whether the pattern in **feature 2** is matched. This parameter is used together with `MatchType2`. Values:
	// <li>`0`: Matched</li>
	// <li>`1`: Not matched</li>
	IsNot2 *int64 `json:"IsNot2,omitempty" name:"IsNot2"`

	// Offset 2 of **feature 2**. Value range: 0–1500.
	Offset2 *int64 `json:"Offset2,omitempty" name:"Offset2"`

	// The depth to inspect **feature 2** in the packet. Value range: 1–1500.
	Depth2 *int64 `json:"Depth2,omitempty" name:"Depth2"`

	// The layer from which each match starts. Values:
	// <li>`begin_l5`: Start from the payload.</li>
	// <li>`begin_l4`: Start from the TCP/UDP header.</li>
	// <li>`begin_l3`: Start from the IP header.</li>
	MatchBegin2 *string `json:"MatchBegin2,omitempty" name:"MatchBegin2"`

	// The match content of **feature 2**.
	Str2 *string `json:"Str2,omitempty" name:"Str2"`

	// Multi-feature relationship. Enter `none` if only **feature 1** is configured. If **feature 2** exists, you can leave this parameter empty.
	MatchLogic *string `json:"MatchLogic,omitempty" name:"MatchLogic"`
}

type DDoSGeoIp

type DDoSGeoIp struct {
	// Whether to clear the blocklist of the region. Values:
	// <li>`off`: Clear the blocklist of the region.</li>
	// <li>`on`: Perform no operations.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Region information. For more information on the ID, see [DescribeSecurityPolicyRegions](https://tcloud4api.woa.com/document/product/1657/81247?!preview&!document=1).
	RegionIds []*int64 `json:"RegionIds,omitempty" name:"RegionIds"`
}

type DDoSHost

type DDoSHost struct {
	// The second-level domain name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Status of the domain name. Values:
	// `init`: NS to be switched
	// `offline`: Site acceleration not enabled with DNS
	// `process`: Deployment in progress
	// `online`: Normal
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Site acceleration switch. `on`: Enable site acceleration; `off`: Disable site acceleration. This field can be used together with `SecurityType`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// Security acceleration switch. `on`: Enable site acceleration; `off`: Disable site acceleration. This field can be used together with `AccelerateType`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}

type DDoSMajorAttackEvent

type DDoSMajorAttackEvent struct {
	// The DDoS policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`

	// The maximum attack bandwidth.
	AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"`

	// The attack time recorded in seconds using UNIX timestamp.
	AttackTime *int64 `json:"AttackTime,omitempty" name:"AttackTime"`
}

type DDoSPacketFilter

type DDoSPacketFilter struct {
	// Array of feature filtering rules.
	DDoSFeaturesFilters []*DDoSFeaturesFilter `json:"DDoSFeaturesFilters,omitempty" name:"DDoSFeaturesFilters"`

	// Whether to clear feature filtering rules. Values:
	// <li>`off`: Clear feature filtering rules.</li>
	// <li>`on`: Configure feature filtering rules. In this case, `DDoSFeaturesFilters` needs to be specified.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type DDoSRule

type DDoSRule struct {
	// The DDoS mitigation level. 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.
	DDoSStatusInfo *DDoSStatusInfo `json:"DDoSStatusInfo,omitempty" name:"DDoSStatusInfo"`

	// The regional blocking 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.
	DDoSGeoIp *DDoSGeoIp `json:"DDoSGeoIp,omitempty" name:"DDoSGeoIp"`

	// The IP blocklist/allowlist. 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.
	DDoSAllowBlock *DDoSAllowBlock `json:"DDoSAllowBlock,omitempty" name:"DDoSAllowBlock"`

	// The protocol and connection protection 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.
	DDoSAntiPly *DDoSAntiPly `json:"DDoSAntiPly,omitempty" name:"DDoSAntiPly"`

	// The feature 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.
	DDoSPacketFilter *DDoSPacketFilter `json:"DDoSPacketFilter,omitempty" name:"DDoSPacketFilter"`

	// The port 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.
	DDoSAcl *DDoSAcl `json:"DDoSAcl,omitempty" name:"DDoSAcl"`

	// Whether to enable DDoS mitigation. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>If it is null, the setting that was last configured will be used.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Whether to enable UDP fragmentation. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>It is required only when used as an output parameter.
	UdpShardOpen *string `json:"UdpShardOpen,omitempty" name:"UdpShardOpen"`

	// 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.
	DDoSSpeedLimit *DDoSSpeedLimit `json:"DDoSSpeedLimit,omitempty" name:"DDoSSpeedLimit"`
}

type DDoSSpeedLimit

type DDoSSpeedLimit struct {
	// The limit on origin packet rate. Value range: 1 pps - 1000 Gpps. If 0 is passed, the packet rate will not be restricted.
	PackageLimit *string `json:"PackageLimit,omitempty" name:"PackageLimit"`

	// The limit on origin traffic rate. Value range: 1 bps - 10000 Gbps. If 0 is passed, the traffic rate will not be restricted.
	FluxLimit *string `json:"FluxLimit,omitempty" name:"FluxLimit"`
}

type DDoSStatusInfo

type DDoSStatusInfo struct {
	// The policy level. Values:
	// <li>`low`: Loose.</li>
	// <li>`middle`: Moderate</li>
	// <li>`high`: Strict</li>
	PlyLevel *string `json:"PlyLevel,omitempty" name:"PlyLevel"`
}

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>
	// Note: This field may return null, indicating that no valid values 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"`

	SignAlgo *string `json:"SignAlgo,omitempty" name:"SignAlgo"`
}

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 DeleteDnsRecordsRequest

type DeleteDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// The site ID of the DNS record to be deleted.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The ID of the DNS record to be deleted.
	DnsRecordIds []*string `json:"DnsRecordIds,omitempty" name:"DnsRecordIds"`
}

func NewDeleteDnsRecordsRequest

func NewDeleteDnsRecordsRequest() (request *DeleteDnsRecordsRequest)

func (*DeleteDnsRecordsRequest) FromJsonString

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

func (r *DeleteDnsRecordsRequest) ToJsonString() string

type DeleteDnsRecordsRequestParams

type DeleteDnsRecordsRequestParams struct {
	// The site ID of the DNS record to be deleted.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The ID of the DNS record to be deleted.
	DnsRecordIds []*string `json:"DnsRecordIds,omitempty" name:"DnsRecordIds"`
}

Predefined struct for user

type DeleteDnsRecordsResponse

type DeleteDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDnsRecordsResponseParams `json:"Response"`
}

func NewDeleteDnsRecordsResponse

func NewDeleteDnsRecordsResponse() (response *DeleteDnsRecordsResponse)

func (*DeleteDnsRecordsResponse) FromJsonString

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

func (r *DeleteDnsRecordsResponse) ToJsonString() string

type DeleteDnsRecordsResponseParams

type DeleteDnsRecordsResponseParams 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 DeleteLoadBalancingRequest

type DeleteLoadBalancingRequest struct {
	*tchttp.BaseRequest

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

	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}

func NewDeleteLoadBalancingRequest

func NewDeleteLoadBalancingRequest() (request *DeleteLoadBalancingRequest)

func (*DeleteLoadBalancingRequest) FromJsonString

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

func (r *DeleteLoadBalancingRequest) ToJsonString() string

type DeleteLoadBalancingRequestParams

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

	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}

Predefined struct for user

type DeleteLoadBalancingResponse

type DeleteLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoadBalancingResponseParams `json:"Response"`
}

func NewDeleteLoadBalancingResponse

func NewDeleteLoadBalancingResponse() (response *DeleteLoadBalancingResponse)

func (*DeleteLoadBalancingResponse) FromJsonString

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

func (r *DeleteLoadBalancingResponse) ToJsonString() string

type DeleteLoadBalancingResponseParams

type DeleteLoadBalancingResponseParams 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 DeleteLogTopicTaskRequest

type DeleteLogTopicTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the shipping task to be deleted.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}

func NewDeleteLogTopicTaskRequest

func NewDeleteLogTopicTaskRequest() (request *DeleteLogTopicTaskRequest)

func (*DeleteLogTopicTaskRequest) FromJsonString

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

func (r *DeleteLogTopicTaskRequest) ToJsonString() string

type DeleteLogTopicTaskRequestParams

type DeleteLogTopicTaskRequestParams struct {
	// ID of the shipping task to be deleted.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}

Predefined struct for user

type DeleteLogTopicTaskResponse

type DeleteLogTopicTaskResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLogTopicTaskResponseParams `json:"Response"`
}

func NewDeleteLogTopicTaskResponse

func NewDeleteLogTopicTaskResponse() (response *DeleteLogTopicTaskResponse)

func (*DeleteLogTopicTaskResponse) FromJsonString

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

func (r *DeleteLogTopicTaskResponse) ToJsonString() string

type DeleteLogTopicTaskResponseParams

type DeleteLogTopicTaskResponseParams 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 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>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-vawer2vadg<br>   Type: String<br>   Required: No
	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>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-vawer2vadg<br>   Type: String<br>   Required: No
	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 DescribeBillingDataRequest

type DescribeBillingDataRequest struct {
	*tchttp.BaseRequest

	// Start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Time granularity. Values:
	// <ul>
	// <li>`min`: One minute</li>
	// <li>`5min`: Five minutes</li>
	// <li>`hour`: One hour</li>
	// <li>`day`: One day</li>
	// </ul>
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Metric item. Values:
	// <ul>
	// <li>`acc_flux`: Content acceleration traffic;</li>
	// <li>`quic_request`: QUIC requests;</li>
	// <li>`sec_flux`: Security traffic;</li>
	// <li>`sec_request_clean`: Clean security requests.</li>
	// </ul>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Filter item. Values:
	// <ul>
	// <li>`zone`: Site;</li>
	// <li>`plan`: Service plan;</li>
	// <li>`service`: L4 or L7;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	// </ul>
	Filters []*BillingDataFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeBillingDataRequest

func NewDescribeBillingDataRequest() (request *DescribeBillingDataRequest)

func (*DescribeBillingDataRequest) FromJsonString

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

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

func (*DescribeBillingDataRequest) ToJsonString

func (r *DescribeBillingDataRequest) ToJsonString() string

type DescribeBillingDataRequestParams

type DescribeBillingDataRequestParams struct {
	// Start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Time granularity. Values:
	// <ul>
	// <li>`min`: One minute</li>
	// <li>`5min`: Five minutes</li>
	// <li>`hour`: One hour</li>
	// <li>`day`: One day</li>
	// </ul>
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Metric item. Values:
	// <ul>
	// <li>`acc_flux`: Content acceleration traffic;</li>
	// <li>`quic_request`: QUIC requests;</li>
	// <li>`sec_flux`: Security traffic;</li>
	// <li>`sec_request_clean`: Clean security requests.</li>
	// </ul>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Filter item. Values:
	// <ul>
	// <li>`zone`: Site;</li>
	// <li>`plan`: Service plan;</li>
	// <li>`service`: L4 or L7;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	// </ul>
	Filters []*BillingDataFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeBillingDataResponse

type DescribeBillingDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBillingDataResponseParams `json:"Response"`
}

func NewDescribeBillingDataResponse

func NewDescribeBillingDataResponse() (response *DescribeBillingDataResponse)

func (*DescribeBillingDataResponse) FromJsonString

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

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

func (*DescribeBillingDataResponse) ToJsonString

func (r *DescribeBillingDataResponse) ToJsonString() string

type DescribeBillingDataResponseParams

type DescribeBillingDataResponseParams struct {
	// Data of the sampling point
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DnsData `json:"Data,omitempty" name:"Data"`

	// Time granularity of sampling
	// Note: This field may return null, indicating that no valid values can be obtained.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// 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 DescribeBotClientIpListRequest

type DescribeBotClientIpListRequest 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 NewDescribeBotClientIpListRequest

func NewDescribeBotClientIpListRequest() (request *DescribeBotClientIpListRequest)

func (*DescribeBotClientIpListRequest) FromJsonString

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

func (r *DescribeBotClientIpListRequest) ToJsonString() string

type DescribeBotClientIpListRequestParams

type DescribeBotClientIpListRequestParams 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 DescribeBotClientIpListResponse

type DescribeBotClientIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBotClientIpListResponseParams `json:"Response"`
}

func NewDescribeBotClientIpListResponse

func NewDescribeBotClientIpListResponse() (response *DescribeBotClientIpListResponse)

func (*DescribeBotClientIpListResponse) FromJsonString

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

func (r *DescribeBotClientIpListResponse) ToJsonString() string

type DescribeBotClientIpListResponseParams

type DescribeBotClientIpListResponseParams struct {
	// The list of client IP data.
	// 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 DescribeBotDataRequest

type DescribeBotDataRequest 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>`bot_interceptNum`: Blocked bot requests;</li>
	// <li>`bot_noneRequestNum`: Uncategorized bot requests;</li>
	// <li>`bot_maliciousRequestNum`: Malicious bot requests;</li>
	// <li>`bot_suspectedRequestNum`: Suspected bot requests;</li>
	// <li>`bot_friendlyRequestNum`: Friendly bot requests;</li>
	// <li>`bot_normalRequestNum`: Normal bot requests.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// 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"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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 NewDescribeBotDataRequest

func NewDescribeBotDataRequest() (request *DescribeBotDataRequest)

func (*DescribeBotDataRequest) FromJsonString

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

func (r *DescribeBotDataRequest) ToJsonString() string

type DescribeBotDataRequestParams

type DescribeBotDataRequestParams 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>`bot_interceptNum`: Blocked bot requests;</li>
	// <li>`bot_noneRequestNum`: Uncategorized bot requests;</li>
	// <li>`bot_maliciousRequestNum`: Malicious bot requests;</li>
	// <li>`bot_suspectedRequestNum`: Suspected bot requests;</li>
	// <li>`bot_friendlyRequestNum`: Friendly bot requests;</li>
	// <li>`bot_normalRequestNum`: Normal bot requests.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// 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"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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 DescribeBotDataResponse

type DescribeBotDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBotDataResponseParams `json:"Response"`
}

func NewDescribeBotDataResponse

func NewDescribeBotDataResponse() (response *DescribeBotDataResponse)

func (*DescribeBotDataResponse) FromJsonString

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

func (r *DescribeBotDataResponse) ToJsonString() string

type DescribeBotDataResponseParams

type DescribeBotDataResponseParams struct {
	// The list of bot attack data.
	// 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 DescribeBotHitRuleDetailRequest

type DescribeBotHitRuleDetailRequest 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 NewDescribeBotHitRuleDetailRequest

func NewDescribeBotHitRuleDetailRequest() (request *DescribeBotHitRuleDetailRequest)

func (*DescribeBotHitRuleDetailRequest) FromJsonString

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

func (r *DescribeBotHitRuleDetailRequest) ToJsonString() string

type DescribeBotHitRuleDetailRequestParams

type DescribeBotHitRuleDetailRequestParams 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 DescribeBotHitRuleDetailResponse

type DescribeBotHitRuleDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBotHitRuleDetailResponseParams `json:"Response"`
}

func NewDescribeBotHitRuleDetailResponse

func NewDescribeBotHitRuleDetailResponse() (response *DescribeBotHitRuleDetailResponse)

func (*DescribeBotHitRuleDetailResponse) FromJsonString

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

func (r *DescribeBotHitRuleDetailResponse) ToJsonString() string

type DescribeBotHitRuleDetailResponseParams

type DescribeBotHitRuleDetailResponseParams 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 *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 DescribeBotLogRequest

type DescribeBotLogRequest 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	// <li>`sipCountryCode`: The country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`eventId`: The 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 NewDescribeBotLogRequest

func NewDescribeBotLogRequest() (request *DescribeBotLogRequest)

func (*DescribeBotLogRequest) FromJsonString

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

func (r *DescribeBotLogRequest) ToJsonString() string

type DescribeBotLogRequestParams

type DescribeBotLogRequestParams 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	// <li>`sipCountryCode`: The country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`eventId`: The 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 DescribeBotLogResponse

type DescribeBotLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBotLogResponseParams `json:"Response"`
}

func NewDescribeBotLogResponse

func NewDescribeBotLogResponse() (response *DescribeBotLogResponse)

func (*DescribeBotLogResponse) FromJsonString

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

func (r *DescribeBotLogResponse) ToJsonString() string

type DescribeBotLogResponseParams

type DescribeBotLogResponseParams struct {
	// The list of bot attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*BotLog `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 DescribeBotManagedRulesRequest

type DescribeBotManagedRulesRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// 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"`

	// The rule type. Values:
	// <li>`idcid`</li>
	// <li>`sipbot`</li>
	// <li>`uabot`</li>If no value or 0 is passed, all rule types will be selected.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
}

func NewDescribeBotManagedRulesRequest

func NewDescribeBotManagedRulesRequest() (request *DescribeBotManagedRulesRequest)

func (*DescribeBotManagedRulesRequest) FromJsonString

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

func (r *DescribeBotManagedRulesRequest) ToJsonString() string

type DescribeBotManagedRulesRequestParams

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

	// The subdomain name.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// 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"`

	// The rule type. Values:
	// <li>`idcid`</li>
	// <li>`sipbot`</li>
	// <li>`uabot`</li>If no value or 0 is passed, all rule types will be selected.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
}

Predefined struct for user

type DescribeBotManagedRulesResponse

type DescribeBotManagedRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBotManagedRulesResponseParams `json:"Response"`
}

func NewDescribeBotManagedRulesResponse

func NewDescribeBotManagedRulesResponse() (response *DescribeBotManagedRulesResponse)

func (*DescribeBotManagedRulesResponse) FromJsonString

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

func (r *DescribeBotManagedRulesResponse) ToJsonString() string

type DescribeBotManagedRulesResponseParams

type DescribeBotManagedRulesResponseParams struct {
	// Number of bot managed rules returned.
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// The bot managed rule.
	BotManagedRuleDetails []*BotManagedRuleDetail `json:"BotManagedRuleDetails,omitempty" name:"BotManagedRuleDetails"`

	// The total number of bot managed rules.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// 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 DescribeBotTopDataRequest

type DescribeBotTopDataRequest 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>`bot_requestNum_labelType`: Top-ranked tag types by bot requests.</li>
	// <li>`bot_requestNum_url`: Top-ranked URLs by bot requests.</li>
	// <li>`bot_cipRequestNum_region`: Top-ranked client IPs by bot requests.</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"`

	// 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 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"`

	// 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 NewDescribeBotTopDataRequest

func NewDescribeBotTopDataRequest() (request *DescribeBotTopDataRequest)

func (*DescribeBotTopDataRequest) FromJsonString

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

func (r *DescribeBotTopDataRequest) ToJsonString() string

type DescribeBotTopDataRequestParams

type DescribeBotTopDataRequestParams 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>`bot_requestNum_labelType`: Top-ranked tag types by bot requests.</li>
	// <li>`bot_requestNum_url`: Top-ranked URLs by bot requests.</li>
	// <li>`bot_cipRequestNum_region`: Top-ranked client IPs by bot requests.</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"`

	// 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 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"`

	// 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 DescribeBotTopDataResponse

type DescribeBotTopDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBotTopDataResponseParams `json:"Response"`
}

func NewDescribeBotTopDataResponse

func NewDescribeBotTopDataResponse() (response *DescribeBotTopDataResponse)

func (*DescribeBotTopDataResponse) FromJsonString

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

func (r *DescribeBotTopDataResponse) ToJsonString() string

type DescribeBotTopDataResponseParams

type DescribeBotTopDataResponseParams struct {
	// The list of top-ranked bot 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 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 DescribeDDoSAttackDataRequest

type DescribeDDoSAttackDataRequest 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>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li>
	// <li>`ddos_attackMaxPackageRate`: Peak attack packet rate;</li>
	// <li>`ddos_attackBandwidth`: Attack bandwidth;</li>
	// <li>`ddos_attackPackageRate`: Attack packet rate.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// 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"`

	// List of sites 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 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 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 NewDescribeDDoSAttackDataRequest

func NewDescribeDDoSAttackDataRequest() (request *DescribeDDoSAttackDataRequest)

func (*DescribeDDoSAttackDataRequest) FromJsonString

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

func (r *DescribeDDoSAttackDataRequest) ToJsonString() string

type DescribeDDoSAttackDataRequestParams

type DescribeDDoSAttackDataRequestParams 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>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li>
	// <li>`ddos_attackMaxPackageRate`: Peak attack packet rate;</li>
	// <li>`ddos_attackBandwidth`: Attack bandwidth;</li>
	// <li>`ddos_attackPackageRate`: Attack packet rate.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// 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"`

	// List of sites 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 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 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 DescribeDDoSAttackDataResponse

type DescribeDDoSAttackDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackDataResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackDataResponse

func NewDescribeDDoSAttackDataResponse() (response *DescribeDDoSAttackDataResponse)

func (*DescribeDDoSAttackDataResponse) FromJsonString

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

func (r *DescribeDDoSAttackDataResponse) ToJsonString() string

type DescribeDDoSAttackDataResponseParams

type DescribeDDoSAttackDataResponseParams struct {
	// List of DDoS attack data.
	// 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 DescribeDDoSAttackEventDetailRequest

type DescribeDDoSAttackEventDetailRequest struct {
	*tchttp.BaseRequest

	// The event ID to be queried.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// 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 NewDescribeDDoSAttackEventDetailRequest

func NewDescribeDDoSAttackEventDetailRequest() (request *DescribeDDoSAttackEventDetailRequest)

func (*DescribeDDoSAttackEventDetailRequest) FromJsonString

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

func (r *DescribeDDoSAttackEventDetailRequest) ToJsonString() string

type DescribeDDoSAttackEventDetailRequestParams

type DescribeDDoSAttackEventDetailRequestParams struct {
	// The event ID to be queried.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// 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 DescribeDDoSAttackEventDetailResponse

type DescribeDDoSAttackEventDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackEventDetailResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackEventDetailResponse

func NewDescribeDDoSAttackEventDetailResponse() (response *DescribeDDoSAttackEventDetailResponse)

func (*DescribeDDoSAttackEventDetailResponse) FromJsonString

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

type DescribeDDoSAttackEventDetailResponseParams

type DescribeDDoSAttackEventDetailResponseParams struct {
	// The details of a DDoS attack event.
	Data *DDoSAttackEventDetailData `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 DescribeDDoSAttackEventRequest

type DescribeDDoSAttackEventRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 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 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"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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"`

	// Whether to display the details.
	ShowDetail *bool `json:"ShowDetail,omitempty" name:"ShowDetail"`

	// 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 NewDescribeDDoSAttackEventRequest

func NewDescribeDDoSAttackEventRequest() (request *DescribeDDoSAttackEventRequest)

func (*DescribeDDoSAttackEventRequest) FromJsonString

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

func (r *DescribeDDoSAttackEventRequest) ToJsonString() string

type DescribeDDoSAttackEventRequestParams

type DescribeDDoSAttackEventRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 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 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"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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"`

	// Whether to display the details.
	ShowDetail *bool `json:"ShowDetail,omitempty" name:"ShowDetail"`

	// 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 DescribeDDoSAttackEventResponse

type DescribeDDoSAttackEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackEventResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackEventResponse

func NewDescribeDDoSAttackEventResponse() (response *DescribeDDoSAttackEventResponse)

func (*DescribeDDoSAttackEventResponse) FromJsonString

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

func (r *DescribeDDoSAttackEventResponse) ToJsonString() string

type DescribeDDoSAttackEventResponseParams

type DescribeDDoSAttackEventResponseParams struct {
	// The list of DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSAttackEvent `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 DescribeDDoSAttackSourceEventRequest

type DescribeDDoSAttackSourceEventRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 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 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"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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 NewDescribeDDoSAttackSourceEventRequest

func NewDescribeDDoSAttackSourceEventRequest() (request *DescribeDDoSAttackSourceEventRequest)

func (*DescribeDDoSAttackSourceEventRequest) FromJsonString

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

func (r *DescribeDDoSAttackSourceEventRequest) ToJsonString() string

type DescribeDDoSAttackSourceEventRequestParams

type DescribeDDoSAttackSourceEventRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 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 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"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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 DescribeDDoSAttackSourceEventResponse

type DescribeDDoSAttackSourceEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackSourceEventResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackSourceEventResponse

func NewDescribeDDoSAttackSourceEventResponse() (response *DescribeDDoSAttackSourceEventResponse)

func (*DescribeDDoSAttackSourceEventResponse) FromJsonString

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

type DescribeDDoSAttackSourceEventResponseParams

type DescribeDDoSAttackSourceEventResponseParams struct {
	// The list of DDoS attacker data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSAttackSourceEvent `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 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`: Top-ranked protocols by DDoS attack traffic.</li>
	// <li>`ddos_attackPackageNum_protocol`: Top-ranked protocols by DDoS attack packets.</li>
	// <li>`ddos_attackNum_attackType`: Top-ranked attack types by DDoS attacks.</li>
	// <li>`ddos_attackNum_sregion`: Top-ranked attack source regions by DDoS attacks.</li>
	// <li>`ddos_attackFlux_sip`: Top-ranked attacker IPs by DDoS attack traffic.</li>
	// <li>`ddos_attackFlux_sregion`: Top-ranked attack source regions by DDoS attack traffic.</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`: Top-ranked protocols by DDoS attack traffic.</li>
	// <li>`ddos_attackPackageNum_protocol`: Top-ranked protocols by DDoS attack packets.</li>
	// <li>`ddos_attackNum_attackType`: Top-ranked attack types by DDoS attacks.</li>
	// <li>`ddos_attackNum_sregion`: Top-ranked attack source regions by DDoS attacks.</li>
	// <li>`ddos_attackFlux_sip`: Top-ranked attacker IPs by DDoS attack traffic.</li>
	// <li>`ddos_attackFlux_sregion`: Top-ranked attack source regions by DDoS attack traffic.</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 DescribeDDoSBlockListRequest

type DescribeDDoSBlockListRequest struct {
	*tchttp.BaseRequest

	// The start time of the attack event.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The list of attack events.
	EventIds []*string `json:"EventIds,omitempty" name:"EventIds"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// 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 NewDescribeDDoSBlockListRequest

func NewDescribeDDoSBlockListRequest() (request *DescribeDDoSBlockListRequest)

func (*DescribeDDoSBlockListRequest) FromJsonString

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

func (r *DescribeDDoSBlockListRequest) ToJsonString() string

type DescribeDDoSBlockListRequestParams

type DescribeDDoSBlockListRequestParams struct {
	// The start time of the attack event.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The list of attack events.
	EventIds []*string `json:"EventIds,omitempty" name:"EventIds"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// 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 DescribeDDoSBlockListResponse

type DescribeDDoSBlockListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSBlockListResponseParams `json:"Response"`
}

func NewDescribeDDoSBlockListResponse

func NewDescribeDDoSBlockListResponse() (response *DescribeDDoSBlockListResponse)

func (*DescribeDDoSBlockListResponse) FromJsonString

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

func (r *DescribeDDoSBlockListResponse) ToJsonString() string

type DescribeDDoSBlockListResponseParams

type DescribeDDoSBlockListResponseParams struct {
	// The blocking time of a DDoS attack.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSBlockData `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 DescribeDDoSMajorAttackEventRequest

type DescribeDDoSMajorAttackEventRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Specifies sites by ID. 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 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"`

	// 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 NewDescribeDDoSMajorAttackEventRequest

func NewDescribeDDoSMajorAttackEventRequest() (request *DescribeDDoSMajorAttackEventRequest)

func (*DescribeDDoSMajorAttackEventRequest) FromJsonString

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

func (r *DescribeDDoSMajorAttackEventRequest) ToJsonString() string

type DescribeDDoSMajorAttackEventRequestParams

type DescribeDDoSMajorAttackEventRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Specifies sites by ID. 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 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"`

	// 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 DescribeDDoSMajorAttackEventResponse

type DescribeDDoSMajorAttackEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSMajorAttackEventResponseParams `json:"Response"`
}

func NewDescribeDDoSMajorAttackEventResponse

func NewDescribeDDoSMajorAttackEventResponse() (response *DescribeDDoSMajorAttackEventResponse)

func (*DescribeDDoSMajorAttackEventResponse) FromJsonString

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

func (r *DescribeDDoSMajorAttackEventResponse) ToJsonString() string

type DescribeDDoSMajorAttackEventResponseParams

type DescribeDDoSMajorAttackEventResponseParams struct {
	// The list of large DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSMajorAttackEvent `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 DescribeDDoSPolicyRequest

type DescribeDDoSPolicyRequest struct {
	*tchttp.BaseRequest

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

	// Policy ID
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}

func NewDescribeDDoSPolicyRequest

func NewDescribeDDoSPolicyRequest() (request *DescribeDDoSPolicyRequest)

func (*DescribeDDoSPolicyRequest) FromJsonString

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

func (r *DescribeDDoSPolicyRequest) ToJsonString() string

type DescribeDDoSPolicyRequestParams

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

	// Policy ID
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}

Predefined struct for user

type DescribeDDoSPolicyResponse

type DescribeDDoSPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSPolicyResponseParams `json:"Response"`
}

func NewDescribeDDoSPolicyResponse

func NewDescribeDDoSPolicyResponse() (response *DescribeDDoSPolicyResponse)

func (*DescribeDDoSPolicyResponse) FromJsonString

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

func (r *DescribeDDoSPolicyResponse) ToJsonString() string

type DescribeDDoSPolicyResponseParams

type DescribeDDoSPolicyResponseParams struct {
	// DDoS mitigation configuration.
	DDoSRule *DDoSRule `json:"DDoSRule,omitempty" name:"DDoSRule"`

	// 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>. Format: zone-xxx
	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>. Format: zone-xxx
	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 DescribeDnsRecordsRequest

type DescribeDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// The site ID of the DNS record. All sites’ DNS records will be returned if this field is not specified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`record-id`:<br>   Filter by <strong>DNS record ID</strong>, such as record-1a8df68z<br>   Type: String<br>Required: No
	// <li>`record-name`:<br>   Filter by <strong>DNS record name</strong><br>   Type: String<br>Required: No
	// <li>`record-type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `A`: Point a domain name to an IPv4 address, such as 8.8.8.8.<br>   `AAAA`: Point a domain name to an IPv6 address.<br>   `CNAME`: Point a domain name to another domain name that can be resolved to an IP address.<br>   `TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).<br>   `NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.<br>   `CAA`: Specify CAs to issue certificates for sites.<br>   `SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.<br>  `MX`: Specify the mail server for receiving emails.
	// <li>`mode`:<br>   Filter by <strong>proxy mode</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `dns_only`: Only DNS<br>   `proxied`: Proxied
	// <li>`ttl`:<br>   Filter by <strong>TTL</strong><br>   Type: String<br>Required: No
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`

	// The sorting order. Values:
	// <li>`ASC`: Ascending order</li>
	// <li>`desc`: Descending order</li> Default value: asc
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// The match mode. Values:
	// <li>`all`: Return all records that match the specified filter.</li>
	// <li>`any`: Return any record that matches the specified filter.</li>Default value: all.
	Match *string `json:"Match,omitempty" name:"Match"`

	// The paginated query limit. 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 sorting criteria. Values:
	// <li>`content`: DNS record content.</li>
	// <li>`created_on`: Creation time of the DNS record.</li>
	// <li>`mode`: Proxy mode.</li>
	// <li>`record-name`: DNS record name.</li>
	// <li>`ttl`: DNS TTL.</li>
	// <li>`record-type`: DNS record type.</li>If this field is not specified, the DNS records are sorted based on `record-type` and `recrod-name`.
	Order *string `json:"Order,omitempty" name:"Order"`
}

func NewDescribeDnsRecordsRequest

func NewDescribeDnsRecordsRequest() (request *DescribeDnsRecordsRequest)

func (*DescribeDnsRecordsRequest) FromJsonString

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

func (r *DescribeDnsRecordsRequest) ToJsonString() string

type DescribeDnsRecordsRequestParams

type DescribeDnsRecordsRequestParams struct {
	// The site ID of the DNS record. All sites’ DNS records will be returned if this field is not specified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`record-id`:<br>   Filter by <strong>DNS record ID</strong>, such as record-1a8df68z<br>   Type: String<br>Required: No
	// <li>`record-name`:<br>   Filter by <strong>DNS record name</strong><br>   Type: String<br>Required: No
	// <li>`record-type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `A`: Point a domain name to an IPv4 address, such as 8.8.8.8.<br>   `AAAA`: Point a domain name to an IPv6 address.<br>   `CNAME`: Point a domain name to another domain name that can be resolved to an IP address.<br>   `TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).<br>   `NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.<br>   `CAA`: Specify CAs to issue certificates for sites.<br>   `SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.<br>  `MX`: Specify the mail server for receiving emails.
	// <li>`mode`:<br>   Filter by <strong>proxy mode</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `dns_only`: Only DNS<br>   `proxied`: Proxied
	// <li>`ttl`:<br>   Filter by <strong>TTL</strong><br>   Type: String<br>Required: No
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`

	// The sorting order. Values:
	// <li>`ASC`: Ascending order</li>
	// <li>`desc`: Descending order</li> Default value: asc
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// The match mode. Values:
	// <li>`all`: Return all records that match the specified filter.</li>
	// <li>`any`: Return any record that matches the specified filter.</li>Default value: all.
	Match *string `json:"Match,omitempty" name:"Match"`

	// The paginated query limit. 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 sorting criteria. Values:
	// <li>`content`: DNS record content.</li>
	// <li>`created_on`: Creation time of the DNS record.</li>
	// <li>`mode`: Proxy mode.</li>
	// <li>`record-name`: DNS record name.</li>
	// <li>`ttl`: DNS TTL.</li>
	// <li>`record-type`: DNS record type.</li>If this field is not specified, the DNS records are sorted based on `record-type` and `recrod-name`.
	Order *string `json:"Order,omitempty" name:"Order"`
}

Predefined struct for user

type DescribeDnsRecordsResponse

type DescribeDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnsRecordsResponseParams `json:"Response"`
}

func NewDescribeDnsRecordsResponse

func NewDescribeDnsRecordsResponse() (response *DescribeDnsRecordsResponse)

func (*DescribeDnsRecordsResponse) FromJsonString

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

func (r *DescribeDnsRecordsResponse) ToJsonString() string

type DescribeDnsRecordsResponseParams

type DescribeDnsRecordsResponseParams struct {
	// Total number of DNS records.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of DNS records
	DnsRecords []*DnsRecord `json:"DnsRecords,omitempty" name:"DnsRecords"`

	// 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 DescribeDnssecRequest

type DescribeDnssecRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeDnssecRequest

func NewDescribeDnssecRequest() (request *DescribeDnssecRequest)

func (*DescribeDnssecRequest) FromJsonString

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

func (r *DescribeDnssecRequest) ToJsonString() string

type DescribeDnssecRequestParams

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

Predefined struct for user

type DescribeDnssecResponse

type DescribeDnssecResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnssecResponseParams `json:"Response"`
}

func NewDescribeDnssecResponse

func NewDescribeDnssecResponse() (response *DescribeDnssecResponse)

func (*DescribeDnssecResponse) FromJsonString

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

func (r *DescribeDnssecResponse) ToJsonString() string

type DescribeDnssecResponseParams

type DescribeDnssecResponseParams struct {
	// The DNSSEC status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The DNSSEC information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DnssecInfo *DnssecInfo `json:"DnssecInfo,omitempty" name:"DnssecInfo"`

	// The update time of the site information.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// 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
	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
	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
	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
	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 DescribeLoadBalancingRequest

type DescribeLoadBalancingRequest 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-1a8df68z<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported
	// <li>`load-balancing-id`<br>   Filter by <strong>load balancer ID</strong>, such as lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported
	// <li>`host`:<br>   Filter by <strong>load balancing hostname</strong>, such as lb.tencent.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Supported (only one hostname allowed in a query)
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeLoadBalancingRequest

func NewDescribeLoadBalancingRequest() (request *DescribeLoadBalancingRequest)

func (*DescribeLoadBalancingRequest) FromJsonString

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

func (r *DescribeLoadBalancingRequest) ToJsonString() string

type DescribeLoadBalancingRequestParams

type DescribeLoadBalancingRequestParams 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-1a8df68z<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported
	// <li>`load-balancing-id`<br>   Filter by <strong>load balancer ID</strong>, such as lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported
	// <li>`host`:<br>   Filter by <strong>load balancing hostname</strong>, such as lb.tencent.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Supported (only one hostname allowed in a query)
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeLoadBalancingResponse

type DescribeLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancingResponseParams `json:"Response"`
}

func NewDescribeLoadBalancingResponse

func NewDescribeLoadBalancingResponse() (response *DescribeLoadBalancingResponse)

func (*DescribeLoadBalancingResponse) FromJsonString

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

func (r *DescribeLoadBalancingResponse) ToJsonString() string

type DescribeLoadBalancingResponseParams

type DescribeLoadBalancingResponseParams struct {
	// Total number of records.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Load balancer information.
	Data []*LoadBalancing `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 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 DescribeLogTopicTaskDetailRequest

type DescribeLogTopicTaskDetailRequest struct {
	*tchttp.BaseRequest

	// ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

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

func NewDescribeLogTopicTaskDetailRequest

func NewDescribeLogTopicTaskDetailRequest() (request *DescribeLogTopicTaskDetailRequest)

func (*DescribeLogTopicTaskDetailRequest) FromJsonString

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

func (r *DescribeLogTopicTaskDetailRequest) ToJsonString() string

type DescribeLogTopicTaskDetailRequestParams

type DescribeLogTopicTaskDetailRequestParams struct {
	// ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

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

Predefined struct for user

type DescribeLogTopicTaskDetailResponse

type DescribeLogTopicTaskDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogTopicTaskDetailResponseParams `json:"Response"`
}

func NewDescribeLogTopicTaskDetailResponse

func NewDescribeLogTopicTaskDetailResponse() (response *DescribeLogTopicTaskDetailResponse)

func (*DescribeLogTopicTaskDetailResponse) FromJsonString

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

func (r *DescribeLogTopicTaskDetailResponse) ToJsonString() string

type DescribeLogTopicTaskDetailResponseParams

type DescribeLogTopicTaskDetailResponseParams struct {
	// The shipping task details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogTopicDetailInfo *LogTopicDetailInfo `json:"LogTopicDetailInfo,omitempty" name:"LogTopicDetailInfo"`

	// 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 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 protocol type. Values:
	// <li>`http`: HTTP protocol;</li>
	// <li>`https`: HTTPS protocol;</li>
	// <li>`http2`: HTTP2 protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// 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"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`tagKey`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>  Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
}

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 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 protocol type. Values:
	// <li>`http`: HTTP protocol;</li>
	// <li>`https`: HTTPS protocol;</li>
	// <li>`http2`: HTTP2 protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// 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"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`tagKey`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>  Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
}

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 the <strong>site ID</strong>, such as zone-1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<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>`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>`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>`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.
	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 the <strong>site ID</strong>, such as zone-1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<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>`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>`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>`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.
	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

	// ID of the site.
	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>`job-id`:<br> Filter by the <strong>Task ID</strong>, such as 1379afjk91u32h. Only one ID can be specified.<br>Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`target`:<br>   Filter by the <strong>resource address</strong>, such as http://www.qq.com/1.txt. Only one entry allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`domains`:<br>   Filter by the <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`statuses`:<br>   Filter by the <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: Tasks in progress<br>   `success`: Succeeded tasks<br>   `failed`: Failed tasks<br>   `timeout`: Timed-out tasks<li>`type`:<br>   Filter by the <strong>purging mode</strong>. Only one value allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `purge_url`: Purge URLs.<br>   `purge_prefix`: Purge prefixes.<br>   `purge_all`: Purge all caches.<br>   `purge_host`: Purge hostnames.
	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 {
	// ID of the site.
	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>`job-id`:<br> Filter by the <strong>Task ID</strong>, such as 1379afjk91u32h. Only one ID can be specified.<br>Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`target`:<br>   Filter by the <strong>resource address</strong>, such as http://www.qq.com/1.txt. Only one entry allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`domains`:<br>   Filter by the <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`statuses`:<br>   Filter by the <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: Tasks in progress<br>   `success`: Succeeded tasks<br>   `failed`: Failed tasks<br>   `timeout`: Timed-out tasks<li>`type`:<br>   Filter by the <strong>purging mode</strong>. Only one value allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `purge_url`: Purge URLs.<br>   `purge_prefix`: Purge prefixes.<br>   `purge_all`: Purge all caches.<br>   `purge_host`: Purge hostnames.
	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 DescribeRateLimitIntelligenceRuleRequest

type DescribeRateLimitIntelligenceRuleRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

func NewDescribeRateLimitIntelligenceRuleRequest

func NewDescribeRateLimitIntelligenceRuleRequest() (request *DescribeRateLimitIntelligenceRuleRequest)

func (*DescribeRateLimitIntelligenceRuleRequest) FromJsonString

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

func (*DescribeRateLimitIntelligenceRuleRequest) ToJsonString

type DescribeRateLimitIntelligenceRuleRequestParams

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

Predefined struct for user

type DescribeRateLimitIntelligenceRuleResponse

type DescribeRateLimitIntelligenceRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRateLimitIntelligenceRuleResponseParams `json:"Response"`
}

func NewDescribeRateLimitIntelligenceRuleResponse

func NewDescribeRateLimitIntelligenceRuleResponse() (response *DescribeRateLimitIntelligenceRuleResponse)

func (*DescribeRateLimitIntelligenceRuleResponse) FromJsonString

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

func (*DescribeRateLimitIntelligenceRuleResponse) ToJsonString

type DescribeRateLimitIntelligenceRuleResponseParams

type DescribeRateLimitIntelligenceRuleResponseParams struct {
	// The intelligent rate limiting rule.
	RateLimitIntelligenceRuleDetails []*RateLimitIntelligenceRuleDetail `json:"RateLimitIntelligenceRuleDetails,omitempty" name:"RateLimitIntelligenceRuleDetails"`

	// 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 DescribeSecurityGroupManagedRulesRequest

type DescribeSecurityGroupManagedRulesRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// 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 NewDescribeSecurityGroupManagedRulesRequest

func NewDescribeSecurityGroupManagedRulesRequest() (request *DescribeSecurityGroupManagedRulesRequest)

func (*DescribeSecurityGroupManagedRulesRequest) FromJsonString

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

func (*DescribeSecurityGroupManagedRulesRequest) ToJsonString

type DescribeSecurityGroupManagedRulesRequestParams

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// 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 DescribeSecurityGroupManagedRulesResponse

type DescribeSecurityGroupManagedRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityGroupManagedRulesResponseParams `json:"Response"`
}

func NewDescribeSecurityGroupManagedRulesResponse

func NewDescribeSecurityGroupManagedRulesResponse() (response *DescribeSecurityGroupManagedRulesResponse)

func (*DescribeSecurityGroupManagedRulesResponse) FromJsonString

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

func (*DescribeSecurityGroupManagedRulesResponse) ToJsonString

type DescribeSecurityGroupManagedRulesResponseParams

type DescribeSecurityGroupManagedRulesResponseParams struct {
	// The number of bot managed rules returned.
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// The total number of rules.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// Details of the managed rule.
	WafGroupInfo *WafGroupInfo `json:"WafGroupInfo,omitempty" name:"WafGroupInfo"`

	// 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 DescribeSecurityPolicyListRequest

type DescribeSecurityPolicyListRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeSecurityPolicyListRequest

func NewDescribeSecurityPolicyListRequest() (request *DescribeSecurityPolicyListRequest)

func (*DescribeSecurityPolicyListRequest) FromJsonString

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

func (r *DescribeSecurityPolicyListRequest) ToJsonString() string

type DescribeSecurityPolicyListRequestParams

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

Predefined struct for user

type DescribeSecurityPolicyListResponse

type DescribeSecurityPolicyListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPolicyListResponseParams `json:"Response"`
}

func NewDescribeSecurityPolicyListResponse

func NewDescribeSecurityPolicyListResponse() (response *DescribeSecurityPolicyListResponse)

func (*DescribeSecurityPolicyListResponse) FromJsonString

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

func (r *DescribeSecurityPolicyListResponse) ToJsonString() string

type DescribeSecurityPolicyListResponseParams

type DescribeSecurityPolicyListResponseParams struct {
	// List of protected resources
	SecurityEntities []*SecurityEntity `json:"SecurityEntities,omitempty" name:"SecurityEntities"`

	// 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 DescribeSecurityPolicyRegionsRequest

type DescribeSecurityPolicyRegionsRequest 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"`
}

func NewDescribeSecurityPolicyRegionsRequest

func NewDescribeSecurityPolicyRegionsRequest() (request *DescribeSecurityPolicyRegionsRequest)

func (*DescribeSecurityPolicyRegionsRequest) FromJsonString

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

func (r *DescribeSecurityPolicyRegionsRequest) ToJsonString() string

type DescribeSecurityPolicyRegionsRequestParams

type DescribeSecurityPolicyRegionsRequestParams 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"`
}

Predefined struct for user

type DescribeSecurityPolicyRegionsResponse

type DescribeSecurityPolicyRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPolicyRegionsResponseParams `json:"Response"`
}

func NewDescribeSecurityPolicyRegionsResponse

func NewDescribeSecurityPolicyRegionsResponse() (response *DescribeSecurityPolicyRegionsResponse)

func (*DescribeSecurityPolicyRegionsResponse) FromJsonString

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

type DescribeSecurityPolicyRegionsResponseParams

type DescribeSecurityPolicyRegionsResponseParams struct {
	// Total number of regions.
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// Region information.
	GeoIps []*GeoIp `json:"GeoIps,omitempty" name:"GeoIps"`

	// 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 DescribeSecurityPolicyRequest

type DescribeSecurityPolicyRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

func NewDescribeSecurityPolicyRequest

func NewDescribeSecurityPolicyRequest() (request *DescribeSecurityPolicyRequest)

func (*DescribeSecurityPolicyRequest) FromJsonString

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

func (r *DescribeSecurityPolicyRequest) ToJsonString() string

type DescribeSecurityPolicyRequestParams

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

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

Predefined struct for user

type DescribeSecurityPolicyResponse

type DescribeSecurityPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPolicyResponseParams `json:"Response"`
}

func NewDescribeSecurityPolicyResponse

func NewDescribeSecurityPolicyResponse() (response *DescribeSecurityPolicyResponse)

func (*DescribeSecurityPolicyResponse) FromJsonString

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

func (r *DescribeSecurityPolicyResponse) ToJsonString() string

type DescribeSecurityPolicyResponseParams

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

	// 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 DescribeSecurityPortraitRulesRequest

type DescribeSecurityPortraitRulesRequest struct {
	*tchttp.BaseRequest

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

	// Subdomain name/Application name
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

func NewDescribeSecurityPortraitRulesRequest

func NewDescribeSecurityPortraitRulesRequest() (request *DescribeSecurityPortraitRulesRequest)

func (*DescribeSecurityPortraitRulesRequest) FromJsonString

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

func (r *DescribeSecurityPortraitRulesRequest) ToJsonString() string

type DescribeSecurityPortraitRulesRequestParams

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

	// Subdomain name/Application name
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

Predefined struct for user

type DescribeSecurityPortraitRulesResponse

type DescribeSecurityPortraitRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPortraitRulesResponseParams `json:"Response"`
}

func NewDescribeSecurityPortraitRulesResponse

func NewDescribeSecurityPortraitRulesResponse() (response *DescribeSecurityPortraitRulesResponse)

func (*DescribeSecurityPortraitRulesResponse) FromJsonString

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

type DescribeSecurityPortraitRulesResponseParams

type DescribeSecurityPortraitRulesResponseParams struct {
	// The number of rules returned.
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// The bot client reputation rule.
	PortraitManagedRuleDetails []*PortraitManagedRuleDetail `json:"PortraitManagedRuleDetails,omitempty" name:"PortraitManagedRuleDetails"`

	// The total number of rules.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// 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 DescribeSecurityRuleIdRequest

type DescribeSecurityRuleIdRequest struct {
	*tchttp.BaseRequest

	// Array of rule IDs.
	RuleIdList []*int64 `json:"RuleIdList,omitempty" name:"RuleIdList"`

	// Rule type. Values:
	// <li>`waf`: Web managed rules</li>
	// <li>`acl`: Custom rules</li>
	// <li>`rate`: Rate limiting rules</li>
	// <li>`bot`: Bot managed rules</li>
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

func NewDescribeSecurityRuleIdRequest

func NewDescribeSecurityRuleIdRequest() (request *DescribeSecurityRuleIdRequest)

func (*DescribeSecurityRuleIdRequest) FromJsonString

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

func (r *DescribeSecurityRuleIdRequest) ToJsonString() string

type DescribeSecurityRuleIdRequestParams

type DescribeSecurityRuleIdRequestParams struct {
	// Array of rule IDs.
	RuleIdList []*int64 `json:"RuleIdList,omitempty" name:"RuleIdList"`

	// Rule type. Values:
	// <li>`waf`: Web managed rules</li>
	// <li>`acl`: Custom rules</li>
	// <li>`rate`: Rate limiting rules</li>
	// <li>`bot`: Bot managed rules</li>
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

Predefined struct for user

type DescribeSecurityRuleIdResponse

type DescribeSecurityRuleIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityRuleIdResponseParams `json:"Response"`
}

func NewDescribeSecurityRuleIdResponse

func NewDescribeSecurityRuleIdResponse() (response *DescribeSecurityRuleIdResponse)

func (*DescribeSecurityRuleIdResponse) FromJsonString

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

func (r *DescribeSecurityRuleIdResponse) ToJsonString() string

type DescribeSecurityRuleIdResponseParams

type DescribeSecurityRuleIdResponseParams struct {
	// List of rules.
	WafGroupRules []*WafGroupRule `json:"WafGroupRules,omitempty" name:"WafGroupRules"`

	// 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 to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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 to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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 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. All L4 proxies will be selected if this field is not specified.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// 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>`ruleId`: Filter by rule ID;</li>
	// <li>`proxyId`: Filter by connection ID.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// 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 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 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. All L4 proxies will be selected if this field is not specified.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// 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>`ruleId`: Filter by rule ID;</li>
	// <li>`proxyId`: Filter by connection ID.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// 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 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 to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// 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 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 to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// 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>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// 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 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</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"`

	// 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 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 DescribeWebProtectionAttackEventsRequest

type DescribeWebProtectionAttackEventsRequest 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 NewDescribeWebProtectionAttackEventsRequest

func NewDescribeWebProtectionAttackEventsRequest() (request *DescribeWebProtectionAttackEventsRequest)

func (*DescribeWebProtectionAttackEventsRequest) FromJsonString

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

func (*DescribeWebProtectionAttackEventsRequest) ToJsonString

type DescribeWebProtectionAttackEventsRequestParams

type DescribeWebProtectionAttackEventsRequestParams 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 DescribeWebProtectionAttackEventsResponse

type DescribeWebProtectionAttackEventsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionAttackEventsResponseParams `json:"Response"`
}

func NewDescribeWebProtectionAttackEventsResponse

func NewDescribeWebProtectionAttackEventsResponse() (response *DescribeWebProtectionAttackEventsResponse)

func (*DescribeWebProtectionAttackEventsResponse) FromJsonString

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

func (*DescribeWebProtectionAttackEventsResponse) ToJsonString

type DescribeWebProtectionAttackEventsResponseParams

type DescribeWebProtectionAttackEventsResponseParams struct {
	// The list of CC attack events.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*CCInterceptEvent `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 DescribeZoneDDoSPolicyRequest

type DescribeZoneDDoSPolicyRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeZoneDDoSPolicyRequest

func NewDescribeZoneDDoSPolicyRequest() (request *DescribeZoneDDoSPolicyRequest)

func (*DescribeZoneDDoSPolicyRequest) FromJsonString

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

func (r *DescribeZoneDDoSPolicyRequest) ToJsonString() string

type DescribeZoneDDoSPolicyRequestParams

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

Predefined struct for user

type DescribeZoneDDoSPolicyResponse

type DescribeZoneDDoSPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZoneDDoSPolicyResponseParams `json:"Response"`
}

func NewDescribeZoneDDoSPolicyResponse

func NewDescribeZoneDDoSPolicyResponse() (response *DescribeZoneDDoSPolicyResponse)

func (*DescribeZoneDDoSPolicyResponse) FromJsonString

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

func (r *DescribeZoneDDoSPolicyResponse) ToJsonString() string

type DescribeZoneDDoSPolicyResponseParams

type DescribeZoneDDoSPolicyResponseParams struct {
	// DDoS mitigation configuration.
	ShieldAreas []*ShieldArea `json:"ShieldAreas,omitempty" name:"ShieldAreas"`

	// Information of the proxied subdomain names.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DDoSHosts []*DDoSHost `json:"DDoSHosts,omitempty" name:"DDoSHosts"`

	// 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>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No<li>`status`:<br>   Filter by <strong>site status</strong><br>   Type: String<br>   Required: No<li>`tag-key`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No<li>`tag-value`:<br>   Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No<li>`Fuzzy`:<br>   Filter by <strong>values in fuzzy query</strong> (only `zone-name` allowed). Values limit: 1<br>   Type: Boolean<br>   Required: No<br>   Default value: false
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

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>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No<li>`status`:<br>   Filter by <strong>site status</strong><br>   Type: String<br>   Required: No<li>`tag-key`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No<li>`tag-value`:<br>   Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No<li>`Fuzzy`:<br>   Filter by <strong>values in fuzzy query</strong> (only `zone-name` allowed). Values limit: 1<br>   Type: Boolean<br>   Required: No<br>   Default value: false
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

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"`

	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 DnsRecord

type DnsRecord struct {
	// The record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`

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

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

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect.
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// The MX record priority. The smaller the value, the higher the priority.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// The creation time.
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// The modification time.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// The lock status of the domain name.
	Locked *bool `json:"Locked,omitempty" name:"Locked"`

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

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

	// The DNS record status. Values:
	// <li>`active`: Activated</li>
	// <li>`pending`: Deactivated</li>
	Status *string `json:"Status,omitempty" name:"Status"`

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

	// The service used by the domain name. Values:
	// <li>`lb`: Load balancing</li>
	// <li>`security`: Security protection</li>
	// <li>`l4`: L4 proxy</li>
	DomainStatus []*string `json:"DomainStatus,omitempty" name:"DomainStatus"`
}

type DnssecInfo

type DnssecInfo struct {
	// Flag
	Flags *int64 `json:"Flags,omitempty" name:"Flags"`

	// Encryption algorithm
	Algorithm *string `json:"Algorithm,omitempty" name:"Algorithm"`

	// Encryption type
	KeyType *string `json:"KeyType,omitempty" name:"KeyType"`

	// Digest type
	DigestType *string `json:"DigestType,omitempty" name:"DigestType"`

	// Digest algorithm
	DigestAlgorithm *string `json:"DigestAlgorithm,omitempty" name:"DigestAlgorithm"`

	// Digest message
	Digest *string `json:"Digest,omitempty" name:"Digest"`

	// DS record value
	DS *string `json:"DS,omitempty" name:"DS"`

	// Key tag
	KeyTag *int64 `json:"KeyTag,omitempty" name:"KeyTag"`

	// Public key
	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`
}

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.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule action. It only supports the value `skip`, which indicates skipping all managed rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// The rule status. Values:
	// <li>`on`: Enabled</li>
	// <li>`off`: Disabled</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`

	// 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 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.
	// Note: This field may return null, indicating that no valid values can be obtained.
	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>
	// Note: This field may return null, indicating that no valid values can be obtained.
	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`: 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>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// The value of the parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}

type ExceptUserRuleScope

type ExceptUserRuleScope struct {
	Type *string `json:"Type,omitempty" name:"Type"`

	// The module that applies. Only WAF managed rules are supported currently.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Modules []*string `json:"Modules,omitempty" name:"Modules"`

	PartialModules []*PartialModule `json:"PartialModules,omitempty" name:"PartialModules"`

	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 {
	IdentifyPath *string `json:"IdentifyPath,omitempty" name:"IdentifyPath"`

	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"`
}

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 GeoIp

type GeoIp struct {
	// Region ID
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`

	// Country name
	Country *string `json:"Country,omitempty" name:"Country"`

	// The continent.
	Continent *string `json:"Continent,omitempty" name:"Continent"`

	// The state/province.
	Province *string `json:"Province,omitempty" name:"Province"`
}
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"`
}

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"`

	// The site ownership information.
	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"`

	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 {
	// The site ownership information.
	Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`

	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"`
}

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 LoadBalancing

type LoadBalancing struct {
	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

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

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitempty" name:"Host"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The cache time of DNS records when `Type=dns_only`.
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	// The load balancer status. Values:
	// <li>`online`: Deployed</li>
	// <li>`process`: Deployment in progress</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Schedules domain names.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

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

	// The ID of the secondary origin group. If not specified, it indicates that secondary origins are not used.
	BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`

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

	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}

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 LogTopicDetailInfo

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

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

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

	// List of tasks.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

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

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// Topic ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Topic name of the shipping task.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// Retention period of the shipping task topic. Unit: day.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

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

	// Creation time in the format of YYYY-mm-dd HH:MM:SS.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

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

	// 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"`

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

	// Whether the shipping task is deleted. Values:
	// <li>`yes`: The shipping task is deleted;</li>
	// <li>`no`: The shipping task is not 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 ModifyAlarmConfigRequest

type ModifyAlarmConfigRequest struct {
	*tchttp.BaseRequest

	// The alarm service type. Values:
	// <li>`ddos`: DDoS alarm service.</li>
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

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

	// The list of protection entities.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

	// The alarm threshold. When no value or 0 is passed, the default alarm threshold will be used.
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// Whether the default alarm threshold is used.
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`
}

func NewModifyAlarmConfigRequest

func NewModifyAlarmConfigRequest() (request *ModifyAlarmConfigRequest)

func (*ModifyAlarmConfigRequest) FromJsonString

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

func (r *ModifyAlarmConfigRequest) ToJsonString() string

type ModifyAlarmConfigRequestParams

type ModifyAlarmConfigRequestParams struct {
	// The alarm service type. Values:
	// <li>`ddos`: DDoS alarm service.</li>
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

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

	// The list of protection entities.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

	// The alarm threshold. When no value or 0 is passed, the default alarm threshold will be used.
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// Whether the default alarm threshold is used.
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`
}

Predefined struct for user

type ModifyAlarmConfigResponse

type ModifyAlarmConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAlarmConfigResponseParams `json:"Response"`
}

func NewModifyAlarmConfigResponse

func NewModifyAlarmConfigResponse() (response *ModifyAlarmConfigResponse)

func (*ModifyAlarmConfigResponse) FromJsonString

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

func (r *ModifyAlarmConfigResponse) ToJsonString() string

type ModifyAlarmConfigResponseParams

type ModifyAlarmConfigResponseParams 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 ModifyAlarmDefaultThresholdRequest

type ModifyAlarmDefaultThresholdRequest struct {
	*tchttp.BaseRequest

	// The alarm service type. Values:
	// <li>`ddos`: DDoS alarm service.</li>
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

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

	// The threshold in Mbps. Maximum value: 10.
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// The protection entity, which is a proxy ID when layer-4 protection is enabled, or a site name when layer-7 protection is on.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

func NewModifyAlarmDefaultThresholdRequest

func NewModifyAlarmDefaultThresholdRequest() (request *ModifyAlarmDefaultThresholdRequest)

func (*ModifyAlarmDefaultThresholdRequest) FromJsonString

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

func (r *ModifyAlarmDefaultThresholdRequest) ToJsonString() string

type ModifyAlarmDefaultThresholdRequestParams

type ModifyAlarmDefaultThresholdRequestParams struct {
	// The alarm service type. Values:
	// <li>`ddos`: DDoS alarm service.</li>
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`

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

	// The threshold in Mbps. Maximum value: 10.
	Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`

	// The protection entity, which is a proxy ID when layer-4 protection is enabled, or a site name when layer-7 protection is on.
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

Predefined struct for user

type ModifyAlarmDefaultThresholdResponse

type ModifyAlarmDefaultThresholdResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAlarmDefaultThresholdResponseParams `json:"Response"`
}

func NewModifyAlarmDefaultThresholdResponse

func NewModifyAlarmDefaultThresholdResponse() (response *ModifyAlarmDefaultThresholdResponse)

func (*ModifyAlarmDefaultThresholdResponse) FromJsonString

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

func (r *ModifyAlarmDefaultThresholdResponse) ToJsonString() string

type ModifyAlarmDefaultThresholdResponseParams

type ModifyAlarmDefaultThresholdResponseParams 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 port, which can be specified in the following formats:
	// Single port, such as 80.
	// Port range, such as 81-90. The original configuration will apply if this field is not specified.
	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:
	// When `OriginType=custom`, it indicates one or more origin servers. Example:
	// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
	// OriginValue=["test.com:80"];
	// When `OriginType=origins`, it indicates an origin group ID. Example:
	// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]
	// 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>The original configuration will apply if this field is not specified.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

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 port, which can be specified in the following formats:
	// Single port, such as 80.
	// Port range, such as 81-90. The original configuration will apply if this field is not specified.
	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:
	// When `OriginType=custom`, it indicates one or more origin servers. Example:
	// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
	// OriginValue=["test.com:80"];
	// When `OriginType=origins`, it indicates an origin group ID. Example:
	// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]
	// 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>The original configuration will apply if this field is not specified.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

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 ModifyDDoSPolicyHostRequest

type ModifyDDoSPolicyHostRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name/layer-4 proxy.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Whether to enabled acceleration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`

	// Whether to enable security protection. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}

func NewModifyDDoSPolicyHostRequest

func NewModifyDDoSPolicyHostRequest() (request *ModifyDDoSPolicyHostRequest)

func (*ModifyDDoSPolicyHostRequest) FromJsonString

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

func (r *ModifyDDoSPolicyHostRequest) ToJsonString() string

type ModifyDDoSPolicyHostRequestParams

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

	// The subdomain name/layer-4 proxy.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Whether to enabled acceleration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`

	// Whether to enable security protection. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}

Predefined struct for user

type ModifyDDoSPolicyHostResponse

type ModifyDDoSPolicyHostResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDDoSPolicyHostResponseParams `json:"Response"`
}

func NewModifyDDoSPolicyHostResponse

func NewModifyDDoSPolicyHostResponse() (response *ModifyDDoSPolicyHostResponse)

func (*ModifyDDoSPolicyHostResponse) FromJsonString

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

func (r *ModifyDDoSPolicyHostResponse) ToJsonString() string

type ModifyDDoSPolicyHostResponseParams

type ModifyDDoSPolicyHostResponseParams 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 ModifyDDoSPolicyRequest

type ModifyDDoSPolicyRequest struct {
	*tchttp.BaseRequest

	// The policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`

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

	// Details of the DDoS mitigation configuration.
	DDoSRule *DDoSRule `json:"DDoSRule,omitempty" name:"DDoSRule"`
}

func NewModifyDDoSPolicyRequest

func NewModifyDDoSPolicyRequest() (request *ModifyDDoSPolicyRequest)

func (*ModifyDDoSPolicyRequest) FromJsonString

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

func (r *ModifyDDoSPolicyRequest) ToJsonString() string

type ModifyDDoSPolicyRequestParams

type ModifyDDoSPolicyRequestParams struct {
	// The policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`

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

	// Details of the DDoS mitigation configuration.
	DDoSRule *DDoSRule `json:"DDoSRule,omitempty" name:"DDoSRule"`
}

Predefined struct for user

type ModifyDDoSPolicyResponse

type ModifyDDoSPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDDoSPolicyResponseParams `json:"Response"`
}

func NewModifyDDoSPolicyResponse

func NewModifyDDoSPolicyResponse() (response *ModifyDDoSPolicyResponse)

func (*ModifyDDoSPolicyResponse) FromJsonString

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

func (r *ModifyDDoSPolicyResponse) ToJsonString() string

type ModifyDDoSPolicyResponseParams

type ModifyDDoSPolicyResponseParams 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 ModifyDnsRecordRequest

type ModifyDnsRecordRequest struct {
	*tchttp.BaseRequest

	// The record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

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

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`

	// The record name, which consists of the host record and site name. Note that the original configuration will be used if this field is not specified.
	DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`

	// The record content. Note that the original configuration will be used if this field is not specified.
	Content *string `json:"Content,omitempty" name:"Content"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300. Note that the original configuration will be used if this field is not specified.
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li></li>The original configuration will apply if this field is not specified.
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

func NewModifyDnsRecordRequest

func NewModifyDnsRecordRequest() (request *ModifyDnsRecordRequest)

func (*ModifyDnsRecordRequest) FromJsonString

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

func (r *ModifyDnsRecordRequest) ToJsonString() string

type ModifyDnsRecordRequestParams

type ModifyDnsRecordRequestParams struct {
	// The record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

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

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`

	// The record name, which consists of the host record and site name. Note that the original configuration will be used if this field is not specified.
	DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`

	// The record content. Note that the original configuration will be used if this field is not specified.
	Content *string `json:"Content,omitempty" name:"Content"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300. Note that the original configuration will be used if this field is not specified.
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li></li>The original configuration will apply if this field is not specified.
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

Predefined struct for user

type ModifyDnsRecordResponse

type ModifyDnsRecordResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDnsRecordResponseParams `json:"Response"`
}

func NewModifyDnsRecordResponse

func NewModifyDnsRecordResponse() (response *ModifyDnsRecordResponse)

func (*ModifyDnsRecordResponse) FromJsonString

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

func (r *ModifyDnsRecordResponse) ToJsonString() string

type ModifyDnsRecordResponseParams

type ModifyDnsRecordResponseParams 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 ModifyDnssecRequest

type ModifyDnssecRequest struct {
	*tchttp.BaseRequest

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

	// The DNSSEC status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyDnssecRequest

func NewModifyDnssecRequest() (request *ModifyDnssecRequest)

func (*ModifyDnssecRequest) FromJsonString

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

func (r *ModifyDnssecRequest) ToJsonString() string

type ModifyDnssecRequestParams

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

	// The DNSSEC status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyDnssecResponse

type ModifyDnssecResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDnssecResponseParams `json:"Response"`
}

func NewModifyDnssecResponse

func NewModifyDnssecResponse() (response *ModifyDnssecResponse)

func (*ModifyDnssecResponse) FromJsonString

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

func (r *ModifyDnssecResponse) ToJsonString() string

type ModifyDnssecResponseParams

type ModifyDnssecResponseParams 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"`
}

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"`
}

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 ModifyLoadBalancingRequest

type ModifyLoadBalancingRequest struct {
	*tchttp.BaseRequest

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

	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Type *string `json:"Type,omitempty" name:"Type"`

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

	// The ID of the secondary origin group (only available when `Type=proxied`). If not specified, it indicates that secondary origins are not used.
	BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`

	// When `Type=dns_only`, it indicates the amount of time that DNS records remain in the cache of a DNS server.
	// Value range: 60-86400 (in seconds). If it's not specified, the default value 600 will be used.
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}

func NewModifyLoadBalancingRequest

func NewModifyLoadBalancingRequest() (request *ModifyLoadBalancingRequest)

func (*ModifyLoadBalancingRequest) FromJsonString

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

func (r *ModifyLoadBalancingRequest) ToJsonString() string

type ModifyLoadBalancingRequestParams

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

	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Type *string `json:"Type,omitempty" name:"Type"`

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

	// The ID of the secondary origin group (only available when `Type=proxied`). If not specified, it indicates that secondary origins are not used.
	BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`

	// When `Type=dns_only`, it indicates the amount of time that DNS records remain in the cache of a DNS server.
	// Value range: 60-86400 (in seconds). If it's not specified, the default value 600 will be used.
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}

Predefined struct for user

type ModifyLoadBalancingResponse

type ModifyLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoadBalancingResponseParams `json:"Response"`
}

func NewModifyLoadBalancingResponse

func NewModifyLoadBalancingResponse() (response *ModifyLoadBalancingResponse)

func (*ModifyLoadBalancingResponse) FromJsonString

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

func (r *ModifyLoadBalancingResponse) ToJsonString() string

type ModifyLoadBalancingResponseParams

type ModifyLoadBalancingResponseParams 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 ModifyLoadBalancingStatusRequest

type ModifyLoadBalancingStatusRequest struct {
	*tchttp.BaseRequest

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

	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// The load balancer status. Values:
	// <li>`online`: Enabled</li>
	// <li>`offline`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyLoadBalancingStatusRequest

func NewModifyLoadBalancingStatusRequest() (request *ModifyLoadBalancingStatusRequest)

func (*ModifyLoadBalancingStatusRequest) FromJsonString

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

func (r *ModifyLoadBalancingStatusRequest) ToJsonString() string

type ModifyLoadBalancingStatusRequestParams

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

	// The load balancer ID.
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// The load balancer status. Values:
	// <li>`online`: Enabled</li>
	// <li>`offline`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyLoadBalancingStatusResponse

type ModifyLoadBalancingStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoadBalancingStatusResponseParams `json:"Response"`
}

func NewModifyLoadBalancingStatusResponse

func NewModifyLoadBalancingStatusResponse() (response *ModifyLoadBalancingStatusResponse)

func (*ModifyLoadBalancingStatusResponse) FromJsonString

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

func (r *ModifyLoadBalancingStatusResponse) ToJsonString() string

type ModifyLoadBalancingStatusResponseParams

type ModifyLoadBalancingStatusResponseParams 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 ModifyLogTopicTaskRequest

type ModifyLogTopicTaskRequest struct {
	*tchttp.BaseRequest

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

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// 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 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"`

	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

	// The new topic name. If you do not specify this field, no changes will be made.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// The new logset name.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// The retention period of the updated logset.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// List of shipping entities to be deleted.
	DropEntityList []*string `json:"DropEntityList,omitempty" name:"DropEntityList"`

	// List of shipping entities to be added.
	AddedEntityList []*string `json:"AddedEntityList,omitempty" name:"AddedEntityList"`
}

func NewModifyLogTopicTaskRequest

func NewModifyLogTopicTaskRequest() (request *ModifyLogTopicTaskRequest)

func (*ModifyLogTopicTaskRequest) FromJsonString

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

func (r *ModifyLogTopicTaskRequest) ToJsonString() string

type ModifyLogTopicTaskRequestParams

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

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// 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 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"`

	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

	// The new topic name. If you do not specify this field, no changes will be made.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// The new logset name.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// The retention period of the updated logset.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// List of shipping entities to be deleted.
	DropEntityList []*string `json:"DropEntityList,omitempty" name:"DropEntityList"`

	// List of shipping entities to be added.
	AddedEntityList []*string `json:"AddedEntityList,omitempty" name:"AddedEntityList"`
}

Predefined struct for user

type ModifyLogTopicTaskResponse

type ModifyLogTopicTaskResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLogTopicTaskResponseParams `json:"Response"`
}

func NewModifyLogTopicTaskResponse

func NewModifyLogTopicTaskResponse() (response *ModifyLogTopicTaskResponse)

func (*ModifyLogTopicTaskResponse) FromJsonString

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

func (r *ModifyLogTopicTaskResponse) ToJsonString() string

type ModifyLogTopicTaskResponseParams

type ModifyLogTopicTaskResponseParams 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"`

	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"`

	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"`
}

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"`
}

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"`

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Security configuration.
	SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
}

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"`

	// The subdomain name/layer-4 proxy.
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// Security configuration.
	SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
}

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.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name.
	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"`
}

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.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The subdomain name.
	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"`
}

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 ModifyZoneCnameSpeedUpRequest

type ModifyZoneCnameSpeedUpRequest struct {
	*tchttp.BaseRequest

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

	// The CNAME acceleration status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyZoneCnameSpeedUpRequest

func NewModifyZoneCnameSpeedUpRequest() (request *ModifyZoneCnameSpeedUpRequest)

func (*ModifyZoneCnameSpeedUpRequest) FromJsonString

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

func (r *ModifyZoneCnameSpeedUpRequest) ToJsonString() string

type ModifyZoneCnameSpeedUpRequestParams

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

	// The CNAME acceleration status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyZoneCnameSpeedUpResponse

type ModifyZoneCnameSpeedUpResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneCnameSpeedUpResponseParams `json:"Response"`
}

func NewModifyZoneCnameSpeedUpResponse

func NewModifyZoneCnameSpeedUpResponse() (response *ModifyZoneCnameSpeedUpResponse)

func (*ModifyZoneCnameSpeedUpResponse) FromJsonString

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

func (r *ModifyZoneCnameSpeedUpResponse) ToJsonString() string

type ModifyZoneCnameSpeedUpResponseParams

type ModifyZoneCnameSpeedUpResponseParams 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"`
}

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"`
}

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"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

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"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

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. This only supports port 443 on the origin server.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`

	// When OriginType is COS, you can specify if access to private buckets is allowed.
	// Note: This field may return null, indicating that no valid values 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"`

	HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}

type OriginGroupCondition

type OriginGroupCondition struct {
	Target *string `json:"Target,omitempty" name:"Target"`

	Operator *string `json:"Operator,omitempty" name:"Operator"`

	Values []*string `json:"Values,omitempty" name:"Values"`
}

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 {
	Module *string `json:"Module,omitempty" name:"Module"`

	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"`

	// Plan option. Values:
	// <li>`sta`: Standard plan that supports content delivery network outside Chinese mainland;</li>
	// <li>`sta_with_bot`: Standard plan that supports content delivery network outside Chinese mainland and bot management;</li>
	// <li>`sta_cm`: Standard plan that supports content delivery network inside Chinese mainland;</li>
	// <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside Chinese mainland and bot management;</li>
	// <li>`ent`: Enterprise plan that supports content delivery network outside Chinese mainland;</li>
	// <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside Chinese mainland and bot management;</li>
	// <li>`ent_cm`: Enterprise plan that supports content delivery network inside Chinese mainland;</li>
	// <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside Chinese mainland 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"`

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

type PortraitManagedRuleDetail

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

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

	// Rule type name: botdb (user profile)
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`

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

	// Action status of the rule.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`
}

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`: Equal to;</li>
	// <li>`notEquals`: Not equal to;</li>
	// <li>`include`: Contain;</li>
	// <li>`notInclude`: Not contain;</li>
	// <li>`startWith`: Start with;</li>
	// <li>`notStartWith`: Not start with;</li>
	// <li>`endWith`: End with;</li>
	// <li>`notEndWith`: 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"`

	// Quota type. Values:
	// <li>`purge_prefix`: Purge prefixes;</li>
	// <li>`purge_url`: Purge URLs;</li>
	// <li>`purge_host`: Purge hostnames;</li>
	// <li>`purge_all`: Purge all caches.</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 RateLimitIntelligenceRuleDetail

type RateLimitIntelligenceRuleDetail struct {
	// The client IP detected.
	MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`

	// The action taken.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Update time
	EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"`

	// The expiration time.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

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

	// The action status. `allowed` indicates that the request is allowed.
	Status *string `json:"Status,omitempty" name:"Status"`
}

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"`

	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 values can be obtained.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// The unique ID.
	ID *int64 `json:"ID,omitempty" name:"ID"`

	// The action, which will be triggered when the specified threshold reaches.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// The amount of time taken to perform the action. Value range: 0-172800 seconds.
	// Note: This field may return null, indicating that no valid values 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`: Enable</li>
	// <li>`off`: Disable</li>
	// <li>Default value: on</li>
	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>`host`: Domain name</li>
	// <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"`
}

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 execution conditions.
	// Note: If any condition in the array is met, the feature will run.
	Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`

	// Feature to be executed.
	Actions []*Action `json:"Actions,omitempty" name:"Actions"`
}

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>equal: Equal to.</li>
	// <li>notequal: Not equal to.</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// Match type. Valid values:
	// <li>`host`: All</li>
	// <li>`filename`: File name</li>
	// <li>`extension`: File extension</li>
	// <li>`host`: HOST: .</li>
	// <li>`full_url`: The full URL of the current site. It must contain the HTTP protocol, host, and path.</li>
	// <li>`url`: The URL path of the current site.</li>
	Target *string `json:"Target,omitempty" name:"Target"`

	// Parameter values of the match type. Each match type has the following valid values:
	// <li>`Target=extension`:  The extension of the file, such as `jpg` and `txt`.</li>
	// <li>`Target=filename`: The file name without the extension.</li>
	// <li>`Target=host`: Values can be `all`
	// or a host, such as `www.maxx55.com`.</li>
	// <li>`Target=url`: A URL request path under the current site, such as `/example`.</li>
	// <li>`Target=full_url`: A complete URL request under the current site. It must contain the protocol, host, and path, such as `https://www.maxx55.cn/example`.</li>
	Values []*string `json:"Values,omitempty" name:"Values"`
}

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"`
}

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"`
}

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"`
}

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"`
}

type SecurityEntity

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

	// The subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitempty" name:"Entity"`

	// The type. Values:
	// <li>`domain`: Layer-7 subdomain name</li>
	// <li>`application`: Layer-4 proxy name</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}

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`: 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 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"`
}

type ShieldArea

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

	// The policy ID.
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`

	// The type of protected resources. Values:
	// <li>`domain`: Layer-7 subdomain name</li>
	// <li>`application`: Layer-4 proxy</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// The layer-7 site name.
	EntityName *string `json:"EntityName,omitempty" name:"EntityName"`

	// The layer-7 subdomain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DDoSHosts []*DDoSHost `json:"DDoSHosts,omitempty" name:"DDoSHosts"`

	// Number of layer-4 TCP forwarding rules
	TcpNum *int64 `json:"TcpNum,omitempty" name:"TcpNum"`

	// Number of layer-4 UDP forwarding rules
	UdpNum *int64 `json:"UdpNum,omitempty" name:"UdpNum"`

	// Name of the protected resource
	Entity *string `json:"Entity,omitempty" name:"Entity"`
}

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 {
	Type *string `json:"Type,omitempty" name:"Type"`

	Selector *string `json:"Selector,omitempty" name:"Selector"`

	MatchFromType *string `json:"MatchFromType,omitempty" name:"MatchFromType"`

	MatchFrom []*string `json:"MatchFrom,omitempty" name:"MatchFrom"`

	MatchContentType *string `json:"MatchContentType,omitempty" name:"MatchContentType"`

	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 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 SwitchLogTopicTaskRequest

type SwitchLogTopicTaskRequest struct {
	*tchttp.BaseRequest

	// Topic ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Whether to enable the shipping task. Values:
	// <li>`true`: Enable the shipping task;</li>
	// <li>`false`: Disable the shipping task.</li>
	IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"`
}

func NewSwitchLogTopicTaskRequest

func NewSwitchLogTopicTaskRequest() (request *SwitchLogTopicTaskRequest)

func (*SwitchLogTopicTaskRequest) FromJsonString

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

func (r *SwitchLogTopicTaskRequest) ToJsonString() string

type SwitchLogTopicTaskRequestParams

type SwitchLogTopicTaskRequestParams struct {
	// Topic ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Whether to enable the shipping task. Values:
	// <li>`true`: Enable the shipping task;</li>
	// <li>`false`: Disable the shipping task.</li>
	IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"`
}

Predefined struct for user

type SwitchLogTopicTaskResponse

type SwitchLogTopicTaskResponse struct {
	*tchttp.BaseResponse
	Response *SwitchLogTopicTaskResponseParams `json:"Response"`
}

func NewSwitchLogTopicTaskResponse

func NewSwitchLogTopicTaskResponse() (response *SwitchLogTopicTaskResponse)

func (*SwitchLogTopicTaskResponse) FromJsonString

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

func (r *SwitchLogTopicTaskResponse) ToJsonString() string

type SwitchLogTopicTaskResponseParams

type SwitchLogTopicTaskResponseParams 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 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 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 WafGroupDetail

type WafGroupDetail struct {
	// ID of the rule type.
	RuleTypeId *int64 `json:"RuleTypeId,omitempty" name:"RuleTypeId"`

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

	// Description of the rule type.
	RuleTypeDesc *string `json:"RuleTypeDesc,omitempty" name:"RuleTypeDesc"`

	// List of rules.
	WafGroupRules []*WafGroupRule `json:"WafGroupRules,omitempty" name:"WafGroupRules"`

	// The rule level.
	Level *string `json:"Level,omitempty" name:"Level"`

	// The rule action.
	Action *string `json:"Action,omitempty" name:"Action"`
}

type WafGroupInfo

type WafGroupInfo struct {
	// List of managed rule groups.
	WafGroupDetails []*WafGroupDetail `json:"WafGroupDetails,omitempty" name:"WafGroupDetails"`

	// The level of the managed rule group
	// <li>`loose`: Loose</li>
	// <li>`normal`: Moderate</li>
	// <li>`strict`: Strict</li>
	// <li>`stricter`: Super strict</li>
	Level *string `json:"Level,omitempty" name:"Level"`

	// Reserved field.
	Act *string `json:"Act,omitempty" name:"Act"`

	// The mode. Values:
	// <li>`block`: Block</li>
	// <li>`observe`: Observer</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

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

type WafGroupRule

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

	// The rule description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The description of the rule level.
	RuleLevelDesc *string `json:"RuleLevelDesc,omitempty" name:"RuleLevelDesc"`

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

	// The update time in the format of YYYY-MM-DD hh:mm:ss.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// The rule status. Values:
	// <li>`on`: Enabled</li>
	// <li>`off`: Disabled</li>It can be left empty when you query a managed rule.
	Status *string `json:"Status,omitempty" name:"Status"`

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

	// ID of the rule type.
	RuleTypeId *int64 `json:"RuleTypeId,omitempty" name:"RuleTypeId"`

	// Description of the rule type.
	RuleTypeDesc *string `json:"RuleTypeDesc,omitempty" name:"RuleTypeDesc"`
}

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 flattening is enabled. Valid 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"`
}

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"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL