models

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 0 Imported by: 6 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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
	 (Optional) */
	Name string `json:"name"`

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

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

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

	/* 域的自定义SSL的状态 (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) */
	Id string `json:"id"`

	/* 证书包的类型 (Optional) */
	Ty_pe string `json:"ty_pe"`

	/* 证书包的有效主机名的逗号分隔列表。必须包含域的顶级域名,不能包含超过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 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的状态 (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 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"`

	/*  (Optional) */
	Timeseries []int `json:"timeseries"`

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

	/*  (Optional) */
	Total int `json:"total"`
}

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->状态码错误 (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"`

	/* 实例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"`

	/* 套餐模式(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 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"`

	/* cdn加速流量 (Optional) */
	CdnSpeedTraffic int `json:"cdnSpeedTraffic"`

	/* DDoS保底防护 (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"`

	/* 是否支持TrueCLientIp (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"`

	/* 防火墙规则数量 (Optional) */
	FirewallRuleNum int `json:"firewallRuleNum"`

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

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状态 (Optional) */
	Status string `json:"status"`

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

	/* zone接入类型 (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 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) */
	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 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 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"`

	/* 应用于匹配请求的行动。注意,行动 "log "只适用于企业客户。 (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 Group

type Group struct {

	/* WAF group identifier tag (Optional) */
	Id string `json:"id"`

	/* Name of the firewall rule group (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"`

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

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

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 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 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 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 Query

type Query struct {

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

type Requests

type Requests struct {

	/* Total number of requests served (Optional) */
	All int `json:"all"`
}

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 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 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 SimpleDateHistogram

type SimpleDateHistogram struct {

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

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

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 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 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 User_owner

type User_owner struct {

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

	/*  (Optional) */
	Email string `json:"email"`

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

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

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL