models

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {

	/*  (Optional) */
	Timestamp string `json:"timestamp"`

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	Country string `json:"country"`

	/*  (Optional) */
	HttpMethod string `json:"httpMethod"`

	/*  (Optional) */
	Host string `json:"host"`

	/*  (Optional) */
	RequestUri string `json:"requestUri"`

	/*  (Optional) */
	HttpProtocol string `json:"httpProtocol"`

	/*  (Optional) */
	ResponseStatus int `json:"responseStatus"`

	/*  (Optional) */
	ResponseBytes int `json:"responseBytes"`
}

type Account

type Account struct {

	/* 帐户标识符标签 (Optional) */
	Id *string `json:"id"`

	/* 帐户名 (Optional) */
	Name *string `json:"name"`
}

type AccountInfo

type AccountInfo struct {

	/* id (Optional) */
	Id string `json:"id"`

	/* 名称 (Optional) */
	Name string `json:"name"`
}

type AclTopN added in v1.60.0

type AclTopN struct {

	/* 来源ip的top10 (Optional) */
	Addr_top10 []TopValue `json:"addr_top10"`

	/* acl规则匹配top10 (Optional) */
	Rulename_top10 []TopValue `json:"rulename_top10"`
}

type Action

type Action struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Value interface{} `json:"value"`
}

type Action_parameters

type Action_parameters struct {

	/*  (Optional) */
	Uri *Uri `json:"uri"`
}

type ActivityLog

type ActivityLog struct {

	/*  (Optional) */
	Timestamp string `json:"timestamp"`

	/*  (Optional) */
	FirewallAction string `json:"firewallAction"`

	/*  (Optional) */
	Country string `json:"country"`

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	Host string `json:"host"`

	/*  (Optional) */
	HttpMethod string `json:"httpMethod"`

	/*  (Optional) */
	HttpProtocol string `json:"httpProtocol"`

	/*  (Optional) */
	RequestUri string `json:"requestUri"`

	/*  (Optional) */
	FirewallSource string `json:"firewallSource"`

	/*  (Optional) */
	UserAgent string `json:"userAgent"`

	/*  (Optional) */
	RuleId string `json:"ruleId"`

	/*  (Optional) */
	Group string `json:"group"`

	/*  (Optional) */
	RuleMessage string `json:"ruleMessage"`
}

type Advanced

type Advanced struct {

	/* 分配数量 (Optional) */
	Allocated int `json:"allocated"`

	/* 已使用数量 (Optional) */
	Used int `json:"used"`
}

type AdvancedDDoSProtection

type AdvancedDDoSProtection struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type AlwaysOnlineMode

type AlwaysOnlineMode struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type AnalyticsReportingFilter

type AnalyticsReportingFilter struct {

	/* 过滤条件的名称。有效值:
	HttpHost/URI/ResponseStatusCode/ClientDeviceType/
	ServedBy/CacheStatus/ClientHttpMethod/ResponseContentType/
	ASN/IP/ClientHttpProtocol/FirewallSource/UserAgent/RuleId
	 (Optional) */
	Name string `json:"name"`

	/* 过滤条件的操作符 (Optional) */
	Operator string `json:"operator"`

	/* 过滤条件的值 (Optional) */
	Values []string `json:"values"`
}

type AntiEvent added in v1.60.0

type AntiEvent struct {

	/* 源ip (Optional) */
	RemoteAddr string `json:"remoteAddr"`

	/* 情报标签 (Optional) */
	CsaInfo string `json:"csaInfo"`

	/* 风险等级 (Optional) */
	RiskLevel string `json:"riskLevel"`

	/* 来源地区 (Optional) */
	Area string `json:"area"`

	/* 产生时间 (Optional) */
	AccessTime int64 `json:"accessTime"`

	/* 方法 (Optional) */
	Method string `json:"method"`

	/* 攻击类型 (Optional) */
	AttackType string `json:"attackType"`

	/* url (Optional) */
	Url string `json:"url"`

	/* 恶意负载 (Optional) */
	PayLoad string `json:"payLoad"`

	/* 动作 (Optional) */
	Action string `json:"action"`

	/* 规则名称 (Optional) */
	RuleName string `json:"ruleName"`

	/* 日志Id (Optional) */
	LogId string `json:"logId"`

	/* 该信息是否已上报AI平台,0表示否 (Optional) */
	IsReported int `json:"isReported"`

	/* 实例id (Optional) */
	WafInstanceId string `json:"wafInstanceId"`

	/* 状态码 (Optional) */
	Status string `json:"status"`

	/* 状态标识 (Optional) */
	UpstreamErr string `json:"upstreamErr"`

	/* 是否已加入白名单,0表示否 (Optional) */
	SkipExist int `json:"skipExist"`

	/* 是否已加入黑名单,0表示否 (Optional) */
	DenyExist int `json:"denyExist"`

	/* 攻击详情 (Optional) */
	AntiReqRaw string `json:"antiReqRaw"`
}

type AntiValue added in v1.60.0

type AntiValue struct {

	/* web攻击 (Optional) */
	WafAnti int `json:"wafAnti"`

	/* cc攻击 (Optional) */
	CcAnti int `json:"ccAnti"`

	/* 自定义攻击 (Optional) */
	AclAnti int `json:"aclAnti"`

	/* bot攻击 (Optional) */
	BotAnti int `json:"botAnti"`
}

type Auto_MinifyAssets

type Auto_MinifyAssets struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Value Value_0_0 `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type AvailablePageRule

type AvailablePageRule struct {

	/* 设置名称 (Optional) */
	Id string `json:"id"`

	/* 值的类型 (Optional) */
	Properties []string `json:"properties"`
}

type Bandwidth

type Bandwidth struct {

	/* The total number of bytes served within the time frame (Optional) */
	All int `json:"all"`

	/*  (Optional) */
	All_beautified string `json:"all_beautified"`

	/* The number of bytes that were cached (and served) by scdn (Optional) */
	Cached int `json:"cached"`

	/*  (Optional) */
	Cached_beautified string `json:"cached_beautified"`

	/*  (Optional) */
	CachedPercentage string `json:"cachedPercentage"`
}

type BotTopN added in v1.60.0

type BotTopN struct {

	/* 来源ip的top10 (Optional) */
	Addr_top10 []TopValue `json:"addr_top10"`

	/* 攻击路径top10 (Optional) */
	Url_top10 []TopValue `json:"url_top10"`
}

type Bps added in v1.60.0

type Bps struct {

	/*  (Optional) */
	UpBps ChartItemValue `json:"upBps"`

	/*  (Optional) */
	DownBps ChartItemValue `json:"downBps"`
}

type BrotliCompression

type BrotliCompression struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type BrowserCacheTTL

type BrowserCacheTTL struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该配置的有效值 (Optional) */
	Value int `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type BrowserCheck

type BrowserCheck struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type CAAdata

type CAAdata struct {

	/*  (Optional) */
	Flags *int `json:"flags"`

	/*  (Optional) */
	Tag *string `json:"tag"`

	/*  (Optional) */
	Value *string `json:"value"`
}

type CcTopN added in v1.60.0

type CcTopN struct {

	/* 来源ip的top10 (Optional) */
	Addr_top10 []TopValue `json:"addr_top10"`

	/* 攻击路径top10 (Optional) */
	Url_top10 []TopValue `json:"url_top10"`
}

type CdnBandwidthMax added in v1.60.0

type CdnBandwidthMax struct {

	/* 带宽峰值,单位bps(bit per second) (Optional) */
	Value float64 `json:"value"`

	/* 带宽峰值的发生时间。值为时间戳对应的long值。 (Optional) */
	Timestamp int `json:"timestamp"`
}

type CdnSingleMetric added in v1.60.0

type CdnSingleMetric struct {

	/* 单指标的值
	如果是带宽,值的单位是bps(bit per second)
	如果是流量,值的单位是Byte
	如果是请求量,值的单位是次数
	 (Optional) */
	Value float64 `json:"value"`
}

type CdnZoneBandwidth added in v1.60.0

type CdnZoneBandwidth struct {

	/* 域名 (Optional) */
	ZoneName string `json:"zoneName"`

	/* 带宽峰值,单位bps(bit per second) (Optional) */
	MaxBPS float64 `json:"maxBPS"`

	/* 带宽峰值的发生时间。值为时间戳对应的long值。 (Optional) */
	MaxBpsTs int `json:"maxBpsTs"`

	/* 总流量,单位Byte (Optional) */
	TrafficSum float64 `json:"trafficSum"`

	/* 总请求量,单位次数 (Optional) */
	RequestSum float64 `json:"requestSum"`
}

type Certificate

type Certificate struct {

	/* 在请求中使用证书的顺序/优先级。
	(Optional) */
	Priority int `json:"priority"`

	/* 来自授权机构的证书过期时间 (Optional) */
	Expires_on string `json:"expires_on"`

	/*  (Optional) */
	Hosts []string `json:"hosts"`

	/* 域标识符标签 (Optional) */
	Zone_id string `json:"zone_id"`

	/* 证书的状态,值active/expired/deleted/pending/initializing (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	Geo_restrictions Geo_restrictions `json:"geo_restrictions"`

	/* 上次修改证书的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 用于证书的哈希类型 (Optional) */
	Signature string `json:"signature"`

	/* 颁发证书的证书颁发机构 (Optional) */
	Issuer string `json:"issuer"`

	/* 自定义证书标识符标签 (Optional) */
	Id string `json:"id"`

	/* 证书上载到星盾的时间 (Optional) */
	Uploaded_on string `json:"uploaded_on"`

	/* SSL泛捆绑在各处有着最高的概率被验证,甚至能被使用过时的或不寻常的信任存储的客户端验证。
	最佳捆绑使用最短的认证链和最新的中间证书。
	而强制捆绑会验证证书链,但不以其他方式修改证书链。
	 (Optional) */
	Bundle_method string `json:"bundle_method"`
}

type CertificatePack

type CertificatePack struct {

	/* 证书颁发机构 (Optional) */
	Certificate_authority string `json:"certificate_authority"`

	/* 创建时间 (Optional) */
	Created_on string `json:"created_on"`

	/* 证书包的唯一标识符 (Optional) */
	Id string `json:"id"`

	/* 证书包的类型,有效值universal/sni_custom/advanced
	universal    通用
	sni_custom   自定义
	advanced     专用
	 (Optional) */
	Type string `json:"type"`

	/* 证书包的类型,有效值universal/sni_custom/advanced
	universal    通用
	sni_custom   自定义
	advanced     专用
	(值同type)
	 (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 证书包的状态,active/expired/deleted/pending/initializing (Optional) */
	Status string `json:"status"`

	/* 校验方式,http/txt (Optional) */
	Validation_method string `json:"validation_method"`

	/*  (Optional) */
	Validation_records []Validation_record `json:"validation_records"`

	/* 有效期 (Optional) */
	Validity_days int `json:"validity_days"`

	/* 证书包的有效主机名的逗号分隔列表。必须包含域的顶级域名,不能包含超过50个主机,并且不能为空。 (Optional) */
	Hosts []string `json:"hosts"`

	/*  (Optional) */
	Certificates []Certificate `json:"certificates"`

	/* 包中主证书的标识符 (Optional) */
	Primary_certificate string `json:"primary_certificate"`
}

type ChallengePageTTL

type ChallengePageTTL struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该设置的有效值 (Optional) */
	Value int `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type ChangePoPStatusConfig

type ChangePoPStatusConfig struct {

	/*  (Optional) */
	RoutingModes RoutingModes `json:"routingModes"`

	/*  (Optional) */
	ServiceLevels ServiceLevels `json:"serviceLevels"`
}

type ChartItemValue added in v1.60.0

type ChartItemValue struct {

	/*  (Optional) */
	Value []int64 `json:"value"`
}

type CloudflareCacheLevel

type CloudflareCacheLevel struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该设置的有效值 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type Constraint

type Constraint struct {

	/*  (Optional) */
	Operator string `json:"operator"`

	/*  (Optional) */
	Value string `json:"value"`
}

type ContactGroupRes

type ContactGroupRes struct {

	/*  (Optional) */
	Id int64 `json:"id"`

	/*  (Optional) */
	Name string `json:"name"`
}

type ContactUserRes

type ContactUserRes struct {

	/*  (Optional) */
	Id int64 `json:"id"`

	/*  (Optional) */
	Name string `json:"name"`
}

type CustomPage

type CustomPage struct {

	/* 自定义页面类型的名称 (Optional) */
	Id string `json:"id"`

	/* 创建自定义页面时间 (Optional) */
	Created_on string `json:"created_on"`

	/* 上次修改自定义页面的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 与自定义页面关联的URL。 (Optional) */
	Url string `json:"url"`

	/* 自定义页面状态 (Optional) */
	State string `json:"state"`

	/* 自定义HTML页面中必须存在的字符串标记 (Optional) */
	Required_tokens []string `json:"required_tokens"`

	/* 预览自定义页面时,需要将“target”作为查询字符串的一部分 (Optional) */
	Preview_target string `json:"preview_target"`

	/* 自定义页面的简短描述。 (Optional) */
	Description string `json:"description"`
}

type CustomSSL

type CustomSSL struct {

	/* 在请求中使用证书的顺序/优先级。
	(Optional) */
	Priority int `json:"priority"`

	/*  (Optional) */
	Keyless_server Keyless_server `json:"keyless_server"`

	/* 来自授权机构的证书过期时间 (Optional) */
	Expires_on string `json:"expires_on"`

	/*  (Optional) */
	Hosts []string `json:"hosts"`

	/* 域标识符标签 (Optional) */
	Zone_id string `json:"zone_id"`

	/* 域的自定义SSL的状态,
	active              激活
	expired             已过期
	deleted             已删除
	pending             待处理
	pending_validation  待验证
	pending_issuance    待签发
	pending_deployment  待部署
	holding_deployment  等待部署
	initializing        初始化
	inactive            未激活
	 (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	Geo_restrictions Geo_restrictions `json:"geo_restrictions"`

	/* 上次修改证书的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 用于证书的哈希类型 (Optional) */
	Signature string `json:"signature"`

	/* 颁发证书的证书颁发机构 (Optional) */
	Issuer string `json:"issuer"`

	/* 自定义证书标识符标签 (Optional) */
	Id string `json:"id"`

	/* 证书上载到星盾的时间 (Optional) */
	Uploaded_on string `json:"uploaded_on"`

	/* 合法值ubiquitous/optimal/force,默认值ubiquitous。
	ubiquitous:SSL泛捆绑在各处有着最高的概率被验证,甚至能被使用过时的或不寻常的信任存储的客户端验证。
	optimal:最佳捆绑使用最短的认证链和最新的中间证书。
	force:强制捆绑会验证证书链,但不以其他方式修改证书链。
	 (Optional) */
	Bundle_method string `json:"bundle_method"`
}

type Data

type Data struct {

	/* 位置的大小(米) (Optional) */
	Size int `json:"size"`

	/* 位置高度(米) (Optional) */
	Altitude int `json:"altitude"`

	/* 经度 (Optional) */
	Long_degrees int `json:"long_degrees"`

	/* 纬度 (Optional) */
	Lat_degrees int `json:"lat_degrees"`

	/* 水平定位精度 (Optional) */
	Precision_horz int `json:"precision_horz"`

	/* 垂直定位精度 (Optional) */
	Precision_vert int `json:"precision_vert"`

	/* 经度方向 (Optional) */
	Long_direction string `json:"long_direction"`

	/* 经度分 (Optional) */
	Long_minutes int `json:"long_minutes"`

	/* 经度秒 (Optional) */
	Long_seconds int `json:"long_seconds"`

	/* 纬度方向 (Optional) */
	Lat_direction string `json:"lat_direction"`

	/* 纬度分 (Optional) */
	Lat_minutes int `json:"lat_minutes"`

	/* 纬度秒 (Optional) */
	Lat_seconds int `json:"lat_seconds"`

	/* 以下划线为前缀的服务类型 (Optional) */
	Service string `json:"service"`

	/* 有效的协议 (Optional) */
	Proto string `json:"proto"`

	/* 有效的主机名 (Optional) */
	Name string `json:"name"`

	/* 与一些记录如MX和SRV一起使用,以确定优先级。如果你没有为MX记录提供一个优先级,默认值为0将被设置。 (Optional) */
	Priority int `json:"priority"`

	/* 记录的权重 (Optional) */
	Weight int `json:"weight"`

	/* 服务的端口 (Optional) */
	Port int `json:"port"`

	/* 有效的主机名 (Optional) */
	Target string `json:"target"`

	/* 类型 (Optional) */
	Ty_pe int `json:"ty_pe"`

	/* Key Tag (Optional) */
	Key_tag int `json:"key_tag"`

	/* Algorithm (Optional) */
	Algorithm int `json:"algorithm"`

	/* 证书 (Optional) */
	Certificate string `json:"certificate"`

	/* Flags (Optional) */
	Flags int `json:"flags"`

	/* 协议 (Optional) */
	Protocol int `json:"protocol"`

	/* 公钥 (Optional) */
	Public_key string `json:"public_key"`

	/* 摘要类型 (Optional) */
	Digest_type int `json:"digest_type"`

	/* 摘要 (Optional) */
	Digest string `json:"digest"`

	/* Order (Optional) */
	Order int `json:"order"`

	/* Preference (Optional) */
	Preference int `json:"preference"`

	/* Regex (Optional) */
	Regex string `json:"regex"`

	/* Replacement (Optional) */
	Replacement string `json:"replacement"`

	/* Usage (Optional) */
	Usage int `json:"usage"`

	/* Selector (Optional) */
	Selector int `json:"selector"`

	/* Matching Type (Optional) */
	Matching_type int `json:"matching_type"`

	/* 指纹 (Optional) */
	Fingerprint string `json:"fingerprint"`

	/* 记录内容 (Optional) */
	Content string `json:"content"`
}

type DateHistogram

type DateHistogram struct {

	/* 项的名称 (Optional) */
	Name string `json:"name"`

	/* 数据点集合。
	如果是带宽,数据点的单位是bps(bit per second)
	如果是流量,数据点的单位是Byte
	如果是请求量,数据点的单位是次数
	 (Optional) */
	Timeseries []float64 `json:"timeseries"`

	/*  (Optional) */
	Unit string `json:"unit"`

	/* 如果是带宽,它的单位是bps(bit per second),代表数据点中的最大值。
	如果是流量,它的单位是Byte,代表数据点流量之和。
	如果是请求量,它的单位是次数,代表数据点请求量之和。
	 (Optional) */
	Total float64 `json:"total"`
}

type DelRulesReq added in v1.60.0

type DelRulesReq struct {

	/* 要删除的id  */
	Ids []int `json:"ids"`

	/* 类型 (Optional) */
	RuleType string `json:"ruleType"`
}

type DescribeBanG2CZoneStatusRes

type DescribeBanG2CZoneStatusRes struct {

	/* 域名 (Optional) */
	Name string `json:"name"`

	/* 封禁原因 (Optional) */
	Reason int `json:"reason"`
}

type DescribeCandidateZoneRes

type DescribeCandidateZoneRes struct {

	/*  (Optional) */
	Name string `json:"name"`
}

type DescribeDomainAlarmRes

type DescribeDomainAlarmRes struct {

	/* 告警规则ID (Optional) */
	Id int64 `json:"id"`

	/* 规则名称 (Optional) */
	RuleName string `json:"ruleName"`

	/* 告警类型 WEB_ATTACK->网站攻击 CC_ATTACK->CC攻击 DDOS_ATTACK->DDOS攻击 STATUS_CODE_ERROR->状态码错误 UPSTREAM_STATUS->回源IP异常告警 (Optional) */
	AlarmType string `json:"alarmType"`

	/* warnType为statusCode时为要检测的状态码 (Optional) */
	DetectItems []string `json:"detectItems"`

	/* 阈值单位,""-个数,"percent"-百分比。缺省为个数 (Optional) */
	Unit string `json:"unit"`

	/* 统计周期 (Optional) */
	StatCycle int `json:"statCycle"`

	/* 统计周期单位 (Optional) */
	StatCycleUnit string `json:"statCycleUnit"`

	/* 统计阈值 (Optional) */
	StatThreshold int64 `json:"statThreshold"`

	/* 告警次数限制 (Optional) */
	AlarmTimesLimit int `json:"alarmTimesLimit"`

	/* 发送短信开关 (Optional) */
	SmsEnable bool `json:"smsEnable"`

	/* 发送邮件开关 (Optional) */
	EmailEnable bool `json:"emailEnable"`

	/* 发送站内信开关 (Optional) */
	WebMsEnable bool `json:"webMsEnable"`

	/* 规则开关 (Optional) */
	Enable bool `json:"enable"`

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 域名 (Optional) */
	Domains []string `json:"domains"`

	/* 告警联系人 (Optional) */
	ContactUsers []int64 `json:"contactUsers"`

	/* 告警联系组 (Optional) */
	ContactGroups []int64 `json:"contactGroups"`
}

type DescribeGlobalAlarmRes

type DescribeGlobalAlarmRes struct {

	/* 告警规则ID (Optional) */
	Id int64 `json:"id"`

	/* 告警类型 WEB_ATTACK->网站攻击 CC_ATTACK->CC攻击 DDOS_ATTACK->DDOS攻击 STATUS_CODE_ERROR->状态码错误 (Optional) */
	AlarmType string `json:"alarmType"`

	/* 统计周期 (Optional) */
	StatCycle int `json:"statCycle"`

	/* 统计周期单位 (Optional) */
	StatCycleUnit string `json:"statCycleUnit"`

	/* 统计阈值 (Optional) */
	StatThreshold int64 `json:"statThreshold"`

	/* 告警次数限制 (Optional) */
	AlarmTimesLimit int `json:"alarmTimesLimit"`

	/* 发送短信开关 (Optional) */
	SmsEnable bool `json:"smsEnable"`

	/* 发送邮件开关 (Optional) */
	EmailEnable bool `json:"emailEnable"`

	/* 发送站内信开关 (Optional) */
	WebMsEnable bool `json:"webMsEnable"`

	/* 规则开关 (Optional) */
	Enable bool `json:"enable"`

	/* 告警联系人 (Optional) */
	ContactUsers []int64 `json:"contactUsers"`

	/* 告警联系组 (Optional) */
	ContactGroups []int64 `json:"contactGroups"`
}

type DescribeInstancesRes

type DescribeInstancesRes struct {

	/* 实例ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 计费状态 (Optional) */
	ChargeState string `json:"chargeState"`

	/* 域名增量包数量 (Optional) */
	ZonePackNum int `json:"zonePackNum"`

	/* 流量包数量 (Optional) */
	TrafficExpansion int `json:"trafficExpansion"`

	/* 已使用流量(单位:Byte) (Optional) */
	FlowUsedCnt int `json:"flowUsedCnt"`

	/* 剩余流量(单位:Gb) (Optional) */
	FlowRemain float64 `json:"flowRemain"`

	/* 套餐总流量 (Optional) */
	TotalFlowStr string `json:"totalFlowStr"`

	/* 套餐已使用流量 (Optional) */
	UsedFlowStr string `json:"usedFlowStr"`

	/* 套餐剩余流量 (Optional) */
	RemainingFlowStr string `json:"remainingFlowStr"`

	/* 套餐模式(BASE->基础套餐 FLOW->流量套餐) (Optional) */
	PackMode string `json:"packMode"`

	/* 备注 (Optional) */
	Memo string `json:"memo"`

	/* 购买时间, UTC时间格式,例如2017-11-10T23:00:00Z (Optional) */
	CreateTime string `json:"createTime"`

	/* 到期时间, UTC时间格式,例如2017-11-10T23:00:00Z (Optional) */
	ExpireTime string `json:"expireTime"`

	/* 套餐信息 (Optional) */
	PackageInfo DescribePackRes `json:"packageInfo"`
}

type DescribeOssRes added in v1.60.0

type DescribeOssRes struct {

	/* oss唯一id (Optional) */
	Id int `json:"id"`

	/* 域名 (Optional) */
	ZoneName string `json:"zoneName"`

	/* 文件名称(oss key日期) (Optional) */
	FileName string `json:"fileName"`

	/* 数据集类型(0-默认 1-logpush) (Optional) */
	DatasetType int `json:"datasetType"`

	/* 数据集事件(0-http事件 1-firewall事件) (Optional) */
	Event int `json:"event"`

	/* 时间间隔类型(0->天 1->小时) (Optional) */
	IntervalType int `json:"intervalType"`

	/* 文件格式(0->gz) (Optional) */
	LogType int `json:"logType"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 日志数量 (Optional) */
	TotalCount int `json:"totalCount"`

	/* 原始字节大小 (Optional) */
	ByteCount string `json:"byteCount"`

	/* 压缩文件大小 (Optional) */
	GzipByteCount string `json:"gzipByteCount"`

	/* 处理最后一个数据时间 (Optional) */
	LastTime string `json:"lastTime"`

	/* oss key (Optional) */
	OssKey string `json:"ossKey"`
}

type DescribeOssUrlRes added in v1.60.0

type DescribeOssUrlRes struct {

	/* 日志下载的url (Optional) */
	Url string `json:"url"`
}

type DescribePackRes

type DescribePackRes struct {

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 套餐模型(BASE->基础版 FLOW->流量版) (Optional) */
	PackMode string `json:"packMode"`

	/* 套餐流量 (Optional) */
	FlowLimit int64 `json:"flowLimit"`

	/* 可添加域名总数 (Optional) */
	AvailableZoneNum int `json:"availableZoneNum"`

	/* 业务带宽 (Optional) */
	CdnSpeedTraffic int `json:"cdnSpeedTraffic"`

	/* DDoS攻击防护(L4) (Optional) */
	DdosBaseProtect int `json:"ddosBaseProtect"`

	/* 是否支持DDoS弹性防护 (Optional) */
	DdosElasticProtect bool `json:"ddosElasticProtect"`

	/* 是否提供免费证书 (Optional) */
	FreeCert bool `json:"freeCert"`

	/* 是否支持BOT功能 (Optional) */
	BotManage bool `json:"botManage"`

	/* 是否支持WAF (Optional) */
	Waf bool `json:"waf"`

	/* 自定义上传证书数量 (Optional) */
	CustomUploadCert int `json:"customUploadCert"`

	/* 单节点CC攻击QPS (Optional) */
	CcAttackQpsSingle int `json:"ccAttackQpsSingle"`

	/* CC攻击QPS总量 (Optional) */
	CcAttackQpsTotal int `json:"ccAttackQpsTotal"`

	/* 独享IP数量 (Optional) */
	DedicatedIp int `json:"dedicatedIp"`

	/* 可用节点数量 (Optional) */
	AvailableNodeNum int `json:"availableNodeNum"`

	/* 域名专用证书数 (Optional) */
	SpecialCertNum int `json:"specialCertNum"`

	/* 是否支持True-Client-IP标头 (Optional) */
	TrueClientIp bool `json:"trueClientIp"`

	/* 是否支持RriginErrorPagePass (Optional) */
	OriginErrorPagePass bool `json:"originErrorPagePass"`

	/* 是否支持静态内容缓存 (Optional) */
	StaticContentCache bool `json:"staticContentCache"`

	/* 基于URL自定义清除 (Optional) */
	CustomClearByUrl bool `json:"customClearByUrl"`

	/* 高级自定义清除(主机名、Tag、前缀目录) (Optional) */
	AdvanceCustomClear bool `json:"advanceCustomClear"`

	/* 最小缓存TTL时间 (Optional) */
	MinCacheTtl int `json:"minCacheTtl"`

	/* 客户端上传文件限制 (Optional) */
	ClientUploadFileLimit int `json:"clientUploadFileLimit"`

	/* 最大缓存文件限制 (Optional) */
	MaxCacheFileLimit int `json:"maxCacheFileLimit"`

	/* 是否支持基于URL预取 (Optional) */
	UrlPrefetch bool `json:"urlPrefetch"`

	/* 自定义页面规则 (Optional) */
	PageRuleNum int `json:"pageRuleNum"`

	/* 是否支持页面优化 (Optional) */
	ImageOptimize bool `json:"imageOptimize"`

	/* 是否支持HTTP2 (Optional) */
	Http2 bool `json:"http2"`

	/* 是否支持开发模式 (Optional) */
	DevelopMode bool `json:"developMode"`

	/* 是否支持查询字符串排序 (Optional) */
	QueryStringSort bool `json:"queryStringSort"`

	/* 是否支持自定义名称服务器(忽略) (Optional) */
	CustomNameServer bool `json:"customNameServer"`

	/* 是否支持免费通用证书 (Optional) */
	GeneralCert bool `json:"generalCert"`

	/* 自定义证书数量 (Optional) */
	CustomCertNum int `json:"customCertNum"`

	/* 网站分析时间规格 (Optional) */
	WebsiteAnalyseTimeSpecs int `json:"websiteAnalyseTimeSpecs"`

	/* DNS分析时间(历史时间) (Optional) */
	DnsAnalyseTime int `json:"dnsAnalyseTime"`

	/* 攻击分析时间(历史时间) (Optional) */
	AttackAnalyseTime int `json:"attackAnalyseTime"`

	/* 是否支持审计日志 (Optional) */
	AuditLog bool `json:"auditLog"`

	/* 是否支持请求日志 (Optional) */
	RequestLog bool `json:"requestLog"`

	/* 是否支持OWASP核心规则 (Optional) */
	OwaspCoreRule bool `json:"owaspCoreRule"`

	/* 是否支持内置预定义规则 (Optional) */
	BuiltInPredefinedRule bool `json:"builtInPredefinedRule"`

	/* WAF自定义规则 (Optional) */
	FirewallRuleNum int `json:"firewallRuleNum"`

	/* 是否支持防火墙正则表达式规则 (Optional) */
	FirewalRegularRule bool `json:"firewalRegularRule"`

	/* 单域名解析记录数量上限 (Optional) */
	AvailableDnsRecordNum int `json:"availableDnsRecordNum"`

	/* 域名接入方式 1->CNAME 2->NS 3->IP(Spectrum) 逗号拼接(1,2) (Optional) */
	ZoneAccessType string `json:"zoneAccessType"`

	/* 速率限制Ratelimit数量 0->不支持 大于0->N条 (Optional) */
	RateLimit int `json:"rateLimit"`

	/* 日志推送服务 False->不支持 True->支持 (Optional) */
	LogPush bool `json:"logPush"`

	/* 支持的协议类型 1->HTTP 2->HTTPS 3->HTTP2 4->HTTP3 5->TCP 逗号拼接(1,2) (Optional) */
	Protocol string `json:"protocol"`

	/* 应用攻击防护 False->不支持 True->支持 (Optional) */
	AppAttackProtection bool `json:"appAttackProtection"`

	/* CC攻击标准防护 False->不支持 True->自动防护 (Optional) */
	CcAttackStandardProtection bool `json:"ccAttackStandardProtection"`

	/* CC攻击高级防护 False->不支持 True->BOT+Rate Limiting (Optional) */
	CcAttackAdvancedProtection bool `json:"ccAttackAdvancedProtection"`

	/* 技术支持 1->客服工单 2->产品技术专家 逗号拼接(1,2) (Optional) */
	TechnicalSupport string `json:"technicalSupport"`

	/* 域名扩展包 False->不支持 True->支持 (Optional) */
	ZoneExtPack bool `json:"zoneExtPack"`

	/* Websocket False->不支持 True->支持 (Optional) */
	Websocket bool `json:"websocket"`
}

type DescribePopIpRes

type DescribePopIpRes struct {

	/* ip (Optional) */
	Ip string `json:"ip"`

	/* pop 节点id (Optional) */
	ColoId int `json:"coloId"`

	/* ip对应域名信息 (Optional) */
	Domains []string `json:"domains"`

	/* ip对应运营商信息 (Optional) */
	IpIsptype int `json:"ipIsptype"`
}

type DescribeUrlBlockRegulationResp

type DescribeUrlBlockRegulationResp struct {

	/* 封禁URL规则id (Optional) */
	Id int `json:"id"`

	/* url对应的用户pin (Optional) */
	UserPin string `json:"userPin"`

	/* 封禁URL规则名称 (Optional) */
	RegulationName string `json:"regulationName"`

	/* 封禁的url (Optional) */
	BlockUrl string `json:"blockUrl"`

	/* zone id (Optional) */
	ZoneId string `json:"zoneId"`

	/* filter id (Optional) */
	FilterId string `json:"filterId"`

	/* firewall rule id (Optional) */
	FirewallRuleId string `json:"firewallRuleId"`

	/* 操作类型(0->阻断) (Optional) */
	OpType int `json:"opType"`

	/* 规则开启状态(0->关闭  1->开启) (Optional) */
	EnableRegulation int `json:"enableRegulation"`

	/* 规则创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 规则创建者 (Optional) */
	CreateUser string `json:"createUser"`

	/* 规则更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 规则更新者 (Optional) */
	UpdateUser string `json:"updateUser"`
}

type DescribeZonesRes

type DescribeZonesRes struct {

	/* zone id (Optional) */
	ZoneId string `json:"zoneId"`

	/* zone name (Optional) */
	Name string `json:"name"`

	/* zone状态(active->已激活 deleted->已删除 pending->未激活) (Optional) */
	Status string `json:"status"`

	/* 是否暂停 (Optional) */
	Paused bool `json:"paused"`

	/* zone接入类型(full->全接入 partial->半接入) (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 开发者模式 (Optional) */
	Development_mode int `json:"development_mode"`

	/* 校验key (Optional) */
	Verification_key string `json:"verification_key"`

	/* cname后缀 (Optional) */
	Cname_suffix string `json:"cname_suffix"`

	/* 源ns (Optional) */
	Original_name_servers []string `json:"original_name_servers"`

	/* 源注册商 (Optional) */
	Original_registrar string `json:"original_registrar"`

	/* 源dns host (Optional) */
	Original_dnshost string `json:"original_dnshost"`

	/* 修改时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 创建时间 (Optional) */
	Created_on string `json:"created_on"`

	/* 激活时间 (Optional) */
	Activated_on string `json:"activated_on"`

	/* name servers (Optional) */
	Name_servers []string `json:"name_servers"`

	/* 域名对应的ip信息 (Optional) */
	Ips []string `json:"ips"`

	/* ip类型 (Optional) */
	IpType string `json:"ipType"`
}

type DevelopmentMode

type DevelopmentMode struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/*  (Optional) */
	Time_remaining int `json:"time_remaining"`
}

type DisableRulesReq added in v1.60.0

type DisableRulesReq struct {

	/* 0:使用规则,1:禁用规则 (Optional) */
	Disable int `json:"disable"`

	/* 操作的规则id, ruleType非"waf"时必填  */
	Ids []int `json:"ids"`

	/* 操作的规则类型,"ratelimit":限速  */
	RuleType string `json:"ruleType"`
}

type Dns added in v1.60.0

type Dns struct {

	/* 有效值CNAME。 (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 子域格式:a.test.com;根域格式:test.com。 (Optional) */
	Name string `json:"name"`
}

type DnsRecord

type DnsRecord struct {

	/*  (Optional) */
	Meta Meta `json:"meta"`

	/* 此记录是否可以被修改/删除(true意味着它由星盾管理)。 (Optional) */
	Locked bool `json:"locked"`

	/*  (Optional) */
	Data Data `json:"data"`

	/* DNS记录名称 (Optional) */
	Name string `json:"name"`

	/* DNS记录的生存时间。值为1是 "自动"。 (Optional) */
	Ttl int `json:"ttl"`

	/* 域标识符标签 (Optional) */
	Zone_id string `json:"zone_id"`

	/* 记录最近修改时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 创建记录时间 (Optional) */
	Created_on string `json:"created_on"`

	/* 记录是否由星盾代理 (Optional) */
	Proxiable bool `json:"proxiable"`

	/* 有效的IPv4地址 (Optional) */
	Content string `json:"content"`

	/* 记录类型 (Optional) */
	Type string `json:"type"`

	/* 记录类型(值同type) (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* DNS记录标识符标签 (Optional) */
	Id string `json:"id"`

	/* 是否利用星盾的性能和安全优势 (Optional) */
	Proxied bool `json:"proxied"`

	/* 记录的域名 (Optional) */
	Zone_name string `json:"zone_name"`

	/* 与一些记录如MX和SRV一起使用,以确定优先级。如果你没有为MX记录提供一个优先级,默认值为0将被设置。 (Optional) */
	Priority int `json:"priority"`
}

type Edge_ips added in v1.60.0

type Edge_ips struct {

	/* 有效值dynamic。根据connectivity的值,动态地使用Spectrum IP作为边缘IP。 (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 入站连接的IP版本。有效值all/ipv4/ipv6。 (Optional) */
	Connectivity string `json:"connectivity"`
}

type EmailObfuscation

type EmailObfuscation struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type EnableCname2RsReq added in v1.60.0

type EnableCname2RsReq struct {

	/* 实例id (Optional) */
	InstanceId string `json:"instanceId"`

	/* 域名 (Optional) */
	Domain string `json:"domain"`

	/* 模式:0为云端模式,1为回源模式 (Optional) */
	Enable int `json:"enable"`
}

type EsLogEvent added in v1.60.0

type EsLogEvent struct {

	/* 产生时间 (Optional) */
	AccessTime int64 `json:"accessTime"`

	/* 源ip (Optional) */
	RemoteAddr string `json:"remoteAddr"`

	/* 客户端port (Optional) */
	RemotePort string `json:"remotePort"`

	/* 域名 (Optional) */
	Domain string `json:"domain"`

	/* 来源地区 (Optional) */
	Area string `json:"area"`

	/* 方法 (Optional) */
	Method string `json:"method"`

	/* url (Optional) */
	Url string `json:"url"`

	/* 恶意负载 (Optional) */
	PayLoad string `json:"payLoad"`

	/* 响应信息 (Optional) */
	Status string `json:"status"`

	/* 日志类型 (Optional) */
	LogType string `json:"logType"`

	/* 动作 (Optional) */
	Action string `json:"action"`

	/* 请求ID (Optional) */
	RequestId string `json:"requestId"`

	/* 回源错误信息 (Optional) */
	UpstreamErr string `json:"upstreamErr"`

	/* 日志记录时间 (Optional) */
	TimeLocal string `json:"timeLocal"`

	/* 本机域名 (Optional) */
	Hostname string `json:"hostname"`

	/* 响应长度 (Optional) */
	BytesSent string `json:"bytesSent"`

	/* 请求长度 (Optional) */
	RequestLength string `json:"requestLength"`

	/* 客户端请求的域名 (Optional) */
	Host string `json:"host"`

	/* jfe的server块监听IP (Optional) */
	ServerAddr string `json:"serverAddr"`

	/* jfe的server块监听port (Optional) */
	ServerPort string `json:"serverPort"`

	/* 请求所连接的upstream名称 (Optional) */
	UpstreamHttpName string `json:"upstreamHttpName"`

	/* 请求所连接的upstream服务器IP (Optional) */
	UpstreamAddr string `json:"upstreamAddr"`

	/* 请求所连接的upstream服务器port (Optional) */
	UpstreamHttpPort string `json:"upstreamHttpPort"`

	/* 等待upstream建立连接的时间 (Optional) */
	UpstreamConnectTime string `json:"upstreamConnectTime"`

	/* 接收upstream请求头的时间 (Optional) */
	UpstreamHeaderTime string `json:"upstreamHeaderTime"`

	/* 接收upstream响应头的时间 (Optional) */
	UpstreamResponseTime string `json:"upstreamResponseTime"`

	/* 请求处理时间 (Optional) */
	RequestTime string `json:"requestTime"`

	/* 请求头的UA字段 (Optional) */
	HttpUserAgent string `json:"httpUserAgent"`

	/* 攻击类型 (Optional) */
	AntiReason string `json:"antiReason"`

	/* 请求来源 (Optional) */
	HttpReferer string `json:"httpReferer"`

	/* 请求协议 (Optional) */
	Scheme string `json:"scheme"`

	/* uri (Optional) */
	Uri string `json:"uri"`

	/* 断点续传响应分片位置 (Optional) */
	SentHttpContentRange string `json:"sentHttpContentRange"`

	/* 客户端IP (Optional) */
	AntiRemoteAddr string `json:"antiRemoteAddr"`

	/* 原响应码 (Optional) */
	AntiStatus string `json:"antiStatus"`

	/* 命中规则请求原始请求报文 (Optional) */
	AntiReqRaw string `json:"antiReqRaw"`

	/* 命中规则请求原始响应报文 (Optional) */
	AntiRespRaw string `json:"antiRespRaw"`

	/* 来源地域信息 (Optional) */
	AntiGeo string `json:"antiGeo"`

	/* 指纹ID (Optional) */
	AntiRiskFid string `json:"antiRiskFid"`

	/* 指纹采集详细信息 (Optional) */
	AntiRiskRaw string `json:"antiRiskRaw"`
}

type EsLogFile added in v1.60.0

type EsLogFile struct {

	/* 日志唯一key值 (Optional) */
	Key string `json:"key"`

	/* 日志文件名称 (Optional) */
	FileName string `json:"fileName"`

	/* 日志更新时间 (Optional) */
	UpdateTime int `json:"updateTime"`

	/* 文件大小 (Optional) */
	Size int `json:"size"`
}

type Exception added in v1.60.0

type Exception struct {

	/*  (Optional) */
	S499 ChartItemValue `json:"s499"`

	/*  (Optional) */
	S503 ChartItemValue `json:"s503"`

	/*  (Optional) */
	S404 ChartItemValue `json:"s404"`

	/*  (Optional) */
	S502 ChartItemValue `json:"s502"`

	/*  (Optional) */
	S504 ChartItemValue `json:"s504"`

	/*  (Optional) */
	S5XX ChartItemValue `json:"s5XX"`
}

type Filter

type Filter struct {

	/* 筛选器标识符 (Optional) */
	Id *string `json:"id"`

	/* 要使用的筛选器表达式 (Optional) */
	Expression *string `json:"expression"`

	/* 此筛选器当前是否已暂停 (Optional) */
	Paused *bool `json:"paused"`

	/* 可用于描述过滤器用途的注释 (Optional) */
	Description *string `json:"description"`

	/* 短引用标记,用于快速选择相关规则。 (Optional) */
	Ref *string `json:"ref"`
}

type FirewallRule

type FirewallRule struct {

	/*  (Optional) */
	Products []string `json:"products"`

	/* 规则的优先级,允许控制处理顺序。一个较小的数字表示高优先级。如果不提供,任何有优先权的规则将在没有优先权的规则之前排序。 (Optional) */
	Priority int `json:"priority"`

	/* 此防火墙规则当前是否已暂停。 (Optional) */
	Paused bool `json:"paused"`

	/* 短引用标记,用于快速选择相关规则。 (Optional) */
	Ref string `json:"ref"`

	/*  (Optional) */
	Action_parameters Action_parameters `json:"action_parameters"`

	/* 对匹配到的请求采取的措施。有效值:js_challenge/block/challenge/allow/bypass
	js_challenge表示Js挑战
	block表示阻止
	challenge表示验证码
	allow表示允许
	bypass表示绕过
	 (Optional) */
	Action string `json:"action"`

	/*  (Optional) */
	Filter Filter `json:"filter"`

	/* 防火墙规则标识符 (Optional) */
	Id string `json:"id"`

	/* 对规则的描述,以帮助识别它。 (Optional) */
	Description string `json:"description"`
}

type Geo_restrictions

type Geo_restrictions struct {

	/*  (Optional) */
	Label *string `json:"label"`
}

type GetAllInstancesRes added in v1.61.0

type GetAllInstancesRes struct {

	/* 实例id (Optional) */
	InstanceId string `json:"instanceId"`

	/* 实例名称 (Optional) */
	InstanceName string `json:"instanceName"`
}

type GetAntiEventReq added in v1.60.0

type GetAntiEventReq struct {

	/* 实例id,代表要查询的WAF实例,为空时表示当前用户下的所有实例 (Optional) */
	WafInstanceId string `json:"wafInstanceId"`

	/* 域名,为空时表示当前实例下的所有域名 (Optional) */
	Domain string `json:"domain"`

	/* 攻击类型,支持类型:"cc"(cc攻击),"waf"(Web攻击),"acl"(自定义规则)  */
	AntiType string `json:"antiType"`

	/* 源ip,检索字段 (Optional) */
	RemoteAddr string `json:"remoteAddr"`

	/* 状态码,检索字段 (Optional) */
	Status string `json:"status"`

	/* 开始时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	Start int `json:"start"`

	/* 结束时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	End int `json:"end"`

	/* 每页显示的个数。  */
	PageSize int `json:"pageSize"`

	/* 页数。  */
	PageIndex int `json:"pageIndex"`

	/* 排序字段,document_uri:uri, remote_addr:源ip, time:时间 (Optional) */
	SortKey string `json:"sortKey"`

	/* 排序方式,desc-倒序 asc-增序 (Optional) */
	SortDesc string `json:"sortDesc"`

	/* false表示查询,true表示导出 (Optional) */
	IsExport bool `json:"isExport"`
}

type GetChartReq added in v1.60.0

type GetChartReq struct {

	/* 实例id,代表要查询的WAF实例,为空时表示当前用户下的所有实例 (Optional) */
	WafInstanceId string `json:"wafInstanceId"`

	/* 域名,为空时表示当前实例下的所有域名 (Optional) */
	Domain string `json:"domain"`

	/* 开始时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	Start int `json:"start"`

	/* 结束时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	End int `json:"end"`

	/* true表示和值图,false表示均值图,仅getBpsData, getQpsData时有效。 (Optional) */
	IsSum bool `json:"isSum"`

	/* true表示查找命中不同规则的waf攻击对应数目。 (Optional) */
	IsWafRule bool `json:"isWafRule"`

	/* true表示源站返回给waf的异常响应,false表示waf返回给客户端的异常响应,仅getExceptionData时有效。 (Optional) */
	IsRs bool `json:"isRs"`

	/* ua表示返回ua的饼图数据,仅getPieChart时有效。 (Optional) */
	PieItem string `json:"pieItem"`

	/* 指定状态码,仅getStatusCodeInfo时有效 (Optional) */
	StatusCode []string `json:"statusCode"`

	/* true表示获取状态码统计图、占比图。 (Optional) */
	IsStaCode bool `json:"isStaCode"`
}

type GetEsLogReq added in v1.60.0

type GetEsLogReq struct {

	/* 实例id,代表要查询的WAF实例,为空时表示当前用户下的所有实例 (Optional) */
	WafInstanceId string `json:"wafInstanceId"`

	/* 域名,为空时表示当前实例下的所有域名 (Optional) */
	Domain string `json:"domain"`

	/* 来源ip,检索字段 (Optional) */
	RemoteAddr string `json:"remoteAddr"`

	/* 动作,检索字段 (Optional) */
	Action string `json:"action"`

	/* 状态码,检索字段 (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	LogType []string `json:"logType"`

	/* 日志Id,检索字段 (Optional) */
	LogId string `json:"logId"`

	/* 开始时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	Start int `json:"start"`

	/* 结束时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	End int `json:"end"`

	/* 每页显示的个数,默认是10。 (Optional) */
	PageSize int `json:"pageSize"`

	/* 页数,默认是1。 (Optional) */
	PageIndex int `json:"pageIndex"`
}

type GetEsLogUrlReq added in v1.60.0

type GetEsLogUrlReq struct {

	/* 日志唯一key  */
	Key string `json:"key"`

	/* 实例id,代表要查询的WAF实例  */
	WafInstanceId string `json:"wafInstanceId"`
}

type GetStatusCodeReq added in v1.60.0

type GetStatusCodeReq struct {

	/* 实例id,代表要查询的WAF实例,为空时表示当前用户下的所有实例 (Optional) */
	WafInstanceId string `json:"wafInstanceId"`

	/* 域名,为空时表示当前实例下的所有域名 (Optional) */
	Domain string `json:"domain"`

	/* 开始时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	Start int `json:"start"`

	/* 结束时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	End int `json:"end"`

	/* 指定状态码,仅getStatusCodeInfo时有效 (Optional) */
	StatusCode []string `json:"statusCode"`

	/* true表示获取状态码统计图、占比图。 (Optional) */
	IsStaCode bool `json:"isStaCode"`
}

type GetUserPinVipInfoReq added in v1.60.0

type GetUserPinVipInfoReq struct {

	/* userPins, 以,间隔, allJDCloudpin表示获取全部 (Optional) */
	UserPins string `json:"userPins"`
}

type GetWafDataReq added in v1.60.0

type GetWafDataReq struct {

	/* userPins (Optional) */
	UserPin []string `json:"userPin"`

	/* 起始时间, utc时间戳 (Optional) */
	StartTime int64 `json:"startTime"`

	/* 结束时间, utc时间戳,必须大于起始时间 (Optional) */
	EndTime int64 `json:"endTime"`
}

type Group

type Group struct {

	/* WAF组标识符标签 (Optional) */
	Id string `json:"id"`

	/* 防火墙规则组的名称 (Optional) */
	Name string `json:"name"`
}

type HTTP2EdgePrioritization

type HTTP2EdgePrioritization struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该设置的有效值 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type HTTP2Value

type HTTP2Value struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type HTTP3Value

type HTTP3Value struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type HotlinkProtection

type HotlinkProtection struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type IPGeolocation

type IPGeolocation struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type IPv6

type IPv6 struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type ImageResizing

type ImageResizing struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 是否启用、禁用或在 "开放代理 "模式下启用该功能 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type IpMaxBps

type IpMaxBps struct {

	/*  (Optional) */
	Ip string `json:"ip"`

	/*  (Optional) */
	MaxBps int `json:"maxBps"`

	/*  (Optional) */
	Zones []string `json:"zones"`
}

type Item

type Item struct {

	/* 项的名称 (Optional) */
	Name string `json:"name"`

	/* 项的值。
	如果是带宽,值的单位是bps(bit per second)
	如果是流量,值的单位是Byte
	如果是请求量,值的单位是次数
	 (Optional) */
	Value int `json:"value"`

	/*  (Optional) */
	Unit string `json:"unit"`
}

type KVPair added in v1.60.0

type KVPair struct {

	/*  (Optional) */
	Key string `json:"key"`

	/*  (Optional) */
	Value int `json:"value"`
}

type KeylessSSL

type KeylessSSL struct {

	/* The keyless SSL port used to commmunicate between JDC StarShield and the client's Keyless SSL server (Optional) */
	Port int `json:"port"`

	/* Whether or not the Keyless SSL is on or off (Optional) */
	Enabled bool `json:"enabled"`

	/* Available permissions for the Keyless SSL for the current user requesting the item (Optional) */
	Permissions []string `json:"permissions"`

	/* The keyless SSL name (Optional) */
	Host string `json:"host"`

	/* The keyless SSL name (Optional) */
	Name string `json:"name"`

	/* Status of the Keyless SSL (Optional) */
	Status string `json:"status"`

	/* When the Keyless SSL was last modified (Optional) */
	Modified_on string `json:"modified_on"`

	/* When the Keyless SSL was created (Optional) */
	Created_on string `json:"created_on"`

	/* Keyless certificate identifier tag (Optional) */
	Id string `json:"id"`
}

type Keyless_server

type Keyless_server struct {

	/* 用于在星盾和客户的无密钥SSL服务器之间通信的无密钥SSL端口 (Optional) */
	Port int `json:"port"`

	/* 无钥匙SSL是否开启或关闭 (Optional) */
	Enabled bool `json:"enabled"`

	/* 当前用户的无密钥SSL的可用权限 (Optional) */
	Permissions []string `json:"permissions"`

	/* 无密钥SSL主机名或ip (Optional) */
	Host string `json:"host"`

	/* 无密钥SSL名称 (Optional) */
	Name string `json:"name"`

	/* 无密钥SSL的状态 (Optional) */
	Status string `json:"status"`

	/* 上次修改无密钥SSL的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 创建无密钥SSL的时间 (Optional) */
	Created_on string `json:"created_on"`

	/* 无密钥证书标识符标签 (Optional) */
	Id string `json:"id"`
}

type ListAuditLog added in v1.61.0

type ListAuditLog struct {

	/* 审计日志id (Optional) */
	AuditId string `json:"auditId"`

	/* 事件触发时间 (Optional) */
	AuditWhen string `json:"auditWhen"`

	/* 元数据操作(Zone、Zone_Status、DNS_Record、Zone_Paused、Zone_Operations)
	--------------------------
	Zone 域名添加、域名删除
	Zone_Status 域名待激活、域名已激活
	DNS_Record 解析记录添加、解析记录变更、解析记录删除
	Zone_Paused 域名启服、域名停服
	Zone_Operations 运营后台域名操作:域名停启服、lockdown、黑白名单
	 (Optional) */
	MetadataAction string `json:"metadataAction"`

	/* 元数据操作id(zone_id、record_id、ins_id)
	--------------------------
	zone_id 域名id,metadataAction=Zone*
	record_id 解析记录id,metadataAction=DNS_Record*
	ins_id 实例id
	 (Optional) */
	MetadataId string `json:"metadataId"`

	/* 元数据操作名称(zone_id、record_id、ins_id)
	--------------------------
	zone_name 域名,metadataAction=Zone*
	record_content 解析记录值,metadataAction=DNS_Record*
	ins_name 实例名称
	 (Optional) */
	MetadataName string `json:"metadataName"`

	/* 事件类型(add、rec_add)
	-----------cf审计日志事件类型---------------
	add 域名添加
	delete 域名删除
	pending 域名待激活
	deployed 域名已激活
	resume 域名启服
	pause 域名停服
	rec_add 解析记录添加
	rec_set 解析记录变更
	rec_del 解析记录删除
	-----------scdn运营后台审计日志事件类型-----
	op_on_pause 开启pause
	op_off_pause 关闭pause
	op_on_lockdown 开启lockdown
	op_off_lockdown 关闭lockdown
	op_on_black 开启黑名单
	op_off_black 关闭黑名单
	op_on_white 开启白名单
	op_off_white 关闭白名单
	 (Optional) */
	ActionType string `json:"actionType"`

	/* 结果:true 成功、false 失败 (Optional) */
	ActionResult bool `json:"actionResult"`

	/* 操作用户:cf_email cf用户邮箱、op_erp 运营后台操作erp (Optional) */
	ActorUser string `json:"actorUser"`

	/* 操作id:cf_user_id (Optional) */
	ActorId string `json:"actorId"`

	/* 操作ip (Optional) */
	ActorIp string `json:"actorIp"`

	/* 操作用户类型:user 用户、system 系统、op 运营后台 (Optional) */
	ActorType string `json:"actorType"`

	/* 接口调用方式:API接口、 UI控制台 (Optional) */
	InterfaceType string `json:"interfaceType"`

	/* 实例id (Optional) */
	OwnerId string `json:"ownerId"`

	/* 旧配置 (Optional) */
	OldValue string `json:"oldValue"`

	/* 新配置 (Optional) */
	NewValue string `json:"newValue"`
}

type ListEsLogDownloadReq added in v1.60.0

type ListEsLogDownloadReq struct {

	/* 实例id,代表要查询的WAF实例  */
	WafInstanceId string `json:"wafInstanceId"`

	/* 域名,为空时表示当前实例下的所有域名 (Optional) */
	Domain string `json:"domain"`

	/* 开始时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	Start int `json:"start"`

	/* 结束时间戳,单位秒,时间间隔要求大于5分钟,小于30天。  */
	End int `json:"end"`

	/* 每页显示的个数,默认是10。 (Optional) */
	PageSize int `json:"pageSize"`

	/* 页数,默认是1。 (Optional) */
	PageIndex int `json:"pageIndex"`
}

type ListRulesReq added in v1.60.0

type ListRulesReq struct {

	/* 规则类型 (Optional) */
	RuleType string `json:"ruleType"`

	/* 页码,[1-100],默认是1 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 页大小,[1-100],默认是10 (Optional) */
	PageSize int `json:"pageSize"`
}

type LogField added in v1.60.0

type LogField struct {

	/* 日志字段名称 (Optional) */
	FieldName string `json:"fieldName"`

	/* 日志字段类型 (Optional) */
	FieldType string `json:"fieldType"`

	/* 日志字段描述 (Optional) */
	FieldDescription string `json:"fieldDescription"`
}

type LogModule added in v1.60.0

type LogModule struct {

	/* 日志模块名称 (Optional) */
	ModuleName string `json:"moduleName"`

	/* 日志模块字段成员 (Optional) */
	ModuleFields []LogField `json:"moduleFields"`
}

type LogReportReq added in v1.60.0

type LogReportReq struct {

	/* 实例id,代表要查询的WAF实例  */
	WafInstanceId string `json:"wafInstanceId"`

	/* 域名 (Optional) */
	Domain string `json:"domain"`

	/* 日志Id  */
	LogId string `json:"logId"`

	/* 产生时间  */
	AccessTime int64 `json:"accessTime"`
}

type LogpushJob added in v1.60.0

type LogpushJob struct {

	/* 域名 (Optional) */
	Zone_name string `json:"zone_name"`

	/*  (Optional) */
	Enabled bool `json:"enabled"`

	/* 记录上次成功推送日志的时间。如果上次成功推送的日志范围为2018-07-23T10:00:00Z至2018-07-23T10:01:00Z,则该字段的值将为2018-07-23T10:01:00Z。如果作业从未运行或刚刚启用但尚未运行,则该字段将为空。 (Optional) */
	Last_complete string `json:"last_complete"`

	/* 它指定了诸如请求的字段和时间戳格式之类的内容。 (Optional) */
	Logpull_options string `json:"logpull_options"`

	/* 可选的用户可读的作业名称。不是独一无二的。使用户更容易识别工作。建议包含域名称。 (Optional) */
	Name string `json:"name"`

	/* 如果不为null,则表示作业当前失败。失败通常是重复的(例如:没有写入目标存储桶的权限)。只记录最后一次故障。成功执行作业时,错误消息和最后一个错误被设置为null。 (Optional) */
	Error_message string `json:"error_message"`

	/* 唯一标识数据推送目的地的字符串。可能包括目的地支持的其他参数。 (Optional) */
	Destination_conf string `json:"destination_conf"`

	/* 唯一标识数据推送目的地的字符串。 (Optional) */
	Path string `json:"path"`

	/* 服务名称,例如Amazon S3, Splunk。 (Optional) */
	Service string `json:"service"`

	/* 要推送的数据集。 (Optional) */
	Dataset string `json:"dataset"`

	/* 作业的唯一id。 (Optional) */
	Id int `json:"id"`

	/* 星盾向目标发送成批日志的频率。将“频率”设置为“高”会将日志发送到更多更小的文件中。将“频率”设置为“低”会以较小数量的较大文件发送日志。 (Optional) */
	Frequency string `json:"frequency"`

	/* 记录上次作业失败的时间。如果不为null,则表示作业当前失败。如果为null,则表示作业从未失败,或者自上次失败以来至少成功运行过一次。另请参见错误消息字段。 (Optional) */
	Last_error string `json:"last_error"`

	/* 推送状态,合法值:Pushing-正在推送,Error-推送失败,Off-关闭 (Optional) */
	Status string `json:"status"`
}

type MatchOpValCfg added in v1.60.0

type MatchOpValCfg struct {

	/* 完全匹配0,后缀匹配1  */
	MatchOp int `json:"matchOp"`

	/* 匹配值  */
	Val string `json:"val"`
}

type MaxUpload

type MaxUpload struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Value int `json:"value"`

	/*  (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type Meta

type Meta struct {

	/* 如果星盾在初始设置期间自动添加了此 DNS 记录,则会存在。 (Optional) */
	Auto_added bool `json:"auto_added"`

	/* 记录来自哪里 (Optional) */
	Source string `json:"source"`
}

type MirageImageOptimization

type MirageImageOptimization struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type MobileRedirect

type MobileRedirect struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Value Value_0 `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type NetworkDateHistogram

type NetworkDateHistogram struct {

	/*  (Optional) */
	ResultType string `json:"resultType"`

	/*  (Optional) */
	DataSeries []int `json:"dataSeries"`

	/*  (Optional) */
	TimeSeries []int `json:"timeSeries"`
}

type OpZoneDetails added in v1.61.0

type OpZoneDetails struct {

	/* 域名id (Optional) */
	ZoneId string `json:"zoneId"`

	/* 域名 (Optional) */
	ZoneName string `json:"zoneName"`

	/* 域名状态:pending 待激活、active 已激活、remove 已删除 (Optional) */
	ZoneStatus string `json:"zoneStatus"`

	/* 所属实例id (Optional) */
	InstanceId string `json:"instanceId"`

	/* 所属实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 所属PIN (Optional) */
	Pin string `json:"pin"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 计费状态 (Optional) */
	ChargeState string `json:"chargeState"`

	/* 备案状态:0 未备案、1 已备案 (Optional) */
	IcpStatus bool `json:"icpStatus"`

	/* 域名创建时间 (Optional) */
	ZoneCreateTime string `json:"zoneCreateTime"`

	/* 实例到期时间 (Optional) */
	InstanceExpireTime string `json:"instanceExpireTime"`

	/* Pause:0 未停服、1 已停服 (Optional) */
	PauseStatus bool `json:"pauseStatus"`

	/* LockDown:0 无、1 已配置lockdown (Optional) */
	LockdownStatus bool `json:"lockdownStatus"`

	/* 黑名单:0 未开启、1 已开启 (Optional) */
	BlackListEnable bool `json:"blackListEnable"`

	/* 白名单:0 未开启、1 已开启 (Optional) */
	WhiteListEnable bool `json:"whiteListEnable"`

	/* 套餐总流量 (Optional) */
	TotalFlowStr string `json:"totalFlowStr"`

	/* 套餐已使用流量 (Optional) */
	UsedFlowStr string `json:"usedFlowStr"`

	/* 套餐剩余流量 (Optional) */
	RemainingFlowStr string `json:"remainingFlowStr"`

	/* CNAME后缀 (Optional) */
	CnameSuffix string `json:"cnameSuffix"`

	/* NS记录 (Optional) */
	NameServers []string `json:"nameServers"`

	/* TXT记录 (Optional) */
	VerificationKey string `json:"verificationKey"`

	/* 接入方式 partial:半接入-CNAME full:全接入-NS (Optional) */
	ZoneType string `json:"zoneType"`

	/* IP类型:0 共享 1 专用 (Optional) */
	IpType int `json:"ipType"`
}

type OpZoneJoinIns added in v1.61.0

type OpZoneJoinIns struct {

	/* 域名id (Optional) */
	ZoneId string `json:"zoneId"`

	/* 域名 (Optional) */
	ZoneName string `json:"zoneName"`

	/* 域名状态:pending 待激活、active 已激活、remove 已删除 (Optional) */
	ZoneStatus string `json:"zoneStatus"`

	/* 所属实例id (Optional) */
	InstanceId string `json:"instanceId"`

	/* 所属实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 所属PIN (Optional) */
	Pin string `json:"pin"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 计费状态 (Optional) */
	ChargeState string `json:"chargeState"`

	/* 备案状态:0 未备案、1 已备案 (Optional) */
	IcpStatus bool `json:"icpStatus"`

	/* 域名创建时间 (Optional) */
	ZoneCreateTime string `json:"zoneCreateTime"`

	/* 实例到期时间 (Optional) */
	InstanceExpireTime string `json:"instanceExpireTime"`

	/* Pause:0 未停服、1 已停服 (Optional) */
	PauseStatus bool `json:"pauseStatus"`

	/* LockDown:0 无、1 已配置lockdown (Optional) */
	LockdownStatus bool `json:"lockdownStatus"`

	/* 黑名单:0 未开启、1 已开启 (Optional) */
	BlackListEnable bool `json:"blackListEnable"`

	/* 白名单:0 未开启、1 已开启 (Optional) */
	WhiteListEnable bool `json:"whiteListEnable"`

	/* dns记录归档:true 已归档、false 未归档 (Optional) */
	DnsRecordArchived bool `json:"dnsRecordArchived"`
}

type OpZoneListRes added in v1.60.0

type OpZoneListRes struct {

	/* id (Optional) */
	Id int64 `json:"id"`

	/* 实例id (Optional) */
	InstanceId string `json:"instanceId"`

	/* 域名 (Optional) */
	Zone string `json:"zone"`

	/* 域名id (Optional) */
	ZoneId string `json:"zoneId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 接入方式(full->全接入 partial->半接入) (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 状态(active->已激活 deleted->已删除 pending->未激活) (Optional) */
	Status string `json:"status"`

	/* NS/CNAME记录 (Optional) */
	NameServers []string `json:"nameServers"`

	/* TXT记录 (Optional) */
	VerificationKey string `json:"verificationKey"`

	/* 域名对应的ip信息 (Optional) */
	Ips []string `json:"ips"`

	/* ip类型 (Optional) */
	IpType string `json:"ipType"`

	/* 用于查找ips的id (Optional) */
	InternalId int64 `json:"internalId"`
}

type OpZoneRecordDetails added in v1.61.0

type OpZoneRecordDetails struct {

	/*  (Optional) */
	OpZoneRecords OpZoneRecords `json:"opZoneRecords"`

	/*  (Optional) */
	SameContentZones []SameContentZones `json:"sameContentZones"`
}

type OpZoneRecords added in v1.61.0

type OpZoneRecords struct {

	/* 解析记录ID (Optional) */
	RecordId string `json:"recordId"`

	/* 域名id (Optional) */
	ZoneId string `json:"zoneId"`

	/* 主机名 (Optional) */
	Name string `json:"name"`

	/* 记录类型 (Optional) */
	Type string `json:"type"`

	/* 记录值 (Optional) */
	Content string `json:"content"`

	/* TTL (Optional) */
	Ttl int `json:"ttl"`

	/* 代理状态 (Optional) */
	Proxied bool `json:"proxied"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 是否可代理 (Optional) */
	Proxiable bool `json:"proxiable"`

	/* 优先级 (Optional) */
	Priority string `json:"priority"`
}

type Organization_owner

type Organization_owner struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Ty_pe string `json:"ty_pe"`
}

type OriginCA

type OriginCA struct {

	/* The x509 serial number of the Origin CA certificate (Optional) */
	Id string `json:"id"`

	/* The Origin CA certificate. Will be newline-encoded. (Optional) */
	Certificate string `json:"certificate"`

	/* Array of hostnames or wildcard names (e.g., *.example.com) bound to the certificate (Optional) */
	Hostnames []string `json:"hostnames"`

	/* When the certificate will expire (Optional) */
	Expires_on string `json:"expires_on"`

	/* Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa), or "keyless-certificate" (for Keyless SSL servers) (Optional) */
	Request_type string `json:"request_type"`

	/* The number of days for which the certificate should be valid (Optional) */
	Requested_validity int `json:"requested_validity"`

	/* The Certificate Signing Request (CSR). Must be newline-encoded. (Optional) */
	Csr string `json:"csr"`
}

type Origin_dns added in v1.60.0

type Origin_dns struct {

	/* cname的名称,该cname的值是源站域名。与origin_port成对使用。 (Optional) */
	Name string `json:"name"`
}

type Owner

type Owner struct {

	/*  (Optional) */
	User_owner User_owner `json:"user_owner"`

	/*  (Optional) */
	Organization_owner Organization_owner `json:"organization_owner"`
}

type PageRule

type PageRule struct {

	/* API条目标识符标签 (Optional) */
	Id string `json:"id"`

	/* 对请求进行评估的目标 (Optional) */
	Targets []Target `json:"targets"`

	/* 如果此规则的目标与请求相匹配,要执行的一系列行动。行动可以将网址重定向到另一个网址或覆盖设置(但不能同时进行)。 (Optional) */
	Actions []Action `json:"actions"`

	/* 一个数字,表示一个页面规则优先于另一个页面规则。
	如果您可能有一个全面页面规则(例如#1 '/images/')
	但是想要更具体的规则优先(例如#2 '/images/special/),
	您需要在后者(#2)上指定更高的优先级,以便它将覆盖第一个优先级。
	 (Optional) */
	Priority int `json:"priority"`

	/* 页面规则的状态 (Optional) */
	Status string `json:"status"`

	/* 上次修改页面规则的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 创建页面规则时间 (Optional) */
	Created_on string `json:"created_on"`
}

type PageRuleOnlyPriority

type PageRuleOnlyPriority struct {

	/* API item identifier tag (Optional) */
	Id string `json:"id"`

	/* A number that indicates the preference for a page rule over another.
	In the case where you may have a catch-all page rule (e.g., #1: '/images/')
	but want a rule that is more specific to take precedence (e.g., #2: '/images/special/'),
	you'll want to specify a higher priority on the latter (#2) so it will override the first.
	 (Optional) */
	Priority int `json:"priority"`
}

type Path

type Path struct {

	/* 要重写的字面URI路径。 (Optional) */
	Value string `json:"value"`
}

type Plan

type Plan struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Price int `json:"price"`

	/*  (Optional) */
	Currency string `json:"currency"`

	/*  (Optional) */
	Frequency string `json:"frequency"`

	/*  (Optional) */
	Legacy_id string `json:"legacy_id"`

	/*  (Optional) */
	Is_subscribed bool `json:"is_subscribed"`

	/*  (Optional) */
	Can_subscribe bool `json:"can_subscribe"`
}

type Plan_pending

type Plan_pending struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Price int `json:"price"`

	/*  (Optional) */
	Currency string `json:"currency"`

	/*  (Optional) */
	Frequency string `json:"frequency"`

	/*  (Optional) */
	Legacy_id string `json:"legacy_id"`

	/*  (Optional) */
	Is_subscribed bool `json:"is_subscribed"`

	/*  (Optional) */
	Can_subscribe bool `json:"can_subscribe"`
}

type PoPDetailRes

type PoPDetailRes struct {

	/* PoP节点ID (Optional) */
	Id int `json:"id"`

	/* PoP节点名称 (Optional) */
	Name string `json:"name"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 城市 (Optional) */
	City string `json:"city"`

	/* 节点状态 (Optional) */
	Status string `json:"status"`

	/* 运营商信息(CT->中国电信 CM->中国移动 CU->中国联通) (Optional) */
	Isp string `json:"isp"`

	/*  (Optional) */
	Routing_modes interface{} `json:"routing_modes"`

	/*  (Optional) */
	Service_levels interface{} `json:"service_levels"`
}

type PolishImageOptimization

type PolishImageOptimization struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该设置的有效值 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type PolishWebPConversion

type PolishWebPConversion struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type PrefetchPreload

type PrefetchPreload struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type PrivacyPass

type PrivacyPass struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type PseudoIPv4Value

type PseudoIPv4Value struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该设置的有效值 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type Qps added in v1.60.0

type Qps struct {

	/* qps统计数据 (Optional) */
	QpsTotal ChartItemValue `json:"qpsTotal"`

	/* waf防护统计数据 (Optional) */
	WafAnti ChartItemValue `json:"wafAnti"`

	/* bot防护统计数据 (Optional) */
	BotAnti ChartItemValue `json:"botAnti"`

	/* cc防护统计数据 (Optional) */
	CcAnti ChartItemValue `json:"ccAnti"`

	/* 精准访问控制防护统计数据 (Optional) */
	AclAnti ChartItemValue `json:"aclAnti"`

	/* 网站合规异常统计数据 (Optional) */
	CacheTotal ChartItemValue `json:"cacheTotal"`
}

type Query

type Query struct {

	/* 要重写的字面URI查询字符串。 (Optional) */
	Value string `json:"value"`
}

type RateLimitRuleCfg added in v1.60.0

type RateLimitRuleCfg struct {

	/* 序号id,更新时需要 (Optional) */
	Id int `json:"id"`

	/* 规则名称  */
	Name string `json:"name"`

	/* 限速host配置 (Optional) */
	Host MatchOpValCfg `json:"host"`

	/* 限速url配置 (Optional) */
	Url MatchOpValCfg `json:"url"`

	/* ip配置 (Optional) */
	Ip string `json:"ip"`

	/* 限速大小 (Optional) */
	Rate int `json:"rate"`

	/* 限速burst大小 (Optional) */
	Burst int `json:"burst"`

	/* 匹配动作, 拦截:forbidden,redirect 人机识别:verify@jscookie,verify@captcha,verify@rdtcookie 观察:notice (Optional) */
	MatchAction string `json:"matchAction"`

	/* 跳转地址,matchAction为redirect时必须为当前实例下的域名的url,forbidden时为自定义页面名称 (Optional) */
	Redirection string `json:"redirection"`
}

type RateLimitRuleListCfg added in v1.60.0

type RateLimitRuleListCfg struct {

	/* 序号id (Optional) */
	Id int `json:"id"`

	/*  (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 0-使用中 1-禁用 (Optional) */
	Disable int `json:"disable"`

	/* 规则名称 (Optional) */
	Name string `json:"name"`

	/* 限速host配置 (Optional) */
	Host MatchOpValCfg `json:"host"`

	/* 限速url配置 (Optional) */
	Url MatchOpValCfg `json:"url"`

	/* ip配置 (Optional) */
	Ip string `json:"ip"`

	/* 限速大小 (Optional) */
	Rate int `json:"rate"`

	/* 限速burst大小 (Optional) */
	Burst int `json:"burst"`

	/* 匹配动作, 拦截:forbidden,redirect 人机识别:verify@jscookie,verify@captcha,verify@rdtcookie 观察:notice (Optional) */
	MatchAction string `json:"matchAction"`

	/* 跳转地址,matchAction为redirect时必须为当前实例下的域名的url,forbidden时为自定义页面名称 (Optional) */
	Redirection string `json:"redirection"`
}

type Ratelimit added in v1.60.0

type Ratelimit struct {

	/* 使用以下一个或多个特征:
	UI值==============API值
	(隐式包含)---------cf.colo.id(强制性的)
	IP---------------ip.src
	Cookie-----------http.request.cookies["<cookie_name>"]
	标头--------------http.request.headers["<header_name>"]
	查询--------------http.request.uri.args["<query_param_name>"]
	支持NAT的IP-------cf.unique_visitor_id
	ASN--------------ip.geoip.asnum
	国家/地区----------ip.geoip.country
	JA3指纹-----------cf.bot_management.ja3_hash

	最多使用5个特征。
	'IP'和'支持NAT的IP'不能同时使用。
	如果你使用http.request.headers["<header_name>"],<header_name>必须是小写,因为星盾在边缘规范化了标头名称。
	 (Optional) */
	Characteristics []string `json:"characteristics"`

	/* 在一段时间内触发规则的请求数。 (Optional) */
	Requests_per_period int `json:"requests_per_period"`

	/* 评估请求速率时要考虑的时间段(以秒为单位)。
	有效值10/60/120/300/600/3600,即10, 60 (1分钟), 120 (2分钟), 300 (5分钟), 600 (10分钟), or 3600 (1小时)。
	 (Optional) */
	Period int `json:"period"`

	/* 一旦达到速率,速率限制规则将在该时间段内(以秒为单位)生效。
	使用质询操作之一时,无法定义持续时间。在这种情况下,当访问者通过质询时,其相应的请求计数器设置为零。当规则特征值相同的访问者发出足够的请求再次触发限速规则时,他们将收到新的质询。
	有效值30/60/600/3600/86400,即30, 60 (1分钟), 600 (10分钟), 3600 (1小时), or 86400 (1天)。
	当action的值为managed_challenge/js_challenge/challenge时,你必须设置mitigation_timeout的值为0。
	 (Optional) */
	Mitigation_timeout int `json:"mitigation_timeout"`

	/* true代表,在确定请求速率时,只考虑发往源站的请求(即未缓存的请求)。 (Optional) */
	Requests_to_origin bool `json:"requests_to_origin"`

	/* 定义用于确定请求速率的标准。默认情况下,计数表达式与规则表达式相同。将此字段设置为空字符串(“”)时,也会应用默认值。
	计数表达式可以包括HTTP响应字段。当计数表达式中有响应字段时,计数将在发送响应后进行。 (Optional) */
	Counting_expression string `json:"counting_expression"`
}

type RefreshTask added in v1.60.0

type RefreshTask struct {

	/* 任务创建时间,UTC时间 (Optional) */
	CreateDate string `json:"createDate"`

	/* 任务失败率 (Optional) */
	Failed float32 `json:"failed"`

	/* 任务成功率 (Optional) */
	Success float32 `json:"success"`

	/* 刷新预热的任务id (Optional) */
	TaskId string `json:"taskId"`

	/* 数据库表id (Optional) */
	Id int64 `json:"id"`

	/* 重试状态(unretry:不重试,retry:重试) (Optional) */
	RetryStatus string `json:"retryStatus"`

	/* 任务状态(running:执行中,success:成功,failed:失败) (Optional) */
	TaskStatus string `json:"taskStatus"`

	/* 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热) (Optional) */
	TaskType string `json:"taskType"`

	/* 详细的任务 (Optional) */
	UrlTasks []UrlTask `json:"urlTasks"`
}

type Requests

type Requests struct {

	/* Total number of requests served (Optional) */
	All int `json:"all"`
}

type Response added in v1.60.0

type Response struct {

	/* 仅当规则action为block时可用。
	允许您定义由于速率限制而阻止请求时,返回的HTTP响应体。
	最大大小为30 KB。
	 (Optional) */
	Content *string `json:"content"`
}

type RocketLoader

type RocketLoader struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type RoutingModes

type RoutingModes struct {

	/*  (Optional) */
	Ipv4 string `json:"ipv4"`

	/*  (Optional) */
	Ipv6 string `json:"ipv6"`
}

type Rule added in v1.60.0

type Rule struct {

	/* 规则的标识。 (Optional) */
	Id string `json:"id"`

	/* 是否开启规则,有效值true/false。 (Optional) */
	Enabled bool `json:"enabled"`

	/* 规则的版本。 (Optional) */
	Version string `json:"version"`

	/* 规则的描述。 (Optional) */
	Description string `json:"description"`

	/* 表达式。
	UI字段==============API字段==================UI运算符================================================================
	ASN----------------ip.geoip.asnum----------------------等于/不等于/大于/小于/大于或等于/小于或等于/包含以下各项/不包含以下各项
	Cookie-------------http.cookie-------------------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	国家/地区-----------ip.geoip.country--------------------等于/不等于/包含以下各项/不包含以下各项
	洲-----------------ip.geoip.continent------------------等于/不等于/包含以下各项/不包含以下各项
	主机名--------------http.host---------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配/包含以下各项/不包含以下各项
	IP源地址------------ip.src------------------------------等于/不等于/包含以下各项/不包含以下各项/在列表中/不在列表中
	引用方--------------http.referer------------------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	请求方法------------http.request.method------------------等于/不等于/包含以下各项/不包含以下各项
	URI完整------------http.request.full_uri----------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	URI----------------http.request.uri--------------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	URI路径-------------http.request.uri.path----等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配/包含以下各项/不包含以下各项
	URI查询字符串--------http.request.uri.query--------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	HTTP版本------------http.request.version----------------等于/不等于/包含以下各项/不包含以下各项
	用户代理-------------http.user_agent---------------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	X-Forwarded-For----http.x_forwarded_for----------------等于/不等于/包含/不包含/与正则表达式匹配/与正则表达式不匹配
	合法机器人爬虫--------cf.client.bot
	威胁分数-------------cf.threat_score---------------------等于/不等于/大于/小于/大于或等于/小于或等于/包含以下各项/不包含以下各项
	已通过验证的自动程序---cf.bot_management.verified_bot
	自动程序分数----------cf.bot_management.score-------------等于/不等于/大于/小于/大于或等于/小于或等于/包含以下各项/不包含以下各项
	自动程序JS分数--------cf.bot_management.js_score----------等于/不等于/大于/小于/大于或等于/小于或等于/包含以下各项/不包含以下各项
	提供静态资源----------cf.bot_management.static_resource
	JA3指纹--------------cf.bot_management.ja3_hash----------等于/不等于

	UI运算符============================API运算符
	等于-------------------------------eq
	不等于-----------------------------ne
	大于-------------------------------gt
	小于-------------------------------lt
	大于或等于--------------------------ge
	小于或等于--------------------------le
	在列表中----------------------------
	不在列表中--------------------------
	包含-------------------------------contains
	不包含-----------------------------not <x> contains,例如:not http.x_forwarded_for contains
	与正则表达式匹配---------------------matches
	与正则表达式不匹配--------------------not <x> matches,例如:not http.user_agent matches
	包含以下各项-------------------------in
	不包含以下各项-----------------------not <x> in,例如:not cf.bot_management.js_score in
	 (Optional) */
	Expression string `json:"expression"`

	/* 当表达式匹配时,采取的措施。有效值block/challenge/js_challenge/managed_challenge/log。 (Optional) */
	Action string `json:"action"`

	/*  (Optional) */
	Action_parameters Action_parameters `json:"action_parameters"`

	/* 规则中的速率限制规则。 (Optional) */
	Ratelimit Ratelimit `json:"ratelimit"`
}

type RuleSet added in v1.60.0

type RuleSet struct {

	/* 规则集的标识。 (Optional) */
	Id string `json:"id"`

	/* 规则集的名称。 (Optional) */
	Name string `json:"name"`

	/* 规则集的描述。 (Optional) */
	Description string `json:"description"`

	/* 规则集的类型,有效值zone。 (Optional) */
	Kind string `json:"kind"`

	/* 执行规则集的阶段,有效值http_ratelimit。 (Optional) */
	Phase string `json:"phase"`

	/* 规则集最近修改时间。 (Optional) */
	Last_updated string `json:"last_updated"`

	/* 规则集中的所有规则。 (Optional) */
	Rules []Rule `json:"rules"`

	/* 规则集的版本。 (Optional) */
	Version string `json:"version"`

	/*  (Optional) */
	Source string `json:"source"`
}

type SRVdata

type SRVdata struct {

	/*  (Optional) */
	Priority *int `json:"priority"`

	/*  (Optional) */
	Weight *int `json:"weight"`

	/*  (Optional) */
	Port *int `json:"port"`

	/*  (Optional) */
	Name *string `json:"name"`

	/*  (Optional) */
	Proto *string `json:"proto"`

	/*  (Optional) */
	Service *string `json:"service"`

	/*  (Optional) */
	Target *string `json:"target"`
}

type SSL

type SSL struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该配置的有效值 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type SSLVerification

type SSLVerification struct {

	/* Current status of certificate (Optional) */
	Certificate_status string `json:"certificate_status"`

	/* Certificate's signature algorithm (Optional) */
	Signature string `json:"signature"`

	/* Method of verification (Optional) */
	Verification_type string `json:"verification_type"`

	/* Status of the required verification information, omitted if verification status is unknown. (Optional) */
	Verification_status bool `json:"verification_status"`

	/*  (Optional) */
	Verification_info Verification_info `json:"verification_info"`

	/* Certificate Authority is manually reviewing the order (Optional) */
	Brand_check bool `json:"brand_check"`

	/* Validation method in use for a certificate pack order. (Optional) */
	Validation_method string `json:"validation_method"`

	/* Certificate Pack UUID (Optional) */
	Cert_pack_uuid string `json:"cert_pack_uuid"`
}

type SameContentZones added in v1.61.0

type SameContentZones struct {

	/* zoneId (Optional) */
	ZoneId string `json:"zoneId"`

	/* zoneName (Optional) */
	ZoneName string `json:"zoneName"`

	/* instanceId (Optional) */
	InstanceId string `json:"instanceId"`

	/* instanceName (Optional) */
	InstanceName string `json:"instanceName"`

	/* pin (Optional) */
	Pin string `json:"pin"`
}

type SecurityHeader

type SecurityHeader struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Value Value `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type SecurityLevel

type SecurityLevel struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* 该设置的有效值 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type ServerSideExclude

type ServerSideExclude struct {

	/* ID of the zone setting (Optional) */
	Id string `json:"id"`

	/* Value of the zone setting (Optional) */
	Value string `json:"value"`

	/* Whether or not this setting can be modified for this zone (based on your JDC StarShield plan level) (Optional) */
	Editable bool `json:"editable"`

	/* last time this setting was modified (Optional) */
	Modified_on string `json:"modified_on"`
}

type ServiceLevels

type ServiceLevels struct {

	/*  (Optional) */
	Jdc_ent string `json:"jdc_ent"`

	/*  (Optional) */
	Jdc_pro string `json:"jdc_pro"`

	/*  (Optional) */
	Jdc_free string `json:"jdc_free"`

	/*  (Optional) */
	Jdc_basic string `json:"jdc_basic"`

	/*  (Optional) */
	Jdc_flagship string `json:"jdc_flagship"`
}

type SetRatelimitRulesReq added in v1.60.0

type SetRatelimitRulesReq struct {

	/* 限速规则配置  */
	Rules []RateLimitRuleCfg `json:"rules"`
}

type SimpleDateHistogram

type SimpleDateHistogram struct {

	/* 数据点集合。
	如果是带宽,数据点的单位是bps(bit per second)
	如果是流量,数据点的单位是Byte
	如果是请求量,数据点的单位是次数
	 (Optional) */
	DataSeries []int `json:"dataSeries"`

	/* 时间点集合。时间点的值为时间戳对应的long值。 (Optional) */
	TimeSeries []int `json:"timeSeries"`
}

type SpectrumApplication added in v1.60.0

type SpectrumApplication struct {

	/* 请注意该值仅适用于TCP情况。
	源站的地址列表。可以指定单个端口,例如,"tcp://192.0.2.1:1000";或者一系列端口,例如,"tcp://192.0.2.1:1000-2000"
	origin_direct中的端口与protocol中的端口必须遵循如下规则,
	1.origin_direct中如果是单个端口,protocol中的端口可以是[1, 65535]的任意单值;
	2.origin_direct中如果是端口范围,protocol中的端口也必须是范围,且范围区间必须相同。
	 (Optional) */
	Origin_direct []string `json:"origin_direct"`

	/*  (Optional) */
	Dns Dns `json:"dns"`

	/* 请注意该值仅适用于TCP情况。
	开启到源站的的代理协议。默认值off,有效值off/v1/v2。
	TCP的有效值,off (默认)/v1/v2。
	请注意源站也需要配置对应的协议和版本。
	 (Optional) */
	Proxy_protocol string `json:"proxy_protocol"`

	/*  (Optional) */
	Edge_ips Edge_ips `json:"edge_ips"`

	/* 应用最近修改时间。 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 应用创建时间。 (Optional) */
	Created_on string `json:"created_on"`

	/* 请注意该值仅适用于TCP情况。开启IP访问规则。 (Optional) */
	Ip_firewall bool `json:"ip_firewall"`

	/* 星盾Spectrum IP的端口配置。
	对于 TCP 应用,您可以指定单个端口,例如,"tcp/1000";或者一系列端口,例如,"tcp/1000-2000"。
	protocol中的端口与origin_direct中的端口必须遵循如下规则,
	1.protocol中如果是单个端口,origin_direct中的端口可以是[1, 65535]任意单值;
	2.protocol中如果是端口范围,origin_direct中的端口也必须是范围,且范围区间必须相同。
	对于 HTTP/HTTPS 应用,您仅可以指定单个端口,例如,"tcp/1000"。
	 (Optional) */
	Protocol string `json:"protocol"`

	/* 应用标识。 (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Origin_dns Origin_dns `json:"origin_dns"`

	/* 源站端口。与origin_dns成对使用。 (Optional) */
	Origin_port string `json:"origin_port"`

	/* 确定流量如何从边缘传输到源站。
	当应用协议是”TCP“是,该值为"direct",Spectrum会将流量直接发送到您的源站。
	当应用协议是”HTTP“或”HTTPS“是,该值为”http“或”https“,Spectrum将应用星盾的HTTP/HTTPS功能,将流量发送到您的源站。 (Optional) */
	Traffic_type string `json:"traffic_type"`
}

type StatusCodeData added in v1.60.0

type StatusCodeData struct {

	/* 异常状态码域名TOP10 (Optional) */
	DomainTop10 []TopCodeValue `json:"domainTop10"`

	/* 异常状态码URL的TOP10 (Optional) */
	UrlTop10 []TopCodeValue `json:"urlTop10"`

	/* 状态码响应统计,当请求字段isStaCode为true时返回 (Optional) */
	StatusCodeTotal ChartItemValue `json:"statusCodeTotal"`

	/* 状态码响应占比,当请求字段isStaCode为true时返回 (Optional) */
	StatusCodePie []TopValue `json:"statusCodePie"`
}

type Strict_transport_security

type Strict_transport_security struct {

	/* 是否启用了严格传输安全 (Optional) */
	Enabled bool `json:"enabled"`

	/* 严格传输安全的最大时间(秒)。 (Optional) */
	Max_age int `json:"max_age"`

	/* 包括所有子域,以保证严格传输安全 (Optional) */
	Include_subdomains bool `json:"include_subdomains"`

	/* 是否包含'X-Content-Type-Options.. nosniff'头 (Optional) */
	Nosniff bool `json:"nosniff"`
}

type SubUserRefreshLimit added in v1.60.0

type SubUserRefreshLimit struct {

	/* 子账号名 (Optional) */
	User string `json:"user"`

	/* 子账号刷新个数 (Optional) */
	RefreshCount int64 `json:"refreshCount"`

	/* 子账号目录个数 (Optional) */
	DirCount int64 `json:"dirCount"`

	/* 子账号预热个数 (Optional) */
	PrefetchCount int64 `json:"prefetchCount"`
}

type SuspicionBehavior added in v1.61.0

type SuspicionBehavior struct {

	/* 域名 (Optional) */
	ZoneName string `json:"zoneName"`

	/* 所属实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 所属PIN (Optional) */
	Pin string `json:"pin"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 计费状态 (Optional) */
	ChargeState string `json:"chargeState"`

	/* 实例到期时间 (Optional) */
	InstanceExpireTime string `json:"instanceExpireTime"`

	/* 源站ip (Optional) */
	OriginIp string `json:"originIp"`

	/* 国家地区 (Optional) */
	CountryRegion string `json:"countryRegion"`

	/* 嫌疑等级,LOW - 低、MEDIUM - 中、HIGH - 高 (Optional) */
	Level string `json:"level"`

	/* 窗口开始时间 (Optional) */
	WindowStartTime string `json:"windowStartTime"`

	/* 窗口(1h)内请求总数 (Optional) */
	Cnt int `json:"cnt"`

	/* 窗口(1h)内ws 101状态码的数量 (Optional) */
	Ws101Cnt int `json:"ws101Cnt"`
}

type TLSClientAuthentication

type TLSClientAuthentication struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type Target

type Target struct {

	/*  (Optional) */
	Target string `json:"target"`

	/*  (Optional) */
	Constraint Constraint `json:"constraint"`
}

type TopAntiValue added in v1.60.0

type TopAntiValue struct {

	/* 排名 (Optional) */
	Rank int `json:"rank"`

	/* 具体值 (Optional) */
	Src string `json:"src"`

	/* 统计值 (Optional) */
	Pv int `json:"pv"`

	/* 攻击分布 (Optional) */
	Count AntiValue `json:"count"`
}

type TopCodeValue added in v1.60.0

type TopCodeValue struct {

	/* 排名 (Optional) */
	Rank int `json:"rank"`

	/* 具体值 (Optional) */
	Src string `json:"src"`

	/* 统计值 (Optional) */
	Pv int `json:"pv"`

	/*  (Optional) */
	Status_code []KVPair `json:"status_code"`
}

type TopK added in v1.60.0

type TopK struct {

	/* 排名前K的项。 (Optional) */
	TopK []Item `json:"topK"`
}

type TopN added in v1.60.0

type TopN struct {

	/*  (Optional) */
	Addr_top10 []TopValue `json:"addr_top10"`

	/*  (Optional) */
	Area_top10 []TopValue `json:"area_top10"`

	/*  (Optional) */
	Url_top10 []TopValue `json:"url_top10"`

	/*  (Optional) */
	Ua_top10 []TopValue `json:"ua_top10"`

	/*  (Optional) */
	Domain_anti_top10 []TopAntiValue `json:"domain_anti_top10"`

	/*  (Optional) */
	Url_anti_top10 []TopAntiValue `json:"url_anti_top10"`
}

type TopValue added in v1.60.0

type TopValue struct {

	/* 排名 (Optional) */
	Rank int `json:"rank"`

	/* 具体值 (Optional) */
	Src string `json:"src"`

	/* 统计值 (Optional) */
	Pv int `json:"pv"`
}

type TopkAnalytics

type TopkAnalytics struct {

	/*  (Optional) */
	Countries []Item `json:"countries"`

	/*  (Optional) */
	TopCountries []Item `json:"topCountries"`

	/*  (Optional) */
	TopDeviceTypes []Item `json:"topDeviceTypes"`

	/*  (Optional) */
	TopHosts []Item `json:"topHosts"`

	/*  (Optional) */
	TopPaths []Item `json:"topPaths"`

	/*  (Optional) */
	TopContentTypes []Item `json:"topContentTypes"`

	/*  (Optional) */
	TopStatusCodes []Item `json:"topStatusCodes"`

	/*  (Optional) */
	TopIPs []Item `json:"topIPs"`

	/*  (Optional) */
	TopUserAgents []Item `json:"topUserAgents"`

	/*  (Optional) */
	TopHttpMethods []Item `json:"topHttpMethods"`

	/*  (Optional) */
	TopASNs []Item `json:"topASNs"`

	/*  (Optional) */
	TopFirewallRuleIds []Item `json:"topFirewallRuleIds"`

	/*  (Optional) */
	TopFirewallRules []Item `json:"topFirewallRules"`

	/*  (Optional) */
	TopWafRuleIds []Item `json:"topWafRuleIds"`

	/*  (Optional) */
	TopWafRules []Item `json:"topWafRules"`
}

type Totals

type Totals struct {

	/*  (Optional) */
	Since string `json:"since"`

	/*  (Optional) */
	Until string `json:"until"`

	/*  (Optional) */
	Requests Requests `json:"requests"`

	/*  (Optional) */
	Bandwidth Bandwidth `json:"bandwidth"`
}

type UniversalSSLSetting

type UniversalSSLSetting struct {

	/* 禁用通用SSL将从边缘上删除域的所有当前激活的通用SSL证书并且防止将来订购任何通用SSL证书。如果没有为域上载专用证书或自定义证书,访问者将无法通过HTTPS访问域。
	通过禁用通用SSL,您知道以下星盾设置和首选项将导致访问者无法访问您的域,除非您上载了自定义证书或购买了专用证书。
	  * HSTS
	  * Always Use HTTPS
	  * Opportunistic Encryption
	  * Onion Routing
	  * Any Page Rules redirecting traffic to HTTPS
	类似地,在启用星盾代理时,在源站将任何HTTP重定向到HTTPS将导致用户在星盾的边缘没有有效证书的情况下无法访问您的站点。
	如果您在星盾的边缘没有有效的自定义或专用证书,并且不确定是否启用了上述任何星盾设置,或者如果您的源站存在任何HTTP重定向,我们建议您的域保持启用通用SSL。 (Optional) */
	Enabled bool `json:"enabled"`
}

type Uri

type Uri struct {

	/*  (Optional) */
	Path Path `json:"path"`

	/*  (Optional) */
	Query Query `json:"query"`
}

type UrlItem added in v1.60.0

type UrlItem struct {

	/* 任务url (Optional) */
	Url string `json:"url"`

	/* 回报任务的id (Optional) */
	UrlId int64 `json:"urlId"`
}

type UrlItemV2 added in v1.60.0

type UrlItemV2 struct {

	/* 任务url (Optional) */
	Url string `json:"url"`

	/* 回报任务的id (Optional) */
	UrlId string `json:"urlId"`

	/* 回报的地址 (Optional) */
	CallbackUrl string `json:"callbackUrl"`
}

type UrlTask added in v1.60.0

type UrlTask struct {

	/* 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热) (Optional) */
	TaskType string `json:"taskType"`

	/* 刷新预热的url (Optional) */
	Url string `json:"url"`

	/* 任务状态(running:执行中,success:成功,failed:失败) (Optional) */
	Status string `json:"status"`
}

type UserPin2Ips added in v1.60.0

type UserPin2Ips struct {

	/* userPin (Optional) */
	UserPin string `json:"userPin"`

	/* ipInfo (Optional) */
	Ips []UserPinIpInfo `json:"ips"`
}

type UserPinIpInfo added in v1.60.0

type UserPinIpInfo struct {

	/* 带宽,单位M (Optional) */
	Bandwidth int64 `json:"bandwidth"`

	/* ip addr (Optional) */
	Ip string `json:"ip"`
}

type User_owner

type User_owner struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Email string `json:"email"`

	/*  (Optional) */
	Ty_pe string `json:"ty_pe"`
}

type Validation_record added in v1.62.0

type Validation_record struct {

	/*  (Optional) */
	Status string `json:"status"`

	/* 主机记录 (Optional) */
	Txt_name string `json:"txt_name"`

	/* TXT记录值 (Optional) */
	Txt_value string `json:"txt_value"`
}

type Value

type Value struct {

	/*  (Optional) */
	Strict_transport_security Strict_transport_security `json:"strict_transport_security"`
}

type Value_0

type Value_0 struct {

	/* 是否启用移动重定向 (Optional) */
	Status *string `json:"status"`

	/* 你希望将移动设备上的访客重定向到哪个子域前缀(子域必须已经存在)。 (Optional) */
	Mobile_subdomain *string `json:"mobile_subdomain"`

	/* 是放弃当前页面路径并重定向到移动子域的URL根,还是保留路径并重定向到移动子域的同一页面 (Optional) */
	Strip_uri *bool `json:"strip_uri"`
}

type Value_0_0

type Value_0_0 struct {

	/* 为你的网站自动最小化所有的CSS (Optional) */
	Css *string `json:"css"`

	/* 为你的网站自动最小化所有的HTML (Optional) */
	Html *string `json:"html"`

	/* 为你的网站自动最小化所有的JavaScript (Optional) */
	Js *string `json:"js"`
}

type Verification_info

type Verification_info struct {

	/* Name of CNAME record (Optional) */
	Record_name string `json:"record_name"`

	/* Target of CNAME record (Optional) */
	Record_target string `json:"record_target"`

	/*  (Optional) */
	Record_value string `json:"record_value"`

	/*  (Optional) */
	Http_url string `json:"http_url"`

	/*  (Optional) */
	Http_body string `json:"http_body"`

	/*  (Optional) */
	Cname string `json:"cname"`

	/*  (Optional) */
	Cname_target string `json:"cname_target"`

	/*  (Optional) */
	Txt_name string `json:"txt_name"`

	/*  (Optional) */
	Txt_value string `json:"txt_value"`
}

type WAFRule

type WAFRule struct {

	/* WAF规则标识符标签 (Optional) */
	Id string `json:"id"`

	/* 规则的公开说明 (Optional) */
	Description string `json:"description"`

	/* 在相关组中执行单个规则的顺序 (Optional) */
	Priority string `json:"priority"`

	/*  (Optional) */
	Group Group `json:"group"`

	/* WAF包标识符标签 (Optional) */
	Package_id string `json:"package_id"`

	/* 定义触发规则时规则交互方式的可用模式。 (Optional) */
	Allowed_modes []string `json:"allowed_modes"`

	/* 规则的默认模式。 (Optional) */
	Default_mode string `json:"default_mode"`

	/* 评估请求时是否使用基于异常的规则。 (Optional) */
	Mode string `json:"mode"`
}

type WAFRuleGroup

type WAFRuleGroup struct {

	/* WAF组标识符标签 (Optional) */
	Id string `json:"id"`

	/* 防火墙规则组的名称 (Optional) */
	Name string `json:"name"`

	/* WAF规则集的功能摘要 (Optional) */
	Description string `json:"description"`

	/* 此组中包含多少条规则 (Optional) */
	Rules_count int `json:"rules_count"`

	/* 组中有多少规则已从默认规则修改 (Optional) */
	Modified_rules_count int `json:"modified_rules_count"`

	/* WAF包标识符标签 (Optional) */
	Package_id string `json:"package_id"`

	/* 此组中包含的规则是否可配置/可用 (Optional) */
	Mode string `json:"mode"`

	/* 组可以具有的可用状态。这将影响此组中规则的状态。 (Optional) */
	Allowed_modes []string `json:"allowed_modes"`
}

type WAFRulePackage

type WAFRulePackage struct {

	/* WAF包标识符标签 (Optional) */
	Id string `json:"id"`

	/* 防火墙包的名称 (Optional) */
	Name string `json:"name"`

	/* 防火墙包的目的/功能摘要 (Optional) */
	Description string `json:"description"`

	/*  (Optional) */
	Detection_mode string `json:"detection_mode"`

	/* 区标识符标签 (Optional) */
	Zone_id string `json:"zone_id"`

	/* 指示对域应用防火墙包。 (Optional) */
	Status string `json:"status"`

	/* 防火墙包的敏感度。 (Optional) */
	Sensitivity string `json:"sensitivity"`

	/* 将对防火墙包下的规则执行的默认操作。 (Optional) */
	Action_mode string `json:"action_mode"`
}

type WafTopN added in v1.60.0

type WafTopN struct {

	/* 来源ip的top10,当请求字段isWafRule为false时返回 (Optional) */
	Addr_top10 []TopValue `json:"addr_top10"`

	/* web攻击路径top10,当请求字段isWafRule为false时返回 (Optional) */
	Url_top10 []TopValue `json:"url_top10"`

	/* web攻击来源top50,当请求字段isWafRule为false时返回 (Optional) */
	Area_top50 []TopValue `json:"area_top50"`
}

type WebApplicationFirewall

type WebApplicationFirewall struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type WebSockets

type WebSockets struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type WorkerRoute

type WorkerRoute struct {

	/* API item identifier tag (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Pattern string `json:"pattern"`

	/* Name of the script to apply when the route is matched. The route is skipped when this is blank/missing. (Optional) */
	Script string `json:"script"`
}

type WorkerScript

type WorkerScript struct {

	/* worker name (Optional) */
	Id string `json:"id"`

	/* Raw script content, as a string (Optional) */
	Script string `json:"script"`

	/* Hashed script content, can be used in a If-None-Match header when updating (Optional) */
	Etag string `json:"etag"`

	/* Size of the script, in bytes (Optional) */
	Size int `json:"size"`

	/* When the script was created (Optional) */
	Created_on string `json:"created_on"`

	/* When the script was last modified (Optional) */
	Modified_on string `json:"modified_on"`

	/*  (Optional) */
	Available_on_subdomain bool `json:"available_on_subdomain"`

	/* 过去24小时的请求数 (Optional) */
	RequestCount int `json:"requestCount"`
}

type Zero_RTTValue

type Zero_RTTValue struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type Zone

type Zone struct {

	/*  (Optional) */
	Plan_pending Plan_pending `json:"plan_pending"`

	/* 切换到星盾时的DNS主机 (Optional) */
	Original_dnshost string `json:"original_dnshost"`

	/* 当前用户在域上的可用权限 (Optional) */
	Permissions []string `json:"permissions"`

	/* 域的开发模式过期(正整数)或上次过期(负整数)的时间间隔(秒)。如果从未启用过开发模式,则此值为0。
	(Optional) */
	Development_mode int `json:"development_mode"`

	/*  (Optional) */
	Verification_key string `json:"verification_key"`

	/*  (Optional) */
	Plan Plan `json:"plan"`

	/* 迁移到星盾之前的原始域名服务器 (Optional) */
	Original_name_servers []string `json:"original_name_servers"`

	/* 域名 (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	Account Account `json:"account"`

	/* 最后一次检测到所有权证明和该域激活的时间 (Optional) */
	Activated_on string `json:"activated_on"`

	/* 指示域是否仅使用星盾DNS服务。如果值为真,则表示该域将不会获得安全或性能方面的好处。 (Optional) */
	Paused bool `json:"paused"`

	/* 域的状态 (Optional) */
	Status string `json:"status"`

	/*  (Optional) */
	Owner Owner `json:"owner"`

	/* 上次修改域的时间 (Optional) */
	Modified_on string `json:"modified_on"`

	/* 创建域的时间 (Optional) */
	Created_on string `json:"created_on"`

	/* 全接入的域意味着DNS由星盾托管。半接入的域通常是合作伙伴托管的域或CNAME设置。 (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 域标识符标签 (Optional) */
	Id string `json:"id"`

	/* 星盾分配的域名服务器。这仅适用于使用星盾DNS的域 (Optional) */
	Name_servers []string `json:"name_servers"`

	/* 切换到星盾时的域注册商 (Optional) */
	Original_registrar string `json:"original_registrar"`

	/* cname解析状态。0为解析到云端VIP,1为解析到回源地址 (Optional) */
	EnableCname2Rs int `json:"enableCname2Rs"`

	/* CNAME后缀 (Optional) */
	Cname_suffix string `json:"cname_suffix"`
}

type ZoneAnalytics

type ZoneAnalytics struct {

	/*  (Optional) */
	Totals Totals `json:"totals"`

	/* Time deltas containing metadata about each bucket of time. The number of buckets (resolution) is determined by the amount of time between the since and until parameters. (Optional) */
	Timeseries []Totals `json:"timeseries"`
}

type ZoneBandwidth added in v1.61.0

type ZoneBandwidth struct {

	/* 域名 (Optional) */
	Zonename string `json:"zonename"`

	/* 所属实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 所属PIN (Optional) */
	Pin string `json:"pin"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 计费状态 (Optional) */
	ChargeState string `json:"chargeState"`

	/* 实例到期时间 (Optional) */
	InstanceExpireTime string `json:"instanceExpireTime"`

	/* 查询时间段内的峰值带宽,单位bit per second (Optional) */
	Bps int `json:"bps"`

	/* 套餐总流量 (Optional) */
	TotalFlowStr string `json:"totalFlowStr"`

	/* 套餐已使用流量 (Optional) */
	UsedFlowStr string `json:"usedFlowStr"`

	/* 套餐剩余流量 (Optional) */
	RemainingFlowStr string `json:"remainingFlowStr"`

	/* 实例使用状态,正常, 超量, 弹性账单 (Optional) */
	InstanceUsedStatus string `json:"instanceUsedStatus"`

	/* 备案状态:false 未备案、true 已备案 (Optional) */
	IcpStatus bool `json:"icpStatus"`
}

type ZoneConfItem added in v1.62.0

type ZoneConfItem struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Value string `json:"value"`
}

type ZoneEnableOpportunisticEncryption

type ZoneEnableOpportunisticEncryption struct {

	/* 域设置的ID (Optional) */
	Id string `json:"id"`

	/* on - 开启;off - 关闭 (Optional) */
	Value string `json:"value"`

	/* 该配置是否可以修改 (Optional) */
	Editable bool `json:"editable"`

	/* 上次修改此设置的时间 (Optional) */
	Modified_on string `json:"modified_on"`
}

type ZoneSetting

type ZoneSetting struct {

	/*  (Optional) */
	Id string `json:"id"`

	/*  (Optional) */
	Modified_on string `json:"modified_on"`

	/*  (Optional) */
	Editable bool `json:"editable"`

	/*  (Optional) */
	Value interface{} `json:"value"`
}

type ZoneTraffic added in v1.61.0

type ZoneTraffic struct {

	/* 域名 (Optional) */
	Zonename string `json:"zonename"`

	/* 所属实例名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* 所属PIN (Optional) */
	Pin string `json:"pin"`

	/* 套餐类型 (Optional) */
	PackType string `json:"packType"`

	/* 计费状态 (Optional) */
	ChargeState string `json:"chargeState"`

	/* 实例到期时间 (Optional) */
	InstanceExpireTime string `json:"instanceExpireTime"`

	/* 查询时间段内的流量,单位Byte (Optional) */
	Bytes int `json:"bytes"`

	/* 套餐总流量 (Optional) */
	TotalFlowStr string `json:"totalFlowStr"`

	/* 套餐已使用流量 (Optional) */
	UsedFlowStr string `json:"usedFlowStr"`

	/* 套餐剩余流量 (Optional) */
	RemainingFlowStr string `json:"remainingFlowStr"`

	/* 实例使用状态,正常, 超量, 弹性账单 (Optional) */
	InstanceUsedStatus string `json:"instanceUsedStatus"`

	/* 备案状态:false 未备案、true 已备案 (Optional) */
	IcpStatus bool `json:"icpStatus"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL