v20220901

package
v3.0.549+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

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

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

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

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

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

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

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

	// Internal error.
	INTERNALERROR = "InternalError"

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

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

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

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

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

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

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

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

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

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	//
	INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"

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

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

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

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

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

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

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

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

	//
	INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"

	//
	INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"

	//
	INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"

	//
	INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"

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

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

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

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

	// Resource error
	INVALIDPARAMETER_TARGET = "InvalidParameter.Target"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

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

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

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

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

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

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

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

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

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

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

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

	// An unknown error occurred in the backend server.
	UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
)
View Source
const APIVersion = "2022-09-01"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelerateType

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

type Action

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

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

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

type AdvancedFilter

type AdvancedFilter struct {
	// The name of the field to filter.
	Name *string `json:"Name,omitempty" name:"Name"`

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

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

type AscriptionInfo

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

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

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

type BillingDataFilter

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

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

type BotLog

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

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

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

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

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

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

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

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

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

	// The country code of the attacker IP, which is defined in ISO-3166 alpha-2. For the list of country codes, see [ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json).
	SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"`

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

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

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

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

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

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

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

	// The security rule information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`

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

type CC

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

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

type CCInterceptEvent

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

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

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

type Cache

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

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

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

type CacheConfig

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

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

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

type CacheKey

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

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

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

type CachePrefresh

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

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

type CheckCertificateRequest

type CheckCertificateRequest struct {
	*tchttp.BaseRequest

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

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

func NewCheckCertificateRequest

func NewCheckCertificateRequest() (request *CheckCertificateRequest)

func (*CheckCertificateRequest) FromJsonString

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

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

func (*CheckCertificateRequest) ToJsonString

func (r *CheckCertificateRequest) ToJsonString() string

type CheckCertificateRequestParams

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

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

Predefined struct for user

type CheckCertificateResponse

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

func NewCheckCertificateResponse

func NewCheckCertificateResponse() (response *CheckCertificateResponse)

func (*CheckCertificateResponse) FromJsonString

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

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

func (*CheckCertificateResponse) ToJsonString

func (r *CheckCertificateResponse) ToJsonString() string

type CheckCertificateResponseParams

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

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) CheckCertificate

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

CheckCertificate This API is used to verify a certificate.

error code that may be returned:

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

func (*Client) CheckCertificateWithContext

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

CheckCertificate This API is used to verify a certificate.

error code that may be returned:

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

func (*Client) CreateCredential

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

CreateCredential Creates a credential for COS origin-pull.

error code that may be returned:

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

func (*Client) CreateCredentialWithContext

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

CreateCredential Creates a credential for COS origin-pull.

error code that may be returned:

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

func (*Client) 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) CreateLogSet

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

CreateLogSet This API is used to create a CLS logset.

error code that may be returned:

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

func (*Client) CreateLogSetWithContext

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

CreateLogSet This API is used to create a CLS logset.

error code that may be returned:

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

func (*Client) CreateLogTopicTask

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

CreateLogTopicTask This API is used to create a shipping task.

error code that may be returned:

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

func (*Client) CreateLogTopicTaskWithContext

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

CreateLogTopicTask This API is used to create a shipping task.

error code that may be returned:

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

func (*Client) CreatePlanForZone

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

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

error code that may be returned:

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

func (*Client) CreatePlanForZoneWithContext

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

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

error code that may be returned:

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

func (*Client) CreatePrefetchTask

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

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

error code that may be returned:

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

func (*Client) CreatePrefetchTaskWithContext

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

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

error code that may be returned:

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

func (*Client) CreatePurgeTask

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

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

error code that may be returned:

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

func (*Client) CreatePurgeTaskWithContext

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

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

error code that may be returned:

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

func (*Client) CreateReplayTask

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

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

error code that may be returned:

LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreateReplayTaskWithContext

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

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

error code that may be returned:

LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreateRule

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

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

error code that may be returned:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) CreateRuleWithContext

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

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

error code that may be returned:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) CreateZone

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

CreateZone This API is used to access a new site.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
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"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DeleteDnsRecords

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

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

error code that may be returned:

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

func (*Client) DeleteDnsRecordsWithContext

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

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

error code that may be returned:

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

func (*Client) DeleteLogTopicTask

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

DeleteLogTopicTask This API is used to delete a shipping task.

error code that may be returned:

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

func (*Client) DeleteLogTopicTaskWithContext

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

DeleteLogTopicTask This API is used to delete a shipping task.

error code that may be returned:

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

func (*Client) DeleteRules

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

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

error code that may be returned:

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

func (*Client) DeleteRulesWithContext

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

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

error code that may be returned:

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

func (*Client) DeleteZone

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

DeleteZone This API is used to delete a site.

error code that may be returned:

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

func (*Client) DeleteZoneWithContext

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

DeleteZone This API is used to delete a site.

error code that may be returned:

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

func (*Client) DescribeAddableEntityList

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

DescribeAddableEntityList This API is used to query available shipping entities.

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeAddableEntityListWithContext

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

DescribeAddableEntityList This API is used to query available shipping entities.

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeAvailablePlans

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

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

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeAvailablePlansWithContext

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

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

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeBillingData

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

DescribeBillingData This API is used to get the billing data.

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeBillingDataWithContext

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

DescribeBillingData This API is used to get the billing data.

error code that may be returned:

RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"

func (*Client) DescribeBotClientIpList

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotClientIpListWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotData

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

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

error code that may be returned:

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

func (*Client) DescribeBotDataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeBotHitRuleDetail

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotHitRuleDetailWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotLog

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

DescribeBotLog This API is used to query bot attack logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotLogWithContext

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

DescribeBotLog This API is used to query bot attack logs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeBotTopData

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

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

error code that may be returned:

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

func (*Client) DescribeBotTopDataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeClientRuleList

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

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

error code that may be returned:

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

func (*Client) DescribeClientRuleListWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeContentQuota

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

DescribeContentQuota This API is used to query content management quotas.

error code that may be returned:

UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeContentQuotaWithContext

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

DescribeContentQuota This API is used to query content management quotas.

error code that may be returned:

UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeDDoSAttackData

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackDataWithContext

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackEvent

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

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

error code that may be returned:

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

func (*Client) DescribeDDoSAttackEventDetail

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackEventDetailWithContext

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackEventWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeDDoSAttackSourceEvent

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackSourceEventWithContext

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackTopData

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSAttackTopDataWithContext

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSBlockList

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSBlockListWithContext

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

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

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDDoSMajorAttackEvent

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

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

error code that may be returned:

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

func (*Client) DescribeDDoSMajorAttackEventWithContext

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

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

error code that may be returned:

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

func (*Client) 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"
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"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDnsData

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

DescribeDnsData This API is used to get DNS requests.

error code that may be returned:

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

func (*Client) DescribeDnsDataWithContext

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

DescribeDnsData This API is used to get DNS requests.

error code that may be returned:

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

func (*Client) DescribeDnsRecords

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

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

error code that may be returned:

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

func (*Client) DescribeDnsRecordsWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeDnssec

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

DescribeDnssec This API is used to query DNSSEC information.

error code that may be returned:

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

func (*Client) DescribeDnssecWithContext

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

DescribeDnssec This API is used to query DNSSEC information.

error code that may be returned:

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

func (*Client) DescribeHostsSetting

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

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

error code that may be returned:

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

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeIdentificationsWithContext

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogSets

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogSetsWithContext

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLogTopicTaskDetail

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeLogTopicTaskDetailWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeLogTopicTasks

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeLogTopicTasksWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeOverviewL7Data

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

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

error code that may be returned:

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

func (*Client) DescribeOverviewL7DataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribePrefetchTasks

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

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

error code that may be returned:

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

func (*Client) DescribePrefetchTasksWithContext

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

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

error code that may be returned:

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

func (*Client) DescribePurgeTasks

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

DescribePurgeTasks Querying the cache purging history

error code that may be returned:

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

func (*Client) DescribePurgeTasksWithContext

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

DescribePurgeTasks Querying the cache purging history

error code that may be returned:

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

func (*Client) DescribeRules

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

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

error code that may be returned:

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

func (*Client) DescribeRulesSetting

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

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

error code that may be returned:

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

func (*Client) DescribeRulesSettingWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeRulesWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeSingleL7AnalysisData

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeSingleL7AnalysisDataWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL4Data

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL4DataWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7AnalysisData

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7AnalysisDataWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTimingL7CacheData

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

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

error code that may be returned:

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

func (*Client) DescribeTimingL7CacheDataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeTopL7AnalysisData

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTopL7AnalysisDataWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeTopL7CacheData

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

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

error code that may be returned:

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

func (*Client) DescribeTopL7CacheDataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeWebManagedRulesData

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesDataWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesHitRuleDetail

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesHitRuleDetailWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebManagedRulesLog

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

DescribeWebManagedRulesLog This API is used to query web attack logs.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebManagedRulesLogWithContext

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

DescribeWebManagedRulesLog This API is used to query web attack logs.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeWebProtectionAttackEvents

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionAttackEventsWithContext

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionClientIpList

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeWebProtectionClientIpListWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeWebProtectionData

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionDataWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionHitRuleDetail

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionHitRuleDetailWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeWebProtectionTopData

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

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

error code that may be returned:

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

func (*Client) DescribeWebProtectionTopDataWithContext

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

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

error code that may be returned:

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

func (*Client) DescribeZoneSetting

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

DescribeZoneSetting This API is used to query the site configuration.

error code that may be returned:

INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZoneSettingWithContext

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

DescribeZoneSetting This API is used to query the site configuration.

error code that may be returned:

INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZones

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

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

error code that may be returned:

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

func (*Client) DescribeZonesWithContext

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

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

error code that may be returned:

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

func (*Client) DownloadL4Logs

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

DownloadL4Logs This API is used to download L4 logs.

error code that may be returned:

RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DownloadL4LogsWithContext

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

DownloadL4Logs This API is used to download L4 logs.

error code that may be returned:

RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DownloadL7Logs

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

DownloadL7Logs This API is used to download L7 logs.

error code that may be returned:

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

func (*Client) DownloadL7LogsWithContext

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

DownloadL7Logs This API is used to download L7 logs.

error code that may be returned:

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

func (*Client) IdentifyZone

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

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

error code that may be returned:

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

func (*Client) IdentifyZoneWithContext

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

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

error code that may be returned:

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

func (*Client) ModifyDefaultCertificate

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

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

error code that may be returned:

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

func (*Client) ModifyDefaultCertificateWithContext

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

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

error code that may be returned:

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

func (*Client) ModifyDnsRecord

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

ModifyDnsRecord This API is used to modify DNS records.

error code that may be returned:

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

func (*Client) ModifyDnsRecordWithContext

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

ModifyDnsRecord This API is used to modify DNS records.

error code that may be returned:

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

func (*Client) ModifyDnssec

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyDnssecWithContext

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyHostsCertificate

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

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

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyHostsCertificateWithContext

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

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

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyLogTopicTask

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

ModifyLogTopicTask This API is used to modify a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyLogTopicTaskWithContext

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

ModifyLogTopicTask This API is used to modify a shipping task.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyRule

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

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

error code that may be returned:

INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) ModifyRulePriority

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

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

error code that may be returned:

INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) ModifyRulePriorityWithContext

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

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

error code that may be returned:

INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) ModifyRuleWithContext

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

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

error code that may be returned:

INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction"
INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension"
INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl"
INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"

func (*Client) ModifyZone

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

ModifyZone This API is used to modify a site.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyZoneCnameSpeedUp

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

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

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyZoneCnameSpeedUpWithContext

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

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

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyZoneSetting

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

ModifyZoneSetting This API is used to modify the site configuration.

error code that may be returned:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ModifyZoneSettingWithContext

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

ModifyZoneSetting This API is used to modify the site configuration.

error code that may be returned:

INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress"
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch"
INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName"
INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin"
INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling"
INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling"
INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ModifyZoneStatus

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

ModifyZoneStatus This API is used to change the site status.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyZoneStatusWithContext

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

ModifyZoneStatus This API is used to change the site status.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyZoneWithContext

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

ModifyZone This API is used to modify a site.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ReclaimZone

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ReclaimZoneWithContext

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) SwitchLogTopicTask

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) SwitchLogTopicTaskWithContext

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

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

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

type ClientIpCountry

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

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

type ClientIpHeader

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

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

type ClientRule

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

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

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

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

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

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

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

type ClsLogTopicInfo

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type CodeAction

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

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

type Compression

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

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

type CreateCredentialRequest

type CreateCredentialRequest struct {
	*tchttp.BaseRequest
}

func NewCreateCredentialRequest

func NewCreateCredentialRequest() (request *CreateCredentialRequest)

func (*CreateCredentialRequest) FromJsonString

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

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

func (*CreateCredentialRequest) ToJsonString

func (r *CreateCredentialRequest) ToJsonString() string

type CreateCredentialRequestParams

type CreateCredentialRequestParams struct {
}

Predefined struct for user

type CreateCredentialResponse

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

func NewCreateCredentialResponse

func NewCreateCredentialResponse() (response *CreateCredentialResponse)

func (*CreateCredentialResponse) FromJsonString

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

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

func (*CreateCredentialResponse) ToJsonString

func (r *CreateCredentialResponse) ToJsonString() string

type CreateCredentialResponseParams

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

Predefined struct for user

type CreateDnsRecordRequest

type CreateDnsRecordRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

func NewCreateDnsRecordRequest

func NewCreateDnsRecordRequest() (request *CreateDnsRecordRequest)

func (*CreateDnsRecordRequest) FromJsonString

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

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

func (*CreateDnsRecordRequest) ToJsonString

func (r *CreateDnsRecordRequest) ToJsonString() string

type CreateDnsRecordRequestParams

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

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

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

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

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

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

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

Predefined struct for user

type CreateDnsRecordResponse

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

func NewCreateDnsRecordResponse

func NewCreateDnsRecordResponse() (response *CreateDnsRecordResponse)

func (*CreateDnsRecordResponse) FromJsonString

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

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

func (*CreateDnsRecordResponse) ToJsonString

func (r *CreateDnsRecordResponse) ToJsonString() string

type CreateDnsRecordResponseParams

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

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

Predefined struct for user

type CreateLogSetRequest

type CreateLogSetRequest struct {
	*tchttp.BaseRequest

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

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

func NewCreateLogSetRequest

func NewCreateLogSetRequest() (request *CreateLogSetRequest)

func (*CreateLogSetRequest) FromJsonString

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

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

func (*CreateLogSetRequest) ToJsonString

func (r *CreateLogSetRequest) ToJsonString() string

type CreateLogSetRequestParams

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

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

Predefined struct for user

type CreateLogSetResponse

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

func NewCreateLogSetResponse

func NewCreateLogSetResponse() (response *CreateLogSetResponse)

func (*CreateLogSetResponse) FromJsonString

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

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

func (*CreateLogSetResponse) ToJsonString

func (r *CreateLogSetResponse) ToJsonString() string

type CreateLogSetResponseParams

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

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

Predefined struct for user

type CreateLogTopicTaskRequest

type CreateLogTopicTaskRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

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

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

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

func NewCreateLogTopicTaskRequest

func NewCreateLogTopicTaskRequest() (request *CreateLogTopicTaskRequest)

func (*CreateLogTopicTaskRequest) FromJsonString

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

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

func (*CreateLogTopicTaskRequest) ToJsonString

func (r *CreateLogTopicTaskRequest) ToJsonString() string

type CreateLogTopicTaskRequestParams

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

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

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

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

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

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

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

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

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

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

Predefined struct for user

type CreateLogTopicTaskResponse

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

func NewCreateLogTopicTaskResponse

func NewCreateLogTopicTaskResponse() (response *CreateLogTopicTaskResponse)

func (*CreateLogTopicTaskResponse) FromJsonString

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

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

func (*CreateLogTopicTaskResponse) ToJsonString

func (r *CreateLogTopicTaskResponse) ToJsonString() string

type CreateLogTopicTaskResponseParams

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

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

Predefined struct for user

type CreatePlanForZoneRequest

type CreatePlanForZoneRequest struct {
	*tchttp.BaseRequest

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

	// Plan options available for purchase. Values:
	// <li>`sta`: Standard plan for global areas except Chinese mainland;</li>
	// <li>`sta_with_bot`: Standard plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`sta_cm`: Standard plan for Chinese mainland;</li>
	// <li>`sta_cm_with_bot`: Standard plan for Chinese mainland, with extra bot management;</li>
	// <li>`ent`: Enterprise plan for global areas except Chinese mainland;</li>
	// <li>`ent_with_bot`: Enterprise plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`ent_cm`: Enterprise plan for Chinese mainland;</li>
	// <li>`ent_cm_with_bot`: Enterprise plan for Chinese mainland, with extra bot management.</li>To get the available plan options for your account, view the output from <a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">DescribeAvailablePlans</a>.
	PlanType *string `json:"PlanType,omitempty" name:"PlanType"`
}

func NewCreatePlanForZoneRequest

func NewCreatePlanForZoneRequest() (request *CreatePlanForZoneRequest)

func (*CreatePlanForZoneRequest) FromJsonString

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

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

func (*CreatePlanForZoneRequest) ToJsonString

func (r *CreatePlanForZoneRequest) ToJsonString() string

type CreatePlanForZoneRequestParams

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

	// Plan options available for purchase. Values:
	// <li>`sta`: Standard plan for global areas except Chinese mainland;</li>
	// <li>`sta_with_bot`: Standard plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`sta_cm`: Standard plan for Chinese mainland;</li>
	// <li>`sta_cm_with_bot`: Standard plan for Chinese mainland, with extra bot management;</li>
	// <li>`ent`: Enterprise plan for global areas except Chinese mainland;</li>
	// <li>`ent_with_bot`: Enterprise plan for global areas except Chinese mainland, with extra bot management;</li>
	// <li>`ent_cm`: Enterprise plan for Chinese mainland;</li>
	// <li>`ent_cm_with_bot`: Enterprise plan for Chinese mainland, with extra bot management.</li>To get the available plan options for your account, view the output from <a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">DescribeAvailablePlans</a>.
	PlanType *string `json:"PlanType,omitempty" name:"PlanType"`
}

Predefined struct for user

type CreatePlanForZoneResponse

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

func NewCreatePlanForZoneResponse

func NewCreatePlanForZoneResponse() (response *CreatePlanForZoneResponse)

func (*CreatePlanForZoneResponse) FromJsonString

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

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

func (*CreatePlanForZoneResponse) ToJsonString

func (r *CreatePlanForZoneResponse) ToJsonString() string

type CreatePlanForZoneResponseParams

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

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

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

Predefined struct for user

type CreatePrefetchTaskRequest

type CreatePrefetchTaskRequest struct {
	*tchttp.BaseRequest

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

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

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

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

func NewCreatePrefetchTaskRequest

func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)

func (*CreatePrefetchTaskRequest) FromJsonString

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

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

func (*CreatePrefetchTaskRequest) ToJsonString

func (r *CreatePrefetchTaskRequest) ToJsonString() string

type CreatePrefetchTaskRequestParams

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

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

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

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

Predefined struct for user

type CreatePrefetchTaskResponse

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

func NewCreatePrefetchTaskResponse

func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)

func (*CreatePrefetchTaskResponse) FromJsonString

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

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

func (*CreatePrefetchTaskResponse) ToJsonString

func (r *CreatePrefetchTaskResponse) ToJsonString() string

type CreatePrefetchTaskResponseParams

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

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

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

Predefined struct for user

type CreatePurgeTaskRequest

type CreatePurgeTaskRequest struct {
	*tchttp.BaseRequest

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

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

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Hostnames are purged, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Prefixes are purged, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// URLs are purged, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`: All types of resources are purged.
	// `Targets` is not a required field.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

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

func NewCreatePurgeTaskRequest

func NewCreatePurgeTaskRequest() (request *CreatePurgeTaskRequest)

func (*CreatePurgeTaskRequest) FromJsonString

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

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

func (*CreatePurgeTaskRequest) ToJsonString

func (r *CreatePurgeTaskRequest) ToJsonString() string

type CreatePurgeTaskRequestParams

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

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

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Hostnames are purged, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Prefixes are purged, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// URLs are purged, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`: All types of resources are purged.
	// `Targets` is not a required field.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

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

Predefined struct for user

type CreatePurgeTaskResponse

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

func NewCreatePurgeTaskResponse

func NewCreatePurgeTaskResponse() (response *CreatePurgeTaskResponse)

func (*CreatePurgeTaskResponse) FromJsonString

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

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

func (*CreatePurgeTaskResponse) ToJsonString

func (r *CreatePurgeTaskResponse) ToJsonString() string

type CreatePurgeTaskResponseParams

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

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

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

Predefined struct for user

type CreateReplayTaskRequest

type CreateReplayTaskRequest struct {
	*tchttp.BaseRequest

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

func NewCreateReplayTaskRequest

func NewCreateReplayTaskRequest() (request *CreateReplayTaskRequest)

func (*CreateReplayTaskRequest) FromJsonString

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

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

func (*CreateReplayTaskRequest) ToJsonString

func (r *CreateReplayTaskRequest) ToJsonString() string

type CreateReplayTaskRequestParams

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

Predefined struct for user

type CreateReplayTaskResponse

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

func NewCreateReplayTaskResponse

func NewCreateReplayTaskResponse() (response *CreateReplayTaskResponse)

func (*CreateReplayTaskResponse) FromJsonString

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

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

func (*CreateReplayTaskResponse) ToJsonString

func (r *CreateReplayTaskResponse) ToJsonString() string

type CreateReplayTaskResponseParams

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

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

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

Predefined struct for user

type CreateRuleRequest

type CreateRuleRequest struct {
	*tchttp.BaseRequest

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

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

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

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

func NewCreateRuleRequest

func NewCreateRuleRequest() (request *CreateRuleRequest)

func (*CreateRuleRequest) FromJsonString

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

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

func (*CreateRuleRequest) ToJsonString

func (r *CreateRuleRequest) ToJsonString() string

type CreateRuleRequestParams

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

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

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

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

Predefined struct for user

type CreateRuleResponse

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

func NewCreateRuleResponse

func NewCreateRuleResponse() (response *CreateRuleResponse)

func (*CreateRuleResponse) FromJsonString

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

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

func (*CreateRuleResponse) ToJsonString

func (r *CreateRuleResponse) ToJsonString() string

type CreateRuleResponseParams

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

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

Predefined struct for user

type CreateZoneRequest

type CreateZoneRequest struct {
	*tchttp.BaseRequest

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

	// The access mode. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>This field will be set to the default value `full` if not specified.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether to skip scanning the existing DNS records of the site. Default value: false.
	JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`

	// The resource tag.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateZoneRequest

func NewCreateZoneRequest() (request *CreateZoneRequest)

func (*CreateZoneRequest) FromJsonString

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

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

func (*CreateZoneRequest) ToJsonString

func (r *CreateZoneRequest) ToJsonString() string

type CreateZoneRequestParams

type CreateZoneRequestParams struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The access mode. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>This field will be set to the default value `full` if not specified.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether to skip scanning the existing DNS records of the site. Default value: false.
	JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`

	// The resource tag.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type CreateZoneResponse

type CreateZoneResponse struct {
	*tchttp.BaseResponse
	Response *CreateZoneResponseParams `json:"Response"`
}

func NewCreateZoneResponse

func NewCreateZoneResponse() (response *CreateZoneResponse)

func (*CreateZoneResponse) FromJsonString

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

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

func (*CreateZoneResponse) ToJsonString

func (r *CreateZoneResponse) ToJsonString() string

type CreateZoneResponseParams

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

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

Predefined struct for user

type DDoS

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

type DDoSAttackEvent

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

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

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

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

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

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

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

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

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

type DDoSAttackEventDetailData

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

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

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

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

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

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

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

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

type DDoSAttackSourceEvent

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

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

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

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

type DDoSBlockData

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

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

type DDoSMajorAttackEvent

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

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

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

type DefaultServerCertInfo

type DefaultServerCertInfo struct {
	// ID of the server certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

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

	// Type of the certificate. Values:
	// <li>`default`: Default certificate;</li>
	// <li>`upload`: Custom certificate;</li>
	// <li>`managed`: Tencent Cloud-managed certificate.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

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

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

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

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

	// Deployment status. Values:
	// <li>`processing`: Deployment in progress;</li>
	// <li>`deployed`: Deployed.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

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

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

type DeleteDnsRecordsRequest

type DeleteDnsRecordsRequest struct {
	*tchttp.BaseRequest

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

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

func NewDeleteDnsRecordsRequest

func NewDeleteDnsRecordsRequest() (request *DeleteDnsRecordsRequest)

func (*DeleteDnsRecordsRequest) FromJsonString

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

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

func (*DeleteDnsRecordsRequest) ToJsonString

func (r *DeleteDnsRecordsRequest) ToJsonString() string

type DeleteDnsRecordsRequestParams

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

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

Predefined struct for user

type DeleteDnsRecordsResponse

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

func NewDeleteDnsRecordsResponse

func NewDeleteDnsRecordsResponse() (response *DeleteDnsRecordsResponse)

func (*DeleteDnsRecordsResponse) FromJsonString

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

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

func (*DeleteDnsRecordsResponse) ToJsonString

func (r *DeleteDnsRecordsResponse) ToJsonString() string

type DeleteDnsRecordsResponseParams

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

Predefined struct for user

type DeleteLogTopicTaskRequest

type DeleteLogTopicTaskRequest struct {
	*tchttp.BaseRequest

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

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

func NewDeleteLogTopicTaskRequest

func NewDeleteLogTopicTaskRequest() (request *DeleteLogTopicTaskRequest)

func (*DeleteLogTopicTaskRequest) FromJsonString

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

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

func (*DeleteLogTopicTaskRequest) ToJsonString

func (r *DeleteLogTopicTaskRequest) ToJsonString() string

type DeleteLogTopicTaskRequestParams

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

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

Predefined struct for user

type DeleteLogTopicTaskResponse

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

func NewDeleteLogTopicTaskResponse

func NewDeleteLogTopicTaskResponse() (response *DeleteLogTopicTaskResponse)

func (*DeleteLogTopicTaskResponse) FromJsonString

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

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

func (*DeleteLogTopicTaskResponse) ToJsonString

func (r *DeleteLogTopicTaskResponse) ToJsonString() string

type DeleteLogTopicTaskResponseParams

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

Predefined struct for user

type DeleteRulesRequest

type DeleteRulesRequest struct {
	*tchttp.BaseRequest

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

	// IDs of the rules to be deleted.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

func NewDeleteRulesRequest

func NewDeleteRulesRequest() (request *DeleteRulesRequest)

func (*DeleteRulesRequest) FromJsonString

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

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

func (*DeleteRulesRequest) ToJsonString

func (r *DeleteRulesRequest) ToJsonString() string

type DeleteRulesRequestParams

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

	// IDs of the rules to be deleted.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

Predefined struct for user

type DeleteRulesResponse

type DeleteRulesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRulesResponseParams `json:"Response"`
}

func NewDeleteRulesResponse

func NewDeleteRulesResponse() (response *DeleteRulesResponse)

func (*DeleteRulesResponse) FromJsonString

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

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

func (*DeleteRulesResponse) ToJsonString

func (r *DeleteRulesResponse) ToJsonString() string

type DeleteRulesResponseParams

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

Predefined struct for user

type DeleteZoneRequest

type DeleteZoneRequest struct {
	*tchttp.BaseRequest

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

func NewDeleteZoneRequest

func NewDeleteZoneRequest() (request *DeleteZoneRequest)

func (*DeleteZoneRequest) FromJsonString

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

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

func (*DeleteZoneRequest) ToJsonString

func (r *DeleteZoneRequest) ToJsonString() string

type DeleteZoneRequestParams

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

Predefined struct for user

type DeleteZoneResponse

type DeleteZoneResponse struct {
	*tchttp.BaseResponse
	Response *DeleteZoneResponseParams `json:"Response"`
}

func NewDeleteZoneResponse

func NewDeleteZoneResponse() (response *DeleteZoneResponse)

func (*DeleteZoneResponse) FromJsonString

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

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

func (*DeleteZoneResponse) ToJsonString

func (r *DeleteZoneResponse) ToJsonString() string

type DeleteZoneResponseParams

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

Predefined struct for user

type DescribeAddableEntityListRequest

type DescribeAddableEntityListRequest struct {
	*tchttp.BaseRequest

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

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}

func NewDescribeAddableEntityListRequest

func NewDescribeAddableEntityListRequest() (request *DescribeAddableEntityListRequest)

func (*DescribeAddableEntityListRequest) FromJsonString

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

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

func (*DescribeAddableEntityListRequest) ToJsonString

func (r *DescribeAddableEntityListRequest) ToJsonString() string

type DescribeAddableEntityListRequestParams

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

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}

Predefined struct for user

type DescribeAddableEntityListResponse

type DescribeAddableEntityListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAddableEntityListResponseParams `json:"Response"`
}

func NewDescribeAddableEntityListResponse

func NewDescribeAddableEntityListResponse() (response *DescribeAddableEntityListResponse)

func (*DescribeAddableEntityListResponse) FromJsonString

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

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

func (*DescribeAddableEntityListResponse) ToJsonString

func (r *DescribeAddableEntityListResponse) ToJsonString() string

type DescribeAddableEntityListResponseParams

type DescribeAddableEntityListResponseParams struct {
	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of available shipping entities.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

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

Predefined struct for user

type DescribeAvailablePlansRequest

type DescribeAvailablePlansRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeAvailablePlansRequest

func NewDescribeAvailablePlansRequest() (request *DescribeAvailablePlansRequest)

func (*DescribeAvailablePlansRequest) FromJsonString

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

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

func (*DescribeAvailablePlansRequest) ToJsonString

func (r *DescribeAvailablePlansRequest) ToJsonString() string

type DescribeAvailablePlansRequestParams

type DescribeAvailablePlansRequestParams struct {
}

Predefined struct for user

type DescribeAvailablePlansResponse

type DescribeAvailablePlansResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailablePlansResponseParams `json:"Response"`
}

func NewDescribeAvailablePlansResponse

func NewDescribeAvailablePlansResponse() (response *DescribeAvailablePlansResponse)

func (*DescribeAvailablePlansResponse) FromJsonString

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

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

func (*DescribeAvailablePlansResponse) ToJsonString

func (r *DescribeAvailablePlansResponse) ToJsonString() string

type DescribeAvailablePlansResponseParams

type DescribeAvailablePlansResponseParams struct {
	// Plans available for the current user
	// Note: This field may return null, indicating that no valid values can be obtained.
	PlanInfo []*PlanInfo `json:"PlanInfo,omitempty" name:"PlanInfo"`

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

Predefined struct for user

type DescribeBillingDataRequest

type DescribeBillingDataRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

func NewDescribeBillingDataRequest

func NewDescribeBillingDataRequest() (request *DescribeBillingDataRequest)

func (*DescribeBillingDataRequest) FromJsonString

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

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

func (*DescribeBillingDataRequest) ToJsonString

func (r *DescribeBillingDataRequest) ToJsonString() string

type DescribeBillingDataRequestParams

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

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

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

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

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

Predefined struct for user

type DescribeBillingDataResponse

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

func NewDescribeBillingDataResponse

func NewDescribeBillingDataResponse() (response *DescribeBillingDataResponse)

func (*DescribeBillingDataResponse) FromJsonString

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

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

func (*DescribeBillingDataResponse) ToJsonString

func (r *DescribeBillingDataResponse) ToJsonString() string

type DescribeBillingDataResponseParams

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

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

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

Predefined struct for user

type DescribeBotClientIpListRequest

type DescribeBotClientIpListRequest struct {
	*tchttp.BaseRequest

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

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

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

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

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

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

func NewDescribeBotClientIpListRequest

func NewDescribeBotClientIpListRequest() (request *DescribeBotClientIpListRequest)

func (*DescribeBotClientIpListRequest) FromJsonString

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

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

func (*DescribeBotClientIpListRequest) ToJsonString

func (r *DescribeBotClientIpListRequest) ToJsonString() string

type DescribeBotClientIpListRequestParams

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

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

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

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

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

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

Predefined struct for user

type DescribeBotClientIpListResponse

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

func NewDescribeBotClientIpListResponse

func NewDescribeBotClientIpListResponse() (response *DescribeBotClientIpListResponse)

func (*DescribeBotClientIpListResponse) FromJsonString

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

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

func (*DescribeBotClientIpListResponse) ToJsonString

func (r *DescribeBotClientIpListResponse) ToJsonString() string

type DescribeBotClientIpListResponseParams

type DescribeBotClientIpListResponseParams struct {
	// The list of client IP data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecClientIp `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeBotDataRequest

type DescribeBotDataRequest struct {
	*tchttp.BaseRequest

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

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

	// List of statistical metric. Values:
	// <li>`bot_interceptNum`: Blocked bot requests;</li>
	// <li>`bot_noneRequestNum`: Uncategorized bot requests;</li>
	// <li>`bot_maliciousRequestNum`: Malicious bot requests;</li>
	// <li>`bot_suspectedRequestNum`: Suspected bot requests;</li>
	// <li>`bot_friendlyRequestNum`: Friendly bot requests;</li>
	// <li>`bot_normalRequestNum`: Normal bot requests.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

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

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

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

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

func NewDescribeBotDataRequest

func NewDescribeBotDataRequest() (request *DescribeBotDataRequest)

func (*DescribeBotDataRequest) FromJsonString

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

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

func (*DescribeBotDataRequest) ToJsonString

func (r *DescribeBotDataRequest) ToJsonString() string

type DescribeBotDataRequestParams

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

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

	// List of statistical metric. Values:
	// <li>`bot_interceptNum`: Blocked bot requests;</li>
	// <li>`bot_noneRequestNum`: Uncategorized bot requests;</li>
	// <li>`bot_maliciousRequestNum`: Malicious bot requests;</li>
	// <li>`bot_suspectedRequestNum`: Suspected bot requests;</li>
	// <li>`bot_friendlyRequestNum`: Friendly bot requests;</li>
	// <li>`bot_normalRequestNum`: Normal bot requests.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

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

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

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

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

Predefined struct for user

type DescribeBotDataResponse

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

func NewDescribeBotDataResponse

func NewDescribeBotDataResponse() (response *DescribeBotDataResponse)

func (*DescribeBotDataResponse) FromJsonString

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

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

func (*DescribeBotDataResponse) ToJsonString

func (r *DescribeBotDataResponse) ToJsonString() string

type DescribeBotDataResponseParams

type DescribeBotDataResponseParams struct {
	// The list of bot attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeBotHitRuleDetailRequest

type DescribeBotHitRuleDetailRequest struct {
	*tchttp.BaseRequest

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

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

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

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

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

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

func NewDescribeBotHitRuleDetailRequest

func NewDescribeBotHitRuleDetailRequest() (request *DescribeBotHitRuleDetailRequest)

func (*DescribeBotHitRuleDetailRequest) FromJsonString

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

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

func (*DescribeBotHitRuleDetailRequest) ToJsonString

func (r *DescribeBotHitRuleDetailRequest) ToJsonString() string

type DescribeBotHitRuleDetailRequestParams

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

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

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

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

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

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

Predefined struct for user

type DescribeBotHitRuleDetailResponse

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

func NewDescribeBotHitRuleDetailResponse

func NewDescribeBotHitRuleDetailResponse() (response *DescribeBotHitRuleDetailResponse)

func (*DescribeBotHitRuleDetailResponse) FromJsonString

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

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

func (*DescribeBotHitRuleDetailResponse) ToJsonString

func (r *DescribeBotHitRuleDetailResponse) ToJsonString() string

type DescribeBotHitRuleDetailResponseParams

type DescribeBotHitRuleDetailResponseParams struct {
	// The hit rule information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeBotLogRequest

type DescribeBotLogRequest struct {
	*tchttp.BaseRequest

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

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

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

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

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	// <li>`sipCountryCode`: The country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`eventId`: The event ID;</li>
	// <li>`ua`: User agent;</li>
	// <li>`requestMethod`: Request method;</li>
	// <li>`uri`: Uniform resource identifier.</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

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

func NewDescribeBotLogRequest

func NewDescribeBotLogRequest() (request *DescribeBotLogRequest)

func (*DescribeBotLogRequest) FromJsonString

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

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

func (*DescribeBotLogRequest) ToJsonString

func (r *DescribeBotLogRequest) ToJsonString() string

type DescribeBotLogRequestParams

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

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

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

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

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	// <li>`sipCountryCode`: The country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`eventId`: The event ID;</li>
	// <li>`ua`: User agent;</li>
	// <li>`requestMethod`: Request method;</li>
	// <li>`uri`: Uniform resource identifier.</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

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

Predefined struct for user

type DescribeBotLogResponse

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

func NewDescribeBotLogResponse

func NewDescribeBotLogResponse() (response *DescribeBotLogResponse)

func (*DescribeBotLogResponse) FromJsonString

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

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

func (*DescribeBotLogResponse) ToJsonString

func (r *DescribeBotLogResponse) ToJsonString() string

type DescribeBotLogResponseParams

type DescribeBotLogResponseParams struct {
	// The list of bot attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*BotLog `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeBotTopDataRequest

type DescribeBotTopDataRequest struct {
	*tchttp.BaseRequest

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

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

	// List of statistical metric. Values:
	// <li>`bot_requestNum_labelType`: Top-ranked tag types by bot requests.</li>
	// <li>`bot_requestNum_url`: Top-ranked URLs by bot requests.</li>
	// <li>`bot_cipRequestNum_region`: Top-ranked client IPs by bot requests.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

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

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

	// Queries the top rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

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

func NewDescribeBotTopDataRequest

func NewDescribeBotTopDataRequest() (request *DescribeBotTopDataRequest)

func (*DescribeBotTopDataRequest) FromJsonString

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

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

func (*DescribeBotTopDataRequest) ToJsonString

func (r *DescribeBotTopDataRequest) ToJsonString() string

type DescribeBotTopDataRequestParams

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

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

	// List of statistical metric. Values:
	// <li>`bot_requestNum_labelType`: Top-ranked tag types by bot requests.</li>
	// <li>`bot_requestNum_url`: Top-ranked URLs by bot requests.</li>
	// <li>`bot_cipRequestNum_region`: Top-ranked client IPs by bot requests.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

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

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

	// Queries the top rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

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

Predefined struct for user

type DescribeBotTopDataResponse

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

func NewDescribeBotTopDataResponse

func NewDescribeBotTopDataResponse() (response *DescribeBotTopDataResponse)

func (*DescribeBotTopDataResponse) FromJsonString

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

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

func (*DescribeBotTopDataResponse) ToJsonString

func (r *DescribeBotTopDataResponse) ToJsonString() string

type DescribeBotTopDataResponseParams

type DescribeBotTopDataResponseParams struct {
	// The list of top-ranked bot attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeClientRuleListRequest

type DescribeClientRuleListRequest struct {
	*tchttp.BaseRequest

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

	// The subdomain name to be queried.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Rule type. Values:
	// <li>`acl`: Custom rules;</li>
	// <li>`rate`: Rate limiting rules.</li>All rules will be queried if this field is not specified.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

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

	// The client IP.
	SourceClientIp *string `json:"SourceClientIp,omitempty" name:"SourceClientIp"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

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

func NewDescribeClientRuleListRequest

func NewDescribeClientRuleListRequest() (request *DescribeClientRuleListRequest)

func (*DescribeClientRuleListRequest) FromJsonString

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

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

func (*DescribeClientRuleListRequest) ToJsonString

func (r *DescribeClientRuleListRequest) ToJsonString() string

type DescribeClientRuleListRequestParams

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

	// The subdomain name to be queried.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Rule type. Values:
	// <li>`acl`: Custom rules;</li>
	// <li>`rate`: Rate limiting rules.</li>All rules will be queried if this field is not specified.
	RuleType *string `json:"RuleType,omitempty" name:"RuleType"`

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

	// The client IP.
	SourceClientIp *string `json:"SourceClientIp,omitempty" name:"SourceClientIp"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

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

Predefined struct for user

type DescribeClientRuleListResponse

type DescribeClientRuleListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClientRuleListResponseParams `json:"Response"`
}

func NewDescribeClientRuleListResponse

func NewDescribeClientRuleListResponse() (response *DescribeClientRuleListResponse)

func (*DescribeClientRuleListResponse) FromJsonString

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

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

func (*DescribeClientRuleListResponse) ToJsonString

func (r *DescribeClientRuleListResponse) ToJsonString() string

type DescribeClientRuleListResponseParams

type DescribeClientRuleListResponseParams struct {
	// The blocked client information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*ClientRule `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeContentQuotaRequest

type DescribeContentQuotaRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeContentQuotaRequest

func NewDescribeContentQuotaRequest() (request *DescribeContentQuotaRequest)

func (*DescribeContentQuotaRequest) FromJsonString

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

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

func (*DescribeContentQuotaRequest) ToJsonString

func (r *DescribeContentQuotaRequest) ToJsonString() string

type DescribeContentQuotaRequestParams

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

Predefined struct for user

type DescribeContentQuotaResponse

type DescribeContentQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribeContentQuotaResponseParams `json:"Response"`
}

func NewDescribeContentQuotaResponse

func NewDescribeContentQuotaResponse() (response *DescribeContentQuotaResponse)

func (*DescribeContentQuotaResponse) FromJsonString

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

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

func (*DescribeContentQuotaResponse) ToJsonString

func (r *DescribeContentQuotaResponse) ToJsonString() string

type DescribeContentQuotaResponseParams

type DescribeContentQuotaResponseParams struct {
	// Purging quotas.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PurgeQuota []*Quota `json:"PurgeQuota,omitempty" name:"PurgeQuota"`

	// Pre-warming quotas.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrefetchQuota []*Quota `json:"PrefetchQuota,omitempty" name:"PrefetchQuota"`

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

Predefined struct for user

type DescribeDDoSAttackDataRequest

type DescribeDDoSAttackDataRequest struct {
	*tchttp.BaseRequest

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

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

	// List of statistical metric. Values:
	// <li>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li>
	// <li>`ddos_attackMaxPackageRate`: Peak attack packet rate;</li>
	// <li>`ddos_attackBandwidth`: Attack bandwidth;</li>
	// <li>`ddos_attackPackageRate`: Attack packet rate.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

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

	// The attack type. Values:
	// <li>`flood`: Flood;</li>
	// <li>`icmpFlood`: ICMP flood;</li>
	// <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

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

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

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

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

func NewDescribeDDoSAttackDataRequest

func NewDescribeDDoSAttackDataRequest() (request *DescribeDDoSAttackDataRequest)

func (*DescribeDDoSAttackDataRequest) FromJsonString

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

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

func (*DescribeDDoSAttackDataRequest) ToJsonString

func (r *DescribeDDoSAttackDataRequest) ToJsonString() string

type DescribeDDoSAttackDataRequestParams

type DescribeDDoSAttackDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li>
	// <li>`ddos_attackMaxPackageRate`: Peak attack packet rate;</li>
	// <li>`ddos_attackBandwidth`: Attack bandwidth;</li>
	// <li>`ddos_attackPackageRate`: Attack packet rate.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// The attack type. Values:
	// <li>`flood`: Flood;</li>
	// <li>`icmpFlood`: ICMP flood;</li>
	// <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSAttackDataResponse

type DescribeDDoSAttackDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackDataResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackDataResponse

func NewDescribeDDoSAttackDataResponse() (response *DescribeDDoSAttackDataResponse)

func (*DescribeDDoSAttackDataResponse) FromJsonString

func (r *DescribeDDoSAttackDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackDataResponse) ToJsonString

func (r *DescribeDDoSAttackDataResponse) ToJsonString() string

type DescribeDDoSAttackDataResponseParams

type DescribeDDoSAttackDataResponseParams struct {
	// List of DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSAttackEventDetailRequest

type DescribeDDoSAttackEventDetailRequest struct {
	*tchttp.BaseRequest

	// The event ID to be queried.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSAttackEventDetailRequest

func NewDescribeDDoSAttackEventDetailRequest() (request *DescribeDDoSAttackEventDetailRequest)

func (*DescribeDDoSAttackEventDetailRequest) FromJsonString

func (r *DescribeDDoSAttackEventDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackEventDetailRequest) ToJsonString

func (r *DescribeDDoSAttackEventDetailRequest) ToJsonString() string

type DescribeDDoSAttackEventDetailRequestParams

type DescribeDDoSAttackEventDetailRequestParams struct {
	// The event ID to be queried.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSAttackEventDetailResponse

type DescribeDDoSAttackEventDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackEventDetailResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackEventDetailResponse

func NewDescribeDDoSAttackEventDetailResponse() (response *DescribeDDoSAttackEventDetailResponse)

func (*DescribeDDoSAttackEventDetailResponse) FromJsonString

func (r *DescribeDDoSAttackEventDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackEventDetailResponse) ToJsonString

type DescribeDDoSAttackEventDetailResponseParams

type DescribeDDoSAttackEventDetailResponseParams struct {
	// The details of a DDoS attack event.
	Data *DDoSAttackEventDetailData `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSAttackEventRequest

type DescribeDDoSAttackEventRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Whether to display the details.
	ShowDetail *bool `json:"ShowDetail,omitempty" name:"ShowDetail"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSAttackEventRequest

func NewDescribeDDoSAttackEventRequest() (request *DescribeDDoSAttackEventRequest)

func (*DescribeDDoSAttackEventRequest) FromJsonString

func (r *DescribeDDoSAttackEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackEventRequest) ToJsonString

func (r *DescribeDDoSAttackEventRequest) ToJsonString() string

type DescribeDDoSAttackEventRequestParams

type DescribeDDoSAttackEventRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Whether to display the details.
	ShowDetail *bool `json:"ShowDetail,omitempty" name:"ShowDetail"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSAttackEventResponse

type DescribeDDoSAttackEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackEventResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackEventResponse

func NewDescribeDDoSAttackEventResponse() (response *DescribeDDoSAttackEventResponse)

func (*DescribeDDoSAttackEventResponse) FromJsonString

func (r *DescribeDDoSAttackEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackEventResponse) ToJsonString

func (r *DescribeDDoSAttackEventResponse) ToJsonString() string

type DescribeDDoSAttackEventResponseParams

type DescribeDDoSAttackEventResponseParams struct {
	// The list of DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSAttackEvent `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSAttackSourceEventRequest

type DescribeDDoSAttackSourceEventRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSAttackSourceEventRequest

func NewDescribeDDoSAttackSourceEventRequest() (request *DescribeDDoSAttackSourceEventRequest)

func (*DescribeDDoSAttackSourceEventRequest) FromJsonString

func (r *DescribeDDoSAttackSourceEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackSourceEventRequest) ToJsonString

func (r *DescribeDDoSAttackSourceEventRequest) ToJsonString() string

type DescribeDDoSAttackSourceEventRequestParams

type DescribeDDoSAttackSourceEventRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSAttackSourceEventResponse

type DescribeDDoSAttackSourceEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackSourceEventResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackSourceEventResponse

func NewDescribeDDoSAttackSourceEventResponse() (response *DescribeDDoSAttackSourceEventResponse)

func (*DescribeDDoSAttackSourceEventResponse) FromJsonString

func (r *DescribeDDoSAttackSourceEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackSourceEventResponse) ToJsonString

type DescribeDDoSAttackSourceEventResponseParams

type DescribeDDoSAttackSourceEventResponseParams struct {
	// The list of DDoS attacker data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSAttackSourceEvent `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSAttackTopDataRequest

type DescribeDDoSAttackTopDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The statistical metric. Values:
	// <li>`ddos_attackFlux_protocol`: Top-ranked protocols by DDoS attack traffic.</li>
	// <li>`ddos_attackPackageNum_protocol`: Top-ranked protocols by DDoS attack packets.</li>
	// <li>`ddos_attackNum_attackType`: Top-ranked attack types by DDoS attacks.</li>
	// <li>`ddos_attackNum_sregion`: Top-ranked attack source regions by DDoS attacks.</li>
	// <li>`ddos_attackFlux_sip`: Top-ranked attacker IPs by DDoS attack traffic.</li>
	// <li>`ddos_attackFlux_sregion`: Top-ranked attack source regions by DDoS attack traffic.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of site IDs to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The attack type. Values:
	// <li>`flood`: Flood;</li>
	// <li>`icmpFlood`: ICMP flood;</li>
	// <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSAttackTopDataRequest

func NewDescribeDDoSAttackTopDataRequest() (request *DescribeDDoSAttackTopDataRequest)

func (*DescribeDDoSAttackTopDataRequest) FromJsonString

func (r *DescribeDDoSAttackTopDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackTopDataRequest) ToJsonString

func (r *DescribeDDoSAttackTopDataRequest) ToJsonString() string

type DescribeDDoSAttackTopDataRequestParams

type DescribeDDoSAttackTopDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The statistical metric. Values:
	// <li>`ddos_attackFlux_protocol`: Top-ranked protocols by DDoS attack traffic.</li>
	// <li>`ddos_attackPackageNum_protocol`: Top-ranked protocols by DDoS attack packets.</li>
	// <li>`ddos_attackNum_attackType`: Top-ranked attack types by DDoS attacks.</li>
	// <li>`ddos_attackNum_sregion`: Top-ranked attack source regions by DDoS attacks.</li>
	// <li>`ddos_attackFlux_sip`: Top-ranked attacker IPs by DDoS attack traffic.</li>
	// <li>`ddos_attackFlux_sregion`: Top-ranked attack source regions by DDoS attack traffic.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of site IDs to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The attack type. Values:
	// <li>`flood`: Flood;</li>
	// <li>`icmpFlood`: ICMP flood;</li>
	// <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified.
	AttackType *string `json:"AttackType,omitempty" name:"AttackType"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// The port number.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSAttackTopDataResponse

type DescribeDDoSAttackTopDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSAttackTopDataResponseParams `json:"Response"`
}

func NewDescribeDDoSAttackTopDataResponse

func NewDescribeDDoSAttackTopDataResponse() (response *DescribeDDoSAttackTopDataResponse)

func (*DescribeDDoSAttackTopDataResponse) FromJsonString

func (r *DescribeDDoSAttackTopDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSAttackTopDataResponse) ToJsonString

func (r *DescribeDDoSAttackTopDataResponse) ToJsonString() string

type DescribeDDoSAttackTopDataResponseParams

type DescribeDDoSAttackTopDataResponseParams struct {
	// The list of top-ranked DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSBlockListRequest

type DescribeDDoSBlockListRequest struct {
	*tchttp.BaseRequest

	// The start time of the attack event.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The list of attack events.
	EventIds []*string `json:"EventIds,omitempty" name:"EventIds"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSBlockListRequest

func NewDescribeDDoSBlockListRequest() (request *DescribeDDoSBlockListRequest)

func (*DescribeDDoSBlockListRequest) FromJsonString

func (r *DescribeDDoSBlockListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSBlockListRequest) ToJsonString

func (r *DescribeDDoSBlockListRequest) ToJsonString() string

type DescribeDDoSBlockListRequestParams

type DescribeDDoSBlockListRequestParams struct {
	// The start time of the attack event.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The list of attack events.
	EventIds []*string `json:"EventIds,omitempty" name:"EventIds"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSBlockListResponse

type DescribeDDoSBlockListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSBlockListResponseParams `json:"Response"`
}

func NewDescribeDDoSBlockListResponse

func NewDescribeDDoSBlockListResponse() (response *DescribeDDoSBlockListResponse)

func (*DescribeDDoSBlockListResponse) FromJsonString

func (r *DescribeDDoSBlockListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSBlockListResponse) ToJsonString

func (r *DescribeDDoSBlockListResponse) ToJsonString() string

type DescribeDDoSBlockListResponseParams

type DescribeDDoSBlockListResponseParams struct {
	// The blocking time of a DDoS attack.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSBlockData `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDDoSMajorAttackEventRequest

type DescribeDDoSMajorAttackEventRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeDDoSMajorAttackEventRequest

func NewDescribeDDoSMajorAttackEventRequest() (request *DescribeDDoSMajorAttackEventRequest)

func (*DescribeDDoSMajorAttackEventRequest) FromJsonString

func (r *DescribeDDoSMajorAttackEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSMajorAttackEventRequest) ToJsonString

func (r *DescribeDDoSMajorAttackEventRequest) ToJsonString() string

type DescribeDDoSMajorAttackEventRequestParams

type DescribeDDoSMajorAttackEventRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified.
	PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`

	// The protocol type. Values:
	// <li>`tcp`: TCP protocol;</li>
	// <li>`udp`: UDP protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeDDoSMajorAttackEventResponse

type DescribeDDoSMajorAttackEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDDoSMajorAttackEventResponseParams `json:"Response"`
}

func NewDescribeDDoSMajorAttackEventResponse

func NewDescribeDDoSMajorAttackEventResponse() (response *DescribeDDoSMajorAttackEventResponse)

func (*DescribeDDoSMajorAttackEventResponse) FromJsonString

func (r *DescribeDDoSMajorAttackEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDDoSMajorAttackEventResponse) ToJsonString

func (r *DescribeDDoSMajorAttackEventResponse) ToJsonString() string

type DescribeDDoSMajorAttackEventResponseParams

type DescribeDDoSMajorAttackEventResponseParams struct {
	// The list of large DDoS attack data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DDoSMajorAttackEvent `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDefaultCertificatesRequest

type DescribeDefaultCertificatesRequest struct {
	*tchttp.BaseRequest

	// Filter criteria. Each filter criteria can have up to 5 entries.
	// <li>`zone-id`: <br>Filter by <strong>site ID</strong>. Format: zone-xxx
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset for paginated queries. Default value: `0`
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeDefaultCertificatesRequest

func NewDescribeDefaultCertificatesRequest() (request *DescribeDefaultCertificatesRequest)

func (*DescribeDefaultCertificatesRequest) FromJsonString

func (r *DescribeDefaultCertificatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDefaultCertificatesRequest) ToJsonString

func (r *DescribeDefaultCertificatesRequest) ToJsonString() string

type DescribeDefaultCertificatesRequestParams

type DescribeDefaultCertificatesRequestParams struct {
	// Filter criteria. Each filter criteria can have up to 5 entries.
	// <li>`zone-id`: <br>Filter by <strong>site ID</strong>. Format: zone-xxx
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset for paginated queries. Default value: `0`
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDefaultCertificatesResponse

type DescribeDefaultCertificatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDefaultCertificatesResponseParams `json:"Response"`
}

func NewDescribeDefaultCertificatesResponse

func NewDescribeDefaultCertificatesResponse() (response *DescribeDefaultCertificatesResponse)

func (*DescribeDefaultCertificatesResponse) FromJsonString

func (r *DescribeDefaultCertificatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDefaultCertificatesResponse) ToJsonString

func (r *DescribeDefaultCertificatesResponse) ToJsonString() string

type DescribeDefaultCertificatesResponseParams

type DescribeDefaultCertificatesResponseParams struct {
	// Total number of certificates
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of default certificates
	DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitempty" name:"DefaultServerCertInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDnsDataRequest

type DescribeDnsDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone`:<br>   Filter by <strong>site name</strong>, such as tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`host`:<br>   Filter by <strong>domain name</strong>, such as test.tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `A`: A record<br>   `AAAA`: AAAA record<br>   `CNAME`: CNAME record<br>   `MX`: MX record<br>   `TXT`: TXT record<br>   `NS`: NS record<br>   `SRV`: SRV record<br>   `CAA`: CAA record
	// <li>`code`:<br>   Filter by <strong>DNS status code</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `NoError`: Success<br>   `NXDomain`: Not found the request domain<br>   `NotImp`: Not supported request type<br>   `Refused`: The domain name server refuses to execute the request for policy reasons
	// <li>`area`:<br>   Filter by <strong>DNS region</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `Asia`<br>   `Europe`<br>   `Africa`<br>   `Oceania`<br>   `Americas`
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>This field will be set to the default value `min` if not specified.
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

func NewDescribeDnsDataRequest

func NewDescribeDnsDataRequest() (request *DescribeDnsDataRequest)

func (*DescribeDnsDataRequest) FromJsonString

func (r *DescribeDnsDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDnsDataRequest) ToJsonString

func (r *DescribeDnsDataRequest) ToJsonString() string

type DescribeDnsDataRequestParams

type DescribeDnsDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone`:<br>   Filter by <strong>site name</strong>, such as tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`host`:<br>   Filter by <strong>domain name</strong>, such as test.tencent.com (up to one entry)<br>   Type: String<br>   Required: No
	// <li>`type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `A`: A record<br>   `AAAA`: AAAA record<br>   `CNAME`: CNAME record<br>   `MX`: MX record<br>   `TXT`: TXT record<br>   `NS`: NS record<br>   `SRV`: SRV record<br>   `CAA`: CAA record
	// <li>`code`:<br>   Filter by <strong>DNS status code</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `NoError`: Success<br>   `NXDomain`: Not found the request domain<br>   `NotImp`: Not supported request type<br>   `Refused`: The domain name server refuses to execute the request for policy reasons
	// <li>`area`:<br>   Filter by <strong>DNS region</strong><br>   Type: String<br>   Required: No<br>   Values:<br>   `Asia`<br>   `Europe`<br>   `Africa`<br>   `Oceania`<br>   `Americas`
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>This field will be set to the default value `min` if not specified.
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

Predefined struct for user

type DescribeDnsDataResponse

type DescribeDnsDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnsDataResponseParams `json:"Response"`
}

func NewDescribeDnsDataResponse

func NewDescribeDnsDataResponse() (response *DescribeDnsDataResponse)

func (*DescribeDnsDataResponse) FromJsonString

func (r *DescribeDnsDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDnsDataResponse) ToJsonString

func (r *DescribeDnsDataResponse) ToJsonString() string

type DescribeDnsDataResponseParams

type DescribeDnsDataResponseParams struct {
	// DNS statistics.
	Data []*DnsData `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDnsRecordsRequest

type DescribeDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// The site ID of the DNS record. All sites’ DNS records will be returned if this field is not specified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`record-id`:<br>   Filter by <strong>DNS record ID</strong>, such as record-1a8df68z<br>   Type: String<br>Required: No
	// <li>`record-name`:<br>   Filter by <strong>DNS record name</strong><br>   Type: String<br>Required: No
	// <li>`record-type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `A`: Point a domain name to an IPv4 address, such as 8.8.8.8.<br>   `AAAA`: Point a domain name to an IPv6 address.<br>   `CNAME`: Point a domain name to another domain name that can be resolved to an IP address.<br>   `TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).<br>   `NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.<br>   `CAA`: Specify CAs to issue certificates for sites.<br>   `SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.<br>  `MX`: Specify the mail server for receiving emails.
	// <li>`mode`:<br>   Filter by <strong>proxy mode</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `dns_only`: Only DNS<br>   `proxied`: Proxied
	// <li>`ttl`:<br>   Filter by <strong>TTL</strong><br>   Type: String<br>Required: No
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`

	// The sorting order. Values:
	// <li>`ASC`: Ascending order</li>
	// <li>`desc`: Descending order</li> Default value: asc
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// The match mode. Values:
	// <li>`all`: Return all records that match the specified filter.</li>
	// <li>`any`: Return any record that matches the specified filter.</li>Default value: all.
	Match *string `json:"Match,omitempty" name:"Match"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The sorting criteria. Values:
	// <li>`content`: DNS record content.</li>
	// <li>`created_on`: Creation time of the DNS record.</li>
	// <li>`mode`: Proxy mode.</li>
	// <li>`record-name`: DNS record name.</li>
	// <li>`ttl`: DNS TTL.</li>
	// <li>`record-type`: DNS record type.</li>If this field is not specified, the DNS records are sorted based on `record-type` and `recrod-name`.
	Order *string `json:"Order,omitempty" name:"Order"`
}

func NewDescribeDnsRecordsRequest

func NewDescribeDnsRecordsRequest() (request *DescribeDnsRecordsRequest)

func (*DescribeDnsRecordsRequest) FromJsonString

func (r *DescribeDnsRecordsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDnsRecordsRequest) ToJsonString

func (r *DescribeDnsRecordsRequest) ToJsonString() string

type DescribeDnsRecordsRequestParams

type DescribeDnsRecordsRequestParams struct {
	// The site ID of the DNS record. All sites’ DNS records will be returned if this field is not specified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`record-id`:<br>   Filter by <strong>DNS record ID</strong>, such as record-1a8df68z<br>   Type: String<br>Required: No
	// <li>`record-name`:<br>   Filter by <strong>DNS record name</strong><br>   Type: String<br>Required: No
	// <li>`record-type`:<br>   Filter by <strong>DNS record type</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `A`: Point a domain name to an IPv4 address, such as 8.8.8.8.<br>   `AAAA`: Point a domain name to an IPv6 address.<br>   `CNAME`: Point a domain name to another domain name that can be resolved to an IP address.<br>   `TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).<br>   `NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.<br>   `CAA`: Specify CAs to issue certificates for sites.<br>   `SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.<br>  `MX`: Specify the mail server for receiving emails.
	// <li>`mode`:<br>   Filter by <strong>proxy mode</strong><br>   Type: String<br>Required: No<br>   Values:<br>   `dns_only`: Only DNS<br>   `proxied`: Proxied
	// <li>`ttl`:<br>   Filter by <strong>TTL</strong><br>   Type: String<br>Required: No
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`

	// The sorting order. Values:
	// <li>`ASC`: Ascending order</li>
	// <li>`desc`: Descending order</li> Default value: asc
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// The match mode. Values:
	// <li>`all`: Return all records that match the specified filter.</li>
	// <li>`any`: Return any record that matches the specified filter.</li>Default value: all.
	Match *string `json:"Match,omitempty" name:"Match"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The sorting criteria. Values:
	// <li>`content`: DNS record content.</li>
	// <li>`created_on`: Creation time of the DNS record.</li>
	// <li>`mode`: Proxy mode.</li>
	// <li>`record-name`: DNS record name.</li>
	// <li>`ttl`: DNS TTL.</li>
	// <li>`record-type`: DNS record type.</li>If this field is not specified, the DNS records are sorted based on `record-type` and `recrod-name`.
	Order *string `json:"Order,omitempty" name:"Order"`
}

Predefined struct for user

type DescribeDnsRecordsResponse

type DescribeDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnsRecordsResponseParams `json:"Response"`
}

func NewDescribeDnsRecordsResponse

func NewDescribeDnsRecordsResponse() (response *DescribeDnsRecordsResponse)

func (*DescribeDnsRecordsResponse) FromJsonString

func (r *DescribeDnsRecordsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDnsRecordsResponse) ToJsonString

func (r *DescribeDnsRecordsResponse) ToJsonString() string

type DescribeDnsRecordsResponseParams

type DescribeDnsRecordsResponseParams struct {
	// Total number of DNS records.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of DNS records
	DnsRecords []*DnsRecord `json:"DnsRecords,omitempty" name:"DnsRecords"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDnssecRequest

type DescribeDnssecRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeDnssecRequest

func NewDescribeDnssecRequest() (request *DescribeDnssecRequest)

func (*DescribeDnssecRequest) FromJsonString

func (r *DescribeDnssecRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDnssecRequest) ToJsonString

func (r *DescribeDnssecRequest) ToJsonString() string

type DescribeDnssecRequestParams

type DescribeDnssecRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeDnssecResponse

type DescribeDnssecResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnssecResponseParams `json:"Response"`
}

func NewDescribeDnssecResponse

func NewDescribeDnssecResponse() (response *DescribeDnssecResponse)

func (*DescribeDnssecResponse) FromJsonString

func (r *DescribeDnssecResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDnssecResponse) ToJsonString

func (r *DescribeDnssecResponse) ToJsonString() string

type DescribeDnssecResponseParams

type DescribeDnssecResponseParams struct {
	// The DNSSEC status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The DNSSEC information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DnssecInfo *DnssecInfo `json:"DnssecInfo,omitempty" name:"DnssecInfo"`

	// The update time of the site information.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeHostsSettingRequest

type DescribeHostsSettingRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0. Minimum value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`host`:<br>   Filter by <strong>domain name </strong><br>   Type: String<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeHostsSettingRequest

func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest)

func (*DescribeHostsSettingRequest) FromJsonString

func (r *DescribeHostsSettingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHostsSettingRequest) ToJsonString

func (r *DescribeHostsSettingRequest) ToJsonString() string

type DescribeHostsSettingRequestParams

type DescribeHostsSettingRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0. Minimum value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`host`:<br>   Filter by <strong>domain name </strong><br>   Type: String<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeHostsSettingResponse

type DescribeHostsSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostsSettingResponseParams `json:"Response"`
}

func NewDescribeHostsSettingResponse

func NewDescribeHostsSettingResponse() (response *DescribeHostsSettingResponse)

func (*DescribeHostsSettingResponse) FromJsonString

func (r *DescribeHostsSettingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHostsSettingResponse) ToJsonString

func (r *DescribeHostsSettingResponse) ToJsonString() string

type DescribeHostsSettingResponseParams

type DescribeHostsSettingResponseParams struct {
	// List of domain names.
	DetailHosts []*DetailHost `json:"DetailHosts,omitempty" name:"DetailHosts"`

	// Number of domain names
	TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIdentificationsRequest

type DescribeIdentificationsRequest struct {
	*tchttp.BaseRequest

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`: <br>Filter by <strong>site name</strong><br>   Type: String<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeIdentificationsRequest

func NewDescribeIdentificationsRequest() (request *DescribeIdentificationsRequest)

func (*DescribeIdentificationsRequest) FromJsonString

func (r *DescribeIdentificationsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIdentificationsRequest) ToJsonString

func (r *DescribeIdentificationsRequest) ToJsonString() string

type DescribeIdentificationsRequestParams

type DescribeIdentificationsRequestParams struct {
	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`: <br>Filter by <strong>site name</strong><br>   Type: String<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeIdentificationsResponse

type DescribeIdentificationsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIdentificationsResponseParams `json:"Response"`
}

func NewDescribeIdentificationsResponse

func NewDescribeIdentificationsResponse() (response *DescribeIdentificationsResponse)

func (*DescribeIdentificationsResponse) FromJsonString

func (r *DescribeIdentificationsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIdentificationsResponse) ToJsonString

func (r *DescribeIdentificationsResponse) ToJsonString() string

type DescribeIdentificationsResponseParams

type DescribeIdentificationsResponseParams struct {
	// Number of eligible sites.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The site verification information.
	Identifications []*Identification `json:"Identifications,omitempty" name:"Identifications"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogSetsRequest

type DescribeLogSetsRequest struct {
	*tchttp.BaseRequest

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
}

func NewDescribeLogSetsRequest

func NewDescribeLogSetsRequest() (request *DescribeLogSetsRequest)

func (*DescribeLogSetsRequest) FromJsonString

func (r *DescribeLogSetsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogSetsRequest) ToJsonString

func (r *DescribeLogSetsRequest) ToJsonString() string

type DescribeLogSetsRequestParams

type DescribeLogSetsRequestParams struct {
	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
}

Predefined struct for user

type DescribeLogSetsResponse

type DescribeLogSetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogSetsResponseParams `json:"Response"`
}

func NewDescribeLogSetsResponse

func NewDescribeLogSetsResponse() (response *DescribeLogSetsResponse)

func (*DescribeLogSetsResponse) FromJsonString

func (r *DescribeLogSetsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogSetsResponse) ToJsonString

func (r *DescribeLogSetsResponse) ToJsonString() string

type DescribeLogSetsResponseParams

type DescribeLogSetsResponseParams struct {
	// List of logsets.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogSetList []*LogSetInfo `json:"LogSetList,omitempty" name:"LogSetList"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogTopicTaskDetailRequest

type DescribeLogTopicTaskDetailRequest struct {
	*tchttp.BaseRequest

	// ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeLogTopicTaskDetailRequest

func NewDescribeLogTopicTaskDetailRequest() (request *DescribeLogTopicTaskDetailRequest)

func (*DescribeLogTopicTaskDetailRequest) FromJsonString

func (r *DescribeLogTopicTaskDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogTopicTaskDetailRequest) ToJsonString

func (r *DescribeLogTopicTaskDetailRequest) ToJsonString() string

type DescribeLogTopicTaskDetailRequestParams

type DescribeLogTopicTaskDetailRequestParams struct {
	// ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeLogTopicTaskDetailResponse

type DescribeLogTopicTaskDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogTopicTaskDetailResponseParams `json:"Response"`
}

func NewDescribeLogTopicTaskDetailResponse

func NewDescribeLogTopicTaskDetailResponse() (response *DescribeLogTopicTaskDetailResponse)

func (*DescribeLogTopicTaskDetailResponse) FromJsonString

func (r *DescribeLogTopicTaskDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogTopicTaskDetailResponse) ToJsonString

func (r *DescribeLogTopicTaskDetailResponse) ToJsonString() string

type DescribeLogTopicTaskDetailResponseParams

type DescribeLogTopicTaskDetailResponseParams struct {
	// The shipping task details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogTopicDetailInfo *LogTopicDetailInfo `json:"LogTopicDetailInfo,omitempty" name:"LogTopicDetailInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogTopicTasksRequest

type DescribeLogTopicTasksRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeLogTopicTasksRequest

func NewDescribeLogTopicTasksRequest() (request *DescribeLogTopicTasksRequest)

func (*DescribeLogTopicTasksRequest) FromJsonString

func (r *DescribeLogTopicTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogTopicTasksRequest) ToJsonString

func (r *DescribeLogTopicTasksRequest) ToJsonString() string

type DescribeLogTopicTasksRequestParams

type DescribeLogTopicTasksRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeLogTopicTasksResponse

type DescribeLogTopicTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogTopicTasksResponseParams `json:"Response"`
}

func NewDescribeLogTopicTasksResponse

func NewDescribeLogTopicTasksResponse() (response *DescribeLogTopicTasksResponse)

func (*DescribeLogTopicTasksResponse) FromJsonString

func (r *DescribeLogTopicTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogTopicTasksResponse) ToJsonString

func (r *DescribeLogTopicTasksResponse) ToJsonString() string

type DescribeLogTopicTasksResponseParams

type DescribeLogTopicTasksResponseParams struct {
	// List of shipping tasks.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TopicList []*ClsLogTopicInfo `json:"TopicList,omitempty" name:"TopicList"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOverviewL7DataRequest

type DescribeOverviewL7DataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	// <li>`l7Flow_hit_outFlux`: Cache hit traffic.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The protocol type. Values:
	// <li>`http`: HTTP protocol;</li>
	// <li>`https`: HTTPS protocol;</li>
	// <li>`http2`: HTTP2 protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`tagKey`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>  Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeOverviewL7DataRequest

func NewDescribeOverviewL7DataRequest() (request *DescribeOverviewL7DataRequest)

func (*DescribeOverviewL7DataRequest) FromJsonString

func (r *DescribeOverviewL7DataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOverviewL7DataRequest) ToJsonString

func (r *DescribeOverviewL7DataRequest) ToJsonString() string

type DescribeOverviewL7DataRequestParams

type DescribeOverviewL7DataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	// <li>`l7Flow_hit_outFlux`: Cache hit traffic.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The protocol type. Values:
	// <li>`http`: HTTP protocol;</li>
	// <li>`https`: HTTPS protocol;</li>
	// <li>`http2`: HTTP2 protocol;</li>
	// <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`tagKey`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No</li>
	// <li>`tagValue`<br>  Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeOverviewL7DataResponse

type DescribeOverviewL7DataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOverviewL7DataResponseParams `json:"Response"`
}

func NewDescribeOverviewL7DataResponse

func NewDescribeOverviewL7DataResponse() (response *DescribeOverviewL7DataResponse)

func (*DescribeOverviewL7DataResponse) FromJsonString

func (r *DescribeOverviewL7DataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOverviewL7DataResponse) ToJsonString

func (r *DescribeOverviewL7DataResponse) ToJsonString() string

type DescribeOverviewL7DataResponseParams

type DescribeOverviewL7DataResponseParams struct {
	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The list of L7 traffic summary statistics recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrefetchTasksRequest

type DescribePrefetchTasksRequest struct {
	*tchttp.BaseRequest

	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-id`:<br>   Filter by the <strong>site ID</strong>, such as zone-1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`job-id`:<br>   Filter by <strong>task ID</strong>, such as 1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`target`:<br>   Filter by <strong>target resource</strong>, such as http://www.qq.com/1.txt (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`domains`:<br>   Filter by <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`statuses`:<br>   Filter by <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: The task is in progress.<br>   `success`: The task succeeded.<br>   `failed`: The task failed.<br>   `timeout`: The task timed out.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribePrefetchTasksRequest

func NewDescribePrefetchTasksRequest() (request *DescribePrefetchTasksRequest)

func (*DescribePrefetchTasksRequest) FromJsonString

func (r *DescribePrefetchTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrefetchTasksRequest) ToJsonString

func (r *DescribePrefetchTasksRequest) ToJsonString() string

type DescribePrefetchTasksRequestParams

type DescribePrefetchTasksRequestParams struct {
	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-id`:<br>   Filter by the <strong>site ID</strong>, such as zone-1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`job-id`:<br>   Filter by <strong>task ID</strong>, such as 1379afjk91u32h (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`target`:<br>   Filter by <strong>target resource</strong>, such as http://www.qq.com/1.txt (up to one entry)<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`domains`:<br>   Filter by <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`statuses`:<br>   Filter by <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: The task is in progress.<br>   `success`: The task succeeded.<br>   `failed`: The task failed.<br>   `timeout`: The task timed out.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrefetchTasksResponse

type DescribePrefetchTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrefetchTasksResponseParams `json:"Response"`
}

func NewDescribePrefetchTasksResponse

func NewDescribePrefetchTasksResponse() (response *DescribePrefetchTasksResponse)

func (*DescribePrefetchTasksResponse) FromJsonString

func (r *DescribePrefetchTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrefetchTasksResponse) ToJsonString

func (r *DescribePrefetchTasksResponse) ToJsonString() string

type DescribePrefetchTasksResponseParams

type DescribePrefetchTasksResponseParams struct {
	// Total entries that match the specified query condition.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of tasks returned.
	Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`job-id`:<br> Filter by the <strong>Task ID</strong>, such as 1379afjk91u32h. Only one ID can be specified.<br>Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`target`:<br>   Filter by the <strong>resource address</strong>, such as http://www.qq.com/1.txt. Only one entry allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`domains`:<br>   Filter by the <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`statuses`:<br>   Filter by the <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: Tasks in progress<br>   `success`: Succeeded tasks<br>   `failed`: Failed tasks<br>   `timeout`: Timed-out tasks<li>`type`:<br>   Filter by the <strong>purging mode</strong>. Only one value allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `purge_url`: Purge URLs.<br>   `purge_prefix`: Purge prefixes.<br>   `purge_all`: Purge all caches.<br>   `purge_host`: Purge hostnames.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribePurgeTasksRequest

func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)

func (*DescribePurgeTasksRequest) FromJsonString

func (r *DescribePurgeTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeTasksRequest) ToJsonString

func (r *DescribePurgeTasksRequest) ToJsonString() string

type DescribePurgeTasksRequestParams

type DescribePurgeTasksRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Start time of the query.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset for paginated queries. Default value: `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: `20`. Maximum value: `1000`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`job-id`:<br> Filter by the <strong>Task ID</strong>, such as 1379afjk91u32h. Only one ID can be specified.<br>Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`target`:<br>   Filter by the <strong>resource address</strong>, such as http://www.qq.com/1.txt. Only one entry allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`domains`:<br>   Filter by the <strong>domain name</strong>, such as www.qq.com<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<li>`statuses`:<br>   Filter by the <strong>task status</strong><br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `processing`: Tasks in progress<br>   `success`: Succeeded tasks<br>   `failed`: Failed tasks<br>   `timeout`: Timed-out tasks<li>`type`:<br>   Filter by the <strong>purging mode</strong>. Only one value allowed.<br>   Type: String<br>   Required: No<br>   Fuzzy query: Not supported<br>   Values:<br>   `purge_url`: Purge URLs.<br>   `purge_prefix`: Purge prefixes.<br>   `purge_all`: Purge all caches.<br>   `purge_host`: Purge hostnames.
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePurgeTasksResponse

type DescribePurgeTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePurgeTasksResponseParams `json:"Response"`
}

func NewDescribePurgeTasksResponse

func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)

func (*DescribePurgeTasksResponse) FromJsonString

func (r *DescribePurgeTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeTasksResponse) ToJsonString

func (r *DescribePurgeTasksResponse) ToJsonString() string

type DescribePurgeTasksResponseParams

type DescribePurgeTasksResponseParams struct {
	// Total entries that match the specified query condition.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of tasks returned.
	Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRulesRequest

type DescribeRulesRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`rule-id`:<br>   Filter by the <strong>rule ID</strong><br>   Type: string<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeRulesRequest

func NewDescribeRulesRequest() (request *DescribeRulesRequest)

func (*DescribeRulesRequest) FromJsonString

func (r *DescribeRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesRequest) ToJsonString

func (r *DescribeRulesRequest) ToJsonString() string

type DescribeRulesRequestParams

type DescribeRulesRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`rule-id`:<br>   Filter by the <strong>rule ID</strong><br>   Type: string<br>   Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeRulesResponse

type DescribeRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesResponseParams `json:"Response"`
}

func NewDescribeRulesResponse

func NewDescribeRulesResponse() (response *DescribeRulesResponse)

func (*DescribeRulesResponse) FromJsonString

func (r *DescribeRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesResponse) ToJsonString

func (r *DescribeRulesResponse) ToJsonString() string

type DescribeRulesResponseParams

type DescribeRulesResponseParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of rules. Rules are sorted in order of execution.
	RuleItems []*RuleItem `json:"RuleItems,omitempty" name:"RuleItems"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRulesSettingRequest

type DescribeRulesSettingRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRulesSettingRequest

func NewDescribeRulesSettingRequest() (request *DescribeRulesSettingRequest)

func (*DescribeRulesSettingRequest) FromJsonString

func (r *DescribeRulesSettingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesSettingRequest) ToJsonString

func (r *DescribeRulesSettingRequest) ToJsonString() string

type DescribeRulesSettingRequestParams

type DescribeRulesSettingRequestParams struct {
}

Predefined struct for user

type DescribeRulesSettingResponse

type DescribeRulesSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesSettingResponseParams `json:"Response"`
}

func NewDescribeRulesSettingResponse

func NewDescribeRulesSettingResponse() (response *DescribeRulesSettingResponse)

func (*DescribeRulesSettingResponse) FromJsonString

func (r *DescribeRulesSettingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesSettingResponse) ToJsonString

func (r *DescribeRulesSettingResponse) ToJsonString() string

type DescribeRulesSettingResponseParams

type DescribeRulesSettingResponseParams struct {
	// List of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.
	Actions []*RulesSettingAction `json:"Actions,omitempty" name:"Actions"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSingleL7AnalysisDataRequest

type DescribeSingleL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_singleIpRequest`: Number of requests from a single IP.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeSingleL7AnalysisDataRequest

func NewDescribeSingleL7AnalysisDataRequest() (request *DescribeSingleL7AnalysisDataRequest)

func (*DescribeSingleL7AnalysisDataRequest) FromJsonString

func (r *DescribeSingleL7AnalysisDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSingleL7AnalysisDataRequest) ToJsonString

func (r *DescribeSingleL7AnalysisDataRequest) ToJsonString() string

type DescribeSingleL7AnalysisDataRequestParams

type DescribeSingleL7AnalysisDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_singleIpRequest`: Number of requests from a single IP.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeSingleL7AnalysisDataResponse

type DescribeSingleL7AnalysisDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSingleL7AnalysisDataResponseParams `json:"Response"`
}

func NewDescribeSingleL7AnalysisDataResponse

func NewDescribeSingleL7AnalysisDataResponse() (response *DescribeSingleL7AnalysisDataResponse)

func (*DescribeSingleL7AnalysisDataResponse) FromJsonString

func (r *DescribeSingleL7AnalysisDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSingleL7AnalysisDataResponse) ToJsonString

func (r *DescribeSingleL7AnalysisDataResponse) ToJsonString() string

type DescribeSingleL7AnalysisDataResponseParams

type DescribeSingleL7AnalysisDataResponseParams struct {
	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The list of L7 dimensional data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SingleDataRecord `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTimingL4DataRequest

type DescribeTimingL4DataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric to query. Values:
	// <li>`l4Flow_connections`: Access connections;</li>
	// <li>`l4Flow_flux`: Access traffic;</li>
	// <li>`l4Flow_inFlux`: Inbound traffic;</li>
	// <li>`l4Flow_outFlux`: Outbound traffic;</li>
	// <li>`l4Flow_outPkt`: Outbound packets.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`ruleId`: Filter by rule ID;</li>
	// <li>`proxyId`: Filter by connection ID.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTimingL4DataRequest

func NewDescribeTimingL4DataRequest() (request *DescribeTimingL4DataRequest)

func (*DescribeTimingL4DataRequest) FromJsonString

func (r *DescribeTimingL4DataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimingL4DataRequest) ToJsonString

func (r *DescribeTimingL4DataRequest) ToJsonString() string

type DescribeTimingL4DataRequestParams

type DescribeTimingL4DataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metric to query. Values:
	// <li>`l4Flow_connections`: Access connections;</li>
	// <li>`l4Flow_flux`: Access traffic;</li>
	// <li>`l4Flow_inFlux`: Inbound traffic;</li>
	// <li>`l4Flow_outFlux`: Outbound traffic;</li>
	// <li>`l4Flow_outPkt`: Outbound packets.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`ruleId`: Filter by rule ID;</li>
	// <li>`proxyId`: Filter by connection ID.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTimingL4DataResponse

type DescribeTimingL4DataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimingL4DataResponseParams `json:"Response"`
}

func NewDescribeTimingL4DataResponse

func NewDescribeTimingL4DataResponse() (response *DescribeTimingL4DataResponse)

func (*DescribeTimingL4DataResponse) FromJsonString

func (r *DescribeTimingL4DataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimingL4DataResponse) ToJsonString

func (r *DescribeTimingL4DataResponse) ToJsonString() string

type DescribeTimingL4DataResponseParams

type DescribeTimingL4DataResponseParams struct {
	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The list of L4 traffic data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTimingL7AnalysisDataRequest

type DescribeTimingL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The list of metrics. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTimingL7AnalysisDataRequest

func NewDescribeTimingL7AnalysisDataRequest() (request *DescribeTimingL7AnalysisDataRequest)

func (*DescribeTimingL7AnalysisDataRequest) FromJsonString

func (r *DescribeTimingL7AnalysisDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimingL7AnalysisDataRequest) ToJsonString

func (r *DescribeTimingL7AnalysisDataRequest) ToJsonString() string

type DescribeTimingL7AnalysisDataRequestParams

type DescribeTimingL7AnalysisDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The list of metrics. Values:
	// <li>`l7Flow_outFlux`: Access traffic;</li>
	// <li>`l7Flow_request`: Access requests;</li>
	// <li>`l7Flow_outBandwidth`: Access bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTimingL7AnalysisDataResponse

type DescribeTimingL7AnalysisDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimingL7AnalysisDataResponseParams `json:"Response"`
}

func NewDescribeTimingL7AnalysisDataResponse

func NewDescribeTimingL7AnalysisDataResponse() (response *DescribeTimingL7AnalysisDataResponse)

func (*DescribeTimingL7AnalysisDataResponse) FromJsonString

func (r *DescribeTimingL7AnalysisDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimingL7AnalysisDataResponse) ToJsonString

func (r *DescribeTimingL7AnalysisDataResponse) ToJsonString() string

type DescribeTimingL7AnalysisDataResponseParams

type DescribeTimingL7AnalysisDataResponseParams struct {
	// The list of L7 traffic data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTimingL7CacheDataRequest

type DescribeTimingL7CacheDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux`: Response traffic.</li>
	// <li>`l7Cache_request`: Response requests.</li>
	// <li>`l7Cache_outBandwidth`: Response bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTimingL7CacheDataRequest

func NewDescribeTimingL7CacheDataRequest() (request *DescribeTimingL7CacheDataRequest)

func (*DescribeTimingL7CacheDataRequest) FromJsonString

func (r *DescribeTimingL7CacheDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimingL7CacheDataRequest) ToJsonString

func (r *DescribeTimingL7CacheDataRequest) ToJsonString() string

type DescribeTimingL7CacheDataRequestParams

type DescribeTimingL7CacheDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux`: Response traffic.</li>
	// <li>`l7Cache_request`: Response requests.</li>
	// <li>`l7Cache_outBandwidth`: Response bandwidth.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTimingL7CacheDataResponse

type DescribeTimingL7CacheDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTimingL7CacheDataResponseParams `json:"Response"`
}

func NewDescribeTimingL7CacheDataResponse

func NewDescribeTimingL7CacheDataResponse() (response *DescribeTimingL7CacheDataResponse)

func (*DescribeTimingL7CacheDataResponse) FromJsonString

func (r *DescribeTimingL7CacheDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTimingL7CacheDataResponse) ToJsonString

func (r *DescribeTimingL7CacheDataResponse) ToJsonString() string

type DescribeTimingL7CacheDataResponseParams

type DescribeTimingL7CacheDataResponseParams struct {
	// The list of cached L7 time-series data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTopL7AnalysisDataRequest

type DescribeTopL7AnalysisDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux_country`: Country the request came from;</li>
	// <li>`l7Flow_outFlux_statusCode`: Status code of the request;</li>
	// <li>`l7Flow_outFlux_domain`: Domain name of the request;</li>
	// <li>`l7Flow_outFlux_url`: URL of the request;</li>
	// <li>`l7Flow_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Flow_outFlux_sip`: Client IP;</li>
	// <li>`l7Flow_outFlux_referers`: Refer header;</li>
	// <li>`l7Flow_outFlux_ua_device`: Device type;</li>
	// <li>`l7Flow_outFlux_ua_browser`: Browser type;</li>
	// <li>`l7Flow_outFlux_us_os`: OS type;</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top n rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTopL7AnalysisDataRequest

func NewDescribeTopL7AnalysisDataRequest() (request *DescribeTopL7AnalysisDataRequest)

func (*DescribeTopL7AnalysisDataRequest) FromJsonString

func (r *DescribeTopL7AnalysisDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopL7AnalysisDataRequest) ToJsonString

func (r *DescribeTopL7AnalysisDataRequest) ToJsonString() string

type DescribeTopL7AnalysisDataRequestParams

type DescribeTopL7AnalysisDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Flow_outFlux_country`: Country the request came from;</li>
	// <li>`l7Flow_outFlux_statusCode`: Status code of the request;</li>
	// <li>`l7Flow_outFlux_domain`: Domain name of the request;</li>
	// <li>`l7Flow_outFlux_url`: URL of the request;</li>
	// <li>`l7Flow_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Flow_outFlux_sip`: Client IP;</li>
	// <li>`l7Flow_outFlux_referers`: Refer header;</li>
	// <li>`l7Flow_outFlux_ua_device`: Device type;</li>
	// <li>`l7Flow_outFlux_ua_browser`: Browser type;</li>
	// <li>`l7Flow_outFlux_us_os`: OS type;</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top n rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`country`: Country/Region;</li>
	// <li>`domain`: Domain name;</li>
	// <li>`protocol`: Protocol type;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`statusCode`: Status code;</li>
	// <li>`browserType`: Browser type;</li>
	// <li>`deviceType`: Device type;</li>
	// <li>`operatingSystemType`: OS type;</li>
	// <li>`tlsVersion`: TLS version;</li>
	// <li>`url`: URL address;</li>
	// <li>`referer`: Refer header;</li>
	// <li>`ipVersion`: IP version;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTopL7AnalysisDataResponse

type DescribeTopL7AnalysisDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopL7AnalysisDataResponseParams `json:"Response"`
}

func NewDescribeTopL7AnalysisDataResponse

func NewDescribeTopL7AnalysisDataResponse() (response *DescribeTopL7AnalysisDataResponse)

func (*DescribeTopL7AnalysisDataResponse) FromJsonString

func (r *DescribeTopL7AnalysisDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopL7AnalysisDataResponse) ToJsonString

func (r *DescribeTopL7AnalysisDataResponse) ToJsonString() string

type DescribeTopL7AnalysisDataResponseParams

type DescribeTopL7AnalysisDataResponseParams struct {
	// The list of top-ranked L7 traffic data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTopL7CacheDataRequest

type DescribeTopL7CacheDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux_domain`: Host/Domain name;</li>
	// <li>`l7Cache_outFlux_url`: URL address;</li>
	// <li>`l7Cache_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Cache_outFlux_statusCode`: Status code.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeTopL7CacheDataRequest

func NewDescribeTopL7CacheDataRequest() (request *DescribeTopL7CacheDataRequest)

func (*DescribeTopL7CacheDataRequest) FromJsonString

func (r *DescribeTopL7CacheDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopL7CacheDataRequest) ToJsonString

func (r *DescribeTopL7CacheDataRequest) ToJsonString() string

type DescribeTopL7CacheDataRequestParams

type DescribeTopL7CacheDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The query metric. Values:
	// <li>`l7Cache_outFlux_domain`: Host/Domain name;</li>
	// <li>`l7Cache_outFlux_url`: URL address;</li>
	// <li>`l7Cache_outFlux_resourceType`: Resource type;</li>
	// <li>`l7Cache_outFlux_statusCode`: Status code.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Specifies sites by ID. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// Queries the top rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`cacheType`: Cache type;</li>
	// <li>`domain`: Host/domain name;</li>
	// <li>`resourceType`: Resource type;</li>
	// <li>`url`: URL address;</li>
	// <li>`tagKey`: Tag key;</li>
	// <li>`tagValue`: Tag value.</li>
	Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minutes;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeTopL7CacheDataResponse

type DescribeTopL7CacheDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopL7CacheDataResponseParams `json:"Response"`
}

func NewDescribeTopL7CacheDataResponse

func NewDescribeTopL7CacheDataResponse() (response *DescribeTopL7CacheDataResponse)

func (*DescribeTopL7CacheDataResponse) FromJsonString

func (r *DescribeTopL7CacheDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopL7CacheDataResponse) ToJsonString

func (r *DescribeTopL7CacheDataResponse) ToJsonString() string

type DescribeTopL7CacheDataResponseParams

type DescribeTopL7CacheDataResponseParams struct {
	// The list of cached L7 top-ranked traffic data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebManagedRulesDataRequest

type DescribeWebManagedRulesDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`waf_interceptNum`: Requests blocked by WAF.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebManagedRulesDataRequest

func NewDescribeWebManagedRulesDataRequest() (request *DescribeWebManagedRulesDataRequest)

func (*DescribeWebManagedRulesDataRequest) FromJsonString

func (r *DescribeWebManagedRulesDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebManagedRulesDataRequest) ToJsonString

func (r *DescribeWebManagedRulesDataRequest) ToJsonString() string

type DescribeWebManagedRulesDataRequestParams

type DescribeWebManagedRulesDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`waf_interceptNum`: Requests blocked by WAF.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebManagedRulesDataResponse

type DescribeWebManagedRulesDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesDataResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesDataResponse

func NewDescribeWebManagedRulesDataResponse() (response *DescribeWebManagedRulesDataResponse)

func (*DescribeWebManagedRulesDataResponse) FromJsonString

func (r *DescribeWebManagedRulesDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebManagedRulesDataResponse) ToJsonString

func (r *DescribeWebManagedRulesDataResponse) ToJsonString() string

type DescribeWebManagedRulesDataResponseParams

type DescribeWebManagedRulesDataResponseParams struct {
	// The list of WAF attack data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebManagedRulesHitRuleDetailRequest

type DescribeWebManagedRulesHitRuleDetailRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebManagedRulesHitRuleDetailRequest

func NewDescribeWebManagedRulesHitRuleDetailRequest() (request *DescribeWebManagedRulesHitRuleDetailRequest)

func (*DescribeWebManagedRulesHitRuleDetailRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebManagedRulesHitRuleDetailRequest) ToJsonString

type DescribeWebManagedRulesHitRuleDetailRequestParams

type DescribeWebManagedRulesHitRuleDetailRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebManagedRulesHitRuleDetailResponse

type DescribeWebManagedRulesHitRuleDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesHitRuleDetailResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesHitRuleDetailResponse

func NewDescribeWebManagedRulesHitRuleDetailResponse() (response *DescribeWebManagedRulesHitRuleDetailResponse)

func (*DescribeWebManagedRulesHitRuleDetailResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebManagedRulesHitRuleDetailResponse) ToJsonString

type DescribeWebManagedRulesHitRuleDetailResponseParams

type DescribeWebManagedRulesHitRuleDetailResponseParams struct {
	// The hit rule information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebManagedRulesLogRequest

type DescribeWebManagedRulesLogRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`attackType`: Attack type;</li>
	// <li>`riskLevel`: Risk level;</li>
	// <li>`action`: Action;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`sipCountryCode`: Country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`oriDomain`: Attacked subdomain name;</li>
	// <li>`eventId`: Event ID;</li>
	// <li>`ua`: User agent;</li>
	// <li>`requestMethod`: Request method;</li>
	// <li>`uri`: Uniform resource identifier.</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebManagedRulesLogRequest

func NewDescribeWebManagedRulesLogRequest() (request *DescribeWebManagedRulesLogRequest)

func (*DescribeWebManagedRulesLogRequest) FromJsonString

func (r *DescribeWebManagedRulesLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebManagedRulesLogRequest) ToJsonString

func (r *DescribeWebManagedRulesLogRequest) ToJsonString() string

type DescribeWebManagedRulesLogRequestParams

type DescribeWebManagedRulesLogRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`attackType`: Attack type;</li>
	// <li>`riskLevel`: Risk level;</li>
	// <li>`action`: Action;</li>
	// <li>`ruleId`: Rule ID;</li>
	// <li>`sipCountryCode`: Country code of the attacker IP;</li>
	// <li>`attackIp`: Attacker IP;</li>
	// <li>`oriDomain`: Attacked subdomain name;</li>
	// <li>`eventId`: Event ID;</li>
	// <li>`ua`: User agent;</li>
	// <li>`requestMethod`: Request method;</li>
	// <li>`uri`: Uniform resource identifier.</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebManagedRulesLogResponse

type DescribeWebManagedRulesLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebManagedRulesLogResponseParams `json:"Response"`
}

func NewDescribeWebManagedRulesLogResponse

func NewDescribeWebManagedRulesLogResponse() (response *DescribeWebManagedRulesLogResponse)

func (*DescribeWebManagedRulesLogResponse) FromJsonString

func (r *DescribeWebManagedRulesLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebManagedRulesLogResponse) ToJsonString

func (r *DescribeWebManagedRulesLogResponse) ToJsonString() string

type DescribeWebManagedRulesLogResponseParams

type DescribeWebManagedRulesLogResponseParams struct {
	// The list of web log data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*WebLogs `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebProtectionAttackEventsRequest

type DescribeWebProtectionAttackEventsRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeWebProtectionAttackEventsRequest

func NewDescribeWebProtectionAttackEventsRequest() (request *DescribeWebProtectionAttackEventsRequest)

func (*DescribeWebProtectionAttackEventsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionAttackEventsRequest) ToJsonString

type DescribeWebProtectionAttackEventsRequestParams

type DescribeWebProtectionAttackEventsRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeWebProtectionAttackEventsResponse

type DescribeWebProtectionAttackEventsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionAttackEventsResponseParams `json:"Response"`
}

func NewDescribeWebProtectionAttackEventsResponse

func NewDescribeWebProtectionAttackEventsResponse() (response *DescribeWebProtectionAttackEventsResponse)

func (*DescribeWebProtectionAttackEventsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionAttackEventsResponse) ToJsonString

type DescribeWebProtectionAttackEventsResponseParams

type DescribeWebProtectionAttackEventsResponseParams struct {
	// The list of CC attack events.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*CCInterceptEvent `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebProtectionClientIpListRequest

type DescribeWebProtectionClientIpListRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionClientIpListRequest

func NewDescribeWebProtectionClientIpListRequest() (request *DescribeWebProtectionClientIpListRequest)

func (*DescribeWebProtectionClientIpListRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionClientIpListRequest) ToJsonString

type DescribeWebProtectionClientIpListRequestParams

type DescribeWebProtectionClientIpListRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionClientIpListResponse

type DescribeWebProtectionClientIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionClientIpListResponseParams `json:"Response"`
}

func NewDescribeWebProtectionClientIpListResponse

func NewDescribeWebProtectionClientIpListResponse() (response *DescribeWebProtectionClientIpListResponse)

func (*DescribeWebProtectionClientIpListResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionClientIpListResponse) ToJsonString

type DescribeWebProtectionClientIpListResponseParams

type DescribeWebProtectionClientIpListResponseParams struct {
	// The list of CC attacker IPs.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecClientIp `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebProtectionDataRequest

type DescribeWebProtectionDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metrics to query. Values:
	// <li>`ccRate_interceptNum`: Requests restricted by the rate limiting rules;</li>
	// <li>`ccAcl_interceptNum`: Requests restricted by the custom rules.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionDataRequest

func NewDescribeWebProtectionDataRequest() (request *DescribeWebProtectionDataRequest)

func (*DescribeWebProtectionDataRequest) FromJsonString

func (r *DescribeWebProtectionDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionDataRequest) ToJsonString

func (r *DescribeWebProtectionDataRequest) ToJsonString() string

type DescribeWebProtectionDataRequestParams

type DescribeWebProtectionDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Metrics to query. Values:
	// <li>`ccRate_interceptNum`: Requests restricted by the rate limiting rules;</li>
	// <li>`ccAcl_interceptNum`: Requests restricted by the custom rules.</li>
	MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionDataResponse

type DescribeWebProtectionDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionDataResponseParams `json:"Response"`
}

func NewDescribeWebProtectionDataResponse

func NewDescribeWebProtectionDataResponse() (response *DescribeWebProtectionDataResponse)

func (*DescribeWebProtectionDataResponse) FromJsonString

func (r *DescribeWebProtectionDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionDataResponse) ToJsonString

func (r *DescribeWebProtectionDataResponse) ToJsonString() string

type DescribeWebProtectionDataResponseParams

type DescribeWebProtectionDataResponseParams struct {
	// The list of CC protection data recorded over time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebProtectionHitRuleDetailRequest

type DescribeWebProtectionHitRuleDetailRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The rule type. Values:
	// <li>`rate`: Rate limiting rules;</li>
	// <li>`acl`: Custom rules.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionHitRuleDetailRequest

func NewDescribeWebProtectionHitRuleDetailRequest() (request *DescribeWebProtectionHitRuleDetailRequest)

func (*DescribeWebProtectionHitRuleDetailRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionHitRuleDetailRequest) ToJsonString

type DescribeWebProtectionHitRuleDetailRequestParams

type DescribeWebProtectionHitRuleDetailRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// The rule type. Values:
	// <li>`rate`: Rate limiting rules;</li>
	// <li>`acl`: Custom rules.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionHitRuleDetailResponse

type DescribeWebProtectionHitRuleDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionHitRuleDetailResponseParams `json:"Response"`
}

func NewDescribeWebProtectionHitRuleDetailResponse

func NewDescribeWebProtectionHitRuleDetailResponse() (response *DescribeWebProtectionHitRuleDetailResponse)

func (*DescribeWebProtectionHitRuleDetailResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionHitRuleDetailResponse) ToJsonString

type DescribeWebProtectionHitRuleDetailResponseParams

type DescribeWebProtectionHitRuleDetailResponseParams struct {
	// The list of hit CC protection rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeWebProtectionTopDataRequest

type DescribeWebProtectionTopDataRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`ccRate_requestNum_url`: Top-ranked URLs by rate limiting requests.</li>
	// <li>`ccRate_cipRequestNum_region`: Top-ranked client IPs by rate limiting requests.</li>
	// <li>`ccAcl_requestNum_url`: Top-ranked URLs by custom rule requests.</li>
	// <li>`ccAcl_requestNum_cip`: Top-ranked client IPs by custom rule execution requests.</li>
	// <li>`ccAcl_cipRequestNum_region`: Top-ranked clients by custom rule execution requests.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDescribeWebProtectionTopDataRequest

func NewDescribeWebProtectionTopDataRequest() (request *DescribeWebProtectionTopDataRequest)

func (*DescribeWebProtectionTopDataRequest) FromJsonString

func (r *DescribeWebProtectionTopDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionTopDataRequest) ToJsonString

func (r *DescribeWebProtectionTopDataRequest) ToJsonString() string

type DescribeWebProtectionTopDataRequestParams

type DescribeWebProtectionTopDataRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of statistical metric. Values:
	// <li>`ccRate_requestNum_url`: Top-ranked URLs by rate limiting requests.</li>
	// <li>`ccRate_cipRequestNum_region`: Top-ranked client IPs by rate limiting requests.</li>
	// <li>`ccAcl_requestNum_url`: Top-ranked URLs by custom rule requests.</li>
	// <li>`ccAcl_requestNum_cip`: Top-ranked client IPs by custom rule execution requests.</li>
	// <li>`ccAcl_cipRequestNum_region`: Top-ranked clients by custom rule execution requests.</li>
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The query time granularity. Values:
	// <li>`min`: 1 minute;</li>
	// <li>`5min`: 5 minute;</li>
	// <li>`hour`: 1 hour;</li>
	// <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The key of the parameter QueryCondition, which is used to specify a filter. Values:
	// <li>`action`: The action;</li>
	QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`

	// Data storage region. Values:
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	// <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeWebProtectionTopDataResponse

type DescribeWebProtectionTopDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeWebProtectionTopDataResponseParams `json:"Response"`
}

func NewDescribeWebProtectionTopDataResponse

func NewDescribeWebProtectionTopDataResponse() (response *DescribeWebProtectionTopDataResponse)

func (*DescribeWebProtectionTopDataResponse) FromJsonString

func (r *DescribeWebProtectionTopDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWebProtectionTopDataResponse) ToJsonString

func (r *DescribeWebProtectionTopDataResponse) ToJsonString() string

type DescribeWebProtectionTopDataResponseParams

type DescribeWebProtectionTopDataResponseParams struct {
	// The list of top-ranked CC protection data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*TopEntry `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeZoneSettingRequest

type DescribeZoneSettingRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeZoneSettingRequest

func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)

func (*DescribeZoneSettingRequest) FromJsonString

func (r *DescribeZoneSettingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZoneSettingRequest) ToJsonString

func (r *DescribeZoneSettingRequest) ToJsonString() string

type DescribeZoneSettingRequestParams

type DescribeZoneSettingRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeZoneSettingResponse

type DescribeZoneSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZoneSettingResponseParams `json:"Response"`
}

func NewDescribeZoneSettingResponse

func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)

func (*DescribeZoneSettingResponse) FromJsonString

func (r *DescribeZoneSettingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZoneSettingResponse) ToJsonString

func (r *DescribeZoneSettingResponse) ToJsonString() string

type DescribeZoneSettingResponseParams

type DescribeZoneSettingResponseParams struct {
	// The site configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneSetting *ZoneSetting `json:"ZoneSetting,omitempty" name:"ZoneSetting"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest

	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`:<br>   Filter by <strong>site name</strong><br>   Type: String<br>   Required: No<li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No<li>`status`:<br>   Filter by <strong>site status</strong><br>   Type: String<br>   Required: No<li>`tag-key`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No<li>`tag-value`:<br>   Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No<li>`Fuzzy`:<br>   Filter by <strong>values in fuzzy query</strong> (only `zone-name` allowed). Values limit: 1<br>   Type: Boolean<br>   Required: No<br>   Default value: false
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

func (r *DescribeZonesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesRequestParams

type DescribeZonesRequestParams struct {
	// The page offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The paginated query limit. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter criteria. Each filter criteria can have up to 20 entries.
	// <li>`zone-name`:<br>   Filter by <strong>site name</strong><br>   Type: String<br>   Required: No<li>`zone-id`:<br>   Filter by <strong>site ID</strong>, such as zone-xxx<br>   Type: String<br>   Required: No<li>`status`:<br>   Filter by <strong>site status</strong><br>   Type: String<br>   Required: No<li>`tag-key`:<br>   Filter by <strong>tag key</strong><br>   Type: String<br>   Required: No<li>`tag-value`:<br>   Filter by <strong>tag value</strong><br>   Type: String<br>   Required: No<li>`Fuzzy`:<br>   Filter by <strong>values in fuzzy query</strong> (only `zone-name` allowed). Values limit: 1<br>   Type: Boolean<br>   Required: No<br>   Default value: false
	Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZonesResponseParams `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

func (r *DescribeZonesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type DescribeZonesResponseParams

type DescribeZonesResponseParams struct {
	// Number of eligible sites.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Details of sites
	Zones []*Zone `json:"Zones,omitempty" name:"Zones"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DetailHost

type DetailHost struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The acceleration status. Values:
	// <li>`process`: In progress</li>
	// <li>`online`: Enabled</li>
	// <li>`offline`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The domain name.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Name of the site
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The assigned CNAME
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// The resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// The instance ID.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// The lock status.
	Lock *int64 `json:"Lock,omitempty" name:"Lock"`

	// The domain name status.
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// The acceleration area of the domain name. Values:
	// <li>`global`: Global.</li>
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// The acceleration type configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AccelerateType *AccelerateType `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// The HTTPS configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// The cache configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// The origin configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// The security type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SecurityType *SecurityType `json:"SecurityType,omitempty" name:"SecurityType"`

	// The cache key configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The smart compression configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// The WAF protection configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Waf *Waf `json:"Waf,omitempty" name:"Waf"`

	// The CC protection configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CC *CC `json:"CC,omitempty" name:"CC"`

	// DDoS mitigation configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	DDoS *DDoS `json:"DDoS,omitempty" name:"DDoS"`

	// The smart routing configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// The IPv6 access configuration item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

type DnsData

type DnsData struct {
	// The time.
	Time *string `json:"Time,omitempty" name:"Time"`

	// The value.
	Value *uint64 `json:"Value,omitempty" name:"Value"`
}

type DnsRecord

type DnsRecord struct {
	// The record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`

	// The record name.
	DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`

	// The record value.
	Content *string `json:"Content,omitempty" name:"Content"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li>
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect.
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// The MX record priority. The smaller the value, the higher the priority.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// The creation time.
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// The modification time.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// The lock status of the domain name.
	Locked *bool `json:"Locked,omitempty" name:"Locked"`

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The DNS record status. Values:
	// <li>`active`: Activated</li>
	// <li>`pending`: Deactivated</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The CNAME address.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// The service used by the domain name. Values:
	// <li>`lb`: Load balancing</li>
	// <li>`security`: Security protection</li>
	// <li>`l4`: L4 proxy</li>
	DomainStatus []*string `json:"DomainStatus,omitempty" name:"DomainStatus"`
}

type DnssecInfo

type DnssecInfo struct {
	// Flag
	Flags *int64 `json:"Flags,omitempty" name:"Flags"`

	// Encryption algorithm
	Algorithm *string `json:"Algorithm,omitempty" name:"Algorithm"`

	// Encryption type
	KeyType *string `json:"KeyType,omitempty" name:"KeyType"`

	// Digest type
	DigestType *string `json:"DigestType,omitempty" name:"DigestType"`

	// Digest algorithm
	DigestAlgorithm *string `json:"DigestAlgorithm,omitempty" name:"DigestAlgorithm"`

	// Digest message
	Digest *string `json:"Digest,omitempty" name:"Digest"`

	// DS record value
	DS *string `json:"DS,omitempty" name:"DS"`

	// Key tag
	KeyTag *int64 `json:"KeyTag,omitempty" name:"KeyTag"`

	// Public key
	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`
}

type DownloadL4LogsRequest

type DownloadL4LogsRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDownloadL4LogsRequest

func NewDownloadL4LogsRequest() (request *DownloadL4LogsRequest)

func (*DownloadL4LogsRequest) FromJsonString

func (r *DownloadL4LogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DownloadL4LogsRequest) ToJsonString

func (r *DownloadL4LogsRequest) ToJsonString() string

type DownloadL4LogsRequestParams

type DownloadL4LogsRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of L4 proxy IDs.
	ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DownloadL4LogsResponse

type DownloadL4LogsResponse struct {
	*tchttp.BaseResponse
	Response *DownloadL4LogsResponseParams `json:"Response"`
}

func NewDownloadL4LogsResponse

func NewDownloadL4LogsResponse() (response *DownloadL4LogsResponse)

func (*DownloadL4LogsResponse) FromJsonString

func (r *DownloadL4LogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DownloadL4LogsResponse) ToJsonString

func (r *DownloadL4LogsResponse) ToJsonString() string

type DownloadL4LogsResponseParams

type DownloadL4LogsResponseParams struct {
	// The list of L4 log data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*L4OfflineLog `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DownloadL7LogsRequest

type DownloadL7LogsRequest struct {
	*tchttp.BaseRequest

	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDownloadL7LogsRequest

func NewDownloadL7LogsRequest() (request *DownloadL7LogsRequest)

func (*DownloadL7LogsRequest) FromJsonString

func (r *DownloadL7LogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DownloadL7LogsRequest) ToJsonString

func (r *DownloadL7LogsRequest) ToJsonString() string

type DownloadL7LogsRequestParams

type DownloadL7LogsRequestParams struct {
	// The start time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The end time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List of sites to be queried. All sites will be selected if this field is not specified.
	ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`

	// List of subdomain names to be queried. All subdomain names will be selected if this field is not specified.
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Limit on paginated queries. Default value: 20. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The page offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DownloadL7LogsResponse

type DownloadL7LogsResponse struct {
	*tchttp.BaseResponse
	Response *DownloadL7LogsResponseParams `json:"Response"`
}

func NewDownloadL7LogsResponse

func NewDownloadL7LogsResponse() (response *DownloadL7LogsResponse)

func (*DownloadL7LogsResponse) FromJsonString

func (r *DownloadL7LogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DownloadL7LogsResponse) ToJsonString

func (r *DownloadL7LogsResponse) ToJsonString() string

type DownloadL7LogsResponseParams

type DownloadL7LogsResponseParams struct {
	// The list of L7 log data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*L7OfflineLog `json:"Data,omitempty" name:"Data"`

	// Total number of query results.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type FailReason

type FailReason struct {
	// Failure reason.
	Reason *string `json:"Reason,omitempty" name:"Reason"`

	// List of resources failed to be processed.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`
}

type FileAscriptionInfo

type FileAscriptionInfo struct {
	IdentifyPath *string `json:"IdentifyPath,omitempty" name:"IdentifyPath"`

	IdentifyContent *string `json:"IdentifyContent,omitempty" name:"IdentifyContent"`
}

type Filter

type Filter struct {
	// The name of the field to filter.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Value of the filtered field.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type FollowOrigin

type FollowOrigin struct {
	// Whether to enable the configuration of following the origin server. Valid values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ForceRedirect

type ForceRedirect struct {
	// Whether to enable force HTTPS redirect. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Redirect status code. Values:
	// <li>`301`: 301 redirect</li>
	// <li>`302`: 302 redirect</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitempty" name:"RedirectStatusCode"`
}
type Header struct {
	// HTTP header name
	Name *string `json:"Name,omitempty" name:"Name"`

	// HTTP header value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type Hsts

type Hsts struct {
	// Whether to enable the configuration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The MaxAge value in seconds. Maximum value: `86400` (one day)
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxAge *int64 `json:"MaxAge,omitempty" name:"MaxAge"`

	// Whether to contain subdomain names. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	IncludeSubDomains *string `json:"IncludeSubDomains,omitempty" name:"IncludeSubDomains"`

	// Whether to enable preloading. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Preload *string `json:"Preload,omitempty" name:"Preload"`
}

type Https

type Https struct {
	// Whether to enable HTTP2. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Http2 *string `json:"Http2,omitempty" name:"Http2"`

	// Whether to enable OCSP. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	OcspStapling *string `json:"OcspStapling,omitempty" name:"OcspStapling"`

	// TLS version. Values:
	// <li>`TLSv1`: TLSv1 version</li>
	// <li>`TLSV1.1`: TLSv1.1 version</li>
	// <li>`TLSV1.2`: TLSv1.2 version</li>
	// <li>`TLSv1.3`: TLSv1.3 version</li>Only consecutive versions can be enabled at the same time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TlsVersion []*string `json:"TlsVersion,omitempty" name:"TlsVersion"`

	// HSTS Configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Hsts *Hsts `json:"Hsts,omitempty" name:"Hsts"`

	// The certificate configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}

type Identification

type Identification struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// The verification status. Values:
	// <li>`pending`: The verification is ongoing.</li>
	// <li>`finished`: The verification completed.</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The site ownership information.
	Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`

	// The NS record of the domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	FileAscription *FileAscriptionInfo `json:"FileAscription,omitempty" name:"FileAscription"`
}

type IdentifyZoneRequest

type IdentifyZoneRequest struct {
	*tchttp.BaseRequest

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

func NewIdentifyZoneRequest

func NewIdentifyZoneRequest() (request *IdentifyZoneRequest)

func (*IdentifyZoneRequest) FromJsonString

func (r *IdentifyZoneRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IdentifyZoneRequest) ToJsonString

func (r *IdentifyZoneRequest) ToJsonString() string

type IdentifyZoneRequestParams

type IdentifyZoneRequestParams struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

Predefined struct for user

type IdentifyZoneResponse

type IdentifyZoneResponse struct {
	*tchttp.BaseResponse
	Response *IdentifyZoneResponseParams `json:"Response"`
}

func NewIdentifyZoneResponse

func NewIdentifyZoneResponse() (response *IdentifyZoneResponse)

func (*IdentifyZoneResponse) FromJsonString

func (r *IdentifyZoneResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IdentifyZoneResponse) ToJsonString

func (r *IdentifyZoneResponse) ToJsonString() string

type IdentifyZoneResponseParams

type IdentifyZoneResponseParams struct {
	// The site ownership information.
	Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`

	FileAscription *FileAscriptionInfo `json:"FileAscription,omitempty" name:"FileAscription"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Ipv6

type Ipv6 struct {
	// Whether to enable IPv6 access. Values:
	// <li>`on`: Enable IPv6 access.</li>
	// <li>`off`: Disable IPv6 access.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type L4OfflineLog

type L4OfflineLog struct {
	// The start time of the log packaging.
	LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`

	// The L4 proxy ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// The log size, in bytes.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// The download address.
	Url *string `json:"Url,omitempty" name:"Url"`

	// The log package name.
	LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`

	// The acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type L7OfflineLog

type L7OfflineLog struct {
	// Start time of the log packaging
	LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`

	// The subdomain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Log size, in bytes.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Download address
	Url *string `json:"Url,omitempty" name:"Url"`

	// Log package name
	LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (outside the Chinese mainland);</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type LogSetInfo

type LogSetInfo struct {
	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Whether the logset is deleted. Values:
	// <li>`no`: The logset is not deleted;</li>
	// <li>`yes`: The logset is deleted.</li>
	Deleted *string `json:"Deleted,omitempty" name:"Deleted"`
}

type LogTopicDetailInfo

type LogTopicDetailInfo struct {
	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// Type of the shipping task.
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// List of tasks.
	EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// Name of the logset.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// Topic ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Topic name of the shipping task.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// Retention period of the shipping task topic. Unit: day.
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// Whether the shipping task is enabled.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// Creation time in the format of YYYY-mm-dd HH:MM:SS.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (outside the Chinese mainland).</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// ID of the site.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Name of the site.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Whether the shipping task is deleted. Values:
	// <li>`yes`: The shipping task is deleted;</li>
	// <li>`no`: The shipping task is not deleted.</li>
	Deleted *string `json:"Deleted,omitempty" name:"Deleted"`
}

type MaxAge

type MaxAge struct {
	// Whether to follow the origin server. Values:
	// <li>`on`: Follow the origin server and ignore the field MaxAgeTime;</li>
	// <li>`off`: Do not follow the origin server and apply the field MaxAgeTime.</li>
	FollowOrigin *string `json:"FollowOrigin,omitempty" name:"FollowOrigin"`

	// Specifies the maximum amount of time (in seconds). The maximum value is 365 days.
	// Note: The value `0` means not to cache.
	MaxAgeTime *int64 `json:"MaxAgeTime,omitempty" name:"MaxAgeTime"`
}

type ModifyDefaultCertificateRequest

type ModifyDefaultCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// ID of the certificate.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Status of the certificate. Values:
	// <li>`deployed`: The certificate is deployed;</li>
	// <li>`disabled`: The certificate is disabled.</li>When a deployment fails, you can try again.
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyDefaultCertificateRequest

func NewModifyDefaultCertificateRequest() (request *ModifyDefaultCertificateRequest)

func (*ModifyDefaultCertificateRequest) FromJsonString

func (r *ModifyDefaultCertificateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDefaultCertificateRequest) ToJsonString

func (r *ModifyDefaultCertificateRequest) ToJsonString() string

type ModifyDefaultCertificateRequestParams

type ModifyDefaultCertificateRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// ID of the certificate.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Status of the certificate. Values:
	// <li>`deployed`: The certificate is deployed;</li>
	// <li>`disabled`: The certificate is disabled.</li>When a deployment fails, you can try again.
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyDefaultCertificateResponse

type ModifyDefaultCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDefaultCertificateResponseParams `json:"Response"`
}

func NewModifyDefaultCertificateResponse

func NewModifyDefaultCertificateResponse() (response *ModifyDefaultCertificateResponse)

func (*ModifyDefaultCertificateResponse) FromJsonString

func (r *ModifyDefaultCertificateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDefaultCertificateResponse) ToJsonString

func (r *ModifyDefaultCertificateResponse) ToJsonString() string

type ModifyDefaultCertificateResponseParams

type ModifyDefaultCertificateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDnsRecordRequest

type ModifyDnsRecordRequest struct {
	*tchttp.BaseRequest

	// The record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`

	// The record name, which consists of the host record and site name. Note that the original configuration will be used if this field is not specified.
	DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`

	// The record content. Note that the original configuration will be used if this field is not specified.
	Content *string `json:"Content,omitempty" name:"Content"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300. Note that the original configuration will be used if this field is not specified.
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li></li>The original configuration will apply if this field is not specified.
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

func NewModifyDnsRecordRequest

func NewModifyDnsRecordRequest() (request *ModifyDnsRecordRequest)

func (*ModifyDnsRecordRequest) FromJsonString

func (r *ModifyDnsRecordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDnsRecordRequest) ToJsonString

func (r *ModifyDnsRecordRequest) ToJsonString() string

type ModifyDnsRecordRequestParams

type ModifyDnsRecordRequestParams struct {
	// The record ID.
	DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The DNS record type. Values:
	// <li>`A`: Point a domain name to an IPv4 address, such as 8.8.8.8.</li>
	// <li>`AAAA`: Point a domain name to an IPv6 address.</li>
	// <li>`MX`: It is used for email servers. The record value and priority parameters are provided by email service providers. If there are multiple MX records, the lower the priority value, the higher the priority.</li>
	// <li>`CNAME`: Point a domain name to another domain name that can be resolved to an IP address.</li>
	// <li>`TXT`: Identify and describe a domain name. It is usually used for domain verification and as SPF records (for anti-spam).</li>
	// <li>`NS`: If you need to authorize a subdomain name to another DNS service provider for DNS resolution, you need to add an NS record. You cannot add an NS record for a root domain name.</li>
	// <li>`CAA`: Specify CAs to issue certificates for sites.</li>
	// <li>`SRV`: Identify a service used by a server. It is commonly used in Microsoft directory management.</li>
	DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`

	// The record name, which consists of the host record and site name. Note that the original configuration will be used if this field is not specified.
	DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`

	// The record content. Note that the original configuration will be used if this field is not specified.
	Content *string `json:"Content,omitempty" name:"Content"`

	// TTL (in seconds). The smaller the value, the faster the record changes take effect. Default value: 300. Note that the original configuration will be used if this field is not specified.
	TTL *int64 `json:"TTL,omitempty" name:"TTL"`

	// Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// The proxy mode. Values:
	// <li>`dns_only`: Only DNS</li>
	// <li>`proxied`: Proxied</li></li>The original configuration will apply if this field is not specified.
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

Predefined struct for user

type ModifyDnsRecordResponse

type ModifyDnsRecordResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDnsRecordResponseParams `json:"Response"`
}

func NewModifyDnsRecordResponse

func NewModifyDnsRecordResponse() (response *ModifyDnsRecordResponse)

func (*ModifyDnsRecordResponse) FromJsonString

func (r *ModifyDnsRecordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDnsRecordResponse) ToJsonString

func (r *ModifyDnsRecordResponse) ToJsonString() string

type ModifyDnsRecordResponseParams

type ModifyDnsRecordResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDnssecRequest

type ModifyDnssecRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The DNSSEC status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyDnssecRequest

func NewModifyDnssecRequest() (request *ModifyDnssecRequest)

func (*ModifyDnssecRequest) FromJsonString

func (r *ModifyDnssecRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDnssecRequest) ToJsonString

func (r *ModifyDnssecRequest) ToJsonString() string

type ModifyDnssecRequestParams

type ModifyDnssecRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The DNSSEC status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyDnssecResponse

type ModifyDnssecResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDnssecResponseParams `json:"Response"`
}

func NewModifyDnssecResponse

func NewModifyDnssecResponse() (response *ModifyDnssecResponse)

func (*ModifyDnssecResponse) FromJsonString

func (r *ModifyDnssecResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDnssecResponse) ToJsonString

func (r *ModifyDnssecResponse) ToJsonString() string

type ModifyDnssecResponseParams

type ModifyDnssecResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyHostsCertificateRequest

type ModifyHostsCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names that the certificate will be attached to.
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitempty" name:"ServerCertInfo"`
}

func NewModifyHostsCertificateRequest

func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest)

func (*ModifyHostsCertificateRequest) FromJsonString

func (r *ModifyHostsCertificateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyHostsCertificateRequest) ToJsonString

func (r *ModifyHostsCertificateRequest) ToJsonString() string

type ModifyHostsCertificateRequestParams

type ModifyHostsCertificateRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names that the certificate will be attached to.
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitempty" name:"ServerCertInfo"`
}

Predefined struct for user

type ModifyHostsCertificateResponse

type ModifyHostsCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyHostsCertificateResponseParams `json:"Response"`
}

func NewModifyHostsCertificateResponse

func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateResponse)

func (*ModifyHostsCertificateResponse) FromJsonString

func (r *ModifyHostsCertificateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyHostsCertificateResponse) ToJsonString

func (r *ModifyHostsCertificateResponse) ToJsonString() string

type ModifyHostsCertificateResponseParams

type ModifyHostsCertificateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyLogTopicTaskRequest

type ModifyLogTopicTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

	// The new topic name. If you do not specify this field, no changes will be made.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// The new logset name.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// The retention period of the updated logset.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// List of shipping entities to be deleted.
	DropEntityList []*string `json:"DropEntityList,omitempty" name:"DropEntityList"`

	// List of shipping entities to be added.
	AddedEntityList []*string `json:"AddedEntityList,omitempty" name:"AddedEntityList"`
}

func NewModifyLogTopicTaskRequest

func NewModifyLogTopicTaskRequest() (request *ModifyLogTopicTaskRequest)

func (*ModifyLogTopicTaskRequest) FromJsonString

func (r *ModifyLogTopicTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLogTopicTaskRequest) ToJsonString

func (r *ModifyLogTopicTaskRequest) ToJsonString() string

type ModifyLogTopicTaskRequestParams

type ModifyLogTopicTaskRequestParams struct {
	// ID of the site.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Region of the logset.
	LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`

	// ID of the logset.
	LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`

	// ID of the log topic.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Type of the shipping entity. Values:
	// <li>`domain`: L7 acceleration logs;</li>
	// <li>`application`: L4 acceleration logs;</li>
	// <li>`web-rateLiming`: Rate limiting logs;</li>
	// <li>`web-attack`: Web security logs;</li>
	// <li>`web-rule`: Custom rule logs;</li>
	// <li>`web-bot`: Bot management logs.</li>
	EntityType *string `json:"EntityType,omitempty" name:"EntityType"`

	// Name of the shipping task.
	TaskName *string `json:"TaskName,omitempty" name:"TaskName"`

	// The new topic name. If you do not specify this field, no changes will be made.
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`

	// The new logset name.
	LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`

	// The retention period of the updated logset.
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// List of shipping entities to be deleted.
	DropEntityList []*string `json:"DropEntityList,omitempty" name:"DropEntityList"`

	// List of shipping entities to be added.
	AddedEntityList []*string `json:"AddedEntityList,omitempty" name:"AddedEntityList"`
}

Predefined struct for user

type ModifyLogTopicTaskResponse

type ModifyLogTopicTaskResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLogTopicTaskResponseParams `json:"Response"`
}

func NewModifyLogTopicTaskResponse

func NewModifyLogTopicTaskResponse() (response *ModifyLogTopicTaskResponse)

func (*ModifyLogTopicTaskResponse) FromJsonString

func (r *ModifyLogTopicTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLogTopicTaskResponse) ToJsonString

func (r *ModifyLogTopicTaskResponse) ToJsonString() string

type ModifyLogTopicTaskResponseParams

type ModifyLogTopicTaskResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyRulePriorityRequest

type ModifyRulePriorityRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Order of rule IDs. If there are multiple rules, they will be executed in order from top to bottom.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

func NewModifyRulePriorityRequest

func NewModifyRulePriorityRequest() (request *ModifyRulePriorityRequest)

func (*ModifyRulePriorityRequest) FromJsonString

func (r *ModifyRulePriorityRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRulePriorityRequest) ToJsonString

func (r *ModifyRulePriorityRequest) ToJsonString() string

type ModifyRulePriorityRequestParams

type ModifyRulePriorityRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Order of rule IDs. If there are multiple rules, they will be executed in order from top to bottom.
	RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}

Predefined struct for user

type ModifyRulePriorityResponse

type ModifyRulePriorityResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRulePriorityResponseParams `json:"Response"`
}

func NewModifyRulePriorityResponse

func NewModifyRulePriorityResponse() (response *ModifyRulePriorityResponse)

func (*ModifyRulePriorityResponse) FromJsonString

func (r *ModifyRulePriorityResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRulePriorityResponse) ToJsonString

func (r *ModifyRulePriorityResponse) ToJsonString() string

type ModifyRulePriorityResponseParams

type ModifyRulePriorityResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyRuleRequest

type ModifyRuleRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The rule name. It is a string that can contain 1–255 characters.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyRuleRequest

func NewModifyRuleRequest() (request *ModifyRuleRequest)

func (*ModifyRuleRequest) FromJsonString

func (r *ModifyRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleRequest) ToJsonString

func (r *ModifyRuleRequest) ToJsonString() string

type ModifyRuleRequestParams

type ModifyRuleRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The rule name. It is a string that can contain 1–255 characters.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyRuleResponse

type ModifyRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRuleResponseParams `json:"Response"`
}

func NewModifyRuleResponse

func NewModifyRuleResponse() (response *ModifyRuleResponse)

func (*ModifyRuleResponse) FromJsonString

func (r *ModifyRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleResponse) ToJsonString

func (r *ModifyRuleResponse) ToJsonString() string

type ModifyRuleResponseParams

type ModifyRuleResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyZoneCnameSpeedUpRequest

type ModifyZoneCnameSpeedUpRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The CNAME acceleration status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyZoneCnameSpeedUpRequest

func NewModifyZoneCnameSpeedUpRequest() (request *ModifyZoneCnameSpeedUpRequest)

func (*ModifyZoneCnameSpeedUpRequest) FromJsonString

func (r *ModifyZoneCnameSpeedUpRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneCnameSpeedUpRequest) ToJsonString

func (r *ModifyZoneCnameSpeedUpRequest) ToJsonString() string

type ModifyZoneCnameSpeedUpRequestParams

type ModifyZoneCnameSpeedUpRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The CNAME acceleration status. Values:
	// <li>`enabled`: Enabled</li>
	// <li>`disabled`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyZoneCnameSpeedUpResponse

type ModifyZoneCnameSpeedUpResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneCnameSpeedUpResponseParams `json:"Response"`
}

func NewModifyZoneCnameSpeedUpResponse

func NewModifyZoneCnameSpeedUpResponse() (response *ModifyZoneCnameSpeedUpResponse)

func (*ModifyZoneCnameSpeedUpResponse) FromJsonString

func (r *ModifyZoneCnameSpeedUpResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneCnameSpeedUpResponse) ToJsonString

func (r *ModifyZoneCnameSpeedUpResponse) ToJsonString() string

type ModifyZoneCnameSpeedUpResponseParams

type ModifyZoneCnameSpeedUpResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyZoneRequest

type ModifyZoneRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site access method. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>The original configuration will apply if this field is not specified.
	Type *string `json:"Type,omitempty" name:"Type"`

	// The custom name servers. If this field is not specified, the default name servers will be used.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
}

func NewModifyZoneRequest

func NewModifyZoneRequest() (request *ModifyZoneRequest)

func (*ModifyZoneRequest) FromJsonString

func (r *ModifyZoneRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneRequest) ToJsonString

func (r *ModifyZoneRequest) ToJsonString() string

type ModifyZoneRequestParams

type ModifyZoneRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site access method. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>The original configuration will apply if this field is not specified.
	Type *string `json:"Type,omitempty" name:"Type"`

	// The custom name servers. If this field is not specified, the default name servers will be used.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
}

Predefined struct for user

type ModifyZoneResponse

type ModifyZoneResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneResponseParams `json:"Response"`
}

func NewModifyZoneResponse

func NewModifyZoneResponse() (response *ModifyZoneResponse)

func (*ModifyZoneResponse) FromJsonString

func (r *ModifyZoneResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneResponse) ToJsonString

func (r *ModifyZoneResponse) ToJsonString() string

type ModifyZoneResponseParams

type ModifyZoneResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyZoneSettingRequest

type ModifyZoneSettingRequest struct {
	*tchttp.BaseRequest

	// The site ID to be modified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Cache expiration time configuration
	// The original configuration will apply if this field is not specified.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// The node cache key configuration.
	// The original configuration will apply if this field is not specified.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The browser cache configuration.
	// The original configuration will apply if this field is not specified.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// The offline cache configuration.
	// The original configuration will apply if this field is not specified.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// The QUIC access configuration.
	// The original configuration will apply if this field is not specified.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// The POST transport configuration.
	// The original configuration will apply if this field is not specified.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// The smart compression configuration.
	// The original configuration will apply if this field is not specified.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// The HTTP2 origin-pull configuration.
	// The original configuration will apply if this field is not specified.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// The force HTTPS redirect configuration.
	// The original configuration will apply if this field is not specified.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// The HTTPS acceleration configuration.
	// The original configuration will apply if this field is not specified.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// The origin server configuration.
	// The original configuration will apply if this field is not specified.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// The smart acceleration configuration.
	// The original configuration will apply if this field is not specified.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// The WebSocket configuration.
	// The original configuration will apply if this field is not specified.
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// The origin-pull client IP header configuration.
	// The original configuration will apply if this field is not specified.
	ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	// The cache prefresh configuration.
	// The original configuration will apply if this field is not specified.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

	// The IPv6 access configuration.
	// The original configuration will apply if this field is not specified.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

func NewModifyZoneSettingRequest

func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)

func (*ModifyZoneSettingRequest) FromJsonString

func (r *ModifyZoneSettingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneSettingRequest) ToJsonString

func (r *ModifyZoneSettingRequest) ToJsonString() string

type ModifyZoneSettingRequestParams

type ModifyZoneSettingRequestParams struct {
	// The site ID to be modified.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Cache expiration time configuration
	// The original configuration will apply if this field is not specified.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// The node cache key configuration.
	// The original configuration will apply if this field is not specified.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The browser cache configuration.
	// The original configuration will apply if this field is not specified.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// The offline cache configuration.
	// The original configuration will apply if this field is not specified.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// The QUIC access configuration.
	// The original configuration will apply if this field is not specified.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// The POST transport configuration.
	// The original configuration will apply if this field is not specified.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// The smart compression configuration.
	// The original configuration will apply if this field is not specified.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// The HTTP2 origin-pull configuration.
	// The original configuration will apply if this field is not specified.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// The force HTTPS redirect configuration.
	// The original configuration will apply if this field is not specified.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// The HTTPS acceleration configuration.
	// The original configuration will apply if this field is not specified.
	Https *Https `json:"Https,omitempty" name:"Https"`

	// The origin server configuration.
	// The original configuration will apply if this field is not specified.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// The smart acceleration configuration.
	// The original configuration will apply if this field is not specified.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// The WebSocket configuration.
	// The original configuration will apply if this field is not specified.
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// The origin-pull client IP header configuration.
	// The original configuration will apply if this field is not specified.
	ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	// The cache prefresh configuration.
	// The original configuration will apply if this field is not specified.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

	// The IPv6 access configuration.
	// The original configuration will apply if this field is not specified.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

Predefined struct for user

type ModifyZoneSettingResponse

type ModifyZoneSettingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneSettingResponseParams `json:"Response"`
}

func NewModifyZoneSettingResponse

func NewModifyZoneSettingResponse() (response *ModifyZoneSettingResponse)

func (*ModifyZoneSettingResponse) FromJsonString

func (r *ModifyZoneSettingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneSettingResponse) ToJsonString

func (r *ModifyZoneSettingResponse) ToJsonString() string

type ModifyZoneSettingResponseParams

type ModifyZoneSettingResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyZoneStatusRequest

type ModifyZoneStatusRequest struct {
	*tchttp.BaseRequest

	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site status. Values:
	// <li>`false`: Disabled</li>
	// <li>`true`: Enabled</li>
	Paused *bool `json:"Paused,omitempty" name:"Paused"`
}

func NewModifyZoneStatusRequest

func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)

func (*ModifyZoneStatusRequest) FromJsonString

func (r *ModifyZoneStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneStatusRequest) ToJsonString

func (r *ModifyZoneStatusRequest) ToJsonString() string

type ModifyZoneStatusRequestParams

type ModifyZoneStatusRequestParams struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site status. Values:
	// <li>`false`: Disabled</li>
	// <li>`true`: Enabled</li>
	Paused *bool `json:"Paused,omitempty" name:"Paused"`
}

Predefined struct for user

type ModifyZoneStatusResponse

type ModifyZoneStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneStatusResponseParams `json:"Response"`
}

func NewModifyZoneStatusResponse

func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)

func (*ModifyZoneStatusResponse) FromJsonString

func (r *ModifyZoneStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyZoneStatusResponse) ToJsonString

func (r *ModifyZoneStatusResponse) ToJsonString() string

type ModifyZoneStatusResponseParams

type ModifyZoneStatusResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type NoCache

type NoCache struct {
	// Whether to enable no-cache configuration. Valid values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type NormalAction

type NormalAction struct {
	// Feature name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the feature name.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter
	Parameters []*RuleNormalActionParams `json:"Parameters,omitempty" name:"Parameters"`
}

type OfflineCache

type OfflineCache struct {
	// Whether offline cache is enabled. Valid values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Origin

type Origin struct {
	// Primary origin server list
	// Note: This field may return null, indicating that no valid values can be obtained.
	Origins []*string `json:"Origins,omitempty" name:"Origins"`

	// The list of backup origin servers.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupOrigins []*string `json:"BackupOrigins,omitempty" name:"BackupOrigins"`

	// Origin-pull protocol configuration. Values:
	// <li>`http`: Force HTTP for origin-pull.</li>
	// <li>`follow`: Follow protocol.</li>
	// <li>`https`: Force HTTPS for origin-pull. This only supports port 443 on the origin server.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`

	// When OriginType is COS, you can specify if access to private buckets is allowed.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CosPrivateAccess *string `json:"CosPrivateAccess,omitempty" name:"CosPrivateAccess"`
}

type PlanInfo

type PlanInfo struct {
	// Settlement currency. Values:
	// <li>`CNY`: Settled by Chinese RMB;</li>
	// <li>`USD`: Settled by US dollars.</li>
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// Traffic quota of the plan. It includes the traffic for security acceleration, content acceleration and smart acceleration. Unit: byte.
	Flux *uint64 `json:"Flux,omitempty" name:"Flux"`

	// Settlement cycle. Values:
	// <li>`y`: Settled by year;</li>
	// <li>`m`: Settled by month;</li>
	// <li>`h`: Settled by hour;</li>
	// <li>`M`: Settled by minute;</li>
	// <li>`s`: Settled by second.</li>
	Frequency *string `json:"Frequency,omitempty" name:"Frequency"`

	// Plan option. Values:
	// <li>`sta`: Standard plan that supports content delivery network outside Chinese mainland;</li>
	// <li>`sta_with_bot`: Standard plan that supports content delivery network outside Chinese mainland and bot management;</li>
	// <li>`sta_cm`: Standard plan that supports content delivery network inside Chinese mainland;</li>
	// <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside Chinese mainland and bot management;</li>
	// <li>`ent`: Enterprise plan that supports content delivery network outside Chinese mainland;</li>
	// <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside Chinese mainland and bot management;</li>
	// <li>`ent_cm`: Enterprise plan that supports content delivery network inside Chinese mainland;</li>
	// <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside Chinese mainland and bot management.</li>
	PlanType *string `json:"PlanType,omitempty" name:"PlanType"`

	// Plan price (in CNY fen/US cent). The price unit depends on the settlement currency.
	Price *float64 `json:"Price,omitempty" name:"Price"`

	// Quota on security acceleration requests
	Request *uint64 `json:"Request,omitempty" name:"Request"`

	// Number of sites to be bound to the plan
	SiteNumber *uint64 `json:"SiteNumber,omitempty" name:"SiteNumber"`

	// Acceleration region. Values:
	// <li>`mainland`: Chinese mainland;</li>
	// <li>`overseas`: Global (Chinese mainland not included).</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type PostMaxSize

type PostMaxSize struct {
	// Whether to enable POST upload limit (default limit: 32 MB). Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Maximum size. Value range: 1-500 MB.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"`
}

type QueryCondition

type QueryCondition struct {
	// The key of QueryCondition.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The conditional operator. Values:
	// <li>`equals`: Equal to;</li>
	// <li>`notEquals`: Not equal to;</li>
	// <li>`include`: Contain;</li>
	// <li>`notInclude`: Not contain;</li>
	// <li>`startWith`: Start with;</li>
	// <li>`notStartWith`: Not start with;</li>
	// <li>`endWith`: End with;</li>
	// <li>`notEndWith`: Not end with.</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// The value of QueryCondition.
	Value []*string `json:"Value,omitempty" name:"Value"`
}

type QueryString

type QueryString struct {
	// Whether to use `QueryString` as part of `CacheKey`. Values:
	// <li>`on`: Yes</li>
	// <li>`off`: No</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Specifies how to use query strings in the cache key. Values:
	// <li>`includeCustom`: `Include partial query strings.</li>
	// <li>`excludeCustom`: Exclude partial query strings.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Array of query strings used/excluded
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value []*string `json:"Value,omitempty" name:"Value"`
}

type Quic

type Quic struct {
	// Whether to enable QUIC. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Quota

type Quota struct {
	Batch *int64 `json:"Batch,omitempty" name:"Batch"`

	// Daily submission quota limit.
	Daily *int64 `json:"Daily,omitempty" name:"Daily"`

	// Remaining daily submission quota.
	DailyAvailable *int64 `json:"DailyAvailable,omitempty" name:"DailyAvailable"`

	// Quota type. Values:
	// <li>`purge_prefix`: Purge prefixes;</li>
	// <li>`purge_url`: Purge URLs;</li>
	// <li>`purge_host`: Purge hostnames;</li>
	// <li>`purge_all`: Purge all caches.</li>
	Type *string `json:"Type,omitempty" name:"Type"`
}

type ReclaimZoneRequest

type ReclaimZoneRequest struct {
	*tchttp.BaseRequest

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

func NewReclaimZoneRequest

func NewReclaimZoneRequest() (request *ReclaimZoneRequest)

func (*ReclaimZoneRequest) FromJsonString

func (r *ReclaimZoneRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReclaimZoneRequest) ToJsonString

func (r *ReclaimZoneRequest) ToJsonString() string

type ReclaimZoneRequestParams

type ReclaimZoneRequestParams struct {
	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}

Predefined struct for user

type ReclaimZoneResponse

type ReclaimZoneResponse struct {
	*tchttp.BaseResponse
	Response *ReclaimZoneResponseParams `json:"Response"`
}

func NewReclaimZoneResponse

func NewReclaimZoneResponse() (response *ReclaimZoneResponse)

func (*ReclaimZoneResponse) FromJsonString

func (r *ReclaimZoneResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReclaimZoneResponse) ToJsonString

func (r *ReclaimZoneResponse) ToJsonString() string

type ReclaimZoneResponseParams

type ReclaimZoneResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Resource

type Resource struct {
	// The resource ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Billing mode
	// `0`: Pay-as-you-go
	PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`

	// The creation time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// The effective time.
	EnableTime *string `json:"EnableTime,omitempty" name:"EnableTime"`

	// The expiration time.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// The plan status. Values:
	// <li>`normal`: Normal</li>
	// <li>`isolated`: Isolated</li>
	// <li>`destroyed`: Terminated</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// Pricing query parameter
	Sv []*Sv `json:"Sv,omitempty" name:"Sv"`

	// Whether to enable auto-renewal. Values:
	// <li>`0`: Default status.</li>
	// <li>`1`: Enable auto-renewal.</li>
	// <li>`2`: Disable auto-renewal.</li>
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// ID of the resource associated with the plan.
	PlanId *string `json:"PlanId,omitempty" name:"PlanId"`

	// The region. Values:
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`
}

type RewriteAction

type RewriteAction struct {
	// Feature name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the feature name.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter
	Parameters []*RuleRewriteActionParams `json:"Parameters,omitempty" name:"Parameters"`
}

type Rule

type Rule struct {
	// Feature execution conditions.
	// Note: If any condition in the array is met, the feature will run.
	Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`

	// Feature to be executed.
	Actions []*Action `json:"Actions,omitempty" name:"Actions"`
}

type RuleAndConditions

type RuleAndConditions struct {
	// Rule engine condition. This condition will be considered met if all items in the array are met.
	Conditions []*RuleCondition `json:"Conditions,omitempty" name:"Conditions"`
}

type RuleChoicePropertiesItem

type RuleChoicePropertiesItem struct {
	// The parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value type.
	// <li>CHOICE: The parameter value can be selected only from `Values`.</li>
	// <li>TOGGLE: The parameter value is of switch type and can be selected from `ChoicesValue`.</li>
	// <li>CUSTOM_NUM: The parameter value is a custom integer.</li>
	// <li>CUSTOM_STRING: The parameter value is a custom string.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Valid parameter values.
	// Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array.
	ChoicesValue []*string `json:"ChoicesValue,omitempty" name:"ChoicesValue"`

	// Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Min *int64 `json:"Min,omitempty" name:"Min"`

	// Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// Whether multiple values can be selected or entered.
	IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"`

	// Whether the parameter can be left empty.
	IsAllowEmpty *bool `json:"IsAllowEmpty,omitempty" name:"IsAllowEmpty"`

	// Special parameter.
	// <li>NULL: Select `NormalAction` for `RuleAction`. </li>
	// <li>If the member parameter `Id` is `Action`, select `RewirteAction` for `RuleAction`.</li>
	// <li>If the member parameter `Id` is `StatusCode`, select `CodeAction` for `RuleAction`.</li>
	ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitempty" name:"ExtraParameter"`
}

type RuleCodeActionParams

type RuleCodeActionParams struct {
	// The status code.
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// The parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RuleCondition

type RuleCondition struct {
	// Operator. Valid values:
	// <li>equal: Equal to.</li>
	// <li>notequal: Not equal to.</li>
	Operator *string `json:"Operator,omitempty" name:"Operator"`

	// Match type. Valid values:
	// <li>`host`: All</li>
	// <li>`filename`: File name</li>
	// <li>`extension`: File extension</li>
	// <li>`host`: HOST: .</li>
	// <li>`full_url`: The full URL of the current site. It must contain the HTTP protocol, host, and path.</li>
	// <li>`url`: The URL path of the current site.</li>
	Target *string `json:"Target,omitempty" name:"Target"`

	// Parameter values of the match type. Each match type has the following valid values:
	// <li>`Target=extension`:  The extension of the file, such as `jpg` and `txt`.</li>
	// <li>`Target=filename`: The file name without the extension.</li>
	// <li>`Target=host`: Values can be `all`
	// or a host, such as `www.maxx55.com`.</li>
	// <li>`Target=url`: A URL request path under the current site, such as `/example`.</li>
	// <li>`Target=full_url`: A complete URL request under the current site. It must contain the protocol, host, and path, such as `https://www.maxx55.cn/example`.</li>
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RuleExtraParameter

type RuleExtraParameter struct {
	// Parameter name. Valid values:
	// <li>`Action`: Required parameter for HTTP header modification when `RewirteAction` is selected for `RuleAction`.</li>
	// <li>`StatusCode`: Required parameter for the status code feature when `CodeAction` is selected for `RuleAction`.</li>
	Id *string `json:"Id,omitempty" name:"Id"`

	// Parameter value type.
	// <li>`CHOICE`: The parameter value can be selected only from `Values`.</li>
	// <li>`CUSTOM_NUM`: The parameter value is a custom integer.</li>
	// <li>`CUSTOM_STRING`: The parameter value is a custom string.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Valid values.
	// Note: If the value of `Id` is `StatusCode`, values in the array are all integer values. When entering a parameter value, enter the integer value of the string.
	Choices []*string `json:"Choices,omitempty" name:"Choices"`
}

type RuleItem

type RuleItem struct {
	// The rule ID.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// The rule name. It is a string that can contain 1–255 characters.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule status. Values:
	// <li>`enable`: Enabled</li>
	// <li>`disable`: Disabled</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The rule content.
	Rules []*Rule `json:"Rules,omitempty" name:"Rules"`

	// The rule priority. The greater the value, the higher the priority. The minimum value is `1`.
	RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
}

type RuleNormalActionParams

type RuleNormalActionParams struct {
	// Parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The parameter value.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RuleRewriteActionParams

type RuleRewriteActionParams struct {
	// Feature parameter name. You can call the [DescribeRulesSetting](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) API to view the requirements for entering the parameter name, which has three values:
	// <li>add: Add the HTTP header.</li>
	// <li>set: Rewrite the HTTP header.</li>
	// <li>del: Delete the HTTP header.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Parameter value
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type RulesProperties

type RulesProperties struct {
	// Parameter name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Min *int64 `json:"Min,omitempty" name:"Min"`

	// Valid parameter values.
	// Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array.
	ChoicesValue []*string `json:"ChoicesValue,omitempty" name:"ChoicesValue"`

	// Parameter value type.
	// <li>`CHOICE`: The parameter value can be selected only from `ChoicesValue`.</li>
	// <li>`TOGGLE`: The parameter value is of switch type and can be selected from `ChoicesValue`.</li>
	// <li>`OBJECT`: The parameter value is of object type, and `ChoiceProperties` indicates the attributes associated with the object type.</li>
	// <li>`CUSTOM_NUM`: Custom integer</li>
	// <li>`CUSTOM_STRING`: Custom string.</li>Note: If `OBJECT` is selected, refer to [Example 2. Create a rule with parameters of OBJECT type](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1).
	Type *string `json:"Type,omitempty" name:"Type"`

	// Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// Whether multiple values can be selected or entered.
	IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"`

	// Whether the parameter can be left empty.
	IsAllowEmpty *bool `json:"IsAllowEmpty,omitempty" name:"IsAllowEmpty"`

	// Associated configuration parameters of this parameter, which are required for API call.
	// Note: This parameter will be an empty array if no special parameters are added as optional parameters.
	ChoiceProperties []*RuleChoicePropertiesItem `json:"ChoiceProperties,omitempty" name:"ChoiceProperties"`

	// <li>NULL: No special parameters when `NormalAction` is selected for `RuleAction`.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitempty" name:"ExtraParameter"`
}

type RulesSettingAction

type RulesSettingAction struct {
	// Feature name. Valid values:
	// <li>Access URL rewrite (`AccessUrlRedirect`).</li>
	// <li>Origin-pull URL rewrite (`UpstreamUrlRedirect`).</li>
	// <li>Custom error page
	// (`ErrorPage`).</li>
	// <li>QUIC (`QUIC`).</li>
	// <li>WebSocket (`WebSocket`).</li>
	// <li>Video dragging (`VideoSeek`).</li>
	// <li>Token authentication (`Authentication`).</li>
	// <li>`CacheKey`: Custom cache key.</li>
	// <li>`Cache`: Node cache TTL.</li>
	// <li>`MaxAge`: Browser cache TTL.</li>
	// <li>`OfflineCache`: Offline cache.</li>
	// <li>`SmartRouting`: Smart acceleration.</li>
	// <li>`RangeOriginPull`: Range GETs.</li>
	// <li>`UpstreamHttp2`: HTTP/2 forwarding.</li>
	// <li>`HostHeader`: Host header rewrite.</li>
	// <li>`ForceRedirect`: Force HTTPS.</li>
	// <li>`OriginPullProtocol`: Origin-pull HTTPS.</li>
	// <li>`CachePrefresh`: Cache prefresh.</li>
	// <li>`Compression`: Smart compression.</li>
	// <li>`RequestHeader`: HTTP request header modification.</li>
	// <li>HTTP response header modification (`ResponseHeader`).</li>
	// <li>Status code cache TTL (`StatusCodeCache`).</li>
	// <li>`Hsts`.</li>
	// <li>`ClientIpHeader`.</li>
	// <li>`TlsVersion`.</li>
	// <li>`OcspStapling`.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// Parameter information
	Properties []*RulesProperties `json:"Properties,omitempty" name:"Properties"`
}

type SecClientIp

type SecClientIp struct {
	// IP of the client.
	ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`

	// Maximum QPS.
	RequestMaxQps *int64 `json:"RequestMaxQps,omitempty" name:"RequestMaxQps"`

	// Number of requests.
	RequestNum *int64 `json:"RequestNum,omitempty" name:"RequestNum"`
}

type SecEntry

type SecEntry struct {
	// The query dimension value.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The details.
	Value []*SecEntryValue `json:"Value,omitempty" name:"Value"`
}

type SecEntryValue

type SecEntryValue struct {
	// The metric name.
	Metric *string `json:"Metric,omitempty" name:"Metric"`

	// The time-series data details.
	Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`

	// The maximum value.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// The average value.
	Avg *float64 `json:"Avg,omitempty" name:"Avg"`

	// Sum
	Sum *float64 `json:"Sum,omitempty" name:"Sum"`
}

type SecHitRuleInfo

type SecHitRuleInfo struct {
	// The rule ID.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// The rule type.
	RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`

	// Action. Values:
	// <li>`trans`: Allow;</li>
	// <li>`alg`: Algorithm challenge;</li>
	// <li>`drop`: Discard;</li>
	// <li>`ban`: Block the source IP;</li>
	// <li>`redirect`: Redirect;</li>
	// <li>`page`: Return to the specified page;</li>
	// <li>`monitor`: Observe.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// The hit time recorded in seconds using UNIX timestamp.
	HitTime *int64 `json:"HitTime,omitempty" name:"HitTime"`

	// The number of requests.
	RequestNum *int64 `json:"RequestNum,omitempty" name:"RequestNum"`

	// The rule description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The subdomain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

type SecRuleRelatedInfo

type SecRuleRelatedInfo struct {
	// The rule ID.
	RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`

	// Action. Values:
	// <li>`trans`: Allow;</li>
	// <li>`alg`: Algorithm challenge;</li>
	// <li>`drop`: Discard;</li>
	// <li>`ban`: Block the source IP;</li>
	// <li>`redirect`: Redirect;</li>
	// <li>`page`: Return to the specified page;</li>
	// <li>`monitor`: Observe.</li>
	Action *string `json:"Action,omitempty" name:"Action"`

	// Risk level (only found in WAF logs). Values:
	// <li>`high risk`: High risk;</li>
	// <li>`middle risk`: Middle risk;</li>
	// <li>`low risk`: Low risk;</li>
	// <li>`unkonw`: Unknown.</li>
	RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`

	// Rule level. Values:
	// <li>`normal`: Moderate.</li>
	RuleLevel *string `json:"RuleLevel,omitempty" name:"RuleLevel"`

	// Rule description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The rule type.
	RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
}

type SecurityType

type SecurityType struct {
	// Whether to enable the security type setting. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ServerCertInfo

type ServerCertInfo struct {
	// ID of the server certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Alias of the certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Type of the certificate. Values:
	// <li>`default`: Default certificate;</lil>
	// <li>`upload`: Custom certificate;</li>
	// <li>`managed`: Tencent Cloud-managed certificate.</li>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Time when the certificate expires.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Time when the certificate is deployed.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`

	// Signature algorithm.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SignAlgo *string `json:"SignAlgo,omitempty" name:"SignAlgo"`
}

type SingleDataRecord

type SingleDataRecord struct {
	// The query dimension value.
	TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`

	// Value of the metric under the query dimension.
	TypeValue []*SingleTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}

type SingleTypeValue

type SingleTypeValue struct {
	// The metric name.
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// The metric value.
	DetailData *int64 `json:"DetailData,omitempty" name:"DetailData"`
}

type SmartRouting

type SmartRouting struct {
	// Whether to enable smart acceleration. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Sv

type Sv struct {
	// The parameter key.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The parameter value.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type SwitchLogTopicTaskRequest

type SwitchLogTopicTaskRequest struct {
	*tchttp.BaseRequest

	// Topic ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Whether to enable the shipping task. Values:
	// <li>`true`: Enable the shipping task;</li>
	// <li>`false`: Disable the shipping task.</li>
	IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"`
}

func NewSwitchLogTopicTaskRequest

func NewSwitchLogTopicTaskRequest() (request *SwitchLogTopicTaskRequest)

func (*SwitchLogTopicTaskRequest) FromJsonString

func (r *SwitchLogTopicTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchLogTopicTaskRequest) ToJsonString

func (r *SwitchLogTopicTaskRequest) ToJsonString() string

type SwitchLogTopicTaskRequestParams

type SwitchLogTopicTaskRequestParams struct {
	// Topic ID of the shipping task.
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// Whether to enable the shipping task. Values:
	// <li>`true`: Enable the shipping task;</li>
	// <li>`false`: Disable the shipping task.</li>
	IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"`
}

Predefined struct for user

type SwitchLogTopicTaskResponse

type SwitchLogTopicTaskResponse struct {
	*tchttp.BaseResponse
	Response *SwitchLogTopicTaskResponseParams `json:"Response"`
}

func NewSwitchLogTopicTaskResponse

func NewSwitchLogTopicTaskResponse() (response *SwitchLogTopicTaskResponse)

func (*SwitchLogTopicTaskResponse) FromJsonString

func (r *SwitchLogTopicTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchLogTopicTaskResponse) ToJsonString

func (r *SwitchLogTopicTaskResponse) ToJsonString() string

type SwitchLogTopicTaskResponseParams

type SwitchLogTopicTaskResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Tag

type Tag struct {
	// The tag key.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// The tag value.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type Task

type Task struct {
	// ID of the task.
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Status of the task.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Resource.
	Target *string `json:"Target,omitempty" name:"Target"`

	// Type of the task.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Creation time of the task.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Completion time of the task.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type TimingDataItem

type TimingDataItem struct {
	// The query time recorded in seconds using UNIX timestamp.
	Timestamp *int64 `json:"Timestamp,omitempty" name:"Timestamp"`

	// The value.
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type TimingDataRecord

type TimingDataRecord struct {
	// The query dimension value.
	TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`

	// Detailed time series data
	TypeValue []*TimingTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}

type TimingTypeValue

type TimingTypeValue struct {
	// Sum.
	Sum *int64 `json:"Sum,omitempty" name:"Sum"`

	// The maximum value.
	Max *int64 `json:"Max,omitempty" name:"Max"`

	// The average value.
	Avg *int64 `json:"Avg,omitempty" name:"Avg"`

	// Metric name.
	MetricName *string `json:"MetricName,omitempty" name:"MetricName"`

	// Details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`
}

type TopDataRecord

type TopDataRecord struct {
	// The query dimension value.
	TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`

	// Top data rankings
	DetailData []*TopDetailData `json:"DetailData,omitempty" name:"DetailData"`
}

type TopDetailData

type TopDetailData struct {
	// The field name.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The field value.
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type TopEntry

type TopEntry struct {
	// The query dimension value.
	Key *string `json:"Key,omitempty" name:"Key"`

	// The details.
	Value []*TopEntryValue `json:"Value,omitempty" name:"Value"`
}

type TopEntryValue

type TopEntryValue struct {
	// The item name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// The number of items.
	Count *int64 `json:"Count,omitempty" name:"Count"`
}

type UpstreamHttp2

type UpstreamHttp2 struct {
	// Whether to enable HTTP2 origin-pull. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type VanityNameServers

type VanityNameServers struct {
	// Whether to enable custom name servers. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// List of custom name servers
	Servers []*string `json:"Servers,omitempty" name:"Servers"`
}

type VanityNameServersIps

type VanityNameServersIps struct {
	// Custom name of the name server
	Name *string `json:"Name,omitempty" name:"Name"`

	// IPv4 address of the custom name server
	IPv4 *string `json:"IPv4,omitempty" name:"IPv4"`
}

type Waf

type Waf struct {
	// Whether to enable WAF. Values:
	// <li>`on`: Enable</li>
	// <li>`off`: Disable</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// ID of the policy
	PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}

type WebLogs

type WebLogs struct {
	// The attack event ID.
	EventId *string `json:"EventId,omitempty" name:"EventId"`

	// The attacker IP.
	AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`

	// The attacked subdomain name.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The HTTP log content.
	HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`

	// The country code of the attacker IP, which is defined in ISO-3166 alpha-2. For the list of country codes, see [ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json).
	SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"`

	// The attack time recorded in seconds using UNIX timestamp.
	AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`

	// The request address.
	RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`

	// The attack content.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`

	// The security rule information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`

	// The request type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ReqMethod *string `json:"ReqMethod,omitempty" name:"ReqMethod"`
}

type WebSocket

type WebSocket struct {
	// Whether to enable WebSocket connection timeout. Values:
	// <li>`on`: The field "Timeout" can be configured.</li>
	// <li>`off`: The field "Timeout" is fixed to 15 seconds.</li>
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// The timeout period in seconds. Maximum value: 120.
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`
}

type Zone

type Zone struct {
	// The site ID.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// The site name.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// List of name servers used by the site
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// The list of name servers assigned by Tencent Cloud.
	NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`

	// The site status. Values:
	// <li>`active`: The name server is switched.</li>
	// <li>`pending`: The name server is not switched.</li>
	// <li>`moved`: The name server is moved.</li>
	// <li>`deactivated`: The site is blocked.</li>
	Status *string `json:"Status,omitempty" name:"Status"`

	// The site access method. Values:
	// <li>`full`: Access through a name server.</li>
	// <li>`partial`: Access through a CNAME record.</li>
	Type *string `json:"Type,omitempty" name:"Type"`

	// Whether the site is disabled.
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// Whether CNAME flattening is enabled. Valid values:
	// <li>`enabled`: Enabled.</li>
	// <li>`disabled`: Disabled.</li>
	CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"`

	// CNAME record access status. Values:
	// <li>`finished`: The site is verified.</li>
	// <li>`pending`: The site is being verified.</li>
	CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`

	// The list of resource tags.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// The list of billable resources.
	Resources []*Resource `json:"Resources,omitempty" name:"Resources"`

	// The creation time of the site.
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// The modification date of the site.
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// The site access region. Values:
	// <li>`global`: Global.</li>
	// <li>`mainland`: Chinese mainland.</li>
	// <li>`overseas`: Outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// The custom name server information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`

	// The custom name server IP information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitempty" name:"VanityNameServersIps"`
}

type ZoneSetting

type ZoneSetting struct {
	// Name of the site
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Site acceleration region. Values:
	// <li>`mainland`: Acceleration in the Chinese mainland.</li>
	// <li>`overseas`: Acceleration outside the Chinese mainland.</li>
	Area *string `json:"Area,omitempty" name:"Area"`

	// Node cache key configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// The QUIC access configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// The POST transport configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// Smart compression configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// HTTP2 origin-pull configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

	// Cache expiration time configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`

	// Origin server configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// Smart acceleration configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// Browser cache configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// The offline cache configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// WebSocket configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// Origin-pull client IP header configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	// Cache prefresh configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

	// IPv6 access configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`

	// HTTPS acceleration configuration
	// Note: This field may return null, indicating that no valid values can be obtained.
	Https *Https `json:"Https,omitempty" name:"Https"`

	ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL