v20220106

package
v3.0.809+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

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

	// Internal error.
	INTERNALERROR = "InternalError"

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

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

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

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

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

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

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

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

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

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

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

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

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

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

	// The package does not support Smart Acceleration.
	INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling"

	// Invalid filter field.
	INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"

	//
	INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType"

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

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

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

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

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

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

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

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

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

	// Resource error
	INVALIDPARAMETER_TARGET = "InvalidParameter.Target"

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

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

	//
	INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName"

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

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

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

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

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

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

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

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

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

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

	// 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"
)
View Source
const APIVersion = "2022-01-06"

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLCondition

type ACLCondition struct {
	// Field to match
	MatchFrom *string `json:"MatchFrom,omitnil" name:"MatchFrom"`

	// String to match
	MatchParam *string `json:"MatchParam,omitnil" name:"MatchParam"`

	// Relation between the field and content
	Operator *string `json:"Operator,omitnil" name:"Operator"`

	// Content to match
	MatchContent *string `json:"MatchContent,omitnil" name:"MatchContent"`
}

type ACLUserRule

type ACLUserRule struct {
	// Name of the rule
	RuleName *string `json:"RuleName,omitnil" name:"RuleName"`

	// Action
	Action *string `json:"Action,omitnil" name:"Action"`

	// Status of the rule
	RuleStatus *string `json:"RuleStatus,omitnil" name:"RuleStatus"`

	// ACL rule
	Conditions []*ACLCondition `json:"Conditions,omitnil" name:"Conditions"`

	// Priority of the rule
	RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"`

	// ID of the rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"`

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

	// IP blocking time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"`

	// IP blocking time unit
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PunishTimeUnit *string `json:"PunishTimeUnit,omitnil" name:"PunishTimeUnit"`

	// Name of the custom block page
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Name *string `json:"Name,omitnil" name:"Name"`

	// ID of the custom block page
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageId *int64 `json:"PageId,omitnil" name:"PageId"`

	// Redirection URL, which must be a subdomain name of the site
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitnil" name:"RedirectUrl"`

	// Return code configured on the custom block page
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseCode *int64 `json:"ResponseCode,omitnil" name:"ResponseCode"`
}

type AclConfig

type AclConfig struct {
	// Switch
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// ACL user rule
	UserRules []*ACLUserRule `json:"UserRules,omitnil" name:"UserRules"`
}

type AiRule

type AiRule struct {
	// `smart_status_close`: Disable; `smart_status_open`: Block;
	// `smart_status_observe`: Observe.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mode *string `json:"Mode,omitnil" name:"Mode"`
}

type ApplicationProxy

type ApplicationProxy struct {
	// ID of the proxy
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Name of the proxy:
	// Domain name or subdomain name when `ProxyType=hostname`
	// Instance name when `ProxyType=instance`
	ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"`

	// Scheduling mode:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitnil" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`

	// Rule list
	Rule []*ApplicationProxyRule `json:"Rule,omitnil" name:"Rule"`

	// Status:
	// `online`: Enable
	// `offline`: Disable
	// `progress`: Deploying
	// `stopping`: Disabling
	// `fail`: Deployment/Disabling failed
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Scheduling information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ScheduleValue []*string `json:"ScheduleValue,omitnil" name:"ScheduleValue"`

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

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

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

	// Session persistence duration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Create by subdomain name
	// `instance`: Create by instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"`

	// When `ProxyType=hostname`:
	// `ProxyName` indicates a specified domain name;
	// `HostId` indicates a unique ID of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HostId *string `json:"HostId,omitnil" name:"HostId"`
}

type ApplicationProxyRule

type ApplicationProxyRule struct {
	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitnil" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitnil" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitnil" 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-xxx"]
	OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"`

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

	// Status:
	// `online`: Enable
	// `offline`: Disable
	// `progress`: Deploying
	// `stopping`: Disabling
	// `fail`: Deployment/Disabling failed
	Status *string `json:"Status,omitnil" name:"Status"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA
	// `PPV1`: Pass the client IP via Proxy Protocol V1
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`
}

type BotConfig

type BotConfig struct {
	// Whether to enable bot security configuration
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Preset rules
	ManagedRule *BotManagedRule `json:"ManagedRule,omitnil" name:"ManagedRule"`

	// Not supported currently
	UaBotRule *BotManagedRule `json:"UaBotRule,omitnil" name:"UaBotRule"`

	// Not supported currently
	IspBotRule *BotManagedRule `json:"IspBotRule,omitnil" name:"IspBotRule"`

	// User portrait rules
	PortraitRule *BotPortraitRule `json:"PortraitRule,omitnil" name:"PortraitRule"`

	// Bot intelligence rules
	// Note: This field may return null, indicating that no valid values can be obtained.
	IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitnil" name:"IntelligenceRule"`
}

type BotLog

type BotLog struct {
	// Attack time
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackTime *uint64 `json:"AttackTime,omitnil" name:"AttackTime"`

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

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

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

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

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

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

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

	// Rule number
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleId *uint64 `json:"RuleId,omitnil" name:"RuleId"`

	// IP country/region
	// Note: This field may return null, indicating that no valid values can be obtained.
	SipCountryCode *string `json:"SipCountryCode,omitnil" name:"SipCountryCode"`

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

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

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

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

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

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

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

type BotLogData

type BotLogData struct {
	// Data set of bot attack logs
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*BotLog `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type BotManagedRule

type BotManagedRule struct {
	// ID of the rule to be enabled
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ManagedIds []*int64 `json:"ManagedIds,omitnil" name:"ManagedIds"`

	// ID of the rule being applied
	RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"`

	// Action of the rule. Values: `drop`; `trans`; `monitor`; `alg`.
	Action *string `json:"Action,omitnil" name:"Action"`

	// The amount of time the IP is blocked
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"`

	// Unit of IP blocking time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PunishTimeUnit *string `json:"PunishTimeUnit,omitnil" name:"PunishTimeUnit"`

	// Name of the custom block page
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Name *string `json:"Name,omitnil" name:"Name"`

	// ID of the custom block page
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageId *int64 `json:"PageId,omitnil" name:"PageId"`

	// Redirection URL, which must be a subdomain name of your site encoded by URLEncode
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RedirectUrl *string `json:"RedirectUrl,omitnil" name:"RedirectUrl"`

	// Response code returned after redirection
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ResponseCode *int64 `json:"ResponseCode,omitnil" name:"ResponseCode"`

	// ID of the rule that is set to allow requests
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TransManagedIds []*int64 `json:"TransManagedIds,omitnil" name:"TransManagedIds"`

	// ID of the rule that is set to verify requests by JavaScript challenge
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AlgManagedIds []*int64 `json:"AlgManagedIds,omitnil" name:"AlgManagedIds"`

	// ID of the rule that is set to verify requests by CAPTCHA
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CapManagedIds []*int64 `json:"CapManagedIds,omitnil" name:"CapManagedIds"`

	// ID of the rule that is set to observe requests
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MonManagedIds []*int64 `json:"MonManagedIds,omitnil" name:"MonManagedIds"`

	// ID of the rule that is set to block requests
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DropManagedIds []*int64 `json:"DropManagedIds,omitnil" name:"DropManagedIds"`
}

type BotManagedRuleDetail

type BotManagedRuleDetail struct {
	// ID of the rule
	RuleId *int64 `json:"RuleId,omitnil" name:"RuleId"`

	// Rule description
	Description *string `json:"Description,omitnil" name:"Description"`

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

	// Whether the rule is enabled
	Status *string `json:"Status,omitnil" name:"Status"`
}

type BotPortraitRule

type BotPortraitRule struct {
	// ID of the rule being applied
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"`

	// ID of the rule that is set to verify requests by JavaScript challenge
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AlgManagedIds []*int64 `json:"AlgManagedIds,omitnil" name:"AlgManagedIds"`

	// ID of the rule that is set to verify requests by CAPTCHA
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CapManagedIds []*int64 `json:"CapManagedIds,omitnil" name:"CapManagedIds"`

	// ID of the rule that is set to observe requests
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MonManagedIds []*int64 `json:"MonManagedIds,omitnil" name:"MonManagedIds"`

	// ID of the rule that is set to block requests
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DropManagedIds []*int64 `json:"DropManagedIds,omitnil" name:"DropManagedIds"`

	// Feature switch
	// Note: This field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type CCInterceptEvent

type CCInterceptEvent struct {
	// Client IP
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientIp *string `json:"ClientIp,omitnil" name:"ClientIp"`

	// Number of blocks per minute
	// Note: This field may return null, indicating that no valid values can be obtained.
	InterceptNum *int64 `json:"InterceptNum,omitnil" name:"InterceptNum"`

	// Block time in rate-limiting policy per minute in seconds
	InterceptTime *int64 `json:"InterceptTime,omitnil" name:"InterceptTime"`
}

type CCInterceptEventData

type CCInterceptEventData struct {
	// Data set of attack events
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*CCInterceptEvent `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type CCLog

type CCLog struct {
	// Attack time
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackTime *uint64 `json:"AttackTime,omitnil" name:"AttackTime"`

	// Attack source IP
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackSip *string `json:"AttackSip,omitnil" name:"AttackSip"`

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

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

	// Number of hits
	// Note: This field may return null, indicating that no valid values can be obtained.
	HitCount *uint64 `json:"HitCount,omitnil" name:"HitCount"`

	// IP country/region
	// Note: This field may return null, indicating that no valid values can be obtained.
	SipCountryCode *string `json:"SipCountryCode,omitnil" name:"SipCountryCode"`

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

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

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

	// Rule number
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleId *uint64 `json:"RuleId,omitnil" name:"RuleId"`

	// Risk grade
	// Note: This field may return null, indicating that no valid values can be obtained.
	RiskLevel *string `json:"RiskLevel,omitnil" name:"RiskLevel"`
}

type CCLogData

type CCLogData struct {
	// Data set of CC block logs
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*CCLog `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type CacheConfig

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

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

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

type CacheConfigCache

type CacheConfigCache struct {
	// Cache configuration switch
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

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

	// Specifies whether to enable force cache
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCacheControl *string `json:"IgnoreCacheControl,omitnil" name:"IgnoreCacheControl"`
}

type CacheConfigFollowOrigin

type CacheConfigFollowOrigin struct {
	// Specifies whether to follow the origin server configuration
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type CacheConfigNoCache

type CacheConfigNoCache struct {
	// Whether to cache the configuration
	// `on`: Do not cache
	// `off`: Cache
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type CacheKey

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

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

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

type CachePrefresh

type CachePrefresh struct {
	// Configuration switch
	Switch *string `json:"Switch,omitnil" name:"Switch"`

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

type CertFilter

type CertFilter struct {
	// Filters by the field name. Values:
	//  - `host`: Domain name
	//  - `certId`: Certificate ID
	//  - `certAlias`: Certificate alias
	//  - `certType: default`: Default certificate; `upload`: External certificate; `managed`: Tencent Cloud certificate.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Filters by the field value
	Values []*string `json:"Values,omitnil" name:"Values"`

	// Specifies whether to enable fuzzy query, which only supports the `host` field.
	// If it is enabled, the length of `Value` must be 1.
	Fuzzy *bool `json:"Fuzzy,omitnil" name:"Fuzzy"`
}

type CertSort

type CertSort struct {
	// Fields that can be sorted. Values:
	// `createTime`: Domain name creation time
	// `certExpireTime`: Certificate expiration time
	// `certDeployTime`: Certificate deployment time
	Key *string `json:"Key,omitnil" name:"Key"`

	// Sorting order. Valid values: `asc` and `desc` (default).
	Sequence *string `json:"Sequence,omitnil" name:"Sequence"`
}

type CheckCertificateRequest

type CheckCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate
	Certificate *string `json:"Certificate,omitnil" name:"Certificate"`

	// Private key
	PrivateKey *string `json:"PrivateKey,omitnil" 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 {
	// Certificate
	Certificate *string `json:"Certificate,omitnil" name:"Certificate"`

	// Private key
	PrivateKey *string `json:"PrivateKey,omitnil" 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,omitnil" 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:

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

func (c *Client) CreateApplicationProxyRules(request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)

CreateApplicationProxyRules This API is used to batch create application proxy rules.

error code that may be returned:

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

func (*Client) CreateApplicationProxyRulesWithContext

func (c *Client) CreateApplicationProxyRulesWithContext(ctx context.Context, request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)

CreateApplicationProxyRules This API is used to batch create application proxy rules.

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:

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

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:

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

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:

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

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

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

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

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"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"
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"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"
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:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteApplicationProxyRule

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

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:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDnsRecords

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

DeleteDnsRecords This API is used to batch delete DNS records.

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 batch delete DNS records.

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

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"

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"

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"

func (*Client) DescribeApplicationProxy

func (c *Client) DescribeApplicationProxy(request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)

DescribeApplicationProxy This API is used to obtain a list of application proxies.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeApplicationProxyDetail

func (c *Client) DescribeApplicationProxyDetail(request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)

DescribeApplicationProxyDetail This API is used to obtain the details of an application proxy.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeApplicationProxyDetailWithContext

func (c *Client) DescribeApplicationProxyDetailWithContext(ctx context.Context, request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)

DescribeApplicationProxyDetail This API is used to obtain the details of an application proxy.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeApplicationProxyWithContext

func (c *Client) DescribeApplicationProxyWithContext(ctx context.Context, request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)

DescribeApplicationProxy This API is used to obtain a list of application proxies.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

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:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"

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:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeBotManagedRules

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

DescribeBotManagedRules This API is used to query bot managed rules.

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 bot managed rules.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) DescribeCnameStatus

func (c *Client) DescribeCnameStatus(request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)

DescribeCnameStatus This API is used to query the CNAME status of a domain name.

error code that may be returned:

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

func (*Client) DescribeCnameStatusWithContext

func (c *Client) DescribeCnameStatusWithContext(ctx context.Context, request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)

DescribeCnameStatus This API is used to query the CNAME status of a domain name.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
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:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
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:

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

func (*Client) DescribeDDosAttackData

func (c *Client) DescribeDDosAttackData(request *DescribeDDosAttackDataRequest) (response *DescribeDDosAttackDataResponse, err error)

DescribeDDosAttackData This API is used to query the DDoS attack data.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
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.

error code that may be returned:

LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDosAttackEvent

func (c *Client) DescribeDDosAttackEvent(request *DescribeDDosAttackEventRequest) (response *DescribeDDosAttackEventResponse, err error)

DescribeDDosAttackEvent This API is used to query 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 DDoS attack event details.

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 DDoS attack event details.

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 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 DDoS attack sources.

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 DDoS attack sources.

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 data of DDoS attacks.

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 data of DDoS attacks.

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 major DDoS attack event.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
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 major DDoS attack event.

error code that may be returned:

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

func (*Client) DescribeDefaultCertificates

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

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

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_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 obtain collected 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 obtain collected 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) DescribeHostsCertificate

func (c *Client) DescribeHostsCertificate(request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)

DescribeHostsCertificate This API is used to query certificates of domain names. Paging, sorting and filtering are supported.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeHostsCertificateWithContext

func (c *Client) DescribeHostsCertificateWithContext(ctx context.Context, request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)

DescribeHostsCertificate This API is used to query certificates of domain names. Paging, sorting and filtering are supported.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

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:

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:

INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeIdentification

func (c *Client) DescribeIdentification(request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)

DescribeIdentification This API is used to query verification results.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeIdentificationWithContext

func (c *Client) DescribeIdentificationWithContext(ctx context.Context, request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)

DescribeIdentification This API is used to query verification results.

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

func (c *Client) DescribeLoadBalancingDetail(request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)

DescribeLoadBalancingDetail This API is used to query the details of a CLB instance.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLoadBalancingDetailWithContext

func (c *Client) DescribeLoadBalancingDetailWithContext(ctx context.Context, request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)

DescribeLoadBalancingDetail This API is used to query the details of a CLB instance.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

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

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

DescribeOriginGroup This API is used to get the list of origin groups.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOriginGroupDetail

func (c *Client) DescribeOriginGroupDetail(request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)

DescribeOriginGroupDetail This API is used to get the details of the origin group.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOriginGroupDetailWithContext

func (c *Client) DescribeOriginGroupDetailWithContext(ctx context.Context, request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)

DescribeOriginGroupDetail This API is used to get the details of the origin group.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOriginGroupWithContext

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

DescribeOriginGroup This API is used to get the list of origin groups.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOverviewL7Data

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

DescribeOverviewL7Data This API is used to query the layer-7 time series traffic data for monitoring.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
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 layer-7 time series traffic data for monitoring.

error code that may be returned:

INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
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 This API is used to query 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 This API is used to query the cache purging history.

error code that may be returned:

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

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:

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

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

func (c *Client) DescribeSecurityPolicyManagedRules(request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)

DescribeSecurityPolicyManagedRules This API is used to query managed rules.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) DescribeSecurityPolicyManagedRulesId

func (c *Client) DescribeSecurityPolicyManagedRulesId(request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)

DescribeSecurityPolicyManagedRulesId This API is used to query the details of a managed rule by rule ID.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) DescribeSecurityPolicyManagedRulesIdWithContext

func (c *Client) DescribeSecurityPolicyManagedRulesIdWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)

DescribeSecurityPolicyManagedRulesId This API is used to query the details of a managed rule by rule ID.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

func (*Client) DescribeSecurityPolicyManagedRulesWithContext

func (c *Client) DescribeSecurityPolicyManagedRulesWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)

DescribeSecurityPolicyManagedRules This API is used to query managed rules.

error code that may be returned:

INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"

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"

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"

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:

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

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

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

DescribeTimingL4Data This API is used to query the layer-4 time series traffic data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
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 layer-4 time series traffic data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
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 layer-7 time series traffic data for data analysis.

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 layer-7 time series traffic data for data analysis.

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 time-series L7 cached data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
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 time-series L7 cached data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
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 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 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 top-ranked L7 cached data.

error code that may be returned:

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

func (*Client) DescribeTopL7CacheDataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeWebManagedRulesAttackEvents

func (c *Client) DescribeWebManagedRulesAttackEvents(request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)

DescribeWebManagedRulesAttackEvents This API is used to query web hosting attack events.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesAttackEventsWithContext

func (c *Client) DescribeWebManagedRulesAttackEventsWithContext(ctx context.Context, request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)

DescribeWebManagedRulesAttackEvents This API is used to query web hosting attack events.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesData

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

DescribeWebManagedRulesData This API is used to query the web hosting rule data.

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 web hosting rule data.

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 hosting 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 hosting logs.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebManagedRulesTopData

func (c *Client) DescribeWebManagedRulesTopData(request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)

DescribeWebManagedRulesTopData This API is used to query the top data of web hosting rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebManagedRulesTopDataWithContext

func (c *Client) DescribeWebManagedRulesTopDataWithContext(ctx context.Context, request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)

DescribeWebManagedRulesTopData This API is used to query the top data of web hosting rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebProtectionAttackEvents

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

DescribeWebProtectionAttackEvents This API is used to query web 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 web attack events.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionData

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

DescribeWebProtectionData This API is used to query the web protection data.

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 web protection data.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionLog

func (c *Client) DescribeWebProtectionLog(request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)

DescribeWebProtectionLog This API is used to query web protection logs.

error code that may be returned:

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

func (*Client) DescribeWebProtectionLogWithContext

func (c *Client) DescribeWebProtectionLogWithContext(ctx context.Context, request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)

DescribeWebProtectionLog This API is used to query web protection logs.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
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) DescribeZoneDetails

func (c *Client) DescribeZoneDetails(request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)

DescribeZoneDetails This API is used to query the details of a site by site ID.

error code that may be returned:

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

func (*Client) DescribeZoneDetailsWithContext

func (c *Client) DescribeZoneDetailsWithContext(ctx context.Context, request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)

DescribeZoneDetails This API is used to query the details of a site by site ID.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
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) DownloadL7Logs

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

DownloadL7Logs This API is used to query layer-7 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 query layer-7 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) ImportDnsRecords

func (c *Client) ImportDnsRecords(request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)

ImportDnsRecords This API is used to import DNS records.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ImportDnsRecordsWithContext

func (c *Client) ImportDnsRecordsWithContext(ctx context.Context, request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)

ImportDnsRecords This API is used to import DNS records.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

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:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName"
OPERATIONDENIED = "OperationDenied"
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"

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:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

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:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

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"

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:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyStatusWithContext

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyApplicationProxyWithContext

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

ModifyApplicationProxy This API is used to modify an application proxy.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName"
OPERATIONDENIED = "OperationDenied"
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"
OPERATIONDENIED = "OperationDenied"

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

func (*Client) ModifyDefaultCertificate

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

ModifyDefaultCertificate This API is used to modify the status of a default certificate.

error code that may be returned:

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 API is used to modify the status of a default certificate.

error code that may be returned:

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"

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.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
OPERATIONDENIED = "OperationDenied"

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

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"

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

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

ModifyZone This API is used to modify the site information.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
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_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling"
INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
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_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling"
INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
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 the site information.

error code that may be returned:

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

OPERATIONDENIED = "OperationDenied"

func (*Client) ReclaimZoneWithContext

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

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

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ScanDnsRecords

func (c *Client) ScanDnsRecords(request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)

ScanDnsRecords This API is used to scan resolution records.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ScanDnsRecordsWithContext

func (c *Client) ScanDnsRecordsWithContext(ctx context.Context, request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)

ScanDnsRecords This API is used to scan resolution records.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

type ClientIp

type ClientIp struct {
	// Specifies whether to enable client IP header
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Name of the origin-pull client IP request header
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeaderName *string `json:"HeaderName,omitnil" name:"HeaderName"`
}

type CnameStatus

type CnameStatus struct {
	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	// Status
	// `active`: Activated
	// `moved`: Not activated
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitnil" name:"Status"`
}

type Compression

type Compression struct {
	// Whether to enable Smart compression
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type CreateApplicationProxyRequest

type CreateApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Name of the proxy:
	// Domain name or subdomain name when `ProxyType=hostname`
	// Instance name when `ProxyType=instance`
	ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"`

	// Scheduling mode. Values:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitnil" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`

	// Rule details
	Rule []*ApplicationProxyRule `json:"Rule,omitnil" name:"Rule"`

	// Session persistence duration. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Create by subdomain name
	// `instance`: Create by instance
	ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Name of the proxy:
	// Domain name or subdomain name when `ProxyType=hostname`
	// Instance name when `ProxyType=instance`
	ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"`

	// Scheduling mode. Values:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitnil" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`

	// Rule details
	Rule []*ApplicationProxyRule `json:"Rule,omitnil" name:"Rule"`

	// Session persistence duration. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Create by subdomain name
	// `instance`: Create by instance
	ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"`
}

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 {
	// Layer-4 application proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

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

Predefined struct for user

type CreateApplicationProxyRuleRequest

type CreateApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitnil" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitnil" name:"Port"`

	// Origin type. Valid values:
	// `custom`: Specified origins
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitnil" name:"OriginType"`

	// Origin information:
	// When `OriginType=custom`, it can include one or more origins in either of the following formats:
	// IP:Port
	// Domain name:Port
	// When `OriginType=origins`, it is an origin group ID.
	OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA
	// `PPV1`: Pass the client IP via Proxy Protocol V1
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitnil" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitnil" name:"Port"`

	// Origin type. Valid values:
	// `custom`: Specified origins
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitnil" name:"OriginType"`

	// Origin information:
	// When `OriginType=custom`, it can include one or more origins in either of the following formats:
	// IP:Port
	// Domain name:Port
	// When `OriginType=origins`, it is an origin group ID.
	OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA
	// `PPV1`: Pass the client IP via Proxy Protocol V1
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitnil" 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 {
	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

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

Predefined struct for user

type CreateApplicationProxyRulesRequest

type CreateApplicationProxyRulesRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule list
	Rule []*ApplicationProxyRule `json:"Rule,omitnil" name:"Rule"`
}

func NewCreateApplicationProxyRulesRequest

func NewCreateApplicationProxyRulesRequest() (request *CreateApplicationProxyRulesRequest)

func (*CreateApplicationProxyRulesRequest) FromJsonString

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

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

func (*CreateApplicationProxyRulesRequest) ToJsonString

func (r *CreateApplicationProxyRulesRequest) ToJsonString() string

type CreateApplicationProxyRulesRequestParams

type CreateApplicationProxyRulesRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule list
	Rule []*ApplicationProxyRule `json:"Rule,omitnil" name:"Rule"`
}

Predefined struct for user

type CreateApplicationProxyRulesResponse

type CreateApplicationProxyRulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateApplicationProxyRulesResponseParams `json:"Response"`
}

func NewCreateApplicationProxyRulesResponse

func NewCreateApplicationProxyRulesResponse() (response *CreateApplicationProxyRulesResponse)

func (*CreateApplicationProxyRulesResponse) FromJsonString

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

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

func (*CreateApplicationProxyRulesResponse) ToJsonString

func (r *CreateApplicationProxyRulesResponse) ToJsonString() string

type CreateApplicationProxyRulesResponseParams

type CreateApplicationProxyRulesResponseParams struct {
	// Array of rule IDs
	RuleId []*string `json:"RuleId,omitnil" name:"RuleId"`

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

Predefined struct for user

type CreateCustomErrorPageRequest

type CreateCustomErrorPageRequest struct {
	*tchttp.BaseRequest

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

	// Subdomain name of the site
	Entity *string `json:"Entity,omitnil" name:"Entity"`

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

	// Content of the custom page
	Content *string `json:"Content,omitnil" 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 {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name of the site
	Entity *string `json:"Entity,omitnil" name:"Entity"`

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

	// Content of the custom page
	Content *string `json:"Content,omitnil" 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,omitnil" name:"PageId"`

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

Predefined struct for user

type CreateDnsRecordRequest

type CreateDnsRecordRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	// Proxy mode. Valid values: `dns_only`, `cdn_only`, and `secure_cdn`.
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	// Proxy mode. Valid values: `dns_only`, `cdn_only`, and `secure_cdn`.
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitnil" 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 {
	// Record ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	// Resolution status. Valid values:
	// `active`: Activated
	// `pending`: Not activated
	Status *string `json:"Status,omitnil" name:"Status"`

	// Whether the DNS record is locked
	Locked *bool `json:"Locked,omitnil" name:"Locked"`

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

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

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

Predefined struct for user

type CreateLoadBalancingRequest

type CreateLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name
	Host *string `json:"Host,omitnil" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitnil" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitnil" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitnil" name:"TTL"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name
	Host *string `json:"Host,omitnil" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitnil" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitnil" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitnil" name:"TTL"`
}

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 {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

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

Predefined struct for user

type CreateOriginGroupRequest

type CreateOriginGroupRequest struct {
	*tchttp.BaseRequest

	// Name of the origin group
	OriginName *string `json:"OriginName,omitnil" name:"OriginName"`

	// Origin-pull configuration type. This field is required when `OriginType=self`.
	// `area`: Origin-pull by region
	// `weight`: Origin-pull by weight
	// When `OriginType=third_party/cos`, it can be left empty.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Origin records
	Record []*OriginRecord `json:"Record,omitnil" name:"Record"`

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

	// Origin type
	// `self`: Customer origin
	// `third_party`: Third-party origin
	// `cos`: Tencent Cloud COS origin
	OriginType *string `json:"OriginType,omitnil" name:"OriginType"`
}

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 {
	// Name of the origin group
	OriginName *string `json:"OriginName,omitnil" name:"OriginName"`

	// Origin-pull configuration type. This field is required when `OriginType=self`.
	// `area`: Origin-pull by region
	// `weight`: Origin-pull by weight
	// When `OriginType=third_party/cos`, it can be left empty.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Origin records
	Record []*OriginRecord `json:"Record,omitnil" name:"Record"`

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

	// Origin type
	// `self`: Customer origin
	// `third_party`: Third-party origin
	// `cos`: Tencent Cloud COS origin
	OriginType *string `json:"OriginType,omitnil" name:"OriginType"`
}

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 {
	// ID of the newly added origin group
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

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

Predefined struct for user

type CreatePrefetchTaskRequest

type CreatePrefetchTaskRequest struct {
	*tchttp.BaseRequest

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

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

	// Specifies whether to encode the URL
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitnil" name:"EncodeUrl"`

	// HTTP header information
	Headers []*Header `json:"Headers,omitnil" 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,omitnil" name:"ZoneId"`

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

	// Specifies whether to encode the URL
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitnil" name:"EncodeUrl"`

	// HTTP header information
	Headers []*Header `json:"Headers,omitnil" 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 {
	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

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

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

Predefined struct for user

type CreatePurgeTaskRequest

type CreatePurgeTaskRequest struct {
	*tchttp.BaseRequest

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

	// Type of the purging task. Values:
	// - `purge_url`: Purge by the URL
	// - `purge_prefix`: Purge by the prefix
	// - `purge_host`: Purge by the Hostname
	// - `purge_all`: Purge all cached contents
	Type *string `json:"Type,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"ZoneId"`

	// Type of the purging task. Values:
	// - `purge_url`: Purge by the URL
	// - `purge_prefix`: Purge by the prefix
	// - `purge_host`: Purge by the Hostname
	// - `purge_all`: Purge all cached contents
	Type *string `json:"Type,omitnil" 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,omitnil" 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,omitnil" 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 {
	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

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

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

Predefined struct for user

type CreateZoneRequest

type CreateZoneRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Access mode. Valid values:
	// - `full` (default): Access via NS
	// - `partial`: Access via CNAME
	Type *string `json:"Type,omitnil" name:"Type"`

	// Specifies whether to skip resolution record scanning
	JumpStart *bool `json:"JumpStart,omitnil" name:"JumpStart"`

	// Resource tag
	Tags []*Tag `json:"Tags,omitnil" 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 {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Access mode. Valid values:
	// - `full` (default): Access via NS
	// - `partial`: Access via CNAME
	Type *string `json:"Type,omitnil" name:"Type"`

	// Specifies whether to skip resolution record scanning
	JumpStart *bool `json:"JumpStart,omitnil" name:"JumpStart"`

	// Resource tag
	Tags []*Tag `json:"Tags,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Specifies how the site is connected to EdgeOne.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Site status
	// - `pending`: The name server is not switched.
	// - `active`: The name server is switched to another assigned.
	// - `moved`: Move the NS out of Tencent Cloud
	Status *string `json:"Status,omitnil" name:"Status"`

	// List of name servers
	OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"`

	// List of name servers assigned to users
	NameServers []*string `json:"NameServers,omitnil" name:"NameServers"`

	// Site creation date
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// Site update time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

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

Predefined struct for user

type DDoSAcl

type DDoSAcl struct {
	// Destination port used as the end port
	DportEnd *int64 `json:"DportEnd,omitnil" name:"DportEnd"`

	// Destination port used as the start port
	DportStart *int64 `json:"DportStart,omitnil" name:"DportStart"`

	// Source port used as the end port
	SportEnd *int64 `json:"SportEnd,omitnil" name:"SportEnd"`

	// Source port used as the start port
	SportStart *int64 `json:"SportStart,omitnil" name:"SportStart"`

	// Protocol. Values: `tcp`, `udp`, and `all`.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Action. Values: `drop` (Drop the request); `transmit` (Allow the request); `forward` (Continue to offer protection).
	Action *string `json:"Action,omitnil" name:"Action"`

	// Whether it is a system configuration. Values: `0` (manual configuration); `1` (system configuration).
	Default *int64 `json:"Default,omitnil" name:"Default"`
}

type DDoSAntiPly

type DDoSAntiPly struct {
	// Enables TCP protocol blocking. `on` (enable); `off` (disable).
	DropTcp *string `json:"DropTcp,omitnil" name:"DropTcp"`

	// Enables UDP protocol blocking. `on` (enable); `off` (disable).
	DropUdp *string `json:"DropUdp,omitnil" name:"DropUdp"`

	// Enables ICMP protocol blocking. `on` (enable); `off` (disable).
	DropIcmp *string `json:"DropIcmp,omitnil" name:"DropIcmp"`

	// Enables blocking for other protocols. `on` (enable); `off` (disable).
	DropOther *string `json:"DropOther,omitnil" name:"DropOther"`

	// Number of new connections the source port can establish. Value range: 0-4294967295.
	SourceCreateLimit *int64 `json:"SourceCreateLimit,omitnil" name:"SourceCreateLimit"`

	// Number of concurrent connections the source port can establish. Value range: 0-4294967295.
	SourceConnectLimit *int64 `json:"SourceConnectLimit,omitnil" name:"SourceConnectLimit"`

	// Number of new connections the destination port can establish. Value range: 0-4294967295.
	DestinationCreateLimit *int64 `json:"DestinationCreateLimit,omitnil" name:"DestinationCreateLimit"`

	// Number of concurrent connections the destination port can establish. Value range: 0-4294967295.
	DestinationConnectLimit *int64 `json:"DestinationConnectLimit,omitnil" name:"DestinationConnectLimit"`

	// Number of abnormal connections allowed. Value range: 0-4294967295.
	AbnormalConnectNum *int64 `json:"AbnormalConnectNum,omitnil" name:"AbnormalConnectNum"`

	// Specifies the ratio of SYN exceptions to trigger alerts. Value range: 0-100
	AbnormalSynRatio *int64 `json:"AbnormalSynRatio,omitnil" name:"AbnormalSynRatio"`

	// Specifies a max number of SYN packets that triggers alarms. Value range: 0-65535
	AbnormalSynNum *int64 `json:"AbnormalSynNum,omitnil" name:"AbnormalSynNum"`

	// Connection timeout period. Value range: 0-65535.
	ConnectTimeout *int64 `json:"ConnectTimeout,omitnil" name:"ConnectTimeout"`

	// Whether to enable null session protection. `0`: Disable; `1`: Enable.
	EmptyConnectProtect *string `json:"EmptyConnectProtect,omitnil" name:"EmptyConnectProtect"`

	// Whether to enable UDP fragmentation. `off`: Disable; `on`: Enable.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UdpShard *string `json:"UdpShard,omitnil" name:"UdpShard"`
}

type DDoSApplication

type DDoSApplication struct {
	// Second-level domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Host *string `json:"Host,omitnil" name:"Host"`

	// Status of the domain name
	// `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 value can be obtained.
	Status *string `json:"Status,omitnil" 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 value can be obtained.
	AccelerateType *string `json:"AccelerateType,omitnil" 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 value can be obtained.
	SecurityType *string `json:"SecurityType,omitnil" name:"SecurityType"`
}

type DDoSConfig

type DDoSConfig struct {
	// Switch
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type DDoSFeaturesFilter

type DDoSFeaturesFilter struct {
	// Action. `drop`: Drop the request; `transmit`: Allow the request; `drop_block`: Drop the request and block it; `forward`: Continue to offer protection.
	Action *string `json:"Action,omitnil" name:"Action"`

	// Sets how far from the first search position
	Depth *int64 `json:"Depth,omitnil" name:"Depth"`

	// Sets how far from the second search position
	Depth2 *int64 `json:"Depth2,omitnil" name:"Depth2"`

	// End of the destination port
	DportEnd *int64 `json:"DportEnd,omitnil" name:"DportEnd"`

	// Start of the destination port
	DportStart *int64 `json:"DportStart,omitnil" name:"DportStart"`

	// Whether to match string 1 that does not contain all the specified elements
	IsNot *int64 `json:"IsNot,omitnil" name:"IsNot"`

	// Whether to match string 2 that does not contain all the specified elements
	IsNot2 *int64 `json:"IsNot2,omitnil" name:"IsNot2"`

	// Logical operator that combines two conditions. Values: `none`, `and` and `or`. If there is only one condition, pass in `none` for this condition only.
	MatchLogic *string `json:"MatchLogic,omitnil" name:"MatchLogic"`

	// Matching method of the first condition. `pcre`: Regex match; `sunday`: String match.
	MatchType *string `json:"MatchType,omitnil" name:"MatchType"`

	// Matching method of the second condition. `pcre`: Regex match; `sunday`: String match.
	MatchType2 *string `json:"MatchType2,omitnil" name:"MatchType2"`

	// Offset from the first search position
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Offset from the second search position
	Offset2 *int64 `json:"Offset2,omitnil" name:"Offset2"`

	// Maximum packet length
	PacketMax *int64 `json:"PacketMax,omitnil" name:"PacketMax"`

	// Minimum packet length
	PacketMin *int64 `json:"PacketMin,omitnil" name:"PacketMin"`

	// Protocol. Values: `tcp`, `udp`, `icmp` and `all`.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// End of the source port
	SportEnd *int64 `json:"SportEnd,omitnil" name:"SportEnd"`

	// Start of the source port
	SportStart *int64 `json:"SportStart,omitnil" name:"SportStart"`

	// String in the first condition
	Str *string `json:"Str,omitnil" name:"Str"`

	// String in the second condition
	Str2 *string `json:"Str2,omitnil" name:"Str2"`

	// Layer at which each match starts. Values: `begin_l5`, `no_match`, `begin_l3` and `begin_l4`.
	MatchBegin *string `json:"MatchBegin,omitnil" name:"MatchBegin"`

	// Layer at which each match starts. Values: `begin_l5`, `no_match`, `begin_l3` and `begin_l4`.
	MatchBegin2 *string `json:"MatchBegin2,omitnil" name:"MatchBegin2"`
}

type DDoSGeoIp

type DDoSGeoIp struct {
	// Region information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RegionId []*int64 `json:"RegionId,omitnil" name:"RegionId"`

	// Whether to remove all settings when empty strings are passed in. Default value: `off` (remove)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type DDoSStatusInfo

type DDoSStatusInfo struct {
	// This field is not supported. Value: `off`.
	AiStatus *string `json:"AiStatus,omitnil" name:"AiStatus"`

	// User appid
	Appid *string `json:"Appid,omitnil" name:"Appid"`

	// Protection level. Values: `low`, `middle`, and `high`.
	PlyLevel *string `json:"PlyLevel,omitnil" name:"PlyLevel"`
}

type DDoSUserAllowBlockIP

type DDoSUserAllowBlockIP struct {
	// Start IP address in a specific range
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Ip *string `json:"Ip,omitnil" name:"Ip"`

	// Start mask in a specific range
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mask *int64 `json:"Mask,omitnil" name:"Mask"`

	// IP type. `block`: IP blocklist; `allow`: IP allowlist.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitnil" name:"Type"`

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

	// End IP address in a specific range
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Ip2 *string `json:"Ip2,omitnil" name:"Ip2"`

	// End mask in a specific range
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mask2 *int64 `json:"Mask2,omitnil" name:"Mask2"`
}

type DDosAttackEvent

type DDosAttackEvent struct {
	// DDoS policy group ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

	// Attack type (corresponding to interaction event name)
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Attack status
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackStatus *int64 `json:"AttackStatus,omitnil" name:"AttackStatus"`

	// Maximum attack bandwidth
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitnil" name:"AttackMaxBandWidth"`

	// Peak attack packet rate
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitnil" name:"AttackPacketMaxRate"`

	// Attack start time in seconds
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackStartTime *int64 `json:"AttackStartTime,omitnil" name:"AttackStartTime"`

	// Attack end time in seconds
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackEndTime *int64 `json:"AttackEndTime,omitnil" name:"AttackEndTime"`

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

	// Site ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

type DDosAttackEventData

type DDosAttackEventData struct {
	// Data set of attack events
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*DDosAttackEvent `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type DDosAttackEventDetailData

type DDosAttackEventDetailData struct {
	// Attack status
	AttackStatus *int64 `json:"AttackStatus,omitnil" name:"AttackStatus"`

	// Attack type
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// End time
	EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"`

	// Start time
	StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"`

	// Maximum bandwidth
	MaxBandWidth *int64 `json:"MaxBandWidth,omitnil" name:"MaxBandWidth"`

	// Maximum packet rate
	PacketMaxRate *int64 `json:"PacketMaxRate,omitnil" name:"PacketMaxRate"`

	// Event ID
	EventId *string `json:"EventId,omitnil" name:"EventId"`

	// DDoS policy group ID
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`
}

type DDosAttackSourceEvent

type DDosAttackSourceEvent struct {
	// Attack source IP
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackSourceIp *string `json:"AttackSourceIp,omitnil" name:"AttackSourceIp"`

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

	// Accumulative attack traffic
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackFlow *uint64 `json:"AttackFlow,omitnil" name:"AttackFlow"`

	// Accumulative number of attack packets
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackPacketNum *uint64 `json:"AttackPacketNum,omitnil" name:"AttackPacketNum"`
}

type DDosAttackSourceEventData

type DDosAttackSourceEventData struct {
	// DDoS attack source data set
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*DDosAttackSourceEvent `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type DDosMajorAttackEvent

type DDosMajorAttackEvent struct {
	// DDoS policy group ID
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

	// Maximum attack bandwidth
	AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitnil" name:"AttackMaxBandWidth"`

	// Attack time in seconds
	AttackTime *int64 `json:"AttackTime,omitnil" name:"AttackTime"`
}

type DDosMajorAttackEventData

type DDosMajorAttackEventData struct {
	// `DDosMajorAttackEvent` DDoS attack event
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*DDosMajorAttackEvent `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type DataItem

type DataItem struct {
	// Time
	Time *string `json:"Time,omitnil" name:"Time"`

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

type DdosAcls

type DdosAcls struct {
	// Whether to remove all settings when empty strings are passed in. Default value: `off` (remove)
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// DDoS port filtering parameters
	Acl []*DDoSAcl `json:"Acl,omitnil" name:"Acl"`
}

type DdosAllowBlock

type DdosAllowBlock struct {
	// Whether to remove all settings when empty strings are passed in. Default value: `off` (remove)
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Array of objects in blocklist/allowlist configuration
	UserAllowBlockIp []*DDoSUserAllowBlockIP `json:"UserAllowBlockIp,omitnil" name:"UserAllowBlockIp"`
}

type DdosPacketFilter

type DdosPacketFilter struct {
	// Whether to remove all settings when empty strings are passed in. Default value: `off` (remove)
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Array of objects in feature filtering configuration
	PacketFilter []*DDoSFeaturesFilter `json:"PacketFilter,omitnil" name:"PacketFilter"`
}

type DdosRule

type DdosRule struct {
	// DDoS mitigation level
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosStatusInfo *DDoSStatusInfo `json:"DdosStatusInfo,omitnil" name:"DdosStatusInfo"`

	// DDoS regional blocking
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosGeoIp *DDoSGeoIp `json:"DdosGeoIp,omitnil" name:"DdosGeoIp"`

	// DDoS blocklist/allowlist
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosAllowBlock *DdosAllowBlock `json:"DdosAllowBlock,omitnil" name:"DdosAllowBlock"`

	// Protocol blocking and null session protection
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosAntiPly *DDoSAntiPly `json:"DdosAntiPly,omitnil" name:"DdosAntiPly"`

	// DDoS feature filtering
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosPacketFilter *DdosPacketFilter `json:"DdosPacketFilter,omitnil" name:"DdosPacketFilter"`

	// DDoS port filtering
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosAcl *DdosAcls `json:"DdosAcl,omitnil" name:"DdosAcl"`

	// DDoS mitigation switch. `on`: Enable; `off`: Disable.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Whether to enable UDP fragmentation. `on`: Enable; `off`: Disable.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UdpShardOpen *string `json:"UdpShardOpen,omitnil" name:"UdpShardOpen"`
}

type DefaultServerCertInfo

type DefaultServerCertInfo struct {
	// Server certificate ID, which is the ID of the default certificate. If you choose to upload an external certificate for SSL certificate management, a certificate ID will be generated.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertId *string `json:"CertId,omitnil" name:"CertId"`

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

	// Certificate type. Valid values:
	// `default`: Default certificate
	// `upload`: External certificate
	// `managed`: Tencent Cloud managed certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Time when the certificate expires
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"`

	// Time when the certificate takes effect
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EffectiveTime *string `json:"EffectiveTime,omitnil" name:"EffectiveTime"`

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

	// Domain names added to the SAN certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitnil" name:"SubjectAltName"`

	// Certificate status. Valid values:
	// `applying`: Application in progress
	// `failed`: Application failed
	// `processing`: Deploying certificate
	// `deployed`: Certificate deployed
	// `disabled`: Certificate disabled
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Returns a message to display failure causes when `Status=failed`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Message *string `json:"Message,omitnil" name:"Message"`
}

type DeleteApplicationProxyRequest

type DeleteApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" 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 {
	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

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

Predefined struct for user

type DeleteApplicationProxyRuleRequest

type DeleteApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitnil" 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 {
	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

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

Predefined struct for user

type DeleteDnsRecordsRequest

type DeleteDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Record ID
	Ids []*string `json:"Ids,omitnil" name:"Ids"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Record ID
	Ids []*string `json:"Ids,omitnil" name:"Ids"`
}

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 {
	// Record ID
	Ids []*string `json:"Ids,omitnil" name:"Ids"`

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

Predefined struct for user

type DeleteLoadBalancingRequest

type DeleteLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" 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 {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

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

Predefined struct for user

type DeleteOriginGroupRequest

type DeleteOriginGroupRequest struct {
	*tchttp.BaseRequest

	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

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

Predefined struct for user

type DeleteZoneRequest

type DeleteZoneRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`
}

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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`
}

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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

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

Predefined struct for user

type DescribeApplicationProxyDetailRequest

type DescribeApplicationProxyDetailRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`
}

func NewDescribeApplicationProxyDetailRequest

func NewDescribeApplicationProxyDetailRequest() (request *DescribeApplicationProxyDetailRequest)

func (*DescribeApplicationProxyDetailRequest) FromJsonString

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

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

func (*DescribeApplicationProxyDetailRequest) ToJsonString

type DescribeApplicationProxyDetailRequestParams

type DescribeApplicationProxyDetailRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`
}

Predefined struct for user

type DescribeApplicationProxyDetailResponse

type DescribeApplicationProxyDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApplicationProxyDetailResponseParams `json:"Response"`
}

func NewDescribeApplicationProxyDetailResponse

func NewDescribeApplicationProxyDetailResponse() (response *DescribeApplicationProxyDetailResponse)

func (*DescribeApplicationProxyDetailResponse) FromJsonString

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

func (*DescribeApplicationProxyDetailResponse) ToJsonString

type DescribeApplicationProxyDetailResponseParams

type DescribeApplicationProxyDetailResponseParams struct {
	// Instance ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Name of the proxy:
	// Domain name or subdomain name when `ProxyType=hostname`
	// Instance name when `ProxyType=instance`
	ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"`

	// Proxy mode. Valid values:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitnil" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`

	// List of rules
	Rule []*ApplicationProxyRule `json:"Rule,omitnil" name:"Rule"`

	// Status. Valid values:
	// `online`: Enable
	// `offline`: Disable
	// `progress`: Deploying
	Status *string `json:"Status,omitnil" name:"Status"`

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

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Session persistence time
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Create by subdomain name
	// `instance`: Create by instance
	ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"`

	// When `ProxyType=hostname`:
	// `ProxyName` indicates a specified domain name, such as test.123.com
	// `HostId` indicates a unique ID of the domain name.
	HostId *string `json:"HostId,omitnil" name:"HostId"`

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

Predefined struct for user

type DescribeApplicationProxyRequest

type DescribeApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Pagination parameter
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeApplicationProxyRequest

func NewDescribeApplicationProxyRequest() (request *DescribeApplicationProxyRequest)

func (*DescribeApplicationProxyRequest) FromJsonString

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

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

func (*DescribeApplicationProxyRequest) ToJsonString

func (r *DescribeApplicationProxyRequest) ToJsonString() string

type DescribeApplicationProxyRequestParams

type DescribeApplicationProxyRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Pagination parameter
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeApplicationProxyResponse

type DescribeApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApplicationProxyResponseParams `json:"Response"`
}

func NewDescribeApplicationProxyResponse

func NewDescribeApplicationProxyResponse() (response *DescribeApplicationProxyResponse)

func (*DescribeApplicationProxyResponse) FromJsonString

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

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

func (*DescribeApplicationProxyResponse) ToJsonString

func (r *DescribeApplicationProxyResponse) ToJsonString() string

type DescribeApplicationProxyResponseParams

type DescribeApplicationProxyResponseParams struct {
	// List of data
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Data []*ApplicationProxy `json:"Data,omitnil" name:"Data"`

	// Total number of records
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

	// When `PlatType` is `ip`, it indicates the number of proxies that schedule via Anycast IP.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IpCount *uint64 `json:"IpCount,omitnil" name:"IpCount"`

	// When `PlatType` is `domain`, it indicates the number of proxies that schedule via CNAME.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DomainCount *uint64 `json:"DomainCount,omitnil" name:"DomainCount"`

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

Predefined struct for user

type DescribeBotLogRequest

type DescribeBotLogRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Query condition
	QueryCondition []*QueryCondition `json:"QueryCondition,omitnil" name:"QueryCondition"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Query condition
	QueryCondition []*QueryCondition `json:"QueryCondition,omitnil" name:"QueryCondition"`
}

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 {
	// Bot attack data
	Data *BotLogData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeBotManagedRulesRequest

type DescribeBotManagedRulesRequest struct {
	*tchttp.BaseRequest

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Total number of pages
	Page *int64 `json:"Page,omitnil" name:"Page"`

	// Number of rules per page
	PerPage *int64 `json:"PerPage,omitnil" name:"PerPage"`

	// Rule type. Values: `idcid`, `sipbot` and `uabot`. All rules will be returned if this field is not specified.
	RuleType *string `json:"RuleType,omitnil" 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 {
	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Total number of pages
	Page *int64 `json:"Page,omitnil" name:"Page"`

	// Number of rules per page
	PerPage *int64 `json:"PerPage,omitnil" name:"PerPage"`

	// Rule type. Values: `idcid`, `sipbot` and `uabot`. All rules will be returned if this field is not specified.
	RuleType *string `json:"RuleType,omitnil" 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,omitnil" name:"Count"`

	// Bot managed rules
	Rules []*BotManagedRuleDetail `json:"Rules,omitnil" name:"Rules"`

	// Total number of bot managed rules
	Total *int64 `json:"Total,omitnil" name:"Total"`

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

Predefined struct for user

type DescribeCnameStatusRequest

type DescribeCnameStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// List of domain names
	Names []*string `json:"Names,omitnil" name:"Names"`
}

func NewDescribeCnameStatusRequest

func NewDescribeCnameStatusRequest() (request *DescribeCnameStatusRequest)

func (*DescribeCnameStatusRequest) FromJsonString

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

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

func (*DescribeCnameStatusRequest) ToJsonString

func (r *DescribeCnameStatusRequest) ToJsonString() string

type DescribeCnameStatusRequestParams

type DescribeCnameStatusRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// List of domain names
	Names []*string `json:"Names,omitnil" name:"Names"`
}

Predefined struct for user

type DescribeCnameStatusResponse

type DescribeCnameStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCnameStatusResponseParams `json:"Response"`
}

func NewDescribeCnameStatusResponse

func NewDescribeCnameStatusResponse() (response *DescribeCnameStatusResponse)

func (*DescribeCnameStatusResponse) FromJsonString

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

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

func (*DescribeCnameStatusResponse) ToJsonString

func (r *DescribeCnameStatusResponse) ToJsonString() string

type DescribeCnameStatusResponseParams

type DescribeCnameStatusResponseParams struct {
	// List of CNAME statuses
	Status []*CnameStatus `json:"Status,omitnil" name:"Status"`

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

Predefined struct for user

type DescribeDDoSPolicyRequest

type DescribeDDoSPolicyRequest struct {
	*tchttp.BaseRequest

	// Policy group ID
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

	// Top-level domain name (site)
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Policy group ID
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

	// Top-level domain name (site)
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeDDosAttackDataRequest

type DescribeDDosAttackDataRequest struct {
	*tchttp.BaseRequest

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

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

	// List of statistical metrics
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Port number
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Protocol type. Valid values: tcp, udp, all
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Attack type. Valid values: flood, icmpFlood..., all
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// List of statistical metrics
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Port number
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Protocol type. Valid values: tcp, udp, all
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Attack type. Valid values: flood, icmpFlood..., all
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`
}

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 {
	// DDoS attack data
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned data
	Msg *string `json:"Msg,omitnil" name:"Msg"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

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

Predefined struct for user

type DescribeDDosAttackEventDetailRequest

type DescribeDDosAttackEventDetailRequest struct {
	*tchttp.BaseRequest

	// Event ID
	EventId *string `json:"EventId,omitnil" name:"EventId"`
}

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 {
	// Event ID
	EventId *string `json:"EventId,omitnil" name:"EventId"`
}

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 {
	// DDoS attack event details
	Data *DDosAttackEventDetailData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeDDosAttackEventRequest

type DescribeDDosAttackEventRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Protocol type. Valid values: {tcp,udp,all}
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Whether to show details. Valid values: Y (yes), N (no).
	IsShowDetail *string `json:"IsShowDetail,omitnil" name:"IsShowDetail"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Protocol type. Valid values: {tcp,udp,all}
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Whether to show details. Valid values: Y (yes), N (no).
	IsShowDetail *string `json:"IsShowDetail,omitnil" name:"IsShowDetail"`
}

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 {
	// DDoS attack event data
	Data *DDosAttackEventData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeDDosAttackSourceEventRequest

type DescribeDDosAttackSourceEventRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Protocol type. Valid values: {tcp,udp,all}
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Protocol type. Valid values: {tcp,udp,all}
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`
}

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 {
	// DDoS attack source data
	Data *DDosAttackSourceEventData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeDDosAttackTopDataRequest

type DescribeDDosAttackTopDataRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Number of the top data entries to query. 0: queries all data entries.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Port number
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Protocol type. Valid values: tcp, udp, all
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Attack type. Valid values: flood, icmpFlood..., all
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Filter metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Number of the top data entries to query. 0: queries all data entries.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Port number
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Protocol type. Valid values: tcp, udp, all
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Attack type. Valid values: flood, icmpFlood..., all
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`
}

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 {
	// Top N data
	Data []*TopNEntry `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeDDosMajorAttackEventRequest

type DescribeDDosMajorAttackEventRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Protocol type. Valid values: {tcp,udp,all}
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Protocol type. Valid values: {tcp,udp,all}
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`
}

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 {
	// Major DDoS attack event
	Data *DDosMajorAttackEventData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeDefaultCertificatesRequest

type DescribeDefaultCertificatesRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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,omitnil" name:"TotalCount"`

	// List of default certificates
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertInfo []*DefaultServerCertInfo `json:"CertInfo,omitnil" name:"CertInfo"`

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

Predefined struct for user

type DescribeDnsDataRequest

type DescribeDnsDataRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter parameters
	Filters []*DnsDataFilter `json:"Filters,omitnil" name:"Filters"`

	// Time granularity. The default value is `min`. The server can adapt to the time granularity specified.
	// Valid values:
	// `min`: 1 minute
	// `5min`: 5 minutes
	// `hour`: 1 hour
	// `day`: 1 day
	Interval *string `json:"Interval,omitnil" 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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Filter parameters
	Filters []*DnsDataFilter `json:"Filters,omitnil" name:"Filters"`

	// Time granularity. The default value is `min`. The server can adapt to the time granularity specified.
	// Valid values:
	// `min`: 1 minute
	// `5min`: 5 minutes
	// `hour`: 1 hour
	// `day`: 1 day
	Interval *string `json:"Interval,omitnil" 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 request data
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Data []*DataItem `json:"Data,omitnil" name:"Data"`

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

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

Predefined struct for user

type DescribeDnsRecordsRequest

type DescribeDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Query filter
	Filters []*DnsRecordFilter `json:"Filters,omitnil" name:"Filters"`

	// Sorts the order
	Order *string `json:"Order,omitnil" name:"Order"`

	// Valid values: `asc`, and `desc`.
	Direction *string `json:"Direction,omitnil" name:"Direction"`

	// Valid values: `all`, and `any`.
	Match *string `json:"Match,omitnil" name:"Match"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Query filter
	Filters []*DnsRecordFilter `json:"Filters,omitnil" name:"Filters"`

	// Sorts the order
	Order *string `json:"Order,omitnil" name:"Order"`

	// Valid values: `asc`, and `desc`.
	Direction *string `json:"Direction,omitnil" name:"Direction"`

	// Valid values: `all`, and `any`.
	Match *string `json:"Match,omitnil" name:"Match"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Used for paginated query by total count
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// List of DNS records
	Records []*DnsRecord `json:"Records,omitnil" name:"Records"`

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

Predefined struct for user

type DescribeDnssecRequest

type DescribeDnssecRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`
}

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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`
}

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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// DNSSEC status. Valid values:
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" name:"Status"`

	Dnssec *DnssecInfo `json:"Dnssec,omitnil" name:"Dnssec"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

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

Predefined struct for user

type DescribeHostsCertificateRequest

type DescribeHostsCertificateRequest struct {
	*tchttp.BaseRequest

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

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Query filter
	Filters []*CertFilter `json:"Filters,omitnil" name:"Filters"`

	// Sorting order
	Sort *CertSort `json:"Sort,omitnil" name:"Sort"`
}

func NewDescribeHostsCertificateRequest

func NewDescribeHostsCertificateRequest() (request *DescribeHostsCertificateRequest)

func (*DescribeHostsCertificateRequest) FromJsonString

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

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

func (*DescribeHostsCertificateRequest) ToJsonString

func (r *DescribeHostsCertificateRequest) ToJsonString() string

type DescribeHostsCertificateRequestParams

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

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Query filter
	Filters []*CertFilter `json:"Filters,omitnil" name:"Filters"`

	// Sorting order
	Sort *CertSort `json:"Sort,omitnil" name:"Sort"`
}

Predefined struct for user

type DescribeHostsCertificateResponse

type DescribeHostsCertificateResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostsCertificateResponseParams `json:"Response"`
}

func NewDescribeHostsCertificateResponse

func NewDescribeHostsCertificateResponse() (response *DescribeHostsCertificateResponse)

func (*DescribeHostsCertificateResponse) FromJsonString

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

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

func (*DescribeHostsCertificateResponse) ToJsonString

func (r *DescribeHostsCertificateResponse) ToJsonString() string

type DescribeHostsCertificateResponseParams

type DescribeHostsCertificateResponseParams struct {
	// Used for paginated query by total count
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// List of certificate configurations for domain names
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Hosts []*HostCertSetting `json:"Hosts,omitnil" name:"Hosts"`

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

Predefined struct for user

type DescribeHostsSettingRequest

type DescribeHostsSettingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Specifies a domain name for the query
	Hosts []*string `json:"Hosts,omitnil" name:"Hosts"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Specifies a domain name for the query
	Hosts []*string `json:"Hosts,omitnil" name:"Hosts"`
}

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
	Hosts []*DetailHost `json:"Hosts,omitnil" name:"Hosts"`

	// Number of domain names
	TotalNumber *int64 `json:"TotalNumber,omitnil" name:"TotalNumber"`

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

Predefined struct for user

type DescribeIdentificationRequest

type DescribeIdentificationRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`
}

func NewDescribeIdentificationRequest

func NewDescribeIdentificationRequest() (request *DescribeIdentificationRequest)

func (*DescribeIdentificationRequest) FromJsonString

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

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

func (*DescribeIdentificationRequest) ToJsonString

func (r *DescribeIdentificationRequest) ToJsonString() string

type DescribeIdentificationRequestParams

type DescribeIdentificationRequestParams struct {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`
}

Predefined struct for user

type DescribeIdentificationResponse

type DescribeIdentificationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIdentificationResponseParams `json:"Response"`
}

func NewDescribeIdentificationResponse

func NewDescribeIdentificationResponse() (response *DescribeIdentificationResponse)

func (*DescribeIdentificationResponse) FromJsonString

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

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

func (*DescribeIdentificationResponse) ToJsonString

func (r *DescribeIdentificationResponse) ToJsonString() string

type DescribeIdentificationResponseParams

type DescribeIdentificationResponseParams struct {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Verification status. Valid values:
	// - `pending`: Verifying
	// - `finished`: The site is verified.
	Status *string `json:"Status,omitnil" name:"Status"`

	Subdomain *string `json:"Subdomain,omitnil" name:"Subdomain"`

	// Record type
	RecordType *string `json:"RecordType,omitnil" name:"RecordType"`

	// Record value
	RecordValue *string `json:"RecordValue,omitnil" name:"RecordValue"`

	// NS records of the domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"`

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

Predefined struct for user

type DescribeLoadBalancingDetailRequest

type DescribeLoadBalancingDetailRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`
}

func NewDescribeLoadBalancingDetailRequest

func NewDescribeLoadBalancingDetailRequest() (request *DescribeLoadBalancingDetailRequest)

func (*DescribeLoadBalancingDetailRequest) FromJsonString

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

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

func (*DescribeLoadBalancingDetailRequest) ToJsonString

func (r *DescribeLoadBalancingDetailRequest) ToJsonString() string

type DescribeLoadBalancingDetailRequestParams

type DescribeLoadBalancingDetailRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`
}

Predefined struct for user

type DescribeLoadBalancingDetailResponse

type DescribeLoadBalancingDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancingDetailResponseParams `json:"Response"`
}

func NewDescribeLoadBalancingDetailResponse

func NewDescribeLoadBalancingDetailResponse() (response *DescribeLoadBalancingDetailResponse)

func (*DescribeLoadBalancingDetailResponse) FromJsonString

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

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

func (*DescribeLoadBalancingDetailResponse) ToJsonString

func (r *DescribeLoadBalancingDetailResponse) ToJsonString() string

type DescribeLoadBalancingDetailResponseParams

type DescribeLoadBalancingDetailResponseParams struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitnil" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitnil" name:"Type"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitnil" name:"TTL"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitnil" name:"OriginId"`

	// Information of the origin server used
	Origin []*OriginGroup `json:"Origin,omitnil" name:"Origin"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Status of the task
	Status *string `json:"Status,omitnil" name:"Status"`

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

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

Predefined struct for user

type DescribeLoadBalancingRequest

type DescribeLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Pagination parameter
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Ignore query string parameter
	Host *string `json:"Host,omitnil" name:"Host"`

	// Specifies whether the `Host` parameter supports fuzzy match
	Fuzzy *bool `json:"Fuzzy,omitnil" name:"Fuzzy"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Pagination parameter
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Ignore query string parameter
	Host *string `json:"Host,omitnil" name:"Host"`

	// Specifies whether the `Host` parameter supports fuzzy match
	Fuzzy *bool `json:"Fuzzy,omitnil" name:"Fuzzy"`
}

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,omitnil" name:"TotalCount"`

	// CLB information
	Data []*LoadBalancing `json:"Data,omitnil" name:"Data"`

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

Predefined struct for user

type DescribeOriginGroupDetailRequest

type DescribeOriginGroupDetailRequest struct {
	*tchttp.BaseRequest

	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

func NewDescribeOriginGroupDetailRequest

func NewDescribeOriginGroupDetailRequest() (request *DescribeOriginGroupDetailRequest)

func (*DescribeOriginGroupDetailRequest) FromJsonString

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

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

func (*DescribeOriginGroupDetailRequest) ToJsonString

func (r *DescribeOriginGroupDetailRequest) ToJsonString() string

type DescribeOriginGroupDetailRequestParams

type DescribeOriginGroupDetailRequestParams struct {
	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

Predefined struct for user

type DescribeOriginGroupDetailResponse

type DescribeOriginGroupDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOriginGroupDetailResponseParams `json:"Response"`
}

func NewDescribeOriginGroupDetailResponse

func NewDescribeOriginGroupDetailResponse() (response *DescribeOriginGroupDetailResponse)

func (*DescribeOriginGroupDetailResponse) FromJsonString

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

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

func (*DescribeOriginGroupDetailResponse) ToJsonString

func (r *DescribeOriginGroupDetailResponse) ToJsonString() string

type DescribeOriginGroupDetailResponseParams

type DescribeOriginGroupDetailResponseParams struct {
	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Origin group name
	OriginName *string `json:"OriginName,omitnil" name:"OriginName"`

	// Origin-pull configuration type
	// `area`: Origin-pull by the client IP’s region specified by `Area` in OriginRecord.
	// `weight`: Origin-pull by the weight specified by `Weight` in OriginRecord.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record
	Record []*OriginRecord `json:"Record,omitnil" name:"Record"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

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

	// Whether the origin group uses layer-4 proxy.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitnil" name:"ApplicationProxyUsed"`

	// Whether the origin group is used for load balancing.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitnil" name:"LoadBalancingUsed"`

	// Proxy mode of the load balancing task associated with the origin group.
	// `none`: Not used for load balancing.
	// `dns_only`: Used for DNS-only load balancing.
	// `proxied`: Used for proxied load balancing.
	// `both`: Used for both DNS-only and proxied load balancing.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitnil" name:"LoadBalancingUsedType"`

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

Predefined struct for user

type DescribeOriginGroupRequest

type DescribeOriginGroupRequest struct {
	*tchttp.BaseRequest

	// Pagination parameter
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Filter parameters
	Filters []*OriginFilter `json:"Filters,omitnil" name:"Filters"`

	// Site ID
	// If it’s not specified, all origin groups will be obtained.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Pagination parameter
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Filter parameters
	Filters []*OriginFilter `json:"Filters,omitnil" name:"Filters"`

	// Site ID
	// If it’s not specified, all origin groups will be obtained.
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

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 {
	// Origin group information
	Data []*OriginGroup `json:"Data,omitnil" name:"Data"`

	// Total number of records
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

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

Predefined struct for user

type DescribeOverviewL7DataRequest

type DescribeOverviewL7DataRequest struct {
	*tchttp.BaseRequest

	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l7Flow_outFlux`: Access traffic
	// `l7Flow_request`: Access requests
	// `l7Flow_outBandwidth`: Access bandwidth
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// Time interval. Valid values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// List of `ZoneId` values. This parameter takes effect only when querying in the zone/domain dimension.
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of `Domain` values. This parameter takes effect only when querying in the domain dimension.
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Protocol type. Valid values: {http,http2,https,all}
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
}

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 {
	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l7Flow_outFlux`: Access traffic
	// `l7Flow_request`: Access requests
	// `l7Flow_outBandwidth`: Access bandwidth
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// Time interval. Valid values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// List of `ZoneId` values. This parameter takes effect only when querying in the zone/domain dimension.
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of `Domain` values. This parameter takes effect only when querying in the domain dimension.
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Protocol type. Valid values: {http,http2,https,all}
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
}

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 {
	// Query dimension
	Type *string `json:"Type,omitnil" name:"Type"`

	// Time interval
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Detailed data
	Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"`

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

Predefined struct for user

type DescribePrefetchTasksRequest

type DescribePrefetchTasksRequest struct {
	*tchttp.BaseRequest

	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitnil" name:"Statuses"`

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

	// List of domain names queried
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Resources queried
	Target *string `json:"Target,omitnil" name:"Target"`
}

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 {
	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitnil" name:"Statuses"`

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

	// List of domain names queried
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Resources queried
	Target *string `json:"Target,omitnil" name:"Target"`
}

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,omitnil" name:"TotalCount"`

	// List of tasks returned
	Tasks []*Task `json:"Tasks,omitnil" name:"Tasks"`

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

Predefined struct for user

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Type of the purging task
	Type *string `json:"Type,omitnil" name:"Type"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitnil" name:"Statuses"`

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

	// List of domain names queried
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Queries content
	Target *string `json:"Target,omitnil" name:"Target"`
}

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 {
	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Type of the purging task
	Type *string `json:"Type,omitnil" name:"Type"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitnil" name:"Statuses"`

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

	// List of domain names queried
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Queries content
	Target *string `json:"Target,omitnil" name:"Target"`
}

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,omitnil" name:"TotalCount"`

	// List of tasks returned
	Tasks []*Task `json:"Tasks,omitnil" name:"Tasks"`

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

Predefined struct for user

type DescribeSecurityPolicyListRequest

type DescribeSecurityPolicyListRequest struct {
	*tchttp.BaseRequest

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" 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 {
	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" 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
	Entities []*SecurityEntity `json:"Entities,omitnil" name:"Entities"`

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

Predefined struct for user

type DescribeSecurityPolicyManagedRulesIdRequest

type DescribeSecurityPolicyManagedRulesIdRequest struct {
	*tchttp.BaseRequest

	// List of rule IDs
	RuleId []*int64 `json:"RuleId,omitnil" name:"RuleId"`
}

func NewDescribeSecurityPolicyManagedRulesIdRequest

func NewDescribeSecurityPolicyManagedRulesIdRequest() (request *DescribeSecurityPolicyManagedRulesIdRequest)

func (*DescribeSecurityPolicyManagedRulesIdRequest) FromJsonString

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

func (*DescribeSecurityPolicyManagedRulesIdRequest) ToJsonString

type DescribeSecurityPolicyManagedRulesIdRequestParams

type DescribeSecurityPolicyManagedRulesIdRequestParams struct {
	// List of rule IDs
	RuleId []*int64 `json:"RuleId,omitnil" name:"RuleId"`
}

Predefined struct for user

type DescribeSecurityPolicyManagedRulesIdResponse

type DescribeSecurityPolicyManagedRulesIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPolicyManagedRulesIdResponseParams `json:"Response"`
}

func NewDescribeSecurityPolicyManagedRulesIdResponse

func NewDescribeSecurityPolicyManagedRulesIdResponse() (response *DescribeSecurityPolicyManagedRulesIdResponse)

func (*DescribeSecurityPolicyManagedRulesIdResponse) FromJsonString

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

func (*DescribeSecurityPolicyManagedRulesIdResponse) ToJsonString

type DescribeSecurityPolicyManagedRulesIdResponseParams

type DescribeSecurityPolicyManagedRulesIdResponseParams struct {
	// Total number of returned items
	Total *int64 `json:"Total,omitnil" name:"Total"`

	// Managed rule
	Rules []*ManagedRule `json:"Rules,omitnil" name:"Rules"`

	// Total number of returned items
	Count *int64 `json:"Count,omitnil" name:"Count"`

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

Predefined struct for user

type DescribeSecurityPolicyManagedRulesRequest

type DescribeSecurityPolicyManagedRulesRequest struct {
	*tchttp.BaseRequest

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Total number of pages
	Page *int64 `json:"Page,omitnil" name:"Page"`

	// Number of rules per page
	PerPage *int64 `json:"PerPage,omitnil" name:"PerPage"`
}

func NewDescribeSecurityPolicyManagedRulesRequest

func NewDescribeSecurityPolicyManagedRulesRequest() (request *DescribeSecurityPolicyManagedRulesRequest)

func (*DescribeSecurityPolicyManagedRulesRequest) FromJsonString

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

func (*DescribeSecurityPolicyManagedRulesRequest) ToJsonString

type DescribeSecurityPolicyManagedRulesRequestParams

type DescribeSecurityPolicyManagedRulesRequestParams struct {
	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Total number of pages
	Page *int64 `json:"Page,omitnil" name:"Page"`

	// Number of rules per page
	PerPage *int64 `json:"PerPage,omitnil" name:"PerPage"`
}

Predefined struct for user

type DescribeSecurityPolicyManagedRulesResponse

type DescribeSecurityPolicyManagedRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityPolicyManagedRulesResponseParams `json:"Response"`
}

func NewDescribeSecurityPolicyManagedRulesResponse

func NewDescribeSecurityPolicyManagedRulesResponse() (response *DescribeSecurityPolicyManagedRulesResponse)

func (*DescribeSecurityPolicyManagedRulesResponse) FromJsonString

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

func (*DescribeSecurityPolicyManagedRulesResponse) ToJsonString

type DescribeSecurityPolicyManagedRulesResponseParams

type DescribeSecurityPolicyManagedRulesResponseParams struct {
	// Number of rules returned
	Count *int64 `json:"Count,omitnil" name:"Count"`

	// Managed rule
	Rules []*ManagedRule `json:"Rules,omitnil" name:"Rules"`

	// Total number of rules
	Total *int64 `json:"Total,omitnil" name:"Total"`

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

Predefined struct for user

type DescribeSecurityPolicyRegionsRequest

type DescribeSecurityPolicyRegionsRequest struct {
	*tchttp.BaseRequest
}

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 {
}

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,omitnil" name:"Count"`

	// Region information
	GeoIp []*GeoIp `json:"GeoIp,omitnil" name:"GeoIp"`

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

Predefined struct for user

type DescribeSecurityPolicyRequest

type DescribeSecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Second-level domain name
	Entity *string `json:"Entity,omitnil" 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 {
	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Second-level domain name
	Entity *string `json:"Entity,omitnil" 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 {
	// User ID
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Second-level domain name
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Security configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Config *SecurityConfig `json:"Config,omitnil" name:"Config"`

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

Predefined struct for user

type DescribeSecurityPortraitRulesRequest

type DescribeSecurityPortraitRulesRequest struct {
	*tchttp.BaseRequest

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/Application name
	Entity *string `json:"Entity,omitnil" 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 {
	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/Application name
	Entity *string `json:"Entity,omitnil" 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 {
	// Number of rules returned in this request
	Count *int64 `json:"Count,omitnil" name:"Count"`

	// Bot user profiling rule
	Rules []*PortraitManagedRuleDetail `json:"Rules,omitnil" name:"Rules"`

	// Total number of rules
	Total *int64 `json:"Total,omitnil" name:"Total"`

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

Predefined struct for user

type DescribeTimingL4DataRequest

type DescribeTimingL4DataRequest struct {
	*tchttp.BaseRequest

	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l4Flow_connections`: Access connections
	// `l4Flow_flux`: Access traffic
	// `l4Flow_inFlux`: Inbound traffic
	// `l4Flow_outFlux`: Outbound traffic
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// This field has been disused. Use `ProxyIds` instead.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// This field is not supported currently.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Time interval. Valid values: {min, 5min, hour, day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// This field is not supported currently. Use `Filter` instead.
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

	// Supported filters: `proxyd`, `ruleId`
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// List of layer-4 proxies
	ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"`
}

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 {
	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l4Flow_connections`: Access connections
	// `l4Flow_flux`: Access traffic
	// `l4Flow_inFlux`: Inbound traffic
	// `l4Flow_outFlux`: Outbound traffic
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// This field has been disused. Use `ProxyIds` instead.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// This field is not supported currently.
	Protocol *string `json:"Protocol,omitnil" name:"Protocol"`

	// Time interval. Valid values: {min, 5min, hour, day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// This field is not supported currently. Use `Filter` instead.
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

	// Supported filters: `proxyd`, `ruleId`
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// List of layer-4 proxies
	ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"`
}

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 {
	// Query dimension
	Type *string `json:"Type,omitnil" name:"Type"`

	// Time interval
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Detailed data
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"`

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

Predefined struct for user

type DescribeTimingL7AnalysisDataRequest

type DescribeTimingL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l7Flow_outFlux`: Access traffic
	// `l7Flow_request`: Access requests
	// `l7Flow_outBandwidth`: Access bandwidth
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// Time interval. Valid values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Array of `ZoneId` values
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l7Flow_outFlux`: Access traffic
	// `l7Flow_request`: Access requests
	// `l7Flow_outBandwidth`: Access bandwidth
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// Time interval. Valid values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Array of `ZoneId` values
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Detailed data
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"`

	// Query dimension
	Type *string `json:"Type,omitnil" name:"Type"`

	// Time interval
	Interval *string `json:"Interval,omitnil" name:"Interval"`

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

Predefined struct for user

type DescribeTimingL7CacheDataRequest

type DescribeTimingL7CacheDataRequest struct {
	*tchttp.BaseRequest

	// Start time of the query (client time in RFC 3339)
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Start time of the query (client time in RFC 3339)
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l7Cache_outFlux`: Access traffic
	// `l7Cache_request`: Access requests
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// Time interval. Values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter condition:
	// {Key: "cacheType", Value: ["hit"], Operator: "equals"}: Filter by data responded from EdgeOne
	// {Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}: Filter by data responded from the origin server
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Start time of the query (client time in RFC 3339)
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Start time of the query (client time in RFC 3339)
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Supported metrics for data query:
	// `l7Cache_outFlux`: Access traffic
	// `l7Cache_request`: Access requests
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// Time interval. Values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter condition:
	// {Key: "cacheType", Value: ["hit"], Operator: "equals"}: Filter by data responded from EdgeOne
	// {Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}: Filter by data responded from the origin server
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Details
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"`

	// Metric specified for data query
	Type *string `json:"Type,omitnil" name:"Type"`

	// Time interval
	Interval *string `json:"Interval,omitnil" name:"Interval"`

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

Predefined struct for user

type DescribeTopL7AnalysisDataRequest

type DescribeTopL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Time series-type access traffic metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Top N. 0 indicates to return the full data.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Time interval. Valid values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Array of `ZoneId` values
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Client time in RFC 3339 format
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Client time in RFC 3339 format
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Time series-type access traffic metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Top N. 0 indicates to return the full data.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Time interval. Valid values: {min, 5min, hour, day, week}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Array of `ZoneId` values
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Top detailed data
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopDataRecord `json:"Data,omitnil" name:"Data"`

	// Query dimension
	Type *string `json:"Type,omitnil" name:"Type"`

	// Query metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

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

Predefined struct for user

type DescribeTopL7CacheDataRequest

type DescribeTopL7CacheDataRequest struct {
	*tchttp.BaseRequest

	// Start time of the query (client time in RFC 3339)
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the query (client time in RFC 3339)
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Metric for time-series data query
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Specifies the number of data records to return. If `0` is passed in, all data is returned.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Time interval. Values: {min, 5min, hour, day, week}. This field is optional.
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Array of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter condition
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Start time of the query (client time in RFC 3339)
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the query (client time in RFC 3339)
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Metric for time-series data query
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Specifies the number of data records to return. If `0` is passed in, all data is returned.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Time interval. Values: {min, 5min, hour, day, week}. This field is optional.
	Interval *string `json:"Interval,omitnil" name:"Interval"`

	// Array of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Filter condition
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

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 {
	// Top-ranked data details
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopDataRecord `json:"Data,omitnil" name:"Data"`

	// Dimension specified for data query
	Type *string `json:"Type,omitnil" name:"Type"`

	// Metric specified for data query
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

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

Predefined struct for user

type DescribeWebManagedRulesAttackEventsRequest

type DescribeWebManagedRulesAttackEventsRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// List of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Whether to show details. Valid values: Y (yes), N (no).
	IsShowDetail *string `json:"IsShowDetail,omitnil" name:"IsShowDetail"`
}

func NewDescribeWebManagedRulesAttackEventsRequest

func NewDescribeWebManagedRulesAttackEventsRequest() (request *DescribeWebManagedRulesAttackEventsRequest)

func (*DescribeWebManagedRulesAttackEventsRequest) FromJsonString

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

func (*DescribeWebManagedRulesAttackEventsRequest) ToJsonString

type DescribeWebManagedRulesAttackEventsRequestParams

type DescribeWebManagedRulesAttackEventsRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// List of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Whether to show details. Valid values: Y (yes), N (no).
	IsShowDetail *string `json:"IsShowDetail,omitnil" name:"IsShowDetail"`
}

Predefined struct for user

type DescribeWebManagedRulesAttackEventsResponse

type DescribeWebManagedRulesAttackEventsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesAttackEventsResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesAttackEventsResponse

func NewDescribeWebManagedRulesAttackEventsResponse() (response *DescribeWebManagedRulesAttackEventsResponse)

func (*DescribeWebManagedRulesAttackEventsResponse) FromJsonString

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

func (*DescribeWebManagedRulesAttackEventsResponse) ToJsonString

type DescribeWebManagedRulesAttackEventsResponseParams

type DescribeWebManagedRulesAttackEventsResponseParams struct {
	// Web attack event data
	Data *WebEventData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned data
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeWebManagedRulesDataRequest

type DescribeWebManagedRulesDataRequest struct {
	*tchttp.BaseRequest

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

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

	// List of statistical metrics
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Protocol type
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// "webshell" : WebShell detection prevention
	// "oa" : Common OA vulnerability prevention
	// "xss" : XSS attack prevention
	// "xxe" : XXE attack prevention
	// "webscan" : Scanner attack vulnerability prevention
	// "cms" : Common CMS vulnerability prevention
	// "upload" : Malicious file upload attack prevention
	// "sql" : SQL injection attack prevention
	// "cmd_inject": Command/Code injection attack prevention
	// "osc" : Open-source component vulnerability prevention
	// "file_read" : Arbitrary file read prevention
	// "ldap" : LDAP injection attack prevention
	// "other" : Other vulnerability prevention
	//
	// "all":"All"
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// List of statistical metrics
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Protocol type
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// "webshell" : WebShell detection prevention
	// "oa" : Common OA vulnerability prevention
	// "xss" : XSS attack prevention
	// "xxe" : XXE attack prevention
	// "webscan" : Scanner attack vulnerability prevention
	// "cms" : Common CMS vulnerability prevention
	// "upload" : Malicious file upload attack prevention
	// "sql" : SQL injection attack prevention
	// "cmd_inject": Command/Code injection attack prevention
	// "osc" : Open-source component vulnerability prevention
	// "file_read" : Arbitrary file read prevention
	// "ldap" : LDAP injection attack prevention
	// "other" : Other vulnerability prevention
	//
	// "all":"All"
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`
}

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 {
	// Web attack log entity
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

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

Predefined struct for user

type DescribeWebManagedRulesLogRequest

type DescribeWebManagedRulesLogRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Query condition
	QueryCondition []*QueryCondition `json:"QueryCondition,omitnil" name:"QueryCondition"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Query condition
	QueryCondition []*QueryCondition `json:"QueryCondition,omitnil" name:"QueryCondition"`
}

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 {
	// Web attack log data
	Data *WebLogData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeWebManagedRulesTopDataRequest

type DescribeWebManagedRulesTopDataRequest struct {
	*tchttp.BaseRequest

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

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

	// Filter metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Number of the top data entries to query. 0: queries all data entries.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Port number
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Protocol type. Valid values: tcp, udp, all
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Attack type. Valid values: flood, icmpFlood..., all
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`
}

func NewDescribeWebManagedRulesTopDataRequest

func NewDescribeWebManagedRulesTopDataRequest() (request *DescribeWebManagedRulesTopDataRequest)

func (*DescribeWebManagedRulesTopDataRequest) FromJsonString

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

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

func (*DescribeWebManagedRulesTopDataRequest) ToJsonString

type DescribeWebManagedRulesTopDataRequestParams

type DescribeWebManagedRulesTopDataRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Filter metric
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// Number of the top data entries to query. 0: queries all data entries.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Set of DDoS policy group IDs
	PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"`

	// Port number
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Protocol type. Valid values: tcp, udp, all
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// Attack type. Valid values: flood, icmpFlood..., all
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`
}

Predefined struct for user

type DescribeWebManagedRulesTopDataResponse

type DescribeWebManagedRulesTopDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesTopDataResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesTopDataResponse

func NewDescribeWebManagedRulesTopDataResponse() (response *DescribeWebManagedRulesTopDataResponse)

func (*DescribeWebManagedRulesTopDataResponse) FromJsonString

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

func (*DescribeWebManagedRulesTopDataResponse) ToJsonString

type DescribeWebManagedRulesTopDataResponseParams

type DescribeWebManagedRulesTopDataResponseParams struct {
	// Top N data
	Data []*TopNEntry `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeWebProtectionAttackEventsRequest

type DescribeWebProtectionAttackEventsRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Domain name
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Domain name
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`
}

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 {
	// DDoS attack event data
	Data *CCInterceptEventData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeWebProtectionDataRequest

type DescribeWebProtectionDataRequest struct {
	*tchttp.BaseRequest

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

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

	// List of statistical metrics
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Protocol type
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// "webshell" : WebShell detection prevention
	// "oa" : Common OA vulnerability prevention
	// "xss" : XSS attack prevention
	// "xxe" : XXE attack prevention
	// "webscan" : Scanner attack vulnerability prevention
	// "cms" : Common CMS vulnerability prevention
	// "upload" : Malicious file upload attack prevention
	// "sql" : SQL injection attack prevention
	// "cmd_inject": Command/Code injection attack prevention
	// "osc" : Open-source component vulnerability prevention
	// "file_read" : Arbitrary file read prevention
	// "ldap" : LDAP injection attack prevention
	// "other" : Other vulnerability prevention
	//
	// "all":"All"
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`
}

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 {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// List of statistical metrics
	MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"`

	// List of site IDs
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// List of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Protocol type
	ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"`

	// "webshell" : WebShell detection prevention
	// "oa" : Common OA vulnerability prevention
	// "xss" : XSS attack prevention
	// "xxe" : XXE attack prevention
	// "webscan" : Scanner attack vulnerability prevention
	// "cms" : Common CMS vulnerability prevention
	// "upload" : Malicious file upload attack prevention
	// "sql" : SQL injection attack prevention
	// "cmd_inject": Command/Code injection attack prevention
	// "osc" : Open-source component vulnerability prevention
	// "file_read" : Arbitrary file read prevention
	// "ldap" : LDAP injection attack prevention
	// "other" : Other vulnerability prevention
	//
	// "all":"All"
	AttackType *string `json:"AttackType,omitnil" name:"AttackType"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`
}

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 {
	// Data details
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

	// Query time granularity. Valid values: {min,5min,hour,day}
	Interval *string `json:"Interval,omitnil" name:"Interval"`

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

Predefined struct for user

type DescribeWebProtectionLogRequest

type DescribeWebProtectionLogRequest struct {
	*tchttp.BaseRequest

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

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

	// Number of items per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Query condition
	QueryCondition []*QueryCondition `json:"QueryCondition,omitnil" name:"QueryCondition"`
}

func NewDescribeWebProtectionLogRequest

func NewDescribeWebProtectionLogRequest() (request *DescribeWebProtectionLogRequest)

func (*DescribeWebProtectionLogRequest) FromJsonString

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

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

func (*DescribeWebProtectionLogRequest) ToJsonString

func (r *DescribeWebProtectionLogRequest) ToJsonString() string

type DescribeWebProtectionLogRequestParams

type DescribeWebProtectionLogRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

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

	// Number of items per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Site set
	ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"`

	// Domain name set
	Domains []*string `json:"Domains,omitnil" name:"Domains"`

	// Query condition
	QueryCondition []*QueryCondition `json:"QueryCondition,omitnil" name:"QueryCondition"`
}

Predefined struct for user

type DescribeWebProtectionLogResponse

type DescribeWebProtectionLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionLogResponseParams `json:"Response"`
}

func NewDescribeWebProtectionLogResponse

func NewDescribeWebProtectionLogResponse() (response *DescribeWebProtectionLogResponse)

func (*DescribeWebProtectionLogResponse) FromJsonString

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

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

func (*DescribeWebProtectionLogResponse) ToJsonString

func (r *DescribeWebProtectionLogResponse) ToJsonString() string

type DescribeWebProtectionLogResponseParams

type DescribeWebProtectionLogResponseParams struct {
	// Block data in rate-limiting policy
	Data *CCLogData `json:"Data,omitnil" name:"Data"`

	// Status. 1: failed; 0: succeeded
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Returned message
	Msg *string `json:"Msg,omitnil" name:"Msg"`

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

Predefined struct for user

type DescribeZoneDDoSPolicyRequest

type DescribeZoneDDoSPolicyRequest struct {
	*tchttp.BaseRequest

	// ID of the site (top-level domain name)
	ZoneId *string `json:"ZoneId,omitnil" 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 {
	// ID of the site (top-level domain name)
	ZoneId *string `json:"ZoneId,omitnil" 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 {
	// User APPID
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// DDoS mitigation configuration
	ShieldAreas []*ShieldArea `json:"ShieldAreas,omitnil" name:"ShieldAreas"`

	// Includes the details of all subdomain names
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Domains []*DDoSApplication `json:"Domains,omitnil" name:"Domains"`

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

Predefined struct for user

type DescribeZoneDetailsRequest

type DescribeZoneDetailsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`
}

func NewDescribeZoneDetailsRequest

func NewDescribeZoneDetailsRequest() (request *DescribeZoneDetailsRequest)

func (*DescribeZoneDetailsRequest) FromJsonString

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

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

func (*DescribeZoneDetailsRequest) ToJsonString

func (r *DescribeZoneDetailsRequest) ToJsonString() string

type DescribeZoneDetailsRequestParams

type DescribeZoneDetailsRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`
}

Predefined struct for user

type DescribeZoneDetailsResponse

type DescribeZoneDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZoneDetailsResponseParams `json:"Response"`
}

func NewDescribeZoneDetailsResponse

func NewDescribeZoneDetailsResponse() (response *DescribeZoneDetailsResponse)

func (*DescribeZoneDetailsResponse) FromJsonString

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

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

func (*DescribeZoneDetailsResponse) ToJsonString

func (r *DescribeZoneDetailsResponse) ToJsonString() string

type DescribeZoneDetailsResponseParams

type DescribeZoneDetailsResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// List of name servers used
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"`

	// List of name servers assigned to users by Tencent Cloud
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NameServers []*string `json:"NameServers,omitnil" name:"NameServers"`

	// Site status
	// - `active`: The name server is switched.
	// - `pending`: The name server is not switched.
	// - `moved`: The name server is moved.
	// - `deactivated`: The name server is blocked.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: The site is connected via name server.
	// - `partial`: The site is connected via CNAME.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Indicates whether the site is disabled
	Paused *bool `json:"Paused,omitnil" name:"Paused"`

	// Specifies whether to enable CNAME acceleration
	// - `enabled`: Enable
	// - `disabled`: Disable
	CnameSpeedUp *string `json:"CnameSpeedUp,omitnil" name:"CnameSpeedUp"`

	// Ownership verification status of the site when it accesses via CNAME.
	// - `finished`: The site is verified.
	// - `pending`: The site is waiting for verification.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CnameStatus *string `json:"CnameStatus,omitnil" name:"CnameStatus"`

	// Resource tag
	// Note: This field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	Area *string `json:"Area,omitnil" name:"Area"`

	// Billable resource
	// Note: This field may return null, indicating that no valid values can be obtained.
	Resources []*Resource `json:"Resources,omitnil" name:"Resources"`

	// Site modification date
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

	// Site creation date
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// User-defined name server information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil" name:"VanityNameServers"`

	// User-defined name server IP information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitnil" name:"VanityNameServersIps"`

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

Predefined struct for user

type DescribeZoneSettingRequest

type DescribeZoneSettingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" 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 {
	// Cache expiration time configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *CacheConfig `json:"Cache,omitnil" name:"Cache"`

	// Node cache key configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitnil" name:"CacheKey"`

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

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

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

	// POST transport configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil" name:"PostMaxSize"`

	// Smart compression configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Compression *Compression `json:"Compression,omitnil" name:"Compression"`

	// HTTP2 origin-pull configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil" name:"ForceRedirect"`

	// HTTPS acceleration configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Https *Https `json:"Https,omitnil" name:"Https"`

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

	// Dynamic acceleration configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Domain name of the site
	Zone *string `json:"Zone,omitnil" name:"Zone"`

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

	// Origin-pull client IP header configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ClientIpHeader *ClientIp `json:"ClientIpHeader,omitnil" name:"ClientIpHeader"`

	// Cache prefresh configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil" name:"CachePrefresh"`

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

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest

	// Pagination parameter, which specifies the offset.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter, which specifies the number of sites returned in each page.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Query condition filter, which supports complex type.
	Filters []*ZoneFilter `json:"Filters,omitnil" 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 {
	// Pagination parameter, which specifies the offset.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Pagination parameter, which specifies the number of sites returned in each page.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Query condition filter, which supports complex type.
	Filters []*ZoneFilter `json:"Filters,omitnil" 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 sites that match the specified conditions
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Details of sites
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Zones []*Zone `json:"Zones,omitnil" name:"Zones"`

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

Predefined struct for user

type DetailHost

type DetailHost struct {
	// Tencent Cloud account ID
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Acceleration service status
	// `process`: Deploying
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitnil" name:"Status"`

	// Domain name
	Host *string `json:"Host,omitnil" name:"Host"`
}

type DnsDataFilter

type DnsDataFilter struct {
	// Parameter name. Valid values:
	// `zone`: Site name
	// `host`: Domain name
	// `type`: DNS resolution type
	// `code`: DNS response code
	// `area`: Region of the resolution server
	Name *string `json:"Name,omitnil" name:"Name"`

	// Parameter value
	// When `Name=area`, valid values:
	// `Asia`
	// `Europe`
	// `Africa`
	// `Oceania`
	// `Americas`
	//
	// When `Name=code`, valid values:
	// `NoError`: Successful response.
	// `NXDomain`: Non-existent domain in the request. It is only valid when the response is from the authoritative name server.
	// `NotImp`: Request type not supported.
	// `Refused`: The name server refuses to perform the requested operation for policy reasons.
	Value *string `json:"Value,omitnil" name:"Value"`

	// Parameter value
	// When `Name=area`, valid values:
	// `Asia`
	// `Europe`
	// `Africa`
	// `Oceania`
	// `Americas`
	//
	// When `Name=code`, valid values:
	// `NoError`: Successful response.
	// `NXDomain`: Non-existent domain in the request. It is only valid when the response is from the authoritative name server.
	// `NotImp`: Request type not supported.
	// `Refused`: The name server refuses to perform the requested operation for policy reasons.
	Values []*string `json:"Values,omitnil" name:"Values"`
}

type DnsRecord

type DnsRecord struct {
	// Record ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Host record
	Name *string `json:"Name,omitnil" name:"Name"`

	// Record value
	Content *string `json:"Content,omitnil" name:"Content"`

	// Proxy mode
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	// TTL value
	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

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

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

	// Domain name lock
	Locked *bool `json:"Locked,omitnil" name:"Locked"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Resolution status
	// `active`: Activated
	// `pending`: Not activated
	Status *string `json:"Status,omitnil" name:"Status"`

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

	// Which service is enabled for the domain name.
	// - `lb`: Load balancing
	// - `security`: Security acceleration
	// - `l4`: L4 proxy
	// Note: This field may return null, indicating that no valid values can be obtained.
	DomainStatus []*string `json:"DomainStatus,omitnil" name:"DomainStatus"`
}

type DnsRecordFilter

type DnsRecordFilter struct {
	// Filters by the field name. Vaules:
	// - `name`: Site name.
	// - `status`: Site status.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Filters by the field value
	Values []*string `json:"Values,omitnil" name:"Values"`

	// Specifies whether to enable fuzzy query. It’s only available when the filter name is `name`. If it’s enabled, the length of `Values` must be 1.
	Fuzzy *bool `json:"Fuzzy,omitnil" name:"Fuzzy"`
}

type DnssecInfo

type DnssecInfo struct {
	// Flag
	Flags *int64 `json:"Flags,omitnil" name:"Flags"`

	// Encryption algorithm
	Algorithm *string `json:"Algorithm,omitnil" name:"Algorithm"`

	// Encryption type
	KeyType *string `json:"KeyType,omitnil" name:"KeyType"`

	// Digest type
	DigestType *string `json:"DigestType,omitnil" name:"DigestType"`

	// Digest algorithm
	DigestAlgorithm *string `json:"DigestAlgorithm,omitnil" name:"DigestAlgorithm"`

	// Digest message
	Digest *string `json:"Digest,omitnil" name:"Digest"`

	// DS record value
	DS *string `json:"DS,omitnil" name:"DS"`

	// Key tag
	KeyTag *int64 `json:"KeyTag,omitnil" name:"KeyTag"`

	// Public key
	PublicKey *string `json:"PublicKey,omitnil" name:"PublicKey"`
}

type DownloadL7LogsRequest

type DownloadL7LogsRequest struct {
	*tchttp.BaseRequest

	// Start time. It must conform to the RFC3339 standard.
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time. It must conform to the RFC3339 standard.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Number of entries per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Array of site names
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// Array of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`
}

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 {
	// Start time. It must conform to the RFC3339 standard.
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time. It must conform to the RFC3339 standard.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Number of entries per page
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Array of site names
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// Array of subdomain names
	Domains []*string `json:"Domains,omitnil" name:"Domains"`
}

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 {
	// Layer-7 offline log data
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Data []*L7OfflineLog `json:"Data,omitnil" name:"Data"`

	// Page size
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Page number
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Total number of pages
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of entries
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`

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

Predefined struct for user

type FailReason

type FailReason struct {
	// Failure reason
	Reason *string `json:"Reason,omitnil" name:"Reason"`

	// List of resources failed to be processed.
	//
	Targets []*string `json:"Targets,omitnil" name:"Targets"`
}

type Filter

type Filter struct {
	// Filter dimension
	Key *string `json:"Key,omitnil" name:"Key"`

	// Operator
	Operator *string `json:"Operator,omitnil" name:"Operator"`

	// Filter dimension value
	Value []*string `json:"Value,omitnil" name:"Value"`
}

type ForceRedirect

type ForceRedirect struct {
	// Force redirect configuration switch
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil" name:"Switch"`

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

type GeoIp

type GeoIp struct {
	// Region ID
	RegionId *int64 `json:"RegionId,omitnil" name:"RegionId"`

	// Country name
	Country *string `json:"Country,omitnil" name:"Country"`

	// Continent name
	Continent *string `json:"Continent,omitnil" name:"Continent"`

	// Country name in English
	CountryEn *string `json:"CountryEn,omitnil" name:"CountryEn"`

	// Continent name in English
	ContinentEn *string `json:"ContinentEn,omitnil" name:"ContinentEn"`
}
type Header struct {
	// HTTP header name
	Name *string `json:"Name,omitnil" name:"Name"`

	// HTTP header value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type HostCertSetting

type HostCertSetting struct {
	// Domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Host *string `json:"Host,omitnil" name:"Host"`

	// Server certificate configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitnil" name:"CertInfo"`
}

type Hsts

type Hsts struct {
	// Specifies whether to enable. Valid values: `on` and `off`.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

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

	// Specifies whether to include subdomain names. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IncludeSubDomains *string `json:"IncludeSubDomains,omitnil" name:"IncludeSubDomains"`

	// Specifies whether to preload. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Preload *string `json:"Preload,omitnil" name:"Preload"`
}

type Https

type Https struct {
	// HTTP2 configuration switch
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Http2 *string `json:"Http2,omitnil" name:"Http2"`

	// OCSP configuration switch
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OcspStapling *string `json:"OcspStapling,omitnil" name:"OcspStapling"`

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

	// HSTS Configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Hsts *Hsts `json:"Hsts,omitnil" name:"Hsts"`
}

type IdentifyZoneRequest

type IdentifyZoneRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`
}

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 {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`
}

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 {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	Subdomain *string `json:"Subdomain,omitnil" name:"Subdomain"`

	// Record type
	RecordType *string `json:"RecordType,omitnil" name:"RecordType"`

	// Record value
	RecordValue *string `json:"RecordValue,omitnil" name:"RecordValue"`

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

Predefined struct for user

type ImportDnsRecordsRequest

type ImportDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// File content
	File *string `json:"File,omitnil" name:"File"`
}

func NewImportDnsRecordsRequest

func NewImportDnsRecordsRequest() (request *ImportDnsRecordsRequest)

func (*ImportDnsRecordsRequest) FromJsonString

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

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

func (*ImportDnsRecordsRequest) ToJsonString

func (r *ImportDnsRecordsRequest) ToJsonString() string

type ImportDnsRecordsRequestParams

type ImportDnsRecordsRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// File content
	File *string `json:"File,omitnil" name:"File"`
}

Predefined struct for user

type ImportDnsRecordsResponse

type ImportDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *ImportDnsRecordsResponseParams `json:"Response"`
}

func NewImportDnsRecordsResponse

func NewImportDnsRecordsResponse() (response *ImportDnsRecordsResponse)

func (*ImportDnsRecordsResponse) FromJsonString

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

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

func (*ImportDnsRecordsResponse) ToJsonString

func (r *ImportDnsRecordsResponse) ToJsonString() string

type ImportDnsRecordsResponseParams

type ImportDnsRecordsResponseParams struct {
	// Record ID
	Ids []*string `json:"Ids,omitnil" name:"Ids"`

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

Predefined struct for user

type IntelligenceRule

type IntelligenceRule struct {
	// Switch
	// Note: This field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Items in a bot intelligence rule
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*IntelligenceRuleItem `json:"Items,omitnil" name:"Items"`
}

type IntelligenceRuleItem

type IntelligenceRuleItem struct {
	// Malicious bot, which is used to tag bad bots
	// Note: This field may return null, indicating that no valid values can be obtained.
	Label *string `json:"Label,omitnil" name:"Label"`

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

type IpTableConfig

type IpTableConfig struct {
	// Switch
	// Note: This field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// []
	// Note: This field may return null, indicating that no valid values can be obtained.
	Rules []*IpTableRule `json:"Rules,omitnil" name:"Rules"`
}

type IpTableRule

type IpTableRule struct {
	// Action: `drop` (block), `trans` (allow), `monitor` (observe)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitnil" name:"Action"`

	// Matches by IP or region. Values: `ip` and `area`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MatchFrom *string `json:"MatchFrom,omitnil" name:"MatchFrom"`

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

	// Rule ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"`

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

type L7OfflineLog

type L7OfflineLog struct {
	// Start time of the log packaging
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	LogTime *int64 `json:"LogTime,omitnil" name:"LogTime"`

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

	// Log size, in bytes
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Size *int64 `json:"Size,omitnil" name:"Size"`

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

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

type LoadBalancing

type LoadBalancing struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitnil" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitnil" name:"Type"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitnil" name:"TTL"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitnil" name:"OriginId"`

	// Information of the origin server used
	Origin []*OriginGroup `json:"Origin,omitnil" name:"Origin"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Status
	Status *string `json:"Status,omitnil" name:"Status"`

	// Schedules domain names
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitnil" name:"Cname"`
}

type ManagedRule

type ManagedRule struct {
	// ID of the rule
	RuleId *int64 `json:"RuleId,omitnil" name:"RuleId"`

	// Rule description
	Description *string `json:"Description,omitnil" name:"Description"`

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

	// Rule level
	RuleLevelDesc *string `json:"RuleLevelDesc,omitnil" name:"RuleLevelDesc"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Rule status: `block`, `allow`
	Status *string `json:"Status,omitnil" name:"Status"`

	// Tag of the rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleTags []*string `json:"RuleTags,omitnil" name:"RuleTags"`

	// Description of the rule type
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleTypeDesc *string `json:"RuleTypeDesc,omitnil" name:"RuleTypeDesc"`

	// ID of the rule type
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleTypeId *int64 `json:"RuleTypeId,omitnil" name:"RuleTypeId"`
}

type MaxAge

type MaxAge struct {
	// Specifies the max age of the cache (in seconds). The maximum value is 365 days.
	// Note: the value `0` means not to cache.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAgeTime *int64 `json:"MaxAgeTime,omitnil" name:"MaxAgeTime"`

	// Specifies whether to follow the max cache age of the origin server. Valid values: `on` and `off`. If it's on, `MaxAgeTime` is ignored.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowOrigin *string `json:"FollowOrigin,omitnil" name:"FollowOrigin"`
}

type ModifyApplicationProxyRequest

type ModifyApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Name of the proxy:
	// Domain name or subdomain name when `ProxyType=hostname`
	// Instance name when `ProxyType=instance`
	ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"`

	// This parameter is disused.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// This parameter is disused.
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`

	// Session persistence time. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Create by subdomain name
	// `instance`: Create by instance
	ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Name of the proxy:
	// Domain name or subdomain name when `ProxyType=hostname`
	// Instance name when `ProxyType=instance`
	ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"`

	// This parameter is disused.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// This parameter is disused.
	SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"`

	// Session persistence time. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Create by subdomain name
	// `instance`: Create by instance
	ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"`
}

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 {
	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

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

Predefined struct for user

type ModifyApplicationProxyRuleRequest

type ModifyApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitnil" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitnil" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitnil" 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-xxx"]
	OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA.
	// `PPV1`: Pass the client IP via Proxy Protocol V1.
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitnil" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitnil" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: Origin group
	OriginType *string `json:"OriginType,omitnil" 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-xxx"]
	OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA.
	// `PPV1`: Pass the client IP via Proxy Protocol V1.
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitnil" 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 {
	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

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

Predefined struct for user

type ModifyApplicationProxyRuleStatusRequest

type ModifyApplicationProxyRuleStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitnil" 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 {
	// Rule ID
	RuleId *string `json:"RuleId,omitnil" name:"RuleId"`

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

Predefined struct for user

type ModifyApplicationProxyStatusRequest

type ModifyApplicationProxyStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitnil" 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 {
	// ID of the proxy
	ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"`

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

Predefined struct for user

type ModifyDDoSPolicyHostRequest

type ModifyDDoSPolicyHostRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Second-level domain name
	Host *string `json:"Host,omitnil" name:"Host"`

	// Whether to enable content acceleration. Values: `on` (enable content acceleration), and `off` (disable content acceleration). It can be used together with `SecurityType`.
	AccelerateType *string `json:"AccelerateType,omitnil" name:"AccelerateType"`

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

	// Whether to enable security protection. Values: `on` (enable security protection) and `off` (disable security protection). It can be used together with `AccelerateType`.
	SecurityType *string `json:"SecurityType,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Second-level domain name
	Host *string `json:"Host,omitnil" name:"Host"`

	// Whether to enable content acceleration. Values: `on` (enable content acceleration), and `off` (disable content acceleration). It can be used together with `SecurityType`.
	AccelerateType *string `json:"AccelerateType,omitnil" name:"AccelerateType"`

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

	// Whether to enable security protection. Values: `on` (enable security protection) and `off` (disable security protection). It can be used together with `AccelerateType`.
	SecurityType *string `json:"SecurityType,omitnil" 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 {
	// Subdomain name
	Host *string `json:"Host,omitnil" name:"Host"`

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

Predefined struct for user

type ModifyDDoSPolicyRequest

type ModifyDDoSPolicyRequest struct {
	*tchttp.BaseRequest

	// ID of the policy group
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Detailed DDoS mitigation configuration
	DdosRule *DdosRule `json:"DdosRule,omitnil" 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 {
	// ID of the policy group
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Detailed DDoS mitigation configuration
	DdosRule *DdosRule `json:"DdosRule,omitnil" 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 {
	// ID of the policy group
	PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"`

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

Predefined struct for user

type ModifyDefaultCertificateRequest

type ModifyDefaultCertificateRequest struct {
	*tchttp.BaseRequest

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

	// Certificate ID
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// Certificate status
	// `deployed`: The certificate is deployed.
	// `disabled`: The certificate is disabled.
	// If the deployment fails, you can pass in `Status = deployed` again.
	Status *string `json:"Status,omitnil" 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,omitnil" name:"ZoneId"`

	// Certificate ID
	CertId *string `json:"CertId,omitnil" name:"CertId"`

	// Certificate status
	// `deployed`: The certificate is deployed.
	// `disabled`: The certificate is disabled.
	// If the deployment fails, you can pass in `Status = deployed` again.
	Status *string `json:"Status,omitnil" 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,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyDnsRecordRequest

type ModifyDnsRecordRequest struct {
	*tchttp.BaseRequest

	// Record ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitnil" 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 {
	// Record ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitnil" 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 {
	// Record ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Record type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record name
	Name *string `json:"Name,omitnil" name:"Name"`

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

	Ttl *int64 `json:"Ttl,omitnil" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	// Resolution status
	Status *string `json:"Status,omitnil" name:"Status"`

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

	// Whether the DNS record is locked
	Locked *bool `json:"Locked,omitnil" name:"Locked"`

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

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

Predefined struct for user

type ModifyDnssecRequest

type ModifyDnssecRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// DNSSEC status
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// DNSSEC status
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// DNSSEC status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" name:"Status"`

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

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

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

Predefined struct for user

type ModifyHostsCertificateRequest

type ModifyHostsCertificateRequest struct {
	*tchttp.BaseRequest

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

	// Domain name that the certificate will be attached to
	Hosts []*string `json:"Hosts,omitnil" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitnil" name:"CertInfo"`
}

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,omitnil" name:"ZoneId"`

	// Domain name that the certificate will be attached to
	Hosts []*string `json:"Hosts,omitnil" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitnil" name:"CertInfo"`
}

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,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyLoadBalancingRequest

type ModifyLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

	// Proxy mode.
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitnil" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitnil" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitnil" name:"TTL"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

	// Proxy mode.
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitnil" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitnil" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitnil" name:"TTL"`
}

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 {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

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

Predefined struct for user

type ModifyLoadBalancingStatusRequest

type ModifyLoadBalancingStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

	// Status.
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

	// Status.
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitnil" 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 {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitnil" name:"LoadBalancingId"`

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

Predefined struct for user

type ModifyOriginGroupRequest

type ModifyOriginGroupRequest struct {
	*tchttp.BaseRequest

	// ID of the origin group
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Name of the origin group
	OriginName *string `json:"OriginName,omitnil" name:"OriginName"`

	// Origin-pull configuration type. This field is required when `OriginType=self`.
	// `area`: Origin-pull by region
	// `weight`: Origin-pull by weight
	// When `OriginType=third_party/cos`, it can be left empty.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Origin record
	Record []*OriginRecord `json:"Record,omitnil" name:"Record"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Origin type
	// `self`: Customer origin
	// `third_party`: Third-party origin
	// `cos`: Tencent Cloud COS origin
	OriginType *string `json:"OriginType,omitnil" name:"OriginType"`
}

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 {
	// ID of the origin group
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Name of the origin group
	OriginName *string `json:"OriginName,omitnil" name:"OriginName"`

	// Origin-pull configuration type. This field is required when `OriginType=self`.
	// `area`: Origin-pull by region
	// `weight`: Origin-pull by weight
	// When `OriginType=third_party/cos`, it can be left empty.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Origin record
	Record []*OriginRecord `json:"Record,omitnil" name:"Record"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Origin type
	// `self`: Customer origin
	// `third_party`: Third-party origin
	// `cos`: Tencent Cloud COS origin
	OriginType *string `json:"OriginType,omitnil" name:"OriginType"`
}

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 {
	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

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

Predefined struct for user

type ModifySecurityPolicyRequest

type ModifySecurityPolicyRequest struct {
	*tchttp.BaseRequest

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Security configuration
	Config *SecurityConfig `json:"Config,omitnil" name:"Config"`
}

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 {
	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Subdomain name/layer-4 proxy
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Security configuration
	Config *SecurityConfig `json:"Config,omitnil" name:"Config"`
}

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,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyZoneCnameSpeedUpRequest

type ModifyZoneCnameSpeedUpRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// CNAME acceleration status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// CNAME acceleration status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// CNAME acceleration status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitnil" name:"Status"`

	// Update time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

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

Predefined struct for user

type ModifyZoneRequest

type ModifyZoneRequest struct {
	*tchttp.BaseRequest

	// Site ID, which is used to identify the site.
	Id *string `json:"Id,omitnil" name:"Id"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: Connect via the name server.
	// - `partial`: Connect via the CNAME.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Custom site information
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil" 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 {
	// Site ID, which is used to identify the site.
	Id *string `json:"Id,omitnil" name:"Id"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: Connect via the name server.
	// - `partial`: Connect via the CNAME.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Custom site information
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Name server used by the site
	OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"`

	// Site status.
	// - `pending`: The name server is not connected.
	// - `active`: The name server is connected.
	// - `moved`: The name server is moved.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: Connect via the name server.
	// - `partial`: Connect via the CNAME.
	Type *string `json:"Type,omitnil" name:"Type"`

	// List of name servers assigned by Tencent Cloud
	NameServers []*string `json:"NameServers,omitnil" name:"NameServers"`

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

	// CNAME access status.
	// - `finished`: Ownership of the site is verified.
	// - `pending`: Verifying the ownership of the site.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CnameStatus *string `json:"CnameStatus,omitnil" name:"CnameStatus"`

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

Predefined struct for user

type ModifyZoneSettingRequest

type ModifyZoneSettingRequest struct {
	*tchttp.BaseRequest

	// ID of the site to be modified
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Cache expiration time
	Cache *CacheConfig `json:"Cache,omitnil" name:"Cache"`

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

	// Browser cache configuration
	MaxAge *MaxAge `json:"MaxAge,omitnil" name:"MaxAge"`

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

	// QUIC access
	Quic *Quic `json:"Quic,omitnil" name:"Quic"`

	// Maximum size of files transferred over POST request
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil" name:"PostMaxSize"`

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

	// HTTP2 origin-pull configuration
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil" name:"ForceRedirect"`

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

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

	// Smart acceleration configuration
	SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"`

	// WebSocket configuration
	WebSocket *WebSocket `json:"WebSocket,omitnil" name:"WebSocket"`

	// Origin-pull client IP header configuration
	ClientIpHeader *ClientIp `json:"ClientIpHeader,omitnil" name:"ClientIpHeader"`

	// Cache prefresh configuration
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil" name:"CachePrefresh"`
}

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 {
	// ID of the site to be modified
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Cache expiration time
	Cache *CacheConfig `json:"Cache,omitnil" name:"Cache"`

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

	// Browser cache configuration
	MaxAge *MaxAge `json:"MaxAge,omitnil" name:"MaxAge"`

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

	// QUIC access
	Quic *Quic `json:"Quic,omitnil" name:"Quic"`

	// Maximum size of files transferred over POST request
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil" name:"PostMaxSize"`

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

	// HTTP2 origin-pull configuration
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil" name:"ForceRedirect"`

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

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

	// Smart acceleration configuration
	SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"`

	// WebSocket configuration
	WebSocket *WebSocket `json:"WebSocket,omitnil" name:"WebSocket"`

	// Origin-pull client IP header configuration
	ClientIpHeader *ClientIp `json:"ClientIpHeader,omitnil" name:"ClientIpHeader"`

	// Cache prefresh configuration
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil" name:"CachePrefresh"`
}

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 {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

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

Predefined struct for user

type ModifyZoneStatusRequest

type ModifyZoneStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site status.
	// - `false`: Enable the site.
	// - `true`: Disable the site.
	Paused *bool `json:"Paused,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site status.
	// - `false`: Enable the site.
	// - `true`: Disable the site.
	Paused *bool `json:"Paused,omitnil" 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 {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Site status.
	// - `false`: Enable the site.
	// - `true`: Disable the site.
	Paused *bool `json:"Paused,omitnil" name:"Paused"`

	// Update time
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

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

Predefined struct for user

type OfflineCache

type OfflineCache struct {
	// Whether to enable offline cache. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type Origin

type Origin struct {
	// Origin-pull protocol.
	// `http`: Switch HTTPS requests to HTTP
	// `follow`: Follow the protocol of the request.
	// `https`: Switch HTTP requests to HTTPS. This only supports port 443 on the origin server.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitnil" name:"OriginPullProtocol"`
}

type OriginCheckOriginStatus

type OriginCheckOriginStatus struct {
	// `healthy`: Healthy; `unhealthy`: Unhealthy; `process`: Checking origin.
	Status *string `json:"Status,omitnil" name:"Status"`

	// List of unhealthy origin groups when `Status = unhealthy`
	// Note: This field may return null, indicating that no valid values can be obtained.
	Host []*string `json:"Host,omitnil" name:"Host"`
}

type OriginFilter

type OriginFilter struct {
	// Field to be filtered. Supported field: name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Value of the field
	Value *string `json:"Value,omitnil" name:"Value"`
}

type OriginGroup

type OriginGroup struct {
	// Origin group ID
	OriginId *string `json:"OriginId,omitnil" name:"OriginId"`

	// Origin group name
	OriginName *string `json:"OriginName,omitnil" name:"OriginName"`

	// Origin-pull configuration type
	// `area`: Origin-pull by the client IP’s region specified by `Area` in `OriginRecord`.
	// `weight`: Origin-pull by the weight specified by `Weight` in `OriginRecord`.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Record
	Record []*OriginRecord `json:"Record,omitnil" name:"Record"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

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

	// Whether the origin group uses layer-4 proxy.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitnil" name:"ApplicationProxyUsed"`

	// Whether the origin group is used for load balancing.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitnil" name:"LoadBalancingUsed"`

	// Origin status
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *OriginCheckOriginStatus `json:"Status,omitnil" name:"Status"`

	// Proxy mode of the load balancing task associated with the origin group.
	// `none`: This origin group is not used for load balancing.
	// `dns_only`: Used for DNS-only load balancing
	// `proxied`: Used for proxied load balancing
	// `both`: It’s used for both DNS-only and proxied load balancing.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitnil" name:"LoadBalancingUsedType"`
}

type OriginRecord

type OriginRecord struct {
	// Record value
	Record *string `json:"Record,omitnil" name:"Record"`

	// A specific region when `Type=area`.
	// The default region when `Type` is not specified.
	Area []*string `json:"Area,omitnil" name:"Area"`

	// A specific weight when `Type=weight`.
	// The value range is [1-100].
	// The total weight of multiple origins in an origin group should be 100.
	Weight *uint64 `json:"Weight,omitnil" name:"Weight"`

	// Port
	Port *uint64 `json:"Port,omitnil" name:"Port"`

	// Record ID
	RecordId *string `json:"RecordId,omitnil" name:"RecordId"`

	// Specifies whether to run private origin authentication.
	// It is valid only when `OriginType=third_part`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Private *bool `json:"Private,omitnil" name:"Private"`

	// Private origin parameter.
	// It is valid only when `Private=true`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PrivateParameter []*OriginRecordPrivateParameter `json:"PrivateParameter,omitnil" name:"PrivateParameter"`

	Proto *string `json:"Proto,omitnil" name:"Proto"`
}

type OriginRecordPrivateParameter

type OriginRecordPrivateParameter struct {
	// Name of the private origin authentication parameter.
	// `AccessKeyId`: Access key ID
	// `SecretAccessKey`: Secret access key
	Name *string `json:"Name,omitnil" name:"Name"`

	// Value of the private origin authentication parameter
	Value *string `json:"Value,omitnil" name:"Value"`
}

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,omitnil" name:"RuleId"`

	// Rule description
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil" 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,omitnil" name:"RuleTypeName"`

	// Rule feature category ID (scanner, bot behavior, etc.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClassificationId *int64 `json:"ClassificationId,omitnil" name:"ClassificationId"`

	// Current rule action status (block, alg, etc.)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil" name:"Status"`
}

type PostMaxSize

type PostMaxSize struct {
	// Specifies whether to enable custom setting of the maximum file size.
	// `off`: Disable. In this case, the max size defaults to 32 MB.
	// `on`: Enable. You can set a custom max size.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Maximum size. Value range: 1-500 MB.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxSize *int64 `json:"MaxSize,omitnil" name:"MaxSize"`
}

type QueryCondition

type QueryCondition struct {
	// Dimension
	Key *string `json:"Key,omitnil" name:"Key"`

	// Operator
	Operator *string `json:"Operator,omitnil" name:"Operator"`

	// Dimension value
	Value []*string `json:"Value,omitnil" name:"Value"`
}

type QueryString

type QueryString struct {
	// Whether to use `QueryString` as part of `CacheKey`. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// `includeCustom`: Include the specified query strings.
	// `excludeCustom`: Exclude the specified query strings.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Action *string `json:"Action,omitnil" name:"Action"`

	// Array of query strings used/excluded
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value []*string `json:"Value,omitnil" name:"Value"`
}

type Quic

type Quic struct {
	// Whether to enable QUIC
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type RateLimitConfig

type RateLimitConfig struct {
	// Switch
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Rate limit rule
	UserRules []*RateLimitUserRule `json:"UserRules,omitnil" name:"UserRules"`

	// Default template
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Template *RateLimitTemplate `json:"Template,omitnil" name:"Template"`

	// Client filtering
	// Note: This field may return null, indicating that no valid values can be obtained.
	Intelligence *RateLimitIntelligence `json:"Intelligence,omitnil" name:"Intelligence"`
}

type RateLimitIntelligence

type RateLimitIntelligence struct {
	// Whether to enable this feature
	// Note: This field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Action. Values: `monitor` (observe), `alg` (JS/Managed challenge)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitnil" name:"Action"`
}

type RateLimitTemplate

type RateLimitTemplate struct {
	// Template name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	// Template details
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Detail *RateLimitTemplateDetail `json:"Detail,omitnil" name:"Detail"`
}

type RateLimitTemplateDetail

type RateLimitTemplateDetail struct {
	// Template name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mode *string `json:"Mode,omitnil" name:"Mode"`

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

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

	// Time it takes to perform the action
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"`

	// Request rate threshold
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Threshold *int64 `json:"Threshold,omitnil" name:"Threshold"`

	// Statistical period
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Period *int64 `json:"Period,omitnil" name:"Period"`
}

type RateLimitUserRule

type RateLimitUserRule struct {
	// Rate threshold
	Threshold *int64 `json:"Threshold,omitnil" name:"Threshold"`

	// Data collection time
	Period *int64 `json:"Period,omitnil" name:"Period"`

	// Name of the rule
	RuleName *string `json:"RuleName,omitnil" name:"RuleName"`

	// Action: `monitor` (Observe), `drop` (Block)
	Action *string `json:"Action,omitnil" name:"Action"`

	// Time it takes to perform the action
	PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"`

	// Time unit: second
	PunishTimeUnit *string `json:"PunishTimeUnit,omitnil" name:"PunishTimeUnit"`

	// Status of the rule
	RuleStatus *string `json:"RuleStatus,omitnil" name:"RuleStatus"`

	// Rule
	Conditions []*ACLCondition `json:"Conditions,omitnil" name:"Conditions"`

	// Priority of the rule
	RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"`

	// ID of the rule
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"`

	// Word filter
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FreqFields []*string `json:"FreqFields,omitnil" name:"FreqFields"`

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

type ReclaimZoneRequest

type ReclaimZoneRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`
}

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 {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`
}

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 {
	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

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

Predefined struct for user

type Resource

type Resource struct {
	// Resource ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Billing mode
	// `0`: Pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"`

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

	// Effective time
	EnableTime *string `json:"EnableTime,omitnil" name:"EnableTime"`

	// Expiration time
	ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"`

	// Status of the plan
	Status *string `json:"Status,omitnil" name:"Status"`

	// Pricing query parameter
	Sv []*Sv `json:"Sv,omitnil" name:"Sv"`

	// Specifies whether to enable auto-renewal
	// `0`: Default
	// `1`: Enable auto-renewal
	// `2`: Disable auto-renewal
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil" name:"AutoRenewFlag"`

	// ID of the plan
	PlanId *string `json:"PlanId,omitnil" name:"PlanId"`

	Area *string `json:"Area,omitnil" name:"Area"`
}

type ScanDnsRecordsRequest

type ScanDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

func NewScanDnsRecordsRequest

func NewScanDnsRecordsRequest() (request *ScanDnsRecordsRequest)

func (*ScanDnsRecordsRequest) FromJsonString

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

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

func (*ScanDnsRecordsRequest) ToJsonString

func (r *ScanDnsRecordsRequest) ToJsonString() string

type ScanDnsRecordsRequestParams

type ScanDnsRecordsRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`
}

Predefined struct for user

type ScanDnsRecordsResponse

type ScanDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *ScanDnsRecordsResponseParams `json:"Response"`
}

func NewScanDnsRecordsResponse

func NewScanDnsRecordsResponse() (response *ScanDnsRecordsResponse)

func (*ScanDnsRecordsResponse) FromJsonString

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

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

func (*ScanDnsRecordsResponse) ToJsonString

func (r *ScanDnsRecordsResponse) ToJsonString() string

type ScanDnsRecordsResponseParams

type ScanDnsRecordsResponseParams struct {
	// Scan status
	// - `doing`: Scanning
	// - `done`: Scanned
	Status *string `json:"Status,omitnil" name:"Status"`

	// Number of DNS records added after scanning
	RecordsAdded *int64 `json:"RecordsAdded,omitnil" name:"RecordsAdded"`

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

Predefined struct for user

type SecEntry

type SecEntry struct {
	// Entry key
	// Note: This field may return null, indicating that no valid values can be obtained.
	Key *string `json:"Key,omitnil" name:"Key"`

	// Entry value
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value []*SecEntryValue `json:"Value,omitnil" name:"Value"`
}

type SecEntryValue

type SecEntryValue struct {
	// Metric name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Metric *string `json:"Metric,omitnil" name:"Metric"`

	// Metric data details
	// Note: This field may return null, indicating that no valid values can be obtained.
	Detail []*TimingDataItem `json:"Detail,omitnil" name:"Detail"`

	// Maximum
	// Note: This field may return null, indicating that no valid values can be obtained.
	Max *int64 `json:"Max,omitnil" name:"Max"`

	// Average
	// Note: This field may return null, indicating that no valid values can be obtained.
	Avg *float64 `json:"Avg,omitnil" name:"Avg"`

	// Sum
	// Note: This field may return null, indicating that no valid values can be obtained.
	Sum *float64 `json:"Sum,omitnil" name:"Sum"`
}

type SecurityConfig

type SecurityConfig struct {
	// WAF configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	WafConfig *WafConfig `json:"WafConfig,omitnil" name:"WafConfig"`

	// Rate limit configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitnil" name:"RateLimitConfig"`

	// DDoS mitigation configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DdosConfig *DDoSConfig `json:"DdosConfig,omitnil" name:"DdosConfig"`

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

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

	// Switch that controls all web security configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SwitchConfig *SwitchConfig `json:"SwitchConfig,omitnil" name:"SwitchConfig"`

	// IP blocklist/allowlist
	// Note: This field may return null, indicating that no valid values can be obtained.
	IpTableConfig *IpTableConfig `json:"IpTableConfig,omitnil" name:"IpTableConfig"`
}

type SecurityEntity

type SecurityEntity struct {
	// User APPID
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// Top-level domain name
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Second-level domain name
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Type of protected resource. Values: `domain` and `application`.
	EntityType *string `json:"EntityType,omitnil" name:"EntityType"`
}

type ServerCertInfo

type ServerCertInfo struct {
	// Server certificate ID, which is the ID of the default certificate. If you choose to upload an external certificate for SSL certificate management, a certificate ID will be generated.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertId *string `json:"CertId,omitnil" name:"CertId"`

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

	// Certificate type.
	// `default`: Default certificate
	// `upload`: External certificate
	// `managed`: Tencent Cloud managed certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Time when the certificate expires
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"`

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

	// Certificate deployment status.
	// `processing`: Deploying
	// `deployed`: Deployed
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitnil" name:"Status"`
}

type ShieldArea

type ShieldArea struct {
	// ID of the site (top-level domain name)
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

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

	// Type of protected resource. Values: `domain` and `application`.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Layer-4 proxy name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EntityName *string `json:"EntityName,omitnil" name:"EntityName"`

	// Layer-7 domain name parameters
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Application []*DDoSApplication `json:"Application,omitnil" name:"Application"`

	// Number of layer-4 TCP forwarding rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TcpNum *int64 `json:"TcpNum,omitnil" name:"TcpNum"`

	// Number of layer-4 UDP forwarding rules
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UdpNum *int64 `json:"UdpNum,omitnil" name:"UdpNum"`

	// Name of the protected resource
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Entity *string `json:"Entity,omitnil" name:"Entity"`

	// Whether the shared resource is used. Values: `true` (yes) and `false` (no). The proxy mode cannot be switched when the shared resource is used.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Share *bool `json:"Share,omitnil" name:"Share"`
}

type SmartRouting

type SmartRouting struct {
	// Whether to enable smart acceleration
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type Sv

type Sv struct {
	// Parameter key
	Key *string `json:"Key,omitnil" name:"Key"`

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

type SwitchConfig

type SwitchConfig struct {
	// Switch that controls all web security configuration: basic web protection, custom rules, and rate limiting
	WebSwitch *string `json:"WebSwitch,omitnil" name:"WebSwitch"`
}

type Tag

type Tag struct {
	// Tag key
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagKey *string `json:"TagKey,omitnil" name:"TagKey"`

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

type Task

type Task struct {
	// Task ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Status of the task
	Status *string `json:"Status,omitnil" name:"Status"`

	// Resource
	Target *string `json:"Target,omitnil" name:"Target"`

	// Task type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Task creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Task completion time
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`
}

type TimingDataItem

type TimingDataItem struct {
	// Second-level timestamp
	// Note: This field may return null, indicating that no valid values can be obtained.
	Timestamp *int64 `json:"Timestamp,omitnil" name:"Timestamp"`

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

type TimingDataRecord

type TimingDataRecord struct {
	// Query dimension value
	TypeKey *string `json:"TypeKey,omitnil" name:"TypeKey"`

	// Detailed time series data
	// Note: This field may return null, indicating that no valid values can be obtained.
	TypeValue []*TimingTypeValue `json:"TypeValue,omitnil" name:"TypeValue"`
}

type TimingTypeValue

type TimingTypeValue struct {
	// Sum
	// Note: This field may return null, indicating that no valid values can be obtained.
	Sum *int64 `json:"Sum,omitnil" name:"Sum"`

	// Maximum
	// Note: This field may return null, indicating that no valid values can be obtained.
	Max *int64 `json:"Max,omitnil" name:"Max"`

	// Average
	// Note: This field may return null, indicating that no valid values can be obtained.
	Avg *int64 `json:"Avg,omitnil" name:"Avg"`

	// Metric name
	MetricName *string `json:"MetricName,omitnil" name:"MetricName"`

	// This field will be disused soon. Use the `Detail` field instead.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DetailData []*int64 `json:"DetailData,omitnil" name:"DetailData"`

	// Detailed data
	// Note: This field may return null, indicating that no valid values can be obtained.
	Detail []*TimingDataItem `json:"Detail,omitnil" name:"Detail"`
}

type TopDataRecord

type TopDataRecord struct {
	// Query dimension value
	TypeKey *string `json:"TypeKey,omitnil" name:"TypeKey"`

	// Top data rankings
	// Note: This field may return null, indicating that no valid values can be obtained.
	DetailData []*TopDetailData `json:"DetailData,omitnil" name:"DetailData"`
}

type TopDetailData

type TopDetailData struct {
	// Field name
	Key *string `json:"Key,omitnil" name:"Key"`

	// Field value
	Value *int64 `json:"Value,omitnil" name:"Value"`
}

type TopNEntry

type TopNEntry struct {
	// Entry key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Top N data
	Value []*TopNEntryValue `json:"Value,omitnil" name:"Value"`
}

type TopNEntryValue

type TopNEntryValue struct {
	// Entry name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Quantity
	Count *int64 `json:"Count,omitnil" name:"Count"`
}

type UpstreamHttp2

type UpstreamHttp2 struct {
	// Whether to enable HTTP2 origin-pull
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil" name:"Switch"`
}

type VanityNameServers

type VanityNameServers struct {
	// Whether to enable the custom name server
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// List of custom name servers
	Servers []*string `json:"Servers,omitnil" name:"Servers"`
}

type VanityNameServersIps

type VanityNameServersIps struct {
	// Name of the custom name server
	Name *string `json:"Name,omitnil" name:"Name"`

	// IPv4 address of the custom name server
	IPv4 *string `json:"IPv4,omitnil" name:"IPv4"`
}

type WafConfig

type WafConfig struct {
	// Switch
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Protection level: `loose`, `normal`, `strict`, `stricter`, `custom`
	Level *string `json:"Level,omitnil" name:"Level"`

	// Mode: `block`, `observe`, `close`
	Mode *string `json:"Mode,omitnil" name:"Mode"`

	// WAF rule allowlist/blocklist
	WafRules *WafRule `json:"WafRules,omitnil" name:"WafRules"`

	// AI rule engine
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	AiRule *AiRule `json:"AiRule,omitnil" name:"AiRule"`
}

type WafRule

type WafRule struct {
	// Blocklist
	BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitnil" name:"BlockRuleIDs"`

	// Whether the WAF rule is enabled or disabled
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Observe mode
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitnil" name:"ObserveRuleIDs"`
}

type WebAttackEvent

type WebAttackEvent struct {
	// Client IP
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientIp *string `json:"ClientIp,omitnil" name:"ClientIp"`

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

	// Attack time in seconds
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackTime *int64 `json:"AttackTime,omitnil" name:"AttackTime"`
}

type WebEventData

type WebEventData struct {
	// Data set of attack events
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*WebAttackEvent `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type WebLogData

type WebLogData struct {
	// Data
	// Note: This field may return null, indicating that no valid values can be obtained.
	List []*WebLogs `json:"List,omitnil" name:"List"`

	// Current page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNo *int64 `json:"PageNo,omitnil" name:"PageNo"`

	// Number of items per page
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"`

	// Total number of pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	Pages *int64 `json:"Pages,omitnil" name:"Pages"`

	// Total number of items
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalSize *int64 `json:"TotalSize,omitnil" name:"TotalSize"`
}

type WebLogs

type WebLogs struct {
	// Attack content
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackContent *string `json:"AttackContent,omitnil" name:"AttackContent"`

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

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

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

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

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

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

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

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

	// IP country/region
	// Note: This field may return null, indicating that no valid values can be obtained.
	SipCountryCode *string `json:"SipCountryCode,omitnil" name:"SipCountryCode"`

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

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

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

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

	// Attack time. For consistency considerations, the original parameter `time` was renamed `AttackTime`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackTime *uint64 `json:"AttackTime,omitnil" name:"AttackTime"`
}

type WebSocket

type WebSocket struct {
	// Whether to enable custom WebSocket timeout setting. When it’s `off`: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to `on`.
	Switch *string `json:"Switch,omitnil" name:"Switch"`

	// Sets timeout period in seconds. Maximum value: 120
	Timeout *int64 `json:"Timeout,omitnil" name:"Timeout"`
}

type Zone

type Zone struct {
	// Site ID
	Id *string `json:"Id,omitnil" name:"Id"`

	// Site name
	Name *string `json:"Name,omitnil" name:"Name"`

	// List of name servers used by the site
	OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"`

	// List of name servers assigned by Tencent Cloud
	NameServers []*string `json:"NameServers,omitnil" name:"NameServers"`

	// Site status
	// - `active`: The name server is switched.
	// - `pending`: The name server is not switched.
	// - `moved`: The name server is moved.
	// - `deactivated`: The name server is blocked.
	Status *string `json:"Status,omitnil" name:"Status"`

	// How the site is connected to EdgeOne.
	// - `full`: The site is connected via name server.
	// - `partial`: The site is connected via CNAME.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Indicates whether the site is disabled
	Paused *bool `json:"Paused,omitnil" name:"Paused"`

	// Specifies whether to enable CNAME acceleration
	// - `enabled`: Enable
	// - `disabled`: Disable
	// Note: This field may return null, indicating that no valid values can be obtained.
	CnameSpeedUp *string `json:"CnameSpeedUp,omitnil" name:"CnameSpeedUp"`

	// Ownership verification status of the site when it is connected to EdgeOne via CNAME.
	// - `finished`: The site is verified.
	// - `pending`: Verifying the ownership of the site.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CnameStatus *string `json:"CnameStatus,omitnil" name:"CnameStatus"`

	// Resource tag
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Billable resource
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Resources []*Resource `json:"Resources,omitnil" name:"Resources"`

	// Site creation date
	CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"`

	// Site modification date
	ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"`

	Area *string `json:"Area,omitnil" name:"Area"`
}

type ZoneFilter

type ZoneFilter struct {
	// Filters by the field name. Vaules:
	// - `name`: Site name.
	// - `status`: Site status.
	// - `tagKey`: Tag key.
	// - `tagValue`: Tag value.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Filters by the field value
	Values []*string `json:"Values,omitnil" name:"Values"`

	// Specifies whether to enable fuzzy query. It’s only available when filter name is `name`. If it’s enabled, the length of `Values` must be 1.
	Fuzzy *bool `json:"Fuzzy,omitnil" name:"Fuzzy"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL