apis

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 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 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 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 CreateInstanceRequest

type CreateInstanceRequest struct {
	core.JDCloudRequest

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

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

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,
) *CreateInstanceRequest

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

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

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

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

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

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

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

func NewDescribeAttackStatisticsRequest added in v1.6.0

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

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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,
	type_ int,
) *DescribeAttackStatisticsRequest

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

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

func (r *DescribeAttackStatisticsRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 60 天以内的数据, 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"`

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

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

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

func NewDescribeAttackTypeCountRequest added in v1.6.0

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

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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,
) *DescribeAttackTypeCountRequest

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

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

func (r *DescribeAttackTypeCountRequest) SetStartTime(startTime string)

param startTime: 开始时间, 只能查询最近 60 天以内的数据, 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 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"`

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

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

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

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

	/* CC 攻击记录Id (Optional) */
	AttackId *string `json:"attackId"`
}

func NewDescribeCCAttackLogDetailsRequest added in v1.6.0

func NewDescribeCCAttackLogDetailsRequest(
	regionId string,
	startTime string,
	endTime string,
) *DescribeCCAttackLogDetailsRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (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: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例 ID (Optional) * param subDomain: 查询的子域名,只有选中某一个实例后才能多选子域名 (Optional) * param attackId: CC 攻击记录Id (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(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(Required)

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: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ(Required)

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

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

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

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

func NewDescribeCCAttackLogsRequest added in v1.6.0

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

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * 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(Required)

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: 开始时间, 只能查询最近 60 天以内的数据, 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"`

	/* 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

	/* 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	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,
	endTime string,
) *DescribeCCGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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: 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * 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(Required)

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: 开始时间, 最多查最近 60 天, 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 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 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"`

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

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

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

func NewDescribeDDoSAttackLogsRequest added in v1.6.0

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

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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: 开始时间, 只能查询最近 60 天以内的数据, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式:yyyy-MM-dd'T'HH:mm:ssZ (Required) * 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(Required)

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: 开始时间, 只能查询最近 60 天以内的数据, 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"`

	/* 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

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

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

func NewDescribeDDoSGraphRequest added in v1.6.0

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

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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,
) *DescribeDDoSGraphRequest

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param instanceId: 高防实例 Id 列表 (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(Required)

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

func (r *DescribeDDoSGraphRequest) SetStartTime(startTime string)

param startTime: 开始时间, 最多查最近 60 天, 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 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: 源站端口 (Optional) */
	SearchType *string `json:"searchType"`

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

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,
) *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: 源站端口 (Optional) * param searchValue: 查询类型值 (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: 源站端口(Optional)

func (*DescribeForwardRulesRequest) SetSearchValue added in v1.6.0

func (r *DescribeForwardRulesRequest) SetSearchValue(searchValue string)

param searchValue: 查询类型值(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"`

	/* 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ  */
	StartTime string `json:"startTime"`

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

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

func NewDescribeFwdGraphRequest added in v1.6.0

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

* param regionId: 区域 ID, 高防不区分区域, 传 cn-north-1 即可 (Required) * param startTime: 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, 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: 开始时间, 最多查最近 60 天, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * param endTime: 查询的结束时间, UTC 时间, 格式: yyyy-MM-dd'T'HH:mm:ssZ (Required) * 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(Required)

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: 开始时间, 最多查最近 60 天, 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 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 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 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 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 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: 域名 (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: 域名 (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: 域名(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 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 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 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 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 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 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 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 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 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 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 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