model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAddressItemsInfoDto

type AddAddressItemsInfoDto struct {

	// 地址组id
	SetId *string `json:"set_id,omitempty"`

	// 地址组成员信息
	AddressItems *[]AddAddressItemsInfoDtoAddressItems `json:"address_items,omitempty"`
}

AddAddressItemsInfoDto 地址组成员信息

func (AddAddressItemsInfoDto) String

func (o AddAddressItemsInfoDto) String() string

type AddAddressItemsInfoDtoAddressItems

type AddAddressItemsInfoDtoAddressItems struct {

	// 地址名称
	Name string `json:"name"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *int32 `json:"address_type,omitempty"`

	// 地址组ip信息
	Address *string `json:"address,omitempty"`

	// 地址组成员描述
	Description *string `json:"description,omitempty"`
}

AddAddressItemsInfoDtoAddressItems 成员信息

func (AddAddressItemsInfoDtoAddressItems) String

type AddAddressItemsUsingPostRequest

type AddAddressItemsUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

AddAddressItemsUsingPostRequest Request Object

func (AddAddressItemsUsingPostRequest) String

type AddAddressItemsUsingPostResponse

type AddAddressItemsUsingPostResponse struct {
	Data           *AddressItems `json:"data,omitempty"`
	HttpStatusCode int           `json:"-"`
}

AddAddressItemsUsingPostResponse Response Object

func (AddAddressItemsUsingPostResponse) String

type AddAddressSetDto

type AddAddressSetDto struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 地址组名称
	Name string `json:"name"`

	// 地址组描述
	Description *string `json:"description,omitempty"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *AddAddressSetDtoAddressType `json:"address_type,omitempty"`
}

AddAddressSetDto 添加地址组请求体

func (AddAddressSetDto) String

func (o AddAddressSetDto) String() string

type AddAddressSetDtoAddressType

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

func (AddAddressSetDtoAddressType) MarshalJSON

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

func (*AddAddressSetDtoAddressType) UnmarshalJSON

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

func (AddAddressSetDtoAddressType) Value

type AddAddressSetDtoAddressTypeEnum

type AddAddressSetDtoAddressTypeEnum struct {
	E_0 AddAddressSetDtoAddressType
	E_1 AddAddressSetDtoAddressType
}

func GetAddAddressSetDtoAddressTypeEnum

func GetAddAddressSetDtoAddressTypeEnum() AddAddressSetDtoAddressTypeEnum

type AddAddressSetInfoUsingPostRequest

type AddAddressSetInfoUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

AddAddressSetInfoUsingPostRequest Request Object

func (AddAddressSetInfoUsingPostRequest) String

type AddAddressSetInfoUsingPostResponse

type AddAddressSetInfoUsingPostResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

AddAddressSetInfoUsingPostResponse Response Object

func (AddAddressSetInfoUsingPostResponse) String

type AddBlackWhiteListDto

type AddBlackWhiteListDto struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 黑白名单类型4:黑名单,5:白名单
	ListType int32 `json:"list_type"`

	// 地址方向0:源地址1:目的地址
	Direction int32 `json:"direction"`

	// Ip地址类型 0:ipv4,1:ipv6,2:domain
	AddressType int32 `json:"address_type"`

	// 地址类型
	Address string `json:"address"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol int32 `json:"protocol"`

	// 目的端口
	Port string `json:"port"`
}

AddBlackWhiteListDto AddBlackWhiteListDto

func (AddBlackWhiteListDto) String

func (o AddBlackWhiteListDto) String() string

type AddBlackWhiteListUsingPostRequest

type AddBlackWhiteListUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

AddBlackWhiteListUsingPostRequest Request Object

func (AddBlackWhiteListUsingPostRequest) String

type AddBlackWhiteListUsingPostResponse

type AddBlackWhiteListUsingPostResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

AddBlackWhiteListUsingPostResponse Response Object

func (AddBlackWhiteListUsingPostResponse) String

type AddRuleAclDto

type AddRuleAclDto struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 规则type,0:互联网规则,1:vpc规则,2:nat规则
	Type AddRuleAclDtoType `json:"type"`

	// rules
	Rules []AddRuleAclDtoRules `json:"rules"`
}

AddRuleAclDto AddRuleAclDto

func (AddRuleAclDto) String

func (o AddRuleAclDto) String() string

type AddRuleAclDtoRules

type AddRuleAclDtoRules struct {

	// 规则名称
	Name string `json:"name"`

	Sequence *OrderRuleAclDto `json:"sequence"`

	// 地址类型,0 ipv4,1 ipv6,2 domain
	AddressType AddRuleAclDtoRulesAddressType `json:"address_type"`

	// 动作0:permit,1:deny
	ActionType int32 `json:"action_type"`

	// 规则下发状态 0:禁用,1:启用
	Status AddRuleAclDtoRulesStatus `json:"status"`

	// 长连接时长
	LongConnectTime *int64 `json:"long_connect_time,omitempty"`

	// 长连接时长小时
	LongConnectTimeHour *int64 `json:"long_connect_time_hour,omitempty"`

	// 长连接时长分钟
	LongConnectTimeMinute *int64 `json:"long_connect_time_minute,omitempty"`

	// 长连接时长秒
	LongConnectTimeSecond *int64 `json:"long_connect_time_second,omitempty"`

	// 是否支持长连接,0表示不支持长连接,1表示支持长连接
	LongConnectEnable AddRuleAclDtoRulesLongConnectEnable `json:"long_connect_enable"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 方向:0表示外到内,1表示内到外
	Direction *AddRuleAclDtoRulesDirection `json:"direction,omitempty"`

	Source *RuleAddressDto `json:"source"`

	Destination *RuleAddressDto `json:"destination"`

	Service *RuleServiceDto `json:"service"`
}

AddRuleAclDtoRules items

func (AddRuleAclDtoRules) String

func (o AddRuleAclDtoRules) String() string

type AddRuleAclDtoRulesAddressType

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

func (AddRuleAclDtoRulesAddressType) MarshalJSON

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

func (*AddRuleAclDtoRulesAddressType) UnmarshalJSON

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

func (AddRuleAclDtoRulesAddressType) Value

type AddRuleAclDtoRulesDirection

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

func (AddRuleAclDtoRulesDirection) MarshalJSON

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

func (*AddRuleAclDtoRulesDirection) UnmarshalJSON

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

func (AddRuleAclDtoRulesDirection) Value

type AddRuleAclDtoRulesDirectionEnum

type AddRuleAclDtoRulesDirectionEnum struct {
	E_0 AddRuleAclDtoRulesDirection
	E_1 AddRuleAclDtoRulesDirection
}

func GetAddRuleAclDtoRulesDirectionEnum

func GetAddRuleAclDtoRulesDirectionEnum() AddRuleAclDtoRulesDirectionEnum

type AddRuleAclDtoRulesLongConnectEnable

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

func (AddRuleAclDtoRulesLongConnectEnable) MarshalJSON

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

func (*AddRuleAclDtoRulesLongConnectEnable) UnmarshalJSON

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

func (AddRuleAclDtoRulesLongConnectEnable) Value

type AddRuleAclDtoRulesLongConnectEnableEnum

type AddRuleAclDtoRulesLongConnectEnableEnum struct {
	E_0 AddRuleAclDtoRulesLongConnectEnable
	E_1 AddRuleAclDtoRulesLongConnectEnable
}

func GetAddRuleAclDtoRulesLongConnectEnableEnum

func GetAddRuleAclDtoRulesLongConnectEnableEnum() AddRuleAclDtoRulesLongConnectEnableEnum

type AddRuleAclDtoRulesStatus

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

func (AddRuleAclDtoRulesStatus) MarshalJSON

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

func (*AddRuleAclDtoRulesStatus) UnmarshalJSON

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

func (AddRuleAclDtoRulesStatus) Value

func (c AddRuleAclDtoRulesStatus) Value() int32

type AddRuleAclDtoRulesStatusEnum

type AddRuleAclDtoRulesStatusEnum struct {
	E_0 AddRuleAclDtoRulesStatus
	E_1 AddRuleAclDtoRulesStatus
}

func GetAddRuleAclDtoRulesStatusEnum

func GetAddRuleAclDtoRulesStatusEnum() AddRuleAclDtoRulesStatusEnum

type AddRuleAclDtoType

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

func (AddRuleAclDtoType) MarshalJSON

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

func (*AddRuleAclDtoType) UnmarshalJSON

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

func (AddRuleAclDtoType) Value

func (c AddRuleAclDtoType) Value() int32

type AddRuleAclDtoTypeEnum

type AddRuleAclDtoTypeEnum struct {
	E_0 AddRuleAclDtoType
	E_1 AddRuleAclDtoType
	E_2 AddRuleAclDtoType
}

func GetAddRuleAclDtoTypeEnum

func GetAddRuleAclDtoTypeEnum() AddRuleAclDtoTypeEnum

type AddRuleAclUsingPostRequest

type AddRuleAclUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

AddRuleAclUsingPostRequest Request Object

func (AddRuleAclUsingPostRequest) String

type AddRuleAclUsingPostResponse

type AddRuleAclUsingPostResponse struct {
	Data           *RuleIdList `json:"data,omitempty"`
	HttpStatusCode int         `json:"-"`
}

AddRuleAclUsingPostResponse Response Object

func (AddRuleAclUsingPostResponse) String

type AddServiceItemsUsingPostRequest

type AddServiceItemsUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

AddServiceItemsUsingPostRequest Request Object

func (AddServiceItemsUsingPostRequest) String

type AddServiceItemsUsingPostRequestBody

type AddServiceItemsUsingPostRequestBody struct {

	// 服务组id
	SetId string `json:"set_id"`

	// 添加服务组成员
	ServiceItems []AddServiceItemsUsingPostRequestBodyServiceItems `json:"service_items"`
}

func (AddServiceItemsUsingPostRequestBody) String

type AddServiceItemsUsingPostRequestBodyServiceItems

type AddServiceItemsUsingPostRequestBodyServiceItems struct {

	// 服务成员id
	ItemId *string `json:"item_id,omitempty"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol int32 `json:"protocol"`

	// 源端口
	SourcePort string `json:"source_port"`

	// 目的端口
	DestPort string `json:"dest_port"`

	// 服务成员名称
	Name *string `json:"name,omitempty"`

	// 服务成员描述
	Description *string `json:"description,omitempty"`
}

AddServiceItemsUsingPostRequestBodyServiceItems service item

func (AddServiceItemsUsingPostRequestBodyServiceItems) String

type AddServiceItemsUsingPostResponse

type AddServiceItemsUsingPostResponse struct {
	Data           *ServiceItemIds `json:"data,omitempty"`
	HttpStatusCode int             `json:"-"`
}

AddServiceItemsUsingPostResponse Response Object

func (AddServiceItemsUsingPostResponse) String

type AddServiceSetUsingPostRequest

type AddServiceSetUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

AddServiceSetUsingPostRequest Request Object

func (AddServiceSetUsingPostRequest) String

type AddServiceSetUsingPostRequestBody

type AddServiceSetUsingPostRequestBody struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 服务组名称
	Name string `json:"name"`

	// 服务组描述信息
	Description *string `json:"description,omitempty"`
}

AddServiceSetUsingPostRequestBody Create Service Set Required Body

func (AddServiceSetUsingPostRequestBody) String

type AddServiceSetUsingPostResponse

type AddServiceSetUsingPostResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

AddServiceSetUsingPostResponse Response Object

func (AddServiceSetUsingPostResponse) String

type AddressItemListResponseDtoData

type AddressItemListResponseDtoData struct {

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 地址组id
	SetId *string `json:"set_id,omitempty"`

	// 成员信息
	Records *[]AddressItemListResponseDtoDataRecords `json:"records,omitempty"`
}

AddressItemListResponseDtoData 查询地址组成员返回数据

func (AddressItemListResponseDtoData) String

type AddressItemListResponseDtoDataRecords

type AddressItemListResponseDtoDataRecords struct {

	// 地址组成员id
	ItemId *string `json:"item_id,omitempty"`

	// 地址组成员name
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 地址组类型,0 ipv4,1 ipv6
	AddressType *int32 `json:"address_type,omitempty"`

	// 地址组
	Address *string `json:"address,omitempty"`
}

AddressItemListResponseDtoDataRecords 地址组成员列表

func (AddressItemListResponseDtoDataRecords) String

type AddressItems

type AddressItems struct {

	// 地址组成员id列表
	Items *[]IdObject `json:"items,omitempty"`
}

func (AddressItems) String

func (o AddressItems) String() string

type AddressSetDetailResponseDtoData

type AddressSetDetailResponseDtoData struct {

	// 地址组id
	Id *string `json:"id,omitempty"`

	// 地址组名称
	Name *string `json:"name,omitempty"`

	// 地址组描述
	Description *string `json:"description,omitempty"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *AddressSetDetailResponseDtoDataAddressType `json:"address_type,omitempty"`
}

AddressSetDetailResponseDtoData 查询地址组详情数据

func (AddressSetDetailResponseDtoData) String

type AddressSetDetailResponseDtoDataAddressType

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

func (AddressSetDetailResponseDtoDataAddressType) MarshalJSON

func (*AddressSetDetailResponseDtoDataAddressType) UnmarshalJSON

func (AddressSetDetailResponseDtoDataAddressType) Value

type AddressSetListResponseDtoData

type AddressSetListResponseDtoData struct {

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 地址组列表
	Records *[]AddressSetListResponseDtoDataRecords `json:"records,omitempty"`
}

AddressSetListResponseDtoData 查询地址组列表返回数据

func (AddressSetListResponseDtoData) String

type AddressSetListResponseDtoDataRecords

type AddressSetListResponseDtoDataRecords struct {

	// 地址组id
	SetId *string `json:"set_id,omitempty"`

	// 引用次数
	RefCount *int32 `json:"ref_count,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 地址组名称
	Name *string `json:"name,omitempty"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *int32 `json:"address_type,omitempty"`
}

AddressSetListResponseDtoDataRecords 列表信息

func (AddressSetListResponseDtoDataRecords) String

type BlackWhiteListResponseData

type BlackWhiteListResponseData struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 查询的总条数
	Total *int32 `json:"total,omitempty"`

	// 黑白名单记录
	Records *[]BlackWhiteListResponseDataRecords `json:"records,omitempty"`
}

BlackWhiteListResponseData 查询黑白名单返回值

func (BlackWhiteListResponseData) String

type BlackWhiteListResponseDataRecords

type BlackWhiteListResponseDataRecords struct {

	// 黑白名单列表id
	ListId *string `json:"list_id,omitempty"`

	// 黑白地址方向0:源地址1:目的地址
	Direction *int32 `json:"direction,omitempty"`

	// IP地址类型0:ipv4,1:ipv6,2:domain
	AddressType *int32 `json:"address_type,omitempty"`

	// ip地址
	Address *string `json:"address,omitempty"`

	// 协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *int32 `json:"protocol,omitempty"`

	// 端口
	Port *string `json:"port,omitempty"`
}

BlackWhiteListResponseDataRecords items

func (BlackWhiteListResponseDataRecords) String

type ChangeEwProtectStatusRequest

type ChangeEwProtectStatusRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

ChangeEwProtectStatusRequest Request Object

func (ChangeEwProtectStatusRequest) String

type ChangeEwProtectStatusResponse

type ChangeEwProtectStatusResponse struct {
	Data *SuccessRspData `json:"data,omitempty"`

	// trace id
	TraceId        *string `json:"trace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeEwProtectStatusResponse Response Object

func (ChangeEwProtectStatusResponse) String

type ChangeIpsProtectModeUsingPostRequest

type ChangeIpsProtectModeUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

ChangeIpsProtectModeUsingPostRequest Request Object

func (ChangeIpsProtectModeUsingPostRequest) String

type ChangeIpsProtectModeUsingPostResponse

type ChangeIpsProtectModeUsingPostResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ChangeIpsProtectModeUsingPostResponse Response Object

func (ChangeIpsProtectModeUsingPostResponse) String

type ChangeIpsSwitchUsingPostRequest

type ChangeIpsSwitchUsingPostRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

ChangeIpsSwitchUsingPostRequest Request Object

func (ChangeIpsSwitchUsingPostRequest) String

type ChangeIpsSwitchUsingPostResponse

type ChangeIpsSwitchUsingPostResponse struct {

	// trace_id
	TraceId *string `json:"trace_id,omitempty"`

	Data           *CommonResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ChangeIpsSwitchUsingPostResponse Response Object

func (ChangeIpsSwitchUsingPostResponse) String

type ChangeProtectEipRequest

type ChangeProtectEipRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

ChangeProtectEipRequest Request Object

func (ChangeProtectEipRequest) String

func (o ChangeProtectEipRequest) String() string

type ChangeProtectEipResponse

type ChangeProtectEipResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ChangeProtectEipResponse Response Object

func (ChangeProtectEipResponse) String

func (o ChangeProtectEipResponse) String() string

type ChangeProtectStatusRequestBody

type ChangeProtectStatusRequestBody struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 防护状态:0 开启,1 关闭
	Status ChangeProtectStatusRequestBodyStatus `json:"status"`
}

ChangeProtectStatusRequestBody 修改东西向防护状态请求体

func (ChangeProtectStatusRequestBody) String

type ChangeProtectStatusRequestBodyStatus

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

func (ChangeProtectStatusRequestBodyStatus) MarshalJSON

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

func (*ChangeProtectStatusRequestBodyStatus) UnmarshalJSON

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

func (ChangeProtectStatusRequestBodyStatus) Value

type ChangeProtectStatusRequestBodyStatusEnum

type ChangeProtectStatusRequestBodyStatusEnum struct {
	E_0 ChangeProtectStatusRequestBodyStatus
	E_1 ChangeProtectStatusRequestBodyStatus
}

func GetChangeProtectStatusRequestBodyStatusEnum

func GetChangeProtectStatusRequestBodyStatusEnum() ChangeProtectStatusRequestBodyStatusEnum

type ClearAccessLogRuleHitCountsDto

type ClearAccessLogRuleHitCountsDto struct {

	// 规则id列表
	RuleIds []string `json:"rule_ids"`
}

ClearAccessLogRuleHitCountsDto clear access log rule hit counts dto

func (ClearAccessLogRuleHitCountsDto) String

type CommonResponseDtoData

type CommonResponseDtoData struct {

	// 防护对象id
	Id *string `json:"id,omitempty"`
}

CommonResponseDtoData object

func (CommonResponseDtoData) String

func (o CommonResponseDtoData) String() string

type CountEipsRequest

type CountEipsRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

CountEipsRequest Request Object

func (CountEipsRequest) String

func (o CountEipsRequest) String() string

type CountEipsResponse

type CountEipsResponse struct {
	Data           *EipCountRespData `json:"data,omitempty"`
	HttpStatusCode int               `json:"-"`
}

CountEipsResponse Response Object

func (CountEipsResponse) String

func (o CountEipsResponse) String() string

type DeleteAclRuleCountRequest

type DeleteAclRuleCountRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

DeleteAclRuleCountRequest Request Object

func (DeleteAclRuleCountRequest) String

func (o DeleteAclRuleCountRequest) String() string

type DeleteAclRuleCountResponse

type DeleteAclRuleCountResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteAclRuleCountResponse Response Object

func (DeleteAclRuleCountResponse) String

type DeleteAddressItemUsingDeleteRequest

type DeleteAddressItemUsingDeleteRequest struct {

	// 地址组成员id
	ItemId string `json:"item_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

DeleteAddressItemUsingDeleteRequest Request Object

func (DeleteAddressItemUsingDeleteRequest) String

type DeleteAddressItemUsingDeleteResponse

type DeleteAddressItemUsingDeleteResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

DeleteAddressItemUsingDeleteResponse Response Object

func (DeleteAddressItemUsingDeleteResponse) String

type DeleteAddressSetInfoUsingDeleteRequest

type DeleteAddressSetInfoUsingDeleteRequest struct {

	// 地址组id
	SetId string `json:"set_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

DeleteAddressSetInfoUsingDeleteRequest Request Object

func (DeleteAddressSetInfoUsingDeleteRequest) String

type DeleteAddressSetInfoUsingDeleteResponse

type DeleteAddressSetInfoUsingDeleteResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

DeleteAddressSetInfoUsingDeleteResponse Response Object

func (DeleteAddressSetInfoUsingDeleteResponse) String

type DeleteBlackWhiteListUsingDeleteRequest

type DeleteBlackWhiteListUsingDeleteRequest struct {

	// 黑白名单id
	ListId string `json:"list_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

DeleteBlackWhiteListUsingDeleteRequest Request Object

func (DeleteBlackWhiteListUsingDeleteRequest) String

type DeleteBlackWhiteListUsingDeleteResponse

type DeleteBlackWhiteListUsingDeleteResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

DeleteBlackWhiteListUsingDeleteResponse Response Object

func (DeleteBlackWhiteListUsingDeleteResponse) String

type DeleteRuleAclUsingDeleteRequest

type DeleteRuleAclUsingDeleteRequest struct {

	// 规则Id
	AclRuleId string `json:"acl_rule_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

DeleteRuleAclUsingDeleteRequest Request Object

func (DeleteRuleAclUsingDeleteRequest) String

type DeleteRuleAclUsingDeleteResponse

type DeleteRuleAclUsingDeleteResponse struct {
	Data           *RuleId `json:"data,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteRuleAclUsingDeleteResponse Response Object

func (DeleteRuleAclUsingDeleteResponse) String

type DeleteServiceItemUsingDeleteRequest

type DeleteServiceItemUsingDeleteRequest struct {

	// 服务组成员id
	ItemId string `json:"item_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

DeleteServiceItemUsingDeleteRequest Request Object

func (DeleteServiceItemUsingDeleteRequest) String

type DeleteServiceItemUsingDeleteResponse

type DeleteServiceItemUsingDeleteResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

DeleteServiceItemUsingDeleteResponse Response Object

func (DeleteServiceItemUsingDeleteResponse) String

type DeleteServiceSetUsingDeleteRequest

type DeleteServiceSetUsingDeleteRequest struct {

	// 服务集合id
	SetId string `json:"set_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

DeleteServiceSetUsingDeleteRequest Request Object

func (DeleteServiceSetUsingDeleteRequest) String

type DeleteServiceSetUsingDeleteResponse

type DeleteServiceSetUsingDeleteResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

DeleteServiceSetUsingDeleteResponse Response Object

func (DeleteServiceSetUsingDeleteResponse) String

type DnsServersResponseDto

type DnsServersResponseDto struct {

	// id
	Id *int32 `json:"id,omitempty"`

	// 是否应用,0否 1是
	IsApplied *int32 `json:"is_applied,omitempty"`

	// 是否是用户自定义的dns服务器,0否 1是
	IsCustomized *int32 `json:"is_customized,omitempty"`

	// DNS服务器IP
	ServerIp *string `json:"server_ip,omitempty"`
}

func (DnsServersResponseDto) String

func (o DnsServersResponseDto) String() string

type EipCountRespData

type EipCountRespData struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`

	// EIP总数
	EipTotal *int32 `json:"eip_total,omitempty"`

	// EIP防护数
	EipProtected *int32 `json:"eip_protected,omitempty"`
}

EipCountRespData EIP 数量查询反馈

func (EipCountRespData) String

func (o EipCountRespData) String() string

type EipOperateProtectReq

type EipOperateProtectReq struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// EIP状态,0表示防护中,1表示未防护
	Status int32 `json:"status"`

	// EIP信息列表
	IpInfos []EipOperateProtectReqIpInfos `json:"ip_infos"`
}

EipOperateProtectReq EIP操作防护请求体

func (EipOperateProtectReq) String

func (o EipOperateProtectReq) String() string

type EipOperateProtectReqIpInfos

type EipOperateProtectReqIpInfos struct {

	// 弹性公网IP数据ID
	Id *string `json:"id,omitempty"`

	// 弹性公网IP地址
	PublicIp *string `json:"public_ip,omitempty"`

	// 弹性公网IP地址IPV6
	PublicIpv6 *string `json:"public_ipv6,omitempty"`
}

func (EipOperateProtectReqIpInfos) String

type EipResource

type EipResource struct {

	// 弹性公网ID
	Id *string `json:"id,omitempty"`

	// 弹性公网IP
	PublicIp *string `json:"public_ip,omitempty"`

	// EIP防护状态,0表示防护中,1表示未防护
	Status *EipResourceStatus `json:"status,omitempty"`

	// 弹性公网IP,IPV6
	PublicIpv6 *string `json:"public_ipv6,omitempty"`

	// 企业项目id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 设备拥有者
	DeviceOwner *string `json:"device_owner,omitempty"`

	// 关联实例类型
	AssociateInstanceType *string `json:"associate_instance_type,omitempty"`

	// 防火墙名称
	FwInstanceName *string `json:"fw_instance_name,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

	// Eip绑定的防火墙企业项目id
	FwEnterpriseProjectId *string `json:"fw_enterprise_project_id,omitempty"`
}

EipResource EIP资源防护信息

func (EipResource) String

func (o EipResource) String() string

type EipResourceStatus

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

func (EipResourceStatus) MarshalJSON

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

func (*EipResourceStatus) UnmarshalJSON

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

func (EipResourceStatus) Value

func (c EipResourceStatus) Value() int32

type EipResourceStatusEnum

type EipResourceStatusEnum struct {
	E_0 EipResourceStatus
	E_1 EipResourceStatus
}

func GetEipResourceStatusEnum

func GetEipResourceStatusEnum() EipResourceStatusEnum

type EipResponseData

type EipResponseData struct {

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 总数
	Total *int32 `json:"total,omitempty"`

	// eip资源记录
	Records *[]EipResource `json:"records,omitempty"`
}

func (EipResponseData) String

func (o EipResponseData) String() string

type ErInstance

type ErInstance struct {

	// Er实例id
	Id *string `json:"id,omitempty"`

	// Er名称
	Name *string `json:"name,omitempty"`

	// Er状态
	State *string `json:"state,omitempty"`

	// 企业租户id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 租户id
	ProjectId *string `json:"project_id,omitempty"`

	// 是否开启ipv6
	EnableIpv6 *string `json:"enable_ipv6,omitempty"`
}

func (ErInstance) String

func (o ErInstance) String() string

type EwProtectResourceInfo

type EwProtectResourceInfo struct {

	// 防护资源类型:0 VPC,1 VGW
	ProtectedResourceType int32 `json:"protected_resource_type"`

	// 防护资源名称
	ProtectedResourceName string `json:"protected_resource_name"`

	// 防护资源id
	ProtectedResourceId string `json:"protected_resource_id"`

	// 防护资源nat网关名称
	ProtectedResourceNatName *string `json:"protected_resource_nat_name,omitempty"`

	// 防护资源nat网关id
	ProtectedResourceNatId *string `json:"protected_resource_nat_id,omitempty"`

	// 防护资源租户id
	ProtectedResourceProjectId *string `json:"protected_resource_project_id,omitempty"`
}

EwProtectResourceInfo 东西向防护的资源信息,例如VPC、VGW等

func (EwProtectResourceInfo) String

func (o EwProtectResourceInfo) String() string

type FirewallInstanceResource

type FirewallInstanceResource struct {

	// 资源id
	ResourceId *string `json:"resource_id,omitempty"`

	// 服务类型,用于CBC使用,特指:hws.service.type.cfw
	CloudServiceType *string `json:"cloud_service_type,omitempty"`

	// 资源类型,包括: 1、云防火墙:hws.resource.type.cfw 2、EIP:hws.resource.type.cfw.exp.eip 3、带宽:hws.resource.type.cfw.exp.bandwidth 4、VPC:hws.resource.type.cfw.exp.vpc 5、日志存储:hws.resource.type.cfw.exp.logaudit
	ResourceType *string `json:"resource_type,omitempty"`

	// 库存单位码
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 资源数量
	ResourceSize *int32 `json:"resource_size,omitempty"`

	// 资源单位
	ResourceSizeMeasureId *int32 `json:"resource_size_measure_id,omitempty"`
}

func (FirewallInstanceResource) String

func (o FirewallInstanceResource) String() string

type Flavor

type Flavor struct {

	// 防火墙版本,0:标准版,1:专业版,2:铂金版,3:基础版
	Version *FlavorVersion `json:"version,omitempty"`

	// eip数量
	EipCount *int32 `json:"eip_count,omitempty"`

	// vpc数量
	VpcCount *int32 `json:"vpc_count,omitempty"`

	// 带宽
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 日志存储
	LogStorage *int32 `json:"log_storage,omitempty"`
}

func (Flavor) String

func (o Flavor) String() string

type FlavorVersion

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

func (FlavorVersion) MarshalJSON

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

func (*FlavorVersion) UnmarshalJSON

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

func (FlavorVersion) Value

func (c FlavorVersion) Value() int32

type FlavorVersionEnum

type FlavorVersionEnum struct {
	E_0 FlavorVersion
	E_1 FlavorVersion
	E_2 FlavorVersion
	E_3 FlavorVersion
}

func GetFlavorVersionEnum

func GetFlavorVersionEnum() FlavorVersionEnum

type GetEastWestFirewallResponseBody

type GetEastWestFirewallResponseBody struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`

	// 租户project_id
	ProjectId *string `json:"project_id,omitempty"`

	// 防护状态:0 已开启防护, 1 未开启防护
	Status *int32 `json:"status,omitempty"`

	ErAssociatedSubnet *SubnetInfo `json:"er_associated_subnet,omitempty"`

	// 云防火墙关联子网信息
	FirewallAssociatedSubnets *[]SubnetInfo `json:"firewall_associated_subnets,omitempty"`

	Er *ErInstance `json:"er,omitempty"`

	InspectionVpc *VpcDetail `json:"inspection_vpc,omitempty"`

	// 东西向防护资源信息
	ProtectInfos *[]EwProtectResourceInfo `json:"protect_infos,omitempty"`

	// 防护VPC总数
	Total *int32 `json:"total,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`
}

GetEastWestFirewallResponseBody 查询东西向防火墙接口响应Body体

func (GetEastWestFirewallResponseBody) String

type GetFirewallInstanceData

type GetFirewallInstanceData struct {

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 查询防火墙实例信息列表
	Records *[]GetFirewallInstanceResponseRecord `json:"records,omitempty"`
}

func (GetFirewallInstanceData) String

func (o GetFirewallInstanceData) String() string

type GetFirewallInstanceResponseRecord

type GetFirewallInstanceResponseRecord struct {

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

	// 防火墙名称
	Name *string `json:"name,omitempty"`

	// 集群类型
	HaType *int32 `json:"ha_type,omitempty"`

	// 计费模式 0:包年/包月 1:按需
	ChargeMode *int32 `json:"charge_mode,omitempty"`

	// 服务类型
	ServiceType *int32 `json:"service_type,omitempty"`

	// 引擎类型
	EngineType *int32 `json:"engine_type,omitempty"`

	Flavor *Flavor `json:"flavor,omitempty"`

	// 防护对象列表
	ProtectObjects *[]ProtectObjectVo `json:"protect_objects,omitempty"`

	// 防火墙状态列表,包括-1:等待支付,0:创建中,1,删除中,2:运行中,3:升级中,4:删除完成:5:冻结中,6:创建失败,7:删除失败,8:冻结失败,9:存储中,10:存储失败,11:升级失败
	Status *GetFirewallInstanceResponseRecordStatus `json:"status,omitempty"`

	// 是否为旧引擎,true表示是,false表示不是
	IsOldFirewallInstance *bool `json:"is_old_firewall_instance,omitempty"`

	// 是否支持ipv6,true表示是,false表示不是
	SupportIpv6 *bool `json:"support_ipv6,omitempty"`

	// 特性开关,boolean值为true表示是,false表示否
	FeatureToggle map[string]bool `json:"feature_toggle,omitempty"`

	// 防火墙资源列表
	Resources *[]FirewallInstanceResource `json:"resources,omitempty"`

	// 防火墙名称
	FwInstanceName *string `json:"fw_instance_name,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (GetFirewallInstanceResponseRecord) String

type GetFirewallInstanceResponseRecordStatus

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

func (GetFirewallInstanceResponseRecordStatus) MarshalJSON

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

func (*GetFirewallInstanceResponseRecordStatus) UnmarshalJSON

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

func (GetFirewallInstanceResponseRecordStatus) Value

type HttpQueryCfwAccessControllerLogsResponseDtoData

type HttpQueryCfwAccessControllerLogsResponseDtoData struct {

	// 返回数量
	Total *int32 `json:"total,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 记录
	Records *[]HttpQueryCfwAccessControllerLogsResponseDtoDataRecords `json:"records,omitempty"`
}

HttpQueryCfwAccessControllerLogsResponseDtoData 查询访问控制日志返回数据

func (HttpQueryCfwAccessControllerLogsResponseDtoData) String

type HttpQueryCfwAccessControllerLogsResponseDtoDataRecords

type HttpQueryCfwAccessControllerLogsResponseDtoDataRecords struct {

	// 动作0:permit,1:deny
	Action *string `json:"action,omitempty"`

	// 规则名称
	RuleName *string `json:"rule_name,omitempty"`

	// 规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 命中时间
	HitTime *int32 `json:"hit_time,omitempty"`

	// 文档ID
	LogId *string `json:"log_id,omitempty"`

	// 源IP
	SrcIp *string `json:"src_ip,omitempty"`

	// 源端口
	SrcPort *string `json:"src_port,omitempty"`

	// 目的IP
	DstIp *string `json:"dst_ip,omitempty"`

	// 目的端口
	DstPort *string `json:"dst_port,omitempty"`

	// 协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *string `json:"protocol,omitempty"`

	// 应用协议
	App *string `json:"app,omitempty"`
}

func (HttpQueryCfwAccessControllerLogsResponseDtoDataRecords) String

type HttpQueryCfwAttackLogsResponseDtoData

type HttpQueryCfwAttackLogsResponseDtoData struct {

	// 返回数量
	Total *int32 `json:"total,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 记录
	Records *[]HttpQueryCfwAttackLogsResponseDtoDataRecords `json:"records,omitempty"`
}

HttpQueryCfwAttackLogsResponseDtoData 查询攻击日志返回值

func (HttpQueryCfwAttackLogsResponseDtoData) String

type HttpQueryCfwAttackLogsResponseDtoDataRecords

type HttpQueryCfwAttackLogsResponseDtoDataRecords struct {

	// 方向,有内到外和外到内两种
	Direction *HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection `json:"direction,omitempty"`

	// 动作
	Action *string `json:"action,omitempty"`

	// 事件时间
	EventTime *string `json:"event_time,omitempty"`

	// 攻击类型
	AttackType *string `json:"attack_type,omitempty"`

	// 攻击规则
	AttackRule *string `json:"attack_rule,omitempty"`

	// 威胁等级
	Level *string `json:"level,omitempty"`

	// 来源
	Source *string `json:"source,omitempty"`

	// 报文长度
	PacketLength *int64 `json:"packet_length,omitempty"`

	// 攻击规则id
	AttackRuleId *int32 `json:"attack_rule_id,omitempty"`

	// 命中时间
	HitTime *int32 `json:"hit_time,omitempty"`

	// 日志ID
	LogId *string `json:"log_id,omitempty"`

	// 源IP
	SrcIp *string `json:"src_ip,omitempty"`

	// 源端口
	SrcPort *int32 `json:"src_port,omitempty"`

	// 目的IP
	DstIp *string `json:"dst_ip,omitempty"`

	// 目的端口
	DstPort *int32 `json:"dst_port,omitempty"`

	// 协议
	Protocol *string `json:"protocol,omitempty"`

	Packet *Packet `json:"packet,omitempty"`

	// 应用协议
	App *string `json:"app,omitempty"`

	// 攻击报文信息
	PacketMessages *[]PacketMessage `json:"packetMessages,omitempty"`
}

func (HttpQueryCfwAttackLogsResponseDtoDataRecords) String

type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection

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

func (HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) MarshalJSON

func (*HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) UnmarshalJSON

func (HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) Value

type HttpQueryCfwFlowLogsResponseDtoData

type HttpQueryCfwFlowLogsResponseDtoData struct {

	// 返回数量
	Total *int32 `json:"total,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 记录
	Records *[]HttpQueryCfwFlowLogsResponseDtoDataRecords `json:"records,omitempty"`
}

HttpQueryCfwFlowLogsResponseDtoData 查询流日志返回值

func (HttpQueryCfwFlowLogsResponseDtoData) String

type HttpQueryCfwFlowLogsResponseDtoDataRecords

type HttpQueryCfwFlowLogsResponseDtoDataRecords struct {

	// 字节
	Bytes *int32 `json:"bytes,omitempty"`

	// 方向,有内到外和外到内两种
	Direction *HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection `json:"direction,omitempty"`

	// 包
	Packets *int32 `json:"packets,omitempty"`

	// 开始时间
	StartTime *int32 `json:"start_time,omitempty"`

	// 结束时间
	EndTime *int32 `json:"end_time,omitempty"`

	// 文档ID
	LogId *string `json:"log_id,omitempty"`

	// 源IP
	SrcIp *string `json:"src_ip,omitempty"`

	// 源端口
	SrcPort *string `json:"src_port,omitempty"`

	// 目的IP
	DstIp *string `json:"dst_ip,omitempty"`

	// 应用协议
	App *string `json:"app,omitempty"`

	// 目的端口
	DstPort *string `json:"dst_port,omitempty"`

	// 协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *string `json:"protocol,omitempty"`
}

func (HttpQueryCfwFlowLogsResponseDtoDataRecords) String

type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection

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

func (HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) MarshalJSON

func (*HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) UnmarshalJSON

func (HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) Value

type IdObject

type IdObject struct {

	// id值
	Id *string `json:"id,omitempty"`
}

func (IdObject) String

func (o IdObject) String() string

type IpsProtectDto

type IpsProtectDto struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`

	// ips防护模式,0:观察模式,1:严格模式,2:中等模式,3:宽松模式
	Mode *int32 `json:"mode,omitempty"`
}

IpsProtectDto description

func (IpsProtectDto) String

func (o IpsProtectDto) String() string

type IpsProtectModeObject

type IpsProtectModeObject struct {

	// ips防护模式id
	Id *string `json:"id,omitempty"`

	// ips防护模式,0:观察模式,1:严格模式,2:中等模式,3:宽松模式
	Mode *int32 `json:"mode,omitempty"`
}

func (IpsProtectModeObject) String

func (o IpsProtectModeObject) String() string

type IpsSwitchDto

type IpsSwitchDto struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 补丁类型,1-基础补丁 2=虚拟补丁
	IpsType IpsSwitchDtoIpsType `json:"ips_type"`

	// ips特性开关状态
	Status int32 `json:"status"`
}

IpsSwitchDto description

func (IpsSwitchDto) String

func (o IpsSwitchDto) String() string

type IpsSwitchDtoIpsType

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

func (IpsSwitchDtoIpsType) MarshalJSON

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

func (*IpsSwitchDtoIpsType) UnmarshalJSON

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

func (IpsSwitchDtoIpsType) Value

func (c IpsSwitchDtoIpsType) Value() int32

type IpsSwitchDtoIpsTypeEnum

type IpsSwitchDtoIpsTypeEnum struct {
	E_1 IpsSwitchDtoIpsType
	E_2 IpsSwitchDtoIpsType
}

func GetIpsSwitchDtoIpsTypeEnum

func GetIpsSwitchDtoIpsTypeEnum() IpsSwitchDtoIpsTypeEnum

type IpsSwitchResponseDto

type IpsSwitchResponseDto struct {

	// ips开关id
	Id *string `json:"id,omitempty"`

	// 基础防御状态
	BasicDefenseStatus *int32 `json:"basic_defense_status,omitempty"`

	// 虚拟补丁状态
	VirtualPatchesStatus *int32 `json:"virtual_patches_status,omitempty"`
}

IpsSwitchResponseDto ips特性状态返回查询

func (IpsSwitchResponseDto) String

func (o IpsSwitchResponseDto) String() string

type ListAccessControlLogsRequest

type ListAccessControlLogsRequest struct {

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
	FwInstanceId string `json:"fw_instance_id"`

	// 规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 开始时间
	StartTime int64 `json:"start_time"`

	// 结束时间
	EndTime int64 `json:"end_time"`

	// 源IP
	SrcIp *string `json:"src_ip,omitempty"`

	// 源端口
	SrcPort *int32 `json:"src_port,omitempty"`

	// 目的IP
	DstIp *string `json:"dst_ip,omitempty"`

	// 目的端口
	DstPort *int32 `json:"dst_port,omitempty"`

	// 协议
	Protocol *string `json:"protocol,omitempty"`

	// 应用协议
	App *string `json:"app,omitempty"`

	// 文档ID,第一页为空,其他页不为空
	LogId *string `json:"log_id,omitempty"`

	// 日期,第一页为空,其他页不为空
	NextDate *int32 `json:"next_date,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 日志类型
	LogType *ListAccessControlLogsRequestLogType `json:"log_type,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListAccessControlLogsRequest Request Object

func (ListAccessControlLogsRequest) String

type ListAccessControlLogsRequestLogType

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

func (ListAccessControlLogsRequestLogType) MarshalJSON

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

func (*ListAccessControlLogsRequestLogType) UnmarshalJSON

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

func (ListAccessControlLogsRequestLogType) Value

type ListAccessControlLogsResponse

type ListAccessControlLogsResponse struct {
	Data           *HttpQueryCfwAccessControllerLogsResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                                              `json:"-"`
}

ListAccessControlLogsResponse Response Object

func (ListAccessControlLogsResponse) String

type ListAddressItemsUsingGetRequest

type ListAddressItemsUsingGetRequest struct {

	// 地址组id
	SetId string `json:"set_id"`

	// 关键字
	KeyWord *string `json:"key_word,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// ip地址
	Address *string `json:"address,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListAddressItemsUsingGetRequest Request Object

func (ListAddressItemsUsingGetRequest) String

type ListAddressItemsUsingGetResponse

type ListAddressItemsUsingGetResponse struct {
	Data           *AddressItemListResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

ListAddressItemsUsingGetResponse Response Object

func (ListAddressItemsUsingGetResponse) String

type ListAddressSetDetailUsingGetRequest

type ListAddressSetDetailUsingGetRequest struct {

	// 地址组id
	SetId string `json:"set_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListAddressSetDetailUsingGetRequest Request Object

func (ListAddressSetDetailUsingGetRequest) String

type ListAddressSetDetailUsingGetResponse

type ListAddressSetDetailUsingGetResponse struct {
	Data           *AddressSetDetailResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

ListAddressSetDetailUsingGetResponse Response Object

func (ListAddressSetDetailUsingGetResponse) String

type ListAddressSetListUsingGetRequest

type ListAddressSetListUsingGetRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 关键字
	KeyWord *string `json:"key_word,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// ip地址
	Address *string `json:"address,omitempty"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *ListAddressSetListUsingGetRequestAddressType `json:"address_type,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListAddressSetListUsingGetRequest Request Object

func (ListAddressSetListUsingGetRequest) String

type ListAddressSetListUsingGetRequestAddressType

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

func (ListAddressSetListUsingGetRequestAddressType) MarshalJSON

func (*ListAddressSetListUsingGetRequestAddressType) UnmarshalJSON

func (ListAddressSetListUsingGetRequestAddressType) Value

type ListAddressSetListUsingGetResponse

type ListAddressSetListUsingGetResponse struct {
	Data           *AddressSetListResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

ListAddressSetListUsingGetResponse Response Object

func (ListAddressSetListUsingGetResponse) String

type ListAttackLogsRequest

type ListAttackLogsRequest struct {

	// 开始时间
	StartTime int64 `json:"start_time"`

	// 结束时间
	EndTime int64 `json:"end_time"`

	// 源IP
	SrcIp *string `json:"src_ip,omitempty"`

	// 源端口号
	SrcPort *int32 `json:"src_port,omitempty"`

	// 目的IP
	DstIp *string `json:"dst_ip,omitempty"`

	// 目的端口号
	DstPort *int32 `json:"dst_port,omitempty"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *ListAttackLogsRequestProtocol `json:"protocol,omitempty"`

	// 应用协议
	App *string `json:"app,omitempty"`

	// 日志ID,当是第一页时为空,不是第一页时不为空
	LogId *string `json:"log_id,omitempty"`

	// 下个日期,当是第一页时为空,不是第一页时不为空
	NextDate *int64 `json:"next_date,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
	FwInstanceId string `json:"fw_instance_id"`

	// 动作0:permit,1:deny
	Action *ListAttackLogsRequestAction `json:"action,omitempty"`

	// 方向0:外到内1:内到外
	Direction *ListAttackLogsRequestDirection `json:"direction,omitempty"`

	// 入侵事件类型
	AttackType *string `json:"attack_type,omitempty"`

	// 入侵事件规则
	AttackRule *string `json:"attack_rule,omitempty"`

	// 威胁等级
	Level *string `json:"level,omitempty"`

	// 判断来源
	Source *string `json:"source,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListAttackLogsRequest Request Object

func (ListAttackLogsRequest) String

func (o ListAttackLogsRequest) String() string

type ListAttackLogsRequestAction

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

func (ListAttackLogsRequestAction) MarshalJSON

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

func (*ListAttackLogsRequestAction) UnmarshalJSON

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

func (ListAttackLogsRequestAction) Value

type ListAttackLogsRequestActionEnum

type ListAttackLogsRequestActionEnum struct {
	E_0 ListAttackLogsRequestAction
	E_1 ListAttackLogsRequestAction
}

func GetListAttackLogsRequestActionEnum

func GetListAttackLogsRequestActionEnum() ListAttackLogsRequestActionEnum

type ListAttackLogsRequestDirection

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

func (ListAttackLogsRequestDirection) MarshalJSON

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

func (*ListAttackLogsRequestDirection) UnmarshalJSON

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

func (ListAttackLogsRequestDirection) Value

type ListAttackLogsRequestDirectionEnum

type ListAttackLogsRequestDirectionEnum struct {
	E_0 ListAttackLogsRequestDirection
	E_1 ListAttackLogsRequestDirection
}

func GetListAttackLogsRequestDirectionEnum

func GetListAttackLogsRequestDirectionEnum() ListAttackLogsRequestDirectionEnum

type ListAttackLogsRequestProtocol

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

func (ListAttackLogsRequestProtocol) MarshalJSON

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

func (*ListAttackLogsRequestProtocol) UnmarshalJSON

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

func (ListAttackLogsRequestProtocol) Value

type ListAttackLogsResponse

type ListAttackLogsResponse struct {
	Data           *HttpQueryCfwAttackLogsResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

ListAttackLogsResponse Response Object

func (ListAttackLogsResponse) String

func (o ListAttackLogsResponse) String() string

type ListBlackWhiteListsUsingGetRequest

type ListBlackWhiteListsUsingGetRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 黑白名单类型4:黑名单,5:白名单
	ListType ListBlackWhiteListsUsingGetRequestListType `json:"list_type"`

	// IP地址类型0:ipv4,1:ipv6,2:domain
	AddressType *ListBlackWhiteListsUsingGetRequestAddressType `json:"address_type,omitempty"`

	// ip地址
	Address *string `json:"address,omitempty"`

	// 端口
	Port *string `json:"port,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListBlackWhiteListsUsingGetRequest Request Object

func (ListBlackWhiteListsUsingGetRequest) String

type ListBlackWhiteListsUsingGetRequestAddressType

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

func (ListBlackWhiteListsUsingGetRequestAddressType) MarshalJSON

func (*ListBlackWhiteListsUsingGetRequestAddressType) UnmarshalJSON

func (ListBlackWhiteListsUsingGetRequestAddressType) Value

type ListBlackWhiteListsUsingGetRequestListType

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

func (ListBlackWhiteListsUsingGetRequestListType) MarshalJSON

func (*ListBlackWhiteListsUsingGetRequestListType) UnmarshalJSON

func (ListBlackWhiteListsUsingGetRequestListType) Value

type ListBlackWhiteListsUsingGetResponse

type ListBlackWhiteListsUsingGetResponse struct {
	Data           *BlackWhiteListResponseData `json:"data,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListBlackWhiteListsUsingGetResponse Response Object

func (ListBlackWhiteListsUsingGetResponse) String

type ListDnsServersRequest

type ListDnsServersRequest struct {

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListDnsServersRequest Request Object

func (ListDnsServersRequest) String

func (o ListDnsServersRequest) String() string

type ListDnsServersResponse

type ListDnsServersResponse struct {

	// dns服务器列表
	Data *[]DnsServersResponseDto `json:"data,omitempty"`

	// dns服务器总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDnsServersResponse Response Object

func (ListDnsServersResponse) String

func (o ListDnsServersResponse) String() string

type ListEastWestFirewallRequest

type ListEastWestFirewallRequest struct {

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListEastWestFirewallRequest Request Object

func (ListEastWestFirewallRequest) String

type ListEastWestFirewallResponse

type ListEastWestFirewallResponse struct {
	Data           *GetEastWestFirewallResponseBody `json:"data,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

ListEastWestFirewallResponse Response Object

func (ListEastWestFirewallResponse) String

type ListEipResourcesRequest

type ListEipResourcesRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 弹性公网ID/弹性公网IP
	KeyWord *string `json:"key_word,omitempty"`

	// 防护状态 null-全部 0-开启防护 1-关闭防护
	Status *ListEipResourcesRequestStatus `json:"status,omitempty"`

	// 是否同步租户EIP数据 0-不同步 1-同步
	Sync *ListEipResourcesRequestSync `json:"sync,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 设备键
	DeviceKey *string `json:"device_key,omitempty"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *int32 `json:"address_type,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

	// 所绑定防火墙id防火墙名称
	FwKeyWord *string `json:"fw_key_word,omitempty"`

	// 弹性公网ip的企业项目id
	EpsId *string `json:"eps_id,omitempty"`
}

ListEipResourcesRequest Request Object

func (ListEipResourcesRequest) String

func (o ListEipResourcesRequest) String() string

type ListEipResourcesRequestStatus

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

func (ListEipResourcesRequestStatus) MarshalJSON

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

func (*ListEipResourcesRequestStatus) UnmarshalJSON

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

func (ListEipResourcesRequestStatus) Value

type ListEipResourcesRequestSync

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

func (ListEipResourcesRequestSync) MarshalJSON

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

func (*ListEipResourcesRequestSync) UnmarshalJSON

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

func (ListEipResourcesRequestSync) Value

type ListEipResourcesRequestSyncEnum

type ListEipResourcesRequestSyncEnum struct {
	E_0 ListEipResourcesRequestSync
	E_1 ListEipResourcesRequestSync
}

func GetListEipResourcesRequestSyncEnum

func GetListEipResourcesRequestSyncEnum() ListEipResourcesRequestSyncEnum

type ListEipResourcesResponse

type ListEipResourcesResponse struct {
	Data           *EipResponseData `json:"data,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListEipResourcesResponse Response Object

func (ListEipResourcesResponse) String

func (o ListEipResourcesResponse) String() string

type ListFirewallUsingGetRequest

type ListFirewallUsingGetRequest struct {

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 服务类型 0 南北向防火墙 1 东西向防火墙
	ServiceType ListFirewallUsingGetRequestServiceType `json:"service_type"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListFirewallUsingGetRequest Request Object

func (ListFirewallUsingGetRequest) String

type ListFirewallUsingGetRequestServiceType

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

func (ListFirewallUsingGetRequestServiceType) MarshalJSON

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

func (*ListFirewallUsingGetRequestServiceType) UnmarshalJSON

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

func (ListFirewallUsingGetRequestServiceType) Value

type ListFirewallUsingGetResponse

type ListFirewallUsingGetResponse struct {
	Data           *GetFirewallInstanceData `json:"data,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListFirewallUsingGetResponse Response Object

func (ListFirewallUsingGetResponse) String

type ListFlowLogsRequest

type ListFlowLogsRequest struct {

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。
	FwInstanceId string `json:"fw_instance_id"`

	// 方向
	Direction *string `json:"direction,omitempty"`

	// 日志类型
	LogType *ListFlowLogsRequestLogType `json:"log_type,omitempty"`

	// 开始时间
	StartTime int64 `json:"start_time"`

	// 结束时间
	EndTime int64 `json:"end_time"`

	// 源IP
	SrcIp *string `json:"src_ip,omitempty"`

	// 源端口
	SrcPort *int32 `json:"src_port,omitempty"`

	// 目的IP
	DstIp *string `json:"dst_ip,omitempty"`

	// 目的端口
	DstPort *int32 `json:"dst_port,omitempty"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *ListFlowLogsRequestProtocol `json:"protocol,omitempty"`

	// 应用协议
	App *string `json:"app,omitempty"`

	// 文档ID,首页时为null,非首页时不为null
	LogId *string `json:"log_id,omitempty"`

	// 日期,首页时为null,非首页时不为null
	NextDate *int64 `json:"next_date,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListFlowLogsRequest Request Object

func (ListFlowLogsRequest) String

func (o ListFlowLogsRequest) String() string

type ListFlowLogsRequestLogType

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

func (ListFlowLogsRequestLogType) MarshalJSON

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

func (*ListFlowLogsRequestLogType) UnmarshalJSON

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

func (ListFlowLogsRequestLogType) Value

type ListFlowLogsRequestLogTypeEnum

type ListFlowLogsRequestLogTypeEnum struct {
	INTERNET ListFlowLogsRequestLogType
	VPC      ListFlowLogsRequestLogType
	NAT      ListFlowLogsRequestLogType
}

func GetListFlowLogsRequestLogTypeEnum

func GetListFlowLogsRequestLogTypeEnum() ListFlowLogsRequestLogTypeEnum

type ListFlowLogsRequestProtocol

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

func (ListFlowLogsRequestProtocol) MarshalJSON

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

func (*ListFlowLogsRequestProtocol) UnmarshalJSON

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

func (ListFlowLogsRequestProtocol) Value

type ListFlowLogsResponse

type ListFlowLogsResponse struct {
	Data           *HttpQueryCfwFlowLogsResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                                  `json:"-"`
}

ListFlowLogsResponse Response Object

func (ListFlowLogsResponse) String

func (o ListFlowLogsResponse) String() string

type ListIpsProtectModeUsingPostRequest

type ListIpsProtectModeUsingPostRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListIpsProtectModeUsingPostRequest Request Object

func (ListIpsProtectModeUsingPostRequest) String

type ListIpsProtectModeUsingPostResponse

type ListIpsProtectModeUsingPostResponse struct {
	Data           *IpsProtectModeObject `json:"data,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListIpsProtectModeUsingPostResponse Response Object

func (ListIpsProtectModeUsingPostResponse) String

type ListIpsSwitchStatusUsingGetRequest

type ListIpsSwitchStatusUsingGetRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListIpsSwitchStatusUsingGetRequest Request Object

func (ListIpsSwitchStatusUsingGetRequest) String

type ListIpsSwitchStatusUsingGetResponse

type ListIpsSwitchStatusUsingGetResponse struct {
	Data           *IpsSwitchResponseDto `json:"data,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListIpsSwitchStatusUsingGetResponse Response Object

func (ListIpsSwitchStatusUsingGetResponse) String

type ListParseDomainDetailsRequest

type ListParseDomainDetailsRequest struct {

	// 域名
	DomainName string `json:"domain_name"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListParseDomainDetailsRequest Request Object

func (ListParseDomainDetailsRequest) String

type ListParseDomainDetailsResponse

type ListParseDomainDetailsResponse struct {

	// 域名id列表
	Data           *[]string `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListParseDomainDetailsResponse Response Object

func (ListParseDomainDetailsResponse) String

type ListRuleAclUsingPutRequest

type ListRuleAclUsingPutRequest struct {

	// 规则id
	AclRuleId string `json:"acl_rule_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

ListRuleAclUsingPutRequest Request Object

func (ListRuleAclUsingPutRequest) String

type ListRuleAclUsingPutResponse

type ListRuleAclUsingPutResponse struct {
	Data           *RuleId `json:"data,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRuleAclUsingPutResponse Response Object

func (ListRuleAclUsingPutResponse) String

type ListRuleAclsUsingGetRequest

type ListRuleAclsUsingGetRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 规则Type0:互联网规则,1:vpc规则, 2:nat规则
	Type *ListRuleAclsUsingGetRequestType `json:"type,omitempty"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1
	Protocol *ListRuleAclsUsingGetRequestProtocol `json:"protocol,omitempty"`

	// ip地址
	Ip *string `json:"ip,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 方向0:外到内1:内到外
	Direction *int32 `json:"direction,omitempty"`

	// 规则下发状态 0:禁用,1:启用
	Status *ListRuleAclsUsingGetRequestStatus `json:"status,omitempty"`

	// 动作0:permit,1:deny
	ActionType *ListRuleAclsUsingGetRequestActionType `json:"action_type,omitempty"`

	// 地址类型0 ipv4,1 ipv6,2 domain
	AddressType *ListRuleAclsUsingGetRequestAddressType `json:"address_type,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListRuleAclsUsingGetRequest Request Object

func (ListRuleAclsUsingGetRequest) String

type ListRuleAclsUsingGetRequestActionType

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

func (ListRuleAclsUsingGetRequestActionType) MarshalJSON

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

func (*ListRuleAclsUsingGetRequestActionType) UnmarshalJSON

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

func (ListRuleAclsUsingGetRequestActionType) Value

type ListRuleAclsUsingGetRequestActionTypeEnum

type ListRuleAclsUsingGetRequestActionTypeEnum struct {
	E_0 ListRuleAclsUsingGetRequestActionType
	E_1 ListRuleAclsUsingGetRequestActionType
}

func GetListRuleAclsUsingGetRequestActionTypeEnum

func GetListRuleAclsUsingGetRequestActionTypeEnum() ListRuleAclsUsingGetRequestActionTypeEnum

type ListRuleAclsUsingGetRequestAddressType

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

func (ListRuleAclsUsingGetRequestAddressType) MarshalJSON

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

func (*ListRuleAclsUsingGetRequestAddressType) UnmarshalJSON

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

func (ListRuleAclsUsingGetRequestAddressType) Value

type ListRuleAclsUsingGetRequestProtocol

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

func (ListRuleAclsUsingGetRequestProtocol) MarshalJSON

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

func (*ListRuleAclsUsingGetRequestProtocol) UnmarshalJSON

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

func (ListRuleAclsUsingGetRequestProtocol) Value

type ListRuleAclsUsingGetRequestStatus

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

func (ListRuleAclsUsingGetRequestStatus) MarshalJSON

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

func (*ListRuleAclsUsingGetRequestStatus) UnmarshalJSON

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

func (ListRuleAclsUsingGetRequestStatus) Value

type ListRuleAclsUsingGetRequestStatusEnum

type ListRuleAclsUsingGetRequestStatusEnum struct {
	E_0 ListRuleAclsUsingGetRequestStatus
	E_1 ListRuleAclsUsingGetRequestStatus
}

func GetListRuleAclsUsingGetRequestStatusEnum

func GetListRuleAclsUsingGetRequestStatusEnum() ListRuleAclsUsingGetRequestStatusEnum

type ListRuleAclsUsingGetRequestType

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

func (ListRuleAclsUsingGetRequestType) MarshalJSON

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

func (*ListRuleAclsUsingGetRequestType) UnmarshalJSON

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

func (ListRuleAclsUsingGetRequestType) Value

type ListRuleAclsUsingGetResponse

type ListRuleAclsUsingGetResponse struct {
	Data           *RuleAclListResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListRuleAclsUsingGetResponse Response Object

func (ListRuleAclsUsingGetResponse) String

type ListRuleHitCountDto

type ListRuleHitCountDto struct {

	// 规则id列表
	RuleIds []string `json:"rule_ids"`
}

func (ListRuleHitCountDto) String

func (o ListRuleHitCountDto) String() string

type ListRuleHitCountRequest

type ListRuleHitCountRequest struct {

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

ListRuleHitCountRequest Request Object

func (ListRuleHitCountRequest) String

func (o ListRuleHitCountRequest) String() string

type ListRuleHitCountResponse

type ListRuleHitCountResponse struct {
	Data           *RuleHitCountRecords `json:"data,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListRuleHitCountResponse Response Object

func (ListRuleHitCountResponse) String

func (o ListRuleHitCountResponse) String() string

type ListServiceItemsDetailsRequest

type ListServiceItemsDetailsRequest struct {

	// 服务组id
	SetId string `json:"set_id"`

	// 查询字段
	KeyWord *string `json:"key_word,omitempty"`

	// 每页显示个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListServiceItemsDetailsRequest Request Object

func (ListServiceItemsDetailsRequest) String

type ListServiceItemsDetailsResponse

type ListServiceItemsDetailsResponse struct {
	Data           *ServiceItemListResponseDtoData `json:"data,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

ListServiceItemsDetailsResponse Response Object

func (ListServiceItemsDetailsResponse) String

type ListServiceSetDetailsRequest

type ListServiceSetDetailsRequest struct {

	// 服务组id
	SetId string `json:"set_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListServiceSetDetailsRequest Request Object

func (ListServiceSetDetailsRequest) String

type ListServiceSetDetailsResponse

type ListServiceSetDetailsResponse struct {
	Data           *ServiceSetDetailResponseDto `json:"data,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ListServiceSetDetailsResponse Response Object

func (ListServiceSetDetailsResponse) String

type ListServiceSetRequest

type ListServiceSetRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 关键字
	KeyWord *string `json:"key_word,omitempty"`

	// 每页查询个数
	Limit int32 `json:"limit"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset int32 `json:"offset"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListServiceSetRequest Request Object

func (ListServiceSetRequest) String

func (o ListServiceSetRequest) String() string

type ListServiceSetResponse

type ListServiceSetResponse struct {
	Data           *ServiceSetRecords `json:"data,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListServiceSetResponse Response Object

func (ListServiceSetResponse) String

func (o ListServiceSetResponse) String() string

type ListVpcProtectsRequest

type ListVpcProtectsRequest struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId string `json:"object_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`
}

ListVpcProtectsRequest Request Object

func (ListVpcProtectsRequest) String

func (o ListVpcProtectsRequest) String() string

type ListVpcProtectsResponse

type ListVpcProtectsResponse struct {

	// 调用链id
	TraceId *string `json:"trace_id,omitempty"`

	Data           *VpcProtectsVo `json:"data,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListVpcProtectsResponse Response Object

func (ListVpcProtectsResponse) String

func (o ListVpcProtectsResponse) String() string

type OrderRuleAclDto

type OrderRuleAclDto struct {

	// 目标规则id,添加规则位于此规则之后,非置顶时不能为空,置顶时为空
	DestRuleId *string `json:"dest_rule_id,omitempty"`

	// 是否置顶,0代表非置顶,1代表置顶
	Top *int32 `json:"top,omitempty"`
}

OrderRuleAclDto UpdateRuleAclDto

func (OrderRuleAclDto) String

func (o OrderRuleAclDto) String() string

type Packet

type Packet struct {

	// 十六进制码
	HexIndex *string `json:"hex_index,omitempty"`

	// utf8字符串
	Utf8String *string `json:"utf8_string,omitempty"`

	// 十六进制单个字节码数组
	Hexs *[]string `json:"hexs,omitempty"`
}

func (Packet) String

func (o Packet) String() string

type PacketMessage

type PacketMessage struct {

	// 16进制index
	HexIndex *string `json:"hex_index,omitempty"`

	// 16进制数列
	Hexs *[]string `json:"hexs,omitempty"`

	// utf_8字符串
	Utf8String *string `json:"utf8_String,omitempty"`
}

func (PacketMessage) String

func (o PacketMessage) String() string

type ProtectObjectVo

type ProtectObjectVo struct {

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`

	// 防护对象名称
	ObjectName *string `json:"object_name,omitempty"`

	// 防护对象类型:0 南北向,1 东西向护对象类型
	Type *ProtectObjectVoType `json:"type,omitempty"`
}

func (ProtectObjectVo) String

func (o ProtectObjectVo) String() string

type ProtectObjectVoType

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

func (ProtectObjectVoType) MarshalJSON

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

func (*ProtectObjectVoType) UnmarshalJSON

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

func (ProtectObjectVoType) Value

func (c ProtectObjectVoType) Value() int32

type ProtectObjectVoTypeEnum

type ProtectObjectVoTypeEnum struct {
	E_0 ProtectObjectVoType
	E_1 ProtectObjectVoType
}

func GetProtectObjectVoTypeEnum

func GetProtectObjectVoTypeEnum() ProtectObjectVoTypeEnum

type RuleAclListResponseDtoData

type RuleAclListResponseDtoData struct {

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 查询总条数
	Total *int32 `json:"total,omitempty"`

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`

	// records
	Records *[]RuleAclListResponseDtoDataRecords `json:"records,omitempty"`
}

RuleAclListResponseDtoData data

func (RuleAclListResponseDtoData) String

type RuleAclListResponseDtoDataRecords

type RuleAclListResponseDtoDataRecords struct {

	// 规则id
	RuleId *string `json:"rule_id,omitempty"`

	// 地址类型0 ipv4,1 ipv6
	AddressType *int32 `json:"address_type,omitempty"`

	// 规则名称
	Name *string `json:"name,omitempty"`

	Sequence *OrderRuleAclDto `json:"sequence,omitempty"`

	// 规则方向0:外到内1:内到外
	Direction *RuleAclListResponseDtoDataRecordsDirection `json:"direction,omitempty"`

	// 动作0:permit,1:deny
	ActionType *int32 `json:"action_type,omitempty"`

	// 规则下发状态 0:禁用,1:启用
	Status *int32 `json:"status,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 长连接时长小时
	LongConnectTimeHour *int64 `json:"long_connect_time_hour,omitempty"`

	// 长连接时长分钟
	LongConnectTimeMinute *int64 `json:"long_connect_time_minute,omitempty"`

	// 长连接时长秒
	LongConnectTimeSecond *int64 `json:"long_connect_time_second,omitempty"`

	// 长连接时长
	LongConnectTime *int64 `json:"long_connect_time,omitempty"`

	// 长连接支持
	LongConnectEnable *int32 `json:"long_connect_enable,omitempty"`

	Source *RuleAddressDto `json:"source,omitempty"`

	Destination *RuleAddressDto `json:"destination,omitempty"`

	Service *RuleServiceDto `json:"service,omitempty"`

	// 规则type,0:互联网规则,1:vpc规则,2nat规则
	Type *RuleAclListResponseDtoDataRecordsType `json:"type,omitempty"`
}

RuleAclListResponseDtoDataRecords items

func (RuleAclListResponseDtoDataRecords) String

type RuleAclListResponseDtoDataRecordsDirection

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

func (RuleAclListResponseDtoDataRecordsDirection) MarshalJSON

func (*RuleAclListResponseDtoDataRecordsDirection) UnmarshalJSON

func (RuleAclListResponseDtoDataRecordsDirection) Value

type RuleAclListResponseDtoDataRecordsType

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

func (RuleAclListResponseDtoDataRecordsType) MarshalJSON

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

func (*RuleAclListResponseDtoDataRecordsType) UnmarshalJSON

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

func (RuleAclListResponseDtoDataRecordsType) Value

type RuleAddressDto

type RuleAddressDto struct {

	// 源类型0手工输入,1关联IP地址组,2域名
	Type int32 `json:"type"`

	// 源类型0 ipv4,1 ipv6
	AddressType *int32 `json:"address_type,omitempty"`

	// 源IP,手动类型不能为空,自动及domain类型为空
	Address *string `json:"address,omitempty"`

	// 关联IP地址组ID,自动类型不能为空,手动类型合domain类型为空
	AddressSetId *string `json:"address_set_id,omitempty"`

	// 地址组名称
	AddressSetName *string `json:"address_set_name,omitempty"`

	// 域名地址名称,域名类型时不能为空,手动类型及自动类型时为空
	DomainAddressName *string `json:"domain_address_name,omitempty"`
}

RuleAddressDto 规则地址dto

func (RuleAddressDto) String

func (o RuleAddressDto) String() string

type RuleHitCountObject

type RuleHitCountObject struct {

	// 规则id
	RuleId *string `json:"rule_id,omitempty"`

	// 规则击中次数
	RuleHitCount *int32 `json:"rule_hit_count,omitempty"`
}

func (RuleHitCountObject) String

func (o RuleHitCountObject) String() string

type RuleHitCountRecords

type RuleHitCountRecords struct {

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 规则击中次数列表
	Records *[]RuleHitCountObject `json:"records,omitempty"`
}

RuleHitCountRecords 规则击中次数记录

func (RuleHitCountRecords) String

func (o RuleHitCountRecords) String() string

type RuleId

type RuleId struct {

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

func (RuleId) String

func (o RuleId) String() string

type RuleIdList

type RuleIdList struct {

	// 规则id列表
	Rules *[]RuleId `json:"rules,omitempty"`
}

RuleIdList 规则id列表

func (RuleIdList) String

func (o RuleIdList) String() string

type RuleServiceDto

type RuleServiceDto struct {

	// 服务输入类型,0为手动输入类型,1为自动输入类型
	Type int32 `json:"type"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *int32 `json:"protocol,omitempty"`

	// 源端口
	SourcePort *string `json:"source_port,omitempty"`

	// 目的端口
	DestPort *string `json:"dest_port,omitempty"`

	// 服务组id,手动类型为空,自动类型为非空
	ServiceSetId *string `json:"service_set_id,omitempty"`

	// 服务组名称
	ServiceSetName *string `json:"service_set_name,omitempty"`
}

RuleServiceDto RuleServiceDto

func (RuleServiceDto) String

func (o RuleServiceDto) String() string

type ServiceItemIds

type ServiceItemIds struct {

	// 服务组成员id列表
	Items *[]IdObject `json:"items,omitempty"`
}

func (ServiceItemIds) String

func (o ServiceItemIds) String() string

type ServiceItemListResponseDtoData

type ServiceItemListResponseDtoData struct {

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 记录的总数
	Total *int32 `json:"total,omitempty"`

	// 服务组id
	SetId *string `json:"set_id,omitempty"`

	// 记录
	Records *[]ServiceItemListResponseDtoDataRecords `json:"records,omitempty"`
}

ServiceItemListResponseDtoData 服务组成员列表

func (ServiceItemListResponseDtoData) String

type ServiceItemListResponseDtoDataRecords

type ServiceItemListResponseDtoDataRecords struct {

	// 服务成员id
	ItemId *string `json:"item_id,omitempty"`

	// 协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空
	Protocol *int32 `json:"protocol,omitempty"`

	// 源端口
	SourcePort *string `json:"source_port,omitempty"`

	// 目的端口
	DestPort *string `json:"dest_port,omitempty"`

	// 服务成员名称
	Name *string `json:"name,omitempty"`

	// 服务成员描述
	Description *string `json:"description,omitempty"`
}

ServiceItemListResponseDtoDataRecords service item

func (ServiceItemListResponseDtoDataRecords) String

type ServiceSet

type ServiceSet struct {

	// 服务组id
	SetId *string `json:"set_id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 引用次数
	RefCount *int32 `json:"ref_count,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`
}

func (ServiceSet) String

func (o ServiceSet) String() string

type ServiceSetDetailResponseDto

type ServiceSetDetailResponseDto struct {

	// 服务组id
	Id *string `json:"id,omitempty"`

	// 服务组名称
	Name string `json:"name"`

	// 服务组描述信息
	Description *string `json:"description,omitempty"`
}

ServiceSetDetailResponseDto Query Service Set Detail Response Body

func (ServiceSetDetailResponseDto) String

type ServiceSetRecords

type ServiceSetRecords struct {

	// 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示个数
	Limit *int32 `json:"limit,omitempty"`

	// 查询总数
	Total *int32 `json:"total,omitempty"`

	// 服务组列表
	Records *[]ServiceSet `json:"records,omitempty"`
}

func (ServiceSetRecords) String

func (o ServiceSetRecords) String() string

type SubnetInfo

type SubnetInfo struct {

	// 子网id
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// vpc cidr
	Cidr string `json:"cidr"`

	// 子网名称
	Name string `json:"name"`

	// 子网id
	Id *string `json:"id,omitempty"`

	// 子网网关ip
	GatewayIp *string `json:"gateway_ip,omitempty"`

	// vpc id
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的状态
	Status *string `json:"status,omitempty"`
}

SubnetInfo 管理子网信息

func (SubnetInfo) String

func (o SubnetInfo) String() string

type SuccessRspData

type SuccessRspData struct {

	// 标识ID
	Id *string `json:"id,omitempty"`
}

SuccessRspData 响应体

func (SuccessRspData) String

func (o SuccessRspData) String() string

type Tag

type Tag struct {

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

	// 值
	Value *string `json:"value,omitempty"`
}

func (Tag) String

func (o Tag) String() string

type UpdateAddressSetDto

type UpdateAddressSetDto struct {

	// 地址组名称
	Name *string `json:"name,omitempty"`

	// 地址组描述
	Description *string `json:"description,omitempty"`

	// 地址类型0 ipv4,1 ipv6,2 domain
	AddressType *UpdateAddressSetDtoAddressType `json:"address_type,omitempty"`
}

UpdateAddressSetDto 更新地址组信息

func (UpdateAddressSetDto) String

func (o UpdateAddressSetDto) String() string

type UpdateAddressSetDtoAddressType

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

func (UpdateAddressSetDtoAddressType) MarshalJSON

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

func (*UpdateAddressSetDtoAddressType) UnmarshalJSON

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

func (UpdateAddressSetDtoAddressType) Value

type UpdateAddressSetInfoUsingPutRequest

type UpdateAddressSetInfoUsingPutRequest struct {

	// 地址组id
	SetId string `json:"set_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

UpdateAddressSetInfoUsingPutRequest Request Object

func (UpdateAddressSetInfoUsingPutRequest) String

type UpdateAddressSetInfoUsingPutResponse

type UpdateAddressSetInfoUsingPutResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateAddressSetInfoUsingPutResponse Response Object

func (UpdateAddressSetInfoUsingPutResponse) String

type UpdateBlackWhiteListDto

type UpdateBlackWhiteListDto struct {

	// 地址方向0:源地址1:目的地址
	Direction *int32 `json:"direction,omitempty"`

	// 地址类型0:ipv4,1:ipv6,2:domain
	AddressType *int32 `json:"address_type,omitempty"`

	// ip地址
	Address *string `json:"address,omitempty"`

	// 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1
	Protocol *int32 `json:"protocol,omitempty"`

	// 端口
	Port *string `json:"port,omitempty"`

	// 黑白名单类型4:黑名单,5:白名单
	ListType *UpdateBlackWhiteListDtoListType `json:"list_type,omitempty"`

	// 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
	ObjectId *string `json:"object_id,omitempty"`
}

UpdateBlackWhiteListDto UpdateBlackWhiteListDto

func (UpdateBlackWhiteListDto) String

func (o UpdateBlackWhiteListDto) String() string

type UpdateBlackWhiteListDtoListType

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

func (UpdateBlackWhiteListDtoListType) MarshalJSON

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

func (*UpdateBlackWhiteListDtoListType) UnmarshalJSON

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

func (UpdateBlackWhiteListDtoListType) Value

type UpdateBlackWhiteListDtoListTypeEnum

type UpdateBlackWhiteListDtoListTypeEnum struct {
	E_4 UpdateBlackWhiteListDtoListType
	E_5 UpdateBlackWhiteListDtoListType
}

func GetUpdateBlackWhiteListDtoListTypeEnum

func GetUpdateBlackWhiteListDtoListTypeEnum() UpdateBlackWhiteListDtoListTypeEnum

type UpdateBlackWhiteListUsingPutRequest

type UpdateBlackWhiteListUsingPutRequest struct {

	// 黑白名单列表id
	ListId string `json:"list_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

UpdateBlackWhiteListUsingPutRequest Request Object

func (UpdateBlackWhiteListUsingPutRequest) String

type UpdateBlackWhiteListUsingPutResponse

type UpdateBlackWhiteListUsingPutResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateBlackWhiteListUsingPutResponse Response Object

func (UpdateBlackWhiteListUsingPutResponse) String

type UpdateDnsServersRequest

type UpdateDnsServersRequest struct {

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

UpdateDnsServersRequest Request Object

func (UpdateDnsServersRequest) String

func (o UpdateDnsServersRequest) String() string

type UpdateDnsServersRequestBody

type UpdateDnsServersRequestBody struct {

	// DNS服务器
	DnsServer *[]UpdateDnsServersRequestBodyDnsServer `json:"dns_server,omitempty"`
}

func (UpdateDnsServersRequestBody) String

type UpdateDnsServersRequestBodyDnsServer

type UpdateDnsServersRequestBodyDnsServer struct {

	// DNS服务器IP
	ServerIp *string `json:"server_ip,omitempty"`

	// 是否是用户自定义的dns服务器,0否 1是
	IsCustomized *int32 `json:"is_customized,omitempty"`

	// 是否应用,0否 1是
	IsApplied *int32 `json:"is_applied,omitempty"`
}

func (UpdateDnsServersRequestBodyDnsServer) String

type UpdateDnsServersResponse

type UpdateDnsServersResponse struct {

	// 域名服务器列表
	Data           *[]string `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateDnsServersResponse Response Object

func (UpdateDnsServersResponse) String

func (o UpdateDnsServersResponse) String() string

type UpdateRuleAclDto

type UpdateRuleAclDto struct {

	// 地址类型,0 ipv4,1 ipv6
	AddressType *UpdateRuleAclDtoAddressType `json:"address_type,omitempty"`

	// 规则名称
	Name *string `json:"name,omitempty"`

	Sequence *OrderRuleAclDto `json:"sequence,omitempty"`

	// 规则方向
	Direction *UpdateRuleAclDtoDirection `json:"direction,omitempty"`

	// 动作0:permit,1:deny
	ActionType *UpdateRuleAclDtoActionType `json:"action_type,omitempty"`

	// 规则下发状态 0:禁用,1:启用
	Status *int32 `json:"status,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 长连接时长小时
	LongConnectTimeHour *int64 `json:"long_connect_time_hour,omitempty"`

	// 长连接时长分钟
	LongConnectTimeMinute *int64 `json:"long_connect_time_minute,omitempty"`

	// 长连接时长秒
	LongConnectTimeSecond *int64 `json:"long_connect_time_second,omitempty"`

	// 长连接时长
	LongConnectTime *int64 `json:"long_connect_time,omitempty"`

	// 是否支持长连接,0表示不支持,1表示支持
	LongConnectEnable *UpdateRuleAclDtoLongConnectEnable `json:"long_connect_enable,omitempty"`

	Source *RuleAddressDto `json:"source,omitempty"`

	Destination *RuleAddressDto `json:"destination,omitempty"`

	Service *RuleServiceDto `json:"service,omitempty"`

	// 规则type,0:互联网规则,1:vpc规则,2:nat规则
	Type *UpdateRuleAclDtoType `json:"type,omitempty"`
}

UpdateRuleAclDto UpdateRuleAclDto

func (UpdateRuleAclDto) String

func (o UpdateRuleAclDto) String() string

type UpdateRuleAclDtoActionType

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

func (UpdateRuleAclDtoActionType) MarshalJSON

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

func (*UpdateRuleAclDtoActionType) UnmarshalJSON

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

func (UpdateRuleAclDtoActionType) Value

type UpdateRuleAclDtoActionTypeEnum

type UpdateRuleAclDtoActionTypeEnum struct {
	E_0 UpdateRuleAclDtoActionType
	E_1 UpdateRuleAclDtoActionType
}

func GetUpdateRuleAclDtoActionTypeEnum

func GetUpdateRuleAclDtoActionTypeEnum() UpdateRuleAclDtoActionTypeEnum

type UpdateRuleAclDtoAddressType

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

func (UpdateRuleAclDtoAddressType) MarshalJSON

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

func (*UpdateRuleAclDtoAddressType) UnmarshalJSON

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

func (UpdateRuleAclDtoAddressType) Value

type UpdateRuleAclDtoAddressTypeEnum

type UpdateRuleAclDtoAddressTypeEnum struct {
	E_0 UpdateRuleAclDtoAddressType
	E_1 UpdateRuleAclDtoAddressType
}

func GetUpdateRuleAclDtoAddressTypeEnum

func GetUpdateRuleAclDtoAddressTypeEnum() UpdateRuleAclDtoAddressTypeEnum

type UpdateRuleAclDtoDirection

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

func (UpdateRuleAclDtoDirection) MarshalJSON

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

func (*UpdateRuleAclDtoDirection) UnmarshalJSON

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

func (UpdateRuleAclDtoDirection) Value

func (c UpdateRuleAclDtoDirection) Value() int32

type UpdateRuleAclDtoDirectionEnum

type UpdateRuleAclDtoDirectionEnum struct {
	E_0 UpdateRuleAclDtoDirection
	E_1 UpdateRuleAclDtoDirection
}

func GetUpdateRuleAclDtoDirectionEnum

func GetUpdateRuleAclDtoDirectionEnum() UpdateRuleAclDtoDirectionEnum

type UpdateRuleAclDtoLongConnectEnable

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

func (UpdateRuleAclDtoLongConnectEnable) MarshalJSON

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

func (*UpdateRuleAclDtoLongConnectEnable) UnmarshalJSON

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

func (UpdateRuleAclDtoLongConnectEnable) Value

type UpdateRuleAclDtoLongConnectEnableEnum

type UpdateRuleAclDtoLongConnectEnableEnum struct {
	E_0 UpdateRuleAclDtoLongConnectEnable
	E_1 UpdateRuleAclDtoLongConnectEnable
}

func GetUpdateRuleAclDtoLongConnectEnableEnum

func GetUpdateRuleAclDtoLongConnectEnableEnum() UpdateRuleAclDtoLongConnectEnableEnum

type UpdateRuleAclDtoType

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

func (UpdateRuleAclDtoType) MarshalJSON

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

func (*UpdateRuleAclDtoType) UnmarshalJSON

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

func (UpdateRuleAclDtoType) Value

func (c UpdateRuleAclDtoType) Value() int32

type UpdateRuleAclDtoTypeEnum

type UpdateRuleAclDtoTypeEnum struct {
	E_0 UpdateRuleAclDtoType
	E_1 UpdateRuleAclDtoType
	E_2 UpdateRuleAclDtoType
}

func GetUpdateRuleAclDtoTypeEnum

func GetUpdateRuleAclDtoTypeEnum() UpdateRuleAclDtoTypeEnum

type UpdateRuleAclUsingPutRequest

type UpdateRuleAclUsingPutRequest struct {

	// 规则Id
	AclRuleId string `json:"acl_rule_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

UpdateRuleAclUsingPutRequest Request Object

func (UpdateRuleAclUsingPutRequest) String

type UpdateRuleAclUsingPutResponse

type UpdateRuleAclUsingPutResponse struct {
	Data           *RuleId `json:"data,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateRuleAclUsingPutResponse Response Object

func (UpdateRuleAclUsingPutResponse) String

type UpdateServiceSetUsingPutRequest

type UpdateServiceSetUsingPutRequest struct {

	// 服务组id
	SetId string `json:"set_id"`

	// 企业项目id,用户支持企业项目后,由企业项目生成的id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
	FwInstanceId *string `json:"fw_instance_id,omitempty"`

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

UpdateServiceSetUsingPutRequest Request Object

func (UpdateServiceSetUsingPutRequest) String

type UpdateServiceSetUsingPutRequestBody

type UpdateServiceSetUsingPutRequestBody struct {

	// 服务组名称
	Name *string `json:"name,omitempty"`

	// 服务组描述信息
	Description *string `json:"description,omitempty"`
}

UpdateServiceSetUsingPutRequestBody Update Service Set Required Body

func (UpdateServiceSetUsingPutRequestBody) String

type UpdateServiceSetUsingPutResponse

type UpdateServiceSetUsingPutResponse struct {
	Data           *IdObject `json:"data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateServiceSetUsingPutResponse Response Object

func (UpdateServiceSetUsingPutResponse) String

type VpcAttachmentDetail

type VpcAttachmentDetail struct {

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

	// 名称
	Name *string `json:"name,omitempty"`

	// vpc id
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网id
	VirsubnetId *string `json:"virsubnet_id,omitempty"`

	// 状态
	State *string `json:"state,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 标签
	Tags *[]Tag `json:"tags,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 项目id
	ProjectId *string `json:"project_id,omitempty"`

	// vpc项目id
	VpcProjectId *string `json:"vpc_project_id,omitempty"`

	// 企业项目id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (VpcAttachmentDetail) String

func (o VpcAttachmentDetail) String() string

type VpcDetail

type VpcDetail struct {

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

	// 名称
	Name *string `json:"name,omitempty"`

	// vpc cidr
	Cidr *string `json:"cidr,omitempty"`

	// 状态
	Status *string `json:"status,omitempty"`
}

func (VpcDetail) String

func (o VpcDetail) String() string

type VpcProtectsVo

type VpcProtectsVo struct {

	// 总VPC数
	Total *int32 `json:"total,omitempty"`

	// 本项目防护VPC数
	SelfTotal *int32 `json:"self_total,omitempty"`

	// 其他项目防护VPC数
	OtherTotal *int32 `json:"other_total,omitempty"`

	// 防护VPC
	ProtectVpcs *[]VpcAttachmentDetail `json:"protect_vpcs,omitempty"`

	// 本项目防护VPC
	SelfProtectVpcs *[]VpcAttachmentDetail `json:"self_protect_vpcs,omitempty"`

	// 其他项目防护VPC
	OtherProtectVpcs *[]VpcAttachmentDetail `json:"other_protect_vpcs,omitempty"`
}

VpcProtectsVo vpc protects vo

func (VpcProtectsVo) String

func (o VpcProtectsVo) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL