apis

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 2 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

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewCheckNameRequest added in v1.6.0

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

* param regionId: Region ID (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: Region ID (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: Region ID(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 CreateForwardRuleRequest

type CreateForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewCreateForwardRuleRequest

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

* param regionId: 区域 Id (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 int,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *CreateForwardRuleRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*CreateForwardRuleRequest) SetRegionId

func (r *CreateForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewCreateInstanceRequest

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

* param regionId: Region ID (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: Region ID (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: Region ID(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 CreateWebRuleRequest

type CreateWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewCreateWebRuleRequest

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

* param regionId: 区域 Id (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 int,
	webRuleSpec *ipanti.WebRuleSpec,
) *CreateWebRuleRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*CreateWebRuleRequest) SetRegionId

func (r *CreateWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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 DeleteCCProtectionRuleOfWebRuleRequest added in v1.6.0

type DeleteCCProtectionRuleOfWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

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

func NewDeleteCCProtectionRuleOfWebRuleRequest added in v1.6.0

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

* param regionId: 区域 Id (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 int,
	webRuleId int,
	ccProtectionRuleId int,
) *DeleteCCProtectionRuleOfWebRuleRequest

* param regionId: 区域 Id (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 int)

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

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetInstanceId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetRegionId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DeleteCCProtectionRuleOfWebRuleRequest) SetWebRuleId added in v1.6.0

func (r *DeleteCCProtectionRuleOfWebRuleRequest) SetWebRuleId(webRuleId int)

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  */
	RegionId string `json:"regionId"`

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

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

func NewDeleteForwardRuleRequest

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

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
) *DeleteForwardRuleRequest

* param regionId: 区域 Id (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 int)

param forwardRuleId: 转发规则 Id(Required)

func (*DeleteForwardRuleRequest) SetInstanceId

func (r *DeleteForwardRuleRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*DeleteForwardRuleRequest) SetRegionId

func (r *DeleteForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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 DeleteWebRuleRequest

type DeleteWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewDeleteWebRuleRequest

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

* param regionId: 区域 Id (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 int,
	webRuleId int,
) *DeleteWebRuleRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*DeleteWebRuleRequest) SetRegionId

func (r *DeleteWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DeleteWebRuleRequest) SetWebRuleId

func (r *DeleteWebRuleRequest) SetWebRuleId(webRuleId int)

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

type DescribeAlarmConfigRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDescribeAlarmConfigRequest added in v1.6.0

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

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAlarmConfigRequestWithAllParams added in v1.6.0

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

* param regionId: Region ID (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 int)

param instanceId: 实例 ID(Required)

func (*DescribeAlarmConfigRequest) SetRegionId added in v1.6.0

func (r *DescribeAlarmConfigRequest) SetRegionId(regionId string)

param regionId: Region ID(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  */
	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 []int64 `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 (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 []int64,
	type_ int,
) *DescribeAttackStatisticsRequest

* param regionId: 区域 Id (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 []int64)

param instanceId: 高防实例 ID(Optional)

func (*DescribeAttackStatisticsRequest) SetRegionId added in v1.6.0

func (r *DescribeAttackStatisticsRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	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 []int64 `json:"instanceId"`
}

func NewDescribeAttackTypeCountRequest added in v1.6.0

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

* param regionId: 区域 Id (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 []int64,
) *DescribeAttackTypeCountRequest

* param regionId: 区域 Id (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 []int64)

param instanceId: 高防实例 ID(Optional)

func (*DescribeAttackTypeCountRequest) SetRegionId added in v1.6.0

func (r *DescribeAttackTypeCountRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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 DescribeCCAttackLogDetailsRequest added in v1.6.0

type DescribeCCAttackLogDetailsRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	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  */
	InstanceId int `json:"instanceId"`

	/* 子域名 (Optional) */
	SubDomain []string `json:"subDomain"`
}

func NewDescribeCCAttackLogDetailsRequest added in v1.6.0

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

* param regionId: 区域 Id (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 (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 int,
	subDomain []string,
) *DescribeCCAttackLogDetailsRequest

* param regionId: 区域 Id (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 (Required) * param subDomain: 子域名 (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) 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 int)

param instanceId: 高防实例 ID(Required)

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(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  */
	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 []int64 `json:"instanceId"`
}

func NewDescribeCCAttackLogsRequest added in v1.6.0

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

* param regionId: 区域 Id (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 []int64,
) *DescribeCCAttackLogsRequest

* param regionId: 区域 Id (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 []int64)

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(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.DDosAttackLog `json:"dataList"`
	CurrentCount int                    `json:"currentCount"`
	TotalCount   int                    `json:"totalCount"`
	TotalPage    int                    `json:"totalPage"`
}

type DescribeCCDefaultThresholdsRequest added in v1.6.0

type DescribeCCDefaultThresholdsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`
}

func NewDescribeCCDefaultThresholdsRequest added in v1.6.0

func NewDescribeCCDefaultThresholdsRequest(
	regionId string,
) *DescribeCCDefaultThresholdsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCCDefaultThresholdsRequestWithAllParams added in v1.6.0

func NewDescribeCCDefaultThresholdsRequestWithAllParams(
	regionId string,
) *DescribeCCDefaultThresholdsRequest

* param regionId: Region ID (Required)

func NewDescribeCCDefaultThresholdsRequestWithoutParam added in v1.6.0

func NewDescribeCCDefaultThresholdsRequestWithoutParam() *DescribeCCDefaultThresholdsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCCDefaultThresholdsRequest) GetRegionId added in v1.6.0

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

func (*DescribeCCDefaultThresholdsRequest) SetRegionId added in v1.6.0

func (r *DescribeCCDefaultThresholdsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeCCDefaultThresholdsResponse added in v1.6.0

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

type DescribeCCDefaultThresholdsResult added in v1.6.0

type DescribeCCDefaultThresholdsResult struct {
	Data ipanti.CCDefaultThresholds `json:"data"`
}

type DescribeCCGraphRequest added in v1.6.0

type DescribeCCGraphRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	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 []int64 `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 (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 []int64,
	subDomain []string,
) *DescribeCCGraphRequest

* param regionId: 区域 Id (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 []int64)

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

func (*DescribeCCGraphRequest) SetRegionId added in v1.6.0

func (r *DescribeCCGraphRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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 DescribeCertInfoRequest added in v1.6.0

type DescribeCertInfoRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

	/* 查询证书预览请求参数  */
	CertInfoDescribeSpec *ipanti.CertInfoDescribeSpec `json:"certInfoDescribeSpec"`
}

func NewDescribeCertInfoRequest added in v1.6.0

func NewDescribeCertInfoRequest(
	regionId string,
	instanceId int,
	webRuleId int,
	certInfoDescribeSpec *ipanti.CertInfoDescribeSpec,
) *DescribeCertInfoRequest

* param regionId: 区域 Id (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param certInfoDescribeSpec: 查询证书预览请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeCertInfoRequestWithAllParams added in v1.6.0

func NewDescribeCertInfoRequestWithAllParams(
	regionId string,
	instanceId int,
	webRuleId int,
	certInfoDescribeSpec *ipanti.CertInfoDescribeSpec,
) *DescribeCertInfoRequest

* param regionId: 区域 Id (Required) * param instanceId: 高防实例 Id (Required) * param webRuleId: 网站规则 Id (Required) * param certInfoDescribeSpec: 查询证书预览请求参数 (Required)

func NewDescribeCertInfoRequestWithoutParam added in v1.6.0

func NewDescribeCertInfoRequestWithoutParam() *DescribeCertInfoRequest

This constructor has better compatible ability when API parameters changed

func (DescribeCertInfoRequest) GetRegionId added in v1.6.0

func (r DescribeCertInfoRequest) GetRegionId() string

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

func (*DescribeCertInfoRequest) SetCertInfoDescribeSpec added in v1.6.0

func (r *DescribeCertInfoRequest) SetCertInfoDescribeSpec(certInfoDescribeSpec *ipanti.CertInfoDescribeSpec)

param certInfoDescribeSpec: 查询证书预览请求参数(Required)

func (*DescribeCertInfoRequest) SetInstanceId added in v1.6.0

func (r *DescribeCertInfoRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*DescribeCertInfoRequest) SetRegionId added in v1.6.0

func (r *DescribeCertInfoRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DescribeCertInfoRequest) SetWebRuleId added in v1.6.0

func (r *DescribeCertInfoRequest) SetWebRuleId(webRuleId int)

param webRuleId: 网站规则 Id(Required)

type DescribeCertInfoResponse added in v1.6.0

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

type DescribeCertInfoResult added in v1.6.0

type DescribeCertInfoResult struct {
	Data ipanti.CertInfo `json:"data"`
}

type DescribeDDoSAttackLogsRequest added in v1.6.0

type DescribeDDoSAttackLogsRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	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 []int64 `json:"instanceId"`
}

func NewDescribeDDoSAttackLogsRequest added in v1.6.0

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

* param regionId: 区域 Id (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 []int64,
) *DescribeDDoSAttackLogsRequest

* param regionId: 区域 Id (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 []int64)

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(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  */
	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 []int64 `json:"instanceId"`
}

func NewDescribeDDoSGraphRequest added in v1.6.0

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

* param regionId: 区域 Id (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 []int64,
) *DescribeDDoSGraphRequest

* param regionId: 区域 Id (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 []int64)

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

func (*DescribeDDoSGraphRequest) SetRegionId added in v1.6.0

func (r *DescribeDDoSGraphRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	RegionId string `json:"regionId"`

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

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

func NewDescribeForwardRuleRequest

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

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
) *DescribeForwardRuleRequest

* param regionId: 区域 Id (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 int)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeForwardRuleRequest) SetInstanceId

func (r *DescribeForwardRuleRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*DescribeForwardRuleRequest) SetRegionId

func (r *DescribeForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId int `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 int,
) *DescribeForwardRulesRequest

* param regionId: 区域 Id (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeForwardRulesRequestWithAllParams added in v1.0.3

func NewDescribeForwardRulesRequestWithAllParams(
	regionId string,
	instanceId int,
	pageNumber *int,
	pageSize *int,
	searchType *string,
	searchValue *string,
) *DescribeForwardRulesRequest

* param regionId: 区域 Id (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 int)

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(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  */
	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 []int64 `json:"instanceId"`
}

func NewDescribeFwdGraphRequest added in v1.6.0

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

* param regionId: 区域 Id (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 []int64,
) *DescribeFwdGraphRequest

* param regionId: 区域 Id (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 []int64)

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

func (*DescribeFwdGraphRequest) SetRegionId added in v1.6.0

func (r *DescribeFwdGraphRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	RegionId string `json:"regionId"`
}

func NewDescribeGeoAreasRequest added in v1.6.0

func NewDescribeGeoAreasRequest(
	regionId string,
) *DescribeGeoAreasRequest

* param regionId: 区域 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeGeoAreasRequestWithAllParams added in v1.6.0

func NewDescribeGeoAreasRequestWithAllParams(
	regionId string,
) *DescribeGeoAreasRequest

* param regionId: 区域 Id (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(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

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDescribeInstanceRequest

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

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceRequestWithAllParams added in v1.0.3

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

* param regionId: Region ID (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 int)

param instanceId: 实例 ID(Required)

func (*DescribeInstanceRequest) SetRegionId

func (r *DescribeInstanceRequest) SetRegionId(regionId string)

param regionId: Region ID(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

	/* Region ID  */
	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: Region ID (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: Region ID (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: Region ID(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 DescribeNameListRequest added in v1.6.0

type DescribeNameListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 高防实例 ID, 为空则查询所有实例名称 (Optional) */
	Id *int `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: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNameListRequestWithAllParams added in v1.6.0

func NewDescribeNameListRequestWithAllParams(
	regionId string,
	id *int,
	name *string,
	pageNumber *int,
	pageSize *int,
) *DescribeNameListRequest

* param regionId: Region ID (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 int)

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: Region ID(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  */
	RegionId string `json:"regionId"`

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

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

func NewDescribeProtectionRuleOfForwardRuleRequest added in v1.6.0

func NewDescribeProtectionRuleOfForwardRuleRequest(
	regionId string,
	instanceId int,
	forwardRuleId int,
) *DescribeProtectionRuleOfForwardRuleRequest

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
) *DescribeProtectionRuleOfForwardRuleRequest

* param regionId: 区域 Id (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 int)

param forwardRuleId: 转发规则 Id(Required)

func (*DescribeProtectionRuleOfForwardRuleRequest) SetInstanceId added in v1.6.0

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*DescribeProtectionRuleOfForwardRuleRequest) SetRegionId added in v1.6.0

func (r *DescribeProtectionRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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

	/* Region ID  */
	RegionId string `json:"regionId"`
}

func NewDescribeProtectionStatisticsRequest added in v1.6.0

func NewDescribeProtectionStatisticsRequest(
	regionId string,
) *DescribeProtectionStatisticsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeProtectionStatisticsRequestWithAllParams added in v1.6.0

func NewDescribeProtectionStatisticsRequestWithAllParams(
	regionId string,
) *DescribeProtectionStatisticsRequest

* param regionId: Region ID (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: Region ID(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

	/* Region ID  */
	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: Region ID (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: Region ID (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: Region ID(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 DescribeWebRuleRequest

type DescribeWebRuleRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewDescribeWebRuleRequest

func NewDescribeWebRuleRequest(
	regionId string,
	instanceId int,
	webRuleId int,
) *DescribeWebRuleRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
) *DescribeWebRuleRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*DescribeWebRuleRequest) SetRegionId

func (r *DescribeWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DescribeWebRuleRequest) SetWebRuleId

func (r *DescribeWebRuleRequest) SetWebRuleId(webRuleId int)

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 DescribeWebRulesRequest

type DescribeWebRulesRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

	/* 高防实例 Id  */
	InstanceId int `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 int,
) *DescribeWebRulesRequest

* param regionId: 区域 Id (Required) * param instanceId: 高防实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWebRulesRequestWithAllParams added in v1.0.3

func NewDescribeWebRulesRequestWithAllParams(
	regionId string,
	instanceId int,
	pageNumber *int,
	pageSize *int,
	searchType *string,
	searchValue *string,
) *DescribeWebRulesRequest

* param regionId: 区域 Id (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 int)

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

type DisableCCIpLimitRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDisableCCIpLimitRequest added in v1.6.0

func NewDisableCCIpLimitRequest(
	regionId string,
	instanceId int,
) *DisableCCIpLimitRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableCCIpLimitRequestWithAllParams added in v1.6.0

func NewDisableCCIpLimitRequestWithAllParams(
	regionId string,
	instanceId int,
) *DisableCCIpLimitRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewDisableCCIpLimitRequestWithoutParam added in v1.6.0

func NewDisableCCIpLimitRequestWithoutParam() *DisableCCIpLimitRequest

This constructor has better compatible ability when API parameters changed

func (DisableCCIpLimitRequest) GetRegionId added in v1.6.0

func (r DisableCCIpLimitRequest) GetRegionId() string

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

func (*DisableCCIpLimitRequest) SetInstanceId added in v1.6.0

func (r *DisableCCIpLimitRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*DisableCCIpLimitRequest) SetRegionId added in v1.6.0

func (r *DisableCCIpLimitRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableCCIpLimitResponse added in v1.6.0

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

type DisableCCIpLimitResult added in v1.6.0

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

type DisableCCObserverModeRequest added in v1.6.0

type DisableCCObserverModeRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDisableCCObserverModeRequest added in v1.6.0

func NewDisableCCObserverModeRequest(
	regionId string,
	instanceId int,
) *DisableCCObserverModeRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableCCObserverModeRequestWithAllParams added in v1.6.0

func NewDisableCCObserverModeRequestWithAllParams(
	regionId string,
	instanceId int,
) *DisableCCObserverModeRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewDisableCCObserverModeRequestWithoutParam added in v1.6.0

func NewDisableCCObserverModeRequestWithoutParam() *DisableCCObserverModeRequest

This constructor has better compatible ability when API parameters changed

func (DisableCCObserverModeRequest) GetRegionId added in v1.6.0

func (r DisableCCObserverModeRequest) GetRegionId() string

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

func (*DisableCCObserverModeRequest) SetInstanceId added in v1.6.0

func (r *DisableCCObserverModeRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*DisableCCObserverModeRequest) SetRegionId added in v1.6.0

func (r *DisableCCObserverModeRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableCCObserverModeResponse added in v1.6.0

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

type DisableCCObserverModeResult added in v1.6.0

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

type DisableInstanceCCRequest

type DisableInstanceCCRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDisableInstanceCCRequest

func NewDisableInstanceCCRequest(
	regionId string,
	instanceId int,
) *DisableInstanceCCRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInstanceCCRequestWithAllParams added in v1.0.3

func NewDisableInstanceCCRequestWithAllParams(
	regionId string,
	instanceId int,
) *DisableInstanceCCRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewDisableInstanceCCRequestWithoutParam added in v1.0.3

func NewDisableInstanceCCRequestWithoutParam() *DisableInstanceCCRequest

This constructor has better compatible ability when API parameters changed

func (DisableInstanceCCRequest) GetRegionId

func (r DisableInstanceCCRequest) GetRegionId() string

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

func (*DisableInstanceCCRequest) SetInstanceId

func (r *DisableInstanceCCRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*DisableInstanceCCRequest) SetRegionId

func (r *DisableInstanceCCRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableInstanceCCResponse

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

type DisableInstanceCCResult

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

type DisableInstanceIpBlackListRequest

type DisableInstanceIpBlackListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDisableInstanceIpBlackListRequest

func NewDisableInstanceIpBlackListRequest(
	regionId string,
	instanceId int,
) *DisableInstanceIpBlackListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInstanceIpBlackListRequestWithAllParams added in v1.0.3

func NewDisableInstanceIpBlackListRequestWithAllParams(
	regionId string,
	instanceId int,
) *DisableInstanceIpBlackListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewDisableInstanceIpBlackListRequestWithoutParam added in v1.0.3

func NewDisableInstanceIpBlackListRequestWithoutParam() *DisableInstanceIpBlackListRequest

This constructor has better compatible ability when API parameters changed

func (DisableInstanceIpBlackListRequest) GetRegionId

func (r DisableInstanceIpBlackListRequest) GetRegionId() string

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

func (*DisableInstanceIpBlackListRequest) SetInstanceId

func (r *DisableInstanceIpBlackListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*DisableInstanceIpBlackListRequest) SetRegionId

func (r *DisableInstanceIpBlackListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableInstanceIpBlackListResponse

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

type DisableInstanceIpBlackListResult

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

type DisableInstanceIpWhiteListRequest

type DisableInstanceIpWhiteListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDisableInstanceIpWhiteListRequest

func NewDisableInstanceIpWhiteListRequest(
	regionId string,
	instanceId int,
) *DisableInstanceIpWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInstanceIpWhiteListRequestWithAllParams added in v1.0.3

func NewDisableInstanceIpWhiteListRequestWithAllParams(
	regionId string,
	instanceId int,
) *DisableInstanceIpWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewDisableInstanceIpWhiteListRequestWithoutParam added in v1.0.3

func NewDisableInstanceIpWhiteListRequestWithoutParam() *DisableInstanceIpWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (DisableInstanceIpWhiteListRequest) GetRegionId

func (r DisableInstanceIpWhiteListRequest) GetRegionId() string

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

func (*DisableInstanceIpWhiteListRequest) SetInstanceId

func (r *DisableInstanceIpWhiteListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*DisableInstanceIpWhiteListRequest) SetRegionId

func (r *DisableInstanceIpWhiteListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableInstanceIpWhiteListResponse

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

type DisableInstanceIpWhiteListResult

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

type DisableInstanceUrlWhiteListRequest

type DisableInstanceUrlWhiteListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewDisableInstanceUrlWhiteListRequest

func NewDisableInstanceUrlWhiteListRequest(
	regionId string,
	instanceId int,
) *DisableInstanceUrlWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInstanceUrlWhiteListRequestWithAllParams added in v1.0.3

func NewDisableInstanceUrlWhiteListRequestWithAllParams(
	regionId string,
	instanceId int,
) *DisableInstanceUrlWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewDisableInstanceUrlWhiteListRequestWithoutParam added in v1.0.3

func NewDisableInstanceUrlWhiteListRequestWithoutParam() *DisableInstanceUrlWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (DisableInstanceUrlWhiteListRequest) GetRegionId

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

func (*DisableInstanceUrlWhiteListRequest) SetInstanceId

func (r *DisableInstanceUrlWhiteListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*DisableInstanceUrlWhiteListRequest) SetRegionId

func (r *DisableInstanceUrlWhiteListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableInstanceUrlWhiteListResponse

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

type DisableInstanceUrlWhiteListResult

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

type DisableWebRuleCCRequest added in v1.0.3

type DisableWebRuleCCRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewDisableWebRuleCCRequest added in v1.0.3

func NewDisableWebRuleCCRequest(
	regionId string,
	instanceId int,
	webRuleId int,
) *DisableWebRuleCCRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
) *DisableWebRuleCCRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*DisableWebRuleCCRequest) SetRegionId added in v1.0.3

func (r *DisableWebRuleCCRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DisableWebRuleCCRequest) SetWebRuleId added in v1.0.3

func (r *DisableWebRuleCCRequest) SetWebRuleId(webRuleId int)

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

type DownloadCCAttackLogDetailsRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	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  */
	InstanceId int `json:"instanceId"`

	/* 子域名 (Optional) */
	SubDomain []string `json:"subDomain"`
}

func NewDownloadCCAttackLogDetailsRequest added in v1.6.0

func NewDownloadCCAttackLogDetailsRequest(
	regionId string,
	startTime string,
	endTime string,
	instanceId int,
) *DownloadCCAttackLogDetailsRequest

* param regionId: 区域 Id (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 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDownloadCCAttackLogDetailsRequestWithAllParams added in v1.6.0

func NewDownloadCCAttackLogDetailsRequestWithAllParams(
	regionId string,
	startTime string,
	endTime string,
	instanceId int,
	subDomain []string,
) *DownloadCCAttackLogDetailsRequest

* param regionId: 区域 Id (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 (Required) * param subDomain: 子域名 (Optional)

func NewDownloadCCAttackLogDetailsRequestWithoutParam added in v1.6.0

func NewDownloadCCAttackLogDetailsRequestWithoutParam() *DownloadCCAttackLogDetailsRequest

This constructor has better compatible ability when API parameters changed

func (DownloadCCAttackLogDetailsRequest) GetRegionId added in v1.6.0

func (r DownloadCCAttackLogDetailsRequest) GetRegionId() string

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

func (*DownloadCCAttackLogDetailsRequest) SetEndTime added in v1.6.0

func (r *DownloadCCAttackLogDetailsRequest) SetEndTime(endTime string)

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

func (*DownloadCCAttackLogDetailsRequest) SetInstanceId added in v1.6.0

func (r *DownloadCCAttackLogDetailsRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 ID(Required)

func (*DownloadCCAttackLogDetailsRequest) SetRegionId added in v1.6.0

func (r *DownloadCCAttackLogDetailsRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DownloadCCAttackLogDetailsRequest) SetStartTime added in v1.6.0

func (r *DownloadCCAttackLogDetailsRequest) SetStartTime(startTime string)

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

func (*DownloadCCAttackLogDetailsRequest) SetSubDomain added in v1.6.0

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

param subDomain: 子域名(Optional)

type DownloadCCAttackLogDetailsResponse added in v1.6.0

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

type DownloadCCAttackLogDetailsResult added in v1.6.0

type DownloadCCAttackLogDetailsResult struct {
}

type DownloadCCAttackLogsRequest added in v1.6.0

type DownloadCCAttackLogsRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	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 []int64 `json:"instanceId"`
}

func NewDownloadCCAttackLogsRequest added in v1.6.0

func NewDownloadCCAttackLogsRequest(
	regionId string,
	startTime string,
	endTime string,
) *DownloadCCAttackLogsRequest

* param regionId: 区域 Id (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 NewDownloadCCAttackLogsRequestWithAllParams added in v1.6.0

func NewDownloadCCAttackLogsRequestWithAllParams(
	regionId string,
	startTime string,
	endTime string,
	instanceId []int64,
) *DownloadCCAttackLogsRequest

* param regionId: 区域 Id (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 NewDownloadCCAttackLogsRequestWithoutParam added in v1.6.0

func NewDownloadCCAttackLogsRequestWithoutParam() *DownloadCCAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DownloadCCAttackLogsRequest) GetRegionId added in v1.6.0

func (r DownloadCCAttackLogsRequest) GetRegionId() string

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

func (*DownloadCCAttackLogsRequest) SetEndTime added in v1.6.0

func (r *DownloadCCAttackLogsRequest) SetEndTime(endTime string)

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

func (*DownloadCCAttackLogsRequest) SetInstanceId added in v1.6.0

func (r *DownloadCCAttackLogsRequest) SetInstanceId(instanceId []int64)

param instanceId: 高防实例 ID(Optional)

func (*DownloadCCAttackLogsRequest) SetRegionId added in v1.6.0

func (r *DownloadCCAttackLogsRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DownloadCCAttackLogsRequest) SetStartTime added in v1.6.0

func (r *DownloadCCAttackLogsRequest) SetStartTime(startTime string)

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

type DownloadCCAttackLogsResponse added in v1.6.0

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

type DownloadCCAttackLogsResult added in v1.6.0

type DownloadCCAttackLogsResult struct {
}

type DownloadDDoSAttackLogsRequest added in v1.6.0

type DownloadDDoSAttackLogsRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	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 []int64 `json:"instanceId"`
}

func NewDownloadDDoSAttackLogsRequest added in v1.6.0

func NewDownloadDDoSAttackLogsRequest(
	regionId string,
	startTime string,
	endTime string,
) *DownloadDDoSAttackLogsRequest

* param regionId: 区域 Id (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 NewDownloadDDoSAttackLogsRequestWithAllParams added in v1.6.0

func NewDownloadDDoSAttackLogsRequestWithAllParams(
	regionId string,
	startTime string,
	endTime string,
	instanceId []int64,
) *DownloadDDoSAttackLogsRequest

* param regionId: 区域 Id (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 NewDownloadDDoSAttackLogsRequestWithoutParam added in v1.6.0

func NewDownloadDDoSAttackLogsRequestWithoutParam() *DownloadDDoSAttackLogsRequest

This constructor has better compatible ability when API parameters changed

func (DownloadDDoSAttackLogsRequest) GetRegionId added in v1.6.0

func (r DownloadDDoSAttackLogsRequest) GetRegionId() string

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

func (*DownloadDDoSAttackLogsRequest) SetEndTime added in v1.6.0

func (r *DownloadDDoSAttackLogsRequest) SetEndTime(endTime string)

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

func (*DownloadDDoSAttackLogsRequest) SetInstanceId added in v1.6.0

func (r *DownloadDDoSAttackLogsRequest) SetInstanceId(instanceId []int64)

param instanceId: 高防实例 ID(Optional)

func (*DownloadDDoSAttackLogsRequest) SetRegionId added in v1.6.0

func (r *DownloadDDoSAttackLogsRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*DownloadDDoSAttackLogsRequest) SetStartTime added in v1.6.0

func (r *DownloadDDoSAttackLogsRequest) SetStartTime(startTime string)

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

type DownloadDDoSAttackLogsResponse added in v1.6.0

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

type DownloadDDoSAttackLogsResult added in v1.6.0

type DownloadDDoSAttackLogsResult struct {
}

type EnableCCIpLimitRequest added in v1.6.0

type EnableCCIpLimitRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewEnableCCIpLimitRequest added in v1.6.0

func NewEnableCCIpLimitRequest(
	regionId string,
	instanceId int,
) *EnableCCIpLimitRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableCCIpLimitRequestWithAllParams added in v1.6.0

func NewEnableCCIpLimitRequestWithAllParams(
	regionId string,
	instanceId int,
) *EnableCCIpLimitRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewEnableCCIpLimitRequestWithoutParam added in v1.6.0

func NewEnableCCIpLimitRequestWithoutParam() *EnableCCIpLimitRequest

This constructor has better compatible ability when API parameters changed

func (EnableCCIpLimitRequest) GetRegionId added in v1.6.0

func (r EnableCCIpLimitRequest) GetRegionId() string

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

func (*EnableCCIpLimitRequest) SetInstanceId added in v1.6.0

func (r *EnableCCIpLimitRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*EnableCCIpLimitRequest) SetRegionId added in v1.6.0

func (r *EnableCCIpLimitRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableCCIpLimitResponse added in v1.6.0

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

type EnableCCIpLimitResult added in v1.6.0

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

type EnableCCObserverModeRequest added in v1.6.0

type EnableCCObserverModeRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewEnableCCObserverModeRequest added in v1.6.0

func NewEnableCCObserverModeRequest(
	regionId string,
	instanceId int,
) *EnableCCObserverModeRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableCCObserverModeRequestWithAllParams added in v1.6.0

func NewEnableCCObserverModeRequestWithAllParams(
	regionId string,
	instanceId int,
) *EnableCCObserverModeRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewEnableCCObserverModeRequestWithoutParam added in v1.6.0

func NewEnableCCObserverModeRequestWithoutParam() *EnableCCObserverModeRequest

This constructor has better compatible ability when API parameters changed

func (EnableCCObserverModeRequest) GetRegionId added in v1.6.0

func (r EnableCCObserverModeRequest) GetRegionId() string

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

func (*EnableCCObserverModeRequest) SetInstanceId added in v1.6.0

func (r *EnableCCObserverModeRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*EnableCCObserverModeRequest) SetRegionId added in v1.6.0

func (r *EnableCCObserverModeRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableCCObserverModeResponse added in v1.6.0

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

type EnableCCObserverModeResult added in v1.6.0

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

type EnableInstanceCCRequest

type EnableInstanceCCRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewEnableInstanceCCRequest

func NewEnableInstanceCCRequest(
	regionId string,
	instanceId int,
) *EnableInstanceCCRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInstanceCCRequestWithAllParams added in v1.0.3

func NewEnableInstanceCCRequestWithAllParams(
	regionId string,
	instanceId int,
) *EnableInstanceCCRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewEnableInstanceCCRequestWithoutParam added in v1.0.3

func NewEnableInstanceCCRequestWithoutParam() *EnableInstanceCCRequest

This constructor has better compatible ability when API parameters changed

func (EnableInstanceCCRequest) GetRegionId

func (r EnableInstanceCCRequest) GetRegionId() string

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

func (*EnableInstanceCCRequest) SetInstanceId

func (r *EnableInstanceCCRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*EnableInstanceCCRequest) SetRegionId

func (r *EnableInstanceCCRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableInstanceCCResponse

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

type EnableInstanceCCResult

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

type EnableInstanceIpBlackListRequest

type EnableInstanceIpBlackListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewEnableInstanceIpBlackListRequest

func NewEnableInstanceIpBlackListRequest(
	regionId string,
	instanceId int,
) *EnableInstanceIpBlackListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInstanceIpBlackListRequestWithAllParams added in v1.0.3

func NewEnableInstanceIpBlackListRequestWithAllParams(
	regionId string,
	instanceId int,
) *EnableInstanceIpBlackListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewEnableInstanceIpBlackListRequestWithoutParam added in v1.0.3

func NewEnableInstanceIpBlackListRequestWithoutParam() *EnableInstanceIpBlackListRequest

This constructor has better compatible ability when API parameters changed

func (EnableInstanceIpBlackListRequest) GetRegionId

func (r EnableInstanceIpBlackListRequest) GetRegionId() string

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

func (*EnableInstanceIpBlackListRequest) SetInstanceId

func (r *EnableInstanceIpBlackListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*EnableInstanceIpBlackListRequest) SetRegionId

func (r *EnableInstanceIpBlackListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableInstanceIpBlackListResponse

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

type EnableInstanceIpBlackListResult

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

type EnableInstanceIpWhiteListRequest

type EnableInstanceIpWhiteListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewEnableInstanceIpWhiteListRequest

func NewEnableInstanceIpWhiteListRequest(
	regionId string,
	instanceId int,
) *EnableInstanceIpWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInstanceIpWhiteListRequestWithAllParams added in v1.0.3

func NewEnableInstanceIpWhiteListRequestWithAllParams(
	regionId string,
	instanceId int,
) *EnableInstanceIpWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewEnableInstanceIpWhiteListRequestWithoutParam added in v1.0.3

func NewEnableInstanceIpWhiteListRequestWithoutParam() *EnableInstanceIpWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (EnableInstanceIpWhiteListRequest) GetRegionId

func (r EnableInstanceIpWhiteListRequest) GetRegionId() string

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

func (*EnableInstanceIpWhiteListRequest) SetInstanceId

func (r *EnableInstanceIpWhiteListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*EnableInstanceIpWhiteListRequest) SetRegionId

func (r *EnableInstanceIpWhiteListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableInstanceIpWhiteListResponse

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

type EnableInstanceIpWhiteListResult

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

type EnableInstanceUrlWhiteListRequest

type EnableInstanceUrlWhiteListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

func NewEnableInstanceUrlWhiteListRequest

func NewEnableInstanceUrlWhiteListRequest(
	regionId string,
	instanceId int,
) *EnableInstanceUrlWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInstanceUrlWhiteListRequestWithAllParams added in v1.0.3

func NewEnableInstanceUrlWhiteListRequestWithAllParams(
	regionId string,
	instanceId int,
) *EnableInstanceUrlWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required)

func NewEnableInstanceUrlWhiteListRequestWithoutParam added in v1.0.3

func NewEnableInstanceUrlWhiteListRequestWithoutParam() *EnableInstanceUrlWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (EnableInstanceUrlWhiteListRequest) GetRegionId

func (r EnableInstanceUrlWhiteListRequest) GetRegionId() string

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

func (*EnableInstanceUrlWhiteListRequest) SetInstanceId

func (r *EnableInstanceUrlWhiteListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*EnableInstanceUrlWhiteListRequest) SetRegionId

func (r *EnableInstanceUrlWhiteListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableInstanceUrlWhiteListResponse

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

type EnableInstanceUrlWhiteListResult

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

type EnableWebRuleCCRequest added in v1.0.3

type EnableWebRuleCCRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewEnableWebRuleCCRequest added in v1.0.3

func NewEnableWebRuleCCRequest(
	regionId string,
	instanceId int,
	webRuleId int,
) *EnableWebRuleCCRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
) *EnableWebRuleCCRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*EnableWebRuleCCRequest) SetRegionId added in v1.0.3

func (r *EnableWebRuleCCRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*EnableWebRuleCCRequest) SetWebRuleId added in v1.0.3

func (r *EnableWebRuleCCRequest) SetWebRuleId(webRuleId int)

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

type ModifyAlarmConfigRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* 更新告警配置请求参数  */
	AlarmConfigSpec *ipanti.AlarmConfigSpec `json:"alarmConfigSpec"`
}

func NewModifyAlarmConfigRequest added in v1.6.0

func NewModifyAlarmConfigRequest(
	regionId string,
	instanceId int,
	alarmConfigSpec *ipanti.AlarmConfigSpec,
) *ModifyAlarmConfigRequest

* param regionId: Region ID (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 int,
	alarmConfigSpec *ipanti.AlarmConfigSpec,
) *ModifyAlarmConfigRequest

* param regionId: Region ID (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 int)

param instanceId: 实例 ID(Required)

func (*ModifyAlarmConfigRequest) SetRegionId added in v1.6.0

func (r *ModifyAlarmConfigRequest) SetRegionId(regionId string)

param regionId: Region ID(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 ModifyCertInfoRequest added in v1.6.0

type ModifyCertInfoRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

	/* 编辑网站规则证书信息请求参数  */
	CertInfoModifySpec *ipanti.CertInfoModifySpec `json:"certInfoModifySpec"`
}

func NewModifyCertInfoRequest added in v1.6.0

func NewModifyCertInfoRequest(
	regionId string,
	instanceId int,
	webRuleId int,
	certInfoModifySpec *ipanti.CertInfoModifySpec,
) *ModifyCertInfoRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
	certInfoModifySpec *ipanti.CertInfoModifySpec,
) *ModifyCertInfoRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*ModifyCertInfoRequest) SetRegionId added in v1.6.0

func (r *ModifyCertInfoRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*ModifyCertInfoRequest) SetWebRuleId added in v1.6.0

func (r *ModifyCertInfoRequest) SetWebRuleId(webRuleId int)

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

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* 修改实例名称请求参数  */
	ModifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec `json:"modifyInstanceEPBSpec"`
}

func NewModifyEPBRequest added in v1.6.0

func NewModifyEPBRequest(
	regionId string,
	instanceId int,
	modifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec,
) *ModifyEPBRequest

* param regionId: Region ID (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 int,
	modifyInstanceEPBSpec *ipanti.ModifyInstanceEPBSpec,
) *ModifyEPBRequest

* param regionId: Region ID (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 int)

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: Region ID(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  */
	RegionId string `json:"regionId"`

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

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

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

func NewModifyForwardRuleRequest

func NewModifyForwardRuleRequest(
	regionId string,
	instanceId int,
	forwardRuleId int,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *ModifyForwardRuleRequest

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
	forwardRuleSpec *ipanti.ForwardRuleSpec,
) *ModifyForwardRuleRequest

* param regionId: 区域 Id (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 int)

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 int)

param instanceId: 高防实例 Id(Required)

func (*ModifyForwardRuleRequest) SetRegionId

func (r *ModifyForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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 ModifyInstanceCCRequest

type ModifyInstanceCCRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* CC 参数  */
	CCSpec *ipanti.CCSpec `json:"cCSpec"`
}

func NewModifyInstanceCCRequest

func NewModifyInstanceCCRequest(
	regionId string,
	instanceId int,
	cCSpec *ipanti.CCSpec,
) *ModifyInstanceCCRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param cCSpec: CC 参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceCCRequestWithAllParams added in v1.0.3

func NewModifyInstanceCCRequestWithAllParams(
	regionId string,
	instanceId int,
	cCSpec *ipanti.CCSpec,
) *ModifyInstanceCCRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param cCSpec: CC 参数 (Required)

func NewModifyInstanceCCRequestWithoutParam added in v1.0.3

func NewModifyInstanceCCRequestWithoutParam() *ModifyInstanceCCRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceCCRequest) GetRegionId

func (r ModifyInstanceCCRequest) GetRegionId() string

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

func (*ModifyInstanceCCRequest) SetCCSpec

func (r *ModifyInstanceCCRequest) SetCCSpec(cCSpec *ipanti.CCSpec)

param cCSpec: CC 参数(Required)

func (*ModifyInstanceCCRequest) SetInstanceId

func (r *ModifyInstanceCCRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceCCRequest) SetRegionId

func (r *ModifyInstanceCCRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyInstanceCCResponse

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

type ModifyInstanceCCResult

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

type ModifyInstanceIpBlackListRequest

type ModifyInstanceIpBlackListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* 设置 IP 黑名单请求  */
	IpBwListSpec *ipanti.IpBwListSpec `json:"ipBwListSpec"`
}

func NewModifyInstanceIpBlackListRequest

func NewModifyInstanceIpBlackListRequest(
	regionId string,
	instanceId int,
	ipBwListSpec *ipanti.IpBwListSpec,
) *ModifyInstanceIpBlackListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param ipBwListSpec: 设置 IP 黑名单请求 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceIpBlackListRequestWithAllParams added in v1.0.3

func NewModifyInstanceIpBlackListRequestWithAllParams(
	regionId string,
	instanceId int,
	ipBwListSpec *ipanti.IpBwListSpec,
) *ModifyInstanceIpBlackListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param ipBwListSpec: 设置 IP 黑名单请求 (Required)

func NewModifyInstanceIpBlackListRequestWithoutParam added in v1.0.3

func NewModifyInstanceIpBlackListRequestWithoutParam() *ModifyInstanceIpBlackListRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceIpBlackListRequest) GetRegionId

func (r ModifyInstanceIpBlackListRequest) GetRegionId() string

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

func (*ModifyInstanceIpBlackListRequest) SetInstanceId

func (r *ModifyInstanceIpBlackListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceIpBlackListRequest) SetIpBwListSpec added in v1.6.0

func (r *ModifyInstanceIpBlackListRequest) SetIpBwListSpec(ipBwListSpec *ipanti.IpBwListSpec)

param ipBwListSpec: 设置 IP 黑名单请求(Required)

func (*ModifyInstanceIpBlackListRequest) SetRegionId

func (r *ModifyInstanceIpBlackListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyInstanceIpBlackListResponse

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

type ModifyInstanceIpBlackListResult

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

type ModifyInstanceIpWhiteListRequest

type ModifyInstanceIpWhiteListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* 设置 IP 白名单请求参数  */
	IpBwListSpec *ipanti.IpBwListSpec `json:"ipBwListSpec"`
}

func NewModifyInstanceIpWhiteListRequest

func NewModifyInstanceIpWhiteListRequest(
	regionId string,
	instanceId int,
	ipBwListSpec *ipanti.IpBwListSpec,
) *ModifyInstanceIpWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param ipBwListSpec: 设置 IP 白名单请求参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceIpWhiteListRequestWithAllParams added in v1.0.3

func NewModifyInstanceIpWhiteListRequestWithAllParams(
	regionId string,
	instanceId int,
	ipBwListSpec *ipanti.IpBwListSpec,
) *ModifyInstanceIpWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param ipBwListSpec: 设置 IP 白名单请求参数 (Required)

func NewModifyInstanceIpWhiteListRequestWithoutParam added in v1.0.3

func NewModifyInstanceIpWhiteListRequestWithoutParam() *ModifyInstanceIpWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceIpWhiteListRequest) GetRegionId

func (r ModifyInstanceIpWhiteListRequest) GetRegionId() string

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

func (*ModifyInstanceIpWhiteListRequest) SetInstanceId

func (r *ModifyInstanceIpWhiteListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceIpWhiteListRequest) SetIpBwListSpec added in v1.6.0

func (r *ModifyInstanceIpWhiteListRequest) SetIpBwListSpec(ipBwListSpec *ipanti.IpBwListSpec)

param ipBwListSpec: 设置 IP 白名单请求参数(Required)

func (*ModifyInstanceIpWhiteListRequest) SetRegionId

func (r *ModifyInstanceIpWhiteListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyInstanceIpWhiteListResponse

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

type ModifyInstanceIpWhiteListResult

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

type ModifyInstanceNameRequest

type ModifyInstanceNameRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* 修改实例名称请求参数  */
	RenameInstanceSpec *ipanti.RenameInstanceSpec `json:"renameInstanceSpec"`
}

func NewModifyInstanceNameRequest

func NewModifyInstanceNameRequest(
	regionId string,
	instanceId int,
	renameInstanceSpec *ipanti.RenameInstanceSpec,
) *ModifyInstanceNameRequest

* param regionId: Region ID (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 int,
	renameInstanceSpec *ipanti.RenameInstanceSpec,
) *ModifyInstanceNameRequest

* param regionId: Region ID (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 int)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceNameRequest) SetRegionId

func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)

param regionId: Region ID(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 ModifyInstanceUrlWhiteListRequest

type ModifyInstanceUrlWhiteListRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* 网站类规则参数  */
	UrlWhiteList []string `json:"urlWhiteList"`
}

func NewModifyInstanceUrlWhiteListRequest

func NewModifyInstanceUrlWhiteListRequest(
	regionId string,
	instanceId int,
	urlWhiteList []string,
) *ModifyInstanceUrlWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param urlWhiteList: 网站类规则参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceUrlWhiteListRequestWithAllParams added in v1.0.3

func NewModifyInstanceUrlWhiteListRequestWithAllParams(
	regionId string,
	instanceId int,
	urlWhiteList []string,
) *ModifyInstanceUrlWhiteListRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param urlWhiteList: 网站类规则参数 (Required)

func NewModifyInstanceUrlWhiteListRequestWithoutParam added in v1.0.3

func NewModifyInstanceUrlWhiteListRequestWithoutParam() *ModifyInstanceUrlWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceUrlWhiteListRequest) GetRegionId

func (r ModifyInstanceUrlWhiteListRequest) GetRegionId() string

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

func (*ModifyInstanceUrlWhiteListRequest) SetInstanceId

func (r *ModifyInstanceUrlWhiteListRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*ModifyInstanceUrlWhiteListRequest) SetRegionId

func (r *ModifyInstanceUrlWhiteListRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifyInstanceUrlWhiteListRequest) SetUrlWhiteList

func (r *ModifyInstanceUrlWhiteListRequest) SetUrlWhiteList(urlWhiteList []string)

param urlWhiteList: 网站类规则参数(Required)

type ModifyInstanceUrlWhiteListResponse

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

type ModifyInstanceUrlWhiteListResult

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

type ModifyProtectionRuleOfForwardRuleRequest added in v1.6.0

type ModifyProtectionRuleOfForwardRuleRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

	/* 修改非网站类转发规则的防护规则请求参数  */
	ForwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec `json:"forwardProtectionRuleSpec"`
}

func NewModifyProtectionRuleOfForwardRuleRequest added in v1.6.0

func NewModifyProtectionRuleOfForwardRuleRequest(
	regionId string,
	instanceId int,
	forwardRuleId int,
	forwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec,
) *ModifyProtectionRuleOfForwardRuleRequest

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
	forwardProtectionRuleSpec *ipanti.ForwardProtectionRuleSpec,
) *ModifyProtectionRuleOfForwardRuleRequest

* param regionId: 区域 Id (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 int)

param forwardRuleId: 转发规则 Id(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetInstanceId added in v1.6.0

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*ModifyProtectionRuleOfForwardRuleRequest) SetRegionId added in v1.6.0

func (r *ModifyProtectionRuleOfForwardRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	RegionId string `json:"regionId"`

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

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

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

func NewModifyWebRuleRequest

func NewModifyWebRuleRequest(
	regionId string,
	instanceId int,
	webRuleId int,
	webRuleSpec *ipanti.WebRuleSpec,
) *ModifyWebRuleRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
	webRuleSpec *ipanti.WebRuleSpec,
) *ModifyWebRuleRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*ModifyWebRuleRequest) SetRegionId

func (r *ModifyWebRuleRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*ModifyWebRuleRequest) SetWebRuleId

func (r *ModifyWebRuleRequest) SetWebRuleId(webRuleId int)

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

type SetCCIpLimitRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

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

	/* CC 参数  */
	CCSpec *ipanti.CcIpLimitSpec `json:"cCSpec"`
}

func NewSetCCIpLimitRequest added in v1.6.0

func NewSetCCIpLimitRequest(
	regionId string,
	instanceId int,
	cCSpec *ipanti.CcIpLimitSpec,
) *SetCCIpLimitRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param cCSpec: CC 参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetCCIpLimitRequestWithAllParams added in v1.6.0

func NewSetCCIpLimitRequestWithAllParams(
	regionId string,
	instanceId int,
	cCSpec *ipanti.CcIpLimitSpec,
) *SetCCIpLimitRequest

* param regionId: Region ID (Required) * param instanceId: 实例 ID (Required) * param cCSpec: CC 参数 (Required)

func NewSetCCIpLimitRequestWithoutParam added in v1.6.0

func NewSetCCIpLimitRequestWithoutParam() *SetCCIpLimitRequest

This constructor has better compatible ability when API parameters changed

func (SetCCIpLimitRequest) GetRegionId added in v1.6.0

func (r SetCCIpLimitRequest) GetRegionId() string

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

func (*SetCCIpLimitRequest) SetCCSpec added in v1.6.0

func (r *SetCCIpLimitRequest) SetCCSpec(cCSpec *ipanti.CcIpLimitSpec)

param cCSpec: CC 参数(Required)

func (*SetCCIpLimitRequest) SetInstanceId added in v1.6.0

func (r *SetCCIpLimitRequest) SetInstanceId(instanceId int)

param instanceId: 实例 ID(Required)

func (*SetCCIpLimitRequest) SetRegionId added in v1.6.0

func (r *SetCCIpLimitRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type SetCCIpLimitResponse added in v1.6.0

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

type SetCCIpLimitResult added in v1.6.0

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

type SwitchForwardRuleOriginRequest added in v1.0.3

type SwitchForwardRuleOriginRequest struct {
	core.JDCloudRequest

	/* 区域 Id  */
	RegionId string `json:"regionId"`

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

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

func NewSwitchForwardRuleOriginRequest added in v1.0.3

func NewSwitchForwardRuleOriginRequest(
	regionId string,
	instanceId int,
	forwardRuleId int,
) *SwitchForwardRuleOriginRequest

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
) *SwitchForwardRuleOriginRequest

* param regionId: 区域 Id (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 int)

param forwardRuleId: 转发规则 Id(Required)

func (*SwitchForwardRuleOriginRequest) SetInstanceId added in v1.0.3

func (r *SwitchForwardRuleOriginRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*SwitchForwardRuleOriginRequest) SetRegionId added in v1.0.3

func (r *SwitchForwardRuleOriginRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	RegionId string `json:"regionId"`

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

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

func NewSwitchForwardRuleProtectRequest added in v1.0.3

func NewSwitchForwardRuleProtectRequest(
	regionId string,
	instanceId int,
	forwardRuleId int,
) *SwitchForwardRuleProtectRequest

* param regionId: 区域 Id (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 int,
	forwardRuleId int,
) *SwitchForwardRuleProtectRequest

* param regionId: 区域 Id (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 int)

param forwardRuleId: 转发规则 Id(Required)

func (*SwitchForwardRuleProtectRequest) SetInstanceId added in v1.0.3

func (r *SwitchForwardRuleProtectRequest) SetInstanceId(instanceId int)

param instanceId: 高防实例 Id(Required)

func (*SwitchForwardRuleProtectRequest) SetRegionId added in v1.0.3

func (r *SwitchForwardRuleProtectRequest) SetRegionId(regionId string)

param regionId: 区域 Id(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  */
	RegionId string `json:"regionId"`

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

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

func NewSwitchWebRuleOriginRequest added in v1.0.3

func NewSwitchWebRuleOriginRequest(
	regionId string,
	instanceId int,
	webRuleId int,
) *SwitchWebRuleOriginRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
) *SwitchWebRuleOriginRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*SwitchWebRuleOriginRequest) SetRegionId added in v1.0.3

func (r *SwitchWebRuleOriginRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*SwitchWebRuleOriginRequest) SetWebRuleId added in v1.0.3

func (r *SwitchWebRuleOriginRequest) SetWebRuleId(webRuleId int)

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  */
	RegionId string `json:"regionId"`

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

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

func NewSwitchWebRuleProtectRequest added in v1.0.3

func NewSwitchWebRuleProtectRequest(
	regionId string,
	instanceId int,
	webRuleId int,
) *SwitchWebRuleProtectRequest

* param regionId: 区域 Id (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 int,
	webRuleId int,
) *SwitchWebRuleProtectRequest

* param regionId: 区域 Id (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 int)

param instanceId: 高防实例 Id(Required)

func (*SwitchWebRuleProtectRequest) SetRegionId added in v1.0.3

func (r *SwitchWebRuleProtectRequest) SetRegionId(regionId string)

param regionId: 区域 Id(Required)

func (*SwitchWebRuleProtectRequest) SetWebRuleId added in v1.0.3

func (r *SwitchWebRuleProtectRequest) SetWebRuleId(webRuleId int)

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