apis

package
v1.62.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindCertRequest added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

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 added in v1.20.0

func NewBindCertRequestWithoutParam() *BindCertRequest

This constructor has better compatible ability when API parameters changed

func (BindCertRequest) GetRegionId added in v1.20.0

func (r BindCertRequest) GetRegionId() string

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

func (*BindCertRequest) SetCertId added in v1.20.0

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 added in v1.20.0

func (r *BindCertRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*BindCertRequest) SetRegionId added in v1.20.0

func (r *BindCertRequest) SetRegionId(regionId string)

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

func (*BindCertRequest) SetWebRuleId added in v1.20.0

func (r *BindCertRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type BindCertResponse added in v1.20.0

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

type BindCertResult added in v1.20.0

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

type CheckNameRequest added in v1.6.0

type CheckNameRequest struct {
	core.JDCloudRequest

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

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

func NewCheckNameRequest added in v1.6.0

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 added in v1.6.0

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

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

func NewCheckNameRequestWithoutParam added in v1.6.0

func NewCheckNameRequestWithoutParam() *CheckNameRequest

This constructor has better compatible ability when API parameters changed

func (CheckNameRequest) GetRegionId added in v1.6.0

func (r CheckNameRequest) GetRegionId() string

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

func (*CheckNameRequest) SetName added in v1.6.0

func (r *CheckNameRequest) SetName(name string)

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

func (*CheckNameRequest) SetRegionId added in v1.6.0

func (r *CheckNameRequest) SetRegionId(regionId string)

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

type CheckNameResponse added in v1.6.0

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

type CheckNameResult added in v1.6.0

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

type CreateBlackListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewCreateBlackListRuleOfWebRuleRequestWithoutParam() *CreateBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateBlackListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*CreateBlackListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *CreateBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateBlackListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *CreateBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*CreateBlackListRuleOfWebRuleRequest) SetWebBlackListRuleSpec added in v1.10.0

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

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

func (*CreateBlackListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *CreateBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateBlackListRuleOfWebRuleResponse added in v1.10.0

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

type CreateBlackListRuleOfWebRuleResult added in v1.10.0

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

type CreateCCProtectionRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewCreateCCProtectionRuleOfWebRuleRequestWithoutParam() *CreateCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateCCProtectionRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*CreateCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleSpec added in v1.10.0

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

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

func (*CreateCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*CreateCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *CreateCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateCCProtectionRuleOfWebRuleResponse added in v1.10.0

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

type CreateCCProtectionRuleOfWebRuleResult added in v1.10.0

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

type CreateCustomPageRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewCreateCustomPageRequestWithoutParam() *CreateCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (CreateCustomPageRequest) GetRegionId added in v1.52.0

func (r CreateCustomPageRequest) GetRegionId() string

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

func (*CreateCustomPageRequest) SetCustomPageSpec added in v1.52.0

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

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

func (*CreateCustomPageRequest) SetInstanceId added in v1.52.0

func (r *CreateCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*CreateCustomPageRequest) SetRegionId added in v1.52.0

func (r *CreateCustomPageRequest) SetRegionId(regionId string)

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

type CreateCustomPageResponse added in v1.52.0

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

type CreateCustomPageResult added in v1.52.0

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

type CreateDispatchRuleRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewCreateDispatchRuleRequestWithoutParam() *CreateDispatchRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateDispatchRuleRequest) GetRegionId added in v1.54.0

func (r CreateDispatchRuleRequest) GetRegionId() string

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

func (*CreateDispatchRuleRequest) SetCreateDispatchRuleSpec added in v1.54.0

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

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

func (*CreateDispatchRuleRequest) SetInstanceId added in v1.54.0

func (r *CreateDispatchRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateDispatchRuleRequest) SetRegionId added in v1.54.0

func (r *CreateDispatchRuleRequest) SetRegionId(regionId string)

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

type CreateDispatchRuleResponse added in v1.54.0

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

type CreateDispatchRuleResult added in v1.54.0

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

type CreateDispatchRulesRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewCreateDispatchRulesRequestWithoutParam() *CreateDispatchRulesRequest

This constructor has better compatible ability when API parameters changed

func (CreateDispatchRulesRequest) GetRegionId added in v1.54.0

func (r CreateDispatchRulesRequest) GetRegionId() string

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

func (*CreateDispatchRulesRequest) SetDispatchRuleSpecList added in v1.54.0

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

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

func (*CreateDispatchRulesRequest) SetInstanceId added in v1.54.0

func (r *CreateDispatchRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateDispatchRulesRequest) SetRegionId added in v1.54.0

func (r *CreateDispatchRulesRequest) SetRegionId(regionId string)

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

type CreateDispatchRulesResponse added in v1.54.0

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

type CreateDispatchRulesResult added in v1.54.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewCreateForwardRulesRequestWithoutParam() *CreateForwardRulesRequest

This constructor has better compatible ability when API parameters changed

func (CreateForwardRulesRequest) GetRegionId added in v1.46.0

func (r CreateForwardRulesRequest) GetRegionId() string

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

func (*CreateForwardRulesRequest) SetForwardRuleSpecList added in v1.46.0

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

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

func (*CreateForwardRulesRequest) SetInstanceId added in v1.46.0

func (r *CreateForwardRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateForwardRulesRequest) SetRegionId added in v1.46.0

func (r *CreateForwardRulesRequest) SetRegionId(regionId string)

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

type CreateForwardRulesResponse added in v1.46.0

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

type CreateForwardRulesResult added in v1.46.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.56.0

func (r *CreateInstanceRequest) SetAutoPay(autoPay bool)

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

func (*CreateInstanceRequest) SetAutoRenewalSpec added in v1.32.0

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

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

func (*CreateInstanceRequest) SetCreateInstanceSpec added in v1.6.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewCreateIpSetRequestWithoutParam() *CreateIpSetRequest

This constructor has better compatible ability when API parameters changed

func (CreateIpSetRequest) GetRegionId added in v1.10.0

func (r CreateIpSetRequest) GetRegionId() string

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

func (*CreateIpSetRequest) SetInstanceId added in v1.10.0

func (r *CreateIpSetRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateIpSetRequest) SetIpSetSpec added in v1.10.0

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

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

func (*CreateIpSetRequest) SetRegionId added in v1.10.0

func (r *CreateIpSetRequest) SetRegionId(regionId string)

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

type CreateIpSetResponse added in v1.10.0

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

type CreateIpSetResult added in v1.10.0

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

type CreateJsPageOfWebRuleRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewCreateJsPageOfWebRuleRequestWithoutParam() *CreateJsPageOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateJsPageOfWebRuleRequest) GetRegionId added in v1.46.0

func (r CreateJsPageOfWebRuleRequest) GetRegionId() string

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

func (*CreateJsPageOfWebRuleRequest) SetInstanceId added in v1.46.0

func (r *CreateJsPageOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateJsPageOfWebRuleRequest) SetJsPageSpec added in v1.46.0

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

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

func (*CreateJsPageOfWebRuleRequest) SetRegionId added in v1.46.0

func (r *CreateJsPageOfWebRuleRequest) SetRegionId(regionId string)

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

func (*CreateJsPageOfWebRuleRequest) SetWebRuleId added in v1.46.0

func (r *CreateJsPageOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateJsPageOfWebRuleResponse added in v1.46.0

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

type CreateJsPageOfWebRuleResult added in v1.46.0

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

type CreateJsPagesOfWebRuleRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewCreateJsPagesOfWebRuleRequestWithoutParam() *CreateJsPagesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateJsPagesOfWebRuleRequest) GetRegionId added in v1.46.0

func (r CreateJsPagesOfWebRuleRequest) GetRegionId() string

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

func (*CreateJsPagesOfWebRuleRequest) SetInstanceId added in v1.46.0

func (r *CreateJsPagesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateJsPagesOfWebRuleRequest) SetJsPagesSpec added in v1.46.0

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

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

func (*CreateJsPagesOfWebRuleRequest) SetRegionId added in v1.46.0

func (r *CreateJsPagesOfWebRuleRequest) SetRegionId(regionId string)

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

func (*CreateJsPagesOfWebRuleRequest) SetWebRuleId added in v1.46.0

func (r *CreateJsPagesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type CreateJsPagesOfWebRuleResponse added in v1.46.0

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

type CreateJsPagesOfWebRuleResult added in v1.46.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewCreateWebRulesRequestWithoutParam() *CreateWebRulesRequest

This constructor has better compatible ability when API parameters changed

func (CreateWebRulesRequest) GetRegionId added in v1.46.0

func (r CreateWebRulesRequest) GetRegionId() string

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

func (*CreateWebRulesRequest) SetInstanceId added in v1.46.0

func (r *CreateWebRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateWebRulesRequest) SetRegionId added in v1.46.0

func (r *CreateWebRulesRequest) SetRegionId(regionId string)

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

func (*CreateWebRulesRequest) SetWebRuleSpecList added in v1.46.0

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

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

type CreateWebRulesResponse added in v1.46.0

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

type CreateWebRulesResult added in v1.46.0

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

type CreateWhiteListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewCreateWhiteListRuleOfWebRuleRequestWithoutParam() *CreateWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (CreateWhiteListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*CreateWhiteListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *CreateWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*CreateWhiteListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *CreateWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*CreateWhiteListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *CreateWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*CreateWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleSpec added in v1.10.0

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

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

type CreateWhiteListRuleOfWebRuleResponse added in v1.10.0

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

type CreateWhiteListRuleOfWebRuleResult added in v1.10.0

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

type DeleteBlackListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDeleteBlackListRuleOfWebRuleRequestWithoutParam() *DeleteBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteBlackListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DeleteBlackListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DeleteBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteBlackListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DeleteBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DeleteBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId added in v1.10.0

func (r *DeleteBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

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

func (*DeleteBlackListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DeleteBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteBlackListRuleOfWebRuleResponse added in v1.10.0

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

type DeleteBlackListRuleOfWebRuleResult added in v1.10.0

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

type DeleteCCProtectionRuleOfWebRuleRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDeleteCCProtectionRuleOfWebRuleRequestWithoutParam() *DeleteCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCCProtectionRuleOfWebRuleRequest) GetRegionId added in v1.6.0

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

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

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

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteCCProtectionRuleOfWebRuleResponse added in v1.6.0

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

type DeleteCCProtectionRuleOfWebRuleResult added in v1.6.0

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

type DeleteCustomPageRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewDeleteCustomPageRequestWithoutParam() *DeleteCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (DeleteCustomPageRequest) GetRegionId added in v1.52.0

func (r DeleteCustomPageRequest) GetRegionId() string

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

func (*DeleteCustomPageRequest) SetInstanceId added in v1.52.0

func (r *DeleteCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DeleteCustomPageRequest) SetPageId added in v1.52.0

func (r *DeleteCustomPageRequest) SetPageId(pageId string)

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

func (*DeleteCustomPageRequest) SetRegionId added in v1.52.0

func (r *DeleteCustomPageRequest) SetRegionId(regionId string)

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

type DeleteCustomPageResponse added in v1.52.0

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

type DeleteCustomPageResult added in v1.52.0

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

type DeleteDispatchRuleRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewDeleteDispatchRuleRequestWithoutParam() *DeleteDispatchRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteDispatchRuleRequest) GetRegionId added in v1.54.0

func (r DeleteDispatchRuleRequest) GetRegionId() string

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

func (*DeleteDispatchRuleRequest) SetDispatchRuleId added in v1.54.0

func (r *DeleteDispatchRuleRequest) SetDispatchRuleId(dispatchRuleId string)

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

func (*DeleteDispatchRuleRequest) SetInstanceId added in v1.54.0

func (r *DeleteDispatchRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteDispatchRuleRequest) SetRegionId added in v1.54.0

func (r *DeleteDispatchRuleRequest) SetRegionId(regionId string)

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

type DeleteDispatchRuleResponse added in v1.54.0

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

type DeleteDispatchRuleResult added in v1.54.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDeleteIpSetRequestWithoutParam() *DeleteIpSetRequest

This constructor has better compatible ability when API parameters changed

func (DeleteIpSetRequest) GetRegionId added in v1.10.0

func (r DeleteIpSetRequest) GetRegionId() string

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

func (*DeleteIpSetRequest) SetInstanceId added in v1.10.0

func (r *DeleteIpSetRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteIpSetRequest) SetIpSetId added in v1.10.0

func (r *DeleteIpSetRequest) SetIpSetId(ipSetId string)

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

func (*DeleteIpSetRequest) SetRegionId added in v1.10.0

func (r *DeleteIpSetRequest) SetRegionId(regionId string)

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

type DeleteIpSetResponse added in v1.10.0

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

type DeleteIpSetResult added in v1.10.0

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

type DeleteJsPageOfWebRuleRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewDeleteJsPageOfWebRuleRequestWithoutParam() *DeleteJsPageOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteJsPageOfWebRuleRequest) GetRegionId added in v1.46.0

func (r DeleteJsPageOfWebRuleRequest) GetRegionId() string

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

func (*DeleteJsPageOfWebRuleRequest) SetInstanceId added in v1.46.0

func (r *DeleteJsPageOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteJsPageOfWebRuleRequest) SetJsPageId added in v1.46.0

func (r *DeleteJsPageOfWebRuleRequest) SetJsPageId(jsPageId string)

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

func (*DeleteJsPageOfWebRuleRequest) SetRegionId added in v1.46.0

func (r *DeleteJsPageOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DeleteJsPageOfWebRuleRequest) SetWebRuleId added in v1.46.0

func (r *DeleteJsPageOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DeleteJsPageOfWebRuleResponse added in v1.46.0

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

type DeleteJsPageOfWebRuleResult added in v1.46.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDeleteWhiteListRuleOfWebRuleRequestWithoutParam() *DeleteWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DeleteWhiteListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DeleteWhiteListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DeleteWhiteListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DeleteWhiteListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*DeleteWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId added in v1.10.0

func (r *DeleteWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

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

type DeleteWhiteListRuleOfWebRuleResponse added in v1.10.0

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

type DeleteWhiteListRuleOfWebRuleResult added in v1.10.0

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

type DescribeAlarmConfigRequest added in v1.6.0

type DescribeAlarmConfigRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeAlarmConfigRequest added in v1.6.0

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 added in v1.6.0

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

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

func NewDescribeAlarmConfigRequestWithoutParam added in v1.6.0

func NewDescribeAlarmConfigRequestWithoutParam() *DescribeAlarmConfigRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAlarmConfigRequest) GetRegionId added in v1.6.0

func (r DescribeAlarmConfigRequest) GetRegionId() string

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

func (*DescribeAlarmConfigRequest) SetInstanceId added in v1.6.0

func (r *DescribeAlarmConfigRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeAlarmConfigRequest) SetRegionId added in v1.6.0

func (r *DescribeAlarmConfigRequest) SetRegionId(regionId string)

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

type DescribeAlarmConfigResponse added in v1.6.0

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

type DescribeAlarmConfigResult added in v1.6.0

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

type DescribeAttackStatisticsRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeAttackStatisticsRequestWithoutParam() *DescribeAttackStatisticsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAttackStatisticsRequest) GetRegionId added in v1.6.0

func (r DescribeAttackStatisticsRequest) GetRegionId() string

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

func (*DescribeAttackStatisticsRequest) SetEndTime added in v1.6.0

func (r *DescribeAttackStatisticsRequest) SetEndTime(endTime string)

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

func (*DescribeAttackStatisticsRequest) SetInstanceId added in v1.6.0

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

param instanceId: 高防实例 ID(Optional)

func (*DescribeAttackStatisticsRequest) SetRegionId added in v1.6.0

func (r *DescribeAttackStatisticsRequest) SetRegionId(regionId string)

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

func (*DescribeAttackStatisticsRequest) SetServiceIp added in v1.56.0

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 added in v1.6.0

func (r *DescribeAttackStatisticsRequest) SetStartTime(startTime string)

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

func (*DescribeAttackStatisticsRequest) SetType added in v1.6.0

func (r *DescribeAttackStatisticsRequest) SetType(type_ int)

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

type DescribeAttackStatisticsResponse added in v1.6.0

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

type DescribeAttackStatisticsResult added in v1.6.0

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

type DescribeAttackTypeCountRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeAttackTypeCountRequestWithoutParam() *DescribeAttackTypeCountRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAttackTypeCountRequest) GetRegionId added in v1.6.0

func (r DescribeAttackTypeCountRequest) GetRegionId() string

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

func (*DescribeAttackTypeCountRequest) SetEndTime added in v1.6.0

func (r *DescribeAttackTypeCountRequest) SetEndTime(endTime string)

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

func (*DescribeAttackTypeCountRequest) SetInstanceId added in v1.6.0

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

param instanceId: 高防实例 ID(Optional)

func (*DescribeAttackTypeCountRequest) SetRegionId added in v1.6.0

func (r *DescribeAttackTypeCountRequest) SetRegionId(regionId string)

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

func (*DescribeAttackTypeCountRequest) SetServiceIp added in v1.56.0

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 added in v1.6.0

func (r *DescribeAttackTypeCountRequest) SetStartTime(startTime string)

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

type DescribeAttackTypeCountResponse added in v1.6.0

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

type DescribeAttackTypeCountResult added in v1.6.0

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

type DescribeBlackListRuleOfForwardRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeBlackListRuleOfForwardRuleRequestWithoutParam() *DescribeBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBlackListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeBlackListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *DescribeBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeBlackListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeBlackListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type DescribeBlackListRuleOfForwardRuleResponse added in v1.10.0

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

type DescribeBlackListRuleOfForwardRuleResult added in v1.10.0

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

type DescribeBlackListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeBlackListRuleOfWebRuleRequestWithoutParam() *DescribeBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBlackListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeBlackListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeBlackListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId added in v1.10.0

func (r *DescribeBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

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

func (*DescribeBlackListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeBlackListRuleOfWebRuleResponse added in v1.10.0

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

type DescribeBlackListRuleOfWebRuleResult added in v1.10.0

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

type DescribeBlackListRulesOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeBlackListRulesOfWebRuleRequestWithoutParam() *DescribeBlackListRulesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBlackListRulesOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeBlackListRulesOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeBlackListRulesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeBlackListRulesOfWebRuleRequest) SetPageNumber added in v1.10.0

func (r *DescribeBlackListRulesOfWebRuleRequest) SetPageNumber(pageNumber int)

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

func (*DescribeBlackListRulesOfWebRuleRequest) SetPageSize added in v1.10.0

func (r *DescribeBlackListRulesOfWebRuleRequest) SetPageSize(pageSize int)

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

func (*DescribeBlackListRulesOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeBlackListRulesOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeBlackListRulesOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeBlackListRulesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeBlackListRulesOfWebRuleResponse added in v1.10.0

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

type DescribeBlackListRulesOfWebRuleResult added in v1.10.0

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

type DescribeBusinessGraphRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewDescribeBusinessGraphRequestWithoutParam() *DescribeBusinessGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBusinessGraphRequest) GetRegionId added in v1.52.0

func (r DescribeBusinessGraphRequest) GetRegionId() string

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

func (*DescribeBusinessGraphRequest) SetEndTime added in v1.52.0

func (r *DescribeBusinessGraphRequest) SetEndTime(endTime string)

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

func (*DescribeBusinessGraphRequest) SetInstanceId added in v1.52.0

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

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

func (*DescribeBusinessGraphRequest) SetRegionId added in v1.52.0

func (r *DescribeBusinessGraphRequest) SetRegionId(regionId string)

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

func (*DescribeBusinessGraphRequest) SetServiceIp added in v1.56.0

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 added in v1.52.0

func (r *DescribeBusinessGraphRequest) SetStartTime(startTime string)

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

type DescribeBusinessGraphResponse added in v1.52.0

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

type DescribeBusinessGraphResult added in v1.52.0

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

type DescribeCCAttackLogDetailsRequest added in v1.6.0

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 added in v1.6.0

func NewDescribeCCAttackLogDetailsRequest(
	regionId string,
) *DescribeCCAttackLogDetailsRequest

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

func NewDescribeCCAttackLogDetailsRequestWithAllParams added in v1.6.0

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 added in v1.6.0

func NewDescribeCCAttackLogDetailsRequestWithoutParam() *DescribeCCAttackLogDetailsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCAttackLogDetailsRequest) GetRegionId added in v1.6.0

func (r DescribeCCAttackLogDetailsRequest) GetRegionId() string

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

func (*DescribeCCAttackLogDetailsRequest) SetAttackId added in v1.10.0

func (r *DescribeCCAttackLogDetailsRequest) SetAttackId(attackId string)

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

func (*DescribeCCAttackLogDetailsRequest) SetEndTime added in v1.6.0

func (r *DescribeCCAttackLogDetailsRequest) SetEndTime(endTime string)

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

func (*DescribeCCAttackLogDetailsRequest) SetInstanceId added in v1.6.0

func (r *DescribeCCAttackLogDetailsRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 ID(Optional)

func (*DescribeCCAttackLogDetailsRequest) SetPageNumber added in v1.6.0

func (r *DescribeCCAttackLogDetailsRequest) SetPageNumber(pageNumber int)

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

func (*DescribeCCAttackLogDetailsRequest) SetPageSize added in v1.6.0

func (r *DescribeCCAttackLogDetailsRequest) SetPageSize(pageSize int)

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

func (*DescribeCCAttackLogDetailsRequest) SetRegionId added in v1.6.0

func (r *DescribeCCAttackLogDetailsRequest) SetRegionId(regionId string)

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

func (*DescribeCCAttackLogDetailsRequest) SetStartTime added in v1.6.0

func (r *DescribeCCAttackLogDetailsRequest) SetStartTime(startTime string)

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

func (*DescribeCCAttackLogDetailsRequest) SetSubDomain added in v1.6.0

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

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

type DescribeCCAttackLogDetailsResponse added in v1.6.0

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

type DescribeCCAttackLogDetailsResult added in v1.6.0

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

type DescribeCCAttackLogsRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeCCAttackLogsRequestWithoutParam() *DescribeCCAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCAttackLogsRequest) GetRegionId added in v1.6.0

func (r DescribeCCAttackLogsRequest) GetRegionId() string

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

func (*DescribeCCAttackLogsRequest) SetEndTime added in v1.6.0

func (r *DescribeCCAttackLogsRequest) SetEndTime(endTime string)

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

func (*DescribeCCAttackLogsRequest) SetInstanceId added in v1.6.0

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

param instanceId: 高防实例 ID(Optional)

func (*DescribeCCAttackLogsRequest) SetPageNumber added in v1.6.0

func (r *DescribeCCAttackLogsRequest) SetPageNumber(pageNumber int)

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

func (*DescribeCCAttackLogsRequest) SetPageSize added in v1.6.0

func (r *DescribeCCAttackLogsRequest) SetPageSize(pageSize int)

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

func (*DescribeCCAttackLogsRequest) SetRegionId added in v1.6.0

func (r *DescribeCCAttackLogsRequest) SetRegionId(regionId string)

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

func (*DescribeCCAttackLogsRequest) SetStartTime added in v1.6.0

func (r *DescribeCCAttackLogsRequest) SetStartTime(startTime string)

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

type DescribeCCAttackLogsResponse added in v1.6.0

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

type DescribeCCAttackLogsResult added in v1.6.0

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

type DescribeCCGraphRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeCCGraphRequestWithoutParam() *DescribeCCGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCGraphRequest) GetRegionId added in v1.6.0

func (r DescribeCCGraphRequest) GetRegionId() string

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

func (*DescribeCCGraphRequest) SetEndTime added in v1.6.0

func (r *DescribeCCGraphRequest) SetEndTime(endTime string)

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

func (*DescribeCCGraphRequest) SetInstanceId added in v1.6.0

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

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

func (*DescribeCCGraphRequest) SetRegionId added in v1.6.0

func (r *DescribeCCGraphRequest) SetRegionId(regionId string)

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

func (*DescribeCCGraphRequest) SetStartTime added in v1.6.0

func (r *DescribeCCGraphRequest) SetStartTime(startTime string)

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

func (*DescribeCCGraphRequest) SetSubDomain added in v1.6.0

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

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

type DescribeCCGraphResponse added in v1.6.0

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

type DescribeCCGraphResult added in v1.6.0

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

type DescribeCCProtectionConfigOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeCCProtectionConfigOfWebRuleRequestWithoutParam() *DescribeCCProtectionConfigOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionConfigOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeCCProtectionConfigOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeCCProtectionConfigOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionConfigOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeCCProtectionConfigOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeCCProtectionConfigOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeCCProtectionConfigOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionConfigOfWebRuleResponse added in v1.10.0

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

type DescribeCCProtectionConfigOfWebRuleResult added in v1.10.0

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

type DescribeCCProtectionDefaultConfigOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeCCProtectionDefaultConfigOfWebRuleRequestWithoutParam() *DescribeCCProtectionDefaultConfigOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionDefaultConfigOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetRegionId added in v1.10.0

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

func (*DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeCCProtectionDefaultConfigOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionDefaultConfigOfWebRuleResponse added in v1.10.0

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

type DescribeCCProtectionDefaultConfigOfWebRuleResult added in v1.10.0

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

type DescribeCCProtectionRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeCCProtectionRuleOfWebRuleRequestWithoutParam() *DescribeCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId added in v1.10.0

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

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

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionRuleOfWebRuleResponse added in v1.10.0

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

type DescribeCCProtectionRuleOfWebRuleResult added in v1.10.0

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

type DescribeCCProtectionRulesOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeCCProtectionRulesOfWebRuleRequestWithoutParam() *DescribeCCProtectionRulesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCProtectionRulesOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeCCProtectionRulesOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeCCProtectionRulesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeCCProtectionRulesOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeCCProtectionRulesOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeCCProtectionRulesOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeCCProtectionRulesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeCCProtectionRulesOfWebRuleResponse added in v1.10.0

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

type DescribeCCProtectionRulesOfWebRuleResult added in v1.10.0

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

type DescribeCcsIpListRequest added in v1.52.0

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 added in v1.52.0

func NewDescribeCcsIpListRequest(
	regionId string,
) *DescribeCcsIpListRequest

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

func NewDescribeCcsIpListRequestWithAllParams added in v1.52.0

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 added in v1.52.0

func NewDescribeCcsIpListRequestWithoutParam() *DescribeCcsIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCcsIpListRequest) GetRegionId added in v1.52.0

func (r DescribeCcsIpListRequest) GetRegionId() string

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

func (*DescribeCcsIpListRequest) SetPageNumber added in v1.52.0

func (r *DescribeCcsIpListRequest) SetPageNumber(pageNumber int)

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

func (*DescribeCcsIpListRequest) SetPageSize added in v1.52.0

func (r *DescribeCcsIpListRequest) SetPageSize(pageSize int)

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

func (*DescribeCcsIpListRequest) SetRegionId added in v1.52.0

func (r *DescribeCcsIpListRequest) SetRegionId(regionId string)

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

type DescribeCcsIpListResponse added in v1.52.0

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

type DescribeCcsIpListResult added in v1.52.0

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

type DescribeConnStatGraphRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewDescribeConnStatGraphRequestWithoutParam() *DescribeConnStatGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeConnStatGraphRequest) GetRegionId added in v1.52.0

func (r DescribeConnStatGraphRequest) GetRegionId() string

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

func (*DescribeConnStatGraphRequest) SetEndTime added in v1.52.0

func (r *DescribeConnStatGraphRequest) SetEndTime(endTime string)

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

func (*DescribeConnStatGraphRequest) SetInstanceId added in v1.52.0

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

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

func (*DescribeConnStatGraphRequest) SetRegionId added in v1.52.0

func (r *DescribeConnStatGraphRequest) SetRegionId(regionId string)

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

func (*DescribeConnStatGraphRequest) SetServiceIp added in v1.56.0

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 added in v1.52.0

func (r *DescribeConnStatGraphRequest) SetStartTime(startTime string)

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

type DescribeConnStatGraphResponse added in v1.52.0

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

type DescribeConnStatGraphResult added in v1.52.0

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

type DescribeCpsIpListRequest added in v1.10.0

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 added in v1.10.0

func NewDescribeCpsIpListRequest(
	regionId string,
) *DescribeCpsIpListRequest

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

func NewDescribeCpsIpListRequestWithAllParams added in v1.10.0

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 added in v1.10.0

func NewDescribeCpsIpListRequestWithoutParam() *DescribeCpsIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCpsIpListRequest) GetRegionId added in v1.10.0

func (r DescribeCpsIpListRequest) GetRegionId() string

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

func (*DescribeCpsIpListRequest) SetPageNumber added in v1.10.0

func (r *DescribeCpsIpListRequest) SetPageNumber(pageNumber int)

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

func (*DescribeCpsIpListRequest) SetPageSize added in v1.10.0

func (r *DescribeCpsIpListRequest) SetPageSize(pageSize int)

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

func (*DescribeCpsIpListRequest) SetRegionId added in v1.10.0

func (r *DescribeCpsIpListRequest) SetRegionId(regionId string)

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

type DescribeCpsIpListResponse added in v1.10.0

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

type DescribeCpsIpListResult added in v1.10.0

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

type DescribeCustomPagesRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewDescribeCustomPagesRequestWithoutParam() *DescribeCustomPagesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCustomPagesRequest) GetRegionId added in v1.52.0

func (r DescribeCustomPagesRequest) GetRegionId() string

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

func (*DescribeCustomPagesRequest) SetInstanceId added in v1.52.0

func (r *DescribeCustomPagesRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeCustomPagesRequest) SetRegionId added in v1.52.0

func (r *DescribeCustomPagesRequest) SetRegionId(regionId string)

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

func (*DescribeCustomPagesRequest) SetStatus added in v1.52.0

func (r *DescribeCustomPagesRequest) SetStatus(status string)

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

type DescribeCustomPagesResponse added in v1.52.0

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

type DescribeCustomPagesResult added in v1.52.0

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

type DescribeDDoSAttackLogsRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeDDoSAttackLogsRequestWithoutParam() *DescribeDDoSAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDDoSAttackLogsRequest) GetRegionId added in v1.6.0

func (r DescribeDDoSAttackLogsRequest) GetRegionId() string

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

func (*DescribeDDoSAttackLogsRequest) SetEndTime added in v1.6.0

func (r *DescribeDDoSAttackLogsRequest) SetEndTime(endTime string)

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

func (*DescribeDDoSAttackLogsRequest) SetInstanceId added in v1.6.0

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

param instanceId: 高防实例 ID(Optional)

func (*DescribeDDoSAttackLogsRequest) SetPageNumber added in v1.6.0

func (r *DescribeDDoSAttackLogsRequest) SetPageNumber(pageNumber int)

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

func (*DescribeDDoSAttackLogsRequest) SetPageSize added in v1.6.0

func (r *DescribeDDoSAttackLogsRequest) SetPageSize(pageSize int)

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

func (*DescribeDDoSAttackLogsRequest) SetRegionId added in v1.6.0

func (r *DescribeDDoSAttackLogsRequest) SetRegionId(regionId string)

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

func (*DescribeDDoSAttackLogsRequest) SetStartTime added in v1.6.0

func (r *DescribeDDoSAttackLogsRequest) SetStartTime(startTime string)

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

type DescribeDDoSAttackLogsResponse added in v1.6.0

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

type DescribeDDoSAttackLogsResult added in v1.6.0

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

type DescribeDDoSGraphRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeDDoSGraphRequestWithoutParam() *DescribeDDoSGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDDoSGraphRequest) GetRegionId added in v1.6.0

func (r DescribeDDoSGraphRequest) GetRegionId() string

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

func (*DescribeDDoSGraphRequest) SetEndTime added in v1.6.0

func (r *DescribeDDoSGraphRequest) SetEndTime(endTime string)

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

func (*DescribeDDoSGraphRequest) SetInstanceId added in v1.6.0

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

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

func (*DescribeDDoSGraphRequest) SetRegionId added in v1.6.0

func (r *DescribeDDoSGraphRequest) SetRegionId(regionId string)

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

func (*DescribeDDoSGraphRequest) SetServiceIp added in v1.56.0

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 added in v1.6.0

func (r *DescribeDDoSGraphRequest) SetStartTime(startTime string)

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

type DescribeDDoSGraphResponse added in v1.6.0

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

type DescribeDDoSGraphResult added in v1.6.0

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

type DescribeDDoSIpAttackLogsRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewDescribeDDoSIpAttackLogsRequestWithoutParam() *DescribeDDoSIpAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDDoSIpAttackLogsRequest) GetRegionId added in v1.52.0

func (r DescribeDDoSIpAttackLogsRequest) GetRegionId() string

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

func (*DescribeDDoSIpAttackLogsRequest) SetEndTime added in v1.52.0

func (r *DescribeDDoSIpAttackLogsRequest) SetEndTime(endTime string)

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

func (*DescribeDDoSIpAttackLogsRequest) SetInstanceId added in v1.52.0

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

param instanceId: 高防实例 ID(Optional)

func (*DescribeDDoSIpAttackLogsRequest) SetPageNumber added in v1.52.0

func (r *DescribeDDoSIpAttackLogsRequest) SetPageNumber(pageNumber int)

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

func (*DescribeDDoSIpAttackLogsRequest) SetPageSize added in v1.52.0

func (r *DescribeDDoSIpAttackLogsRequest) SetPageSize(pageSize int)

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

func (*DescribeDDoSIpAttackLogsRequest) SetRegionId added in v1.52.0

func (r *DescribeDDoSIpAttackLogsRequest) SetRegionId(regionId string)

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

func (*DescribeDDoSIpAttackLogsRequest) SetServiceIp added in v1.56.0

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 added in v1.52.0

func (r *DescribeDDoSIpAttackLogsRequest) SetStartTime(startTime string)

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

type DescribeDDoSIpAttackLogsResponse added in v1.52.0

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

type DescribeDDoSIpAttackLogsResult added in v1.52.0

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

type DescribeDispatchRulesRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewDescribeDispatchRulesRequestWithoutParam() *DescribeDispatchRulesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDispatchRulesRequest) GetRegionId added in v1.54.0

func (r DescribeDispatchRulesRequest) GetRegionId() string

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

func (*DescribeDispatchRulesRequest) SetInnerIp added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetInnerIp(innerIp string)

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

func (*DescribeDispatchRulesRequest) SetInstanceId added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeDispatchRulesRequest) SetName added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetName(name string)

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

func (*DescribeDispatchRulesRequest) SetPageNumber added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetPageNumber(pageNumber int)

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

func (*DescribeDispatchRulesRequest) SetPageSize added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetPageSize(pageSize int)

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

func (*DescribeDispatchRulesRequest) SetRegionId added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetRegionId(regionId string)

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

func (*DescribeDispatchRulesRequest) SetServiceIp added in v1.54.0

func (r *DescribeDispatchRulesRequest) SetServiceIp(serviceIp string)

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

type DescribeDispatchRulesResponse added in v1.54.0

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

type DescribeDispatchRulesResult added in v1.54.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.6.0

func (r *DescribeForwardRulesRequest) SetSearchType(searchType string)

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

func (*DescribeForwardRulesRequest) SetSearchValue added in v1.6.0

func (r *DescribeForwardRulesRequest) SetSearchValue(searchValue string)

param searchValue: 查询类型值(Optional)

func (*DescribeForwardRulesRequest) SetSorts added in v1.46.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeFwdGraphRequestWithoutParam() *DescribeFwdGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeFwdGraphRequest) GetRegionId added in v1.6.0

func (r DescribeFwdGraphRequest) GetRegionId() string

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

func (*DescribeFwdGraphRequest) SetEndTime added in v1.6.0

func (r *DescribeFwdGraphRequest) SetEndTime(endTime string)

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

func (*DescribeFwdGraphRequest) SetInstanceId added in v1.6.0

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

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

func (*DescribeFwdGraphRequest) SetRegionId added in v1.6.0

func (r *DescribeFwdGraphRequest) SetRegionId(regionId string)

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

func (*DescribeFwdGraphRequest) SetStartTime added in v1.6.0

func (r *DescribeFwdGraphRequest) SetStartTime(startTime string)

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

type DescribeFwdGraphResponse added in v1.6.0

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

type DescribeFwdGraphResult added in v1.6.0

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

type DescribeGeoAreasRequest added in v1.6.0

type DescribeGeoAreasRequest struct {
	core.JDCloudRequest

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

func NewDescribeGeoAreasRequest added in v1.6.0

func NewDescribeGeoAreasRequest(
	regionId string,
) *DescribeGeoAreasRequest

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

func NewDescribeGeoAreasRequestWithAllParams added in v1.6.0

func NewDescribeGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeGeoAreasRequest

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

func NewDescribeGeoAreasRequestWithoutParam added in v1.6.0

func NewDescribeGeoAreasRequestWithoutParam() *DescribeGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeGeoAreasRequest) GetRegionId added in v1.6.0

func (r DescribeGeoAreasRequest) GetRegionId() string

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

func (*DescribeGeoAreasRequest) SetRegionId added in v1.6.0

func (r *DescribeGeoAreasRequest) SetRegionId(regionId string)

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

type DescribeGeoAreasResponse added in v1.6.0

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

type DescribeGeoAreasResult added in v1.6.0

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

type DescribeInstanceAclRequest added in v1.52.0

type DescribeInstanceAclRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeInstanceAclRequest added in v1.52.0

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 added in v1.52.0

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

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

func NewDescribeInstanceAclRequestWithoutParam added in v1.52.0

func NewDescribeInstanceAclRequestWithoutParam() *DescribeInstanceAclRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceAclRequest) GetRegionId added in v1.52.0

func (r DescribeInstanceAclRequest) GetRegionId() string

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

func (*DescribeInstanceAclRequest) SetInstanceId added in v1.52.0

func (r *DescribeInstanceAclRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeInstanceAclRequest) SetRegionId added in v1.52.0

func (r *DescribeInstanceAclRequest) SetRegionId(regionId string)

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

type DescribeInstanceAclResponse added in v1.52.0

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

type DescribeInstanceAclResult added in v1.52.0

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

type DescribeInstanceIdByResourceIdRequest added in v1.56.0

type DescribeInstanceIdByResourceIdRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeInstanceIdByResourceIdRequest added in v1.56.0

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 added in v1.56.0

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

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

func NewDescribeInstanceIdByResourceIdRequestWithoutParam added in v1.56.0

func NewDescribeInstanceIdByResourceIdRequestWithoutParam() *DescribeInstanceIdByResourceIdRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceIdByResourceIdRequest) GetRegionId added in v1.56.0

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

func (*DescribeInstanceIdByResourceIdRequest) SetRegionId added in v1.56.0

func (r *DescribeInstanceIdByResourceIdRequest) SetRegionId(regionId string)

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

func (*DescribeInstanceIdByResourceIdRequest) SetResourceId added in v1.56.0

func (r *DescribeInstanceIdByResourceIdRequest) SetResourceId(resourceId string)

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

type DescribeInstanceIdByResourceIdResponse added in v1.56.0

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

type DescribeInstanceIdByResourceIdResult added in v1.56.0

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 added in v1.0.3

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

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

func NewDescribeInstanceRequestWithoutParam added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeIpSetRequestWithoutParam() *DescribeIpSetRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIpSetRequest) GetRegionId added in v1.10.0

func (r DescribeIpSetRequest) GetRegionId() string

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

func (*DescribeIpSetRequest) SetInstanceId added in v1.10.0

func (r *DescribeIpSetRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeIpSetRequest) SetIpSetId added in v1.10.0

func (r *DescribeIpSetRequest) SetIpSetId(ipSetId string)

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

func (*DescribeIpSetRequest) SetRegionId added in v1.10.0

func (r *DescribeIpSetRequest) SetRegionId(regionId string)

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

type DescribeIpSetResponse added in v1.10.0

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

type DescribeIpSetResult added in v1.10.0

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

type DescribeIpSetUsageRequest added in v1.10.0

type DescribeIpSetUsageRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeIpSetUsageRequest added in v1.10.0

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 added in v1.10.0

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

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

func NewDescribeIpSetUsageRequestWithoutParam added in v1.10.0

func NewDescribeIpSetUsageRequestWithoutParam() *DescribeIpSetUsageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIpSetUsageRequest) GetRegionId added in v1.10.0

func (r DescribeIpSetUsageRequest) GetRegionId() string

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

func (*DescribeIpSetUsageRequest) SetInstanceId added in v1.10.0

func (r *DescribeIpSetUsageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeIpSetUsageRequest) SetRegionId added in v1.10.0

func (r *DescribeIpSetUsageRequest) SetRegionId(regionId string)

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

type DescribeIpSetUsageResponse added in v1.10.0

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

type DescribeIpSetUsageResult added in v1.10.0

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

type DescribeIpSetsRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeIpSetsRequestWithoutParam() *DescribeIpSetsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIpSetsRequest) GetRegionId added in v1.10.0

func (r DescribeIpSetsRequest) GetRegionId() string

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

func (*DescribeIpSetsRequest) SetInstanceId added in v1.10.0

func (r *DescribeIpSetsRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeIpSetsRequest) SetPageNumber added in v1.10.0

func (r *DescribeIpSetsRequest) SetPageNumber(pageNumber int)

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

func (*DescribeIpSetsRequest) SetPageSize added in v1.10.0

func (r *DescribeIpSetsRequest) SetPageSize(pageSize int)

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

func (*DescribeIpSetsRequest) SetRegionId added in v1.10.0

func (r *DescribeIpSetsRequest) SetRegionId(regionId string)

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

type DescribeIpSetsResponse added in v1.10.0

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

type DescribeIpSetsResult added in v1.10.0

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

type DescribeJsPagesOfWebRuleRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewDescribeJsPagesOfWebRuleRequestWithoutParam() *DescribeJsPagesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeJsPagesOfWebRuleRequest) GetRegionId added in v1.46.0

func (r DescribeJsPagesOfWebRuleRequest) GetRegionId() string

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

func (*DescribeJsPagesOfWebRuleRequest) SetInstanceId added in v1.46.0

func (r *DescribeJsPagesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeJsPagesOfWebRuleRequest) SetPageNumber added in v1.46.0

func (r *DescribeJsPagesOfWebRuleRequest) SetPageNumber(pageNumber int)

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

func (*DescribeJsPagesOfWebRuleRequest) SetPageSize added in v1.46.0

func (r *DescribeJsPagesOfWebRuleRequest) SetPageSize(pageSize int)

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

func (*DescribeJsPagesOfWebRuleRequest) SetRegionId added in v1.46.0

func (r *DescribeJsPagesOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeJsPagesOfWebRuleRequest) SetWebRuleId added in v1.46.0

func (r *DescribeJsPagesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeJsPagesOfWebRuleResponse added in v1.46.0

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

type DescribeJsPagesOfWebRuleResult added in v1.46.0

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

type DescribeNameListRequest added in v1.6.0

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 added in v1.6.0

func NewDescribeNameListRequest(
	regionId string,
) *DescribeNameListRequest

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

func NewDescribeNameListRequestWithAllParams added in v1.6.0

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 added in v1.6.0

func NewDescribeNameListRequestWithoutParam() *DescribeNameListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNameListRequest) GetRegionId added in v1.6.0

func (r DescribeNameListRequest) GetRegionId() string

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

func (*DescribeNameListRequest) SetId added in v1.6.0

func (r *DescribeNameListRequest) SetId(id string)

param id: 高防实例 ID, 为空则查询所有实例名称(Optional)

func (*DescribeNameListRequest) SetName added in v1.6.0

func (r *DescribeNameListRequest) SetName(name string)

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

func (*DescribeNameListRequest) SetPageNumber added in v1.6.0

func (r *DescribeNameListRequest) SetPageNumber(pageNumber int)

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

func (*DescribeNameListRequest) SetPageSize added in v1.6.0

func (r *DescribeNameListRequest) SetPageSize(pageSize int)

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

func (*DescribeNameListRequest) SetRegionId added in v1.6.0

func (r *DescribeNameListRequest) SetRegionId(regionId string)

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

type DescribeNameListResponse added in v1.6.0

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

type DescribeNameListResult added in v1.6.0

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

type DescribeOriginWhiteIpListRequest added in v1.54.0

type DescribeOriginWhiteIpListRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeOriginWhiteIpListRequest added in v1.54.0

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 added in v1.54.0

func NewDescribeOriginWhiteIpListRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeOriginWhiteIpListRequest

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

func NewDescribeOriginWhiteIpListRequestWithoutParam added in v1.54.0

func NewDescribeOriginWhiteIpListRequestWithoutParam() *DescribeOriginWhiteIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeOriginWhiteIpListRequest) GetRegionId added in v1.54.0

func (r DescribeOriginWhiteIpListRequest) GetRegionId() string

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

func (*DescribeOriginWhiteIpListRequest) SetInstanceId added in v1.54.0

func (r *DescribeOriginWhiteIpListRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeOriginWhiteIpListRequest) SetRegionId added in v1.54.0

func (r *DescribeOriginWhiteIpListRequest) SetRegionId(regionId string)

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

type DescribeOriginWhiteIpListResponse added in v1.54.0

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

type DescribeOriginWhiteIpListResult added in v1.54.0

type DescribeOriginWhiteIpListResult struct {
	Data []string `json:"data"`
}

type DescribeProtectionOutlineRequest added in v1.54.0

type DescribeProtectionOutlineRequest struct {
	core.JDCloudRequest

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

func NewDescribeProtectionOutlineRequest added in v1.54.0

func NewDescribeProtectionOutlineRequest(
	regionId string,
) *DescribeProtectionOutlineRequest

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

func NewDescribeProtectionOutlineRequestWithAllParams added in v1.54.0

func NewDescribeProtectionOutlineRequestWithAllParams(
	regionId string,
) *DescribeProtectionOutlineRequest

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

func NewDescribeProtectionOutlineRequestWithoutParam added in v1.54.0

func NewDescribeProtectionOutlineRequestWithoutParam() *DescribeProtectionOutlineRequest

This constructor has better compatible ability when API parameters changed

func (DescribeProtectionOutlineRequest) GetRegionId added in v1.54.0

func (r DescribeProtectionOutlineRequest) GetRegionId() string

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

func (*DescribeProtectionOutlineRequest) SetRegionId added in v1.54.0

func (r *DescribeProtectionOutlineRequest) SetRegionId(regionId string)

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

type DescribeProtectionOutlineResponse added in v1.54.0

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

type DescribeProtectionOutlineResult added in v1.54.0

type DescribeProtectionOutlineResult struct {
	Data ipanti.ProtectionOutline `json:"data"`
}

type DescribeProtectionRuleOfForwardRuleRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeProtectionRuleOfForwardRuleRequestWithoutParam() *DescribeProtectionRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeProtectionRuleOfForwardRuleRequest) GetRegionId added in v1.6.0

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

func (*DescribeProtectionRuleOfForwardRuleRequest) SetForwardRuleId added in v1.6.0

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeProtectionRuleOfForwardRuleRequest) SetInstanceId added in v1.6.0

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeProtectionRuleOfForwardRuleRequest) SetRegionId added in v1.6.0

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type DescribeProtectionRuleOfForwardRuleResponse added in v1.6.0

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

type DescribeProtectionRuleOfForwardRuleResult added in v1.6.0

type DescribeProtectionRuleOfForwardRuleResult struct {
	ProtectionRule ipanti.ForwardProtectionRule `json:"protectionRule"`
}

type DescribeProtectionStatisticsRequest added in v1.6.0

type DescribeProtectionStatisticsRequest struct {
	core.JDCloudRequest

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

func NewDescribeProtectionStatisticsRequest added in v1.6.0

func NewDescribeProtectionStatisticsRequest(
	regionId string,
) *DescribeProtectionStatisticsRequest

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

func NewDescribeProtectionStatisticsRequestWithAllParams added in v1.6.0

func NewDescribeProtectionStatisticsRequestWithAllParams(
	regionId string,
) *DescribeProtectionStatisticsRequest

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

func NewDescribeProtectionStatisticsRequestWithoutParam added in v1.6.0

func NewDescribeProtectionStatisticsRequestWithoutParam() *DescribeProtectionStatisticsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeProtectionStatisticsRequest) GetRegionId added in v1.6.0

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

func (*DescribeProtectionStatisticsRequest) SetRegionId added in v1.6.0

func (r *DescribeProtectionStatisticsRequest) SetRegionId(regionId string)

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

type DescribeProtectionStatisticsResponse added in v1.6.0

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

type DescribeProtectionStatisticsResult added in v1.6.0

type DescribeProtectionStatisticsResult struct {
	Data ipanti.ProtectionStatistics `json:"data"`
}

type DescribeServiceIpListRequest added in v1.32.0

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 added in v1.32.0

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 added in v1.32.0

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 added in v1.32.0

func NewDescribeServiceIpListRequestWithoutParam() *DescribeServiceIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeServiceIpListRequest) GetRegionId added in v1.32.0

func (r DescribeServiceIpListRequest) GetRegionId() string

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

func (*DescribeServiceIpListRequest) SetInstanceId added in v1.32.0

func (r *DescribeServiceIpListRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DescribeServiceIpListRequest) SetPageNumber added in v1.32.0

func (r *DescribeServiceIpListRequest) SetPageNumber(pageNumber int)

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

func (*DescribeServiceIpListRequest) SetPageSize added in v1.32.0

func (r *DescribeServiceIpListRequest) SetPageSize(pageSize int)

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

func (*DescribeServiceIpListRequest) SetRegionId added in v1.32.0

func (r *DescribeServiceIpListRequest) SetRegionId(regionId string)

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

type DescribeServiceIpListResponse added in v1.32.0

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

type DescribeServiceIpListResult added in v1.32.0

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

type DescribeStatusGraphRequest added in v1.56.0

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 added in v1.56.0

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 added in v1.56.0

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 added in v1.56.0

func NewDescribeStatusGraphRequestWithoutParam() *DescribeStatusGraphRequest

This constructor has better compatible ability when API parameters changed

func (DescribeStatusGraphRequest) GetRegionId added in v1.56.0

func (r DescribeStatusGraphRequest) GetRegionId() string

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

func (*DescribeStatusGraphRequest) SetEndTime added in v1.56.0

func (r *DescribeStatusGraphRequest) SetEndTime(endTime string)

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

func (*DescribeStatusGraphRequest) SetInstanceId added in v1.56.0

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

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

func (*DescribeStatusGraphRequest) SetRegionId added in v1.56.0

func (r *DescribeStatusGraphRequest) SetRegionId(regionId string)

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

func (*DescribeStatusGraphRequest) SetStartTime added in v1.56.0

func (r *DescribeStatusGraphRequest) SetStartTime(startTime string)

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

func (*DescribeStatusGraphRequest) SetSubDomain added in v1.56.0

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

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

type DescribeStatusGraphResponse added in v1.56.0

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

type DescribeStatusGraphResult added in v1.56.0

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 added in v1.6.0

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 added in v1.6.0

func NewDescribeVpcIpListRequest(
	regionId string,
) *DescribeVpcIpListRequest

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

func NewDescribeVpcIpListRequestWithAllParams added in v1.6.0

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 added in v1.6.0

func NewDescribeVpcIpListRequestWithoutParam() *DescribeVpcIpListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeVpcIpListRequest) GetRegionId added in v1.6.0

func (r DescribeVpcIpListRequest) GetRegionId() string

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

func (*DescribeVpcIpListRequest) SetPageNumber added in v1.6.0

func (r *DescribeVpcIpListRequest) SetPageNumber(pageNumber int)

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

func (*DescribeVpcIpListRequest) SetPageSize added in v1.6.0

func (r *DescribeVpcIpListRequest) SetPageSize(pageSize int)

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

func (*DescribeVpcIpListRequest) SetRegionId added in v1.6.0

func (r *DescribeVpcIpListRequest) SetRegionId(regionId string)

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

type DescribeVpcIpListResponse added in v1.6.0

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

type DescribeVpcIpListResult added in v1.6.0

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

type DescribeWebRuleBlackListGeoAreasRequest added in v1.10.0

type DescribeWebRuleBlackListGeoAreasRequest struct {
	core.JDCloudRequest

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

func NewDescribeWebRuleBlackListGeoAreasRequest added in v1.10.0

func NewDescribeWebRuleBlackListGeoAreasRequest(
	regionId string,
) *DescribeWebRuleBlackListGeoAreasRequest

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

func NewDescribeWebRuleBlackListGeoAreasRequestWithAllParams added in v1.10.0

func NewDescribeWebRuleBlackListGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeWebRuleBlackListGeoAreasRequest

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

func NewDescribeWebRuleBlackListGeoAreasRequestWithoutParam added in v1.10.0

func NewDescribeWebRuleBlackListGeoAreasRequestWithoutParam() *DescribeWebRuleBlackListGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleBlackListGeoAreasRequest) GetRegionId added in v1.10.0

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

func (*DescribeWebRuleBlackListGeoAreasRequest) SetRegionId added in v1.10.0

func (r *DescribeWebRuleBlackListGeoAreasRequest) SetRegionId(regionId string)

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

type DescribeWebRuleBlackListGeoAreasResponse added in v1.10.0

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

type DescribeWebRuleBlackListGeoAreasResult added in v1.10.0

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

type DescribeWebRuleBlackListUsageRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeWebRuleBlackListUsageRequestWithoutParam() *DescribeWebRuleBlackListUsageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleBlackListUsageRequest) GetRegionId added in v1.10.0

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

func (*DescribeWebRuleBlackListUsageRequest) SetInstanceId added in v1.10.0

func (r *DescribeWebRuleBlackListUsageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRuleBlackListUsageRequest) SetRegionId added in v1.10.0

func (r *DescribeWebRuleBlackListUsageRequest) SetRegionId(regionId string)

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

func (*DescribeWebRuleBlackListUsageRequest) SetWebRuleId added in v1.10.0

func (r *DescribeWebRuleBlackListUsageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWebRuleBlackListUsageResponse added in v1.10.0

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

type DescribeWebRuleBlackListUsageResult added in v1.10.0

type DescribeWebRuleBlackListUsageResult struct {
	AllocatedNum       int `json:"allocatedNum"`
	ActiveNum          int `json:"activeNum"`
	SurplusAllocateNum int `json:"surplusAllocateNum"`
	MaxAllocateNum     int `json:"maxAllocateNum"`
}

type DescribeWebRuleRSGeoAreasRequest added in v1.20.0

type DescribeWebRuleRSGeoAreasRequest struct {
	core.JDCloudRequest

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

func NewDescribeWebRuleRSGeoAreasRequest added in v1.20.0

func NewDescribeWebRuleRSGeoAreasRequest(
	regionId string,
) *DescribeWebRuleRSGeoAreasRequest

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

func NewDescribeWebRuleRSGeoAreasRequestWithAllParams added in v1.20.0

func NewDescribeWebRuleRSGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeWebRuleRSGeoAreasRequest

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

func NewDescribeWebRuleRSGeoAreasRequestWithoutParam added in v1.20.0

func NewDescribeWebRuleRSGeoAreasRequestWithoutParam() *DescribeWebRuleRSGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleRSGeoAreasRequest) GetRegionId added in v1.20.0

func (r DescribeWebRuleRSGeoAreasRequest) GetRegionId() string

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

func (*DescribeWebRuleRSGeoAreasRequest) SetRegionId added in v1.20.0

func (r *DescribeWebRuleRSGeoAreasRequest) SetRegionId(regionId string)

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

type DescribeWebRuleRSGeoAreasResponse added in v1.20.0

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

type DescribeWebRuleRSGeoAreasResult added in v1.20.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.10.0

type DescribeWebRuleWhiteListGeoAreasRequest struct {
	core.JDCloudRequest

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

func NewDescribeWebRuleWhiteListGeoAreasRequest added in v1.10.0

func NewDescribeWebRuleWhiteListGeoAreasRequest(
	regionId string,
) *DescribeWebRuleWhiteListGeoAreasRequest

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

func NewDescribeWebRuleWhiteListGeoAreasRequestWithAllParams added in v1.10.0

func NewDescribeWebRuleWhiteListGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeWebRuleWhiteListGeoAreasRequest

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

func NewDescribeWebRuleWhiteListGeoAreasRequestWithoutParam added in v1.10.0

func NewDescribeWebRuleWhiteListGeoAreasRequestWithoutParam() *DescribeWebRuleWhiteListGeoAreasRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleWhiteListGeoAreasRequest) GetRegionId added in v1.10.0

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

func (*DescribeWebRuleWhiteListGeoAreasRequest) SetRegionId added in v1.10.0

func (r *DescribeWebRuleWhiteListGeoAreasRequest) SetRegionId(regionId string)

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

type DescribeWebRuleWhiteListGeoAreasResponse added in v1.10.0

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

type DescribeWebRuleWhiteListGeoAreasResult added in v1.10.0

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

type DescribeWebRuleWhiteListUsageRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeWebRuleWhiteListUsageRequestWithoutParam() *DescribeWebRuleWhiteListUsageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWebRuleWhiteListUsageRequest) GetRegionId added in v1.10.0

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

func (*DescribeWebRuleWhiteListUsageRequest) SetInstanceId added in v1.10.0

func (r *DescribeWebRuleWhiteListUsageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRuleWhiteListUsageRequest) SetRegionId added in v1.10.0

func (r *DescribeWebRuleWhiteListUsageRequest) SetRegionId(regionId string)

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

func (*DescribeWebRuleWhiteListUsageRequest) SetWebRuleId added in v1.10.0

func (r *DescribeWebRuleWhiteListUsageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWebRuleWhiteListUsageResponse added in v1.10.0

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

type DescribeWebRuleWhiteListUsageResult added in v1.10.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.6.0

func (r *DescribeWebRulesRequest) SetSearchType(searchType string)

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

func (*DescribeWebRulesRequest) SetSearchValue added in v1.6.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeWhiteListRuleOfForwardRuleRequestWithoutParam() *DescribeWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeWhiteListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *DescribeWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeWhiteListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWhiteListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type DescribeWhiteListRuleOfForwardRuleResponse added in v1.10.0

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

type DescribeWhiteListRuleOfForwardRuleResult added in v1.10.0

type DescribeWhiteListRuleOfForwardRuleResult struct {
	Data ipanti.ForwardWhiteListRule `json:"data"`
}

type DescribeWhiteListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeWhiteListRuleOfWebRuleRequestWithoutParam() *DescribeWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeWhiteListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWhiteListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeWhiteListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*DescribeWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId added in v1.10.0

func (r *DescribeWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

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

type DescribeWhiteListRuleOfWebRuleResponse added in v1.10.0

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

type DescribeWhiteListRuleOfWebRuleResult added in v1.10.0

type DescribeWhiteListRuleOfWebRuleResult struct {
	Data ipanti.WebWhiteListRule `json:"data"`
}

type DescribeWhiteListRulesOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDescribeWhiteListRulesOfWebRuleRequestWithoutParam() *DescribeWhiteListRulesOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRulesOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DescribeWhiteListRulesOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DescribeWhiteListRulesOfWebRuleRequest) SetPageNumber added in v1.10.0

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetPageNumber(pageNumber int)

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

func (*DescribeWhiteListRulesOfWebRuleRequest) SetPageSize added in v1.10.0

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetPageSize(pageSize int)

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

func (*DescribeWhiteListRulesOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DescribeWhiteListRulesOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DescribeWhiteListRulesOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DescribeWhiteListRulesOfWebRuleResponse added in v1.10.0

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

type DescribeWhiteListRulesOfWebRuleResult added in v1.10.0

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

type DisableBlackListRuleOfForwardRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableBlackListRuleOfForwardRuleRequestWithoutParam() *DisableBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableBlackListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*DisableBlackListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *DisableBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DisableBlackListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *DisableBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableBlackListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *DisableBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type DisableBlackListRuleOfForwardRuleResponse added in v1.10.0

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

type DisableBlackListRuleOfForwardRuleResult added in v1.10.0

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

type DisableBlackListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableBlackListRuleOfWebRuleRequestWithoutParam() *DisableBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableBlackListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DisableBlackListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DisableBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableBlackListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DisableBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DisableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId added in v1.10.0

func (r *DisableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

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

func (*DisableBlackListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DisableBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableBlackListRuleOfWebRuleResponse added in v1.10.0

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

type DisableBlackListRuleOfWebRuleResult added in v1.10.0

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

type DisableCCProtectionRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableCCProtectionRuleOfWebRuleRequestWithoutParam() *DisableCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableCCProtectionRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DisableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId added in v1.10.0

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

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

func (*DisableCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DisableCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DisableCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableCCProtectionRuleOfWebRuleResponse added in v1.10.0

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

type DisableCCProtectionRuleOfWebRuleResult added in v1.10.0

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

type DisableInstanceCustomPageRequest added in v1.52.0

type DisableInstanceCustomPageRequest struct {
	core.JDCloudRequest

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

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

func NewDisableInstanceCustomPageRequest added in v1.52.0

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 added in v1.52.0

func NewDisableInstanceCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
) *DisableInstanceCustomPageRequest

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

func NewDisableInstanceCustomPageRequestWithoutParam added in v1.52.0

func NewDisableInstanceCustomPageRequestWithoutParam() *DisableInstanceCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (DisableInstanceCustomPageRequest) GetRegionId added in v1.52.0

func (r DisableInstanceCustomPageRequest) GetRegionId() string

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

func (*DisableInstanceCustomPageRequest) SetInstanceId added in v1.52.0

func (r *DisableInstanceCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*DisableInstanceCustomPageRequest) SetRegionId added in v1.52.0

func (r *DisableInstanceCustomPageRequest) SetRegionId(regionId string)

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

type DisableInstanceCustomPageResponse added in v1.52.0

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

type DisableInstanceCustomPageResult added in v1.52.0

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

type DisableWebRuleBlackListRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableWebRuleBlackListRequestWithoutParam() *DisableWebRuleBlackListRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleBlackListRequest) GetRegionId added in v1.10.0

func (r DisableWebRuleBlackListRequest) GetRegionId() string

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

func (*DisableWebRuleBlackListRequest) SetInstanceId added in v1.10.0

func (r *DisableWebRuleBlackListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleBlackListRequest) SetRegionId added in v1.10.0

func (r *DisableWebRuleBlackListRequest) SetRegionId(regionId string)

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

func (*DisableWebRuleBlackListRequest) SetWebRuleId added in v1.10.0

func (r *DisableWebRuleBlackListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleBlackListResponse added in v1.10.0

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

type DisableWebRuleBlackListResult added in v1.10.0

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

type DisableWebRuleCCObserverModeRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableWebRuleCCObserverModeRequestWithoutParam() *DisableWebRuleCCObserverModeRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleCCObserverModeRequest) GetRegionId added in v1.10.0

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

func (*DisableWebRuleCCObserverModeRequest) SetInstanceId added in v1.10.0

func (r *DisableWebRuleCCObserverModeRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCObserverModeRequest) SetRegionId added in v1.10.0

func (r *DisableWebRuleCCObserverModeRequest) SetRegionId(regionId string)

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

func (*DisableWebRuleCCObserverModeRequest) SetWebRuleId added in v1.10.0

func (r *DisableWebRuleCCObserverModeRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleCCObserverModeResponse added in v1.10.0

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

type DisableWebRuleCCObserverModeResult added in v1.10.0

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

type DisableWebRuleCCProtectionRuleRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewDisableWebRuleCCProtectionRuleRequestWithoutParam() *DisableWebRuleCCProtectionRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleCCProtectionRuleRequest) GetRegionId added in v1.46.0

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

func (*DisableWebRuleCCProtectionRuleRequest) SetInstanceId added in v1.46.0

func (r *DisableWebRuleCCProtectionRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCProtectionRuleRequest) SetRegionId added in v1.46.0

func (r *DisableWebRuleCCProtectionRuleRequest) SetRegionId(regionId string)

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

func (*DisableWebRuleCCProtectionRuleRequest) SetWebRuleId added in v1.46.0

func (r *DisableWebRuleCCProtectionRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleCCProtectionRuleResponse added in v1.46.0

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

type DisableWebRuleCCProtectionRuleResult added in v1.46.0

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

type DisableWebRuleCCRequest added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewDisableWebRuleCCRequestWithoutParam() *DisableWebRuleCCRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleCCRequest) GetRegionId added in v1.0.3

func (r DisableWebRuleCCRequest) GetRegionId() string

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

func (*DisableWebRuleCCRequest) SetInstanceId added in v1.0.3

func (r *DisableWebRuleCCRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCRequest) SetRegionId added in v1.0.3

func (r *DisableWebRuleCCRequest) SetRegionId(regionId string)

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

func (*DisableWebRuleCCRequest) SetWebRuleId added in v1.0.3

func (r *DisableWebRuleCCRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleCCResponse added in v1.0.3

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

type DisableWebRuleCCResult added in v1.0.3

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

type DisableWebRuleJsPageRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewDisableWebRuleJsPageRequestWithoutParam() *DisableWebRuleJsPageRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleJsPageRequest) GetRegionId added in v1.46.0

func (r DisableWebRuleJsPageRequest) GetRegionId() string

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

func (*DisableWebRuleJsPageRequest) SetInstanceId added in v1.46.0

func (r *DisableWebRuleJsPageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleJsPageRequest) SetRegionId added in v1.46.0

func (r *DisableWebRuleJsPageRequest) SetRegionId(regionId string)

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

func (*DisableWebRuleJsPageRequest) SetWebRuleId added in v1.46.0

func (r *DisableWebRuleJsPageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleJsPageResponse added in v1.46.0

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

type DisableWebRuleJsPageResult added in v1.46.0

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

type DisableWebRuleWhiteListRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableWebRuleWhiteListRequestWithoutParam() *DisableWebRuleWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (DisableWebRuleWhiteListRequest) GetRegionId added in v1.10.0

func (r DisableWebRuleWhiteListRequest) GetRegionId() string

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

func (*DisableWebRuleWhiteListRequest) SetInstanceId added in v1.10.0

func (r *DisableWebRuleWhiteListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleWhiteListRequest) SetRegionId added in v1.10.0

func (r *DisableWebRuleWhiteListRequest) SetRegionId(regionId string)

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

func (*DisableWebRuleWhiteListRequest) SetWebRuleId added in v1.10.0

func (r *DisableWebRuleWhiteListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type DisableWebRuleWhiteListResponse added in v1.10.0

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

type DisableWebRuleWhiteListResult added in v1.10.0

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

type DisableWhiteListRuleOfForwardRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableWhiteListRuleOfForwardRuleRequestWithoutParam() *DisableWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableWhiteListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*DisableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *DisableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*DisableWhiteListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *DisableWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWhiteListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *DisableWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type DisableWhiteListRuleOfForwardRuleResponse added in v1.10.0

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

type DisableWhiteListRuleOfForwardRuleResult added in v1.10.0

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

type DisableWhiteListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewDisableWhiteListRuleOfWebRuleRequestWithoutParam() *DisableWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (DisableWhiteListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*DisableWhiteListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *DisableWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*DisableWhiteListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *DisableWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*DisableWhiteListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *DisableWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*DisableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId added in v1.10.0

func (r *DisableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

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

type DisableWhiteListRuleOfWebRuleResponse added in v1.10.0

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

type DisableWhiteListRuleOfWebRuleResult added in v1.10.0

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

type EnableBlackListRuleOfForwardRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableBlackListRuleOfForwardRuleRequestWithoutParam() *EnableBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableBlackListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*EnableBlackListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *EnableBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*EnableBlackListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *EnableBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableBlackListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *EnableBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type EnableBlackListRuleOfForwardRuleResponse added in v1.10.0

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

type EnableBlackListRuleOfForwardRuleResult added in v1.10.0

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

type EnableBlackListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableBlackListRuleOfWebRuleRequestWithoutParam() *EnableBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableBlackListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*EnableBlackListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *EnableBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableBlackListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *EnableBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*EnableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId added in v1.10.0

func (r *EnableBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

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

func (*EnableBlackListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *EnableBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableBlackListRuleOfWebRuleResponse added in v1.10.0

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

type EnableBlackListRuleOfWebRuleResult added in v1.10.0

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

type EnableCCProtectionRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableCCProtectionRuleOfWebRuleRequestWithoutParam() *EnableCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableCCProtectionRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*EnableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId added in v1.10.0

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

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

func (*EnableCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*EnableCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *EnableCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableCCProtectionRuleOfWebRuleResponse added in v1.10.0

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

type EnableCCProtectionRuleOfWebRuleResult added in v1.10.0

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

type EnableInstanceCustomPageRequest added in v1.52.0

type EnableInstanceCustomPageRequest struct {
	core.JDCloudRequest

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

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

func NewEnableInstanceCustomPageRequest added in v1.52.0

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 added in v1.52.0

func NewEnableInstanceCustomPageRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableInstanceCustomPageRequest

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

func NewEnableInstanceCustomPageRequestWithoutParam added in v1.52.0

func NewEnableInstanceCustomPageRequestWithoutParam() *EnableInstanceCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (EnableInstanceCustomPageRequest) GetRegionId added in v1.52.0

func (r EnableInstanceCustomPageRequest) GetRegionId() string

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

func (*EnableInstanceCustomPageRequest) SetInstanceId added in v1.52.0

func (r *EnableInstanceCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*EnableInstanceCustomPageRequest) SetRegionId added in v1.52.0

func (r *EnableInstanceCustomPageRequest) SetRegionId(regionId string)

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

type EnableInstanceCustomPageResponse added in v1.52.0

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

type EnableInstanceCustomPageResult added in v1.52.0

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

type EnableWebRuleBlackListRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableWebRuleBlackListRequestWithoutParam() *EnableWebRuleBlackListRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleBlackListRequest) GetRegionId added in v1.10.0

func (r EnableWebRuleBlackListRequest) GetRegionId() string

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

func (*EnableWebRuleBlackListRequest) SetInstanceId added in v1.10.0

func (r *EnableWebRuleBlackListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleBlackListRequest) SetRegionId added in v1.10.0

func (r *EnableWebRuleBlackListRequest) SetRegionId(regionId string)

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

func (*EnableWebRuleBlackListRequest) SetWebRuleId added in v1.10.0

func (r *EnableWebRuleBlackListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleBlackListResponse added in v1.10.0

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

type EnableWebRuleBlackListResult added in v1.10.0

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

type EnableWebRuleCCObserverModeRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableWebRuleCCObserverModeRequestWithoutParam() *EnableWebRuleCCObserverModeRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleCCObserverModeRequest) GetRegionId added in v1.10.0

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

func (*EnableWebRuleCCObserverModeRequest) SetInstanceId added in v1.10.0

func (r *EnableWebRuleCCObserverModeRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCObserverModeRequest) SetRegionId added in v1.10.0

func (r *EnableWebRuleCCObserverModeRequest) SetRegionId(regionId string)

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

func (*EnableWebRuleCCObserverModeRequest) SetWebRuleId added in v1.10.0

func (r *EnableWebRuleCCObserverModeRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleCCObserverModeResponse added in v1.10.0

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

type EnableWebRuleCCObserverModeResult added in v1.10.0

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

type EnableWebRuleCCProtectionRuleRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewEnableWebRuleCCProtectionRuleRequestWithoutParam() *EnableWebRuleCCProtectionRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleCCProtectionRuleRequest) GetRegionId added in v1.46.0

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

func (*EnableWebRuleCCProtectionRuleRequest) SetInstanceId added in v1.46.0

func (r *EnableWebRuleCCProtectionRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCProtectionRuleRequest) SetRegionId added in v1.46.0

func (r *EnableWebRuleCCProtectionRuleRequest) SetRegionId(regionId string)

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

func (*EnableWebRuleCCProtectionRuleRequest) SetWebRuleId added in v1.46.0

func (r *EnableWebRuleCCProtectionRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleCCProtectionRuleResponse added in v1.46.0

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

type EnableWebRuleCCProtectionRuleResult added in v1.46.0

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

type EnableWebRuleCCRequest added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewEnableWebRuleCCRequestWithoutParam() *EnableWebRuleCCRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleCCRequest) GetRegionId added in v1.0.3

func (r EnableWebRuleCCRequest) GetRegionId() string

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

func (*EnableWebRuleCCRequest) SetInstanceId added in v1.0.3

func (r *EnableWebRuleCCRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCRequest) SetRegionId added in v1.0.3

func (r *EnableWebRuleCCRequest) SetRegionId(regionId string)

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

func (*EnableWebRuleCCRequest) SetWebRuleId added in v1.0.3

func (r *EnableWebRuleCCRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleCCResponse added in v1.0.3

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

type EnableWebRuleCCResult added in v1.0.3

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

type EnableWebRuleJsPageRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewEnableWebRuleJsPageRequestWithoutParam() *EnableWebRuleJsPageRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleJsPageRequest) GetRegionId added in v1.46.0

func (r EnableWebRuleJsPageRequest) GetRegionId() string

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

func (*EnableWebRuleJsPageRequest) SetInstanceId added in v1.46.0

func (r *EnableWebRuleJsPageRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleJsPageRequest) SetRegionId added in v1.46.0

func (r *EnableWebRuleJsPageRequest) SetRegionId(regionId string)

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

func (*EnableWebRuleJsPageRequest) SetWebRuleId added in v1.46.0

func (r *EnableWebRuleJsPageRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleJsPageResponse added in v1.46.0

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

type EnableWebRuleJsPageResult added in v1.46.0

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

type EnableWebRuleWhiteListRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableWebRuleWhiteListRequestWithoutParam() *EnableWebRuleWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (EnableWebRuleWhiteListRequest) GetRegionId added in v1.10.0

func (r EnableWebRuleWhiteListRequest) GetRegionId() string

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

func (*EnableWebRuleWhiteListRequest) SetInstanceId added in v1.10.0

func (r *EnableWebRuleWhiteListRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleWhiteListRequest) SetRegionId added in v1.10.0

func (r *EnableWebRuleWhiteListRequest) SetRegionId(regionId string)

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

func (*EnableWebRuleWhiteListRequest) SetWebRuleId added in v1.10.0

func (r *EnableWebRuleWhiteListRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type EnableWebRuleWhiteListResponse added in v1.10.0

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

type EnableWebRuleWhiteListResult added in v1.10.0

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

type EnableWhiteListRuleOfForwardRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableWhiteListRuleOfForwardRuleRequestWithoutParam() *EnableWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableWhiteListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*EnableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *EnableWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*EnableWhiteListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *EnableWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWhiteListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *EnableWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type EnableWhiteListRuleOfForwardRuleResponse added in v1.10.0

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

type EnableWhiteListRuleOfForwardRuleResult added in v1.10.0

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

type EnableWhiteListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewEnableWhiteListRuleOfWebRuleRequestWithoutParam() *EnableWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (EnableWhiteListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*EnableWhiteListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *EnableWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*EnableWhiteListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *EnableWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*EnableWhiteListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *EnableWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*EnableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId added in v1.10.0

func (r *EnableWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

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

type EnableWhiteListRuleOfWebRuleResponse added in v1.10.0

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

type EnableWhiteListRuleOfWebRuleResult added in v1.10.0

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

type ModifyAlarmConfigRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewModifyAlarmConfigRequestWithoutParam() *ModifyAlarmConfigRequest

This constructor has better compatible ability when API parameters changed

func (ModifyAlarmConfigRequest) GetRegionId added in v1.6.0

func (r ModifyAlarmConfigRequest) GetRegionId() string

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

func (*ModifyAlarmConfigRequest) SetAlarmConfigSpec added in v1.6.0

func (r *ModifyAlarmConfigRequest) SetAlarmConfigSpec(alarmConfigSpec *ipanti.AlarmConfigSpec)

param alarmConfigSpec: 更新告警配置请求参数(Required)

func (*ModifyAlarmConfigRequest) SetInstanceId added in v1.6.0

func (r *ModifyAlarmConfigRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyAlarmConfigRequest) SetRegionId added in v1.6.0

func (r *ModifyAlarmConfigRequest) SetRegionId(regionId string)

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

type ModifyAlarmConfigResponse added in v1.6.0

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

type ModifyAlarmConfigResult added in v1.6.0

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

type ModifyBlackListRuleOfForwardRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewModifyBlackListRuleOfForwardRuleRequestWithoutParam() *ModifyBlackListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBlackListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*ModifyBlackListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *ModifyBlackListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyBlackListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *ModifyBlackListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyBlackListRuleOfForwardRuleRequest) SetModifySpec added in v1.10.0

param modifySpec: 修改转发规则的黑名单规则请求参数(Required)

func (*ModifyBlackListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *ModifyBlackListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type ModifyBlackListRuleOfForwardRuleResponse added in v1.10.0

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

type ModifyBlackListRuleOfForwardRuleResult added in v1.10.0

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

type ModifyBlackListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewModifyBlackListRuleOfWebRuleRequestWithoutParam() *ModifyBlackListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBlackListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*ModifyBlackListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *ModifyBlackListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyBlackListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *ModifyBlackListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId added in v1.10.0

func (r *ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleId(webBlackListRuleId string)

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

func (*ModifyBlackListRuleOfWebRuleRequest) SetWebBlackListRuleSpec added in v1.10.0

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

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

func (*ModifyBlackListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *ModifyBlackListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyBlackListRuleOfWebRuleResponse added in v1.10.0

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

type ModifyBlackListRuleOfWebRuleResult added in v1.10.0

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

type ModifyCCProtectionConfigOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewModifyCCProtectionConfigOfWebRuleRequestWithoutParam() *ModifyCCProtectionConfigOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCCProtectionConfigOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetCcProtectionConfigSpec added in v1.10.0

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetCcProtectionConfigSpec(ccProtectionConfigSpec *ipanti.CCProtectionConfigSpec)

param ccProtectionConfigSpec: 修改 CC 防护配置请求参数(Required)

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetRegionId(regionId string)

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

func (*ModifyCCProtectionConfigOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *ModifyCCProtectionConfigOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyCCProtectionConfigOfWebRuleResponse added in v1.10.0

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

type ModifyCCProtectionConfigOfWebRuleResult added in v1.10.0

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

type ModifyCCProtectionRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewModifyCCProtectionRuleOfWebRuleRequestWithoutParam() *ModifyCCProtectionRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCCProtectionRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId added in v1.10.0

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleId(ccProtectionRuleId string)

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

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetCcProtectionRuleSpec added in v1.10.0

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

param ccProtectionRuleSpec: 修改 CC 防护规则请求参数(Required)

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*ModifyCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *ModifyCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyCCProtectionRuleOfWebRuleResponse added in v1.10.0

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

type ModifyCCProtectionRuleOfWebRuleResult added in v1.10.0

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

type ModifyCertInfoRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewModifyCertInfoRequestWithoutParam() *ModifyCertInfoRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCertInfoRequest) GetRegionId added in v1.6.0

func (r ModifyCertInfoRequest) GetRegionId() string

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

func (*ModifyCertInfoRequest) SetCertInfoModifySpec added in v1.6.0

func (r *ModifyCertInfoRequest) SetCertInfoModifySpec(certInfoModifySpec *ipanti.CertInfoModifySpec)

param certInfoModifySpec: 编辑网站规则证书信息请求参数(Required)

func (*ModifyCertInfoRequest) SetInstanceId added in v1.6.0

func (r *ModifyCertInfoRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyCertInfoRequest) SetRegionId added in v1.6.0

func (r *ModifyCertInfoRequest) SetRegionId(regionId string)

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

func (*ModifyCertInfoRequest) SetWebRuleId added in v1.6.0

func (r *ModifyCertInfoRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyCertInfoResponse added in v1.6.0

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

type ModifyCertInfoResult added in v1.6.0

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

type ModifyCustomPageRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewModifyCustomPageRequestWithoutParam() *ModifyCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (ModifyCustomPageRequest) GetRegionId added in v1.52.0

func (r ModifyCustomPageRequest) GetRegionId() string

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

func (*ModifyCustomPageRequest) SetCustomPageSpec added in v1.52.0

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

param customPageSpec: 修改自定义页面请求参数(Required)

func (*ModifyCustomPageRequest) SetInstanceId added in v1.52.0

func (r *ModifyCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyCustomPageRequest) SetPageId added in v1.52.0

func (r *ModifyCustomPageRequest) SetPageId(pageId string)

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

func (*ModifyCustomPageRequest) SetRegionId added in v1.52.0

func (r *ModifyCustomPageRequest) SetRegionId(regionId string)

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

type ModifyCustomPageResponse added in v1.52.0

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

type ModifyCustomPageResult added in v1.52.0

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

type ModifyDispatchRuleRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewModifyDispatchRuleRequestWithoutParam() *ModifyDispatchRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyDispatchRuleRequest) GetRegionId added in v1.54.0

func (r ModifyDispatchRuleRequest) GetRegionId() string

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

func (*ModifyDispatchRuleRequest) SetDispatchRuleId added in v1.54.0

func (r *ModifyDispatchRuleRequest) SetDispatchRuleId(dispatchRuleId string)

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

func (*ModifyDispatchRuleRequest) SetInstanceId added in v1.54.0

func (r *ModifyDispatchRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyDispatchRuleRequest) SetModifyDispatchRuleSpec added in v1.54.0

func (r *ModifyDispatchRuleRequest) SetModifyDispatchRuleSpec(modifyDispatchRuleSpec *ipanti.ModifyDispatchRuleSpec)

param modifyDispatchRuleSpec: 更新防护调度规则请求参数(Required)

func (*ModifyDispatchRuleRequest) SetRegionId added in v1.54.0

func (r *ModifyDispatchRuleRequest) SetRegionId(regionId string)

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

type ModifyDispatchRuleResponse added in v1.54.0

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

type ModifyDispatchRuleResult added in v1.54.0

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

type ModifyEPBRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewModifyEPBRequestWithoutParam() *ModifyEPBRequest

This constructor has better compatible ability when API parameters changed

func (ModifyEPBRequest) GetRegionId added in v1.6.0

func (r ModifyEPBRequest) GetRegionId() string

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

func (*ModifyEPBRequest) SetInstanceId added in v1.6.0

func (r *ModifyEPBRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyEPBRequest) SetModifyInstanceEPBSpec added in v1.6.0

func (r *ModifyEPBRequest) SetModifyInstanceEPBSpec(modifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec)

param modifyInstanceEPBSpec: 修改实例名称请求参数(Required)

func (*ModifyEPBRequest) SetRegionId added in v1.6.0

func (r *ModifyEPBRequest) SetRegionId(regionId string)

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

type ModifyEPBResponse added in v1.6.0

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

type ModifyEPBResult added in v1.6.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewModifyInstanceAclRequestWithoutParam() *ModifyInstanceAclRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceAclRequest) GetRegionId added in v1.52.0

func (r ModifyInstanceAclRequest) GetRegionId() string

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

func (*ModifyInstanceAclRequest) SetInstanceAclSpec added in v1.52.0

func (r *ModifyInstanceAclRequest) SetInstanceAclSpec(instanceAclSpec *ipanti.InstanceAclSpec)

param instanceAclSpec: 修改实例全局访问控制配置参数(Required)

func (*ModifyInstanceAclRequest) SetInstanceId added in v1.52.0

func (r *ModifyInstanceAclRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceAclRequest) SetRegionId added in v1.52.0

func (r *ModifyInstanceAclRequest) SetRegionId(regionId string)

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

type ModifyInstanceAclResponse added in v1.52.0

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

type ModifyInstanceAclResult added in v1.52.0

type ModifyInstanceAclResult struct {
	Success    bool `json:"success"`
	CanRecover bool `json:"canRecover"`
}

type ModifyInstanceCustomPageDefaultRequest added in v1.52.0

type ModifyInstanceCustomPageDefaultRequest struct {
	core.JDCloudRequest

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

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

func NewModifyInstanceCustomPageDefaultRequest added in v1.52.0

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 added in v1.52.0

func NewModifyInstanceCustomPageDefaultRequestWithAllParams(
	regionId string,
	instanceId string,
) *ModifyInstanceCustomPageDefaultRequest

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

func NewModifyInstanceCustomPageDefaultRequestWithoutParam added in v1.52.0

func NewModifyInstanceCustomPageDefaultRequestWithoutParam() *ModifyInstanceCustomPageDefaultRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceCustomPageDefaultRequest) GetRegionId added in v1.52.0

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

func (*ModifyInstanceCustomPageDefaultRequest) SetInstanceId added in v1.52.0

func (r *ModifyInstanceCustomPageDefaultRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceCustomPageDefaultRequest) SetRegionId added in v1.52.0

func (r *ModifyInstanceCustomPageDefaultRequest) SetRegionId(regionId string)

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

type ModifyInstanceCustomPageDefaultResponse added in v1.52.0

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

type ModifyInstanceCustomPageDefaultResult added in v1.52.0

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

type ModifyInstanceCustomPageRequest added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

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 added in v1.52.0

func NewModifyInstanceCustomPageRequestWithoutParam() *ModifyInstanceCustomPageRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceCustomPageRequest) GetRegionId added in v1.52.0

func (r ModifyInstanceCustomPageRequest) GetRegionId() string

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

func (*ModifyInstanceCustomPageRequest) SetInstanceId added in v1.52.0

func (r *ModifyInstanceCustomPageRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceCustomPageRequest) SetPageId added in v1.52.0

func (r *ModifyInstanceCustomPageRequest) SetPageId(pageId string)

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

func (*ModifyInstanceCustomPageRequest) SetRegionId added in v1.52.0

func (r *ModifyInstanceCustomPageRequest) SetRegionId(regionId string)

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

type ModifyInstanceCustomPageResponse added in v1.52.0

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

type ModifyInstanceCustomPageResult added in v1.52.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.6.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewModifyJsPageOfWebRuleRequestWithoutParam() *ModifyJsPageOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyJsPageOfWebRuleRequest) GetRegionId added in v1.46.0

func (r ModifyJsPageOfWebRuleRequest) GetRegionId() string

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

func (*ModifyJsPageOfWebRuleRequest) SetInstanceId added in v1.46.0

func (r *ModifyJsPageOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyJsPageOfWebRuleRequest) SetJsPageId added in v1.46.0

func (r *ModifyJsPageOfWebRuleRequest) SetJsPageId(jsPageId string)

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

func (*ModifyJsPageOfWebRuleRequest) SetJsPageSpec added in v1.46.0

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

param jsPageSpec: 修改网站类规则允许插入 JS 指纹的页面请求参数(Required)

func (*ModifyJsPageOfWebRuleRequest) SetRegionId added in v1.46.0

func (r *ModifyJsPageOfWebRuleRequest) SetRegionId(regionId string)

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

func (*ModifyJsPageOfWebRuleRequest) SetWebRuleId added in v1.46.0

func (r *ModifyJsPageOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyJsPageOfWebRuleResponse added in v1.46.0

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

type ModifyJsPageOfWebRuleResult added in v1.46.0

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

type ModifyProtectionRuleOfForwardRuleRequest added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

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 added in v1.6.0

func NewModifyProtectionRuleOfForwardRuleRequestWithoutParam() *ModifyProtectionRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyProtectionRuleOfForwardRuleRequest) GetRegionId added in v1.6.0

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

func (*ModifyProtectionRuleOfForwardRuleRequest) SetForwardProtectionRuleSpec added in v1.6.0

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetForwardProtectionRuleSpec(forwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec)

param forwardProtectionRuleSpec: 修改非网站类转发规则的防护规则请求参数(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetForwardRuleId added in v1.6.0

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetInstanceId added in v1.6.0

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetRegionId added in v1.6.0

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type ModifyProtectionRuleOfForwardRuleResponse added in v1.6.0

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

type ModifyProtectionRuleOfForwardRuleResult added in v1.6.0

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

type ModifyWebRuleJsPageToAllRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewModifyWebRuleJsPageToAllRequestWithoutParam() *ModifyWebRuleJsPageToAllRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWebRuleJsPageToAllRequest) GetRegionId added in v1.46.0

func (r ModifyWebRuleJsPageToAllRequest) GetRegionId() string

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

func (*ModifyWebRuleJsPageToAllRequest) SetInstanceId added in v1.46.0

func (r *ModifyWebRuleJsPageToAllRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWebRuleJsPageToAllRequest) SetRegionId added in v1.46.0

func (r *ModifyWebRuleJsPageToAllRequest) SetRegionId(regionId string)

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

func (*ModifyWebRuleJsPageToAllRequest) SetWebRuleId added in v1.46.0

func (r *ModifyWebRuleJsPageToAllRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyWebRuleJsPageToAllResponse added in v1.46.0

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

type ModifyWebRuleJsPageToAllResult added in v1.46.0

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

type ModifyWebRuleJsPageToCustomRequest added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

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 added in v1.46.0

func NewModifyWebRuleJsPageToCustomRequestWithoutParam() *ModifyWebRuleJsPageToCustomRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWebRuleJsPageToCustomRequest) GetRegionId added in v1.46.0

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

func (*ModifyWebRuleJsPageToCustomRequest) SetInstanceId added in v1.46.0

func (r *ModifyWebRuleJsPageToCustomRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWebRuleJsPageToCustomRequest) SetRegionId added in v1.46.0

func (r *ModifyWebRuleJsPageToCustomRequest) SetRegionId(regionId string)

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

func (*ModifyWebRuleJsPageToCustomRequest) SetWebRuleId added in v1.46.0

func (r *ModifyWebRuleJsPageToCustomRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type ModifyWebRuleJsPageToCustomResponse added in v1.46.0

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

type ModifyWebRuleJsPageToCustomResult added in v1.46.0

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewModifyWhiteListRuleOfForwardRuleRequestWithoutParam() *ModifyWhiteListRuleOfForwardRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWhiteListRuleOfForwardRuleRequest) GetRegionId added in v1.10.0

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

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetForwardRuleId added in v1.10.0

func (r *ModifyWhiteListRuleOfForwardRuleRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetInstanceId added in v1.10.0

func (r *ModifyWhiteListRuleOfForwardRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetModifySpec added in v1.10.0

param modifySpec: 修改转发规则的黑名单规则请求参数(Required)

func (*ModifyWhiteListRuleOfForwardRuleRequest) SetRegionId added in v1.10.0

func (r *ModifyWhiteListRuleOfForwardRuleRequest) SetRegionId(regionId string)

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

type ModifyWhiteListRuleOfForwardRuleResponse added in v1.10.0

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

type ModifyWhiteListRuleOfForwardRuleResult added in v1.10.0

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

type ModifyWhiteListRuleOfWebRuleRequest added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewModifyWhiteListRuleOfWebRuleRequestWithoutParam() *ModifyWhiteListRuleOfWebRuleRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWhiteListRuleOfWebRuleRequest) GetRegionId added in v1.10.0

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

func (*ModifyWhiteListRuleOfWebRuleRequest) SetInstanceId added in v1.10.0

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*ModifyWhiteListRuleOfWebRuleRequest) SetRegionId added in v1.10.0

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetRegionId(regionId string)

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

func (*ModifyWhiteListRuleOfWebRuleRequest) SetWebRuleId added in v1.10.0

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

func (*ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId added in v1.10.0

func (r *ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleId(webWhiteListRuleId string)

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

func (*ModifyWhiteListRuleOfWebRuleRequest) SetWebWhiteListRuleSpec added in v1.10.0

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

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

type ModifyWhiteListRuleOfWebRuleResponse added in v1.10.0

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

type ModifyWhiteListRuleOfWebRuleResult added in v1.10.0

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

type RecoverInstanceAclRequest added in v1.52.0

type RecoverInstanceAclRequest struct {
	core.JDCloudRequest

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

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

func NewRecoverInstanceAclRequest added in v1.52.0

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 added in v1.52.0

func NewRecoverInstanceAclRequestWithAllParams(
	regionId string,
	instanceId string,
) *RecoverInstanceAclRequest

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

func NewRecoverInstanceAclRequestWithoutParam added in v1.52.0

func NewRecoverInstanceAclRequestWithoutParam() *RecoverInstanceAclRequest

This constructor has better compatible ability when API parameters changed

func (RecoverInstanceAclRequest) GetRegionId added in v1.52.0

func (r RecoverInstanceAclRequest) GetRegionId() string

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

func (*RecoverInstanceAclRequest) SetInstanceId added in v1.52.0

func (r *RecoverInstanceAclRequest) SetInstanceId(instanceId string)

param instanceId: 实例 ID(Required)

func (*RecoverInstanceAclRequest) SetRegionId added in v1.52.0

func (r *RecoverInstanceAclRequest) SetRegionId(regionId string)

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

type RecoverInstanceAclResponse added in v1.52.0

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

type RecoverInstanceAclResult added in v1.52.0

type RecoverInstanceAclResult struct {
	Success bool `json:"success"`
}

type SwitchDispatchRuleOriginRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewSwitchDispatchRuleOriginRequestWithoutParam() *SwitchDispatchRuleOriginRequest

This constructor has better compatible ability when API parameters changed

func (SwitchDispatchRuleOriginRequest) GetRegionId added in v1.54.0

func (r SwitchDispatchRuleOriginRequest) GetRegionId() string

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

func (*SwitchDispatchRuleOriginRequest) SetDispatchRuleId added in v1.54.0

func (r *SwitchDispatchRuleOriginRequest) SetDispatchRuleId(dispatchRuleId string)

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

func (*SwitchDispatchRuleOriginRequest) SetInstanceId added in v1.54.0

func (r *SwitchDispatchRuleOriginRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchDispatchRuleOriginRequest) SetRegionId added in v1.54.0

func (r *SwitchDispatchRuleOriginRequest) SetRegionId(regionId string)

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

type SwitchDispatchRuleOriginResponse added in v1.54.0

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

type SwitchDispatchRuleOriginResult added in v1.54.0

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

type SwitchDispatchRuleProtectRequest added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

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 added in v1.54.0

func NewSwitchDispatchRuleProtectRequestWithoutParam() *SwitchDispatchRuleProtectRequest

This constructor has better compatible ability when API parameters changed

func (SwitchDispatchRuleProtectRequest) GetRegionId added in v1.54.0

func (r SwitchDispatchRuleProtectRequest) GetRegionId() string

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

func (*SwitchDispatchRuleProtectRequest) SetDispatchRuleId added in v1.54.0

func (r *SwitchDispatchRuleProtectRequest) SetDispatchRuleId(dispatchRuleId string)

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

func (*SwitchDispatchRuleProtectRequest) SetInstanceId added in v1.54.0

func (r *SwitchDispatchRuleProtectRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchDispatchRuleProtectRequest) SetRegionId added in v1.54.0

func (r *SwitchDispatchRuleProtectRequest) SetRegionId(regionId string)

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

type SwitchDispatchRuleProtectResponse added in v1.54.0

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

type SwitchDispatchRuleProtectResult added in v1.54.0

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

type SwitchForwardRuleOriginRequest added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewSwitchForwardRuleOriginRequestWithoutParam() *SwitchForwardRuleOriginRequest

This constructor has better compatible ability when API parameters changed

func (SwitchForwardRuleOriginRequest) GetRegionId added in v1.0.3

func (r SwitchForwardRuleOriginRequest) GetRegionId() string

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

func (*SwitchForwardRuleOriginRequest) SetForwardRuleId added in v1.0.3

func (r *SwitchForwardRuleOriginRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*SwitchForwardRuleOriginRequest) SetInstanceId added in v1.0.3

func (r *SwitchForwardRuleOriginRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchForwardRuleOriginRequest) SetRegionId added in v1.0.3

func (r *SwitchForwardRuleOriginRequest) SetRegionId(regionId string)

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

type SwitchForwardRuleOriginResponse added in v1.0.3

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

type SwitchForwardRuleOriginResult added in v1.0.3

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

type SwitchForwardRuleProtectRequest added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewSwitchForwardRuleProtectRequestWithoutParam() *SwitchForwardRuleProtectRequest

This constructor has better compatible ability when API parameters changed

func (SwitchForwardRuleProtectRequest) GetRegionId added in v1.0.3

func (r SwitchForwardRuleProtectRequest) GetRegionId() string

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

func (*SwitchForwardRuleProtectRequest) SetForwardRuleId added in v1.0.3

func (r *SwitchForwardRuleProtectRequest) SetForwardRuleId(forwardRuleId string)

param forwardRuleId: 转发规则 Id(Required)

func (*SwitchForwardRuleProtectRequest) SetInstanceId added in v1.0.3

func (r *SwitchForwardRuleProtectRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchForwardRuleProtectRequest) SetRegionId added in v1.0.3

func (r *SwitchForwardRuleProtectRequest) SetRegionId(regionId string)

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

type SwitchForwardRuleProtectResponse added in v1.0.3

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

type SwitchForwardRuleProtectResult added in v1.0.3

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

type SwitchWebRuleOriginRequest added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewSwitchWebRuleOriginRequestWithoutParam() *SwitchWebRuleOriginRequest

This constructor has better compatible ability when API parameters changed

func (SwitchWebRuleOriginRequest) GetRegionId added in v1.0.3

func (r SwitchWebRuleOriginRequest) GetRegionId() string

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

func (*SwitchWebRuleOriginRequest) SetInstanceId added in v1.0.3

func (r *SwitchWebRuleOriginRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchWebRuleOriginRequest) SetRegionId added in v1.0.3

func (r *SwitchWebRuleOriginRequest) SetRegionId(regionId string)

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

func (*SwitchWebRuleOriginRequest) SetWebRuleId added in v1.0.3

func (r *SwitchWebRuleOriginRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type SwitchWebRuleOriginResponse added in v1.0.3

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

type SwitchWebRuleOriginResult added in v1.0.3

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

type SwitchWebRuleProtectRequest added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewSwitchWebRuleProtectRequestWithoutParam() *SwitchWebRuleProtectRequest

This constructor has better compatible ability when API parameters changed

func (SwitchWebRuleProtectRequest) GetRegionId added in v1.0.3

func (r SwitchWebRuleProtectRequest) GetRegionId() string

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

func (*SwitchWebRuleProtectRequest) SetInstanceId added in v1.0.3

func (r *SwitchWebRuleProtectRequest) SetInstanceId(instanceId string)

param instanceId: 高防实例 Id(Required)

func (*SwitchWebRuleProtectRequest) SetRegionId added in v1.0.3

func (r *SwitchWebRuleProtectRequest) SetRegionId(regionId string)

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

func (*SwitchWebRuleProtectRequest) SetWebRuleId added in v1.0.3

func (r *SwitchWebRuleProtectRequest) SetWebRuleId(webRuleId string)

param webRuleId: 网站规则 Id(Required)

type SwitchWebRuleProtectResponse added in v1.0.3

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

type SwitchWebRuleProtectResult added in v1.0.3

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