apis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindCertRequest

type BindCertRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 证书 Id. 使用 <a href='https://docs.jdcloud.com/cn/ssl-certificate/api/describecerts'>describeCerts</a> 接口, 按照域名检索可绑定的证书, 域名不匹配将导致证书配置失败  */
	CertId string `json:"certId"`
}

func NewBindCertRequest

func NewBindCertRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	certId string,
) *BindCertRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param certId: 证书 Id. 使用 <a href='https://docs.jdcloud.com/cn/ssl-certificate/api/describecerts'>describeCerts</a> 接口, 按照域名检索可绑定的证书, 域名不匹配将导致证书配置失败 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewBindCertRequestWithAllParams

func NewBindCertRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	certId string,
) *BindCertRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param certId: 证书 Id. 使用 <a href='https://docs.jdcloud.com/cn/ssl-certificate/api/describecerts'>describeCerts</a> 接口, 按照域名检索可绑定的证书, 域名不匹配将导致证书配置失败 (Required)

func NewBindCertRequestWithoutParam

func NewBindCertRequestWithoutParam() *BindCertRequest

This constructor has better compatible ability when API parameters changed

func (BindCertRequest) GetRegionId

func (r BindCertRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*BindCertRequest) SetCertId

func (r *BindCertRequest) SetCertId(certId string)

param certId: 证书 Id. 使用 <a href='https://docs.jdcloud.com/cn/ssl-certificate/api/describecerts'>describeCerts</a> 接口, 按照域名检索可绑定的证书, 域名不匹配将导致证书配置失败(Required)

func (*BindCertRequest) SetInstanceId

func (r *BindCertRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*BindCertRequest) SetRegionId

func (r *BindCertRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*BindCertRequest) SetWebRuleId

func (r *BindCertRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type BindCertResponse

type BindCertResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    BindCertResult     `json:"result"`
}

type BindCertResult

type BindCertResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CheckNameRequest

type CheckNameRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 待检测实例名称  */
	Name string `json:"name"`
}

func NewCheckNameRequest

func NewCheckNameRequest(
	regionId string,
	name string,
) *CheckNameRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param name: 待检测实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCheckNameRequestWithAllParams

func NewCheckNameRequestWithAllParams(
	regionId string,
	name string,
) *CheckNameRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param name: 待检测实例名称 (Required)

func NewCheckNameRequestWithoutParam

func NewCheckNameRequestWithoutParam() *CheckNameRequest

This constructor has better compatible ability when API parameters changed

func (CheckNameRequest) GetRegionId

func (r CheckNameRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CheckNameRequest) SetName

func (r *CheckNameRequest) SetName(name string)

param name: 待检测实例名称(Required)

func (*CheckNameRequest) SetRegionId

func (r *CheckNameRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CheckNameResponse

type CheckNameResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CheckNameResult    `json:"result"`
}

type CheckNameResult

type CheckNameResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateBlackListRuleOfWebRuleRequest

type CreateBlackListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 添加网站类规则的黑名单规则请求参数  */
	WebBlackListRuleSpec *ipanti.WebBlackListRuleSpec `json:"webBlackListRuleSpec"`
}

func NewCreateBlackListRuleOfWebRuleRequest

func NewCreateBlackListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleSpec *ipanti.WebBlackListRuleSpec,
) *CreateBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleSpec: 添加网站类规则的黑名单规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateBlackListRuleOfWebRuleRequestWithAllParams

func NewCreateBlackListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleSpec *ipanti.WebBlackListRuleSpec,
) *CreateBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleSpec: 添加网站类规则的黑名单规则请求参数 (Required)

func NewCreateBlackListRuleOfWebRuleRequestWithoutParam

func NewCreateBlackListRuleOfWebRuleRequestWithoutParam() *CreateBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateBlackListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateBlackListRuleOfWebRuleRequest) SetInstanceId

func (r *CreateBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateBlackListRuleOfWebRuleRequest) SetRegionId

func (r *CreateBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateBlackListRuleOfWebRuleRequest) SetWebBlackListRuleSpec

func (r *CreateBlackListRuleOfWebRuleRequest) SetWebBlackListRuleSpec(webBlackListRuleSpec *ipanti.WebBlackListRuleSpec)

param webBlackListRuleSpec: 添加网站类规则的黑名单规则请求参数(Required)

func (*CreateBlackListRuleOfWebRuleRequest) SetWebRuleId

func (r *CreateBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateBlackListRuleOfWebRuleResponse

type CreateBlackListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    CreateBlackListRuleOfWebRuleResult `json:"result"`
}

type CreateBlackListRuleOfWebRuleResult

type CreateBlackListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateCCProtectionRuleOfWebRuleRequest

type CreateCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 添加 CC 防护规则请求参数  */
	CcProtectionRuleSpec *ipanti.CCProtectionRuleSpec `json:"ccProtectionRuleSpec"`
}

func NewCreateCCProtectionRuleOfWebRuleRequest

func NewCreateCCProtectionRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleSpec *ipanti.CCProtectionRuleSpec,
) *CreateCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleSpec: 添加 CC 防护规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateCCProtectionRuleOfWebRuleRequestWithAllParams

func NewCreateCCProtectionRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleSpec *ipanti.CCProtectionRuleSpec,
) *CreateCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleSpec: 添加 CC 防护规则请求参数 (Required)

func NewCreateCCProtectionRuleOfWebRuleRequestWithoutParam

func NewCreateCCProtectionRuleOfWebRuleRequestWithoutParam() *CreateCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateCCProtectionRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleSpec

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleSpec(ccProtectionRuleSpec *ipanti.CCProtectionRuleSpec)

param ccProtectionRuleSpec: 添加 CC 防护规则请求参数(Required)

func (*CreateCCProtectionRuleOfWebRuleRequest) SetInstanceId

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateCCProtectionRuleOfWebRuleRequest) SetRegionId

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateCCProtectionRuleOfWebRuleRequest) SetWebRuleId

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateCCProtectionRuleOfWebRuleResponse

type CreateCCProtectionRuleOfWebRuleResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    CreateCCProtectionRuleOfWebRuleResult `json:"result"`
}

type CreateCCProtectionRuleOfWebRuleResult

type CreateCCProtectionRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateCustomPageRequest

type CreateCustomPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 添加自定义页面请求参数  */
	CustomPageSpec *ipanti.CustomPageSpec `json:"customPageSpec"`
}

func NewCreateCustomPageRequest

func NewCreateCustomPageRequest(
	regionId string,
	instanceId string,
	customPageSpec *ipanti.CustomPageSpec,
) *CreateCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param customPageSpec: 添加自定义页面请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateCustomPageRequestWithAllParams

func NewCreateCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
	customPageSpec *ipanti.CustomPageSpec,
) *CreateCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param customPageSpec: 添加自定义页面请求参数 (Required)

func NewCreateCustomPageRequestWithoutParam

func NewCreateCustomPageRequestWithoutParam() *CreateCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (CreateCustomPageRequest) GetRegionId

func (r CreateCustomPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateCustomPageRequest) SetCustomPageSpec

func (r *CreateCustomPageRequest) SetCustomPageSpec(customPageSpec *ipanti.CustomPageSpec)

param customPageSpec: 添加自定义页面请求参数(Required)

func (*CreateCustomPageRequest) SetInstanceId

func (r *CreateCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*CreateCustomPageRequest) SetRegionId

func (r *CreateCustomPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateCustomPageResponse

type CreateCustomPageResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateCustomPageResult `json:"result"`
}

type CreateCustomPageResult

type CreateCustomPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateDispatchRuleRequest

type CreateDispatchRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 添加防护调度规则请求参数  */
	CreateDispatchRuleSpec *ipanti.CreateDispatchRuleSpec `json:"createDispatchRuleSpec"`
}

func NewCreateDispatchRuleRequest

func NewCreateDispatchRuleRequest(
	regionId string,
	instanceId string,
	createDispatchRuleSpec *ipanti.CreateDispatchRuleSpec,
) *CreateDispatchRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param createDispatchRuleSpec: 添加防护调度规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateDispatchRuleRequestWithAllParams

func NewCreateDispatchRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	createDispatchRuleSpec *ipanti.CreateDispatchRuleSpec,
) *CreateDispatchRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param createDispatchRuleSpec: 添加防护调度规则请求参数 (Required)

func NewCreateDispatchRuleRequestWithoutParam

func NewCreateDispatchRuleRequestWithoutParam() *CreateDispatchRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateDispatchRuleRequest) GetRegionId

func (r CreateDispatchRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateDispatchRuleRequest) SetCreateDispatchRuleSpec

func (r *CreateDispatchRuleRequest) SetCreateDispatchRuleSpec(createDispatchRuleSpec *ipanti.CreateDispatchRuleSpec)

param createDispatchRuleSpec: 添加防护调度规则请求参数(Required)

func (*CreateDispatchRuleRequest) SetInstanceId

func (r *CreateDispatchRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateDispatchRuleRequest) SetRegionId

func (r *CreateDispatchRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateDispatchRuleResponse

type CreateDispatchRuleResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    CreateDispatchRuleResult `json:"result"`
}

type CreateDispatchRuleResult

type CreateDispatchRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateDispatchRulesRequest

type CreateDispatchRulesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 批量添加防护调度规则请求参数  */
	DispatchRuleSpecList []ipanti.CreateDispatchRuleSpec `json:"dispatchRuleSpecList"`
}

func NewCreateDispatchRulesRequest

func NewCreateDispatchRulesRequest(
	regionId string,
	instanceId string,
	dispatchRuleSpecList []ipanti.CreateDispatchRuleSpec,
) *CreateDispatchRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleSpecList: 批量添加防护调度规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateDispatchRulesRequestWithAllParams

func NewCreateDispatchRulesRequestWithAllParams(
	regionId string,
	instanceId string,
	dispatchRuleSpecList []ipanti.CreateDispatchRuleSpec,
) *CreateDispatchRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleSpecList: 批量添加防护调度规则请求参数 (Required)

func NewCreateDispatchRulesRequestWithoutParam

func NewCreateDispatchRulesRequestWithoutParam() *CreateDispatchRulesRequest

This constructor has better compatible ability when API parameters changed

func (CreateDispatchRulesRequest) GetRegionId

func (r CreateDispatchRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateDispatchRulesRequest) SetDispatchRuleSpecList

func (r *CreateDispatchRulesRequest) SetDispatchRuleSpecList(dispatchRuleSpecList []ipanti.CreateDispatchRuleSpec)

param dispatchRuleSpecList: 批量添加防护调度规则请求参数(Required)

func (*CreateDispatchRulesRequest) SetInstanceId

func (r *CreateDispatchRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateDispatchRulesRequest) SetRegionId

func (r *CreateDispatchRulesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateDispatchRulesResponse

type CreateDispatchRulesResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    CreateDispatchRulesResult `json:"result"`
}

type CreateDispatchRulesResult

type CreateDispatchRulesResult struct {
	DispatchRuleIds []string            `json:"dispatchRuleIds"`
	FailRules       []ipanti.FailedRule `json:"failRules"`
}

type CreateForwardRuleRequest

type CreateForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 添加非网站类规则请求参数  */
	ForwardRuleSpec *ipanti.ForwardRuleSpec `json:"forwardRuleSpec"`
}

func NewCreateForwardRuleRequest

func NewCreateForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *CreateForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleSpec: 添加非网站类规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateForwardRuleRequestWithAllParams

func NewCreateForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *CreateForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleSpec: 添加非网站类规则请求参数 (Required)

func NewCreateForwardRuleRequestWithoutParam

func NewCreateForwardRuleRequestWithoutParam() *CreateForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateForwardRuleRequest) GetRegionId

func (r CreateForwardRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateForwardRuleRequest) SetForwardRuleSpec

func (r *CreateForwardRuleRequest) SetForwardRuleSpec(forwardRuleSpec *ipanti.ForwardRuleSpec)

param forwardRuleSpec: 添加非网站类规则请求参数(Required)

func (*CreateForwardRuleRequest) SetInstanceId

func (r *CreateForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateForwardRuleRequest) SetRegionId

func (r *CreateForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateForwardRuleResponse

type CreateForwardRuleResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    CreateForwardRuleResult `json:"result"`
}

type CreateForwardRuleResult

type CreateForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateForwardRulesRequest

type CreateForwardRulesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 批量添加非网站类规则请求参数  */
	ForwardRuleSpecList []ipanti.ForwardRuleSpec `json:"forwardRuleSpecList"`
}

func NewCreateForwardRulesRequest

func NewCreateForwardRulesRequest(
	regionId string,
	instanceId string,
	forwardRuleSpecList []ipanti.ForwardRuleSpec,
) *CreateForwardRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleSpecList: 批量添加非网站类规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateForwardRulesRequestWithAllParams

func NewCreateForwardRulesRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleSpecList []ipanti.ForwardRuleSpec,
) *CreateForwardRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleSpecList: 批量添加非网站类规则请求参数 (Required)

func NewCreateForwardRulesRequestWithoutParam

func NewCreateForwardRulesRequestWithoutParam() *CreateForwardRulesRequest

This constructor has better compatible ability when API parameters changed

func (CreateForwardRulesRequest) GetRegionId

func (r CreateForwardRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateForwardRulesRequest) SetForwardRuleSpecList

func (r *CreateForwardRulesRequest) SetForwardRuleSpecList(forwardRuleSpecList []ipanti.ForwardRuleSpec)

param forwardRuleSpecList: 批量添加非网站类规则请求参数(Required)

func (*CreateForwardRulesRequest) SetInstanceId

func (r *CreateForwardRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateForwardRulesRequest) SetRegionId

func (r *CreateForwardRulesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateForwardRulesResponse

type CreateForwardRulesResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    CreateForwardRulesResult `json:"result"`
}

type CreateForwardRulesResult

type CreateForwardRulesResult struct {
	ForwardRuleIds []string            `json:"forwardRuleIds"`
	FailedPorts    []ipanti.FailedPort `json:"failedPorts"`
}

type CreateInstanceRequest

type CreateInstanceRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 新购或升级实例请求参数  */
	CreateInstanceSpec *ipanti.CreateInstanceSpec `json:"createInstanceSpec"`

	/* 自动续费配置, 默认不开通, 仅新购实例时可设置 (Optional) */
	AutoRenewalSpec *ipanti.AutoRenewalSpec `json:"autoRenewalSpec"`

	/* 自动支付标识 (Optional) */
	AutoPay *bool `json:"autoPay"`
}

func NewCreateInstanceRequest

func NewCreateInstanceRequest(
	regionId string,
	createInstanceSpec *ipanti.CreateInstanceSpec,
) *CreateInstanceRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param createInstanceSpec: 新购或升级实例请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateInstanceRequestWithAllParams

func NewCreateInstanceRequestWithAllParams(
	regionId string,
	createInstanceSpec *ipanti.CreateInstanceSpec,
	autoRenewalSpec *ipanti.AutoRenewalSpec,
	autoPay *bool,
) *CreateInstanceRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param createInstanceSpec: 新购或升级实例请求参数 (Required) * param autoRenewalSpec: 自动续费配置, 默认不开通, 仅新购实例时可设置 (Optional) * param autoPay: 自动支付标识 (Optional)

func NewCreateInstanceRequestWithoutParam

func NewCreateInstanceRequestWithoutParam() *CreateInstanceRequest

This constructor has better compatible ability when API parameters changed

func (CreateInstanceRequest) GetRegionId

func (r CreateInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateInstanceRequest) SetAutoPay

func (r *CreateInstanceRequest) SetAutoPay(autoPay bool)

param autoPay: 自动支付标识(Optional)

func (*CreateInstanceRequest) SetAutoRenewalSpec

func (r *CreateInstanceRequest) SetAutoRenewalSpec(autoRenewalSpec *ipanti.AutoRenewalSpec)

param autoRenewalSpec: 自动续费配置, 默认不开通, 仅新购实例时可设置(Optional)

func (*CreateInstanceRequest) SetCreateInstanceSpec

func (r *CreateInstanceRequest) SetCreateInstanceSpec(createInstanceSpec *ipanti.CreateInstanceSpec)

param createInstanceSpec: 新购或升级实例请求参数(Required)

func (*CreateInstanceRequest) SetRegionId

func (r *CreateInstanceRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateInstanceResponse

type CreateInstanceResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CreateInstanceResult `json:"result"`
}

type CreateInstanceResult

type CreateInstanceResult struct {
	Code        int    `json:"code"`
	Message     string `json:"message"`
	OrderNumber string `json:"orderNumber"`
}

type CreateIpSetRequest

type CreateIpSetRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 添加实例的 IP 黑白名单请求参数  */
	IpSetSpec *ipanti.IpSetSpec `json:"ipSetSpec"`
}

func NewCreateIpSetRequest

func NewCreateIpSetRequest(
	regionId string,
	instanceId string,
	ipSetSpec *ipanti.IpSetSpec,
) *CreateIpSetRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param ipSetSpec: 添加实例的 IP 黑白名单请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateIpSetRequestWithAllParams

func NewCreateIpSetRequestWithAllParams(
	regionId string,
	instanceId string,
	ipSetSpec *ipanti.IpSetSpec,
) *CreateIpSetRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param ipSetSpec: 添加实例的 IP 黑白名单请求参数 (Required)

func NewCreateIpSetRequestWithoutParam

func NewCreateIpSetRequestWithoutParam() *CreateIpSetRequest

This constructor has better compatible ability when API parameters changed

func (CreateIpSetRequest) GetRegionId

func (r CreateIpSetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateIpSetRequest) SetInstanceId

func (r *CreateIpSetRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateIpSetRequest) SetIpSetSpec

func (r *CreateIpSetRequest) SetIpSetSpec(ipSetSpec *ipanti.IpSetSpec)

param ipSetSpec: 添加实例的 IP 黑白名单请求参数(Required)

func (*CreateIpSetRequest) SetRegionId

func (r *CreateIpSetRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type CreateIpSetResponse

type CreateIpSetResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateIpSetResult  `json:"result"`
}

type CreateIpSetResult

type CreateIpSetResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateJsPageOfWebRuleRequest

type CreateJsPageOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 添加 JS 指纹页面请求参数  */
	JsPageSpec *ipanti.JsPageSpec `json:"jsPageSpec"`
}

func NewCreateJsPageOfWebRuleRequest

func NewCreateJsPageOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPageSpec *ipanti.JsPageSpec,
) *CreateJsPageOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPageSpec: 添加 JS 指纹页面请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateJsPageOfWebRuleRequestWithAllParams

func NewCreateJsPageOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPageSpec *ipanti.JsPageSpec,
) *CreateJsPageOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPageSpec: 添加 JS 指纹页面请求参数 (Required)

func NewCreateJsPageOfWebRuleRequestWithoutParam

func NewCreateJsPageOfWebRuleRequestWithoutParam() *CreateJsPageOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateJsPageOfWebRuleRequest) GetRegionId

func (r CreateJsPageOfWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateJsPageOfWebRuleRequest) SetInstanceId

func (r *CreateJsPageOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateJsPageOfWebRuleRequest) SetJsPageSpec

func (r *CreateJsPageOfWebRuleRequest) SetJsPageSpec(jsPageSpec *ipanti.JsPageSpec)

param jsPageSpec: 添加 JS 指纹页面请求参数(Required)

func (*CreateJsPageOfWebRuleRequest) SetRegionId

func (r *CreateJsPageOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateJsPageOfWebRuleRequest) SetWebRuleId

func (r *CreateJsPageOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateJsPageOfWebRuleResponse

type CreateJsPageOfWebRuleResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    CreateJsPageOfWebRuleResult `json:"result"`
}

type CreateJsPageOfWebRuleResult

type CreateJsPageOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateJsPagesOfWebRuleRequest

type CreateJsPagesOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 添加 JS 指纹页面请求参数  */
	JsPagesSpec *ipanti.JsPagesSpec `json:"jsPagesSpec"`
}

func NewCreateJsPagesOfWebRuleRequest

func NewCreateJsPagesOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPagesSpec *ipanti.JsPagesSpec,
) *CreateJsPagesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPagesSpec: 添加 JS 指纹页面请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateJsPagesOfWebRuleRequestWithAllParams

func NewCreateJsPagesOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPagesSpec *ipanti.JsPagesSpec,
) *CreateJsPagesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPagesSpec: 添加 JS 指纹页面请求参数 (Required)

func NewCreateJsPagesOfWebRuleRequestWithoutParam

func NewCreateJsPagesOfWebRuleRequestWithoutParam() *CreateJsPagesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateJsPagesOfWebRuleRequest) GetRegionId

func (r CreateJsPagesOfWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateJsPagesOfWebRuleRequest) SetInstanceId

func (r *CreateJsPagesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateJsPagesOfWebRuleRequest) SetJsPagesSpec

func (r *CreateJsPagesOfWebRuleRequest) SetJsPagesSpec(jsPagesSpec *ipanti.JsPagesSpec)

param jsPagesSpec: 添加 JS 指纹页面请求参数(Required)

func (*CreateJsPagesOfWebRuleRequest) SetRegionId

func (r *CreateJsPagesOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateJsPagesOfWebRuleRequest) SetWebRuleId

func (r *CreateJsPagesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateJsPagesOfWebRuleResponse

type CreateJsPagesOfWebRuleResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    CreateJsPagesOfWebRuleResult `json:"result"`
}

type CreateJsPagesOfWebRuleResult

type CreateJsPagesOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateWebRuleRequest

type CreateWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 添加网站类规则请求参数  */
	WebRuleSpec *ipanti.WebRuleSpec `json:"webRuleSpec"`
}

func NewCreateWebRuleRequest

func NewCreateWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleSpec *ipanti.WebRuleSpec,
) *CreateWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleSpec: 添加网站类规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateWebRuleRequestWithAllParams

func NewCreateWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleSpec *ipanti.WebRuleSpec,
) *CreateWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleSpec: 添加网站类规则请求参数 (Required)

func NewCreateWebRuleRequestWithoutParam

func NewCreateWebRuleRequestWithoutParam() *CreateWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateWebRuleRequest) GetRegionId

func (r CreateWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateWebRuleRequest) SetInstanceId

func (r *CreateWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateWebRuleRequest) SetRegionId

func (r *CreateWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateWebRuleRequest) SetWebRuleSpec

func (r *CreateWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)

param webRuleSpec: 添加网站类规则请求参数(Required)

type CreateWebRuleResponse

type CreateWebRuleResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    CreateWebRuleResult `json:"result"`
}

type CreateWebRuleResult

type CreateWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type CreateWebRulesRequest

type CreateWebRulesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 批量添加网站类规则请求参数  */
	WebRuleSpecList []ipanti.WebRuleSpec `json:"webRuleSpecList"`
}

func NewCreateWebRulesRequest

func NewCreateWebRulesRequest(
	regionId string,
	instanceId string,
	webRuleSpecList []ipanti.WebRuleSpec,
) *CreateWebRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleSpecList: 批量添加网站类规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateWebRulesRequestWithAllParams

func NewCreateWebRulesRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleSpecList []ipanti.WebRuleSpec,
) *CreateWebRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleSpecList: 批量添加网站类规则请求参数 (Required)

func NewCreateWebRulesRequestWithoutParam

func NewCreateWebRulesRequestWithoutParam() *CreateWebRulesRequest

This constructor has better compatible ability when API parameters changed

func (CreateWebRulesRequest) GetRegionId

func (r CreateWebRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateWebRulesRequest) SetInstanceId

func (r *CreateWebRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateWebRulesRequest) SetRegionId

func (r *CreateWebRulesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateWebRulesRequest) SetWebRuleSpecList

func (r *CreateWebRulesRequest) SetWebRuleSpecList(webRuleSpecList []ipanti.WebRuleSpec)

param webRuleSpecList: 批量添加网站类规则请求参数(Required)

type CreateWebRulesResponse

type CreateWebRulesResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CreateWebRulesResult `json:"result"`
}

type CreateWebRulesResult

type CreateWebRulesResult struct {
	WebRuleIdIds  []string              `json:"webRuleIdIds"`
	FailedDomains []ipanti.FailedDomain `json:"failedDomains"`
}

type CreateWhiteListRuleOfWebRuleRequest

type CreateWhiteListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 添加网站类规则的白名单规则请求参数  */
	WebWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec `json:"webWhiteListRuleSpec"`
}

func NewCreateWhiteListRuleOfWebRuleRequest

func NewCreateWhiteListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec,
) *CreateWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleSpec: 添加网站类规则的白名单规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateWhiteListRuleOfWebRuleRequestWithAllParams

func NewCreateWhiteListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec,
) *CreateWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleSpec: 添加网站类规则的白名单规则请求参数 (Required)

func NewCreateWhiteListRuleOfWebRuleRequestWithoutParam

func NewCreateWhiteListRuleOfWebRuleRequestWithoutParam() *CreateWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateWhiteListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateWhiteListRuleOfWebRuleRequest) SetInstanceId

func (r *CreateWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateWhiteListRuleOfWebRuleRequest) SetRegionId

func (r *CreateWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*CreateWhiteListRuleOfWebRuleRequest) SetWebRuleId

func (r *CreateWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*CreateWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleSpec

func (r *CreateWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleSpec(webWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec)

param webWhiteListRuleSpec: 添加网站类规则的白名单规则请求参数(Required)

type CreateWhiteListRuleOfWebRuleResponse

type CreateWhiteListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    CreateWhiteListRuleOfWebRuleResult `json:"result"`
}

type CreateWhiteListRuleOfWebRuleResult

type CreateWhiteListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteBlackListRuleOfWebRuleRequest

type DeleteBlackListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的黑名单规则 Id  */
	WebBlackListRuleId string `json:"webBlackListRuleId"`
}

func NewDeleteBlackListRuleOfWebRuleRequest

func NewDeleteBlackListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *DeleteBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteBlackListRuleOfWebRuleRequestWithAllParams

func NewDeleteBlackListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *DeleteBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required)

func NewDeleteBlackListRuleOfWebRuleRequestWithoutParam

func NewDeleteBlackListRuleOfWebRuleRequestWithoutParam() *DeleteBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteBlackListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteBlackListRuleOfWebRuleRequest) SetInstanceId

func (r *DeleteBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteBlackListRuleOfWebRuleRequest) SetRegionId

func (r *DeleteBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DeleteBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId

func (r *DeleteBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

param webBlackListRuleId: 网站类规则的黑名单规则 Id(Required)

func (*DeleteBlackListRuleOfWebRuleRequest) SetWebRuleId

func (r *DeleteBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteBlackListRuleOfWebRuleResponse

type DeleteBlackListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DeleteBlackListRuleOfWebRuleResult `json:"result"`
}

type DeleteBlackListRuleOfWebRuleResult

type DeleteBlackListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteCCProtectionRuleOfWebRuleRequest

type DeleteCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的 CC 防护规则 Id  */
	CcProtectionRuleId string `json:"ccProtectionRuleId"`
}

func NewDeleteCCProtectionRuleOfWebRuleRequest

func NewDeleteCCProtectionRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *DeleteCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCCProtectionRuleOfWebRuleRequestWithAllParams

func NewDeleteCCProtectionRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *DeleteCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required)

func NewDeleteCCProtectionRuleOfWebRuleRequestWithoutParam

func NewDeleteCCProtectionRuleOfWebRuleRequestWithoutParam() *DeleteCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCCProtectionRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id(Required)

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetInstanceId

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetRegionId

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetWebRuleId

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteCCProtectionRuleOfWebRuleResponse

type DeleteCCProtectionRuleOfWebRuleResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DeleteCCProtectionRuleOfWebRuleResult `json:"result"`
}

type DeleteCCProtectionRuleOfWebRuleResult

type DeleteCCProtectionRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteCustomPageRequest

type DeleteCustomPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 自定义页面Id  */
	PageId string `json:"pageId"`
}

func NewDeleteCustomPageRequest

func NewDeleteCustomPageRequest(
	regionId string,
	instanceId string,
	pageId string,
) *DeleteCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageId: 自定义页面Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteCustomPageRequestWithAllParams

func NewDeleteCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
	pageId string,
) *DeleteCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageId: 自定义页面Id (Required)

func NewDeleteCustomPageRequestWithoutParam

func NewDeleteCustomPageRequestWithoutParam() *DeleteCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomPageRequest) GetRegionId

func (r DeleteCustomPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteCustomPageRequest) SetInstanceId

func (r *DeleteCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DeleteCustomPageRequest) SetPageId

func (r *DeleteCustomPageRequest) SetPageId(pageId string)

param pageId: 自定义页面Id(Required)

func (*DeleteCustomPageRequest) SetRegionId

func (r *DeleteCustomPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DeleteCustomPageResponse

type DeleteCustomPageResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteCustomPageResult `json:"result"`
}

type DeleteCustomPageResult

type DeleteCustomPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteDispatchRuleRequest

type DeleteDispatchRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 防护调度规则 Id  */
	DispatchRuleId string `json:"dispatchRuleId"`
}

func NewDeleteDispatchRuleRequest

func NewDeleteDispatchRuleRequest(
	regionId string,
	instanceId string,
	dispatchRuleId string,
) *DeleteDispatchRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteDispatchRuleRequestWithAllParams

func NewDeleteDispatchRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	dispatchRuleId string,
) *DeleteDispatchRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required)

func NewDeleteDispatchRuleRequestWithoutParam

func NewDeleteDispatchRuleRequestWithoutParam() *DeleteDispatchRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteDispatchRuleRequest) GetRegionId

func (r DeleteDispatchRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteDispatchRuleRequest) SetDispatchRuleId

func (r *DeleteDispatchRuleRequest) SetDispatchRuleId(dispatchRuleId string)

param dispatchRuleId: 防护调度规则 Id(Required)

func (*DeleteDispatchRuleRequest) SetInstanceId

func (r *DeleteDispatchRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteDispatchRuleRequest) SetRegionId

func (r *DeleteDispatchRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DeleteDispatchRuleResponse

type DeleteDispatchRuleResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DeleteDispatchRuleResult `json:"result"`
}

type DeleteDispatchRuleResult

type DeleteDispatchRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteForwardRuleRequest

type DeleteForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDeleteForwardRuleRequest

func NewDeleteForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DeleteForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteForwardRuleRequestWithAllParams

func NewDeleteForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DeleteForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDeleteForwardRuleRequestWithoutParam

func NewDeleteForwardRuleRequestWithoutParam() *DeleteForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteForwardRuleRequest) GetRegionId

func (r DeleteForwardRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteForwardRuleRequest) SetForwardRuleId

func (r *DeleteForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DeleteForwardRuleRequest) SetInstanceId

func (r *DeleteForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteForwardRuleRequest) SetRegionId

func (r *DeleteForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DeleteForwardRuleResponse

type DeleteForwardRuleResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DeleteForwardRuleResult `json:"result"`
}

type DeleteForwardRuleResult

type DeleteForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteIpSetRequest

type DeleteIpSetRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* IP 黑白名单 Id  */
	IpSetId string `json:"ipSetId"`
}

func NewDeleteIpSetRequest

func NewDeleteIpSetRequest(
	regionId string,
	instanceId string,
	ipSetId string,
) *DeleteIpSetRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param ipSetId: IP 黑白名单 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteIpSetRequestWithAllParams

func NewDeleteIpSetRequestWithAllParams(
	regionId string,
	instanceId string,
	ipSetId string,
) *DeleteIpSetRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param ipSetId: IP 黑白名单 Id (Required)

func NewDeleteIpSetRequestWithoutParam

func NewDeleteIpSetRequestWithoutParam() *DeleteIpSetRequest

This constructor has better compatible ability when API parameters changed

func (DeleteIpSetRequest) GetRegionId

func (r DeleteIpSetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteIpSetRequest) SetInstanceId

func (r *DeleteIpSetRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteIpSetRequest) SetIpSetId

func (r *DeleteIpSetRequest) SetIpSetId(ipSetId string)

param ipSetId: IP 黑白名单 Id(Required)

func (*DeleteIpSetRequest) SetRegionId

func (r *DeleteIpSetRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DeleteIpSetResponse

type DeleteIpSetResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteIpSetResult  `json:"result"`
}

type DeleteIpSetResult

type DeleteIpSetResult struct {
	Data common.BatchResultDetail `json:"data"`
}

type DeleteJsPageOfWebRuleRequest

type DeleteJsPageOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 支持插入JS指纹的页面 Id  */
	JsPageId string `json:"jsPageId"`
}

func NewDeleteJsPageOfWebRuleRequest

func NewDeleteJsPageOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPageId string,
) *DeleteJsPageOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPageId: 支持插入JS指纹的页面 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteJsPageOfWebRuleRequestWithAllParams

func NewDeleteJsPageOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPageId string,
) *DeleteJsPageOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPageId: 支持插入JS指纹的页面 Id (Required)

func NewDeleteJsPageOfWebRuleRequestWithoutParam

func NewDeleteJsPageOfWebRuleRequestWithoutParam() *DeleteJsPageOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteJsPageOfWebRuleRequest) GetRegionId

func (r DeleteJsPageOfWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteJsPageOfWebRuleRequest) SetInstanceId

func (r *DeleteJsPageOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteJsPageOfWebRuleRequest) SetJsPageId

func (r *DeleteJsPageOfWebRuleRequest) SetJsPageId(jsPageId string)

param jsPageId: 支持插入JS指纹的页面 Id(Required)

func (*DeleteJsPageOfWebRuleRequest) SetRegionId

func (r *DeleteJsPageOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DeleteJsPageOfWebRuleRequest) SetWebRuleId

func (r *DeleteJsPageOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteJsPageOfWebRuleResponse

type DeleteJsPageOfWebRuleResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DeleteJsPageOfWebRuleResult `json:"result"`
}

type DeleteJsPageOfWebRuleResult

type DeleteJsPageOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteWebRuleRequest

type DeleteWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDeleteWebRuleRequest

func NewDeleteWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DeleteWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteWebRuleRequestWithAllParams

func NewDeleteWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DeleteWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDeleteWebRuleRequestWithoutParam

func NewDeleteWebRuleRequestWithoutParam() *DeleteWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteWebRuleRequest) GetRegionId

func (r DeleteWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteWebRuleRequest) SetInstanceId

func (r *DeleteWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteWebRuleRequest) SetRegionId

func (r *DeleteWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DeleteWebRuleRequest) SetWebRuleId

func (r *DeleteWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteWebRuleResponse

type DeleteWebRuleResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DeleteWebRuleResult `json:"result"`
}

type DeleteWebRuleResult

type DeleteWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DeleteWhiteListRuleOfWebRuleRequest

type DeleteWhiteListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的白名单规则 Id  */
	WebWhiteListRuleId string `json:"webWhiteListRuleId"`
}

func NewDeleteWhiteListRuleOfWebRuleRequest

func NewDeleteWhiteListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *DeleteWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteWhiteListRuleOfWebRuleRequestWithAllParams

func NewDeleteWhiteListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *DeleteWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required)

func NewDeleteWhiteListRuleOfWebRuleRequestWithoutParam

func NewDeleteWhiteListRuleOfWebRuleRequestWithoutParam() *DeleteWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteWhiteListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteWhiteListRuleOfWebRuleRequest) SetInstanceId

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteWhiteListRuleOfWebRuleRequest) SetRegionId

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DeleteWhiteListRuleOfWebRuleRequest) SetWebRuleId

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*DeleteWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

param webWhiteListRuleId: 网站类规则的白名单规则 Id(Required)

type DeleteWhiteListRuleOfWebRuleResponse

type DeleteWhiteListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DeleteWhiteListRuleOfWebRuleResult `json:"result"`
}

type DeleteWhiteListRuleOfWebRuleResult

type DeleteWhiteListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DescribeAlarmConfigRequest

type DescribeAlarmConfigRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeAlarmConfigRequest

func NewDescribeAlarmConfigRequest(
	regionId string,
	instanceId string,
) *DescribeAlarmConfigRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAlarmConfigRequestWithAllParams

func NewDescribeAlarmConfigRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeAlarmConfigRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewDescribeAlarmConfigRequestWithoutParam

func NewDescribeAlarmConfigRequestWithoutParam() *DescribeAlarmConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAlarmConfigRequest) GetRegionId

func (r DescribeAlarmConfigRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAlarmConfigRequest) SetInstanceId

func (r *DescribeAlarmConfigRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeAlarmConfigRequest) SetRegionId

func (r *DescribeAlarmConfigRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeAlarmConfigResponse

type DescribeAlarmConfigResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeAlarmConfigResult `json:"result"`
}

type DescribeAlarmConfigResult

type DescribeAlarmConfigResult struct {
	Data ipanti.AlarmConfig `json:"data"`
}

type DescribeAttackStatisticsRequest

type DescribeAttackStatisticsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 ID (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) */
	ServiceIp []string `json:"serviceIp"`

	/* 攻击类型, 0 为 DDoS, 1 为 CC  */
	Type int `json:"type"`
}

func NewDescribeAttackStatisticsRequest

func NewDescribeAttackStatisticsRequest(
	regionId string,
	startTime string,
	type_ int,
) *DescribeAttackStatisticsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param type_: 攻击类型, 0 为 DDoS, 1 为 CC (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAttackStatisticsRequestWithAllParams

func NewDescribeAttackStatisticsRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	serviceIp []string,
	type_ int,
) *DescribeAttackStatisticsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 ID (Optional) * param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) * param type_: 攻击类型, 0 为 DDoS, 1 为 CC (Required)

func NewDescribeAttackStatisticsRequestWithoutParam

func NewDescribeAttackStatisticsRequestWithoutParam() *DescribeAttackStatisticsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAttackStatisticsRequest) GetRegionId

func (r DescribeAttackStatisticsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAttackStatisticsRequest) SetEndTime

func (r *DescribeAttackStatisticsRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeAttackStatisticsRequest) SetInstanceId

func (r *DescribeAttackStatisticsRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeAttackStatisticsRequest) SetRegionId

func (r *DescribeAttackStatisticsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeAttackStatisticsRequest) SetServiceIp

func (r *DescribeAttackStatisticsRequest) SetServiceIp(serviceIp []string)

param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP(Optional)

func (*DescribeAttackStatisticsRequest) SetStartTime

func (r *DescribeAttackStatisticsRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

func (*DescribeAttackStatisticsRequest) SetType

func (r *DescribeAttackStatisticsRequest) SetType(type_ int)

param type_: 攻击类型, 0 为 DDoS, 1 为 CC(Required)

type DescribeAttackStatisticsResponse

type DescribeAttackStatisticsResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeAttackStatisticsResult `json:"result"`
}

type DescribeAttackStatisticsResult

type DescribeAttackStatisticsResult struct {
	Flow  float64 `json:"flow"`
	Count int     `json:"count"`
	Unit  string  `json:"unit"`
}

type DescribeAttackTypeCountRequest

type DescribeAttackTypeCountRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 ID (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) */
	ServiceIp []string `json:"serviceIp"`
}

func NewDescribeAttackTypeCountRequest

func NewDescribeAttackTypeCountRequest(
	regionId string,
	startTime string,
) *DescribeAttackTypeCountRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAttackTypeCountRequestWithAllParams

func NewDescribeAttackTypeCountRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	serviceIp []string,
) *DescribeAttackTypeCountRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 ID (Optional) * param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional)

func NewDescribeAttackTypeCountRequestWithoutParam

func NewDescribeAttackTypeCountRequestWithoutParam() *DescribeAttackTypeCountRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAttackTypeCountRequest) GetRegionId

func (r DescribeAttackTypeCountRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAttackTypeCountRequest) SetEndTime

func (r *DescribeAttackTypeCountRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeAttackTypeCountRequest) SetInstanceId

func (r *DescribeAttackTypeCountRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeAttackTypeCountRequest) SetRegionId

func (r *DescribeAttackTypeCountRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeAttackTypeCountRequest) SetServiceIp

func (r *DescribeAttackTypeCountRequest) SetServiceIp(serviceIp []string)

param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP(Optional)

func (*DescribeAttackTypeCountRequest) SetStartTime

func (r *DescribeAttackTypeCountRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeAttackTypeCountResponse

type DescribeAttackTypeCountResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeAttackTypeCountResult `json:"result"`
}

type DescribeAttackTypeCountResult

type DescribeAttackTypeCountResult struct {
	DataList []ipanti.AttackTypeCount `json:"dataList"`
}

type DescribeBlackListRuleOfForwardRuleRequest

type DescribeBlackListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDescribeBlackListRuleOfForwardRuleRequest

func NewDescribeBlackListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBlackListRuleOfForwardRuleRequestWithAllParams

func NewDescribeBlackListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDescribeBlackListRuleOfForwardRuleRequestWithoutParam

func NewDescribeBlackListRuleOfForwardRuleRequestWithoutParam() *DescribeBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBlackListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBlackListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *DescribeBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeBlackListRuleOfForwardRuleRequest) SetInstanceId

func (r *DescribeBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeBlackListRuleOfForwardRuleRequest) SetRegionId

func (r *DescribeBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeBlackListRuleOfForwardRuleResponse

type DescribeBlackListRuleOfForwardRuleResponse struct {
	RequestID string                                   `json:"requestId"`
	Error     core.ErrorResponse                       `json:"error"`
	Result    DescribeBlackListRuleOfForwardRuleResult `json:"result"`
}

type DescribeBlackListRuleOfForwardRuleResult

type DescribeBlackListRuleOfForwardRuleResult struct {
	Data ipanti.ForwardBlackListRule `json:"data"`
}

type DescribeBlackListRuleOfWebRuleRequest

type DescribeBlackListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的黑名单规则 Id  */
	WebBlackListRuleId string `json:"webBlackListRuleId"`
}

func NewDescribeBlackListRuleOfWebRuleRequest

func NewDescribeBlackListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *DescribeBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBlackListRuleOfWebRuleRequestWithAllParams

func NewDescribeBlackListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *DescribeBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required)

func NewDescribeBlackListRuleOfWebRuleRequestWithoutParam

func NewDescribeBlackListRuleOfWebRuleRequestWithoutParam() *DescribeBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBlackListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBlackListRuleOfWebRuleRequest) SetInstanceId

func (r *DescribeBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeBlackListRuleOfWebRuleRequest) SetRegionId

func (r *DescribeBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId

func (r *DescribeBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

param webBlackListRuleId: 网站类规则的黑名单规则 Id(Required)

func (*DescribeBlackListRuleOfWebRuleRequest) SetWebRuleId

func (r *DescribeBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeBlackListRuleOfWebRuleResponse

type DescribeBlackListRuleOfWebRuleResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeBlackListRuleOfWebRuleResult `json:"result"`
}

type DescribeBlackListRuleOfWebRuleResult

type DescribeBlackListRuleOfWebRuleResult struct {
	Data ipanti.WebBlackListRule `json:"data"`
}

type DescribeBlackListRulesOfWebRuleRequest

type DescribeBlackListRulesOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeBlackListRulesOfWebRuleRequest

func NewDescribeBlackListRulesOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeBlackListRulesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBlackListRulesOfWebRuleRequestWithAllParams

func NewDescribeBlackListRulesOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	pageNumber *int,
	pageSize *int,
) *DescribeBlackListRulesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional)

func NewDescribeBlackListRulesOfWebRuleRequestWithoutParam

func NewDescribeBlackListRulesOfWebRuleRequestWithoutParam() *DescribeBlackListRulesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBlackListRulesOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBlackListRulesOfWebRuleRequest) SetInstanceId

func (r *DescribeBlackListRulesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeBlackListRulesOfWebRuleRequest) SetPageNumber

func (r *DescribeBlackListRulesOfWebRuleRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeBlackListRulesOfWebRuleRequest) SetPageSize

func (r *DescribeBlackListRulesOfWebRuleRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeBlackListRulesOfWebRuleRequest) SetRegionId

func (r *DescribeBlackListRulesOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeBlackListRulesOfWebRuleRequest) SetWebRuleId

func (r *DescribeBlackListRulesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeBlackListRulesOfWebRuleResponse

type DescribeBlackListRulesOfWebRuleResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeBlackListRulesOfWebRuleResult `json:"result"`
}

type DescribeBlackListRulesOfWebRuleResult

type DescribeBlackListRulesOfWebRuleResult struct {
	DataList     []ipanti.WebBlackListRule `json:"dataList"`
	CurrentCount int                       `json:"currentCount"`
	TotalCount   int                       `json:"totalCount"`
	TotalPage    int                       `json:"totalPage"`
}

type DescribeBusinessGraphRequest

type DescribeBusinessGraphRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 Id 列表 (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) */
	ServiceIp []string `json:"serviceIp"`
}

func NewDescribeBusinessGraphRequest

func NewDescribeBusinessGraphRequest(
	regionId string,
	startTime string,
) *DescribeBusinessGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBusinessGraphRequestWithAllParams

func NewDescribeBusinessGraphRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	serviceIp []string,
) *DescribeBusinessGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 Id 列表 (Optional) * param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional)

func NewDescribeBusinessGraphRequestWithoutParam

func NewDescribeBusinessGraphRequestWithoutParam() *DescribeBusinessGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBusinessGraphRequest) GetRegionId

func (r DescribeBusinessGraphRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBusinessGraphRequest) SetEndTime

func (r *DescribeBusinessGraphRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeBusinessGraphRequest) SetInstanceId

func (r *DescribeBusinessGraphRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 Id 列表(Optional)

func (*DescribeBusinessGraphRequest) SetRegionId

func (r *DescribeBusinessGraphRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeBusinessGraphRequest) SetServiceIp

func (r *DescribeBusinessGraphRequest) SetServiceIp(serviceIp []string)

param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP(Optional)

func (*DescribeBusinessGraphRequest) SetStartTime

func (r *DescribeBusinessGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeBusinessGraphResponse

type DescribeBusinessGraphResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeBusinessGraphResult `json:"result"`
}

type DescribeBusinessGraphResult

type DescribeBusinessGraphResult struct {
	InTraffic  []float64 `json:"inTraffic"`
	OutTraffic []float64 `json:"outTraffic"`
	Time       []string  `json:"time"`
	Unit       string    `json:"unit"`
}

type DescribeCCAttackLogDetailsRequest

type DescribeCCAttackLogDetailsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ, attackId 为空时必传 (Optional) */
	StartTime *string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

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

	/* 查询的子域名, 只有选中某一个实例后才能多选子域名 (Optional) */
	SubDomain []string `json:"subDomain"`

	/* CC 攻击记录 Id, 不为空时忽略 startTime, endTime (Optional) */
	AttackId *string `json:"attackId"`
}

func NewDescribeCCAttackLogDetailsRequest

func NewDescribeCCAttackLogDetailsRequest(
	regionId string,
) *DescribeCCAttackLogDetailsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCAttackLogDetailsRequestWithAllParams

func NewDescribeCCAttackLogDetailsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	startTime *string,
	endTime *string,
	instanceId *string,
	subDomain []string,
	attackId *string,
) *DescribeCCAttackLogDetailsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ, attackId 为空时必传 (Optional) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 ID (Optional) * param subDomain: 查询的子域名, 只有选中某一个实例后才能多选子域名 (Optional) * param attackId: CC 攻击记录 Id, 不为空时忽略 startTime, endTime (Optional)

func NewDescribeCCAttackLogDetailsRequestWithoutParam

func NewDescribeCCAttackLogDetailsRequestWithoutParam() *DescribeCCAttackLogDetailsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCAttackLogDetailsRequest) GetRegionId

func (r DescribeCCAttackLogDetailsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCAttackLogDetailsRequest) SetAttackId

func (r *DescribeCCAttackLogDetailsRequest) SetAttackId(attackId string)

param attackId: CC 攻击记录 Id, 不为空时忽略 startTime, endTime(Optional)

func (*DescribeCCAttackLogDetailsRequest) SetEndTime

func (r *DescribeCCAttackLogDetailsRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeCCAttackLogDetailsRequest) SetInstanceId

func (r *DescribeCCAttackLogDetailsRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeCCAttackLogDetailsRequest) SetPageNumber

func (r *DescribeCCAttackLogDetailsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeCCAttackLogDetailsRequest) SetPageSize

func (r *DescribeCCAttackLogDetailsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeCCAttackLogDetailsRequest) SetRegionId

func (r *DescribeCCAttackLogDetailsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCAttackLogDetailsRequest) SetStartTime

func (r *DescribeCCAttackLogDetailsRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ, attackId 为空时必传(Optional)

func (*DescribeCCAttackLogDetailsRequest) SetSubDomain

func (r *DescribeCCAttackLogDetailsRequest) SetSubDomain(subDomain []string)

param subDomain: 查询的子域名, 只有选中某一个实例后才能多选子域名(Optional)

type DescribeCCAttackLogDetailsResponse

type DescribeCCAttackLogDetailsResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeCCAttackLogDetailsResult `json:"result"`
}

type DescribeCCAttackLogDetailsResult

type DescribeCCAttackLogDetailsResult struct {
	DataList     []ipanti.CCAttackLogDetail `json:"dataList"`
	CurrentCount int                        `json:"currentCount"`
	TotalCount   int                        `json:"totalCount"`
	TotalPage    int                        `json:"totalPage"`
}

type DescribeCCAttackLogsRequest

type DescribeCCAttackLogsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 ID (Optional) */
	InstanceId []string `json:"instanceId"`
}

func NewDescribeCCAttackLogsRequest

func NewDescribeCCAttackLogsRequest(
	regionId string,
	startTime string,
) *DescribeCCAttackLogsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCAttackLogsRequestWithAllParams

func NewDescribeCCAttackLogsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	startTime string,
	endTime *string,
	instanceId []string,
) *DescribeCCAttackLogsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 ID (Optional)

func NewDescribeCCAttackLogsRequestWithoutParam

func NewDescribeCCAttackLogsRequestWithoutParam() *DescribeCCAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCAttackLogsRequest) GetRegionId

func (r DescribeCCAttackLogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCAttackLogsRequest) SetEndTime

func (r *DescribeCCAttackLogsRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeCCAttackLogsRequest) SetInstanceId

func (r *DescribeCCAttackLogsRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeCCAttackLogsRequest) SetPageNumber

func (r *DescribeCCAttackLogsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeCCAttackLogsRequest) SetPageSize

func (r *DescribeCCAttackLogsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeCCAttackLogsRequest) SetRegionId

func (r *DescribeCCAttackLogsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCAttackLogsRequest) SetStartTime

func (r *DescribeCCAttackLogsRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeCCAttackLogsResponse

type DescribeCCAttackLogsResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeCCAttackLogsResult `json:"result"`
}

type DescribeCCAttackLogsResult

type DescribeCCAttackLogsResult struct {
	DataList     []ipanti.CCAttackLog `json:"dataList"`
	CurrentCount int                  `json:"currentCount"`
	TotalCount   int                  `json:"totalCount"`
	TotalPage    int                  `json:"totalPage"`
}

type DescribeCCGraphRequest

type DescribeCCGraphRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 Id 列表 (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 规则域名列表 (Optional) */
	SubDomain []string `json:"subDomain"`
}

func NewDescribeCCGraphRequest

func NewDescribeCCGraphRequest(
	regionId string,
	startTime string,
) *DescribeCCGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCGraphRequestWithAllParams

func NewDescribeCCGraphRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	subDomain []string,
) *DescribeCCGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 Id 列表 (Optional) * param subDomain: 规则域名列表 (Optional)

func NewDescribeCCGraphRequestWithoutParam

func NewDescribeCCGraphRequestWithoutParam() *DescribeCCGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCGraphRequest) GetRegionId

func (r DescribeCCGraphRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCGraphRequest) SetEndTime

func (r *DescribeCCGraphRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeCCGraphRequest) SetInstanceId

func (r *DescribeCCGraphRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 Id 列表(Optional)

func (*DescribeCCGraphRequest) SetRegionId

func (r *DescribeCCGraphRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCGraphRequest) SetStartTime

func (r *DescribeCCGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

func (*DescribeCCGraphRequest) SetSubDomain

func (r *DescribeCCGraphRequest) SetSubDomain(subDomain []string)

param subDomain: 规则域名列表(Optional)

type DescribeCCGraphResponse

type DescribeCCGraphResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeCCGraphResult `json:"result"`
}

type DescribeCCGraphResult

type DescribeCCGraphResult struct {
	PostProtect []int64  `json:"postProtect"`
	PreProtect  []int64  `json:"preProtect"`
	Time        []string `json:"time"`
	Unit        string   `json:"unit"`
}

type DescribeCCProtectionConfigOfWebRuleRequest

type DescribeCCProtectionConfigOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDescribeCCProtectionConfigOfWebRuleRequest

func NewDescribeCCProtectionConfigOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeCCProtectionConfigOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCProtectionConfigOfWebRuleRequestWithAllParams

func NewDescribeCCProtectionConfigOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeCCProtectionConfigOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDescribeCCProtectionConfigOfWebRuleRequestWithoutParam

func NewDescribeCCProtectionConfigOfWebRuleRequestWithoutParam() *DescribeCCProtectionConfigOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionConfigOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCProtectionConfigOfWebRuleRequest) SetInstanceId

func (r *DescribeCCProtectionConfigOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionConfigOfWebRuleRequest) SetRegionId

func (r *DescribeCCProtectionConfigOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCProtectionConfigOfWebRuleRequest) SetWebRuleId

func (r *DescribeCCProtectionConfigOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionConfigOfWebRuleResponse

type DescribeCCProtectionConfigOfWebRuleResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DescribeCCProtectionConfigOfWebRuleResult `json:"result"`
}

type DescribeCCProtectionConfigOfWebRuleResult

type DescribeCCProtectionConfigOfWebRuleResult struct {
	Data ipanti.CCProtectionConfig `json:"data"`
}

type DescribeCCProtectionDefaultConfigOfWebRuleRequest

type DescribeCCProtectionDefaultConfigOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequest

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeCCProtectionDefaultConfigOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequestWithAllParams

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeCCProtectionDefaultConfigOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequestWithoutParam

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequestWithoutParam() *DescribeCCProtectionDefaultConfigOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionDefaultConfigOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetInstanceId

func (r *DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetRegionId

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetWebRuleId

func (r *DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionDefaultConfigOfWebRuleResponse

type DescribeCCProtectionDefaultConfigOfWebRuleResponse struct {
	RequestID string                                           `json:"requestId"`
	Error     core.ErrorResponse                               `json:"error"`
	Result    DescribeCCProtectionDefaultConfigOfWebRuleResult `json:"result"`
}

type DescribeCCProtectionDefaultConfigOfWebRuleResult

type DescribeCCProtectionDefaultConfigOfWebRuleResult struct {
	Data ipanti.CCProtectionDefaultConfig `json:"data"`
}

type DescribeCCProtectionRuleOfWebRuleRequest

type DescribeCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的 CC 防护规则 Id  */
	CcProtectionRuleId string `json:"ccProtectionRuleId"`
}

func NewDescribeCCProtectionRuleOfWebRuleRequest

func NewDescribeCCProtectionRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *DescribeCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCProtectionRuleOfWebRuleRequestWithAllParams

func NewDescribeCCProtectionRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *DescribeCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required)

func NewDescribeCCProtectionRuleOfWebRuleRequestWithoutParam

func NewDescribeCCProtectionRuleOfWebRuleRequestWithoutParam() *DescribeCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id(Required)

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetInstanceId

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetRegionId

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetWebRuleId

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionRuleOfWebRuleResponse

type DescribeCCProtectionRuleOfWebRuleResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    DescribeCCProtectionRuleOfWebRuleResult `json:"result"`
}

type DescribeCCProtectionRuleOfWebRuleResult

type DescribeCCProtectionRuleOfWebRuleResult struct {
	Data ipanti.CCProtectionRule `json:"data"`
}

type DescribeCCProtectionRulesOfWebRuleRequest

type DescribeCCProtectionRulesOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDescribeCCProtectionRulesOfWebRuleRequest

func NewDescribeCCProtectionRulesOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeCCProtectionRulesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCProtectionRulesOfWebRuleRequestWithAllParams

func NewDescribeCCProtectionRulesOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeCCProtectionRulesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDescribeCCProtectionRulesOfWebRuleRequestWithoutParam

func NewDescribeCCProtectionRulesOfWebRuleRequestWithoutParam() *DescribeCCProtectionRulesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionRulesOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCCProtectionRulesOfWebRuleRequest) SetInstanceId

func (r *DescribeCCProtectionRulesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionRulesOfWebRuleRequest) SetRegionId

func (r *DescribeCCProtectionRulesOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCCProtectionRulesOfWebRuleRequest) SetWebRuleId

func (r *DescribeCCProtectionRulesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionRulesOfWebRuleResponse

type DescribeCCProtectionRulesOfWebRuleResponse struct {
	RequestID string                                   `json:"requestId"`
	Error     core.ErrorResponse                       `json:"error"`
	Result    DescribeCCProtectionRulesOfWebRuleResult `json:"result"`
}

type DescribeCCProtectionRulesOfWebRuleResult

type DescribeCCProtectionRulesOfWebRuleResult struct {
	DataList     []ipanti.CCProtectionRule `json:"dataList"`
	CurrentCount int64                     `json:"currentCount"`
	TotalCount   int64                     `json:"totalCount"`
	TotalPage    int64                     `json:"totalPage"`
}

type DescribeCcsIpListRequest

type DescribeCcsIpListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为 1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeCcsIpListRequest

func NewDescribeCcsIpListRequest(
	regionId string,
) *DescribeCcsIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCcsIpListRequestWithAllParams

func NewDescribeCcsIpListRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
) *DescribeCcsIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为 1 (Optional) * param pageSize: 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量 (Optional)

func NewDescribeCcsIpListRequestWithoutParam

func NewDescribeCcsIpListRequestWithoutParam() *DescribeCcsIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCcsIpListRequest) GetRegionId

func (r DescribeCcsIpListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCcsIpListRequest) SetPageNumber

func (r *DescribeCcsIpListRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为 1(Optional)

func (*DescribeCcsIpListRequest) SetPageSize

func (r *DescribeCcsIpListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量(Optional)

func (*DescribeCcsIpListRequest) SetRegionId

func (r *DescribeCcsIpListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeCcsIpListResponse

type DescribeCcsIpListResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeCcsIpListResult `json:"result"`
}

type DescribeCcsIpListResult

type DescribeCcsIpListResult struct {
	DataList     []ipanti.CcsIpResource `json:"dataList"`
	CurrentCount int                    `json:"currentCount"`
	TotalCount   int                    `json:"totalCount"`
	TotalPage    int                    `json:"totalPage"`
}

type DescribeConnStatGraphRequest

type DescribeConnStatGraphRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 Id 列表 (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) */
	ServiceIp []string `json:"serviceIp"`
}

func NewDescribeConnStatGraphRequest

func NewDescribeConnStatGraphRequest(
	regionId string,
	startTime string,
) *DescribeConnStatGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeConnStatGraphRequestWithAllParams

func NewDescribeConnStatGraphRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	serviceIp []string,
) *DescribeConnStatGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 Id 列表 (Optional) * param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional)

func NewDescribeConnStatGraphRequestWithoutParam

func NewDescribeConnStatGraphRequestWithoutParam() *DescribeConnStatGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeConnStatGraphRequest) GetRegionId

func (r DescribeConnStatGraphRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeConnStatGraphRequest) SetEndTime

func (r *DescribeConnStatGraphRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeConnStatGraphRequest) SetInstanceId

func (r *DescribeConnStatGraphRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 Id 列表(Optional)

func (*DescribeConnStatGraphRequest) SetRegionId

func (r *DescribeConnStatGraphRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeConnStatGraphRequest) SetServiceIp

func (r *DescribeConnStatGraphRequest) SetServiceIp(serviceIp []string)

param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP(Optional)

func (*DescribeConnStatGraphRequest) SetStartTime

func (r *DescribeConnStatGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeConnStatGraphResponse

type DescribeConnStatGraphResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeConnStatGraphResult `json:"result"`
}

type DescribeConnStatGraphResult

type DescribeConnStatGraphResult struct {
	NewConn      []int64  `json:"newConn"`
	ActiveConn   []int64  `json:"activeConn"`
	InactiveConn []int64  `json:"inactiveConn"`
	Time         []string `json:"time"`
}

type DescribeCpsIpListRequest

type DescribeCpsIpListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为 1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeCpsIpListRequest

func NewDescribeCpsIpListRequest(
	regionId string,
) *DescribeCpsIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCpsIpListRequestWithAllParams

func NewDescribeCpsIpListRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
) *DescribeCpsIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为 1 (Optional) * param pageSize: 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量 (Optional)

func NewDescribeCpsIpListRequestWithoutParam

func NewDescribeCpsIpListRequestWithoutParam() *DescribeCpsIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCpsIpListRequest) GetRegionId

func (r DescribeCpsIpListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCpsIpListRequest) SetPageNumber

func (r *DescribeCpsIpListRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为 1(Optional)

func (*DescribeCpsIpListRequest) SetPageSize

func (r *DescribeCpsIpListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量(Optional)

func (*DescribeCpsIpListRequest) SetRegionId

func (r *DescribeCpsIpListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeCpsIpListResponse

type DescribeCpsIpListResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeCpsIpListResult `json:"result"`
}

type DescribeCpsIpListResult

type DescribeCpsIpListResult struct {
	DataList     []ipanti.CpsIpResource `json:"dataList"`
	CurrentCount int                    `json:"currentCount"`
	TotalCount   int                    `json:"totalCount"`
	TotalPage    int                    `json:"totalPage"`
}

type DescribeCustomPagesRequest

type DescribeCustomPagesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 自定义页面状态, 可取值approving: 审批中, refused: 审批不通过, approved: 审批通过, 为空时查询全部 (Optional) */
	Status *string `json:"status"`
}

func NewDescribeCustomPagesRequest

func NewDescribeCustomPagesRequest(
	regionId string,
	instanceId string,
) *DescribeCustomPagesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCustomPagesRequestWithAllParams

func NewDescribeCustomPagesRequestWithAllParams(
	regionId string,
	instanceId string,
	status *string,
) *DescribeCustomPagesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param status: 自定义页面状态, 可取值approving: 审批中, refused: 审批不通过, approved: 审批通过, 为空时查询全部 (Optional)

func NewDescribeCustomPagesRequestWithoutParam

func NewDescribeCustomPagesRequestWithoutParam() *DescribeCustomPagesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomPagesRequest) GetRegionId

func (r DescribeCustomPagesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeCustomPagesRequest) SetInstanceId

func (r *DescribeCustomPagesRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeCustomPagesRequest) SetRegionId

func (r *DescribeCustomPagesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeCustomPagesRequest) SetStatus

func (r *DescribeCustomPagesRequest) SetStatus(status string)

param status: 自定义页面状态, 可取值approving: 审批中, refused: 审批不通过, approved: 审批通过, 为空时查询全部(Optional)

type DescribeCustomPagesResponse

type DescribeCustomPagesResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeCustomPagesResult `json:"result"`
}

type DescribeCustomPagesResult

type DescribeCustomPagesResult struct {
	DataList []ipanti.CustomPage `json:"dataList"`
}

type DescribeDDoSAttackLogsRequest

type DescribeDDoSAttackLogsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 ID (Optional) */
	InstanceId []string `json:"instanceId"`
}

func NewDescribeDDoSAttackLogsRequest

func NewDescribeDDoSAttackLogsRequest(
	regionId string,
	startTime string,
) *DescribeDDoSAttackLogsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDDoSAttackLogsRequestWithAllParams

func NewDescribeDDoSAttackLogsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	startTime string,
	endTime *string,
	instanceId []string,
) *DescribeDDoSAttackLogsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 ID (Optional)

func NewDescribeDDoSAttackLogsRequestWithoutParam

func NewDescribeDDoSAttackLogsRequestWithoutParam() *DescribeDDoSAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDDoSAttackLogsRequest) GetRegionId

func (r DescribeDDoSAttackLogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDDoSAttackLogsRequest) SetEndTime

func (r *DescribeDDoSAttackLogsRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeDDoSAttackLogsRequest) SetInstanceId

func (r *DescribeDDoSAttackLogsRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeDDoSAttackLogsRequest) SetPageNumber

func (r *DescribeDDoSAttackLogsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeDDoSAttackLogsRequest) SetPageSize

func (r *DescribeDDoSAttackLogsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeDDoSAttackLogsRequest) SetRegionId

func (r *DescribeDDoSAttackLogsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeDDoSAttackLogsRequest) SetStartTime

func (r *DescribeDDoSAttackLogsRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeDDoSAttackLogsResponse

type DescribeDDoSAttackLogsResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeDDoSAttackLogsResult `json:"result"`
}

type DescribeDDoSAttackLogsResult

type DescribeDDoSAttackLogsResult struct {
	DataList     []ipanti.DDoSAttackLog `json:"dataList"`
	CurrentCount int                    `json:"currentCount"`
	TotalCount   int                    `json:"totalCount"`
	TotalPage    int                    `json:"totalPage"`
}

type DescribeDDoSGraphRequest

type DescribeDDoSGraphRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 Id 列表 (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) */
	ServiceIp []string `json:"serviceIp"`
}

func NewDescribeDDoSGraphRequest

func NewDescribeDDoSGraphRequest(
	regionId string,
	startTime string,
) *DescribeDDoSGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDDoSGraphRequestWithAllParams

func NewDescribeDDoSGraphRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	serviceIp []string,
) *DescribeDDoSGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 Id 列表 (Optional) * param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional)

func NewDescribeDDoSGraphRequestWithoutParam

func NewDescribeDDoSGraphRequestWithoutParam() *DescribeDDoSGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDDoSGraphRequest) GetRegionId

func (r DescribeDDoSGraphRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDDoSGraphRequest) SetEndTime

func (r *DescribeDDoSGraphRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeDDoSGraphRequest) SetInstanceId

func (r *DescribeDDoSGraphRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 Id 列表(Optional)

func (*DescribeDDoSGraphRequest) SetRegionId

func (r *DescribeDDoSGraphRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeDDoSGraphRequest) SetServiceIp

func (r *DescribeDDoSGraphRequest) SetServiceIp(serviceIp []string)

param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP(Optional)

func (*DescribeDDoSGraphRequest) SetStartTime

func (r *DescribeDDoSGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeDDoSGraphResponse

type DescribeDDoSGraphResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeDDoSGraphResult `json:"result"`
}

type DescribeDDoSGraphResult

type DescribeDDoSGraphResult struct {
	PreProtect  []float64 `json:"preProtect"`
	PostProtect []float64 `json:"postProtect"`
	Time        []string  `json:"time"`
	Unit        string    `json:"unit"`
}

type DescribeDDoSIpAttackLogsRequest

type DescribeDDoSIpAttackLogsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 ID (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional) */
	ServiceIp []string `json:"serviceIp"`
}

func NewDescribeDDoSIpAttackLogsRequest

func NewDescribeDDoSIpAttackLogsRequest(
	regionId string,
	startTime string,
) *DescribeDDoSIpAttackLogsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDDoSIpAttackLogsRequestWithAllParams

func NewDescribeDDoSIpAttackLogsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	startTime string,
	endTime *string,
	instanceId []string,
	serviceIp []string,
) *DescribeDDoSIpAttackLogsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 ID (Optional) * param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP (Optional)

func NewDescribeDDoSIpAttackLogsRequestWithoutParam

func NewDescribeDDoSIpAttackLogsRequestWithoutParam() *DescribeDDoSIpAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDDoSIpAttackLogsRequest) GetRegionId

func (r DescribeDDoSIpAttackLogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDDoSIpAttackLogsRequest) SetEndTime

func (r *DescribeDDoSIpAttackLogsRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeDDoSIpAttackLogsRequest) SetInstanceId

func (r *DescribeDDoSIpAttackLogsRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeDDoSIpAttackLogsRequest) SetPageNumber

func (r *DescribeDDoSIpAttackLogsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeDDoSIpAttackLogsRequest) SetPageSize

func (r *DescribeDDoSIpAttackLogsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeDDoSIpAttackLogsRequest) SetRegionId

func (r *DescribeDDoSIpAttackLogsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeDDoSIpAttackLogsRequest) SetServiceIp

func (r *DescribeDDoSIpAttackLogsRequest) SetServiceIp(serviceIp []string)

param serviceIp: 高防IP列表. <br>- 使用 <a href='http://docs.jdcloud.com/anti-ddos-pro/api/describeServiceIpList'>describeServiceIpList</a> 接口查询实例的高防 IP(Optional)

func (*DescribeDDoSIpAttackLogsRequest) SetStartTime

func (r *DescribeDDoSIpAttackLogsRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeDDoSIpAttackLogsResponse

type DescribeDDoSIpAttackLogsResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeDDoSIpAttackLogsResult `json:"result"`
}

type DescribeDDoSIpAttackLogsResult

type DescribeDDoSIpAttackLogsResult struct {
	DataList     []ipanti.DDoSIpAttackLog `json:"dataList"`
	CurrentCount int                      `json:"currentCount"`
	TotalCount   int                      `json:"totalCount"`
	TotalPage    int                      `json:"totalPage"`
}

type DescribeDispatchRulesRequest

type DescribeDispatchRulesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 实例名称, 可模糊匹配 (Optional) */
	Name *string `json:"name"`

	/* 云内IP, 可模糊匹配 (Optional) */
	InnerIp *string `json:"innerIp"`

	/* 高防IP, 可模糊匹配 (Optional) */
	ServiceIp *string `json:"serviceIp"`
}

func NewDescribeDispatchRulesRequest

func NewDescribeDispatchRulesRequest(
	regionId string,
	instanceId string,
) *DescribeDispatchRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDispatchRulesRequestWithAllParams

func NewDescribeDispatchRulesRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
	name *string,
	innerIp *string,
	serviceIp *string,
) *DescribeDispatchRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional) * param name: 实例名称, 可模糊匹配 (Optional) * param innerIp: 云内IP, 可模糊匹配 (Optional) * param serviceIp: 高防IP, 可模糊匹配 (Optional)

func NewDescribeDispatchRulesRequestWithoutParam

func NewDescribeDispatchRulesRequestWithoutParam() *DescribeDispatchRulesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDispatchRulesRequest) GetRegionId

func (r DescribeDispatchRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDispatchRulesRequest) SetInnerIp

func (r *DescribeDispatchRulesRequest) SetInnerIp(innerIp string)

param innerIp: 云内IP, 可模糊匹配(Optional)

func (*DescribeDispatchRulesRequest) SetInstanceId

func (r *DescribeDispatchRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeDispatchRulesRequest) SetName

func (r *DescribeDispatchRulesRequest) SetName(name string)

param name: 实例名称, 可模糊匹配(Optional)

func (*DescribeDispatchRulesRequest) SetPageNumber

func (r *DescribeDispatchRulesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeDispatchRulesRequest) SetPageSize

func (r *DescribeDispatchRulesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeDispatchRulesRequest) SetRegionId

func (r *DescribeDispatchRulesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeDispatchRulesRequest) SetServiceIp

func (r *DescribeDispatchRulesRequest) SetServiceIp(serviceIp string)

param serviceIp: 高防IP, 可模糊匹配(Optional)

type DescribeDispatchRulesResponse

type DescribeDispatchRulesResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeDispatchRulesResult `json:"result"`
}

type DescribeDispatchRulesResult

type DescribeDispatchRulesResult struct {
	DataList     []ipanti.DispatchRule `json:"dataList"`
	CurrentCount int                   `json:"currentCount"`
	TotalCount   int                   `json:"totalCount"`
	TotalPage    int                   `json:"totalPage"`
}

type DescribeForwardRuleRequest

type DescribeForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDescribeForwardRuleRequest

func NewDescribeForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeForwardRuleRequestWithAllParams

func NewDescribeForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDescribeForwardRuleRequestWithoutParam

func NewDescribeForwardRuleRequestWithoutParam() *DescribeForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeForwardRuleRequest) GetRegionId

func (r DescribeForwardRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeForwardRuleRequest) SetForwardRuleId

func (r *DescribeForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeForwardRuleRequest) SetInstanceId

func (r *DescribeForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeForwardRuleRequest) SetRegionId

func (r *DescribeForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeForwardRuleResponse

type DescribeForwardRuleResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeForwardRuleResult `json:"result"`
}

type DescribeForwardRuleResult

type DescribeForwardRuleResult struct {
	Data ipanti.ForwardRule `json:"data"`
}

type DescribeForwardRulesRequest

type DescribeForwardRulesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 查询类型名称, domain:源站域名, ip:源站 IP, port: 转发端口, originPort: 源站端口, serviceIp: 高防IP(仅支持BGP线路的实例) (Optional) */
	SearchType *string `json:"searchType"`

	/* 查询类型值 (Optional) */
	SearchValue *string `json:"searchValue"`

	/* 排序属性:
	port - 按转发端口排序,默认不排序,asc表示按转发端口升序,desc表示按转发端口降序
	 (Optional) */
	Sorts []common.Sort `json:"sorts"`
}

func NewDescribeForwardRulesRequest

func NewDescribeForwardRulesRequest(
	regionId string,
	instanceId string,
) *DescribeForwardRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeForwardRulesRequestWithAllParams

func NewDescribeForwardRulesRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
	searchType *string,
	searchValue *string,
	sorts []common.Sort,
) *DescribeForwardRulesRequest
  • param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)
  • param instanceId: 高防实例 Id (Required)
  • param pageNumber: 页码, 默认为1 (Optional)
  • param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional)
  • param searchType: 查询类型名称, domain:源站域名, ip:源站 IP, port: 转发端口, originPort: 源站端口, serviceIp: 高防IP(仅支持BGP线路的实例) (Optional)
  • param searchValue: 查询类型值 (Optional)
  • param sorts: 排序属性:

port - 按转发端口排序,默认不排序,asc表示按转发端口升序,desc表示按转发端口降序

(Optional)

func NewDescribeForwardRulesRequestWithoutParam

func NewDescribeForwardRulesRequestWithoutParam() *DescribeForwardRulesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeForwardRulesRequest) GetRegionId

func (r DescribeForwardRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeForwardRulesRequest) SetInstanceId

func (r *DescribeForwardRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeForwardRulesRequest) SetPageNumber

func (r *DescribeForwardRulesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeForwardRulesRequest) SetPageSize

func (r *DescribeForwardRulesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeForwardRulesRequest) SetRegionId

func (r *DescribeForwardRulesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeForwardRulesRequest) SetSearchType

func (r *DescribeForwardRulesRequest) SetSearchType(searchType string)

param searchType: 查询类型名称, domain:源站域名, ip:源站 IP, port: 转发端口, originPort: 源站端口, serviceIp: 高防IP(仅支持BGP线路的实例)(Optional)

func (*DescribeForwardRulesRequest) SetSearchValue

func (r *DescribeForwardRulesRequest) SetSearchValue(searchValue string)

param searchValue: 查询类型值(Optional)

func (*DescribeForwardRulesRequest) SetSorts

func (r *DescribeForwardRulesRequest) SetSorts(sorts []common.Sort)
param sorts: 排序属性:

port - 按转发端口排序,默认不排序,asc表示按转发端口升序,desc表示按转发端口降序 (Optional)

type DescribeForwardRulesResponse

type DescribeForwardRulesResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeForwardRulesResult `json:"result"`
}

type DescribeForwardRulesResult

type DescribeForwardRulesResult struct {
	DataList     []ipanti.ForwardRule `json:"dataList"`
	CurrentCount int                  `json:"currentCount"`
	TotalCount   int                  `json:"totalCount"`
	TotalPage    int                  `json:"totalPage"`
}

type DescribeFwdGraphRequest

type DescribeFwdGraphRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 Id 列表 (Optional) */
	InstanceId []string `json:"instanceId"`
}

func NewDescribeFwdGraphRequest

func NewDescribeFwdGraphRequest(
	regionId string,
	startTime string,
) *DescribeFwdGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeFwdGraphRequestWithAllParams

func NewDescribeFwdGraphRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
) *DescribeFwdGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 Id 列表 (Optional)

func NewDescribeFwdGraphRequestWithoutParam

func NewDescribeFwdGraphRequestWithoutParam() *DescribeFwdGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeFwdGraphRequest) GetRegionId

func (r DescribeFwdGraphRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeFwdGraphRequest) SetEndTime

func (r *DescribeFwdGraphRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeFwdGraphRequest) SetInstanceId

func (r *DescribeFwdGraphRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 Id 列表(Optional)

func (*DescribeFwdGraphRequest) SetRegionId

func (r *DescribeFwdGraphRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeFwdGraphRequest) SetStartTime

func (r *DescribeFwdGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 90 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

type DescribeFwdGraphResponse

type DescribeFwdGraphResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeFwdGraphResult `json:"result"`
}

type DescribeFwdGraphResult

type DescribeFwdGraphResult struct {
	ForwardRecord []float64 `json:"forwardRecord"`
	Time          []string  `json:"time"`
	Unit          string    `json:"unit"`
}

type DescribeGeoAreasRequest

type DescribeGeoAreasRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`
}

func NewDescribeGeoAreasRequest

func NewDescribeGeoAreasRequest(
	regionId string,
) *DescribeGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeGeoAreasRequestWithAllParams

func NewDescribeGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)

func NewDescribeGeoAreasRequestWithoutParam

func NewDescribeGeoAreasRequestWithoutParam() *DescribeGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeGeoAreasRequest) GetRegionId

func (r DescribeGeoAreasRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeGeoAreasRequest) SetRegionId

func (r *DescribeGeoAreasRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeGeoAreasResponse

type DescribeGeoAreasResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeGeoAreasResult `json:"result"`
}

type DescribeGeoAreasResult

type DescribeGeoAreasResult struct {
	DataList []ipanti.Country `json:"dataList"`
}

type DescribeInstanceAclRequest

type DescribeInstanceAclRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeInstanceAclRequest

func NewDescribeInstanceAclRequest(
	regionId string,
	instanceId string,
) *DescribeInstanceAclRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceAclRequestWithAllParams

func NewDescribeInstanceAclRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInstanceAclRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewDescribeInstanceAclRequestWithoutParam

func NewDescribeInstanceAclRequestWithoutParam() *DescribeInstanceAclRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceAclRequest) GetRegionId

func (r DescribeInstanceAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstanceAclRequest) SetInstanceId

func (r *DescribeInstanceAclRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeInstanceAclRequest) SetRegionId

func (r *DescribeInstanceAclRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeInstanceAclResponse

type DescribeInstanceAclResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeInstanceAclResult `json:"result"`
}

type DescribeInstanceAclResult

type DescribeInstanceAclResult struct {
	Data ipanti.InstanceAcl `json:"data"`
}

type DescribeInstanceIdByResourceIdRequest

type DescribeInstanceIdByResourceIdRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例计费资源ID  */
	ResourceId string `json:"resourceId"`
}

func NewDescribeInstanceIdByResourceIdRequest

func NewDescribeInstanceIdByResourceIdRequest(
	regionId string,
	resourceId string,
) *DescribeInstanceIdByResourceIdRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param resourceId: 高防实例计费资源ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceIdByResourceIdRequestWithAllParams

func NewDescribeInstanceIdByResourceIdRequestWithAllParams(
	regionId string,
	resourceId string,
) *DescribeInstanceIdByResourceIdRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param resourceId: 高防实例计费资源ID (Required)

func NewDescribeInstanceIdByResourceIdRequestWithoutParam

func NewDescribeInstanceIdByResourceIdRequestWithoutParam() *DescribeInstanceIdByResourceIdRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceIdByResourceIdRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstanceIdByResourceIdRequest) SetRegionId

func (r *DescribeInstanceIdByResourceIdRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeInstanceIdByResourceIdRequest) SetResourceId

func (r *DescribeInstanceIdByResourceIdRequest) SetResourceId(resourceId string)

param resourceId: 高防实例计费资源ID(Required)

type DescribeInstanceIdByResourceIdResponse

type DescribeInstanceIdByResourceIdResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeInstanceIdByResourceIdResult `json:"result"`
}

type DescribeInstanceIdByResourceIdResult

type DescribeInstanceIdByResourceIdResult struct {
	Data ipanti.InstanceIdVo `json:"data"`
}

type DescribeInstanceRequest

type DescribeInstanceRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeInstanceRequest

func NewDescribeInstanceRequest(
	regionId string,
	instanceId string,
) *DescribeInstanceRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceRequestWithAllParams

func NewDescribeInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInstanceRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewDescribeInstanceRequestWithoutParam

func NewDescribeInstanceRequestWithoutParam() *DescribeInstanceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceRequest) GetRegionId

func (r DescribeInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstanceRequest) SetInstanceId

func (r *DescribeInstanceRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeInstanceRequest) SetRegionId

func (r *DescribeInstanceRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeInstanceResponse

type DescribeInstanceResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeInstanceResult `json:"result"`
}

type DescribeInstanceResult

type DescribeInstanceResult struct {
	Data ipanti.Instance `json:"data"`
}

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为 1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为 10, 取值范围[10, 100], 0 表示全量 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 实例名称, 可模糊匹配 (Optional) */
	Name *string `json:"name"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest(
	regionId string,
) *DescribeInstancesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstancesRequestWithAllParams

func NewDescribeInstancesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	name *string,
) *DescribeInstancesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为 1 (Optional) * param pageSize: 分页大小, 默认为 10, 取值范围[10, 100], 0 表示全量 (Optional) * param name: 实例名称, 可模糊匹配 (Optional)

func NewDescribeInstancesRequestWithoutParam

func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstancesRequest) GetRegionId

func (r DescribeInstancesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstancesRequest) SetName

func (r *DescribeInstancesRequest) SetName(name string)

param name: 实例名称, 可模糊匹配(Optional)

func (*DescribeInstancesRequest) SetPageNumber

func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为 1(Optional)

func (*DescribeInstancesRequest) SetPageSize

func (r *DescribeInstancesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为 10, 取值范围[10, 100], 0 表示全量(Optional)

func (*DescribeInstancesRequest) SetRegionId

func (r *DescribeInstancesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeInstancesResult `json:"result"`
}

type DescribeInstancesResult

type DescribeInstancesResult struct {
	DataList     []ipanti.Instance `json:"dataList"`
	CurrentCount int               `json:"currentCount"`
	TotalCount   int               `json:"totalCount"`
	TotalPage    int               `json:"totalPage"`
}

type DescribeIpSetRequest

type DescribeIpSetRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* IP 黑白名单 Id  */
	IpSetId string `json:"ipSetId"`
}

func NewDescribeIpSetRequest

func NewDescribeIpSetRequest(
	regionId string,
	instanceId string,
	ipSetId string,
) *DescribeIpSetRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param ipSetId: IP 黑白名单 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeIpSetRequestWithAllParams

func NewDescribeIpSetRequestWithAllParams(
	regionId string,
	instanceId string,
	ipSetId string,
) *DescribeIpSetRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param ipSetId: IP 黑白名单 Id (Required)

func NewDescribeIpSetRequestWithoutParam

func NewDescribeIpSetRequestWithoutParam() *DescribeIpSetRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIpSetRequest) GetRegionId

func (r DescribeIpSetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeIpSetRequest) SetInstanceId

func (r *DescribeIpSetRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeIpSetRequest) SetIpSetId

func (r *DescribeIpSetRequest) SetIpSetId(ipSetId string)

param ipSetId: IP 黑白名单 Id(Required)

func (*DescribeIpSetRequest) SetRegionId

func (r *DescribeIpSetRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeIpSetResponse

type DescribeIpSetResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DescribeIpSetResult `json:"result"`
}

type DescribeIpSetResult

type DescribeIpSetResult struct {
	Data ipanti.IpSet `json:"data"`
}

type DescribeIpSetUsageRequest

type DescribeIpSetUsageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeIpSetUsageRequest

func NewDescribeIpSetUsageRequest(
	regionId string,
	instanceId string,
) *DescribeIpSetUsageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeIpSetUsageRequestWithAllParams

func NewDescribeIpSetUsageRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeIpSetUsageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required)

func NewDescribeIpSetUsageRequestWithoutParam

func NewDescribeIpSetUsageRequestWithoutParam() *DescribeIpSetUsageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIpSetUsageRequest) GetRegionId

func (r DescribeIpSetUsageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeIpSetUsageRequest) SetInstanceId

func (r *DescribeIpSetUsageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeIpSetUsageRequest) SetRegionId

func (r *DescribeIpSetUsageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeIpSetUsageResponse

type DescribeIpSetUsageResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeIpSetUsageResult `json:"result"`
}

type DescribeIpSetUsageResult

type DescribeIpSetUsageResult struct {
	AllocatedNum       int `json:"allocatedNum"`
	SurplusAllocateNum int `json:"surplusAllocateNum"`
	MaxAllocateNum     int `json:"maxAllocateNum"`
}

type DescribeIpSetsRequest

type DescribeIpSetsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeIpSetsRequest

func NewDescribeIpSetsRequest(
	regionId string,
	instanceId string,
) *DescribeIpSetsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeIpSetsRequestWithAllParams

func NewDescribeIpSetsRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
) *DescribeIpSetsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional)

func NewDescribeIpSetsRequestWithoutParam

func NewDescribeIpSetsRequestWithoutParam() *DescribeIpSetsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIpSetsRequest) GetRegionId

func (r DescribeIpSetsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeIpSetsRequest) SetInstanceId

func (r *DescribeIpSetsRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeIpSetsRequest) SetPageNumber

func (r *DescribeIpSetsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeIpSetsRequest) SetPageSize

func (r *DescribeIpSetsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeIpSetsRequest) SetRegionId

func (r *DescribeIpSetsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeIpSetsResponse

type DescribeIpSetsResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DescribeIpSetsResult `json:"result"`
}

type DescribeIpSetsResult

type DescribeIpSetsResult struct {
	DataList     []ipanti.IpSet `json:"dataList"`
	CurrentCount int            `json:"currentCount"`
	TotalCount   int            `json:"totalCount"`
	TotalPage    int            `json:"totalPage"`
}

type DescribeJsPagesOfWebRuleRequest

type DescribeJsPagesOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeJsPagesOfWebRuleRequest

func NewDescribeJsPagesOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeJsPagesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeJsPagesOfWebRuleRequestWithAllParams

func NewDescribeJsPagesOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	pageNumber *int,
	pageSize *int,
) *DescribeJsPagesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional)

func NewDescribeJsPagesOfWebRuleRequestWithoutParam

func NewDescribeJsPagesOfWebRuleRequestWithoutParam() *DescribeJsPagesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeJsPagesOfWebRuleRequest) GetRegionId

func (r DescribeJsPagesOfWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeJsPagesOfWebRuleRequest) SetInstanceId

func (r *DescribeJsPagesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeJsPagesOfWebRuleRequest) SetPageNumber

func (r *DescribeJsPagesOfWebRuleRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeJsPagesOfWebRuleRequest) SetPageSize

func (r *DescribeJsPagesOfWebRuleRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeJsPagesOfWebRuleRequest) SetRegionId

func (r *DescribeJsPagesOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeJsPagesOfWebRuleRequest) SetWebRuleId

func (r *DescribeJsPagesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeJsPagesOfWebRuleResponse

type DescribeJsPagesOfWebRuleResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeJsPagesOfWebRuleResult `json:"result"`
}

type DescribeJsPagesOfWebRuleResult

type DescribeJsPagesOfWebRuleResult struct {
	DataList     []ipanti.JsPage `json:"dataList"`
	CurrentCount int64           `json:"currentCount"`
	TotalCount   int64           `json:"totalCount"`
	TotalPage    int64           `json:"totalPage"`
}

type DescribeNameListRequest

type DescribeNameListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 ID, 为空则查询所有实例名称 (Optional) */
	Id *string `json:"id"`

	/* 实例名称, 可模糊匹配 (Optional) */
	Name *string `json:"name"`

	/* 页码, 默认为 1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为 10, 取值范围 [10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeNameListRequest

func NewDescribeNameListRequest(
	regionId string,
) *DescribeNameListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNameListRequestWithAllParams

func NewDescribeNameListRequestWithAllParams(
	regionId string,
	id *string,
	name *string,
	pageNumber *int,
	pageSize *int,
) *DescribeNameListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param id: 高防实例 ID, 为空则查询所有实例名称 (Optional) * param name: 实例名称, 可模糊匹配 (Optional) * param pageNumber: 页码, 默认为 1 (Optional) * param pageSize: 分页大小, 默认为 10, 取值范围 [10, 100] (Optional)

func NewDescribeNameListRequestWithoutParam

func NewDescribeNameListRequestWithoutParam() *DescribeNameListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNameListRequest) GetRegionId

func (r DescribeNameListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNameListRequest) SetId

func (r *DescribeNameListRequest) SetId(id string)

param id: 高防实例 ID, 为空则查询所有实例名称(Optional)

func (*DescribeNameListRequest) SetName

func (r *DescribeNameListRequest) SetName(name string)

param name: 实例名称, 可模糊匹配(Optional)

func (*DescribeNameListRequest) SetPageNumber

func (r *DescribeNameListRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为 1(Optional)

func (*DescribeNameListRequest) SetPageSize

func (r *DescribeNameListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为 10, 取值范围 [10, 100](Optional)

func (*DescribeNameListRequest) SetRegionId

func (r *DescribeNameListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeNameListResponse

type DescribeNameListResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeNameListResult `json:"result"`
}

type DescribeNameListResult

type DescribeNameListResult struct {
	DataList     []ipanti.InstanceIdName `json:"dataList"`
	CurrentCount int                     `json:"currentCount"`
	TotalCount   int                     `json:"totalCount"`
	TotalPage    int                     `json:"totalPage"`
}

type DescribeOriginWhiteIpListRequest

type DescribeOriginWhiteIpListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeOriginWhiteIpListRequest

func NewDescribeOriginWhiteIpListRequest(
	regionId string,
	instanceId string,
) *DescribeOriginWhiteIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeOriginWhiteIpListRequestWithAllParams

func NewDescribeOriginWhiteIpListRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeOriginWhiteIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewDescribeOriginWhiteIpListRequestWithoutParam

func NewDescribeOriginWhiteIpListRequestWithoutParam() *DescribeOriginWhiteIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeOriginWhiteIpListRequest) GetRegionId

func (r DescribeOriginWhiteIpListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeOriginWhiteIpListRequest) SetInstanceId

func (r *DescribeOriginWhiteIpListRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeOriginWhiteIpListRequest) SetRegionId

func (r *DescribeOriginWhiteIpListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeOriginWhiteIpListResponse

type DescribeOriginWhiteIpListResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeOriginWhiteIpListResult `json:"result"`
}

type DescribeOriginWhiteIpListResult

type DescribeOriginWhiteIpListResult struct {
	Data []string `json:"data"`
}

type DescribeProtectionOutlineRequest

type DescribeProtectionOutlineRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`
}

func NewDescribeProtectionOutlineRequest

func NewDescribeProtectionOutlineRequest(
	regionId string,
) *DescribeProtectionOutlineRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeProtectionOutlineRequestWithAllParams

func NewDescribeProtectionOutlineRequestWithAllParams(
	regionId string,
) *DescribeProtectionOutlineRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)

func NewDescribeProtectionOutlineRequestWithoutParam

func NewDescribeProtectionOutlineRequestWithoutParam() *DescribeProtectionOutlineRequest

This constructor has better compatible ability when API parameters changed

func (DescribeProtectionOutlineRequest) GetRegionId

func (r DescribeProtectionOutlineRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeProtectionOutlineRequest) SetRegionId

func (r *DescribeProtectionOutlineRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeProtectionOutlineResponse

type DescribeProtectionOutlineResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeProtectionOutlineResult `json:"result"`
}

type DescribeProtectionOutlineResult

type DescribeProtectionOutlineResult struct {
	Data ipanti.ProtectionOutline `json:"data"`
}

type DescribeProtectionRuleOfForwardRuleRequest

type DescribeProtectionRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDescribeProtectionRuleOfForwardRuleRequest

func NewDescribeProtectionRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeProtectionRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeProtectionRuleOfForwardRuleRequestWithAllParams

func NewDescribeProtectionRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeProtectionRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDescribeProtectionRuleOfForwardRuleRequestWithoutParam

func NewDescribeProtectionRuleOfForwardRuleRequestWithoutParam() *DescribeProtectionRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeProtectionRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeProtectionRuleOfForwardRuleRequest) SetForwardRuleId

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeProtectionRuleOfForwardRuleRequest) SetInstanceId

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeProtectionRuleOfForwardRuleRequest) SetRegionId

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeProtectionRuleOfForwardRuleResponse

type DescribeProtectionRuleOfForwardRuleResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DescribeProtectionRuleOfForwardRuleResult `json:"result"`
}

type DescribeProtectionRuleOfForwardRuleResult

type DescribeProtectionRuleOfForwardRuleResult struct {
	ProtectionRule ipanti.ForwardProtectionRule `json:"protectionRule"`
}

type DescribeProtectionStatisticsRequest

type DescribeProtectionStatisticsRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`
}

func NewDescribeProtectionStatisticsRequest

func NewDescribeProtectionStatisticsRequest(
	regionId string,
) *DescribeProtectionStatisticsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeProtectionStatisticsRequestWithAllParams

func NewDescribeProtectionStatisticsRequestWithAllParams(
	regionId string,
) *DescribeProtectionStatisticsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)

func NewDescribeProtectionStatisticsRequestWithoutParam

func NewDescribeProtectionStatisticsRequestWithoutParam() *DescribeProtectionStatisticsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeProtectionStatisticsRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeProtectionStatisticsRequest) SetRegionId

func (r *DescribeProtectionStatisticsRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeProtectionStatisticsResponse

type DescribeProtectionStatisticsResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DescribeProtectionStatisticsResult `json:"result"`
}

type DescribeProtectionStatisticsResult

type DescribeProtectionStatisticsResult struct {
	Data ipanti.ProtectionStatistics `json:"data"`
}

type DescribeServiceIpListRequest

type DescribeServiceIpListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 页码, 默认为 1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为 10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeServiceIpListRequest

func NewDescribeServiceIpListRequest(
	regionId string,
	instanceId string,
) *DescribeServiceIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeServiceIpListRequestWithAllParams

func NewDescribeServiceIpListRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
) *DescribeServiceIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageNumber: 页码, 默认为 1 (Optional) * param pageSize: 分页大小, 默认为 10, 取值范围[10, 100] (Optional)

func NewDescribeServiceIpListRequestWithoutParam

func NewDescribeServiceIpListRequestWithoutParam() *DescribeServiceIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeServiceIpListRequest) GetRegionId

func (r DescribeServiceIpListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeServiceIpListRequest) SetInstanceId

func (r *DescribeServiceIpListRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeServiceIpListRequest) SetPageNumber

func (r *DescribeServiceIpListRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为 1(Optional)

func (*DescribeServiceIpListRequest) SetPageSize

func (r *DescribeServiceIpListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为 10, 取值范围[10, 100](Optional)

func (*DescribeServiceIpListRequest) SetRegionId

func (r *DescribeServiceIpListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeServiceIpListResponse

type DescribeServiceIpListResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeServiceIpListResult `json:"result"`
}

type DescribeServiceIpListResult

type DescribeServiceIpListResult struct {
	DataList     []ipanti.ServiceIp `json:"dataList"`
	CurrentCount int                `json:"currentCount"`
	TotalCount   int                `json:"totalCount"`
	TotalPage    int                `json:"totalPage"`
}

type DescribeStatusGraphRequest

type DescribeStatusGraphRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 开始时间, 只能查询最近 7 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) */
	EndTime *string `json:"endTime"`

	/* 高防实例 Id 列表 (Optional) */
	InstanceId []string `json:"instanceId"`

	/* 规则域名列表 (Optional) */
	SubDomain []string `json:"subDomain"`
}

func NewDescribeStatusGraphRequest

func NewDescribeStatusGraphRequest(
	regionId string,
	startTime string,
) *DescribeStatusGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 7 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeStatusGraphRequestWithAllParams

func NewDescribeStatusGraphRequestWithAllParams(
	regionId string,
	startTime string,
	endTime *string,
	instanceId []string,
	subDomain []string,
) *DescribeStatusGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 7 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Optional) * param instanceId: 高防实例 Id 列表 (Optional) * param subDomain: 规则域名列表 (Optional)

func NewDescribeStatusGraphRequestWithoutParam

func NewDescribeStatusGraphRequestWithoutParam() *DescribeStatusGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeStatusGraphRequest) GetRegionId

func (r DescribeStatusGraphRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeStatusGraphRequest) SetEndTime

func (r *DescribeStatusGraphRequest) SetEndTime(endTime string)

param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Optional)

func (*DescribeStatusGraphRequest) SetInstanceId

func (r *DescribeStatusGraphRequest) SetInstanceId(instanceId []string)

param instanceId: 高防实例 Id 列表(Optional)

func (*DescribeStatusGraphRequest) SetRegionId

func (r *DescribeStatusGraphRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeStatusGraphRequest) SetStartTime

func (r *DescribeStatusGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 7 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

func (*DescribeStatusGraphRequest) SetSubDomain

func (r *DescribeStatusGraphRequest) SetSubDomain(subDomain []string)

param subDomain: 规则域名列表(Optional)

type DescribeStatusGraphResponse

type DescribeStatusGraphResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeStatusGraphResult `json:"result"`
}

type DescribeStatusGraphResult

type DescribeStatusGraphResult struct {
	Status500 []int64  `json:"status500"`
	Status502 []int64  `json:"status502"`
	Status504 []int64  `json:"status504"`
	Status590 []int64  `json:"status590"`
	Status592 []int64  `json:"status592"`
	Status594 []int64  `json:"status594"`
	Status5xx []int64  `json:"status5xx"`
	Time      []string `json:"time"`
}

type DescribeVpcIpListRequest

type DescribeVpcIpListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为 1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeVpcIpListRequest

func NewDescribeVpcIpListRequest(
	regionId string,
) *DescribeVpcIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeVpcIpListRequestWithAllParams

func NewDescribeVpcIpListRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
) *DescribeVpcIpListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param pageNumber: 页码, 默认为 1 (Optional) * param pageSize: 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量 (Optional)

func NewDescribeVpcIpListRequestWithoutParam

func NewDescribeVpcIpListRequestWithoutParam() *DescribeVpcIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeVpcIpListRequest) GetRegionId

func (r DescribeVpcIpListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeVpcIpListRequest) SetPageNumber

func (r *DescribeVpcIpListRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为 1(Optional)

func (*DescribeVpcIpListRequest) SetPageSize

func (r *DescribeVpcIpListRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为 10, 取值范围 [0, 100], 0 表示全量(Optional)

func (*DescribeVpcIpListRequest) SetRegionId

func (r *DescribeVpcIpListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeVpcIpListResponse

type DescribeVpcIpListResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeVpcIpListResult `json:"result"`
}

type DescribeVpcIpListResult

type DescribeVpcIpListResult struct {
	DataList     []ipanti.VpcIpResource `json:"dataList"`
	CurrentCount int                    `json:"currentCount"`
	TotalCount   int                    `json:"totalCount"`
	TotalPage    int                    `json:"totalPage"`
}

type DescribeWebRuleBlackListGeoAreasRequest

type DescribeWebRuleBlackListGeoAreasRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`
}

func NewDescribeWebRuleBlackListGeoAreasRequest

func NewDescribeWebRuleBlackListGeoAreasRequest(
	regionId string,
) *DescribeWebRuleBlackListGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRuleBlackListGeoAreasRequestWithAllParams

func NewDescribeWebRuleBlackListGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeWebRuleBlackListGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)

func NewDescribeWebRuleBlackListGeoAreasRequestWithoutParam

func NewDescribeWebRuleBlackListGeoAreasRequestWithoutParam() *DescribeWebRuleBlackListGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleBlackListGeoAreasRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRuleBlackListGeoAreasRequest) SetRegionId

func (r *DescribeWebRuleBlackListGeoAreasRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeWebRuleBlackListGeoAreasResponse

type DescribeWebRuleBlackListGeoAreasResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    DescribeWebRuleBlackListGeoAreasResult `json:"result"`
}

type DescribeWebRuleBlackListGeoAreasResult

type DescribeWebRuleBlackListGeoAreasResult struct {
	DataList []ipanti.Country `json:"dataList"`
}

type DescribeWebRuleBlackListUsageRequest

type DescribeWebRuleBlackListUsageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDescribeWebRuleBlackListUsageRequest

func NewDescribeWebRuleBlackListUsageRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWebRuleBlackListUsageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRuleBlackListUsageRequestWithAllParams

func NewDescribeWebRuleBlackListUsageRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWebRuleBlackListUsageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDescribeWebRuleBlackListUsageRequestWithoutParam

func NewDescribeWebRuleBlackListUsageRequestWithoutParam() *DescribeWebRuleBlackListUsageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleBlackListUsageRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRuleBlackListUsageRequest) SetInstanceId

func (r *DescribeWebRuleBlackListUsageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRuleBlackListUsageRequest) SetRegionId

func (r *DescribeWebRuleBlackListUsageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeWebRuleBlackListUsageRequest) SetWebRuleId

func (r *DescribeWebRuleBlackListUsageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWebRuleBlackListUsageResponse

type DescribeWebRuleBlackListUsageResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeWebRuleBlackListUsageResult `json:"result"`
}

type DescribeWebRuleBlackListUsageResult

type DescribeWebRuleBlackListUsageResult struct {
	AllocatedNum       int `json:"allocatedNum"`
	ActiveNum          int `json:"activeNum"`
	SurplusAllocateNum int `json:"surplusAllocateNum"`
	MaxAllocateNum     int `json:"maxAllocateNum"`
}

type DescribeWebRuleRSGeoAreasRequest

type DescribeWebRuleRSGeoAreasRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`
}

func NewDescribeWebRuleRSGeoAreasRequest

func NewDescribeWebRuleRSGeoAreasRequest(
	regionId string,
) *DescribeWebRuleRSGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRuleRSGeoAreasRequestWithAllParams

func NewDescribeWebRuleRSGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeWebRuleRSGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)

func NewDescribeWebRuleRSGeoAreasRequestWithoutParam

func NewDescribeWebRuleRSGeoAreasRequestWithoutParam() *DescribeWebRuleRSGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleRSGeoAreasRequest) GetRegionId

func (r DescribeWebRuleRSGeoAreasRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRuleRSGeoAreasRequest) SetRegionId

func (r *DescribeWebRuleRSGeoAreasRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeWebRuleRSGeoAreasResponse

type DescribeWebRuleRSGeoAreasResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeWebRuleRSGeoAreasResult `json:"result"`
}

type DescribeWebRuleRSGeoAreasResult

type DescribeWebRuleRSGeoAreasResult struct {
	DataList []ipanti.Country `json:"dataList"`
}

type DescribeWebRuleRequest

type DescribeWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDescribeWebRuleRequest

func NewDescribeWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRuleRequestWithAllParams

func NewDescribeWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDescribeWebRuleRequestWithoutParam

func NewDescribeWebRuleRequestWithoutParam() *DescribeWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleRequest) GetRegionId

func (r DescribeWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRuleRequest) SetInstanceId

func (r *DescribeWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRuleRequest) SetRegionId

func (r *DescribeWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeWebRuleRequest) SetWebRuleId

func (r *DescribeWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWebRuleResponse

type DescribeWebRuleResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeWebRuleResult `json:"result"`
}

type DescribeWebRuleResult

type DescribeWebRuleResult struct {
	Data ipanti.WebRule `json:"data"`
}

type DescribeWebRuleWhiteListGeoAreasRequest

type DescribeWebRuleWhiteListGeoAreasRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`
}

func NewDescribeWebRuleWhiteListGeoAreasRequest

func NewDescribeWebRuleWhiteListGeoAreasRequest(
	regionId string,
) *DescribeWebRuleWhiteListGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRuleWhiteListGeoAreasRequestWithAllParams

func NewDescribeWebRuleWhiteListGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeWebRuleWhiteListGeoAreasRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required)

func NewDescribeWebRuleWhiteListGeoAreasRequestWithoutParam

func NewDescribeWebRuleWhiteListGeoAreasRequestWithoutParam() *DescribeWebRuleWhiteListGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleWhiteListGeoAreasRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRuleWhiteListGeoAreasRequest) SetRegionId

func (r *DescribeWebRuleWhiteListGeoAreasRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeWebRuleWhiteListGeoAreasResponse

type DescribeWebRuleWhiteListGeoAreasResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    DescribeWebRuleWhiteListGeoAreasResult `json:"result"`
}

type DescribeWebRuleWhiteListGeoAreasResult

type DescribeWebRuleWhiteListGeoAreasResult struct {
	DataList []ipanti.Country `json:"dataList"`
}

type DescribeWebRuleWhiteListUsageRequest

type DescribeWebRuleWhiteListUsageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDescribeWebRuleWhiteListUsageRequest

func NewDescribeWebRuleWhiteListUsageRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWebRuleWhiteListUsageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRuleWhiteListUsageRequestWithAllParams

func NewDescribeWebRuleWhiteListUsageRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWebRuleWhiteListUsageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDescribeWebRuleWhiteListUsageRequestWithoutParam

func NewDescribeWebRuleWhiteListUsageRequestWithoutParam() *DescribeWebRuleWhiteListUsageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleWhiteListUsageRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRuleWhiteListUsageRequest) SetInstanceId

func (r *DescribeWebRuleWhiteListUsageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRuleWhiteListUsageRequest) SetRegionId

func (r *DescribeWebRuleWhiteListUsageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeWebRuleWhiteListUsageRequest) SetWebRuleId

func (r *DescribeWebRuleWhiteListUsageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWebRuleWhiteListUsageResponse

type DescribeWebRuleWhiteListUsageResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeWebRuleWhiteListUsageResult `json:"result"`
}

type DescribeWebRuleWhiteListUsageResult

type DescribeWebRuleWhiteListUsageResult struct {
	AllocatedNum       int `json:"allocatedNum"`
	ActiveNum          int `json:"activeNum"`
	SurplusAllocateNum int `json:"surplusAllocateNum"`
	MaxAllocateNum     int `json:"maxAllocateNum"`
}

type DescribeWebRulesRequest

type DescribeWebRulesRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* 查询类型名称, domain:源站域名, ip:源站 IP, rawDomain: 域名, serviceIp: 高防IP(仅支持BGP线路的实例) (Optional) */
	SearchType *string `json:"searchType"`

	/* 查询类型值 (Optional) */
	SearchValue *string `json:"searchValue"`
}

func NewDescribeWebRulesRequest

func NewDescribeWebRulesRequest(
	regionId string,
	instanceId string,
) *DescribeWebRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRulesRequestWithAllParams

func NewDescribeWebRulesRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
	searchType *string,
	searchValue *string,
) *DescribeWebRulesRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional) * param searchType: 查询类型名称, domain:源站域名, ip:源站 IP, rawDomain: 域名, serviceIp: 高防IP(仅支持BGP线路的实例) (Optional) * param searchValue: 查询类型值 (Optional)

func NewDescribeWebRulesRequestWithoutParam

func NewDescribeWebRulesRequestWithoutParam() *DescribeWebRulesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRulesRequest) GetRegionId

func (r DescribeWebRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWebRulesRequest) SetInstanceId

func (r *DescribeWebRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRulesRequest) SetPageNumber

func (r *DescribeWebRulesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeWebRulesRequest) SetPageSize

func (r *DescribeWebRulesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeWebRulesRequest) SetRegionId

func (r *DescribeWebRulesRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeWebRulesRequest) SetSearchType

func (r *DescribeWebRulesRequest) SetSearchType(searchType string)

param searchType: 查询类型名称, domain:源站域名, ip:源站 IP, rawDomain: 域名, serviceIp: 高防IP(仅支持BGP线路的实例)(Optional)

func (*DescribeWebRulesRequest) SetSearchValue

func (r *DescribeWebRulesRequest) SetSearchValue(searchValue string)

param searchValue: 查询类型值(Optional)

type DescribeWebRulesResponse

type DescribeWebRulesResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeWebRulesResult `json:"result"`
}

type DescribeWebRulesResult

type DescribeWebRulesResult struct {
	DataList     []ipanti.WebRule `json:"dataList"`
	CurrentCount int              `json:"currentCount"`
	TotalCount   int              `json:"totalCount"`
	TotalPage    int              `json:"totalPage"`
}

type DescribeWhiteListRuleOfForwardRuleRequest

type DescribeWhiteListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDescribeWhiteListRuleOfForwardRuleRequest

func NewDescribeWhiteListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWhiteListRuleOfForwardRuleRequestWithAllParams

func NewDescribeWhiteListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DescribeWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDescribeWhiteListRuleOfForwardRuleRequestWithoutParam

func NewDescribeWhiteListRuleOfForwardRuleRequestWithoutParam() *DescribeWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWhiteListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *DescribeWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeWhiteListRuleOfForwardRuleRequest) SetInstanceId

func (r *DescribeWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWhiteListRuleOfForwardRuleRequest) SetRegionId

func (r *DescribeWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DescribeWhiteListRuleOfForwardRuleResponse

type DescribeWhiteListRuleOfForwardRuleResponse struct {
	RequestID string                                   `json:"requestId"`
	Error     core.ErrorResponse                       `json:"error"`
	Result    DescribeWhiteListRuleOfForwardRuleResult `json:"result"`
}

type DescribeWhiteListRuleOfForwardRuleResult

type DescribeWhiteListRuleOfForwardRuleResult struct {
	Data ipanti.ForwardWhiteListRule `json:"data"`
}

type DescribeWhiteListRuleOfWebRuleRequest

type DescribeWhiteListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的白名单规则 Id  */
	WebWhiteListRuleId string `json:"webWhiteListRuleId"`
}

func NewDescribeWhiteListRuleOfWebRuleRequest

func NewDescribeWhiteListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *DescribeWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWhiteListRuleOfWebRuleRequestWithAllParams

func NewDescribeWhiteListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *DescribeWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required)

func NewDescribeWhiteListRuleOfWebRuleRequestWithoutParam

func NewDescribeWhiteListRuleOfWebRuleRequestWithoutParam() *DescribeWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWhiteListRuleOfWebRuleRequest) SetInstanceId

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWhiteListRuleOfWebRuleRequest) SetRegionId

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeWhiteListRuleOfWebRuleRequest) SetWebRuleId

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*DescribeWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

param webWhiteListRuleId: 网站类规则的白名单规则 Id(Required)

type DescribeWhiteListRuleOfWebRuleResponse

type DescribeWhiteListRuleOfWebRuleResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeWhiteListRuleOfWebRuleResult `json:"result"`
}

type DescribeWhiteListRuleOfWebRuleResult

type DescribeWhiteListRuleOfWebRuleResult struct {
	Data ipanti.WebWhiteListRule `json:"data"`
}

type DescribeWhiteListRulesOfWebRuleRequest

type DescribeWhiteListRulesOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 页码, 默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小, 默认为10, 取值范围[10, 100] (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeWhiteListRulesOfWebRuleRequest

func NewDescribeWhiteListRulesOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DescribeWhiteListRulesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWhiteListRulesOfWebRuleRequestWithAllParams

func NewDescribeWhiteListRulesOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	pageNumber *int,
	pageSize *int,
) *DescribeWhiteListRulesOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param pageNumber: 页码, 默认为1 (Optional) * param pageSize: 分页大小, 默认为10, 取值范围[10, 100] (Optional)

func NewDescribeWhiteListRulesOfWebRuleRequestWithoutParam

func NewDescribeWhiteListRulesOfWebRuleRequestWithoutParam() *DescribeWhiteListRulesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRulesOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWhiteListRulesOfWebRuleRequest) SetInstanceId

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWhiteListRulesOfWebRuleRequest) SetPageNumber

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1(Optional)

func (*DescribeWhiteListRulesOfWebRuleRequest) SetPageSize

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetPageSize(pageSize int)

param pageSize: 分页大小, 默认为10, 取值范围[10, 100](Optional)

func (*DescribeWhiteListRulesOfWebRuleRequest) SetRegionId

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DescribeWhiteListRulesOfWebRuleRequest) SetWebRuleId

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWhiteListRulesOfWebRuleResponse

type DescribeWhiteListRulesOfWebRuleResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeWhiteListRulesOfWebRuleResult `json:"result"`
}

type DescribeWhiteListRulesOfWebRuleResult

type DescribeWhiteListRulesOfWebRuleResult struct {
	DataList     []ipanti.WebWhiteListRule `json:"dataList"`
	CurrentCount int                       `json:"currentCount"`
	TotalCount   int                       `json:"totalCount"`
	TotalPage    int                       `json:"totalPage"`
}

type DisableBlackListRuleOfForwardRuleRequest

type DisableBlackListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDisableBlackListRuleOfForwardRuleRequest

func NewDisableBlackListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DisableBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableBlackListRuleOfForwardRuleRequestWithAllParams

func NewDisableBlackListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DisableBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDisableBlackListRuleOfForwardRuleRequestWithoutParam

func NewDisableBlackListRuleOfForwardRuleRequestWithoutParam() *DisableBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableBlackListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableBlackListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *DisableBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DisableBlackListRuleOfForwardRuleRequest) SetInstanceId

func (r *DisableBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableBlackListRuleOfForwardRuleRequest) SetRegionId

func (r *DisableBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DisableBlackListRuleOfForwardRuleResponse

type DisableBlackListRuleOfForwardRuleResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    DisableBlackListRuleOfForwardRuleResult `json:"result"`
}

type DisableBlackListRuleOfForwardRuleResult

type DisableBlackListRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableBlackListRuleOfWebRuleRequest

type DisableBlackListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的黑名单规则 Id  */
	WebBlackListRuleId string `json:"webBlackListRuleId"`
}

func NewDisableBlackListRuleOfWebRuleRequest

func NewDisableBlackListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *DisableBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableBlackListRuleOfWebRuleRequestWithAllParams

func NewDisableBlackListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *DisableBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required)

func NewDisableBlackListRuleOfWebRuleRequestWithoutParam

func NewDisableBlackListRuleOfWebRuleRequestWithoutParam() *DisableBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableBlackListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableBlackListRuleOfWebRuleRequest) SetInstanceId

func (r *DisableBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableBlackListRuleOfWebRuleRequest) SetRegionId

func (r *DisableBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId

func (r *DisableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

param webBlackListRuleId: 网站类规则的黑名单规则 Id(Required)

func (*DisableBlackListRuleOfWebRuleRequest) SetWebRuleId

func (r *DisableBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableBlackListRuleOfWebRuleResponse

type DisableBlackListRuleOfWebRuleResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DisableBlackListRuleOfWebRuleResult `json:"result"`
}

type DisableBlackListRuleOfWebRuleResult

type DisableBlackListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableCCProtectionRuleOfWebRuleRequest

type DisableCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的 CC 防护规则 Id  */
	CcProtectionRuleId string `json:"ccProtectionRuleId"`
}

func NewDisableCCProtectionRuleOfWebRuleRequest

func NewDisableCCProtectionRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *DisableCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableCCProtectionRuleOfWebRuleRequestWithAllParams

func NewDisableCCProtectionRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *DisableCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required)

func NewDisableCCProtectionRuleOfWebRuleRequestWithoutParam

func NewDisableCCProtectionRuleOfWebRuleRequestWithoutParam() *DisableCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableCCProtectionRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id(Required)

func (*DisableCCProtectionRuleOfWebRuleRequest) SetInstanceId

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableCCProtectionRuleOfWebRuleRequest) SetRegionId

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableCCProtectionRuleOfWebRuleRequest) SetWebRuleId

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableCCProtectionRuleOfWebRuleResponse

type DisableCCProtectionRuleOfWebRuleResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    DisableCCProtectionRuleOfWebRuleResult `json:"result"`
}

type DisableCCProtectionRuleOfWebRuleResult

type DisableCCProtectionRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableInstanceCustomPageRequest

type DisableInstanceCustomPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewDisableInstanceCustomPageRequest

func NewDisableInstanceCustomPageRequest(
	regionId string,
	instanceId string,
) *DisableInstanceCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInstanceCustomPageRequestWithAllParams

func NewDisableInstanceCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
) *DisableInstanceCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewDisableInstanceCustomPageRequestWithoutParam

func NewDisableInstanceCustomPageRequestWithoutParam() *DisableInstanceCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (DisableInstanceCustomPageRequest) GetRegionId

func (r DisableInstanceCustomPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableInstanceCustomPageRequest) SetInstanceId

func (r *DisableInstanceCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DisableInstanceCustomPageRequest) SetRegionId

func (r *DisableInstanceCustomPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DisableInstanceCustomPageResponse

type DisableInstanceCustomPageResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DisableInstanceCustomPageResult `json:"result"`
}

type DisableInstanceCustomPageResult

type DisableInstanceCustomPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWebRuleBlackListRequest

type DisableWebRuleBlackListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDisableWebRuleBlackListRequest

func NewDisableWebRuleBlackListRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleBlackListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWebRuleBlackListRequestWithAllParams

func NewDisableWebRuleBlackListRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleBlackListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDisableWebRuleBlackListRequestWithoutParam

func NewDisableWebRuleBlackListRequestWithoutParam() *DisableWebRuleBlackListRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleBlackListRequest) GetRegionId

func (r DisableWebRuleBlackListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWebRuleBlackListRequest) SetInstanceId

func (r *DisableWebRuleBlackListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleBlackListRequest) SetRegionId

func (r *DisableWebRuleBlackListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWebRuleBlackListRequest) SetWebRuleId

func (r *DisableWebRuleBlackListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleBlackListResponse

type DisableWebRuleBlackListResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DisableWebRuleBlackListResult `json:"result"`
}

type DisableWebRuleBlackListResult

type DisableWebRuleBlackListResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWebRuleCCObserverModeRequest

type DisableWebRuleCCObserverModeRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDisableWebRuleCCObserverModeRequest

func NewDisableWebRuleCCObserverModeRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleCCObserverModeRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWebRuleCCObserverModeRequestWithAllParams

func NewDisableWebRuleCCObserverModeRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleCCObserverModeRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDisableWebRuleCCObserverModeRequestWithoutParam

func NewDisableWebRuleCCObserverModeRequestWithoutParam() *DisableWebRuleCCObserverModeRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleCCObserverModeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWebRuleCCObserverModeRequest) SetInstanceId

func (r *DisableWebRuleCCObserverModeRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCObserverModeRequest) SetRegionId

func (r *DisableWebRuleCCObserverModeRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWebRuleCCObserverModeRequest) SetWebRuleId

func (r *DisableWebRuleCCObserverModeRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleCCObserverModeResponse

type DisableWebRuleCCObserverModeResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DisableWebRuleCCObserverModeResult `json:"result"`
}

type DisableWebRuleCCObserverModeResult

type DisableWebRuleCCObserverModeResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWebRuleCCProtectionRuleRequest

type DisableWebRuleCCProtectionRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDisableWebRuleCCProtectionRuleRequest

func NewDisableWebRuleCCProtectionRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleCCProtectionRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWebRuleCCProtectionRuleRequestWithAllParams

func NewDisableWebRuleCCProtectionRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleCCProtectionRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDisableWebRuleCCProtectionRuleRequestWithoutParam

func NewDisableWebRuleCCProtectionRuleRequestWithoutParam() *DisableWebRuleCCProtectionRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleCCProtectionRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWebRuleCCProtectionRuleRequest) SetInstanceId

func (r *DisableWebRuleCCProtectionRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCProtectionRuleRequest) SetRegionId

func (r *DisableWebRuleCCProtectionRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWebRuleCCProtectionRuleRequest) SetWebRuleId

func (r *DisableWebRuleCCProtectionRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleCCProtectionRuleResponse

type DisableWebRuleCCProtectionRuleResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DisableWebRuleCCProtectionRuleResult `json:"result"`
}

type DisableWebRuleCCProtectionRuleResult

type DisableWebRuleCCProtectionRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWebRuleCCRequest

type DisableWebRuleCCRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDisableWebRuleCCRequest

func NewDisableWebRuleCCRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleCCRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWebRuleCCRequestWithAllParams

func NewDisableWebRuleCCRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleCCRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDisableWebRuleCCRequestWithoutParam

func NewDisableWebRuleCCRequestWithoutParam() *DisableWebRuleCCRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleCCRequest) GetRegionId

func (r DisableWebRuleCCRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWebRuleCCRequest) SetInstanceId

func (r *DisableWebRuleCCRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCRequest) SetRegionId

func (r *DisableWebRuleCCRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWebRuleCCRequest) SetWebRuleId

func (r *DisableWebRuleCCRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleCCResponse

type DisableWebRuleCCResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DisableWebRuleCCResult `json:"result"`
}

type DisableWebRuleCCResult

type DisableWebRuleCCResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWebRuleJsPageRequest

type DisableWebRuleJsPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDisableWebRuleJsPageRequest

func NewDisableWebRuleJsPageRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleJsPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWebRuleJsPageRequestWithAllParams

func NewDisableWebRuleJsPageRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleJsPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDisableWebRuleJsPageRequestWithoutParam

func NewDisableWebRuleJsPageRequestWithoutParam() *DisableWebRuleJsPageRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleJsPageRequest) GetRegionId

func (r DisableWebRuleJsPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWebRuleJsPageRequest) SetInstanceId

func (r *DisableWebRuleJsPageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleJsPageRequest) SetRegionId

func (r *DisableWebRuleJsPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWebRuleJsPageRequest) SetWebRuleId

func (r *DisableWebRuleJsPageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleJsPageResponse

type DisableWebRuleJsPageResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DisableWebRuleJsPageResult `json:"result"`
}

type DisableWebRuleJsPageResult

type DisableWebRuleJsPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWebRuleWhiteListRequest

type DisableWebRuleWhiteListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewDisableWebRuleWhiteListRequest

func NewDisableWebRuleWhiteListRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleWhiteListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWebRuleWhiteListRequestWithAllParams

func NewDisableWebRuleWhiteListRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *DisableWebRuleWhiteListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewDisableWebRuleWhiteListRequestWithoutParam

func NewDisableWebRuleWhiteListRequestWithoutParam() *DisableWebRuleWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleWhiteListRequest) GetRegionId

func (r DisableWebRuleWhiteListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWebRuleWhiteListRequest) SetInstanceId

func (r *DisableWebRuleWhiteListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleWhiteListRequest) SetRegionId

func (r *DisableWebRuleWhiteListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWebRuleWhiteListRequest) SetWebRuleId

func (r *DisableWebRuleWhiteListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleWhiteListResponse

type DisableWebRuleWhiteListResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DisableWebRuleWhiteListResult `json:"result"`
}

type DisableWebRuleWhiteListResult

type DisableWebRuleWhiteListResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWhiteListRuleOfForwardRuleRequest

type DisableWhiteListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewDisableWhiteListRuleOfForwardRuleRequest

func NewDisableWhiteListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DisableWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWhiteListRuleOfForwardRuleRequestWithAllParams

func NewDisableWhiteListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *DisableWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewDisableWhiteListRuleOfForwardRuleRequestWithoutParam

func NewDisableWhiteListRuleOfForwardRuleRequestWithoutParam() *DisableWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableWhiteListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *DisableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DisableWhiteListRuleOfForwardRuleRequest) SetInstanceId

func (r *DisableWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWhiteListRuleOfForwardRuleRequest) SetRegionId

func (r *DisableWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type DisableWhiteListRuleOfForwardRuleResponse

type DisableWhiteListRuleOfForwardRuleResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    DisableWhiteListRuleOfForwardRuleResult `json:"result"`
}

type DisableWhiteListRuleOfForwardRuleResult

type DisableWhiteListRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type DisableWhiteListRuleOfWebRuleRequest

type DisableWhiteListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的白名单规则 Id  */
	WebWhiteListRuleId string `json:"webWhiteListRuleId"`
}

func NewDisableWhiteListRuleOfWebRuleRequest

func NewDisableWhiteListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *DisableWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableWhiteListRuleOfWebRuleRequestWithAllParams

func NewDisableWhiteListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *DisableWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required)

func NewDisableWhiteListRuleOfWebRuleRequestWithoutParam

func NewDisableWhiteListRuleOfWebRuleRequestWithoutParam() *DisableWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableWhiteListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableWhiteListRuleOfWebRuleRequest) SetInstanceId

func (r *DisableWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWhiteListRuleOfWebRuleRequest) SetRegionId

func (r *DisableWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*DisableWhiteListRuleOfWebRuleRequest) SetWebRuleId

func (r *DisableWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*DisableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId

func (r *DisableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

param webWhiteListRuleId: 网站类规则的白名单规则 Id(Required)

type DisableWhiteListRuleOfWebRuleResponse

type DisableWhiteListRuleOfWebRuleResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DisableWhiteListRuleOfWebRuleResult `json:"result"`
}

type DisableWhiteListRuleOfWebRuleResult

type DisableWhiteListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableBlackListRuleOfForwardRuleRequest

type EnableBlackListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewEnableBlackListRuleOfForwardRuleRequest

func NewEnableBlackListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *EnableBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableBlackListRuleOfForwardRuleRequestWithAllParams

func NewEnableBlackListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *EnableBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewEnableBlackListRuleOfForwardRuleRequestWithoutParam

func NewEnableBlackListRuleOfForwardRuleRequestWithoutParam() *EnableBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableBlackListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableBlackListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *EnableBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*EnableBlackListRuleOfForwardRuleRequest) SetInstanceId

func (r *EnableBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableBlackListRuleOfForwardRuleRequest) SetRegionId

func (r *EnableBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type EnableBlackListRuleOfForwardRuleResponse

type EnableBlackListRuleOfForwardRuleResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    EnableBlackListRuleOfForwardRuleResult `json:"result"`
}

type EnableBlackListRuleOfForwardRuleResult

type EnableBlackListRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableBlackListRuleOfWebRuleRequest

type EnableBlackListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的黑名单规则 Id  */
	WebBlackListRuleId string `json:"webBlackListRuleId"`
}

func NewEnableBlackListRuleOfWebRuleRequest

func NewEnableBlackListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *EnableBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableBlackListRuleOfWebRuleRequestWithAllParams

func NewEnableBlackListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
) *EnableBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required)

func NewEnableBlackListRuleOfWebRuleRequestWithoutParam

func NewEnableBlackListRuleOfWebRuleRequestWithoutParam() *EnableBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableBlackListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableBlackListRuleOfWebRuleRequest) SetInstanceId

func (r *EnableBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableBlackListRuleOfWebRuleRequest) SetRegionId

func (r *EnableBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId

func (r *EnableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

param webBlackListRuleId: 网站类规则的黑名单规则 Id(Required)

func (*EnableBlackListRuleOfWebRuleRequest) SetWebRuleId

func (r *EnableBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableBlackListRuleOfWebRuleResponse

type EnableBlackListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    EnableBlackListRuleOfWebRuleResult `json:"result"`
}

type EnableBlackListRuleOfWebRuleResult

type EnableBlackListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableCCProtectionRuleOfWebRuleRequest

type EnableCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的 CC 防护规则 Id  */
	CcProtectionRuleId string `json:"ccProtectionRuleId"`
}

func NewEnableCCProtectionRuleOfWebRuleRequest

func NewEnableCCProtectionRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *EnableCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableCCProtectionRuleOfWebRuleRequestWithAllParams

func NewEnableCCProtectionRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
) *EnableCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required)

func NewEnableCCProtectionRuleOfWebRuleRequestWithoutParam

func NewEnableCCProtectionRuleOfWebRuleRequestWithoutParam() *EnableCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableCCProtectionRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id(Required)

func (*EnableCCProtectionRuleOfWebRuleRequest) SetInstanceId

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableCCProtectionRuleOfWebRuleRequest) SetRegionId

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableCCProtectionRuleOfWebRuleRequest) SetWebRuleId

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableCCProtectionRuleOfWebRuleResponse

type EnableCCProtectionRuleOfWebRuleResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    EnableCCProtectionRuleOfWebRuleResult `json:"result"`
}

type EnableCCProtectionRuleOfWebRuleResult

type EnableCCProtectionRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableInstanceCustomPageRequest

type EnableInstanceCustomPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewEnableInstanceCustomPageRequest

func NewEnableInstanceCustomPageRequest(
	regionId string,
	instanceId string,
) *EnableInstanceCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInstanceCustomPageRequestWithAllParams

func NewEnableInstanceCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableInstanceCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewEnableInstanceCustomPageRequestWithoutParam

func NewEnableInstanceCustomPageRequestWithoutParam() *EnableInstanceCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (EnableInstanceCustomPageRequest) GetRegionId

func (r EnableInstanceCustomPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableInstanceCustomPageRequest) SetInstanceId

func (r *EnableInstanceCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*EnableInstanceCustomPageRequest) SetRegionId

func (r *EnableInstanceCustomPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type EnableInstanceCustomPageResponse

type EnableInstanceCustomPageResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    EnableInstanceCustomPageResult `json:"result"`
}

type EnableInstanceCustomPageResult

type EnableInstanceCustomPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWebRuleBlackListRequest

type EnableWebRuleBlackListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewEnableWebRuleBlackListRequest

func NewEnableWebRuleBlackListRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleBlackListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWebRuleBlackListRequestWithAllParams

func NewEnableWebRuleBlackListRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleBlackListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewEnableWebRuleBlackListRequestWithoutParam

func NewEnableWebRuleBlackListRequestWithoutParam() *EnableWebRuleBlackListRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleBlackListRequest) GetRegionId

func (r EnableWebRuleBlackListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWebRuleBlackListRequest) SetInstanceId

func (r *EnableWebRuleBlackListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleBlackListRequest) SetRegionId

func (r *EnableWebRuleBlackListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWebRuleBlackListRequest) SetWebRuleId

func (r *EnableWebRuleBlackListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleBlackListResponse

type EnableWebRuleBlackListResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    EnableWebRuleBlackListResult `json:"result"`
}

type EnableWebRuleBlackListResult

type EnableWebRuleBlackListResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWebRuleCCObserverModeRequest

type EnableWebRuleCCObserverModeRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewEnableWebRuleCCObserverModeRequest

func NewEnableWebRuleCCObserverModeRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleCCObserverModeRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWebRuleCCObserverModeRequestWithAllParams

func NewEnableWebRuleCCObserverModeRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleCCObserverModeRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewEnableWebRuleCCObserverModeRequestWithoutParam

func NewEnableWebRuleCCObserverModeRequestWithoutParam() *EnableWebRuleCCObserverModeRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleCCObserverModeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWebRuleCCObserverModeRequest) SetInstanceId

func (r *EnableWebRuleCCObserverModeRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCObserverModeRequest) SetRegionId

func (r *EnableWebRuleCCObserverModeRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWebRuleCCObserverModeRequest) SetWebRuleId

func (r *EnableWebRuleCCObserverModeRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleCCObserverModeResponse

type EnableWebRuleCCObserverModeResponse struct {
	RequestID string                            `json:"requestId"`
	Error     core.ErrorResponse                `json:"error"`
	Result    EnableWebRuleCCObserverModeResult `json:"result"`
}

type EnableWebRuleCCObserverModeResult

type EnableWebRuleCCObserverModeResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWebRuleCCProtectionRuleRequest

type EnableWebRuleCCProtectionRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewEnableWebRuleCCProtectionRuleRequest

func NewEnableWebRuleCCProtectionRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleCCProtectionRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWebRuleCCProtectionRuleRequestWithAllParams

func NewEnableWebRuleCCProtectionRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleCCProtectionRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewEnableWebRuleCCProtectionRuleRequestWithoutParam

func NewEnableWebRuleCCProtectionRuleRequestWithoutParam() *EnableWebRuleCCProtectionRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleCCProtectionRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWebRuleCCProtectionRuleRequest) SetInstanceId

func (r *EnableWebRuleCCProtectionRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCProtectionRuleRequest) SetRegionId

func (r *EnableWebRuleCCProtectionRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWebRuleCCProtectionRuleRequest) SetWebRuleId

func (r *EnableWebRuleCCProtectionRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleCCProtectionRuleResponse

type EnableWebRuleCCProtectionRuleResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    EnableWebRuleCCProtectionRuleResult `json:"result"`
}

type EnableWebRuleCCProtectionRuleResult

type EnableWebRuleCCProtectionRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWebRuleCCRequest

type EnableWebRuleCCRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewEnableWebRuleCCRequest

func NewEnableWebRuleCCRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleCCRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWebRuleCCRequestWithAllParams

func NewEnableWebRuleCCRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleCCRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewEnableWebRuleCCRequestWithoutParam

func NewEnableWebRuleCCRequestWithoutParam() *EnableWebRuleCCRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleCCRequest) GetRegionId

func (r EnableWebRuleCCRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWebRuleCCRequest) SetInstanceId

func (r *EnableWebRuleCCRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCRequest) SetRegionId

func (r *EnableWebRuleCCRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWebRuleCCRequest) SetWebRuleId

func (r *EnableWebRuleCCRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleCCResponse

type EnableWebRuleCCResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    EnableWebRuleCCResult `json:"result"`
}

type EnableWebRuleCCResult

type EnableWebRuleCCResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWebRuleJsPageRequest

type EnableWebRuleJsPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewEnableWebRuleJsPageRequest

func NewEnableWebRuleJsPageRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleJsPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWebRuleJsPageRequestWithAllParams

func NewEnableWebRuleJsPageRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleJsPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewEnableWebRuleJsPageRequestWithoutParam

func NewEnableWebRuleJsPageRequestWithoutParam() *EnableWebRuleJsPageRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleJsPageRequest) GetRegionId

func (r EnableWebRuleJsPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWebRuleJsPageRequest) SetInstanceId

func (r *EnableWebRuleJsPageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleJsPageRequest) SetRegionId

func (r *EnableWebRuleJsPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWebRuleJsPageRequest) SetWebRuleId

func (r *EnableWebRuleJsPageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleJsPageResponse

type EnableWebRuleJsPageResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    EnableWebRuleJsPageResult `json:"result"`
}

type EnableWebRuleJsPageResult

type EnableWebRuleJsPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWebRuleWhiteListRequest

type EnableWebRuleWhiteListRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewEnableWebRuleWhiteListRequest

func NewEnableWebRuleWhiteListRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleWhiteListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWebRuleWhiteListRequestWithAllParams

func NewEnableWebRuleWhiteListRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *EnableWebRuleWhiteListRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewEnableWebRuleWhiteListRequestWithoutParam

func NewEnableWebRuleWhiteListRequestWithoutParam() *EnableWebRuleWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleWhiteListRequest) GetRegionId

func (r EnableWebRuleWhiteListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWebRuleWhiteListRequest) SetInstanceId

func (r *EnableWebRuleWhiteListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleWhiteListRequest) SetRegionId

func (r *EnableWebRuleWhiteListRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWebRuleWhiteListRequest) SetWebRuleId

func (r *EnableWebRuleWhiteListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleWhiteListResponse

type EnableWebRuleWhiteListResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    EnableWebRuleWhiteListResult `json:"result"`
}

type EnableWebRuleWhiteListResult

type EnableWebRuleWhiteListResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWhiteListRuleOfForwardRuleRequest

type EnableWhiteListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewEnableWhiteListRuleOfForwardRuleRequest

func NewEnableWhiteListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *EnableWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWhiteListRuleOfForwardRuleRequestWithAllParams

func NewEnableWhiteListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *EnableWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewEnableWhiteListRuleOfForwardRuleRequestWithoutParam

func NewEnableWhiteListRuleOfForwardRuleRequestWithoutParam() *EnableWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableWhiteListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *EnableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*EnableWhiteListRuleOfForwardRuleRequest) SetInstanceId

func (r *EnableWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWhiteListRuleOfForwardRuleRequest) SetRegionId

func (r *EnableWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type EnableWhiteListRuleOfForwardRuleResponse

type EnableWhiteListRuleOfForwardRuleResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    EnableWhiteListRuleOfForwardRuleResult `json:"result"`
}

type EnableWhiteListRuleOfForwardRuleResult

type EnableWhiteListRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type EnableWhiteListRuleOfWebRuleRequest

type EnableWhiteListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的白名单规则 Id  */
	WebWhiteListRuleId string `json:"webWhiteListRuleId"`
}

func NewEnableWhiteListRuleOfWebRuleRequest

func NewEnableWhiteListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *EnableWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableWhiteListRuleOfWebRuleRequestWithAllParams

func NewEnableWhiteListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
) *EnableWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required)

func NewEnableWhiteListRuleOfWebRuleRequestWithoutParam

func NewEnableWhiteListRuleOfWebRuleRequestWithoutParam() *EnableWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableWhiteListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableWhiteListRuleOfWebRuleRequest) SetInstanceId

func (r *EnableWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWhiteListRuleOfWebRuleRequest) SetRegionId

func (r *EnableWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*EnableWhiteListRuleOfWebRuleRequest) SetWebRuleId

func (r *EnableWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*EnableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId

func (r *EnableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

param webWhiteListRuleId: 网站类规则的白名单规则 Id(Required)

type EnableWhiteListRuleOfWebRuleResponse

type EnableWhiteListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    EnableWhiteListRuleOfWebRuleResult `json:"result"`
}

type EnableWhiteListRuleOfWebRuleResult

type EnableWhiteListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyAlarmConfigRequest

type ModifyAlarmConfigRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 更新告警配置请求参数  */
	AlarmConfigSpec *ipanti.AlarmConfigSpec `json:"alarmConfigSpec"`
}

func NewModifyAlarmConfigRequest

func NewModifyAlarmConfigRequest(
	regionId string,
	instanceId string,
	alarmConfigSpec *ipanti.AlarmConfigSpec,
) *ModifyAlarmConfigRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param alarmConfigSpec: 更新告警配置请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyAlarmConfigRequestWithAllParams

func NewModifyAlarmConfigRequestWithAllParams(
	regionId string,
	instanceId string,
	alarmConfigSpec *ipanti.AlarmConfigSpec,
) *ModifyAlarmConfigRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param alarmConfigSpec: 更新告警配置请求参数 (Required)

func NewModifyAlarmConfigRequestWithoutParam

func NewModifyAlarmConfigRequestWithoutParam() *ModifyAlarmConfigRequest

This constructor has better compatible ability when API parameters changed

func (ModifyAlarmConfigRequest) GetRegionId

func (r ModifyAlarmConfigRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyAlarmConfigRequest) SetAlarmConfigSpec

func (r *ModifyAlarmConfigRequest) SetAlarmConfigSpec(alarmConfigSpec *ipanti.AlarmConfigSpec)

param alarmConfigSpec: 更新告警配置请求参数(Required)

func (*ModifyAlarmConfigRequest) SetInstanceId

func (r *ModifyAlarmConfigRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyAlarmConfigRequest) SetRegionId

func (r *ModifyAlarmConfigRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyAlarmConfigResponse

type ModifyAlarmConfigResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    ModifyAlarmConfigResult `json:"result"`
}

type ModifyAlarmConfigResult

type ModifyAlarmConfigResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyBlackListRuleOfForwardRuleRequest

type ModifyBlackListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`

	/* 修改转发规则的黑名单规则请求参数  */
	ModifySpec *ipanti.ModifyBlackListRuleOfForwardRuleSpec `json:"modifySpec"`
}

func NewModifyBlackListRuleOfForwardRuleRequest

func NewModifyBlackListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
	modifySpec *ipanti.ModifyBlackListRuleOfForwardRuleSpec,
) *ModifyBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param modifySpec: 修改转发规则的黑名单规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyBlackListRuleOfForwardRuleRequestWithAllParams

func NewModifyBlackListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
	modifySpec *ipanti.ModifyBlackListRuleOfForwardRuleSpec,
) *ModifyBlackListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param modifySpec: 修改转发规则的黑名单规则请求参数 (Required)

func NewModifyBlackListRuleOfForwardRuleRequestWithoutParam

func NewModifyBlackListRuleOfForwardRuleRequestWithoutParam() *ModifyBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBlackListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyBlackListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *ModifyBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyBlackListRuleOfForwardRuleRequest) SetInstanceId

func (r *ModifyBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyBlackListRuleOfForwardRuleRequest) SetModifySpec

param modifySpec: 修改转发规则的黑名单规则请求参数(Required)

func (*ModifyBlackListRuleOfForwardRuleRequest) SetRegionId

func (r *ModifyBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyBlackListRuleOfForwardRuleResponse

type ModifyBlackListRuleOfForwardRuleResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    ModifyBlackListRuleOfForwardRuleResult `json:"result"`
}

type ModifyBlackListRuleOfForwardRuleResult

type ModifyBlackListRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyBlackListRuleOfWebRuleRequest

type ModifyBlackListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的黑名单规则 Id  */
	WebBlackListRuleId string `json:"webBlackListRuleId"`

	/* 修改网站类规则的黑名单规则请求参数  */
	WebBlackListRuleSpec *ipanti.WebBlackListRuleSpec `json:"webBlackListRuleSpec"`
}

func NewModifyBlackListRuleOfWebRuleRequest

func NewModifyBlackListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
	webBlackListRuleSpec *ipanti.WebBlackListRuleSpec,
) *ModifyBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required) * param webBlackListRuleSpec: 修改网站类规则的黑名单规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyBlackListRuleOfWebRuleRequestWithAllParams

func NewModifyBlackListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webBlackListRuleId string,
	webBlackListRuleSpec *ipanti.WebBlackListRuleSpec,
) *ModifyBlackListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webBlackListRuleId: 网站类规则的黑名单规则 Id (Required) * param webBlackListRuleSpec: 修改网站类规则的黑名单规则请求参数 (Required)

func NewModifyBlackListRuleOfWebRuleRequestWithoutParam

func NewModifyBlackListRuleOfWebRuleRequestWithoutParam() *ModifyBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBlackListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyBlackListRuleOfWebRuleRequest) SetInstanceId

func (r *ModifyBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyBlackListRuleOfWebRuleRequest) SetRegionId

func (r *ModifyBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId

func (r *ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

param webBlackListRuleId: 网站类规则的黑名单规则 Id(Required)

func (*ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleSpec

func (r *ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleSpec(webBlackListRuleSpec *ipanti.WebBlackListRuleSpec)

param webBlackListRuleSpec: 修改网站类规则的黑名单规则请求参数(Required)

func (*ModifyBlackListRuleOfWebRuleRequest) SetWebRuleId

func (r *ModifyBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyBlackListRuleOfWebRuleResponse

type ModifyBlackListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    ModifyBlackListRuleOfWebRuleResult `json:"result"`
}

type ModifyBlackListRuleOfWebRuleResult

type ModifyBlackListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyCCProtectionConfigOfWebRuleRequest

type ModifyCCProtectionConfigOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 修改 CC 防护配置请求参数  */
	CcProtectionConfigSpec *ipanti.CCProtectionConfigSpec `json:"ccProtectionConfigSpec"`
}

func NewModifyCCProtectionConfigOfWebRuleRequest

func NewModifyCCProtectionConfigOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionConfigSpec *ipanti.CCProtectionConfigSpec,
) *ModifyCCProtectionConfigOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionConfigSpec: 修改 CC 防护配置请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyCCProtectionConfigOfWebRuleRequestWithAllParams

func NewModifyCCProtectionConfigOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionConfigSpec *ipanti.CCProtectionConfigSpec,
) *ModifyCCProtectionConfigOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionConfigSpec: 修改 CC 防护配置请求参数 (Required)

func NewModifyCCProtectionConfigOfWebRuleRequestWithoutParam

func NewModifyCCProtectionConfigOfWebRuleRequestWithoutParam() *ModifyCCProtectionConfigOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCCProtectionConfigOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetCcProtectionConfigSpec

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetCcProtectionConfigSpec(ccProtectionConfigSpec *ipanti.CCProtectionConfigSpec)

param ccProtectionConfigSpec: 修改 CC 防护配置请求参数(Required)

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetInstanceId

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetRegionId

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetWebRuleId

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyCCProtectionConfigOfWebRuleResponse

type ModifyCCProtectionConfigOfWebRuleResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    ModifyCCProtectionConfigOfWebRuleResult `json:"result"`
}

type ModifyCCProtectionConfigOfWebRuleResult

type ModifyCCProtectionConfigOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyCCProtectionRuleOfWebRuleRequest

type ModifyCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的 CC 防护规则 Id  */
	CcProtectionRuleId string `json:"ccProtectionRuleId"`

	/* 修改 CC 防护规则请求参数  */
	CcProtectionRuleSpec *ipanti.CCProtectionRuleSpec `json:"ccProtectionRuleSpec"`
}

func NewModifyCCProtectionRuleOfWebRuleRequest

func NewModifyCCProtectionRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
	ccProtectionRuleSpec *ipanti.CCProtectionRuleSpec,
) *ModifyCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required) * param ccProtectionRuleSpec: 修改 CC 防护规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyCCProtectionRuleOfWebRuleRequestWithAllParams

func NewModifyCCProtectionRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	ccProtectionRuleId string,
	ccProtectionRuleSpec *ipanti.CCProtectionRuleSpec,
) *ModifyCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id (Required) * param ccProtectionRuleSpec: 修改 CC 防护规则请求参数 (Required)

func NewModifyCCProtectionRuleOfWebRuleRequestWithoutParam

func NewModifyCCProtectionRuleOfWebRuleRequestWithoutParam() *ModifyCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCCProtectionRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

param ccProtectionRuleId: 网站类规则的 CC 防护规则 Id(Required)

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleSpec

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleSpec(ccProtectionRuleSpec *ipanti.CCProtectionRuleSpec)

param ccProtectionRuleSpec: 修改 CC 防护规则请求参数(Required)

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetInstanceId

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetRegionId

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetWebRuleId

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyCCProtectionRuleOfWebRuleResponse

type ModifyCCProtectionRuleOfWebRuleResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    ModifyCCProtectionRuleOfWebRuleResult `json:"result"`
}

type ModifyCCProtectionRuleOfWebRuleResult

type ModifyCCProtectionRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyCertInfoRequest

type ModifyCertInfoRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 编辑网站规则证书信息请求参数  */
	CertInfoModifySpec *ipanti.CertInfoModifySpec `json:"certInfoModifySpec"`
}

func NewModifyCertInfoRequest

func NewModifyCertInfoRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	certInfoModifySpec *ipanti.CertInfoModifySpec,
) *ModifyCertInfoRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param certInfoModifySpec: 编辑网站规则证书信息请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyCertInfoRequestWithAllParams

func NewModifyCertInfoRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	certInfoModifySpec *ipanti.CertInfoModifySpec,
) *ModifyCertInfoRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param certInfoModifySpec: 编辑网站规则证书信息请求参数 (Required)

func NewModifyCertInfoRequestWithoutParam

func NewModifyCertInfoRequestWithoutParam() *ModifyCertInfoRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCertInfoRequest) GetRegionId

func (r ModifyCertInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyCertInfoRequest) SetCertInfoModifySpec

func (r *ModifyCertInfoRequest) SetCertInfoModifySpec(certInfoModifySpec *ipanti.CertInfoModifySpec)

param certInfoModifySpec: 编辑网站规则证书信息请求参数(Required)

func (*ModifyCertInfoRequest) SetInstanceId

func (r *ModifyCertInfoRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyCertInfoRequest) SetRegionId

func (r *ModifyCertInfoRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyCertInfoRequest) SetWebRuleId

func (r *ModifyCertInfoRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyCertInfoResponse

type ModifyCertInfoResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    ModifyCertInfoResult `json:"result"`
}

type ModifyCertInfoResult

type ModifyCertInfoResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyCustomPageRequest

type ModifyCustomPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 自定义页面Id  */
	PageId string `json:"pageId"`

	/* 修改自定义页面请求参数  */
	CustomPageSpec *ipanti.CustomPageSpec `json:"customPageSpec"`
}

func NewModifyCustomPageRequest

func NewModifyCustomPageRequest(
	regionId string,
	instanceId string,
	pageId string,
	customPageSpec *ipanti.CustomPageSpec,
) *ModifyCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageId: 自定义页面Id (Required) * param customPageSpec: 修改自定义页面请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyCustomPageRequestWithAllParams

func NewModifyCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
	pageId string,
	customPageSpec *ipanti.CustomPageSpec,
) *ModifyCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageId: 自定义页面Id (Required) * param customPageSpec: 修改自定义页面请求参数 (Required)

func NewModifyCustomPageRequestWithoutParam

func NewModifyCustomPageRequestWithoutParam() *ModifyCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCustomPageRequest) GetRegionId

func (r ModifyCustomPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyCustomPageRequest) SetCustomPageSpec

func (r *ModifyCustomPageRequest) SetCustomPageSpec(customPageSpec *ipanti.CustomPageSpec)

param customPageSpec: 修改自定义页面请求参数(Required)

func (*ModifyCustomPageRequest) SetInstanceId

func (r *ModifyCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyCustomPageRequest) SetPageId

func (r *ModifyCustomPageRequest) SetPageId(pageId string)

param pageId: 自定义页面Id(Required)

func (*ModifyCustomPageRequest) SetRegionId

func (r *ModifyCustomPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyCustomPageResponse

type ModifyCustomPageResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ModifyCustomPageResult `json:"result"`
}

type ModifyCustomPageResult

type ModifyCustomPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyDispatchRuleRequest

type ModifyDispatchRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 防护调度规则 Id  */
	DispatchRuleId string `json:"dispatchRuleId"`

	/* 更新防护调度规则请求参数  */
	ModifyDispatchRuleSpec *ipanti.ModifyDispatchRuleSpec `json:"modifyDispatchRuleSpec"`
}

func NewModifyDispatchRuleRequest

func NewModifyDispatchRuleRequest(
	regionId string,
	instanceId string,
	dispatchRuleId string,
	modifyDispatchRuleSpec *ipanti.ModifyDispatchRuleSpec,
) *ModifyDispatchRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required) * param modifyDispatchRuleSpec: 更新防护调度规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyDispatchRuleRequestWithAllParams

func NewModifyDispatchRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	dispatchRuleId string,
	modifyDispatchRuleSpec *ipanti.ModifyDispatchRuleSpec,
) *ModifyDispatchRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required) * param modifyDispatchRuleSpec: 更新防护调度规则请求参数 (Required)

func NewModifyDispatchRuleRequestWithoutParam

func NewModifyDispatchRuleRequestWithoutParam() *ModifyDispatchRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyDispatchRuleRequest) GetRegionId

func (r ModifyDispatchRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyDispatchRuleRequest) SetDispatchRuleId

func (r *ModifyDispatchRuleRequest) SetDispatchRuleId(dispatchRuleId string)

param dispatchRuleId: 防护调度规则 Id(Required)

func (*ModifyDispatchRuleRequest) SetInstanceId

func (r *ModifyDispatchRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyDispatchRuleRequest) SetModifyDispatchRuleSpec

func (r *ModifyDispatchRuleRequest) SetModifyDispatchRuleSpec(modifyDispatchRuleSpec *ipanti.ModifyDispatchRuleSpec)

param modifyDispatchRuleSpec: 更新防护调度规则请求参数(Required)

func (*ModifyDispatchRuleRequest) SetRegionId

func (r *ModifyDispatchRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyDispatchRuleResponse

type ModifyDispatchRuleResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    ModifyDispatchRuleResult `json:"result"`
}

type ModifyDispatchRuleResult

type ModifyDispatchRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyEPBRequest

type ModifyEPBRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 修改实例名称请求参数  */
	ModifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec `json:"modifyInstanceEPBSpec"`
}

func NewModifyEPBRequest

func NewModifyEPBRequest(
	regionId string,
	instanceId string,
	modifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec,
) *ModifyEPBRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param modifyInstanceEPBSpec: 修改实例名称请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyEPBRequestWithAllParams

func NewModifyEPBRequestWithAllParams(
	regionId string,
	instanceId string,
	modifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec,
) *ModifyEPBRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param modifyInstanceEPBSpec: 修改实例名称请求参数 (Required)

func NewModifyEPBRequestWithoutParam

func NewModifyEPBRequestWithoutParam() *ModifyEPBRequest

This constructor has better compatible ability when API parameters changed

func (ModifyEPBRequest) GetRegionId

func (r ModifyEPBRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyEPBRequest) SetInstanceId

func (r *ModifyEPBRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyEPBRequest) SetModifyInstanceEPBSpec

func (r *ModifyEPBRequest) SetModifyInstanceEPBSpec(modifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec)

param modifyInstanceEPBSpec: 修改实例名称请求参数(Required)

func (*ModifyEPBRequest) SetRegionId

func (r *ModifyEPBRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyEPBResponse

type ModifyEPBResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    ModifyEPBResult    `json:"result"`
}

type ModifyEPBResult

type ModifyEPBResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyForwardRuleRequest

type ModifyForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`

	/* 更新非网站类规则请求参数  */
	ForwardRuleSpec *ipanti.ForwardRuleSpec `json:"forwardRuleSpec"`
}

func NewModifyForwardRuleRequest

func NewModifyForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *ModifyForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param forwardRuleSpec: 更新非网站类规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyForwardRuleRequestWithAllParams

func NewModifyForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *ModifyForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param forwardRuleSpec: 更新非网站类规则请求参数 (Required)

func NewModifyForwardRuleRequestWithoutParam

func NewModifyForwardRuleRequestWithoutParam() *ModifyForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyForwardRuleRequest) GetRegionId

func (r ModifyForwardRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyForwardRuleRequest) SetForwardRuleId

func (r *ModifyForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyForwardRuleRequest) SetForwardRuleSpec

func (r *ModifyForwardRuleRequest) SetForwardRuleSpec(forwardRuleSpec *ipanti.ForwardRuleSpec)

param forwardRuleSpec: 更新非网站类规则请求参数(Required)

func (*ModifyForwardRuleRequest) SetInstanceId

func (r *ModifyForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyForwardRuleRequest) SetRegionId

func (r *ModifyForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyForwardRuleResponse

type ModifyForwardRuleResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    ModifyForwardRuleResult `json:"result"`
}

type ModifyForwardRuleResult

type ModifyForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyInstanceAclRequest

type ModifyInstanceAclRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 修改实例全局访问控制配置参数  */
	InstanceAclSpec *ipanti.InstanceAclSpec `json:"instanceAclSpec"`
}

func NewModifyInstanceAclRequest

func NewModifyInstanceAclRequest(
	regionId string,
	instanceId string,
	instanceAclSpec *ipanti.InstanceAclSpec,
) *ModifyInstanceAclRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param instanceAclSpec: 修改实例全局访问控制配置参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceAclRequestWithAllParams

func NewModifyInstanceAclRequestWithAllParams(
	regionId string,
	instanceId string,
	instanceAclSpec *ipanti.InstanceAclSpec,
) *ModifyInstanceAclRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param instanceAclSpec: 修改实例全局访问控制配置参数 (Required)

func NewModifyInstanceAclRequestWithoutParam

func NewModifyInstanceAclRequestWithoutParam() *ModifyInstanceAclRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceAclRequest) GetRegionId

func (r ModifyInstanceAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceAclRequest) SetInstanceAclSpec

func (r *ModifyInstanceAclRequest) SetInstanceAclSpec(instanceAclSpec *ipanti.InstanceAclSpec)

param instanceAclSpec: 修改实例全局访问控制配置参数(Required)

func (*ModifyInstanceAclRequest) SetInstanceId

func (r *ModifyInstanceAclRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceAclRequest) SetRegionId

func (r *ModifyInstanceAclRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyInstanceAclResponse

type ModifyInstanceAclResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    ModifyInstanceAclResult `json:"result"`
}

type ModifyInstanceAclResult

type ModifyInstanceAclResult struct {
	Success    bool `json:"success"`
	CanRecover bool `json:"canRecover"`
}

type ModifyInstanceCustomPageDefaultRequest

type ModifyInstanceCustomPageDefaultRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewModifyInstanceCustomPageDefaultRequest

func NewModifyInstanceCustomPageDefaultRequest(
	regionId string,
	instanceId string,
) *ModifyInstanceCustomPageDefaultRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceCustomPageDefaultRequestWithAllParams

func NewModifyInstanceCustomPageDefaultRequestWithAllParams(
	regionId string,
	instanceId string,
) *ModifyInstanceCustomPageDefaultRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewModifyInstanceCustomPageDefaultRequestWithoutParam

func NewModifyInstanceCustomPageDefaultRequestWithoutParam() *ModifyInstanceCustomPageDefaultRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceCustomPageDefaultRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceCustomPageDefaultRequest) SetInstanceId

func (r *ModifyInstanceCustomPageDefaultRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceCustomPageDefaultRequest) SetRegionId

func (r *ModifyInstanceCustomPageDefaultRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyInstanceCustomPageDefaultResponse

type ModifyInstanceCustomPageDefaultResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    ModifyInstanceCustomPageDefaultResult `json:"result"`
}

type ModifyInstanceCustomPageDefaultResult

type ModifyInstanceCustomPageDefaultResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyInstanceCustomPageRequest

type ModifyInstanceCustomPageRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 自定义页面Id  */
	PageId string `json:"pageId"`
}

func NewModifyInstanceCustomPageRequest

func NewModifyInstanceCustomPageRequest(
	regionId string,
	instanceId string,
	pageId string,
) *ModifyInstanceCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageId: 自定义页面Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceCustomPageRequestWithAllParams

func NewModifyInstanceCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
	pageId string,
) *ModifyInstanceCustomPageRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param pageId: 自定义页面Id (Required)

func NewModifyInstanceCustomPageRequestWithoutParam

func NewModifyInstanceCustomPageRequestWithoutParam() *ModifyInstanceCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceCustomPageRequest) GetRegionId

func (r ModifyInstanceCustomPageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceCustomPageRequest) SetInstanceId

func (r *ModifyInstanceCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceCustomPageRequest) SetPageId

func (r *ModifyInstanceCustomPageRequest) SetPageId(pageId string)

param pageId: 自定义页面Id(Required)

func (*ModifyInstanceCustomPageRequest) SetRegionId

func (r *ModifyInstanceCustomPageRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyInstanceCustomPageResponse

type ModifyInstanceCustomPageResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    ModifyInstanceCustomPageResult `json:"result"`
}

type ModifyInstanceCustomPageResult

type ModifyInstanceCustomPageResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyInstanceNameRequest

type ModifyInstanceNameRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

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

	/* 修改实例名称请求参数  */
	RenameInstanceSpec *ipanti.RenameInstanceSpec `json:"renameInstanceSpec"`
}

func NewModifyInstanceNameRequest

func NewModifyInstanceNameRequest(
	regionId string,
	instanceId string,
	renameInstanceSpec *ipanti.RenameInstanceSpec,
) *ModifyInstanceNameRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param renameInstanceSpec: 修改实例名称请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceNameRequestWithAllParams

func NewModifyInstanceNameRequestWithAllParams(
	regionId string,
	instanceId string,
	renameInstanceSpec *ipanti.RenameInstanceSpec,
) *ModifyInstanceNameRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * param renameInstanceSpec: 修改实例名称请求参数 (Required)

func NewModifyInstanceNameRequestWithoutParam

func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceNameRequest) GetRegionId

func (r ModifyInstanceNameRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceNameRequest) SetInstanceId

func (r *ModifyInstanceNameRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceNameRequest) SetRegionId

func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyInstanceNameRequest) SetRenameInstanceSpec

func (r *ModifyInstanceNameRequest) SetRenameInstanceSpec(renameInstanceSpec *ipanti.RenameInstanceSpec)

param renameInstanceSpec: 修改实例名称请求参数(Required)

type ModifyInstanceNameResponse

type ModifyInstanceNameResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    ModifyInstanceNameResult `json:"result"`
}

type ModifyInstanceNameResult

type ModifyInstanceNameResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyJsPageOfWebRuleRequest

type ModifyJsPageOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 支持插入JS指纹的页面 Id  */
	JsPageId string `json:"jsPageId"`

	/* 修改网站类规则允许插入 JS 指纹的页面请求参数  */
	JsPageSpec *ipanti.JsPageSpec `json:"jsPageSpec"`
}

func NewModifyJsPageOfWebRuleRequest

func NewModifyJsPageOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPageId string,
	jsPageSpec *ipanti.JsPageSpec,
) *ModifyJsPageOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPageId: 支持插入JS指纹的页面 Id (Required) * param jsPageSpec: 修改网站类规则允许插入 JS 指纹的页面请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyJsPageOfWebRuleRequestWithAllParams

func NewModifyJsPageOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	jsPageId string,
	jsPageSpec *ipanti.JsPageSpec,
) *ModifyJsPageOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param jsPageId: 支持插入JS指纹的页面 Id (Required) * param jsPageSpec: 修改网站类规则允许插入 JS 指纹的页面请求参数 (Required)

func NewModifyJsPageOfWebRuleRequestWithoutParam

func NewModifyJsPageOfWebRuleRequestWithoutParam() *ModifyJsPageOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyJsPageOfWebRuleRequest) GetRegionId

func (r ModifyJsPageOfWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyJsPageOfWebRuleRequest) SetInstanceId

func (r *ModifyJsPageOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyJsPageOfWebRuleRequest) SetJsPageId

func (r *ModifyJsPageOfWebRuleRequest) SetJsPageId(jsPageId string)

param jsPageId: 支持插入JS指纹的页面 Id(Required)

func (*ModifyJsPageOfWebRuleRequest) SetJsPageSpec

func (r *ModifyJsPageOfWebRuleRequest) SetJsPageSpec(jsPageSpec *ipanti.JsPageSpec)

param jsPageSpec: 修改网站类规则允许插入 JS 指纹的页面请求参数(Required)

func (*ModifyJsPageOfWebRuleRequest) SetRegionId

func (r *ModifyJsPageOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyJsPageOfWebRuleRequest) SetWebRuleId

func (r *ModifyJsPageOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyJsPageOfWebRuleResponse

type ModifyJsPageOfWebRuleResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    ModifyJsPageOfWebRuleResult `json:"result"`
}

type ModifyJsPageOfWebRuleResult

type ModifyJsPageOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyProtectionRuleOfForwardRuleRequest

type ModifyProtectionRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`

	/* 修改非网站类转发规则的防护规则请求参数  */
	ForwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec `json:"forwardProtectionRuleSpec"`
}

func NewModifyProtectionRuleOfForwardRuleRequest

func NewModifyProtectionRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
	forwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec,
) *ModifyProtectionRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param forwardProtectionRuleSpec: 修改非网站类转发规则的防护规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyProtectionRuleOfForwardRuleRequestWithAllParams

func NewModifyProtectionRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
	forwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec,
) *ModifyProtectionRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param forwardProtectionRuleSpec: 修改非网站类转发规则的防护规则请求参数 (Required)

func NewModifyProtectionRuleOfForwardRuleRequestWithoutParam

func NewModifyProtectionRuleOfForwardRuleRequestWithoutParam() *ModifyProtectionRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyProtectionRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyProtectionRuleOfForwardRuleRequest) SetForwardProtectionRuleSpec

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetForwardProtectionRuleSpec(forwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec)

param forwardProtectionRuleSpec: 修改非网站类转发规则的防护规则请求参数(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetForwardRuleId

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetInstanceId

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetRegionId

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyProtectionRuleOfForwardRuleResponse

type ModifyProtectionRuleOfForwardRuleResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    ModifyProtectionRuleOfForwardRuleResult `json:"result"`
}

type ModifyProtectionRuleOfForwardRuleResult

type ModifyProtectionRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyWebRuleJsPageToAllRequest

type ModifyWebRuleJsPageToAllRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewModifyWebRuleJsPageToAllRequest

func NewModifyWebRuleJsPageToAllRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *ModifyWebRuleJsPageToAllRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyWebRuleJsPageToAllRequestWithAllParams

func NewModifyWebRuleJsPageToAllRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *ModifyWebRuleJsPageToAllRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewModifyWebRuleJsPageToAllRequestWithoutParam

func NewModifyWebRuleJsPageToAllRequestWithoutParam() *ModifyWebRuleJsPageToAllRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWebRuleJsPageToAllRequest) GetRegionId

func (r ModifyWebRuleJsPageToAllRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyWebRuleJsPageToAllRequest) SetInstanceId

func (r *ModifyWebRuleJsPageToAllRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWebRuleJsPageToAllRequest) SetRegionId

func (r *ModifyWebRuleJsPageToAllRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyWebRuleJsPageToAllRequest) SetWebRuleId

func (r *ModifyWebRuleJsPageToAllRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyWebRuleJsPageToAllResponse

type ModifyWebRuleJsPageToAllResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    ModifyWebRuleJsPageToAllResult `json:"result"`
}

type ModifyWebRuleJsPageToAllResult

type ModifyWebRuleJsPageToAllResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyWebRuleJsPageToCustomRequest

type ModifyWebRuleJsPageToCustomRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewModifyWebRuleJsPageToCustomRequest

func NewModifyWebRuleJsPageToCustomRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *ModifyWebRuleJsPageToCustomRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyWebRuleJsPageToCustomRequestWithAllParams

func NewModifyWebRuleJsPageToCustomRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *ModifyWebRuleJsPageToCustomRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewModifyWebRuleJsPageToCustomRequestWithoutParam

func NewModifyWebRuleJsPageToCustomRequestWithoutParam() *ModifyWebRuleJsPageToCustomRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWebRuleJsPageToCustomRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyWebRuleJsPageToCustomRequest) SetInstanceId

func (r *ModifyWebRuleJsPageToCustomRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWebRuleJsPageToCustomRequest) SetRegionId

func (r *ModifyWebRuleJsPageToCustomRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyWebRuleJsPageToCustomRequest) SetWebRuleId

func (r *ModifyWebRuleJsPageToCustomRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyWebRuleJsPageToCustomResponse

type ModifyWebRuleJsPageToCustomResponse struct {
	RequestID string                            `json:"requestId"`
	Error     core.ErrorResponse                `json:"error"`
	Result    ModifyWebRuleJsPageToCustomResult `json:"result"`
}

type ModifyWebRuleJsPageToCustomResult

type ModifyWebRuleJsPageToCustomResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyWebRuleRequest

type ModifyWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 更新网站类规则请求参数  */
	WebRuleSpec *ipanti.WebRuleSpec `json:"webRuleSpec"`
}

func NewModifyWebRuleRequest

func NewModifyWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webRuleSpec *ipanti.WebRuleSpec,
) *ModifyWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webRuleSpec: 更新网站类规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyWebRuleRequestWithAllParams

func NewModifyWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webRuleSpec *ipanti.WebRuleSpec,
) *ModifyWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webRuleSpec: 更新网站类规则请求参数 (Required)

func NewModifyWebRuleRequestWithoutParam

func NewModifyWebRuleRequestWithoutParam() *ModifyWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWebRuleRequest) GetRegionId

func (r ModifyWebRuleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyWebRuleRequest) SetInstanceId

func (r *ModifyWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWebRuleRequest) SetRegionId

func (r *ModifyWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyWebRuleRequest) SetWebRuleId

func (r *ModifyWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*ModifyWebRuleRequest) SetWebRuleSpec

func (r *ModifyWebRuleRequest) SetWebRuleSpec(webRuleSpec *ipanti.WebRuleSpec)

param webRuleSpec: 更新网站类规则请求参数(Required)

type ModifyWebRuleResponse

type ModifyWebRuleResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    ModifyWebRuleResult `json:"result"`
}

type ModifyWebRuleResult

type ModifyWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyWhiteListRuleOfForwardRuleRequest

type ModifyWhiteListRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`

	/* 修改转发规则的黑名单规则请求参数  */
	ModifySpec *ipanti.ModifyWhiteListRuleOfForwardRuleSpec `json:"modifySpec"`
}

func NewModifyWhiteListRuleOfForwardRuleRequest

func NewModifyWhiteListRuleOfForwardRuleRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
	modifySpec *ipanti.ModifyWhiteListRuleOfForwardRuleSpec,
) *ModifyWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param modifySpec: 修改转发规则的黑名单规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyWhiteListRuleOfForwardRuleRequestWithAllParams

func NewModifyWhiteListRuleOfForwardRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
	modifySpec *ipanti.ModifyWhiteListRuleOfForwardRuleSpec,
) *ModifyWhiteListRuleOfForwardRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * param modifySpec: 修改转发规则的黑名单规则请求参数 (Required)

func NewModifyWhiteListRuleOfForwardRuleRequestWithoutParam

func NewModifyWhiteListRuleOfForwardRuleRequestWithoutParam() *ModifyWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWhiteListRuleOfForwardRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetForwardRuleId

func (r *ModifyWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetInstanceId

func (r *ModifyWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetModifySpec

param modifySpec: 修改转发规则的黑名单规则请求参数(Required)

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetRegionId

func (r *ModifyWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type ModifyWhiteListRuleOfForwardRuleResponse

type ModifyWhiteListRuleOfForwardRuleResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    ModifyWhiteListRuleOfForwardRuleResult `json:"result"`
}

type ModifyWhiteListRuleOfForwardRuleResult

type ModifyWhiteListRuleOfForwardRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type ModifyWhiteListRuleOfWebRuleRequest

type ModifyWhiteListRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`

	/* 网站类规则的白名单规则 Id  */
	WebWhiteListRuleId string `json:"webWhiteListRuleId"`

	/* 修改网站类规则的白名单规则请求参数  */
	WebWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec `json:"webWhiteListRuleSpec"`
}

func NewModifyWhiteListRuleOfWebRuleRequest

func NewModifyWhiteListRuleOfWebRuleRequest(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
	webWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec,
) *ModifyWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required) * param webWhiteListRuleSpec: 修改网站类规则的白名单规则请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyWhiteListRuleOfWebRuleRequestWithAllParams

func NewModifyWhiteListRuleOfWebRuleRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
	webWhiteListRuleId string,
	webWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec,
) *ModifyWhiteListRuleOfWebRuleRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param webWhiteListRuleId: 网站类规则的白名单规则 Id (Required) * param webWhiteListRuleSpec: 修改网站类规则的白名单规则请求参数 (Required)

func NewModifyWhiteListRuleOfWebRuleRequestWithoutParam

func NewModifyWhiteListRuleOfWebRuleRequestWithoutParam() *ModifyWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWhiteListRuleOfWebRuleRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyWhiteListRuleOfWebRuleRequest) SetInstanceId

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWhiteListRuleOfWebRuleRequest) SetRegionId

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*ModifyWhiteListRuleOfWebRuleRequest) SetWebRuleId

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

param webWhiteListRuleId: 网站类规则的白名单规则 Id(Required)

func (*ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleSpec

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleSpec(webWhiteListRuleSpec *ipanti.WebWhiteListRuleSpec)

param webWhiteListRuleSpec: 修改网站类规则的白名单规则请求参数(Required)

type ModifyWhiteListRuleOfWebRuleResponse

type ModifyWhiteListRuleOfWebRuleResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    ModifyWhiteListRuleOfWebRuleResult `json:"result"`
}

type ModifyWhiteListRuleOfWebRuleResult

type ModifyWhiteListRuleOfWebRuleResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type RecoverInstanceAclRequest

type RecoverInstanceAclRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 实例 ID  */
	InstanceId string `json:"instanceId"`
}

func NewRecoverInstanceAclRequest

func NewRecoverInstanceAclRequest(
	regionId string,
	instanceId string,
) *RecoverInstanceAclRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRecoverInstanceAclRequestWithAllParams

func NewRecoverInstanceAclRequestWithAllParams(
	regionId string,
	instanceId string,
) *RecoverInstanceAclRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 实例 ID (Required)

func NewRecoverInstanceAclRequestWithoutParam

func NewRecoverInstanceAclRequestWithoutParam() *RecoverInstanceAclRequest

This constructor has better compatible ability when API parameters changed

func (RecoverInstanceAclRequest) GetRegionId

func (r RecoverInstanceAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RecoverInstanceAclRequest) SetInstanceId

func (r *RecoverInstanceAclRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*RecoverInstanceAclRequest) SetRegionId

func (r *RecoverInstanceAclRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type RecoverInstanceAclResponse

type RecoverInstanceAclResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    RecoverInstanceAclResult `json:"result"`
}

type RecoverInstanceAclResult

type RecoverInstanceAclResult struct {
	Success bool `json:"success"`
}

type SwitchDispatchRuleOriginRequest

type SwitchDispatchRuleOriginRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 防护调度规则 Id  */
	DispatchRuleId string `json:"dispatchRuleId"`
}

func NewSwitchDispatchRuleOriginRequest

func NewSwitchDispatchRuleOriginRequest(
	regionId string,
	instanceId string,
	dispatchRuleId string,
) *SwitchDispatchRuleOriginRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchDispatchRuleOriginRequestWithAllParams

func NewSwitchDispatchRuleOriginRequestWithAllParams(
	regionId string,
	instanceId string,
	dispatchRuleId string,
) *SwitchDispatchRuleOriginRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required)

func NewSwitchDispatchRuleOriginRequestWithoutParam

func NewSwitchDispatchRuleOriginRequestWithoutParam() *SwitchDispatchRuleOriginRequest

This constructor has better compatible ability when API parameters changed

func (SwitchDispatchRuleOriginRequest) GetRegionId

func (r SwitchDispatchRuleOriginRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchDispatchRuleOriginRequest) SetDispatchRuleId

func (r *SwitchDispatchRuleOriginRequest) SetDispatchRuleId(dispatchRuleId string)

param dispatchRuleId: 防护调度规则 Id(Required)

func (*SwitchDispatchRuleOriginRequest) SetInstanceId

func (r *SwitchDispatchRuleOriginRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchDispatchRuleOriginRequest) SetRegionId

func (r *SwitchDispatchRuleOriginRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type SwitchDispatchRuleOriginResponse

type SwitchDispatchRuleOriginResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    SwitchDispatchRuleOriginResult `json:"result"`
}

type SwitchDispatchRuleOriginResult

type SwitchDispatchRuleOriginResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type SwitchDispatchRuleProtectRequest

type SwitchDispatchRuleProtectRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 防护调度规则 Id  */
	DispatchRuleId string `json:"dispatchRuleId"`
}

func NewSwitchDispatchRuleProtectRequest

func NewSwitchDispatchRuleProtectRequest(
	regionId string,
	instanceId string,
	dispatchRuleId string,
) *SwitchDispatchRuleProtectRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchDispatchRuleProtectRequestWithAllParams

func NewSwitchDispatchRuleProtectRequestWithAllParams(
	regionId string,
	instanceId string,
	dispatchRuleId string,
) *SwitchDispatchRuleProtectRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param dispatchRuleId: 防护调度规则 Id (Required)

func NewSwitchDispatchRuleProtectRequestWithoutParam

func NewSwitchDispatchRuleProtectRequestWithoutParam() *SwitchDispatchRuleProtectRequest

This constructor has better compatible ability when API parameters changed

func (SwitchDispatchRuleProtectRequest) GetRegionId

func (r SwitchDispatchRuleProtectRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchDispatchRuleProtectRequest) SetDispatchRuleId

func (r *SwitchDispatchRuleProtectRequest) SetDispatchRuleId(dispatchRuleId string)

param dispatchRuleId: 防护调度规则 Id(Required)

func (*SwitchDispatchRuleProtectRequest) SetInstanceId

func (r *SwitchDispatchRuleProtectRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchDispatchRuleProtectRequest) SetRegionId

func (r *SwitchDispatchRuleProtectRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type SwitchDispatchRuleProtectResponse

type SwitchDispatchRuleProtectResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    SwitchDispatchRuleProtectResult `json:"result"`
}

type SwitchDispatchRuleProtectResult

type SwitchDispatchRuleProtectResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type SwitchForwardRuleOriginRequest

type SwitchForwardRuleOriginRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewSwitchForwardRuleOriginRequest

func NewSwitchForwardRuleOriginRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *SwitchForwardRuleOriginRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchForwardRuleOriginRequestWithAllParams

func NewSwitchForwardRuleOriginRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *SwitchForwardRuleOriginRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewSwitchForwardRuleOriginRequestWithoutParam

func NewSwitchForwardRuleOriginRequestWithoutParam() *SwitchForwardRuleOriginRequest

This constructor has better compatible ability when API parameters changed

func (SwitchForwardRuleOriginRequest) GetRegionId

func (r SwitchForwardRuleOriginRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchForwardRuleOriginRequest) SetForwardRuleId

func (r *SwitchForwardRuleOriginRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*SwitchForwardRuleOriginRequest) SetInstanceId

func (r *SwitchForwardRuleOriginRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchForwardRuleOriginRequest) SetRegionId

func (r *SwitchForwardRuleOriginRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type SwitchForwardRuleOriginResponse

type SwitchForwardRuleOriginResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    SwitchForwardRuleOriginResult `json:"result"`
}

type SwitchForwardRuleOriginResult

type SwitchForwardRuleOriginResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type SwitchForwardRuleProtectRequest

type SwitchForwardRuleProtectRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 转发规则 Id  */
	ForwardRuleId string `json:"forwardRuleId"`
}

func NewSwitchForwardRuleProtectRequest

func NewSwitchForwardRuleProtectRequest(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *SwitchForwardRuleProtectRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchForwardRuleProtectRequestWithAllParams

func NewSwitchForwardRuleProtectRequestWithAllParams(
	regionId string,
	instanceId string,
	forwardRuleId string,
) *SwitchForwardRuleProtectRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param forwardRuleId: 转发规则 Id (Required)

func NewSwitchForwardRuleProtectRequestWithoutParam

func NewSwitchForwardRuleProtectRequestWithoutParam() *SwitchForwardRuleProtectRequest

This constructor has better compatible ability when API parameters changed

func (SwitchForwardRuleProtectRequest) GetRegionId

func (r SwitchForwardRuleProtectRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchForwardRuleProtectRequest) SetForwardRuleId

func (r *SwitchForwardRuleProtectRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*SwitchForwardRuleProtectRequest) SetInstanceId

func (r *SwitchForwardRuleProtectRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchForwardRuleProtectRequest) SetRegionId

func (r *SwitchForwardRuleProtectRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

type SwitchForwardRuleProtectResponse

type SwitchForwardRuleProtectResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    SwitchForwardRuleProtectResult `json:"result"`
}

type SwitchForwardRuleProtectResult

type SwitchForwardRuleProtectResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type SwitchWebRuleOriginRequest

type SwitchWebRuleOriginRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewSwitchWebRuleOriginRequest

func NewSwitchWebRuleOriginRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *SwitchWebRuleOriginRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchWebRuleOriginRequestWithAllParams

func NewSwitchWebRuleOriginRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *SwitchWebRuleOriginRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewSwitchWebRuleOriginRequestWithoutParam

func NewSwitchWebRuleOriginRequestWithoutParam() *SwitchWebRuleOriginRequest

This constructor has better compatible ability when API parameters changed

func (SwitchWebRuleOriginRequest) GetRegionId

func (r SwitchWebRuleOriginRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchWebRuleOriginRequest) SetInstanceId

func (r *SwitchWebRuleOriginRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchWebRuleOriginRequest) SetRegionId

func (r *SwitchWebRuleOriginRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*SwitchWebRuleOriginRequest) SetWebRuleId

func (r *SwitchWebRuleOriginRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type SwitchWebRuleOriginResponse

type SwitchWebRuleOriginResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    SwitchWebRuleOriginResult `json:"result"`
}

type SwitchWebRuleOriginResult

type SwitchWebRuleOriginResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type SwitchWebRuleProtectRequest

type SwitchWebRuleProtectRequest struct {
	core.JDCloudRequest

	/* 区域 ID, 高防不区分区域, 传 cn-north-1 即可  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId string `json:"instanceId"`

	/* 网站规则 Id  */
	WebRuleId string `json:"webRuleId"`
}

func NewSwitchWebRuleProtectRequest

func NewSwitchWebRuleProtectRequest(
	regionId string,
	instanceId string,
	webRuleId string,
) *SwitchWebRuleProtectRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchWebRuleProtectRequestWithAllParams

func NewSwitchWebRuleProtectRequestWithAllParams(
	regionId string,
	instanceId string,
	webRuleId string,
) *SwitchWebRuleProtectRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required)

func NewSwitchWebRuleProtectRequestWithoutParam

func NewSwitchWebRuleProtectRequestWithoutParam() *SwitchWebRuleProtectRequest

This constructor has better compatible ability when API parameters changed

func (SwitchWebRuleProtectRequest) GetRegionId

func (r SwitchWebRuleProtectRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchWebRuleProtectRequest) SetInstanceId

func (r *SwitchWebRuleProtectRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchWebRuleProtectRequest) SetRegionId

func (r *SwitchWebRuleProtectRequest) SetRegionId(regionId string)

param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可(Required)

func (*SwitchWebRuleProtectRequest) SetWebRuleId

func (r *SwitchWebRuleProtectRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type SwitchWebRuleProtectResponse

type SwitchWebRuleProtectResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    SwitchWebRuleProtectResult `json:"result"`
}

type SwitchWebRuleProtectResult

type SwitchWebRuleProtectResult struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

Source Files

Jump to

Keyboard shortcuts

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