model

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advance added in v0.0.70

type Advance struct {
	Index *string `json:"index,omitempty"`

	Contents *[]string `json:"contents,omitempty"`
}

高级配置

func (Advance) String added in v0.0.70

func (o Advance) String() string

type AntiTamperRuleResponseBody

type AntiTamperRuleResponseBody struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Url *string `json:"url,omitempty"`
}

func (AntiTamperRuleResponseBody) String

type ApplyCertificateToHostRequest

type ApplyCertificateToHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CertificateId string `json:"certificate_id"`

	Body *ApplyCertificateToHostRequestBody `json:"body,omitempty"`
}

Request Object

func (ApplyCertificateToHostRequest) String

type ApplyCertificateToHostRequestBody

type ApplyCertificateToHostRequestBody struct {
	CloudHostIds *[]string `json:"cloud_host_ids,omitempty"`

	PremiumHostIds *[]string `json:"premium_host_ids,omitempty"`
}

绑定证书和域名的请求体

func (ApplyCertificateToHostRequestBody) String

type ApplyCertificateToHostResponse

type ApplyCertificateToHostResponse struct {
	Id *string `json:"id,omitempty"`

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

	Timestamp *int64 `json:"timestamp,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	BindHost       *[]CertificateBundingHostBody `json:"bind_host,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (ApplyCertificateToHostResponse) String

type BindHost

type BindHost struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	WafType *string `json:"waf_type,omitempty"`

	Mode *string `json:"mode,omitempty"`
}

绑定的域名信息

func (BindHost) String

func (o BindHost) String() string

type BlockPage

type BlockPage struct {
	Template string `json:"template"`

	CustomPage *CustomPage `json:"custom_page,omitempty"`

	RedirectUrl *string `json:"redirect_url,omitempty"`
}

告警页面

func (BlockPage) String

func (o BlockPage) String() string

type CertificateBody

type CertificateBody struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Content *string `json:"content,omitempty"`

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp int64 `json:"timestamp"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`
}

func (CertificateBody) String

func (o CertificateBody) String() string

type CertificateBundingHostBody

type CertificateBundingHostBody struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	WafType *CertificateBundingHostBodyWafType `json:"waf_type,omitempty"`
}

绑定域名列表

func (CertificateBundingHostBody) String

type CertificateBundingHostBodyWafType

type CertificateBundingHostBodyWafType struct {
	// contains filtered or unexported fields
}

func (CertificateBundingHostBodyWafType) MarshalJSON

func (c CertificateBundingHostBodyWafType) MarshalJSON() ([]byte, error)

func (*CertificateBundingHostBodyWafType) UnmarshalJSON

func (c *CertificateBundingHostBodyWafType) UnmarshalJSON(b []byte) error

type CertificateBundingHostBodyWafTypeEnum

type CertificateBundingHostBodyWafTypeEnum struct {
	CLOUD   CertificateBundingHostBodyWafType
	PREMIUM CertificateBundingHostBodyWafType
}

func GetCertificateBundingHostBodyWafTypeEnum

func GetCertificateBundingHostBodyWafTypeEnum() CertificateBundingHostBodyWafTypeEnum

type CloudWafHostItem added in v0.0.69

type CloudWafHostItem struct {
	Id *string `json:"id,omitempty"`

	Hostid *string `json:"hostid,omitempty"`

	Description *string `json:"description,omitempty"`

	Type *int32 `json:"type,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Flag *Flag `json:"flag,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	ExclusiveIp *bool `json:"exclusive_ip,omitempty"`

	PaidType *string `json:"paid_type,omitempty"`
}

func (CloudWafHostItem) String added in v0.0.69

func (o CloudWafHostItem) String() string

type CloudWafServer

type CloudWafServer struct {
	FrontProtocol CloudWafServerFrontProtocol `json:"front_protocol"`

	BackProtocol CloudWafServerBackProtocol `json:"back_protocol"`

	Address string `json:"address"`

	Port int32 `json:"port"`

	Type CloudWafServerType `json:"type"`
}

服务器配置

func (CloudWafServer) String

func (o CloudWafServer) String() string

type CloudWafServerBackProtocol added in v0.0.69

type CloudWafServerBackProtocol struct {
	// contains filtered or unexported fields
}

func (CloudWafServerBackProtocol) MarshalJSON added in v0.0.69

func (c CloudWafServerBackProtocol) MarshalJSON() ([]byte, error)

func (*CloudWafServerBackProtocol) UnmarshalJSON added in v0.0.69

func (c *CloudWafServerBackProtocol) UnmarshalJSON(b []byte) error

type CloudWafServerBackProtocolEnum added in v0.0.69

type CloudWafServerBackProtocolEnum struct {
	HTTP  CloudWafServerBackProtocol
	HTTPS CloudWafServerBackProtocol
}

func GetCloudWafServerBackProtocolEnum added in v0.0.69

func GetCloudWafServerBackProtocolEnum() CloudWafServerBackProtocolEnum

type CloudWafServerFrontProtocol added in v0.0.69

type CloudWafServerFrontProtocol struct {
	// contains filtered or unexported fields
}

func (CloudWafServerFrontProtocol) MarshalJSON added in v0.0.69

func (c CloudWafServerFrontProtocol) MarshalJSON() ([]byte, error)

func (*CloudWafServerFrontProtocol) UnmarshalJSON added in v0.0.69

func (c *CloudWafServerFrontProtocol) UnmarshalJSON(b []byte) error

type CloudWafServerFrontProtocolEnum added in v0.0.69

type CloudWafServerFrontProtocolEnum struct {
	HTTP  CloudWafServerFrontProtocol
	HTTPS CloudWafServerFrontProtocol
}

func GetCloudWafServerFrontProtocolEnum added in v0.0.69

func GetCloudWafServerFrontProtocolEnum() CloudWafServerFrontProtocolEnum

type CloudWafServerType

type CloudWafServerType struct {
	// contains filtered or unexported fields
}

func (CloudWafServerType) MarshalJSON

func (c CloudWafServerType) MarshalJSON() ([]byte, error)

func (*CloudWafServerType) UnmarshalJSON

func (c *CloudWafServerType) UnmarshalJSON(b []byte) error

type CloudWafServerTypeEnum

type CloudWafServerTypeEnum struct {
	IPV4 CloudWafServerType
	IPV6 CloudWafServerType
}

func GetCloudWafServerTypeEnum

func GetCloudWafServerTypeEnum() CloudWafServerTypeEnum

type CompositeHostResponse

type CompositeHostResponse struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	PaidType *string `json:"paid_type,omitempty"`

	Flag *HostFlag `json:"flag,omitempty"`

	WafType *string `json:"waf_type,omitempty"`
}

func (CompositeHostResponse) String

func (o CompositeHostResponse) String() string

type CountItem added in v0.0.63

type CountItem struct {
	Key *string `json:"key,omitempty"`

	Num *int32 `json:"num,omitempty"`
}

攻击事件统计结果

func (CountItem) String added in v0.0.63

func (o CountItem) String() string

type CreateAntiTamperRuleRequest

type CreateAntiTamperRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Body *CreateAntiTamperRulesRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateAntiTamperRuleRequest) String

type CreateAntiTamperRuleResponse

type CreateAntiTamperRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Url *string `json:"url,omitempty"`

	Description *string `json:"description,omitempty"`

	Status         *int32 `json:"status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateAntiTamperRuleResponse) String

type CreateAntiTamperRulesRequestBody

type CreateAntiTamperRulesRequestBody struct {
	Hostname string `json:"hostname"`

	Url string `json:"url"`

	Description *string `json:"description,omitempty"`
}

func (CreateAntiTamperRulesRequestBody) String

type CreateCertificateRequest

type CreateCertificateRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *CreateCertificateRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateCertificateRequest) String

func (o CreateCertificateRequest) String() string

type CreateCertificateRequestBody

type CreateCertificateRequestBody struct {
	Name string `json:"name"`

	Content string `json:"content"`

	Key string `json:"key"`
}

func (CreateCertificateRequestBody) String

type CreateCertificateResponse

type CreateCertificateResponse struct {
	Id *string `json:"id,omitempty"`

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

	Content *string `json:"content,omitempty"`

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (CreateCertificateResponse) String

func (o CreateCertificateResponse) String() string

type CreateGeoIpRuleRequestBody

type CreateGeoIpRuleRequestBody struct {
	Geoip string `json:"geoip"`

	White int32 `json:"white"`

	Description *string `json:"description,omitempty"`
}

func (CreateGeoIpRuleRequestBody) String

type CreateGeoipRuleRequest

type CreateGeoipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Body *CreateGeoIpRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateGeoipRuleRequest) String

func (o CreateGeoipRuleRequest) String() string

type CreateGeoipRuleResponse

type CreateGeoipRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White *int32 `json:"white,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateGeoipRuleResponse) String

func (o CreateGeoipRuleResponse) String() string

type CreateHostRequest

type CreateHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *CreateHostRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateHostRequest) String

func (o CreateHostRequest) String() string

type CreateHostRequestBody

type CreateHostRequestBody struct {
	Hostname string `json:"hostname"`

	Policyid *string `json:"policyid,omitempty"`

	Server []CloudWafServer `json:"server"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Proxy bool `json:"proxy"`

	Description *string `json:"description,omitempty"`
}

域名请求体

func (CreateHostRequestBody) String

func (o CreateHostRequestBody) String() string

type CreateHostResponse

type CreateHostResponse struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Server *[]CloudWafServer `json:"server,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ExclusiveIp    *bool `json:"exclusive_ip,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CreateHostResponse) String

func (o CreateHostResponse) String() string

type CreatePolicyRequest

type CreatePolicyRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *CreatePolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePolicyRequest) String

func (o CreatePolicyRequest) String() string

type CreatePolicyRequestBody

type CreatePolicyRequestBody struct {
	Name string `json:"name"`
}

func (CreatePolicyRequestBody) String

func (o CreatePolicyRequestBody) String() string

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Id *string `json:"id,omitempty"`

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

	Level *int32 `json:"level,omitempty"`

	Action *PolicyAction `json:"action,omitempty"`

	Options *PolicyOption `json:"options,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend         *interface{} `json:"extend,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (CreatePolicyResponse) String

func (o CreatePolicyResponse) String() string

type CreatePremiumHostRequest

type CreatePremiumHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *CreatePremiumHostRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePremiumHostRequest) String

func (o CreatePremiumHostRequest) String() string

type CreatePremiumHostRequestBody

type CreatePremiumHostRequestBody struct {
	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Hostname string `json:"hostname"`

	Proxy bool `json:"proxy"`

	Policyid *string `json:"policyid,omitempty"`

	Server []PremiumWafServer `json:"server"`
}

创建独享模式域名的请求

func (CreatePremiumHostRequestBody) String

type CreatePremiumHostResponse

type CreatePremiumHostResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	Projectid *string `json:"projectid,omitempty"`

	Protocol       *string `json:"protocol,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePremiumHostResponse) String

func (o CreatePremiumHostResponse) String() string

type CreatePrivacyRuleRequest

type CreatePrivacyRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Body *CreatePrivacyRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePrivacyRuleRequest) String

func (o CreatePrivacyRuleRequest) String() string

type CreatePrivacyRuleRequestBody

type CreatePrivacyRuleRequestBody struct {
	Url string `json:"url"`

	Category CreatePrivacyRuleRequestBodyCategory `json:"category"`

	Index string `json:"index"`

	Description *string `json:"description,omitempty"`
}

func (CreatePrivacyRuleRequestBody) String

type CreatePrivacyRuleRequestBodyCategory

type CreatePrivacyRuleRequestBodyCategory struct {
	// contains filtered or unexported fields
}

func (CreatePrivacyRuleRequestBodyCategory) MarshalJSON

func (c CreatePrivacyRuleRequestBodyCategory) MarshalJSON() ([]byte, error)

func (*CreatePrivacyRuleRequestBodyCategory) UnmarshalJSON

func (c *CreatePrivacyRuleRequestBodyCategory) UnmarshalJSON(b []byte) error

type CreatePrivacyRuleResponse

type CreatePrivacyRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Url *string `json:"url,omitempty"`

	Category *CreatePrivacyRuleResponseCategory `json:"category,omitempty"`

	Index          *string `json:"index,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePrivacyRuleResponse) String

func (o CreatePrivacyRuleResponse) String() string

type CreatePrivacyRuleResponseCategory

type CreatePrivacyRuleResponseCategory struct {
	// contains filtered or unexported fields
}

func (CreatePrivacyRuleResponseCategory) MarshalJSON

func (c CreatePrivacyRuleResponseCategory) MarshalJSON() ([]byte, error)

func (*CreatePrivacyRuleResponseCategory) UnmarshalJSON

func (c *CreatePrivacyRuleResponseCategory) UnmarshalJSON(b []byte) error

type CreateValueListRequest

type CreateValueListRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Body *CreateValueListRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateValueListRequest) String

func (o CreateValueListRequest) String() string

type CreateValueListRequestBody

type CreateValueListRequestBody struct {
	Name string `json:"name"`

	Type CreateValueListRequestBodyType `json:"type"`

	Values []string `json:"values"`

	Description *string `json:"description,omitempty"`
}

创建或更新引用表

func (CreateValueListRequestBody) String

type CreateValueListRequestBodyType

type CreateValueListRequestBodyType struct {
	// contains filtered or unexported fields
}

func (CreateValueListRequestBodyType) MarshalJSON

func (c CreateValueListRequestBodyType) MarshalJSON() ([]byte, error)

func (*CreateValueListRequestBodyType) UnmarshalJSON

func (c *CreateValueListRequestBodyType) UnmarshalJSON(b []byte) error

type CreateValueListResponse

type CreateValueListResponse struct {
	Id *string `json:"id,omitempty"`

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

	Type *string `json:"type,omitempty"`

	Description *string `json:"description,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Values         *[]string `json:"values,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateValueListResponse) String

func (o CreateValueListResponse) String() string

type CreateWhiteBlackIpRuleRequestBody

type CreateWhiteBlackIpRuleRequestBody struct {
	Name string `json:"name"`

	Addr string `json:"addr"`

	Description *string `json:"description,omitempty"`

	White int32 `json:"white"`
}

创建黑白名单规则body

func (CreateWhiteBlackIpRuleRequestBody) String

type CreateWhiteblackipRuleRequest

type CreateWhiteblackipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Body *CreateWhiteBlackIpRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateWhiteblackipRuleRequest) String

type CreateWhiteblackipRuleResponse

type CreateWhiteblackipRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Addr *string `json:"addr,omitempty"`

	White *int32 `json:"white,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateWhiteblackipRuleResponse) String

type CustomPage

type CustomPage struct {
	StatusCode string `json:"status_code"`

	ContentType string `json:"content_type"`

	Content string `json:"content"`
}

自定义告警页面

func (CustomPage) String

func (o CustomPage) String() string

type DeleteAntitamperRuleRequest

type DeleteAntitamperRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteAntitamperRuleRequest) String

type DeleteAntitamperRuleResponse

type DeleteAntitamperRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Url *string `json:"url,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteAntitamperRuleResponse) String

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CertificateId string `json:"certificate_id"`
}

Request Object

func (DeleteCertificateRequest) String

func (o DeleteCertificateRequest) String() string

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	Id *string `json:"id,omitempty"`

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

	Content *string `json:"content,omitempty"`

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (DeleteCertificateResponse) String

func (o DeleteCertificateResponse) String() string

type DeleteGeoipRuleRequest

type DeleteGeoipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteGeoipRuleRequest) String

func (o DeleteGeoipRuleRequest) String() string

type DeleteGeoipRuleResponse

type DeleteGeoipRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White *int32 `json:"white,omitempty"`

	Description *string `json:"description,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteGeoipRuleResponse) String

func (o DeleteGeoipRuleResponse) String() string

type DeleteHostRequest

type DeleteHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteHostRequest) String

func (o DeleteHostRequest) String() string

type DeleteHostResponse

type DeleteHostResponse struct {
	Id *string `json:"id,omitempty"`

	Hostid *string `json:"hostid,omitempty"`

	Description *string `json:"description,omitempty"`

	Type *int32 `json:"type,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Flag *Flag `json:"flag,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	ExclusiveIp *bool `json:"exclusive_ip,omitempty"`

	PaidType       *string `json:"paid_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteHostResponse) String

func (o DeleteHostResponse) String() string

type DeletePolicyRequest

type DeletePolicyRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`
}

Request Object

func (DeletePolicyRequest) String

func (o DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePolicyResponse) String

func (o DeletePolicyResponse) String() string

type DeletePremiumHostRequest

type DeletePremiumHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HostId string `json:"host_id"`

	KeepPolicy *bool `json:"keepPolicy,omitempty"`
}

Request Object

func (DeletePremiumHostRequest) String

func (o DeletePremiumHostRequest) String() string

type DeletePremiumHostResponse

type DeletePremiumHostResponse struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds        *[]string `json:"pool_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (DeletePremiumHostResponse) String

func (o DeletePremiumHostResponse) String() string

type DeletePrivacyRuleRequest

type DeletePrivacyRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeletePrivacyRuleRequest) String

func (o DeletePrivacyRuleRequest) String() string

type DeletePrivacyRuleResponse

type DeletePrivacyRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePrivacyRuleResponse) String

func (o DeletePrivacyRuleResponse) String() string

type DeleteValueListRequest

type DeleteValueListRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Valuelistid string `json:"valuelistid"`
}

Request Object

func (DeleteValueListRequest) String

func (o DeleteValueListRequest) String() string

type DeleteValueListResponse

type DeleteValueListResponse struct {
	Id *string `json:"id,omitempty"`

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

	Type *string `json:"type,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteValueListResponse) String

func (o DeleteValueListResponse) String() string

type DeleteWhiteBlackIpRuleRequest

type DeleteWhiteBlackIpRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteWhiteBlackIpRuleRequest) String

type DeleteWhiteBlackIpRuleResponse

type DeleteWhiteBlackIpRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

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

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Addr *string `json:"addr,omitempty"`

	White          *int32 `json:"white,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteWhiteBlackIpRuleResponse) String

type Flag added in v0.0.69

type Flag struct {
	Pci3ds *FlagPci3ds `json:"pci_3ds,omitempty"`

	PciDss *FlagPciDss `json:"pci_dss,omitempty"`

	Cname *FlagCname `json:"cname,omitempty"`

	IsDualAz *FlagIsDualAz `json:"is_dual_az,omitempty"`
}

WAF支持的认证项

func (Flag) String added in v0.0.69

func (o Flag) String() string

type FlagCname added in v0.0.69

type FlagCname struct {
	// contains filtered or unexported fields
}

func (FlagCname) MarshalJSON added in v0.0.69

func (c FlagCname) MarshalJSON() ([]byte, error)

func (*FlagCname) UnmarshalJSON added in v0.0.69

func (c *FlagCname) UnmarshalJSON(b []byte) error

type FlagCnameEnum added in v0.0.69

type FlagCnameEnum struct {
	OLD FlagCname
	NEW FlagCname
}

func GetFlagCnameEnum added in v0.0.69

func GetFlagCnameEnum() FlagCnameEnum

type FlagIsDualAz added in v0.0.69

type FlagIsDualAz struct {
	// contains filtered or unexported fields
}

func (FlagIsDualAz) MarshalJSON added in v0.0.69

func (c FlagIsDualAz) MarshalJSON() ([]byte, error)

func (*FlagIsDualAz) UnmarshalJSON added in v0.0.69

func (c *FlagIsDualAz) UnmarshalJSON(b []byte) error

type FlagIsDualAzEnum added in v0.0.69

type FlagIsDualAzEnum struct {
	TRUE  FlagIsDualAz
	FALSE FlagIsDualAz
}

func GetFlagIsDualAzEnum added in v0.0.69

func GetFlagIsDualAzEnum() FlagIsDualAzEnum

type FlagPci3ds added in v0.0.69

type FlagPci3ds struct {
	// contains filtered or unexported fields
}

func (FlagPci3ds) MarshalJSON added in v0.0.69

func (c FlagPci3ds) MarshalJSON() ([]byte, error)

func (*FlagPci3ds) UnmarshalJSON added in v0.0.69

func (c *FlagPci3ds) UnmarshalJSON(b []byte) error

type FlagPci3dsEnum added in v0.0.69

type FlagPci3dsEnum struct {
	TRUE  FlagPci3ds
	FALSE FlagPci3ds
}

func GetFlagPci3dsEnum added in v0.0.69

func GetFlagPci3dsEnum() FlagPci3dsEnum

type FlagPciDss added in v0.0.69

type FlagPciDss struct {
	// contains filtered or unexported fields
}

func (FlagPciDss) MarshalJSON added in v0.0.69

func (c FlagPciDss) MarshalJSON() ([]byte, error)

func (*FlagPciDss) UnmarshalJSON added in v0.0.69

func (c *FlagPciDss) UnmarshalJSON(b []byte) error

type FlagPciDssEnum added in v0.0.69

type FlagPciDssEnum struct {
	TRUE  FlagPciDss
	FALSE FlagPciDss
}

func GetFlagPciDssEnum added in v0.0.69

func GetFlagPciDssEnum() FlagPciDssEnum

type GeOIpItem added in v0.0.70

type GeOIpItem struct {
	Id *string `json:"id,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White *int32 `json:"white,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`
}

地理位置封禁规则

func (GeOIpItem) String added in v0.0.70

func (o GeOIpItem) String() string

type HostFlag

type HostFlag struct {
	PciDss *string `json:"pci_dss,omitempty"`

	Pci3ds *string `json:"pci_3ds,omitempty"`

	Cname *string `json:"cname,omitempty"`

	IsDualAz *string `json:"is_dual_az,omitempty"`

	Ipv6 *string `json:"ipv6,omitempty"`
}

域名配置

func (HostFlag) String

func (o HostFlag) String() string

type IngnoreItem added in v0.0.70

type IngnoreItem struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Url *string `json:"url,omitempty"`

	Rule *string `json:"rule,omitempty"`

	Domain *[]string `json:"domain,omitempty"`

	UrlLogic *string `json:"url_logic,omitempty"`

	Advanced *Advance `json:"advanced,omitempty"`
}

func (IngnoreItem) String added in v0.0.70

func (o IngnoreItem) String() string

type ListAntitamperRuleRequest

type ListAntitamperRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListAntitamperRuleRequest) String

func (o ListAntitamperRuleRequest) String() string

type ListAntitamperRuleResponse

type ListAntitamperRuleResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]AntiTamperRuleResponseBody `json:"items,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (ListAntitamperRuleResponse) String

type ListBandwidthTimelineRequest added in v0.0.63

type ListBandwidthTimelineRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	From int64 `json:"from"`

	To int64 `json:"to"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`

	GroupBy *string `json:"group_by,omitempty"`
}

Request Object

func (ListBandwidthTimelineRequest) String added in v0.0.63

type ListBandwidthTimelineResponse added in v0.0.63

type ListBandwidthTimelineResponse struct {
	Body           *[]StatisticsTimelineItem `json:"body,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListBandwidthTimelineResponse) String added in v0.0.63

type ListCertificatesRequest

type ListCertificatesRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

	Host *bool `json:"host,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`
}

Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {
	Items *[]CertificateBody `json:"items,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListCompositeHostsRequest

type ListCompositeHostsRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyname *string `json:"policyname,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	WafType *string `json:"waf_type,omitempty"`

	IsHttps *bool `json:"is_https,omitempty"`
}

Request Object

func (ListCompositeHostsRequest) String

func (o ListCompositeHostsRequest) String() string

type ListCompositeHostsResponse

type ListCompositeHostsResponse struct {
	Total *int32 `json:"total,omitempty"`

	CloudTotal *int32 `json:"cloud_total,omitempty"`

	PremiumTotal *int32 `json:"premium_total,omitempty"`

	Items          *[]CompositeHostResponse `json:"items,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListCompositeHostsResponse) String

type ListEventItems added in v0.0.63

type ListEventItems struct {
	Id *string `json:"id,omitempty"`

	Time *int64 `json:"time,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Sip *string `json:"sip,omitempty"`

	Host *string `json:"host,omitempty"`

	Url *string `json:"url,omitempty"`

	Attack *string `json:"attack,omitempty"`

	Rule *string `json:"rule,omitempty"`

	Payload *string `json:"payload,omitempty"`

	Action *string `json:"action,omitempty"`

	RequestLine *string `json:"request_line,omitempty"`

	Headers *ListEventItemsHeaders `json:"headers,omitempty"`

	Cookie *string `json:"cookie,omitempty"`

	Status *string `json:"status,omitempty"`

	Region *string `json:"region,omitempty"`

	HostId *string `json:"host_id,omitempty"`

	ResponseTime *int64 `json:"response_time,omitempty"`

	ResponseSize *int32 `json:"response_size,omitempty"`

	ResponseBody *string `json:"response_body,omitempty"`
}

攻击类型

func (ListEventItems) String added in v0.0.63

func (o ListEventItems) String() string

type ListEventItemsHeaders added in v0.0.63

type ListEventItemsHeaders struct {
	ContentLength *string `json:"content-length,omitempty"`

	Host *string `json:"host,omitempty"`

	ContentType *string `json:"content-type,omitempty"`

	UserAgent *string `json:"user-agent,omitempty"`

	Accept *string `json:"accept,omitempty"`
}

请求头

func (ListEventItemsHeaders) String added in v0.0.63

func (o ListEventItemsHeaders) String() string

type ListEventRequest

type ListEventRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Recent *ListEventRequestRecent `json:"recent,omitempty"`

	Attacks *[]string `json:"attacks,omitempty"`

	From *int64 `json:"from,omitempty"`

	To *int64 `json:"to,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListEventRequest) String

func (o ListEventRequest) String() string

type ListEventRequestRecent

type ListEventRequestRecent struct {
	// contains filtered or unexported fields
}

func (ListEventRequestRecent) MarshalJSON

func (c ListEventRequestRecent) MarshalJSON() ([]byte, error)

func (*ListEventRequestRecent) UnmarshalJSON

func (c *ListEventRequestRecent) UnmarshalJSON(b []byte) error

type ListEventRequestRecentEnum

type ListEventRequestRecentEnum struct {
	YESTERDAY ListEventRequestRecent
	TODAY     ListEventRequestRecent
	E_3DAYS   ListEventRequestRecent
	E_1WEEK   ListEventRequestRecent
	E_1MONTH  ListEventRequestRecent
}

func GetListEventRequestRecentEnum

func GetListEventRequestRecentEnum() ListEventRequestRecentEnum

type ListEventResponse

type ListEventResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]ListEventItems `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListEventResponse) String

func (o ListEventResponse) String() string

type ListGeoipRuleRequest

type ListGeoipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListGeoipRuleRequest) String

func (o ListGeoipRuleRequest) String() string

type ListGeoipRuleResponse

type ListGeoipRuleResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]GeOIpItem `json:"items,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListGeoipRuleResponse) String

func (o ListGeoipRuleResponse) String() string

type ListHostRequest

type ListHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyname *string `json:"policyname,omitempty"`
}

Request Object

func (ListHostRequest) String

func (o ListHostRequest) String() string

type ListHostResponse

type ListHostResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]CloudWafHostItem `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListHostResponse) String

func (o ListHostResponse) String() string

type ListHostRouteRequest

type ListHostRouteRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (ListHostRouteRequest) String

func (o ListHostRouteRequest) String() string

type ListHostRouteResponse

type ListHostRouteResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]RouteBody `json:"items,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListHostRouteResponse) String

func (o ListHostRouteResponse) String() string

type ListIgnoreRuleRequest added in v0.0.63

type ListIgnoreRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListIgnoreRuleRequest) String added in v0.0.63

func (o ListIgnoreRuleRequest) String() string

type ListIgnoreRuleResponse added in v0.0.63

type ListIgnoreRuleResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]IngnoreItem `json:"items,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListIgnoreRuleResponse) String added in v0.0.63

func (o ListIgnoreRuleResponse) String() string

type ListPolicyRequest

type ListPolicyRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

Request Object

func (ListPolicyRequest) String

func (o ListPolicyRequest) String() string

type ListPolicyResponse

type ListPolicyResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]PolicyResponse `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListPolicyResponse) String

func (o ListPolicyResponse) String() string

type ListPremiumHostRequest

type ListPremiumHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Page *string `json:"page,omitempty"`

	Pagesize *string `json:"pagesize,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyname *string `json:"policyname,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`
}

Request Object

func (ListPremiumHostRequest) String

func (o ListPremiumHostRequest) String() string

type ListPremiumHostResponse

type ListPremiumHostResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]SimplePremiumWafHost `json:"items,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListPremiumHostResponse) String

func (o ListPremiumHostResponse) String() string

type ListPrivacyRuleRequest

type ListPrivacyRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`
}

Request Object

func (ListPrivacyRuleRequest) String

func (o ListPrivacyRuleRequest) String() string

type ListPrivacyRuleResponse

type ListPrivacyRuleResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]PrivacyResponseBody `json:"items,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListPrivacyRuleResponse) String

func (o ListPrivacyRuleResponse) String() string

type ListQpsTimelineRequest added in v0.0.63

type ListQpsTimelineRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	From int64 `json:"from"`

	To int64 `json:"to"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`

	GroupBy *string `json:"group_by,omitempty"`
}

Request Object

func (ListQpsTimelineRequest) String added in v0.0.63

func (o ListQpsTimelineRequest) String() string

type ListQpsTimelineResponse added in v0.0.63

type ListQpsTimelineResponse struct {
	Body           *[]StatisticsTimelineItem `json:"body,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListQpsTimelineResponse) String added in v0.0.63

func (o ListQpsTimelineResponse) String() string

type ListStatisticsRequest added in v0.0.63

type ListStatisticsRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	From int64 `json:"from"`

	To int64 `json:"to"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`
}

Request Object

func (ListStatisticsRequest) String added in v0.0.63

func (o ListStatisticsRequest) String() string

type ListStatisticsResponse added in v0.0.63

type ListStatisticsResponse struct {
	Body           *[]CountItem `json:"body,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListStatisticsResponse) String added in v0.0.63

func (o ListStatisticsResponse) String() string

type ListTopAbnormalRequest added in v0.0.63

type ListTopAbnormalRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	From int64 `json:"from"`

	To int64 `json:"to"`

	Top *int32 `json:"top,omitempty"`

	Code *int32 `json:"code,omitempty"`

	Hosts *string `json:"hosts,omitempty"`

	Instances *string `json:"instances,omitempty"`
}

Request Object

func (ListTopAbnormalRequest) String added in v0.0.63

func (o ListTopAbnormalRequest) String() string

type ListTopAbnormalResponse added in v0.0.63

type ListTopAbnormalResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]UrlCountItem `json:"items,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListTopAbnormalResponse) String added in v0.0.63

func (o ListTopAbnormalResponse) String() string

type ListValueListRequest

type ListValueListRequest struct {
	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

Request Object

func (ListValueListRequest) String

func (o ListValueListRequest) String() string

type ListValueListResponse

type ListValueListResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]ValueListResponseBody `json:"items,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListValueListResponse) String

func (o ListValueListResponse) String() string

type ListWhiteblackipRuleRequest

type ListWhiteblackipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Page *int32 `json:"page,omitempty"`

	Pagesize *int32 `json:"pagesize,omitempty"`

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

Request Object

func (ListWhiteblackipRuleRequest) String

type ListWhiteblackipRuleResponse

type ListWhiteblackipRuleResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]WhiteBlackIpResponseBody `json:"items,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (ListWhiteblackipRuleResponse) String

type PolicyAction

type PolicyAction struct {
	Category *PolicyActionCategory `json:"category,omitempty"`
}

操作

func (PolicyAction) String

func (o PolicyAction) String() string

type PolicyActionCategory

type PolicyActionCategory struct {
	// contains filtered or unexported fields
}

func (PolicyActionCategory) MarshalJSON

func (c PolicyActionCategory) MarshalJSON() ([]byte, error)

func (*PolicyActionCategory) UnmarshalJSON

func (c *PolicyActionCategory) UnmarshalJSON(b []byte) error

type PolicyActionCategoryEnum

type PolicyActionCategoryEnum struct {
	BLOCK PolicyActionCategory
	LOG   PolicyActionCategory
}

func GetPolicyActionCategoryEnum

func GetPolicyActionCategoryEnum() PolicyActionCategoryEnum

type PolicyOption

type PolicyOption struct {
	Webattack *bool `json:"webattack,omitempty"`

	Common *bool `json:"common,omitempty"`

	Crawler *bool `json:"crawler,omitempty"`

	CrawlerEngine *bool `json:"crawler_engine,omitempty"`

	CrawlerScanner *bool `json:"crawler_scanner,omitempty"`

	CrawlerScript *bool `json:"crawler_script,omitempty"`

	CrawlerOther *bool `json:"crawler_other,omitempty"`

	Webshell *bool `json:"webshell,omitempty"`

	Cc *bool `json:"cc,omitempty"`

	Custom *bool `json:"custom,omitempty"`

	Whiteblackip *bool `json:"whiteblackip,omitempty"`

	Geoip *bool `json:"geoip,omitempty"`

	Ignore *bool `json:"ignore,omitempty"`

	Privacy *bool `json:"privacy,omitempty"`

	Antitamper *bool `json:"antitamper,omitempty"`

	Antileakage *bool `json:"antileakage,omitempty"`

	BotEnable *bool `json:"bot_enable,omitempty"`

	ModulexEnabled *bool `json:"modulex_enabled,omitempty"`
}

选项

func (PolicyOption) String

func (o PolicyOption) String() string

type PolicyResponse

type PolicyResponse struct {
	Id *string `json:"id,omitempty"`

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

	Action *PolicyAction `json:"action,omitempty"`

	Options *PolicyOption `json:"options,omitempty"`

	Level *int32 `json:"level,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`
}

func (PolicyResponse) String

func (o PolicyResponse) String() string

type PremiumWafHost

type PremiumWafHost struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]PremiumWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *PremiumWafHostTls `json:"tls,omitempty"`

	Cipher *PremiumWafHostCipher `json:"cipher,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	TrafficMark *TrafficMark `json:"traffic_mark,omitempty"`
}

独享模式域名详情

func (PremiumWafHost) String

func (o PremiumWafHost) String() string

type PremiumWafHostCipher added in v0.0.69

type PremiumWafHostCipher struct {
	// contains filtered or unexported fields
}

func (PremiumWafHostCipher) MarshalJSON added in v0.0.69

func (c PremiumWafHostCipher) MarshalJSON() ([]byte, error)

func (*PremiumWafHostCipher) UnmarshalJSON added in v0.0.69

func (c *PremiumWafHostCipher) UnmarshalJSON(b []byte) error

type PremiumWafHostCipherEnum added in v0.0.69

type PremiumWafHostCipherEnum struct {
	CIPHER_1       PremiumWafHostCipher
	CIPHER_2       PremiumWafHostCipher
	CIPHER_3       PremiumWafHostCipher
	CIPHER_4       PremiumWafHostCipher
	CIPHER_DEFAULT PremiumWafHostCipher
}

func GetPremiumWafHostCipherEnum added in v0.0.69

func GetPremiumWafHostCipherEnum() PremiumWafHostCipherEnum

type PremiumWafHostTls added in v0.0.69

type PremiumWafHostTls struct {
	// contains filtered or unexported fields
}

func (PremiumWafHostTls) MarshalJSON added in v0.0.69

func (c PremiumWafHostTls) MarshalJSON() ([]byte, error)

func (*PremiumWafHostTls) UnmarshalJSON added in v0.0.69

func (c *PremiumWafHostTls) UnmarshalJSON(b []byte) error

type PremiumWafHostTlsEnum added in v0.0.69

type PremiumWafHostTlsEnum struct {
	TLS_V1_0 PremiumWafHostTls
	TLS_V1_1 PremiumWafHostTls
	TLS_V1_2 PremiumWafHostTls
	TLS_V1_3 PremiumWafHostTls
}

func GetPremiumWafHostTlsEnum added in v0.0.69

func GetPremiumWafHostTlsEnum() PremiumWafHostTlsEnum

type PremiumWafServer

type PremiumWafServer struct {
	FrontProtocol PremiumWafServerFrontProtocol `json:"front_protocol"`

	BackProtocol PremiumWafServerBackProtocol `json:"back_protocol"`

	Address string `json:"address"`

	Port int32 `json:"port"`

	Type PremiumWafServerType `json:"type"`

	VpcId string `json:"vpc_id"`
}

服务器配置

func (PremiumWafServer) String

func (o PremiumWafServer) String() string

type PremiumWafServerBackProtocol

type PremiumWafServerBackProtocol struct {
	// contains filtered or unexported fields
}

func (PremiumWafServerBackProtocol) MarshalJSON

func (c PremiumWafServerBackProtocol) MarshalJSON() ([]byte, error)

func (*PremiumWafServerBackProtocol) UnmarshalJSON

func (c *PremiumWafServerBackProtocol) UnmarshalJSON(b []byte) error

type PremiumWafServerBackProtocolEnum

type PremiumWafServerBackProtocolEnum struct {
	HTTP  PremiumWafServerBackProtocol
	HTTPS PremiumWafServerBackProtocol
}

func GetPremiumWafServerBackProtocolEnum

func GetPremiumWafServerBackProtocolEnum() PremiumWafServerBackProtocolEnum

type PremiumWafServerFrontProtocol

type PremiumWafServerFrontProtocol struct {
	// contains filtered or unexported fields
}

func (PremiumWafServerFrontProtocol) MarshalJSON

func (c PremiumWafServerFrontProtocol) MarshalJSON() ([]byte, error)

func (*PremiumWafServerFrontProtocol) UnmarshalJSON

func (c *PremiumWafServerFrontProtocol) UnmarshalJSON(b []byte) error

type PremiumWafServerFrontProtocolEnum

type PremiumWafServerFrontProtocolEnum struct {
	HTTP  PremiumWafServerFrontProtocol
	HTTPS PremiumWafServerFrontProtocol
}

func GetPremiumWafServerFrontProtocolEnum

func GetPremiumWafServerFrontProtocolEnum() PremiumWafServerFrontProtocolEnum

type PremiumWafServerType added in v0.0.71

type PremiumWafServerType struct {
	// contains filtered or unexported fields
}

func (PremiumWafServerType) MarshalJSON added in v0.0.71

func (c PremiumWafServerType) MarshalJSON() ([]byte, error)

func (*PremiumWafServerType) UnmarshalJSON added in v0.0.71

func (c *PremiumWafServerType) UnmarshalJSON(b []byte) error

type PremiumWafServerTypeEnum added in v0.0.71

type PremiumWafServerTypeEnum struct {
	IPV4 PremiumWafServerType
	IPV6 PremiumWafServerType
}

func GetPremiumWafServerTypeEnum added in v0.0.71

func GetPremiumWafServerTypeEnum() PremiumWafServerTypeEnum

type PrivacyResponseBody

type PrivacyResponseBody struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Url *string `json:"url,omitempty"`

	Category *PrivacyResponseBodyCategory `json:"category,omitempty"`

	Index *string `json:"index,omitempty"`
}

隐私屏蔽响应体

func (PrivacyResponseBody) String

func (o PrivacyResponseBody) String() string

type PrivacyResponseBodyCategory

type PrivacyResponseBodyCategory struct {
	// contains filtered or unexported fields
}

func (PrivacyResponseBodyCategory) MarshalJSON

func (c PrivacyResponseBodyCategory) MarshalJSON() ([]byte, error)

func (*PrivacyResponseBodyCategory) UnmarshalJSON

func (c *PrivacyResponseBodyCategory) UnmarshalJSON(b []byte) error

type RouteBody

type RouteBody struct {
	Cname *string `json:"cname,omitempty"`

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

	Servers *[]RouteServerBody `json:"servers,omitempty"`
}

修改路由body

func (RouteBody) String

func (o RouteBody) String() string

type RouteServerBody

type RouteServerBody struct {
	BackProtocol *string `json:"back_protocol,omitempty"`

	Address *string `json:"address,omitempty"`

	Port *int32 `json:"port,omitempty"`
}

类型

func (RouteServerBody) String

func (o RouteServerBody) String() string

type ShowCertificateRequest

type ShowCertificateRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CertificateId string `json:"certificate_id"`
}

Request Object

func (ShowCertificateRequest) String

func (o ShowCertificateRequest) String() string

type ShowCertificateResponse

type ShowCertificateResponse struct {
	Id *string `json:"id,omitempty"`

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

	Content *string `json:"content,omitempty"`

	Key *string `json:"key,omitempty"`

	ExpireTime *int64 `json:"expire_time,omitempty"`

	ExpStatus *int32 `json:"exp_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowCertificateResponse) String

func (o ShowCertificateResponse) String() string

type ShowCompositeHostRequest

type ShowCompositeHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HostId string `json:"host_id"`
}

Request Object

func (ShowCompositeHostRequest) String

func (o ShowCompositeHostRequest) String() string

type ShowCompositeHostResponse

type ShowCompositeHostResponse struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	PaidType *string `json:"paid_type,omitempty"`

	Flag *HostFlag `json:"flag,omitempty"`

	WafType        *string `json:"waf_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCompositeHostResponse) String

func (o ShowCompositeHostResponse) String() string

type ShowConsoleConfigRequest added in v0.0.63

type ShowConsoleConfigRequest struct {
}

Request Object

func (ShowConsoleConfigRequest) String added in v0.0.63

func (o ShowConsoleConfigRequest) String() string

type ShowConsoleConfigResponse added in v0.0.63

type ShowConsoleConfigResponse struct {
	Eps *bool `json:"eps,omitempty"`

	Tls *bool `json:"tls,omitempty"`

	Ipv6 *bool `json:"ipv6,omitempty"`

	Alert *bool `json:"alert,omitempty"`

	Custom *bool `json:"custom,omitempty"`

	ElbMode *bool `json:"elb_mode,omitempty"`

	EventLts *bool `json:"event_lts,omitempty"`

	MultiDns *bool `json:"multi_dns,omitempty"`

	SearchIp *bool `json:"search_ip,omitempty"`

	CcEnhance *bool `json:"cc_enhance,omitempty"`

	CnameSwitch *bool `json:"cname_switch,omitempty"`

	CustomBlock *bool `json:"custom_block,omitempty"`

	AdvancedIgnore *bool `json:"advanced_ignore,omitempty"`

	JsCrawlerEnable *bool `json:"js_crawler_enable,omitempty"`

	DeepDecodeEnable *bool `json:"deep_decode_enable,omitempty"`

	OverviewBandwidth *bool `json:"overview_bandwidth,omitempty"`

	ProxyUseOldcname *bool `json:"proxy_use_oldcname,omitempty"`

	CheckAllHeadersEnable *bool `json:"check_all_headers_enable,omitempty"`
	HttpStatusCode        int   `json:"-"`
}

Response Object

func (ShowConsoleConfigResponse) String added in v0.0.63

func (o ShowConsoleConfigResponse) String() string

type ShowEventItems added in v0.0.63

type ShowEventItems struct {
	Time *int64 `json:"time,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Sip *string `json:"sip,omitempty"`

	Host *string `json:"host,omitempty"`

	Url *string `json:"url,omitempty"`

	Attack *string `json:"attack,omitempty"`

	Rule *string `json:"rule,omitempty"`

	Action *string `json:"action,omitempty"`

	Cookie *string `json:"cookie,omitempty"`

	Headers *string `json:"headers,omitempty"`

	HostId *string `json:"host_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Payload *string `json:"payload,omitempty"`

	PayloadLocation *string `json:"payload_location,omitempty"`

	Region *string `json:"region,omitempty"`

	RequestLine *string `json:"request_line,omitempty"`

	ResponseSize *string `json:"response_size,omitempty"`

	ResponseTime *string `json:"response_time,omitempty"`

	Status *string `json:"status,omitempty"`
}

攻击类型

func (ShowEventItems) String added in v0.0.63

func (o ShowEventItems) String() string

type ShowEventRequest

type ShowEventRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Eventid string `json:"eventid"`
}

Request Object

func (ShowEventRequest) String

func (o ShowEventRequest) String() string

type ShowEventResponse

type ShowEventResponse struct {
	Total *int32 `json:"total,omitempty"`

	Items          *[]ShowEventItems `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowEventResponse) String

func (o ShowEventResponse) String() string

type ShowHostRequest

type ShowHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowHostRequest) String

func (o ShowHostRequest) String() string

type ShowHostResponse

type ShowHostResponse struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Server *[]CloudWafServer `json:"server,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	ExclusiveIp    *bool `json:"exclusive_ip,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowHostResponse) String

func (o ShowHostResponse) String() string

type ShowPolicyRequest

type ShowPolicyRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`
}

Request Object

func (ShowPolicyRequest) String

func (o ShowPolicyRequest) String() string

type ShowPolicyResponse

type ShowPolicyResponse struct {
	Id *string `json:"id,omitempty"`

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

	Action *PolicyAction `json:"action,omitempty"`

	Options *PolicyOption `json:"options,omitempty"`

	Level *int32 `json:"level,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend         map[string]string `json:"extend,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowPolicyResponse) String

func (o ShowPolicyResponse) String() string

type ShowPremiumHostRequest

type ShowPremiumHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HostId string `json:"host_id"`
}

Request Object

func (ShowPremiumHostRequest) String

func (o ShowPremiumHostRequest) String() string

type ShowPremiumHostResponse

type ShowPremiumHostResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]PremiumWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *ShowPremiumHostResponseTls `json:"tls,omitempty"`

	Cipher *ShowPremiumHostResponseCipher `json:"cipher,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	TrafficMark *TrafficMark `json:"traffic_mark,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds        *[]string `json:"pool_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowPremiumHostResponse) String

func (o ShowPremiumHostResponse) String() string

type ShowPremiumHostResponseCipher added in v0.0.69

type ShowPremiumHostResponseCipher struct {
	// contains filtered or unexported fields
}

func (ShowPremiumHostResponseCipher) MarshalJSON added in v0.0.69

func (c ShowPremiumHostResponseCipher) MarshalJSON() ([]byte, error)

func (*ShowPremiumHostResponseCipher) UnmarshalJSON added in v0.0.69

func (c *ShowPremiumHostResponseCipher) UnmarshalJSON(b []byte) error

type ShowPremiumHostResponseCipherEnum added in v0.0.69

type ShowPremiumHostResponseCipherEnum struct {
	CIPHER_1       ShowPremiumHostResponseCipher
	CIPHER_2       ShowPremiumHostResponseCipher
	CIPHER_3       ShowPremiumHostResponseCipher
	CIPHER_4       ShowPremiumHostResponseCipher
	CIPHER_DEFAULT ShowPremiumHostResponseCipher
}

func GetShowPremiumHostResponseCipherEnum added in v0.0.69

func GetShowPremiumHostResponseCipherEnum() ShowPremiumHostResponseCipherEnum

type ShowPremiumHostResponseTls added in v0.0.69

type ShowPremiumHostResponseTls struct {
	// contains filtered or unexported fields
}

func (ShowPremiumHostResponseTls) MarshalJSON added in v0.0.69

func (c ShowPremiumHostResponseTls) MarshalJSON() ([]byte, error)

func (*ShowPremiumHostResponseTls) UnmarshalJSON added in v0.0.69

func (c *ShowPremiumHostResponseTls) UnmarshalJSON(b []byte) error

type ShowPremiumHostResponseTlsEnum added in v0.0.69

type ShowPremiumHostResponseTlsEnum struct {
	TLS_V1_0 ShowPremiumHostResponseTls
	TLS_V1_1 ShowPremiumHostResponseTls
	TLS_V1_2 ShowPremiumHostResponseTls
	TLS_V1_3 ShowPremiumHostResponseTls
}

func GetShowPremiumHostResponseTlsEnum added in v0.0.69

func GetShowPremiumHostResponseTlsEnum() ShowPremiumHostResponseTlsEnum

type SimplePremiumWafHost

type SimplePremiumWafHost struct {
	Id *string `json:"id,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds *[]string `json:"pool_ids,omitempty"`
}

独享模式域名部分详情

func (SimplePremiumWafHost) String

func (o SimplePremiumWafHost) String() string

type StatisticsTimelineItem added in v0.0.63

type StatisticsTimelineItem struct {
	Key *string `json:"key,omitempty"`

	Timeline *[]TimeLineItem `json:"timeline,omitempty"`
}

时间线

func (StatisticsTimelineItem) String added in v0.0.63

func (o StatisticsTimelineItem) String() string

type TimeLineItem added in v0.0.63

type TimeLineItem struct {
	Time *int64 `json:"time,omitempty"`

	Num *int32 `json:"num,omitempty"`
}

func (TimeLineItem) String added in v0.0.63

func (o TimeLineItem) String() string

type TrafficMark

type TrafficMark struct {
	Sip *[]string `json:"sip,omitempty"`

	Cookie *string `json:"cookie,omitempty"`

	Params *string `json:"params,omitempty"`
}

流量标识(用于攻击惩罚)

func (TrafficMark) String

func (o TrafficMark) String() string

type UpdateCertificateRequest

type UpdateCertificateRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CertificateId string `json:"certificate_id"`

	Body *UpdateCertificateRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateCertificateRequest) String

func (o UpdateCertificateRequest) String() string

type UpdateCertificateRequestBody

type UpdateCertificateRequestBody struct {
	Name *string `json:"name,omitempty"`
}

func (UpdateCertificateRequestBody) String

type UpdateCertificateResponse

type UpdateCertificateResponse struct {
	Id *string `json:"id,omitempty"`

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

	ExpireTime *int64 `json:"expire_time,omitempty"`

	Timestamp      *int64 `json:"timestamp,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateCertificateResponse) String

func (o UpdateCertificateResponse) String() string

type UpdateCloudWafServer added in v0.0.69

type UpdateCloudWafServer struct {
	FrontProtocol *UpdateCloudWafServerFrontProtocol `json:"front_protocol,omitempty"`

	BackProtocol *UpdateCloudWafServerBackProtocol `json:"back_protocol,omitempty"`

	Address *string `json:"address,omitempty"`

	Port *int32 `json:"port,omitempty"`

	Type *UpdateCloudWafServerType `json:"type,omitempty"`
}

服务器配置

func (UpdateCloudWafServer) String added in v0.0.69

func (o UpdateCloudWafServer) String() string

type UpdateCloudWafServerBackProtocol added in v0.0.69

type UpdateCloudWafServerBackProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateCloudWafServerBackProtocol) MarshalJSON added in v0.0.69

func (c UpdateCloudWafServerBackProtocol) MarshalJSON() ([]byte, error)

func (*UpdateCloudWafServerBackProtocol) UnmarshalJSON added in v0.0.69

func (c *UpdateCloudWafServerBackProtocol) UnmarshalJSON(b []byte) error

type UpdateCloudWafServerBackProtocolEnum added in v0.0.69

type UpdateCloudWafServerBackProtocolEnum struct {
	HTTP  UpdateCloudWafServerBackProtocol
	HTTPS UpdateCloudWafServerBackProtocol
}

func GetUpdateCloudWafServerBackProtocolEnum added in v0.0.69

func GetUpdateCloudWafServerBackProtocolEnum() UpdateCloudWafServerBackProtocolEnum

type UpdateCloudWafServerFrontProtocol added in v0.0.69

type UpdateCloudWafServerFrontProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateCloudWafServerFrontProtocol) MarshalJSON added in v0.0.69

func (c UpdateCloudWafServerFrontProtocol) MarshalJSON() ([]byte, error)

func (*UpdateCloudWafServerFrontProtocol) UnmarshalJSON added in v0.0.69

func (c *UpdateCloudWafServerFrontProtocol) UnmarshalJSON(b []byte) error

type UpdateCloudWafServerFrontProtocolEnum added in v0.0.69

type UpdateCloudWafServerFrontProtocolEnum struct {
	HTTP  UpdateCloudWafServerFrontProtocol
	HTTPS UpdateCloudWafServerFrontProtocol
}

func GetUpdateCloudWafServerFrontProtocolEnum added in v0.0.69

func GetUpdateCloudWafServerFrontProtocolEnum() UpdateCloudWafServerFrontProtocolEnum

type UpdateCloudWafServerType added in v0.0.69

type UpdateCloudWafServerType struct {
	// contains filtered or unexported fields
}

func (UpdateCloudWafServerType) MarshalJSON added in v0.0.69

func (c UpdateCloudWafServerType) MarshalJSON() ([]byte, error)

func (*UpdateCloudWafServerType) UnmarshalJSON added in v0.0.69

func (c *UpdateCloudWafServerType) UnmarshalJSON(b []byte) error

type UpdateCloudWafServerTypeEnum added in v0.0.69

type UpdateCloudWafServerTypeEnum struct {
	IPV4 UpdateCloudWafServerType
	IPV6 UpdateCloudWafServerType
}

func GetUpdateCloudWafServerTypeEnum added in v0.0.69

func GetUpdateCloudWafServerTypeEnum() UpdateCloudWafServerTypeEnum

type UpdateGeoipRuleRequest

type UpdateGeoipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`

	Body *UpdateGeoipRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateGeoipRuleRequest) String

func (o UpdateGeoipRuleRequest) String() string

type UpdateGeoipRuleRequestBody

type UpdateGeoipRuleRequestBody struct {
	Geoip string `json:"geoip"`

	White int32 `json:"white"`
}

地理位置封禁请求体

func (UpdateGeoipRuleRequestBody) String

type UpdateGeoipRuleResponse

type UpdateGeoipRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Geoip *string `json:"geoip,omitempty"`

	White          *int32 `json:"white,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateGeoipRuleResponse) String

func (o UpdateGeoipRuleResponse) String() string

type UpdateHostProtectStatusRequest

type UpdateHostProtectStatusRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	InstanceId string `json:"instance_id"`

	Body *UpdateHostProtectStatusRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateHostProtectStatusRequest) String

type UpdateHostProtectStatusRequestBody

type UpdateHostProtectStatusRequestBody struct {
	ProtectStatus int32 `json:"protect_status"`
}

修改域名防护状态请求体

func (UpdateHostProtectStatusRequestBody) String

type UpdateHostProtectStatusResponse

type UpdateHostProtectStatusResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateHostProtectStatusResponse) String

type UpdateHostRequest

type UpdateHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	InstanceId string `json:"instance_id"`

	Body *UpdateHostRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateHostRequest) String

func (o UpdateHostRequest) String() string

type UpdateHostRequestBody

type UpdateHostRequestBody struct {
	Proxy *bool `json:"proxy,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Server *[]UpdateCloudWafServer `json:"server,omitempty"`

	Tls *UpdateHostRequestBodyTls `json:"tls,omitempty"`

	Cipher *UpdateHostRequestBodyCipher `json:"cipher,omitempty"`
}

修改云模式域名的请求体

func (UpdateHostRequestBody) String

func (o UpdateHostRequestBody) String() string

type UpdateHostRequestBodyCipher added in v0.0.69

type UpdateHostRequestBodyCipher struct {
	// contains filtered or unexported fields
}

func (UpdateHostRequestBodyCipher) MarshalJSON added in v0.0.69

func (c UpdateHostRequestBodyCipher) MarshalJSON() ([]byte, error)

func (*UpdateHostRequestBodyCipher) UnmarshalJSON added in v0.0.69

func (c *UpdateHostRequestBodyCipher) UnmarshalJSON(b []byte) error

type UpdateHostRequestBodyCipherEnum added in v0.0.69

type UpdateHostRequestBodyCipherEnum struct {
	CIPHER_1       UpdateHostRequestBodyCipher
	CIPHER_2       UpdateHostRequestBodyCipher
	CIPHER_3       UpdateHostRequestBodyCipher
	CIPHER_4       UpdateHostRequestBodyCipher
	CIPHER_DEFAULT UpdateHostRequestBodyCipher
}

func GetUpdateHostRequestBodyCipherEnum added in v0.0.69

func GetUpdateHostRequestBodyCipherEnum() UpdateHostRequestBodyCipherEnum

type UpdateHostRequestBodyTls added in v0.0.69

type UpdateHostRequestBodyTls struct {
	// contains filtered or unexported fields
}

func (UpdateHostRequestBodyTls) MarshalJSON added in v0.0.69

func (c UpdateHostRequestBodyTls) MarshalJSON() ([]byte, error)

func (*UpdateHostRequestBodyTls) UnmarshalJSON added in v0.0.69

func (c *UpdateHostRequestBodyTls) UnmarshalJSON(b []byte) error

type UpdateHostRequestBodyTlsEnum added in v0.0.69

type UpdateHostRequestBodyTlsEnum struct {
	TLS_V1_0 UpdateHostRequestBodyTls
	TLS_V1_1 UpdateHostRequestBodyTls
	TLS_V1_2 UpdateHostRequestBodyTls
	TLS_V1_3 UpdateHostRequestBodyTls
}

func GetUpdateHostRequestBodyTlsEnum added in v0.0.69

func GetUpdateHostRequestBodyTlsEnum() UpdateHostRequestBodyTlsEnum

type UpdateHostResponse

type UpdateHostResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]CloudWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Tls *UpdateHostResponseTls `json:"tls,omitempty"`

	Cipher *UpdateHostResponseCipher `json:"cipher,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	WebTag *bool `json:"web_tag,omitempty"`

	Flag *Flag `json:"flag,omitempty"`

	ExclusiveIp *bool `json:"exclusive_ip,omitempty"`

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateHostResponse) String

func (o UpdateHostResponse) String() string

type UpdateHostResponseCipher added in v0.0.69

type UpdateHostResponseCipher struct {
	// contains filtered or unexported fields
}

func (UpdateHostResponseCipher) MarshalJSON added in v0.0.69

func (c UpdateHostResponseCipher) MarshalJSON() ([]byte, error)

func (*UpdateHostResponseCipher) UnmarshalJSON added in v0.0.69

func (c *UpdateHostResponseCipher) UnmarshalJSON(b []byte) error

type UpdateHostResponseCipherEnum added in v0.0.69

type UpdateHostResponseCipherEnum struct {
	CIPHER_1       UpdateHostResponseCipher
	CIPHER_2       UpdateHostResponseCipher
	CIPHER_3       UpdateHostResponseCipher
	CIPHER_4       UpdateHostResponseCipher
	CIPHER_DEFAULT UpdateHostResponseCipher
}

func GetUpdateHostResponseCipherEnum added in v0.0.69

func GetUpdateHostResponseCipherEnum() UpdateHostResponseCipherEnum

type UpdateHostResponseTls added in v0.0.69

type UpdateHostResponseTls struct {
	// contains filtered or unexported fields
}

func (UpdateHostResponseTls) MarshalJSON added in v0.0.69

func (c UpdateHostResponseTls) MarshalJSON() ([]byte, error)

func (*UpdateHostResponseTls) UnmarshalJSON added in v0.0.69

func (c *UpdateHostResponseTls) UnmarshalJSON(b []byte) error

type UpdateHostResponseTlsEnum added in v0.0.69

type UpdateHostResponseTlsEnum struct {
	TLS_V1_0 UpdateHostResponseTls
	TLS_V1_1 UpdateHostResponseTls
	TLS_V1_2 UpdateHostResponseTls
	TLS_V1_3 UpdateHostResponseTls
}

func GetUpdateHostResponseTlsEnum added in v0.0.69

func GetUpdateHostResponseTlsEnum() UpdateHostResponseTlsEnum

type UpdatePolicyProtectHostRequest

type UpdatePolicyProtectHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Hosts string `json:"hosts"`
}

Request Object

func (UpdatePolicyProtectHostRequest) String

type UpdatePolicyProtectHostResponse

type UpdatePolicyProtectHostResponse struct {
	Id *string `json:"id,omitempty"`

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

	Action *PolicyAction `json:"action,omitempty"`

	Options *PolicyOption `json:"options,omitempty"`

	Level *int32 `json:"level,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost *[]BindHost `json:"bind_host,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Extend         map[string]string `json:"extend,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (UpdatePolicyProtectHostResponse) String

type UpdatePolicyRequest

type UpdatePolicyRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Body *UpdatePolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdatePolicyRequest) String

func (o UpdatePolicyRequest) String() string

type UpdatePolicyRequestBody

type UpdatePolicyRequestBody struct {
	Name *string `json:"name,omitempty"`

	Action *PolicyAction `json:"action,omitempty"`

	Options *PolicyOption `json:"options,omitempty"`
}

func (UpdatePolicyRequestBody) String

func (o UpdatePolicyRequestBody) String() string

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Id *string `json:"id,omitempty"`

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

	Level *int32 `json:"level,omitempty"`

	Action *PolicyAction `json:"action,omitempty"`

	Options *PolicyOption `json:"options,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	FullDetection *bool `json:"full_detection,omitempty"`

	BindHost       *[]BindHost `json:"bind_host,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (UpdatePolicyResponse) String

func (o UpdatePolicyResponse) String() string

type UpdatePolicyRuleStatusRequest

type UpdatePolicyRuleStatusRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	Ruletype UpdatePolicyRuleStatusRequestRuletype `json:"ruletype"`

	RuleId string `json:"rule_id"`

	Body *UpdatePolicyRuleStatusRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdatePolicyRuleStatusRequest) String

type UpdatePolicyRuleStatusRequestBody added in v0.0.69

type UpdatePolicyRuleStatusRequestBody struct {
	Status *int32 `json:"status,omitempty"`
}

func (UpdatePolicyRuleStatusRequestBody) String added in v0.0.69

type UpdatePolicyRuleStatusRequestRuletype

type UpdatePolicyRuleStatusRequestRuletype struct {
	// contains filtered or unexported fields
}

func (UpdatePolicyRuleStatusRequestRuletype) MarshalJSON

func (c UpdatePolicyRuleStatusRequestRuletype) MarshalJSON() ([]byte, error)

func (*UpdatePolicyRuleStatusRequestRuletype) UnmarshalJSON

func (c *UpdatePolicyRuleStatusRequestRuletype) UnmarshalJSON(b []byte) error

type UpdatePolicyRuleStatusResponse

type UpdatePolicyRuleStatusResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdatePolicyRuleStatusResponse) String

type UpdatePremiumHostProtectStatusRequest

type UpdatePremiumHostProtectStatusRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HostId string `json:"host_id"`

	Body *UpdatePremiumHostProtectStatusRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdatePremiumHostProtectStatusRequest) String

type UpdatePremiumHostProtectStatusRequestBody

type UpdatePremiumHostProtectStatusRequestBody struct {
	ProtectStatus int32 `json:"protect_status"`
}

防护状态

func (UpdatePremiumHostProtectStatusRequestBody) String

type UpdatePremiumHostProtectStatusResponse

type UpdatePremiumHostProtectStatusResponse struct {
	ProtectStatus  *int32 `json:"protect_status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdatePremiumHostProtectStatusResponse) String

type UpdatePremiumHostRequest

type UpdatePremiumHostRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	HostId string `json:"host_id"`

	Body *UpdatePremiumHostRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdatePremiumHostRequest) String

func (o UpdatePremiumHostRequest) String() string

type UpdatePremiumHostRequestBody

type UpdatePremiumHostRequestBody struct {
	Proxy *bool `json:"proxy,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *UpdatePremiumHostRequestBodyTls `json:"tls,omitempty"`

	Cipher *UpdatePremiumHostRequestBodyCipher `json:"cipher,omitempty"`
}

修改独享模式域名的请求

func (UpdatePremiumHostRequestBody) String

type UpdatePremiumHostRequestBodyCipher added in v0.0.69

type UpdatePremiumHostRequestBodyCipher struct {
	// contains filtered or unexported fields
}

func (UpdatePremiumHostRequestBodyCipher) MarshalJSON added in v0.0.69

func (c UpdatePremiumHostRequestBodyCipher) MarshalJSON() ([]byte, error)

func (*UpdatePremiumHostRequestBodyCipher) UnmarshalJSON added in v0.0.69

func (c *UpdatePremiumHostRequestBodyCipher) UnmarshalJSON(b []byte) error

type UpdatePremiumHostRequestBodyCipherEnum added in v0.0.69

func GetUpdatePremiumHostRequestBodyCipherEnum added in v0.0.69

func GetUpdatePremiumHostRequestBodyCipherEnum() UpdatePremiumHostRequestBodyCipherEnum

type UpdatePremiumHostRequestBodyTls added in v0.0.69

type UpdatePremiumHostRequestBodyTls struct {
	// contains filtered or unexported fields
}

func (UpdatePremiumHostRequestBodyTls) MarshalJSON added in v0.0.69

func (c UpdatePremiumHostRequestBodyTls) MarshalJSON() ([]byte, error)

func (*UpdatePremiumHostRequestBodyTls) UnmarshalJSON added in v0.0.69

func (c *UpdatePremiumHostRequestBodyTls) UnmarshalJSON(b []byte) error

type UpdatePremiumHostRequestBodyTlsEnum added in v0.0.69

type UpdatePremiumHostRequestBodyTlsEnum struct {
	TLS_V1_0 UpdatePremiumHostRequestBodyTls
	TLS_V1_1 UpdatePremiumHostRequestBodyTls
	TLS_V1_2 UpdatePremiumHostRequestBodyTls
	TLS_V1_3 UpdatePremiumHostRequestBodyTls
}

func GetUpdatePremiumHostRequestBodyTlsEnum added in v0.0.69

func GetUpdatePremiumHostRequestBodyTlsEnum() UpdatePremiumHostRequestBodyTlsEnum

type UpdatePremiumHostResponse

type UpdatePremiumHostResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Hostname *string `json:"hostname,omitempty"`

	Domainid *string `json:"domainid,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	AccessCode *string `json:"access_code,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	Server *[]PremiumWafServer `json:"server,omitempty"`

	Certificateid *string `json:"certificateid,omitempty"`

	Certificatename *string `json:"certificatename,omitempty"`

	Tls *UpdatePremiumHostResponseTls `json:"tls,omitempty"`

	Cipher *UpdatePremiumHostResponseCipher `json:"cipher,omitempty"`

	Proxy *bool `json:"proxy,omitempty"`

	Locked *int32 `json:"locked,omitempty"`

	ProtectStatus *int32 `json:"protect_status,omitempty"`

	AccessStatus *int32 `json:"access_status,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	BlockPage *BlockPage `json:"block_page,omitempty"`

	Extend map[string]string `json:"extend,omitempty"`

	TrafficMark *TrafficMark `json:"traffic_mark,omitempty"`

	Flag map[string]string `json:"flag,omitempty"`

	Mode *string `json:"mode,omitempty"`

	PoolIds        *[]string `json:"pool_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdatePremiumHostResponse) String

func (o UpdatePremiumHostResponse) String() string

type UpdatePremiumHostResponseCipher added in v0.0.69

type UpdatePremiumHostResponseCipher struct {
	// contains filtered or unexported fields
}

func (UpdatePremiumHostResponseCipher) MarshalJSON added in v0.0.69

func (c UpdatePremiumHostResponseCipher) MarshalJSON() ([]byte, error)

func (*UpdatePremiumHostResponseCipher) UnmarshalJSON added in v0.0.69

func (c *UpdatePremiumHostResponseCipher) UnmarshalJSON(b []byte) error

type UpdatePremiumHostResponseCipherEnum added in v0.0.69

type UpdatePremiumHostResponseCipherEnum struct {
	CIPHER_1       UpdatePremiumHostResponseCipher
	CIPHER_2       UpdatePremiumHostResponseCipher
	CIPHER_3       UpdatePremiumHostResponseCipher
	CIPHER_4       UpdatePremiumHostResponseCipher
	CIPHER_DEFAULT UpdatePremiumHostResponseCipher
}

func GetUpdatePremiumHostResponseCipherEnum added in v0.0.69

func GetUpdatePremiumHostResponseCipherEnum() UpdatePremiumHostResponseCipherEnum

type UpdatePremiumHostResponseTls added in v0.0.69

type UpdatePremiumHostResponseTls struct {
	// contains filtered or unexported fields
}

func (UpdatePremiumHostResponseTls) MarshalJSON added in v0.0.69

func (c UpdatePremiumHostResponseTls) MarshalJSON() ([]byte, error)

func (*UpdatePremiumHostResponseTls) UnmarshalJSON added in v0.0.69

func (c *UpdatePremiumHostResponseTls) UnmarshalJSON(b []byte) error

type UpdatePremiumHostResponseTlsEnum added in v0.0.69

type UpdatePremiumHostResponseTlsEnum struct {
	TLS_V1_0 UpdatePremiumHostResponseTls
	TLS_V1_1 UpdatePremiumHostResponseTls
	TLS_V1_2 UpdatePremiumHostResponseTls
	TLS_V1_3 UpdatePremiumHostResponseTls
}

func GetUpdatePremiumHostResponseTlsEnum added in v0.0.69

func GetUpdatePremiumHostResponseTlsEnum() UpdatePremiumHostResponseTlsEnum

type UpdatePrivacyRuleRequest

type UpdatePrivacyRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`

	Body *UpdatePrivacyRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdatePrivacyRuleRequest) String

func (o UpdatePrivacyRuleRequest) String() string

type UpdatePrivacyRuleRequestBody

type UpdatePrivacyRuleRequestBody struct {
	Url string `json:"url"`

	Category UpdatePrivacyRuleRequestBodyCategory `json:"category"`

	Index string `json:"index"`

	Description *string `json:"description,omitempty"`
}

func (UpdatePrivacyRuleRequestBody) String

type UpdatePrivacyRuleRequestBodyCategory

type UpdatePrivacyRuleRequestBodyCategory struct {
	// contains filtered or unexported fields
}

func (UpdatePrivacyRuleRequestBodyCategory) MarshalJSON

func (c UpdatePrivacyRuleRequestBodyCategory) MarshalJSON() ([]byte, error)

func (*UpdatePrivacyRuleRequestBodyCategory) UnmarshalJSON

func (c *UpdatePrivacyRuleRequestBodyCategory) UnmarshalJSON(b []byte) error

type UpdatePrivacyRuleResponse

type UpdatePrivacyRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Url *string `json:"url,omitempty"`

	Category *UpdatePrivacyRuleResponseCategory `json:"category,omitempty"`

	Index          *string `json:"index,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePrivacyRuleResponse) String

func (o UpdatePrivacyRuleResponse) String() string

type UpdatePrivacyRuleResponseCategory

type UpdatePrivacyRuleResponseCategory struct {
	// contains filtered or unexported fields
}

func (UpdatePrivacyRuleResponseCategory) MarshalJSON

func (c UpdatePrivacyRuleResponseCategory) MarshalJSON() ([]byte, error)

func (*UpdatePrivacyRuleResponseCategory) UnmarshalJSON

func (c *UpdatePrivacyRuleResponseCategory) UnmarshalJSON(b []byte) error

type UpdateValueListRequest

type UpdateValueListRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Valuelistid string `json:"valuelistid"`

	Body *UpdateValueListRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateValueListRequest) String

func (o UpdateValueListRequest) String() string

type UpdateValueListRequestBody

type UpdateValueListRequestBody struct {
	Name string `json:"name"`

	Type UpdateValueListRequestBodyType `json:"type"`

	Values *[]string `json:"values,omitempty"`

	Description *string `json:"description,omitempty"`
}

创建或更新引用表

func (UpdateValueListRequestBody) String

type UpdateValueListRequestBodyType

type UpdateValueListRequestBodyType struct {
	// contains filtered or unexported fields
}

func (UpdateValueListRequestBodyType) MarshalJSON

func (c UpdateValueListRequestBodyType) MarshalJSON() ([]byte, error)

func (*UpdateValueListRequestBodyType) UnmarshalJSON

func (c *UpdateValueListRequestBodyType) UnmarshalJSON(b []byte) error

type UpdateValueListResponse

type UpdateValueListResponse struct {
	Id *string `json:"id,omitempty"`

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

	Type *string `json:"type,omitempty"`

	Description *string `json:"description,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Values *[]string `json:"values,omitempty"`

	Producer       *int32 `json:"producer,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateValueListResponse) String

func (o UpdateValueListResponse) String() string

type UpdateWhiteBlackIpRuleRequestBody

type UpdateWhiteBlackIpRuleRequestBody struct {
	Name string `json:"name"`

	Addr string `json:"addr"`

	Description *string `json:"description,omitempty"`

	White int32 `json:"white"`
}

更新黑白名单规则body

func (UpdateWhiteBlackIpRuleRequestBody) String

type UpdateWhiteblackipRuleRequest

type UpdateWhiteblackipRuleRequest struct {
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	PolicyId string `json:"policy_id"`

	RuleId string `json:"rule_id"`

	Body *UpdateWhiteBlackIpRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateWhiteblackipRuleRequest) String

type UpdateWhiteblackipRuleResponse

type UpdateWhiteblackipRuleResponse struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Addr *string `json:"addr,omitempty"`

	Description *string `json:"description,omitempty"`

	White          *int32 `json:"white,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateWhiteblackipRuleResponse) String

type UrlCountItem added in v0.0.63

type UrlCountItem struct {
	Key *string `json:"key,omitempty"`

	Num *int32 `json:"num,omitempty"`

	Host *string `json:"host,omitempty"`
}

func (UrlCountItem) String added in v0.0.63

func (o UrlCountItem) String() string

type ValueListResponseBody

type ValueListResponseBody struct {
	Id *string `json:"id,omitempty"`

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

	Type *string `json:"type,omitempty"`

	Description *string `json:"description,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

引用表

func (ValueListResponseBody) String

func (o ValueListResponseBody) String() string

type WhiteBlackIpResponseBody

type WhiteBlackIpResponseBody struct {
	Id *string `json:"id,omitempty"`

	Policyid *string `json:"policyid,omitempty"`

	Timestamp *int64 `json:"timestamp,omitempty"`

	Description *string `json:"description,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Addr *string `json:"addr,omitempty"`

	White *int32 `json:"white,omitempty"`
}

func (WhiteBlackIpResponseBody) String

func (o WhiteBlackIpResponseBody) String() string

Source Files

Jump to

Keyboard shortcuts

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