Documentation ¶
Index ¶
- type AddAclRuleRequest
- type AddAclRuleResponse
- type AddAddressItemRequest
- type AddAddressItemResponse
- type AddAddressItemsInfoDto
- type AddAddressItemsInfoDtoAddressItems
- type AddAddressSetDto
- type AddAddressSetDtoAddressType
- type AddAddressSetDtoAddressTypeEnum
- type AddAddressSetRequest
- type AddAddressSetResponse
- type AddBlackWhiteListDto
- type AddBlackWhiteListRequest
- type AddBlackWhiteListResponse
- type AddDomainListDto
- type AddDomainSetInfoDto
- type AddDomainSetRequest
- type AddDomainSetResponse
- type AddDomainsRequest
- type AddDomainsResponse
- type AddLogConfigRequest
- type AddLogConfigResponse
- type AddRuleAclDto
- type AddRuleAclDtoRules
- type AddRuleAclDtoRulesAddressType
- type AddRuleAclDtoRulesAddressTypeEnum
- type AddRuleAclDtoRulesDirection
- type AddRuleAclDtoRulesDirectionEnum
- type AddRuleAclDtoRulesLongConnectEnable
- type AddRuleAclDtoRulesLongConnectEnableEnum
- type AddRuleAclDtoRulesStatus
- type AddRuleAclDtoRulesStatusEnum
- type AddRuleAclDtoType
- type AddRuleAclDtoTypeEnum
- type AddServiceItemsRequest
- type AddServiceItemsResponse
- type AddServiceItemsUsingPostRequestBody
- type AddServiceItemsUsingPostRequestBodyServiceItems
- type AddServiceSetRequest
- type AddServiceSetResponse
- type AddServiceSetUsingPostRequestBody
- type AddressGroupVo
- type AddressItemListResponseDtoData
- type AddressItemListResponseDtoDataRecords
- type AddressItems
- type AddressSetDetailResponseDtoData
- type AddressSetDetailResponseDtoDataAddressType
- type AddressSetDetailResponseDtoDataAddressTypeEnum
- type AddressSetListResponseDtoData
- type AddressSetListResponseDtoDataRecords
- type BatchDeleteAclRulesRequest
- type BatchDeleteAclRulesResponse
- type BatchDeleteAclRulesResponseData
- type BatchDeleteAddressItemsRequest
- type BatchDeleteAddressItemsResponse
- type BatchDeleteRuleInfo
- type BatchDeleteServiceItemsRequest
- type BatchDeleteServiceItemsResponse
- type BatchUpdateAclRuleActionsRequest
- type BatchUpdateAclRuleActionsResponse
- type BlackWhiteListResponseData
- type BlackWhiteListResponseDataRecords
- type ChangeEastWestFirewallStatusRequest
- type ChangeEastWestFirewallStatusResponse
- type ChangeEipStatusRequest
- type ChangeEipStatusResponse
- type ChangeIpsProtectModeRequest
- type ChangeIpsProtectModeResponse
- type ChangeIpsSwitchStatusRequest
- type ChangeIpsSwitchStatusResponse
- type ChangeProtectStatusRequestBody
- type ChangeProtectStatusRequestBodyStatus
- type ChangeProtectStatusRequestBodyStatusEnum
- type ClearAccessLogRuleHitCountsDto
- type CommonResponseDtoData
- type CoveredIpvo
- type CreateEastWestFirewallRequest
- type CreateEastWestFirewallRequestBody
- type CreateEastWestFirewallResponse
- type CreateFirewallReq
- type CreateFirewallReqChargeInfo
- type CreateFirewallReqFlavor
- type CreateFirewallReqFlavorVersion
- type CreateFirewallReqFlavorVersionEnum
- type CreateFirewallReqTags
- type CreateFirewallRequest
- type CreateFirewallResponse
- type DeleteAclRuleHitCountRequest
- type DeleteAclRuleHitCountResponse
- type DeleteAclRuleRequest
- type DeleteAclRuleResponse
- type DeleteAddressItemRequest
- type DeleteAddressItemResponse
- type DeleteAddressItemsInfoDto
- type DeleteAddressSetRequest
- type DeleteAddressSetResponse
- type DeleteBlackWhiteListRequest
- type DeleteBlackWhiteListResponse
- type DeleteDomainDto
- type DeleteDomainSetRequest
- type DeleteDomainSetResponse
- type DeleteDomainsRequest
- type DeleteDomainsResponse
- type DeleteFirewallRequest
- type DeleteFirewallResponse
- type DeleteRuleAclDto
- type DeleteServiceItemDto
- type DeleteServiceItemRequest
- type DeleteServiceItemResponse
- type DeleteServiceSetRequest
- type DeleteServiceSetResponse
- type DnsServersResponseDto
- type DomainInfo
- type DomainSetInfoDto
- type DomainSetResponseData
- type DomainSetVo
- type EipCountRespData
- type EipOperateProtectReq
- type EipOperateProtectReqIpInfos
- type EipResource
- type EipResourceStatus
- type EipResourceStatusEnum
- type EipResponseData
- type EipSwitchStatusVo
- type ErInstance
- type ErrorRsp
- type EwProtectResourceInfo
- type FirewallInstanceResource
- type FirewallInstanceVo
- type Flavor
- type FlavorVersion
- type FlavorVersionEnum
- type GetEastWestFirewallResponseBody
- type GetFirewallInstanceData
- type GetFirewallInstanceResponseRecord
- type GetFirewallInstanceResponseRecordStatus
- type GetFirewallInstanceResponseRecordStatusEnum
- type HttpFirewallInstanceListResponseData
- type HttpGetAclTagResponseData
- type HttpQueryCfwAccessControllerLogsResponseDtoData
- type HttpQueryCfwAccessControllerLogsResponseDtoDataRecords
- type HttpQueryCfwAttackLogsResponseDtoData
- type HttpQueryCfwAttackLogsResponseDtoDataRecords
- type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection
- type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirectionEnum
- type HttpQueryCfwFlowLogsResponseDtoData
- type HttpQueryCfwFlowLogsResponseDtoDataRecords
- type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection
- type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirectionEnum
- type IdObject
- type IpRegionDto
- type IpsProtectDto
- type IpsProtectModeObject
- type IpsSwitchDto
- type IpsSwitchDtoIpsType
- type IpsSwitchDtoIpsTypeEnum
- type IpsSwitchResponseDto
- type ListAccessControlLogsRequest
- type ListAccessControlLogsRequestLogType
- type ListAccessControlLogsRequestLogTypeEnum
- type ListAccessControlLogsResponse
- type ListAclRuleHitCountRequest
- type ListAclRuleHitCountResponse
- type ListAclRulesRequest
- type ListAclRulesRequestActionType
- type ListAclRulesRequestActionTypeEnum
- type ListAclRulesRequestAddressType
- type ListAclRulesRequestAddressTypeEnum
- type ListAclRulesRequestProtocol
- type ListAclRulesRequestProtocolEnum
- type ListAclRulesRequestStatus
- type ListAclRulesRequestStatusEnum
- type ListAclRulesRequestType
- type ListAclRulesRequestTypeEnum
- type ListAclRulesResponse
- type ListAddressItemsRequest
- type ListAddressItemsResponse
- type ListAddressSetDetailRequest
- type ListAddressSetDetailResponse
- type ListAddressSetsRequest
- type ListAddressSetsRequestAddressType
- type ListAddressSetsRequestAddressTypeEnum
- type ListAddressSetsResponse
- type ListAttackLogsRequest
- type ListAttackLogsRequestAction
- type ListAttackLogsRequestActionEnum
- type ListAttackLogsRequestDirection
- type ListAttackLogsRequestDirectionEnum
- type ListAttackLogsRequestLogType
- type ListAttackLogsRequestLogTypeEnum
- type ListAttackLogsRequestProtocol
- type ListAttackLogsRequestProtocolEnum
- type ListAttackLogsResponse
- type ListBlackWhiteListsRequest
- type ListBlackWhiteListsRequestAddressType
- type ListBlackWhiteListsRequestAddressTypeEnum
- type ListBlackWhiteListsRequestListType
- type ListBlackWhiteListsRequestListTypeEnum
- type ListBlackWhiteListsResponse
- type ListDnsServersRequest
- type ListDnsServersResponse
- type ListDomainParseDetailRequest
- type ListDomainParseDetailResponse
- type ListDomainResponseData
- type ListDomainSetsRequest
- type ListDomainSetsResponse
- type ListDomainsRequest
- type ListDomainsResponse
- type ListDomainsetsResponseData
- type ListEastWestFirewallRequest
- type ListEastWestFirewallResponse
- type ListEipCountRequest
- type ListEipCountResponse
- type ListEipsRequest
- type ListEipsRequestStatus
- type ListEipsRequestStatusEnum
- type ListEipsRequestSync
- type ListEipsRequestSyncEnum
- type ListEipsResponse
- type ListFirewallDetailRequest
- type ListFirewallDetailRequestServiceType
- type ListFirewallDetailRequestServiceTypeEnum
- type ListFirewallDetailResponse
- type ListFirewallListRequest
- type ListFirewallListResponse
- type ListFlowLogsRequest
- type ListFlowLogsRequestLogType
- type ListFlowLogsRequestLogTypeEnum
- type ListFlowLogsRequestProtocol
- type ListFlowLogsRequestProtocolEnum
- type ListFlowLogsResponse
- type ListIpsProtectModeRequest
- type ListIpsProtectModeResponse
- type ListIpsSwitchStatusRequest
- type ListIpsSwitchStatusResponse
- type ListJobRequest
- type ListJobResponse
- type ListLogConfigRequest
- type ListLogConfigResponse
- type ListProtectedVpcsRequest
- type ListProtectedVpcsResponse
- type ListRuleAclTagsRequest
- type ListRuleAclTagsResponse
- type ListRuleHitCountDto
- type ListServiceItemsRequest
- type ListServiceItemsResponse
- type ListServiceSetDetailRequest
- type ListServiceSetDetailResponse
- type ListServiceSetsRequest
- type ListServiceSetsResponse
- type LogConfigDto
- type OrderRuleAclDto
- type PacketMessage
- type ProtectObjectVo
- type ProtectObjectVoType
- type ProtectObjectVoTypeEnum
- type QueryFireWallInstanceDto
- type RuleAclListResponseDtoData
- type RuleAclListResponseDtoDataRecords
- type RuleAclListResponseDtoDataRecordsDirection
- type RuleAclListResponseDtoDataRecordsDirectionEnum
- type RuleAclListResponseDtoDataRecordsType
- type RuleAclListResponseDtoDataRecordsTypeEnum
- type RuleAddressDto
- type RuleHitCountObject
- type RuleHitCountRecords
- type RuleId
- type RuleIdList
- type RuleServiceDto
- type ServiceItem
- type ServiceItemIds
- type ServiceItemListResponseDtoData
- type ServiceItemListResponseDtoDataRecords
- type ServiceSet
- type ServiceSetDetailResponseDto
- type ServiceSetRecords
- type SubnetInfo
- type SuccessRspData
- type Tag
- type TagInfo
- type TagsVo
- type UpdateAclRuleOrderRequest
- type UpdateAclRuleOrderResponse
- type UpdateAclRuleRequest
- type UpdateAclRuleResponse
- type UpdateAddressSetDto
- type UpdateAddressSetDtoAddressType
- type UpdateAddressSetDtoAddressTypeEnum
- type UpdateAddressSetRequest
- type UpdateAddressSetResponse
- type UpdateAddressSetResponseData
- type UpdateBlackWhiteListDto
- type UpdateBlackWhiteListDtoListType
- type UpdateBlackWhiteListDtoListTypeEnum
- type UpdateBlackWhiteListRequest
- type UpdateBlackWhiteListResponse
- type UpdateDnsServersRequest
- type UpdateDnsServersRequestBody
- type UpdateDnsServersRequestBodyDnsServer
- type UpdateDnsServersResponse
- type UpdateDomainSetInfoDto
- type UpdateDomainSetRequest
- type UpdateDomainSetResponse
- type UpdateLogConfigRequest
- type UpdateLogConfigResponse
- type UpdateRuleAclDto
- type UpdateRuleAclDtoActionType
- type UpdateRuleAclDtoActionTypeEnum
- type UpdateRuleAclDtoAddressType
- type UpdateRuleAclDtoAddressTypeEnum
- type UpdateRuleAclDtoDirection
- type UpdateRuleAclDtoDirectionEnum
- type UpdateRuleAclDtoLongConnectEnable
- type UpdateRuleAclDtoLongConnectEnableEnum
- type UpdateRuleAclDtoType
- type UpdateRuleAclDtoTypeEnum
- type UpdateSecurityPolciesActionDto
- type UpdateServiceSetRequest
- type UpdateServiceSetResponse
- type UpdateServiceSetUsingPutRequestBody
- type VpcAttachmentDetail
- type VpcDetail
- type VpcProtectsVo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAclRuleRequest ¶ added in v0.1.62
type AddAclRuleRequest 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"` }
AddAclRuleRequest Request Object
func (AddAclRuleRequest) String ¶ added in v0.1.62
func (o AddAclRuleRequest) String() string
type AddAclRuleResponse ¶ added in v0.1.62
type AddAclRuleResponse struct { Data *RuleIdList `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddAclRuleResponse Response Object
func (AddAclRuleResponse) String ¶ added in v0.1.62
func (o AddAclRuleResponse) String() string
type AddAddressItemRequest ¶ added in v0.1.62
type AddAddressItemRequest 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"` }
AddAddressItemRequest Request Object
func (AddAddressItemRequest) String ¶ added in v0.1.62
func (o AddAddressItemRequest) String() string
type AddAddressItemResponse ¶ added in v0.1.62
type AddAddressItemResponse struct { Data *AddressItems `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddAddressItemResponse Response Object
func (AddAddressItemResponse) String ¶ added in v0.1.62
func (o AddAddressItemResponse) String() string
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 ¶
func (o AddAddressItemsInfoDtoAddressItems) String() 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 ¶
func (c AddAddressSetDtoAddressType) Value() int32
type AddAddressSetDtoAddressTypeEnum ¶
type AddAddressSetDtoAddressTypeEnum struct { E_0 AddAddressSetDtoAddressType E_1 AddAddressSetDtoAddressType }
func GetAddAddressSetDtoAddressTypeEnum ¶
func GetAddAddressSetDtoAddressTypeEnum() AddAddressSetDtoAddressTypeEnum
type AddAddressSetRequest ¶ added in v0.1.62
type AddAddressSetRequest 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"` }
AddAddressSetRequest Request Object
func (AddAddressSetRequest) String ¶ added in v0.1.62
func (o AddAddressSetRequest) String() string
type AddAddressSetResponse ¶ added in v0.1.62
type AddAddressSetResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddAddressSetResponse Response Object
func (AddAddressSetResponse) String ¶ added in v0.1.62
func (o AddAddressSetResponse) String() 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"` // 描述 Description *string `json:"description,omitempty"` }
AddBlackWhiteListDto AddBlackWhiteListDto
func (AddBlackWhiteListDto) String ¶
func (o AddBlackWhiteListDto) String() string
type AddBlackWhiteListRequest ¶ added in v0.1.62
type AddBlackWhiteListRequest 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"` }
AddBlackWhiteListRequest Request Object
func (AddBlackWhiteListRequest) String ¶ added in v0.1.62
func (o AddBlackWhiteListRequest) String() string
type AddBlackWhiteListResponse ¶ added in v0.1.62
type AddBlackWhiteListResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddBlackWhiteListResponse Response Object
func (AddBlackWhiteListResponse) String ¶ added in v0.1.62
func (o AddBlackWhiteListResponse) String() string
type AddDomainListDto ¶ added in v0.1.62
type AddDomainListDto struct { // 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。 FwInstanceId string `json:"fw_instance_id"` // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 域名列表 DomainNames []DomainSetInfoDto `json:"domain_names"` }
func (AddDomainListDto) String ¶ added in v0.1.62
func (o AddDomainListDto) String() string
type AddDomainSetInfoDto ¶ added in v0.1.62
type AddDomainSetInfoDto struct { // 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。 FwInstanceId string `json:"fw_instance_id"` // 防护对象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"` // 域名信息列表 DomainNames *[]DomainSetInfoDto `json:"domain_names,omitempty"` // 域名组类型,0表示URL过滤,1表示地址解析 DomainSetType int32 `json:"domain_set_type"` }
func (AddDomainSetInfoDto) String ¶ added in v0.1.62
func (o AddDomainSetInfoDto) String() string
type AddDomainSetRequest ¶ added in v0.1.62
type AddDomainSetRequest 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 *AddDomainSetInfoDto `json:"body,omitempty"` }
AddDomainSetRequest Request Object
func (AddDomainSetRequest) String ¶ added in v0.1.62
func (o AddDomainSetRequest) String() string
type AddDomainSetResponse ¶ added in v0.1.62
type AddDomainSetResponse struct { Data *DomainSetResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddDomainSetResponse Response Object
func (AddDomainSetResponse) String ¶ added in v0.1.62
func (o AddDomainSetResponse) String() string
type AddDomainsRequest ¶ added in v0.1.62
type AddDomainsRequest 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 *AddDomainListDto `json:"body,omitempty"` }
AddDomainsRequest Request Object
func (AddDomainsRequest) String ¶ added in v0.1.62
func (o AddDomainsRequest) String() string
type AddDomainsResponse ¶ added in v0.1.62
type AddDomainsResponse struct { Data *DomainSetResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddDomainsResponse Response Object
func (AddDomainsResponse) String ¶ added in v0.1.62
func (o AddDomainsResponse) String() string
type AddLogConfigRequest ¶ added in v0.1.69
type AddLogConfigRequest struct { // 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。 FwInstanceId string `json:"fw_instance_id"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *LogConfigDto `json:"body,omitempty"` }
AddLogConfigRequest Request Object
func (AddLogConfigRequest) String ¶ added in v0.1.69
func (o AddLogConfigRequest) String() string
type AddLogConfigResponse ¶ added in v0.1.69
type AddLogConfigResponse struct { // 添加日志配置返回值 Data *string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddLogConfigResponse Response Object
func (AddLogConfigResponse) String ¶ added in v0.1.69
func (o AddLogConfigResponse) String() 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表示内到外【说明:规则type=0:互联网规则 | 2:nat规则时方向值必填】 Direction *AddRuleAclDtoRulesDirection `json:"direction,omitempty"` Source *RuleAddressDto `json:"source"` Destination *RuleAddressDto `json:"destination"` Service *RuleServiceDto `json:"service"` Tag *TagsVo `json:"tag,omitempty"` }
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 ¶
func (c AddRuleAclDtoRulesAddressType) Value() int32
type AddRuleAclDtoRulesAddressTypeEnum ¶
type AddRuleAclDtoRulesAddressTypeEnum struct { E_0 AddRuleAclDtoRulesAddressType E_1 AddRuleAclDtoRulesAddressType E_2 AddRuleAclDtoRulesAddressType }
func GetAddRuleAclDtoRulesAddressTypeEnum ¶
func GetAddRuleAclDtoRulesAddressTypeEnum() AddRuleAclDtoRulesAddressTypeEnum
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 ¶
func (c AddRuleAclDtoRulesDirection) Value() int32
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 ¶
func (c AddRuleAclDtoRulesLongConnectEnable) Value() int32
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 AddServiceItemsRequest ¶ added in v0.1.62
type AddServiceItemsRequest 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"` }
AddServiceItemsRequest Request Object
func (AddServiceItemsRequest) String ¶ added in v0.1.62
func (o AddServiceItemsRequest) String() string
type AddServiceItemsResponse ¶ added in v0.1.62
type AddServiceItemsResponse struct { Data *ServiceItemIds `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddServiceItemsResponse Response Object
func (AddServiceItemsResponse) String ¶ added in v0.1.62
func (o AddServiceItemsResponse) String() string
type AddServiceItemsUsingPostRequestBody ¶
type AddServiceItemsUsingPostRequestBody struct { // 服务组id SetId string `json:"set_id"` // 添加服务组成员 ServiceItems []AddServiceItemsUsingPostRequestBodyServiceItems `json:"service_items"` }
func (AddServiceItemsUsingPostRequestBody) String ¶
func (o AddServiceItemsUsingPostRequestBody) String() 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 ¶
func (o AddServiceItemsUsingPostRequestBodyServiceItems) String() string
type AddServiceSetRequest ¶ added in v0.1.62
type AddServiceSetRequest 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"` }
AddServiceSetRequest Request Object
func (AddServiceSetRequest) String ¶ added in v0.1.62
func (o AddServiceSetRequest) String() string
type AddServiceSetResponse ¶ added in v0.1.62
type AddServiceSetResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
AddServiceSetResponse Response Object
func (AddServiceSetResponse) String ¶ added in v0.1.62
func (o AddServiceSetResponse) String() 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 ¶
func (o AddServiceSetUsingPostRequestBody) String() string
type AddressGroupVo ¶ added in v0.1.62
type AddressGroupVo struct { // 地址组id SetId *string `json:"set_id,omitempty"` // 地址组名称 Name *string `json:"name,omitempty"` }
func (AddressGroupVo) String ¶ added in v0.1.62
func (o AddressGroupVo) String() string
type AddressItemListResponseDtoData ¶
type AddressItemListResponseDtoData struct { // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 每页显示个数,范围为1-1024 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 ¶
func (o AddressItemListResponseDtoData) String() 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 ¶
func (o AddressItemListResponseDtoDataRecords) String() string
type AddressItems ¶
type AddressItems struct { // 地址组成员id列表 Items *[]IdObject `json:"items,omitempty"` // 覆盖ip列表 CoveredIp *[]CoveredIpvo `json:"covered_ip,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表示自定义地址组,1表示预定义地址组 AddressSetType *int32 `json:"address_set_type,omitempty"` // 地址类型0 ipv4,1 ipv6 AddressType *AddressSetDetailResponseDtoDataAddressType `json:"address_type,omitempty"` }
AddressSetDetailResponseDtoData 查询地址组详情数据
func (AddressSetDetailResponseDtoData) String ¶
func (o AddressSetDetailResponseDtoData) String() string
type AddressSetDetailResponseDtoDataAddressType ¶
type AddressSetDetailResponseDtoDataAddressType struct {
// contains filtered or unexported fields
}
func (AddressSetDetailResponseDtoDataAddressType) MarshalJSON ¶
func (c AddressSetDetailResponseDtoDataAddressType) MarshalJSON() ([]byte, error)
func (*AddressSetDetailResponseDtoDataAddressType) UnmarshalJSON ¶
func (c *AddressSetDetailResponseDtoDataAddressType) UnmarshalJSON(b []byte) error
func (AddressSetDetailResponseDtoDataAddressType) Value ¶
func (c AddressSetDetailResponseDtoDataAddressType) Value() int32
type AddressSetDetailResponseDtoDataAddressTypeEnum ¶
type AddressSetDetailResponseDtoDataAddressTypeEnum struct { E_0 AddressSetDetailResponseDtoDataAddressType E_1 AddressSetDetailResponseDtoDataAddressType }
func GetAddressSetDetailResponseDtoDataAddressTypeEnum ¶
func GetAddressSetDetailResponseDtoDataAddressTypeEnum() AddressSetDetailResponseDtoDataAddressTypeEnum
type AddressSetListResponseDtoData ¶
type AddressSetListResponseDtoData struct { // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 地址组列表 Records *[]AddressSetListResponseDtoDataRecords `json:"records,omitempty"` }
AddressSetListResponseDtoData 查询地址组列表返回数据
func (AddressSetListResponseDtoData) String ¶
func (o AddressSetListResponseDtoData) String() 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"` // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId *string `json:"object_id,omitempty"` // 地址组类型,0表示自定义地址组,1表示预定义地址组 AddressSetType *int32 `json:"address_set_type,omitempty"` }
AddressSetListResponseDtoDataRecords 列表信息
func (AddressSetListResponseDtoDataRecords) String ¶
func (o AddressSetListResponseDtoDataRecords) String() string
type BatchDeleteAclRulesRequest ¶ added in v0.1.62
type BatchDeleteAclRulesRequest 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 *DeleteRuleAclDto `json:"body,omitempty"` }
BatchDeleteAclRulesRequest Request Object
func (BatchDeleteAclRulesRequest) String ¶ added in v0.1.62
func (o BatchDeleteAclRulesRequest) String() string
type BatchDeleteAclRulesResponse ¶ added in v0.1.62
type BatchDeleteAclRulesResponse struct { Data *BatchDeleteAclRulesResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteAclRulesResponse Response Object
func (BatchDeleteAclRulesResponse) String ¶ added in v0.1.62
func (o BatchDeleteAclRulesResponse) String() string
type BatchDeleteAclRulesResponseData ¶ added in v0.1.62
type BatchDeleteAclRulesResponseData struct { // 批量删除规则返回data ResponseDatas *[]BatchDeleteRuleInfo `json:"responseDatas,omitempty"` }
func (BatchDeleteAclRulesResponseData) String ¶ added in v0.1.62
func (o BatchDeleteAclRulesResponseData) String() string
type BatchDeleteAddressItemsRequest ¶ added in v0.1.62
type BatchDeleteAddressItemsRequest 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 *DeleteAddressItemsInfoDto `json:"body,omitempty"` }
BatchDeleteAddressItemsRequest Request Object
func (BatchDeleteAddressItemsRequest) String ¶ added in v0.1.62
func (o BatchDeleteAddressItemsRequest) String() string
type BatchDeleteAddressItemsResponse ¶ added in v0.1.62
type BatchDeleteAddressItemsResponse struct { // 批量删除地址组成员id列表 Data *[]string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteAddressItemsResponse Response Object
func (BatchDeleteAddressItemsResponse) String ¶ added in v0.1.62
func (o BatchDeleteAddressItemsResponse) String() string
type BatchDeleteRuleInfo ¶ added in v0.1.62
type BatchDeleteRuleInfo struct { // acl名称 Name *string `json:"name,omitempty"` // aclId Id *string `json:"id,omitempty"` }
func (BatchDeleteRuleInfo) String ¶ added in v0.1.62
func (o BatchDeleteRuleInfo) String() string
type BatchDeleteServiceItemsRequest ¶ added in v0.1.62
type BatchDeleteServiceItemsRequest 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 *DeleteServiceItemDto `json:"body,omitempty"` }
BatchDeleteServiceItemsRequest Request Object
func (BatchDeleteServiceItemsRequest) String ¶ added in v0.1.62
func (o BatchDeleteServiceItemsRequest) String() string
type BatchDeleteServiceItemsResponse ¶ added in v0.1.62
type BatchDeleteServiceItemsResponse struct { // 批量删除服务组成员id列表 Data *[]string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteServiceItemsResponse Response Object
func (BatchDeleteServiceItemsResponse) String ¶ added in v0.1.62
func (o BatchDeleteServiceItemsResponse) String() string
type BatchUpdateAclRuleActionsRequest ¶ added in v0.1.62
type BatchUpdateAclRuleActionsRequest struct { // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *UpdateSecurityPolciesActionDto `json:"body,omitempty"` }
BatchUpdateAclRuleActionsRequest Request Object
func (BatchUpdateAclRuleActionsRequest) String ¶ added in v0.1.62
func (o BatchUpdateAclRuleActionsRequest) String() string
type BatchUpdateAclRuleActionsResponse ¶ added in v0.1.62
type BatchUpdateAclRuleActionsResponse struct { // 批量更新acl规则id Data *[]string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
BatchUpdateAclRuleActionsResponse Response Object
func (BatchUpdateAclRuleActionsResponse) String ¶ added in v0.1.62
func (o BatchUpdateAclRuleActionsResponse) String() 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"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 查询的总条数 Total *int32 `json:"total,omitempty"` // 黑白名单记录 Records *[]BlackWhiteListResponseDataRecords `json:"records,omitempty"` }
BlackWhiteListResponseData 查询黑白名单返回值
func (BlackWhiteListResponseData) String ¶
func (o BlackWhiteListResponseData) String() 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"` // 描述 Description *string `json:"description,omitempty"` }
BlackWhiteListResponseDataRecords items
func (BlackWhiteListResponseDataRecords) String ¶
func (o BlackWhiteListResponseDataRecords) String() string
type ChangeEastWestFirewallStatusRequest ¶ added in v0.1.62
type ChangeEastWestFirewallStatusRequest 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"` }
ChangeEastWestFirewallStatusRequest Request Object
func (ChangeEastWestFirewallStatusRequest) String ¶ added in v0.1.62
func (o ChangeEastWestFirewallStatusRequest) String() string
type ChangeEastWestFirewallStatusResponse ¶ added in v0.1.62
type ChangeEastWestFirewallStatusResponse struct { Data *SuccessRspData `json:"data,omitempty"` // trace id TraceId *string `json:"trace_id,omitempty"` HttpStatusCode int `json:"-"` }
ChangeEastWestFirewallStatusResponse Response Object
func (ChangeEastWestFirewallStatusResponse) String ¶ added in v0.1.62
func (o ChangeEastWestFirewallStatusResponse) String() string
type ChangeEipStatusRequest ¶ added in v0.1.62
type ChangeEipStatusRequest 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"` }
ChangeEipStatusRequest Request Object
func (ChangeEipStatusRequest) String ¶ added in v0.1.62
func (o ChangeEipStatusRequest) String() string
type ChangeEipStatusResponse ¶ added in v0.1.62
type ChangeEipStatusResponse struct { Data *EipSwitchStatusVo `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ChangeEipStatusResponse Response Object
func (ChangeEipStatusResponse) String ¶ added in v0.1.62
func (o ChangeEipStatusResponse) String() string
type ChangeIpsProtectModeRequest ¶ added in v0.1.62
type ChangeIpsProtectModeRequest 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"` }
ChangeIpsProtectModeRequest Request Object
func (ChangeIpsProtectModeRequest) String ¶ added in v0.1.62
func (o ChangeIpsProtectModeRequest) String() string
type ChangeIpsProtectModeResponse ¶ added in v0.1.62
type ChangeIpsProtectModeResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ChangeIpsProtectModeResponse Response Object
func (ChangeIpsProtectModeResponse) String ¶ added in v0.1.62
func (o ChangeIpsProtectModeResponse) String() string
type ChangeIpsSwitchStatusRequest ¶ added in v0.1.62
type ChangeIpsSwitchStatusRequest 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"` // 语言头部,默认为zh-cn,如需使用英文,请选择en-us XLanguage *string `json:"X-Language,omitempty"` Body *IpsSwitchDto `json:"body,omitempty"` }
ChangeIpsSwitchStatusRequest Request Object
func (ChangeIpsSwitchStatusRequest) String ¶ added in v0.1.62
func (o ChangeIpsSwitchStatusRequest) String() string
type ChangeIpsSwitchStatusResponse ¶ added in v0.1.62
type ChangeIpsSwitchStatusResponse struct { // trace_id TraceId *string `json:"trace_id,omitempty"` Data *CommonResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ChangeIpsSwitchStatusResponse Response Object
func (ChangeIpsSwitchStatusResponse) String ¶ added in v0.1.62
func (o ChangeIpsSwitchStatusResponse) 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 ¶
func (o ChangeProtectStatusRequestBody) String() 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 ¶
func (c ChangeProtectStatusRequestBodyStatus) Value() int32
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 ¶
func (o ClearAccessLogRuleHitCountsDto) String() string
type CommonResponseDtoData ¶
type CommonResponseDtoData struct { // 防护对象id Id *string `json:"id,omitempty"` }
CommonResponseDtoData object
func (CommonResponseDtoData) String ¶
func (o CommonResponseDtoData) String() string
type CoveredIpvo ¶ added in v0.1.62
type CoveredIpvo struct { // ip地址 Ip *string `json:"ip,omitempty"` // 覆盖ip地址。 CoveredIp *string `json:"covered_Ip,omitempty"` }
func (CoveredIpvo) String ¶ added in v0.1.62
func (o CoveredIpvo) String() string
type CreateEastWestFirewallRequest ¶ added in v0.1.69
type CreateEastWestFirewallRequest 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"` Body *CreateEastWestFirewallRequestBody `json:"body,omitempty"` }
CreateEastWestFirewallRequest Request Object
func (CreateEastWestFirewallRequest) String ¶ added in v0.1.69
func (o CreateEastWestFirewallRequest) String() string
type CreateEastWestFirewallRequestBody ¶ added in v0.1.69
type CreateEastWestFirewallRequestBody struct { // 出方向关联ER实例id ErId *string `json:"er_id,omitempty"` // inspection cidr InspectionCidr string `json:"inspection_cidr"` // 东西向防火墙模式,填写er Mode string `json:"mode"` }
CreateEastWestFirewallRequestBody 创建东西向防火墙body体
func (CreateEastWestFirewallRequestBody) String ¶ added in v0.1.69
func (o CreateEastWestFirewallRequestBody) String() string
type CreateEastWestFirewallResponse ¶ added in v0.1.69
type CreateEastWestFirewallResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
CreateEastWestFirewallResponse Response Object
func (CreateEastWestFirewallResponse) String ¶ added in v0.1.69
func (o CreateEastWestFirewallResponse) String() string
type CreateFirewallReq ¶ added in v0.1.72
type CreateFirewallReq struct { // 防火墙名称 Name string `json:"name"` // 企业项目ID,租户未开启企业项目时传0 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 资源标签 Tags *[]CreateFirewallReqTags `json:"tags,omitempty"` Flavor *CreateFirewallReqFlavor `json:"flavor,omitempty"` ChargeInfo *CreateFirewallReqChargeInfo `json:"charge_info"` }
CreateFirewallReq 按需防火墙实体
func (CreateFirewallReq) String ¶ added in v0.1.72
func (o CreateFirewallReq) String() string
type CreateFirewallReqChargeInfo ¶ added in v0.1.72
type CreateFirewallReqChargeInfo struct { // 计费模式。 取值范围: prePaid:预付费,即包年/包月。 postPaid:后付费,即按需付费。 ChargeMode string `json:"charge_mode"` // 订购周期类型。 取值范围: month:包月。 year:包年。 说明:“charge_mode”为“prePaid”时生效,且为必选值。 PeriodType *string `json:"period_type,omitempty"` // “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。 取值范围: 当“period_type”为“month”时,取值为1~9。 当“period_type”为“year”时,取值为1~3。 PeriodNum *int32 `json:"period_num,omitempty"` // 创建包周期实例时可指定,表示是否自动续订,续订的周期和原周期相同,且续订时会自动支付。 true,为自动续订。 false,为不自动续订,默认该方式。 IsAutoRenew bool `json:"is_auto_renew"` // 创建包周期时可指定,表示是否自动从客户的账户中支付,此字段不影响自动续订的支付方式。 true,为自动支付。(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券) false,为手动支付,默认该方式。(需要客户手动去支付,客户可以选择折扣和优惠券) IsAutoPay bool `json:"is_auto_pay"` }
CreateFirewallReqChargeInfo 计费类型信息,支持包年/包月和按需,默认为按需。
func (CreateFirewallReqChargeInfo) String ¶ added in v0.1.72
func (o CreateFirewallReqChargeInfo) String() string
type CreateFirewallReqFlavor ¶ added in v0.1.72
type CreateFirewallReqFlavor struct { // 防火墙版本 “charge_mode”为“prePaid”时,仅支持专业版。 “charge_mode”为“postPaid”时,支持标准版、专业版。 Standard - 标准版 Professional - 专业版 Version *CreateFirewallReqFlavorVersion `json:"version,omitempty"` // 扩展EIP数量,仅包周期场景下生效 ExtendEipCount *int32 `json:"extend_eip_count,omitempty"` // 扩展带宽,步长为5,仅包周期场景下生效 ExtendBandwidth *int32 `json:"extend_bandwidth,omitempty"` // 扩展VPC数量,仅包周期场景下生效 ExtendVpcCount *int32 `json:"extend_vpc_count,omitempty"` }
CreateFirewallReqFlavor 规格信息
func (CreateFirewallReqFlavor) String ¶ added in v0.1.72
func (o CreateFirewallReqFlavor) String() string
type CreateFirewallReqFlavorVersion ¶ added in v0.1.72
type CreateFirewallReqFlavorVersion struct {
// contains filtered or unexported fields
}
func (CreateFirewallReqFlavorVersion) MarshalJSON ¶ added in v0.1.72
func (c CreateFirewallReqFlavorVersion) MarshalJSON() ([]byte, error)
func (*CreateFirewallReqFlavorVersion) UnmarshalJSON ¶ added in v0.1.72
func (c *CreateFirewallReqFlavorVersion) UnmarshalJSON(b []byte) error
func (CreateFirewallReqFlavorVersion) Value ¶ added in v0.1.72
func (c CreateFirewallReqFlavorVersion) Value() string
type CreateFirewallReqFlavorVersionEnum ¶ added in v0.1.72
type CreateFirewallReqFlavorVersionEnum struct { STANDARD CreateFirewallReqFlavorVersion PROFESSIONAL CreateFirewallReqFlavorVersion }
func GetCreateFirewallReqFlavorVersionEnum ¶ added in v0.1.72
func GetCreateFirewallReqFlavorVersionEnum() CreateFirewallReqFlavorVersionEnum
type CreateFirewallReqTags ¶ added in v0.1.72
type CreateFirewallReqTags struct { // 标签KEY Key string `json:"key"` // 标签VALUE Value string `json:"value"` }
func (CreateFirewallReqTags) String ¶ added in v0.1.72
func (o CreateFirewallReqTags) String() string
type CreateFirewallRequest ¶ added in v0.1.72
type CreateFirewallRequest struct { // 保证客户端请求幂等性的标识。 该标识为32位UUID格式,由客户端生成,且需确保不同请求之间该标识具有唯一性。 XClientToken *string `json:"X-Client-Token,omitempty"` XTraceId *string `json:"X-Trace-Id,omitempty"` Body *CreateFirewallReq `json:"body,omitempty"` }
CreateFirewallRequest Request Object
func (CreateFirewallRequest) String ¶ added in v0.1.72
func (o CreateFirewallRequest) String() string
type CreateFirewallResponse ¶ added in v0.1.72
type CreateFirewallResponse struct { // 实例创建的任务id。 仅创建按需实例时会返回该参数。 JobId *string `json:"job_id,omitempty"` // 订单号,创建包年包月时返回该参数。 OrderId *string `json:"order_id,omitempty"` Data *CreateFirewallReq `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
CreateFirewallResponse Response Object
func (CreateFirewallResponse) String ¶ added in v0.1.72
func (o CreateFirewallResponse) String() string
type DeleteAclRuleHitCountRequest ¶ added in v0.1.62
type DeleteAclRuleHitCountRequest 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"` }
DeleteAclRuleHitCountRequest Request Object
func (DeleteAclRuleHitCountRequest) String ¶ added in v0.1.62
func (o DeleteAclRuleHitCountRequest) String() string
type DeleteAclRuleHitCountResponse ¶ added in v0.1.62
type DeleteAclRuleHitCountResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAclRuleHitCountResponse Response Object
func (DeleteAclRuleHitCountResponse) String ¶ added in v0.1.62
func (o DeleteAclRuleHitCountResponse) String() string
type DeleteAclRuleRequest ¶ added in v0.1.62
type DeleteAclRuleRequest 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"` }
DeleteAclRuleRequest Request Object
func (DeleteAclRuleRequest) String ¶ added in v0.1.62
func (o DeleteAclRuleRequest) String() string
type DeleteAclRuleResponse ¶ added in v0.1.62
type DeleteAclRuleResponse struct { Data *RuleId `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAclRuleResponse Response Object
func (DeleteAclRuleResponse) String ¶ added in v0.1.62
func (o DeleteAclRuleResponse) String() string
type DeleteAddressItemRequest ¶ added in v0.1.62
type DeleteAddressItemRequest 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"` }
DeleteAddressItemRequest Request Object
func (DeleteAddressItemRequest) String ¶ added in v0.1.62
func (o DeleteAddressItemRequest) String() string
type DeleteAddressItemResponse ¶ added in v0.1.62
type DeleteAddressItemResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAddressItemResponse Response Object
func (DeleteAddressItemResponse) String ¶ added in v0.1.62
func (o DeleteAddressItemResponse) String() string
type DeleteAddressItemsInfoDto ¶ added in v0.1.62
type DeleteAddressItemsInfoDto struct { // 地址组id SetId string `json:"set_id"` // 地址组成员id列表 AddressItemIds []string `json:"address_item_ids"` }
func (DeleteAddressItemsInfoDto) String ¶ added in v0.1.62
func (o DeleteAddressItemsInfoDto) String() string
type DeleteAddressSetRequest ¶ added in v0.1.62
type DeleteAddressSetRequest 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"` }
DeleteAddressSetRequest Request Object
func (DeleteAddressSetRequest) String ¶ added in v0.1.62
func (o DeleteAddressSetRequest) String() string
type DeleteAddressSetResponse ¶ added in v0.1.62
type DeleteAddressSetResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAddressSetResponse Response Object
func (DeleteAddressSetResponse) String ¶ added in v0.1.62
func (o DeleteAddressSetResponse) String() string
type DeleteBlackWhiteListRequest ¶ added in v0.1.62
type DeleteBlackWhiteListRequest 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"` }
DeleteBlackWhiteListRequest Request Object
func (DeleteBlackWhiteListRequest) String ¶ added in v0.1.62
func (o DeleteBlackWhiteListRequest) String() string
type DeleteBlackWhiteListResponse ¶ added in v0.1.62
type DeleteBlackWhiteListResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteBlackWhiteListResponse Response Object
func (DeleteBlackWhiteListResponse) String ¶ added in v0.1.62
func (o DeleteBlackWhiteListResponse) String() string
type DeleteDomainDto ¶ added in v0.1.62
type DeleteDomainDto struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 域名地址组 DomainAddressIds []string `json:"domain_address_ids"` }
func (DeleteDomainDto) String ¶ added in v0.1.62
func (o DeleteDomainDto) String() string
type DeleteDomainSetRequest ¶ added in v0.1.62
type DeleteDomainSetRequest 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"` }
DeleteDomainSetRequest Request Object
func (DeleteDomainSetRequest) String ¶ added in v0.1.62
func (o DeleteDomainSetRequest) String() string
type DeleteDomainSetResponse ¶ added in v0.1.62
type DeleteDomainSetResponse struct { Data *DomainSetResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDomainSetResponse Response Object
func (DeleteDomainSetResponse) String ¶ added in v0.1.62
func (o DeleteDomainSetResponse) String() string
type DeleteDomainsRequest ¶ added in v0.1.62
type DeleteDomainsRequest struct { // 域名组id SetId string `json:"set_id"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *DeleteDomainDto `json:"body,omitempty"` }
DeleteDomainsRequest Request Object
func (DeleteDomainsRequest) String ¶ added in v0.1.62
func (o DeleteDomainsRequest) String() string
type DeleteDomainsResponse ¶ added in v0.1.62
type DeleteDomainsResponse struct { Data *DomainSetResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDomainsResponse Response Object
func (DeleteDomainsResponse) String ¶ added in v0.1.62
func (o DeleteDomainsResponse) String() string
type DeleteFirewallRequest ¶ added in v0.1.72
type DeleteFirewallRequest struct { // 资源id ResourceId string `json:"resource_id"` }
DeleteFirewallRequest Request Object
func (DeleteFirewallRequest) String ¶ added in v0.1.72
func (o DeleteFirewallRequest) String() string
type DeleteFirewallResponse ¶ added in v0.1.72
type DeleteFirewallResponse struct { // 删除防火墙返回data Data *string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteFirewallResponse Response Object
func (DeleteFirewallResponse) String ¶ added in v0.1.72
func (o DeleteFirewallResponse) String() string
type DeleteRuleAclDto ¶ added in v0.1.62
type DeleteRuleAclDto struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 规则ID列表 RuleIds []string `json:"rule_ids"` }
func (DeleteRuleAclDto) String ¶ added in v0.1.62
func (o DeleteRuleAclDto) String() string
type DeleteServiceItemDto ¶ added in v0.1.62
type DeleteServiceItemDto struct { // 服务组id SetId string `json:"set_id"` // 服务组成员id列表 ServiceItemIds []string `json:"service_item_ids"` }
func (DeleteServiceItemDto) String ¶ added in v0.1.62
func (o DeleteServiceItemDto) String() string
type DeleteServiceItemRequest ¶ added in v0.1.62
type DeleteServiceItemRequest 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"` }
DeleteServiceItemRequest Request Object
func (DeleteServiceItemRequest) String ¶ added in v0.1.62
func (o DeleteServiceItemRequest) String() string
type DeleteServiceItemResponse ¶ added in v0.1.62
type DeleteServiceItemResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteServiceItemResponse Response Object
func (DeleteServiceItemResponse) String ¶ added in v0.1.62
func (o DeleteServiceItemResponse) String() string
type DeleteServiceSetRequest ¶ added in v0.1.62
type DeleteServiceSetRequest 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"` }
DeleteServiceSetRequest Request Object
func (DeleteServiceSetRequest) String ¶ added in v0.1.62
func (o DeleteServiceSetRequest) String() string
type DeleteServiceSetResponse ¶ added in v0.1.62
type DeleteServiceSetResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
DeleteServiceSetResponse Response Object
func (DeleteServiceSetResponse) String ¶ added in v0.1.62
func (o DeleteServiceSetResponse) String() 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"` // 健康检查域名 HealthCheckDomainName *string `json:"health_check_domain_name,omitempty"` }
func (DnsServersResponseDto) String ¶
func (o DnsServersResponseDto) String() string
type DomainInfo ¶ added in v0.1.62
type DomainInfo struct { // 域名地址id DomainAddressId *string `json:"domain_address_id,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 域名服务器列表 DnsIps *[]string `json:"dns_ips,omitempty"` }
func (DomainInfo) String ¶ added in v0.1.62
func (o DomainInfo) String() string
type DomainSetInfoDto ¶ added in v0.1.62
type DomainSetInfoDto struct { // 域名 DomainName *string `json:"domain_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` }
func (DomainSetInfoDto) String ¶ added in v0.1.62
func (o DomainSetInfoDto) String() string
type DomainSetResponseData ¶ added in v0.1.62
type DomainSetResponseData struct { // 域名组id Id *string `json:"id,omitempty"` // 域名组名称 Name *string `json:"name,omitempty"` }
func (DomainSetResponseData) String ¶ added in v0.1.62
func (o DomainSetResponseData) String() string
type DomainSetVo ¶ added in v0.1.62
type DomainSetVo struct { // 域名组id SetId *string `json:"set_id,omitempty"` // 域名组名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 引用次数 RefCount *int32 `json:"ref_count,omitempty"` // 域名组类型,0表示URL过滤,1表示地址解析 DomainSetType *int32 `json:"domain_set_type,omitempty"` // 配置状态 ConfigStatus *int32 `json:"config_status,omitempty"` // 异常信息 Message *string `json:"message,omitempty"` }
func (DomainSetVo) String ¶ added in v0.1.62
func (o DomainSetVo) String() string
type EipCountRespData ¶ added in v0.1.14
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"` // 该当前防火墙防护EIP数量 EipProtectedSelf *int32 `json:"eip_protected_self,omitempty"` }
EipCountRespData EIP 数量查询反馈
func (EipCountRespData) String ¶ added in v0.1.14
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 ¶
func (o EipOperateProtectReqIpInfos) String() string
type EipResource ¶ added in v0.1.14
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"` // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId *string `json:"object_id,omitempty"` // 标签列表 Tags *string `json:"tags,omitempty"` // EIP所属用户 DomainId *string `json:"domain_id,omitempty"` // 所属用户的名称 Owner *string `json:"owner,omitempty"` // 防火墙所属用户 FwDomainId *string `json:"fw_domain_id,omitempty"` }
EipResource EIP资源防护信息
func (EipResource) String ¶ added in v0.1.14
func (o EipResource) String() string
type EipResourceStatus ¶ added in v0.1.14
type EipResourceStatus struct {
// contains filtered or unexported fields
}
func (EipResourceStatus) MarshalJSON ¶ added in v0.1.14
func (c EipResourceStatus) MarshalJSON() ([]byte, error)
func (*EipResourceStatus) UnmarshalJSON ¶ added in v0.1.14
func (c *EipResourceStatus) UnmarshalJSON(b []byte) error
func (EipResourceStatus) Value ¶ added in v0.1.14
func (c EipResourceStatus) Value() int32
type EipResourceStatusEnum ¶ added in v0.1.14
type EipResourceStatusEnum struct { E_0 EipResourceStatus E_1 EipResourceStatus }
func GetEipResourceStatusEnum ¶ added in v0.1.14
func GetEipResourceStatusEnum() EipResourceStatusEnum
type EipResponseData ¶ added in v0.1.14
type EipResponseData struct { // 每页显示个数,范围为1-1024 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 ¶ added in v0.1.14
func (o EipResponseData) String() string
type EipSwitchStatusVo ¶ added in v0.1.62
type EipSwitchStatusVo struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId *string `json:"object_id,omitempty"` // 修改eip防护状态失败列表。 FailEipIdList *[]string `json:"fail_eip_id_list,omitempty"` // ID Id *string `json:"id,omitempty"` }
func (EipSwitchStatusVo) String ¶ added in v0.1.62
func (o EipSwitchStatusVo) 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 ErrorRsp ¶ added in v0.1.72
type ErrorRsp struct { // 错误码 ErrorCode string `json:"error_code"` // 错误描述 ErrorMsg string `json:"error_msg"` }
ErrorRsp 失败时返回的错误对象
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"` // 防护资源模式 ProtectedResourceMode *string `json:"protected_resource_mode,omitempty"` // 防护VPC的防护状态,0表示已关联,1表示未关联。 Status *int32 `json:"status,omitempty"` }
EwProtectResourceInfo 东西向防护的资源信息,例如VPC、VGW等
func (EwProtectResourceInfo) String ¶
func (o EwProtectResourceInfo) String() string
type FirewallInstanceResource ¶ added in v0.1.15
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 ¶ added in v0.1.15
func (o FirewallInstanceResource) String() string
type FirewallInstanceVo ¶ added in v0.1.62
type FirewallInstanceVo struct { // 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。 FwInstanceId *string `json:"fw_instance_id,omitempty"` // 资源id ResourceId *string `json:"resource_id,omitempty"` // 防火墙创建时间戳 Name *string `json:"name,omitempty"` // 防火墙名称 FwInstanceName *string `json:"fw_instance_name,omitempty"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,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"` // 防火墙状态列表,包括-1:等待支付,0:创建中,1,删除中,2:运行中,3:升级中,4:删除完成:5:冻结中,6:创建失败,7:删除失败,8:冻结失败,9:存储中,10:存储失败,11:升级失败 Status *int32 `json:"status,omitempty"` }
func (FirewallInstanceVo) String ¶ added in v0.1.62
func (o FirewallInstanceVo) String() string
type Flavor ¶
type Flavor struct { // 防火墙版本,0:标准版,1:专业版,2:铂金版,3:基础版,购买时,当防火墙“charge_mode”为“postPaid”时,仅支持专业版。“charge_mode”为“prePaid”时,支持标准版、专业版。 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"` // 目前的会话数 SessionConcurrent *int32 `json:"session_concurrent,omitempty"` // 创建会话数 SessionCreate *int32 `json:"session_create,omitempty"` // 总计规则数 TotalRuleCount *int32 `json:"total_rule_count,omitempty"` // 已使用规则数 UsedRuleCount *int32 `json:"used_rule_count,omitempty"` // vpc间带宽 VpcBandwith *int32 `json:"vpc_bandwith,omitempty"` }
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"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 防护模式 Mode *string `json:"mode,omitempty"` // 东西向路由限制 EwVpcRouteLimit *int32 `json:"ew_vpc_route_limit,omitempty"` }
GetEastWestFirewallResponseBody 查询东西向防火墙接口响应Body体
func (GetEastWestFirewallResponseBody) String ¶
func (o GetEastWestFirewallResponseBody) String() string
type GetFirewallInstanceData ¶ added in v0.1.15
type GetFirewallInstanceData struct { // 每页显示个数,范围为1-1024 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 ¶ added in v0.1.15
func (o GetFirewallInstanceData) String() string
type GetFirewallInstanceResponseRecord ¶ added in v0.1.15
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"` // 是否支持obs IsAvailableObs *bool `json:"is_available_obs,omitempty"` // 是否支持威胁标签 IsSupportThreatTags *bool `json:"is_support_threat_tags,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"` // 资源id ResourceId *string `json:"resource_id,omitempty"` // 是否支持url过滤,true表示是,false表示不是 SupportUrlFiltering *bool `json:"support_url_filtering,omitempty"` }
func (GetFirewallInstanceResponseRecord) String ¶ added in v0.1.15
func (o GetFirewallInstanceResponseRecord) String() string
type GetFirewallInstanceResponseRecordStatus ¶ added in v0.1.15
type GetFirewallInstanceResponseRecordStatus struct {
// contains filtered or unexported fields
}
func (GetFirewallInstanceResponseRecordStatus) MarshalJSON ¶ added in v0.1.15
func (c GetFirewallInstanceResponseRecordStatus) MarshalJSON() ([]byte, error)
func (*GetFirewallInstanceResponseRecordStatus) UnmarshalJSON ¶ added in v0.1.15
func (c *GetFirewallInstanceResponseRecordStatus) UnmarshalJSON(b []byte) error
func (GetFirewallInstanceResponseRecordStatus) Value ¶ added in v0.1.15
func (c GetFirewallInstanceResponseRecordStatus) Value() int32
type GetFirewallInstanceResponseRecordStatusEnum ¶ added in v0.1.15
type GetFirewallInstanceResponseRecordStatusEnum struct { E_MINUS_1 GetFirewallInstanceResponseRecordStatus E_0 GetFirewallInstanceResponseRecordStatus E_1 GetFirewallInstanceResponseRecordStatus E_2 GetFirewallInstanceResponseRecordStatus E_3 GetFirewallInstanceResponseRecordStatus E_4 GetFirewallInstanceResponseRecordStatus E_5 GetFirewallInstanceResponseRecordStatus E_6 GetFirewallInstanceResponseRecordStatus E_7 GetFirewallInstanceResponseRecordStatus E_8 GetFirewallInstanceResponseRecordStatus E_9 GetFirewallInstanceResponseRecordStatus E_10 GetFirewallInstanceResponseRecordStatus E_11 GetFirewallInstanceResponseRecordStatus }
func GetGetFirewallInstanceResponseRecordStatusEnum ¶ added in v0.1.15
func GetGetFirewallInstanceResponseRecordStatusEnum() GetFirewallInstanceResponseRecordStatusEnum
type HttpFirewallInstanceListResponseData ¶ added in v0.1.62
type HttpFirewallInstanceListResponseData struct { // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 租户项目ID ProjectId *string `json:"project_id,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 查询防火墙列表记录 Records *[]FirewallInstanceVo `json:"records,omitempty"` }
func (HttpFirewallInstanceListResponseData) String ¶ added in v0.1.62
func (o HttpFirewallInstanceListResponseData) String() string
type HttpGetAclTagResponseData ¶ added in v0.1.62
type HttpGetAclTagResponseData struct { // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 标签列表 Records *[]TagsVo `json:"records,omitempty"` }
func (HttpGetAclTagResponseData) String ¶ added in v0.1.62
func (o HttpGetAclTagResponseData) String() string
type HttpQueryCfwAccessControllerLogsResponseDtoData ¶
type HttpQueryCfwAccessControllerLogsResponseDtoData struct { // 返回数量 Total *int32 `json:"total,omitempty"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 记录 Records *[]HttpQueryCfwAccessControllerLogsResponseDtoDataRecords `json:"records,omitempty"` }
HttpQueryCfwAccessControllerLogsResponseDtoData 查询访问控制日志返回数据
func (HttpQueryCfwAccessControllerLogsResponseDtoData) String ¶
func (o HttpQueryCfwAccessControllerLogsResponseDtoData) String() 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 *int64 `json:"hit_time,omitempty"` // 源区域id SrcRegionId *string `json:"src_region_id,omitempty"` // 源区域name SrcRegionName *string `json:"src_region_name,omitempty"` // 目的区域id DstRegionId *string `json:"dst_region_id,omitempty"` // 目的区域name DstRegionName *string `json:"dst_region_name,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"` // 协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空 Protocol *string `json:"protocol,omitempty"` // 应用协议 App *string `json:"app,omitempty"` // 目标主机 DstHost *string `json:"dst_host,omitempty"` }
func (HttpQueryCfwAccessControllerLogsResponseDtoDataRecords) String ¶
func (o HttpQueryCfwAccessControllerLogsResponseDtoDataRecords) String() string
type HttpQueryCfwAttackLogsResponseDtoData ¶
type HttpQueryCfwAttackLogsResponseDtoData struct { // 返回数量 Total *int32 `json:"total,omitempty"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 记录 Records *[]HttpQueryCfwAttackLogsResponseDtoDataRecords `json:"records,omitempty"` }
HttpQueryCfwAttackLogsResponseDtoData 查询攻击日志返回值
func (HttpQueryCfwAttackLogsResponseDtoData) String ¶
func (o HttpQueryCfwAttackLogsResponseDtoData) String() string
type HttpQueryCfwAttackLogsResponseDtoDataRecords ¶
type HttpQueryCfwAttackLogsResponseDtoDataRecords struct { // 方向,有内到外和外到内两种 Direction *HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection `json:"direction,omitempty"` // 动作 Action *string `json:"action,omitempty"` // 事件时间 EventTime *int64 `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 *string `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 *string `json:"packet,omitempty"` // 应用协议 App *string `json:"app,omitempty"` // 攻击报文信息 PacketMessages *[]PacketMessage `json:"packetMessages,omitempty"` // 目标主机 DstHost *string `json:"dst_host,omitempty"` // 源区域id SrcRegionId *string `json:"src_region_id,omitempty"` // 源区域名称 SrcRegionName *string `json:"src_region_name,omitempty"` // 目的区域id DstRegionId *string `json:"dst_region_id,omitempty"` // 目的区域名称 DstRegionName *string `json:"dst_region_name,omitempty"` }
func (HttpQueryCfwAttackLogsResponseDtoDataRecords) String ¶
func (o HttpQueryCfwAttackLogsResponseDtoDataRecords) String() string
type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection ¶
type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection struct {
// contains filtered or unexported fields
}
func (HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) MarshalJSON ¶
func (c HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) MarshalJSON() ([]byte, error)
func (*HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) UnmarshalJSON ¶
func (c *HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) UnmarshalJSON(b []byte) error
func (HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) Value ¶
func (c HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection) Value() string
type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirectionEnum ¶
type HttpQueryCfwAttackLogsResponseDtoDataRecordsDirectionEnum struct { OUT2IN HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection IN2OUT HttpQueryCfwAttackLogsResponseDtoDataRecordsDirection }
func GetHttpQueryCfwAttackLogsResponseDtoDataRecordsDirectionEnum ¶
func GetHttpQueryCfwAttackLogsResponseDtoDataRecordsDirectionEnum() HttpQueryCfwAttackLogsResponseDtoDataRecordsDirectionEnum
type HttpQueryCfwFlowLogsResponseDtoData ¶
type HttpQueryCfwFlowLogsResponseDtoData struct { // 返回数量 Total *int32 `json:"total,omitempty"` // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 记录 Records *[]HttpQueryCfwFlowLogsResponseDtoDataRecords `json:"records,omitempty"` }
HttpQueryCfwFlowLogsResponseDtoData 查询流日志返回值
func (HttpQueryCfwFlowLogsResponseDtoData) String ¶
func (o HttpQueryCfwFlowLogsResponseDtoData) String() string
type HttpQueryCfwFlowLogsResponseDtoDataRecords ¶
type HttpQueryCfwFlowLogsResponseDtoDataRecords struct { // 字节 Bytes *float64 `json:"bytes,omitempty"` // 方向,有内到外和外到内两种 Direction *HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection `json:"direction,omitempty"` // 包 Packets *int32 `json:"packets,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_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"` // 应用协议 App *string `json:"app,omitempty"` // 目的端口 DstPort *int32 `json:"dst_port,omitempty"` // 协议类型:TCP为6,UDP为17,ICMP为1,ICMPV6为58,ANY为-1,手动类型不为空,自动类型为空 Protocol *string `json:"protocol,omitempty"` // 目标主机 DstHost *string `json:"dst_host,omitempty"` }
func (HttpQueryCfwFlowLogsResponseDtoDataRecords) String ¶
func (o HttpQueryCfwFlowLogsResponseDtoDataRecords) String() string
type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection ¶
type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection struct {
// contains filtered or unexported fields
}
func (HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) MarshalJSON ¶
func (c HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) MarshalJSON() ([]byte, error)
func (*HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) UnmarshalJSON ¶
func (c *HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) UnmarshalJSON(b []byte) error
func (HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) Value ¶
func (c HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection) Value() string
type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirectionEnum ¶
type HttpQueryCfwFlowLogsResponseDtoDataRecordsDirectionEnum struct { OUT2IN HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection IN2OUT HttpQueryCfwFlowLogsResponseDtoDataRecordsDirection }
func GetHttpQueryCfwFlowLogsResponseDtoDataRecordsDirectionEnum ¶
func GetHttpQueryCfwFlowLogsResponseDtoDataRecordsDirectionEnum() HttpQueryCfwFlowLogsResponseDtoDataRecordsDirectionEnum
type IdObject ¶
type IpRegionDto ¶ added in v0.1.62
type IpRegionDto struct { // 区域id RegionId *string `json:"region_id,omitempty"` // 中文描述 DescriptionCn *string `json:"description_cn,omitempty"` // 英文描述 DescriptionEn *string `json:"description_en,omitempty"` // 区域类型,0表示国家,1表示省份,2表示大洲 RegionType *int32 `json:"region_type,omitempty"` }
func (IpRegionDto) String ¶ added in v0.1.62
func (o IpRegionDto) 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 ¶ added in v0.1.38
type IpsProtectModeObject struct { // ips防护模式id Id *string `json:"id,omitempty"` // ips防护模式,0:观察模式,1:严格模式,2:中等模式,3:宽松模式 Mode *int32 `json:"mode,omitempty"` }
func (IpsProtectModeObject) String ¶ added in v0.1.38
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"` // 补丁类型,仅支持虚拟补丁,值为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 ¶ added in v0.1.14
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 ¶ added in v0.1.14
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"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 日志类型 LogType *ListAccessControlLogsRequestLogType `json:"log_type,omitempty"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 目标主机 DstHost *string `json:"dst_host,omitempty"` // 规则名称 RuleName *string `json:"rule_name,omitempty"` // 动作0:permit,1:deny Action *string `json:"action,omitempty"` }
ListAccessControlLogsRequest Request Object
func (ListAccessControlLogsRequest) String ¶
func (o ListAccessControlLogsRequest) String() 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 ¶
func (c ListAccessControlLogsRequestLogType) Value() string
type ListAccessControlLogsRequestLogTypeEnum ¶
type ListAccessControlLogsRequestLogTypeEnum struct { INTERNET ListAccessControlLogsRequestLogType NAT ListAccessControlLogsRequestLogType VPC ListAccessControlLogsRequestLogType }
func GetListAccessControlLogsRequestLogTypeEnum ¶
func GetListAccessControlLogsRequestLogTypeEnum() ListAccessControlLogsRequestLogTypeEnum
type ListAccessControlLogsResponse ¶
type ListAccessControlLogsResponse struct { Data *HttpQueryCfwAccessControllerLogsResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListAccessControlLogsResponse Response Object
func (ListAccessControlLogsResponse) String ¶
func (o ListAccessControlLogsResponse) String() string
type ListAclRuleHitCountRequest ¶ added in v0.1.62
type ListAclRuleHitCountRequest 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"` }
ListAclRuleHitCountRequest Request Object
func (ListAclRuleHitCountRequest) String ¶ added in v0.1.62
func (o ListAclRuleHitCountRequest) String() string
type ListAclRuleHitCountResponse ¶ added in v0.1.62
type ListAclRuleHitCountResponse struct { Data *RuleHitCountRecords `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListAclRuleHitCountResponse Response Object
func (ListAclRuleHitCountResponse) String ¶ added in v0.1.62
func (o ListAclRuleHitCountResponse) String() string
type ListAclRulesRequest ¶ added in v0.1.62
type ListAclRulesRequest struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 规则Type0:互联网规则,1:vpc规则, 2:nat规则 Type *ListAclRulesRequestType `json:"type,omitempty"` // 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1 Protocol *ListAclRulesRequestProtocol `json:"protocol,omitempty"` // ip地址 Ip *string `json:"ip,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 方向0:外到内1:内到外 Direction *int32 `json:"direction,omitempty"` // 规则下发状态 0:禁用,1:启用 Status *ListAclRulesRequestStatus `json:"status,omitempty"` // 动作0:permit,1:deny ActionType *ListAclRulesRequestActionType `json:"action_type,omitempty"` // 地址类型0 ipv4,1 ipv6,2 domain AddressType *ListAclRulesRequestAddressType `json:"address_type,omitempty"` // 每页显示个数,范围为1-1024 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"` // 标签id TagsId *string `json:"tags_id,omitempty"` // 源地址 Source *string `json:"source,omitempty"` // 目的地址 Destination *string `json:"destination,omitempty"` // 服务端口 Service *string `json:"service,omitempty"` }
ListAclRulesRequest Request Object
func (ListAclRulesRequest) String ¶ added in v0.1.62
func (o ListAclRulesRequest) String() string
type ListAclRulesRequestActionType ¶ added in v0.1.62
type ListAclRulesRequestActionType struct {
// contains filtered or unexported fields
}
func (ListAclRulesRequestActionType) MarshalJSON ¶ added in v0.1.62
func (c ListAclRulesRequestActionType) MarshalJSON() ([]byte, error)
func (*ListAclRulesRequestActionType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAclRulesRequestActionType) UnmarshalJSON(b []byte) error
func (ListAclRulesRequestActionType) Value ¶ added in v0.1.62
func (c ListAclRulesRequestActionType) Value() int32
type ListAclRulesRequestActionTypeEnum ¶ added in v0.1.62
type ListAclRulesRequestActionTypeEnum struct { E_0 ListAclRulesRequestActionType E_1 ListAclRulesRequestActionType }
func GetListAclRulesRequestActionTypeEnum ¶ added in v0.1.62
func GetListAclRulesRequestActionTypeEnum() ListAclRulesRequestActionTypeEnum
type ListAclRulesRequestAddressType ¶ added in v0.1.62
type ListAclRulesRequestAddressType struct {
// contains filtered or unexported fields
}
func (ListAclRulesRequestAddressType) MarshalJSON ¶ added in v0.1.62
func (c ListAclRulesRequestAddressType) MarshalJSON() ([]byte, error)
func (*ListAclRulesRequestAddressType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAclRulesRequestAddressType) UnmarshalJSON(b []byte) error
func (ListAclRulesRequestAddressType) Value ¶ added in v0.1.62
func (c ListAclRulesRequestAddressType) Value() int32
type ListAclRulesRequestAddressTypeEnum ¶ added in v0.1.62
type ListAclRulesRequestAddressTypeEnum struct { E_0 ListAclRulesRequestAddressType E_1 ListAclRulesRequestAddressType E_2 ListAclRulesRequestAddressType }
func GetListAclRulesRequestAddressTypeEnum ¶ added in v0.1.62
func GetListAclRulesRequestAddressTypeEnum() ListAclRulesRequestAddressTypeEnum
type ListAclRulesRequestProtocol ¶ added in v0.1.62
type ListAclRulesRequestProtocol struct {
// contains filtered or unexported fields
}
func (ListAclRulesRequestProtocol) MarshalJSON ¶ added in v0.1.62
func (c ListAclRulesRequestProtocol) MarshalJSON() ([]byte, error)
func (*ListAclRulesRequestProtocol) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAclRulesRequestProtocol) UnmarshalJSON(b []byte) error
func (ListAclRulesRequestProtocol) Value ¶ added in v0.1.62
func (c ListAclRulesRequestProtocol) Value() int32
type ListAclRulesRequestProtocolEnum ¶ added in v0.1.62
type ListAclRulesRequestProtocolEnum struct { E_6 ListAclRulesRequestProtocol E_17 ListAclRulesRequestProtocol E_1 ListAclRulesRequestProtocol E_58 ListAclRulesRequestProtocol }
func GetListAclRulesRequestProtocolEnum ¶ added in v0.1.62
func GetListAclRulesRequestProtocolEnum() ListAclRulesRequestProtocolEnum
type ListAclRulesRequestStatus ¶ added in v0.1.62
type ListAclRulesRequestStatus struct {
// contains filtered or unexported fields
}
func (ListAclRulesRequestStatus) MarshalJSON ¶ added in v0.1.62
func (c ListAclRulesRequestStatus) MarshalJSON() ([]byte, error)
func (*ListAclRulesRequestStatus) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAclRulesRequestStatus) UnmarshalJSON(b []byte) error
func (ListAclRulesRequestStatus) Value ¶ added in v0.1.62
func (c ListAclRulesRequestStatus) Value() int32
type ListAclRulesRequestStatusEnum ¶ added in v0.1.62
type ListAclRulesRequestStatusEnum struct { E_0 ListAclRulesRequestStatus E_1 ListAclRulesRequestStatus }
func GetListAclRulesRequestStatusEnum ¶ added in v0.1.62
func GetListAclRulesRequestStatusEnum() ListAclRulesRequestStatusEnum
type ListAclRulesRequestType ¶ added in v0.1.62
type ListAclRulesRequestType struct {
// contains filtered or unexported fields
}
func (ListAclRulesRequestType) MarshalJSON ¶ added in v0.1.62
func (c ListAclRulesRequestType) MarshalJSON() ([]byte, error)
func (*ListAclRulesRequestType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAclRulesRequestType) UnmarshalJSON(b []byte) error
func (ListAclRulesRequestType) Value ¶ added in v0.1.62
func (c ListAclRulesRequestType) Value() int32
type ListAclRulesRequestTypeEnum ¶ added in v0.1.62
type ListAclRulesRequestTypeEnum struct { E_0 ListAclRulesRequestType E_1 ListAclRulesRequestType E_2 ListAclRulesRequestType }
func GetListAclRulesRequestTypeEnum ¶ added in v0.1.62
func GetListAclRulesRequestTypeEnum() ListAclRulesRequestTypeEnum
type ListAclRulesResponse ¶ added in v0.1.62
type ListAclRulesResponse struct { Data *RuleAclListResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListAclRulesResponse Response Object
func (ListAclRulesResponse) String ¶ added in v0.1.62
func (o ListAclRulesResponse) String() string
type ListAddressItemsRequest ¶ added in v0.1.62
type ListAddressItemsRequest struct { // 地址组id SetId string `json:"set_id"` // 关键字 KeyWord *string `json:"key_word,omitempty"` // 每页显示个数,范围为1-1024 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"` }
ListAddressItemsRequest Request Object
func (ListAddressItemsRequest) String ¶ added in v0.1.62
func (o ListAddressItemsRequest) String() string
type ListAddressItemsResponse ¶ added in v0.1.62
type ListAddressItemsResponse struct { Data *AddressItemListResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListAddressItemsResponse Response Object
func (ListAddressItemsResponse) String ¶ added in v0.1.62
func (o ListAddressItemsResponse) String() string
type ListAddressSetDetailRequest ¶ added in v0.1.62
type ListAddressSetDetailRequest 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"` // 查询地址组类型,0表示自定义地址组,1表示预定义地址组 QueryAddressSetType *int32 `json:"query_address_set_type,omitempty"` }
ListAddressSetDetailRequest Request Object
func (ListAddressSetDetailRequest) String ¶ added in v0.1.62
func (o ListAddressSetDetailRequest) String() string
type ListAddressSetDetailResponse ¶ added in v0.1.62
type ListAddressSetDetailResponse struct { Data *AddressSetDetailResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListAddressSetDetailResponse Response Object
func (ListAddressSetDetailResponse) String ¶ added in v0.1.62
func (o ListAddressSetDetailResponse) String() string
type ListAddressSetsRequest ¶ added in v0.1.62
type ListAddressSetsRequest struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 关键字 KeyWord *string `json:"key_word,omitempty"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset int32 `json:"offset"` // ip地址 Address *string `json:"address,omitempty"` // 地址类型0 ipv4,1 ipv6 AddressType *ListAddressSetsRequestAddressType `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"` // 查询地址组类型,0表示自定义地址组,1表示预定义地址组 QueryAddressSetType *int32 `json:"query_address_set_type,omitempty"` }
ListAddressSetsRequest Request Object
func (ListAddressSetsRequest) String ¶ added in v0.1.62
func (o ListAddressSetsRequest) String() string
type ListAddressSetsRequestAddressType ¶ added in v0.1.62
type ListAddressSetsRequestAddressType struct {
// contains filtered or unexported fields
}
func (ListAddressSetsRequestAddressType) MarshalJSON ¶ added in v0.1.62
func (c ListAddressSetsRequestAddressType) MarshalJSON() ([]byte, error)
func (*ListAddressSetsRequestAddressType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAddressSetsRequestAddressType) UnmarshalJSON(b []byte) error
func (ListAddressSetsRequestAddressType) Value ¶ added in v0.1.62
func (c ListAddressSetsRequestAddressType) Value() int32
type ListAddressSetsRequestAddressTypeEnum ¶ added in v0.1.62
type ListAddressSetsRequestAddressTypeEnum struct { E_0 ListAddressSetsRequestAddressType E_1 ListAddressSetsRequestAddressType }
func GetListAddressSetsRequestAddressTypeEnum ¶ added in v0.1.62
func GetListAddressSetsRequestAddressTypeEnum() ListAddressSetsRequestAddressTypeEnum
type ListAddressSetsResponse ¶ added in v0.1.62
type ListAddressSetsResponse struct { Data *AddressSetListResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListAddressSetsResponse Response Object
func (ListAddressSetsResponse) String ¶ added in v0.1.62
func (o ListAddressSetsResponse) String() 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"` // 每页显示个数,范围为1-1024 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"` // 目标主机 DstHost *string `json:"dst_host,omitempty"` // log_type LogType *ListAttackLogsRequestLogType `json:"log_type,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 ¶
func (c ListAttackLogsRequestAction) Value() string
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 ¶
func (c ListAttackLogsRequestDirection) Value() string
type ListAttackLogsRequestDirectionEnum ¶
type ListAttackLogsRequestDirectionEnum struct { E_0 ListAttackLogsRequestDirection E_1 ListAttackLogsRequestDirection }
func GetListAttackLogsRequestDirectionEnum ¶
func GetListAttackLogsRequestDirectionEnum() ListAttackLogsRequestDirectionEnum
type ListAttackLogsRequestLogType ¶ added in v0.1.62
type ListAttackLogsRequestLogType struct {
// contains filtered or unexported fields
}
func (ListAttackLogsRequestLogType) MarshalJSON ¶ added in v0.1.62
func (c ListAttackLogsRequestLogType) MarshalJSON() ([]byte, error)
func (*ListAttackLogsRequestLogType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListAttackLogsRequestLogType) UnmarshalJSON(b []byte) error
func (ListAttackLogsRequestLogType) Value ¶ added in v0.1.62
func (c ListAttackLogsRequestLogType) Value() string
type ListAttackLogsRequestLogTypeEnum ¶ added in v0.1.62
type ListAttackLogsRequestLogTypeEnum struct { INTERNET ListAttackLogsRequestLogType NAT ListAttackLogsRequestLogType VPC ListAttackLogsRequestLogType }
func GetListAttackLogsRequestLogTypeEnum ¶ added in v0.1.62
func GetListAttackLogsRequestLogTypeEnum() ListAttackLogsRequestLogTypeEnum
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 ¶
func (c ListAttackLogsRequestProtocol) Value() string
type ListAttackLogsRequestProtocolEnum ¶
type ListAttackLogsRequestProtocolEnum struct { E_6 ListAttackLogsRequestProtocol E_17 ListAttackLogsRequestProtocol E_1 ListAttackLogsRequestProtocol E_58 ListAttackLogsRequestProtocol }
func GetListAttackLogsRequestProtocolEnum ¶
func GetListAttackLogsRequestProtocolEnum() ListAttackLogsRequestProtocolEnum
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 ListBlackWhiteListsRequest ¶ added in v0.1.62
type ListBlackWhiteListsRequest struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 黑白名单类型4:黑名单,5:白名单 ListType ListBlackWhiteListsRequestListType `json:"list_type"` // IP地址类型0:ipv4,1:ipv6,2:domain AddressType *ListBlackWhiteListsRequestAddressType `json:"address_type,omitempty"` // ip地址 Address *string `json:"address,omitempty"` // 端口 Port *string `json:"port,omitempty"` // 每页显示个数,范围为1-1024 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"` }
ListBlackWhiteListsRequest Request Object
func (ListBlackWhiteListsRequest) String ¶ added in v0.1.62
func (o ListBlackWhiteListsRequest) String() string
type ListBlackWhiteListsRequestAddressType ¶ added in v0.1.62
type ListBlackWhiteListsRequestAddressType struct {
// contains filtered or unexported fields
}
func (ListBlackWhiteListsRequestAddressType) MarshalJSON ¶ added in v0.1.62
func (c ListBlackWhiteListsRequestAddressType) MarshalJSON() ([]byte, error)
func (*ListBlackWhiteListsRequestAddressType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListBlackWhiteListsRequestAddressType) UnmarshalJSON(b []byte) error
func (ListBlackWhiteListsRequestAddressType) Value ¶ added in v0.1.62
func (c ListBlackWhiteListsRequestAddressType) Value() int32
type ListBlackWhiteListsRequestAddressTypeEnum ¶ added in v0.1.62
type ListBlackWhiteListsRequestAddressTypeEnum struct { E_0 ListBlackWhiteListsRequestAddressType E_1 ListBlackWhiteListsRequestAddressType E_2 ListBlackWhiteListsRequestAddressType }
func GetListBlackWhiteListsRequestAddressTypeEnum ¶ added in v0.1.62
func GetListBlackWhiteListsRequestAddressTypeEnum() ListBlackWhiteListsRequestAddressTypeEnum
type ListBlackWhiteListsRequestListType ¶ added in v0.1.62
type ListBlackWhiteListsRequestListType struct {
// contains filtered or unexported fields
}
func (ListBlackWhiteListsRequestListType) MarshalJSON ¶ added in v0.1.62
func (c ListBlackWhiteListsRequestListType) MarshalJSON() ([]byte, error)
func (*ListBlackWhiteListsRequestListType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListBlackWhiteListsRequestListType) UnmarshalJSON(b []byte) error
func (ListBlackWhiteListsRequestListType) Value ¶ added in v0.1.62
func (c ListBlackWhiteListsRequestListType) Value() int32
type ListBlackWhiteListsRequestListTypeEnum ¶ added in v0.1.62
type ListBlackWhiteListsRequestListTypeEnum struct { E_4 ListBlackWhiteListsRequestListType E_5 ListBlackWhiteListsRequestListType }
func GetListBlackWhiteListsRequestListTypeEnum ¶ added in v0.1.62
func GetListBlackWhiteListsRequestListTypeEnum() ListBlackWhiteListsRequestListTypeEnum
type ListBlackWhiteListsResponse ¶ added in v0.1.62
type ListBlackWhiteListsResponse struct { Data *BlackWhiteListResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListBlackWhiteListsResponse Response Object
func (ListBlackWhiteListsResponse) String ¶ added in v0.1.62
func (o ListBlackWhiteListsResponse) String() string
type ListDnsServersRequest ¶
type ListDnsServersRequest struct { // 每页显示个数,范围为1-1024 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 ListDomainParseDetailRequest ¶ added in v0.1.62
type ListDomainParseDetailRequest 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"` // 地址类型,0 ipv4,1 ipv6,2 domain AddressType *string `json:"address_type,omitempty"` }
ListDomainParseDetailRequest Request Object
func (ListDomainParseDetailRequest) String ¶ added in v0.1.62
func (o ListDomainParseDetailRequest) String() string
type ListDomainParseDetailResponse ¶ added in v0.1.62
type ListDomainParseDetailResponse struct { // 域名id列表 Data *[]string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListDomainParseDetailResponse Response Object
func (ListDomainParseDetailResponse) String ¶ added in v0.1.62
func (o ListDomainParseDetailResponse) String() string
type ListDomainResponseData ¶ added in v0.1.62
type ListDomainResponseData struct { // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 租户项目id ProjectId *string `json:"project_id,omitempty"` // 域名信息列表 Records *[]DomainInfo `json:"records,omitempty"` // 域名组id SetId *string `json:"set_id,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` }
func (ListDomainResponseData) String ¶ added in v0.1.62
func (o ListDomainResponseData) String() string
type ListDomainSetsRequest ¶ added in v0.1.62
type ListDomainSetsRequest 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"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset int32 `json:"offset"` // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 关键字 KeyWord *string `json:"key_word,omitempty"` // 域名组类型,0表示URL过滤,1表示地址解析 DomainSetType *int32 `json:"domain_set_type,omitempty"` // 配置状态 ConfigStatus *int32 `json:"config_status,omitempty"` }
ListDomainSetsRequest Request Object
func (ListDomainSetsRequest) String ¶ added in v0.1.62
func (o ListDomainSetsRequest) String() string
type ListDomainSetsResponse ¶ added in v0.1.62
type ListDomainSetsResponse struct { Data *ListDomainsetsResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListDomainSetsResponse Response Object
func (ListDomainSetsResponse) String ¶ added in v0.1.62
func (o ListDomainSetsResponse) String() string
type ListDomainsRequest ¶ added in v0.1.62
type ListDomainsRequest struct { // 域名组id DomainSetId string `json:"domain_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"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset int32 `json:"offset"` // 域名名称 DomainName *string `json:"domain_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 域名组id SetId *string `json:"set_id,omitempty"` // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId *string `json:"object_Id,omitempty"` }
ListDomainsRequest Request Object
func (ListDomainsRequest) String ¶ added in v0.1.62
func (o ListDomainsRequest) String() string
type ListDomainsResponse ¶ added in v0.1.62
type ListDomainsResponse struct { Data *ListDomainResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListDomainsResponse Response Object
func (ListDomainsResponse) String ¶ added in v0.1.62
func (o ListDomainsResponse) String() string
type ListDomainsetsResponseData ¶ added in v0.1.62
type ListDomainsetsResponseData struct { // 每页显示个数,范围为1-1024 Limit *int32 `json:"limit,omitempty"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 总数 Total *int32 `json:"total,omitempty"` // 域名组列表 Records *[]DomainSetVo `json:"records,omitempty"` }
func (ListDomainsetsResponseData) String ¶ added in v0.1.62
func (o ListDomainsetsResponseData) String() string
type ListEastWestFirewallRequest ¶
type ListEastWestFirewallRequest struct { // 每页显示个数,范围为1-1024 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 ¶
func (o ListEastWestFirewallRequest) String() string
type ListEastWestFirewallResponse ¶
type ListEastWestFirewallResponse struct { Data *GetEastWestFirewallResponseBody `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListEastWestFirewallResponse Response Object
func (ListEastWestFirewallResponse) String ¶
func (o ListEastWestFirewallResponse) String() string
type ListEipCountRequest ¶ added in v0.1.62
type ListEipCountRequest 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"` }
ListEipCountRequest Request Object
func (ListEipCountRequest) String ¶ added in v0.1.62
func (o ListEipCountRequest) String() string
type ListEipCountResponse ¶ added in v0.1.62
type ListEipCountResponse struct { Data *EipCountRespData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListEipCountResponse Response Object
func (ListEipCountResponse) String ¶ added in v0.1.62
func (o ListEipCountResponse) String() string
type ListEipsRequest ¶ added in v0.1.62
type ListEipsRequest 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 *ListEipsRequestStatus `json:"status,omitempty"` // 是否同步租户EIP数据 0-不同步 1-同步 Sync *ListEipsRequestSync `json:"sync,omitempty"` // 每页显示个数,范围为1-1024 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"` // 标签列表信息 Tags *string `json:"tags,omitempty"` }
ListEipsRequest Request Object
func (ListEipsRequest) String ¶ added in v0.1.62
func (o ListEipsRequest) String() string
type ListEipsRequestStatus ¶ added in v0.1.62
type ListEipsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListEipsRequestStatus) MarshalJSON ¶ added in v0.1.62
func (c ListEipsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListEipsRequestStatus) UnmarshalJSON ¶ added in v0.1.62
func (c *ListEipsRequestStatus) UnmarshalJSON(b []byte) error
func (ListEipsRequestStatus) Value ¶ added in v0.1.62
func (c ListEipsRequestStatus) Value() string
type ListEipsRequestStatusEnum ¶ added in v0.1.62
type ListEipsRequestStatusEnum struct { NULL ListEipsRequestStatus E_0 ListEipsRequestStatus E_1 ListEipsRequestStatus }
func GetListEipsRequestStatusEnum ¶ added in v0.1.62
func GetListEipsRequestStatusEnum() ListEipsRequestStatusEnum
type ListEipsRequestSync ¶ added in v0.1.62
type ListEipsRequestSync struct {
// contains filtered or unexported fields
}
func (ListEipsRequestSync) MarshalJSON ¶ added in v0.1.62
func (c ListEipsRequestSync) MarshalJSON() ([]byte, error)
func (*ListEipsRequestSync) UnmarshalJSON ¶ added in v0.1.62
func (c *ListEipsRequestSync) UnmarshalJSON(b []byte) error
func (ListEipsRequestSync) Value ¶ added in v0.1.62
func (c ListEipsRequestSync) Value() int32
type ListEipsRequestSyncEnum ¶ added in v0.1.62
type ListEipsRequestSyncEnum struct { E_0 ListEipsRequestSync E_1 ListEipsRequestSync }
func GetListEipsRequestSyncEnum ¶ added in v0.1.62
func GetListEipsRequestSyncEnum() ListEipsRequestSyncEnum
type ListEipsResponse ¶ added in v0.1.62
type ListEipsResponse struct { Data *EipResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListEipsResponse Response Object
func (ListEipsResponse) String ¶ added in v0.1.62
func (o ListEipsResponse) String() string
type ListFirewallDetailRequest ¶ added in v0.1.62
type ListFirewallDetailRequest struct { // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset int32 `json:"offset"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 服务类型 0 南北向防火墙 1 东西向防火墙 ServiceType ListFirewallDetailRequestServiceType `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"` }
ListFirewallDetailRequest Request Object
func (ListFirewallDetailRequest) String ¶ added in v0.1.62
func (o ListFirewallDetailRequest) String() string
type ListFirewallDetailRequestServiceType ¶ added in v0.1.62
type ListFirewallDetailRequestServiceType struct {
// contains filtered or unexported fields
}
func (ListFirewallDetailRequestServiceType) MarshalJSON ¶ added in v0.1.62
func (c ListFirewallDetailRequestServiceType) MarshalJSON() ([]byte, error)
func (*ListFirewallDetailRequestServiceType) UnmarshalJSON ¶ added in v0.1.62
func (c *ListFirewallDetailRequestServiceType) UnmarshalJSON(b []byte) error
func (ListFirewallDetailRequestServiceType) Value ¶ added in v0.1.62
func (c ListFirewallDetailRequestServiceType) Value() int32
type ListFirewallDetailRequestServiceTypeEnum ¶ added in v0.1.62
type ListFirewallDetailRequestServiceTypeEnum struct { E_0 ListFirewallDetailRequestServiceType E_1 ListFirewallDetailRequestServiceType }
func GetListFirewallDetailRequestServiceTypeEnum ¶ added in v0.1.62
func GetListFirewallDetailRequestServiceTypeEnum() ListFirewallDetailRequestServiceTypeEnum
type ListFirewallDetailResponse ¶ added in v0.1.62
type ListFirewallDetailResponse struct { Data *GetFirewallInstanceData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListFirewallDetailResponse Response Object
func (ListFirewallDetailResponse) String ¶ added in v0.1.62
func (o ListFirewallDetailResponse) String() string
type ListFirewallListRequest ¶ added in v0.1.62
type ListFirewallListRequest struct { // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *QueryFireWallInstanceDto `json:"body,omitempty"` }
ListFirewallListRequest Request Object
func (ListFirewallListRequest) String ¶ added in v0.1.62
func (o ListFirewallListRequest) String() string
type ListFirewallListResponse ¶ added in v0.1.62
type ListFirewallListResponse struct { // 是否支持eps UserSupportEps *bool `json:"user_support_eps,omitempty"` // 是否存在ndr HasNdr *bool `json:"has_ndr,omitempty"` // 是否支持按需购买 IsSupportPostpaid *bool `json:"is_support_postpaid,omitempty"` // 是否支持基础版 IsSupportBasicVersion *bool `json:"is_support_basic_version,omitempty"` // 是否支持购买专业版 IsSupportBuyProfessional *bool `json:"is_support_buy_professional,omitempty"` Data *HttpFirewallInstanceListResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListFirewallListResponse Response Object
func (ListFirewallListResponse) String ¶ added in v0.1.62
func (o ListFirewallListResponse) String() 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"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 目的主机 DstHost *string `json:"dst_host,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 ¶
func (c ListFlowLogsRequestLogType) Value() string
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 ¶
func (c ListFlowLogsRequestProtocol) Value() string
type ListFlowLogsRequestProtocolEnum ¶
type ListFlowLogsRequestProtocolEnum struct { E_6 ListFlowLogsRequestProtocol E_17 ListFlowLogsRequestProtocol E_1 ListFlowLogsRequestProtocol E_58 ListFlowLogsRequestProtocol }
func GetListFlowLogsRequestProtocolEnum ¶
func GetListFlowLogsRequestProtocolEnum() ListFlowLogsRequestProtocolEnum
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 ListIpsProtectModeRequest ¶ added in v0.1.62
type ListIpsProtectModeRequest 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"` }
ListIpsProtectModeRequest Request Object
func (ListIpsProtectModeRequest) String ¶ added in v0.1.62
func (o ListIpsProtectModeRequest) String() string
type ListIpsProtectModeResponse ¶ added in v0.1.62
type ListIpsProtectModeResponse struct { Data *IpsProtectModeObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListIpsProtectModeResponse Response Object
func (ListIpsProtectModeResponse) String ¶ added in v0.1.62
func (o ListIpsProtectModeResponse) String() string
type ListIpsSwitchStatusRequest ¶ added in v0.1.62
type ListIpsSwitchStatusRequest 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"` }
ListIpsSwitchStatusRequest Request Object
func (ListIpsSwitchStatusRequest) String ¶ added in v0.1.62
func (o ListIpsSwitchStatusRequest) String() string
type ListIpsSwitchStatusResponse ¶ added in v0.1.62
type ListIpsSwitchStatusResponse struct { Data *IpsSwitchResponseDto `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListIpsSwitchStatusResponse Response Object
func (ListIpsSwitchStatusResponse) String ¶ added in v0.1.62
func (o ListIpsSwitchStatusResponse) String() string
type ListJobRequest ¶ added in v0.1.72
type ListJobRequest struct { // 任务ID JobId string `json:"job_id"` }
ListJobRequest Request Object
func (ListJobRequest) String ¶ added in v0.1.72
func (o ListJobRequest) String() string
type ListJobResponse ¶ added in v0.1.72
type ListJobResponse struct { // 错误码 ErrorCode string `json:"error_code"` // 错误描述 ErrorMsg string `json:"error_msg"` // 执行结果 Data *interface{} `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListJobResponse Response Object
func (ListJobResponse) String ¶ added in v0.1.72
func (o ListJobResponse) String() string
type ListLogConfigRequest ¶ added in v0.1.69
type ListLogConfigRequest struct { // 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。 FwInstanceId string `json:"fw_instance_id"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ListLogConfigRequest Request Object
func (ListLogConfigRequest) String ¶ added in v0.1.69
func (o ListLogConfigRequest) String() string
type ListLogConfigResponse ¶ added in v0.1.69
type ListLogConfigResponse struct { Data *LogConfigDto `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListLogConfigResponse Response Object
func (ListLogConfigResponse) String ¶ added in v0.1.69
func (o ListLogConfigResponse) String() string
type ListProtectedVpcsRequest ¶ added in v0.1.62
type ListProtectedVpcsRequest 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"` }
ListProtectedVpcsRequest Request Object
func (ListProtectedVpcsRequest) String ¶ added in v0.1.62
func (o ListProtectedVpcsRequest) String() string
type ListProtectedVpcsResponse ¶ added in v0.1.62
type ListProtectedVpcsResponse struct { // 调用链id TraceId *string `json:"trace_id,omitempty"` Data *VpcProtectsVo `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListProtectedVpcsResponse Response Object
func (ListProtectedVpcsResponse) String ¶ added in v0.1.62
func (o ListProtectedVpcsResponse) String() string
type ListRuleAclTagsRequest ¶ added in v0.1.62
type ListRuleAclTagsRequest 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"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset int32 `json:"offset"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` }
ListRuleAclTagsRequest Request Object
func (ListRuleAclTagsRequest) String ¶ added in v0.1.62
func (o ListRuleAclTagsRequest) String() string
type ListRuleAclTagsResponse ¶ added in v0.1.62
type ListRuleAclTagsResponse struct { Data *HttpGetAclTagResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListRuleAclTagsResponse Response Object
func (ListRuleAclTagsResponse) String ¶ added in v0.1.62
func (o ListRuleAclTagsResponse) String() string
type ListRuleHitCountDto ¶
type ListRuleHitCountDto struct { // 规则id列表 RuleIds []string `json:"rule_ids"` }
func (ListRuleHitCountDto) String ¶
func (o ListRuleHitCountDto) String() string
type ListServiceItemsRequest ¶ added in v0.1.62
type ListServiceItemsRequest struct { // 服务组id SetId string `json:"set_id"` // 查询字段 KeyWord *string `json:"key_word,omitempty"` // 每页显示个数,范围为1-1024 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"` }
ListServiceItemsRequest Request Object
func (ListServiceItemsRequest) String ¶ added in v0.1.62
func (o ListServiceItemsRequest) String() string
type ListServiceItemsResponse ¶ added in v0.1.62
type ListServiceItemsResponse struct { Data *ServiceItemListResponseDtoData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListServiceItemsResponse Response Object
func (ListServiceItemsResponse) String ¶ added in v0.1.62
func (o ListServiceItemsResponse) String() string
type ListServiceSetDetailRequest ¶ added in v0.1.62
type ListServiceSetDetailRequest 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"` }
ListServiceSetDetailRequest Request Object
func (ListServiceSetDetailRequest) String ¶ added in v0.1.62
func (o ListServiceSetDetailRequest) String() string
type ListServiceSetDetailResponse ¶ added in v0.1.62
type ListServiceSetDetailResponse struct { Data *ServiceSetDetailResponseDto `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListServiceSetDetailResponse Response Object
func (ListServiceSetDetailResponse) String ¶ added in v0.1.62
func (o ListServiceSetDetailResponse) String() string
type ListServiceSetsRequest ¶ added in v0.1.62
type ListServiceSetsRequest struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 关键字 KeyWord *string `json:"key_word,omitempty"` // 每页查询个数,范围为1-1024 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"` }
ListServiceSetsRequest Request Object
func (ListServiceSetsRequest) String ¶ added in v0.1.62
func (o ListServiceSetsRequest) String() string
type ListServiceSetsResponse ¶ added in v0.1.62
type ListServiceSetsResponse struct { Data *ServiceSetRecords `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListServiceSetsResponse Response Object
func (ListServiceSetsResponse) String ¶ added in v0.1.62
func (o ListServiceSetsResponse) String() string
type LogConfigDto ¶ added in v0.1.69
type LogConfigDto struct { // 防火墙id FwInstanceId string `json:"fw_instance_id"` // 是否开启LTS LtsEnable int32 `json:"lts_enable"` // LTS日志分组id LtsLogGroupId string `json:"lts_log_group_id"` // 攻击日志流id LtsAttackLogStreamId *string `json:"lts_attack_log_stream_id,omitempty"` // 是否开启攻击日志流 LtsAttackLogStreamEnable int32 `json:"lts_attack_log_stream_enable"` // 访问控制日志流id LtsAccessLogStreamId *string `json:"lts_access_log_stream_id,omitempty"` // 是否开启访问控制流 LtsAccessLogStreamEnable int32 `json:"lts_access_log_stream_enable"` // 流量日志id LtsFlowLogStreamId *string `json:"lts_flow_log_stream_id,omitempty"` // 是否开启流量日志 LtsFlowLogStreamEnable int32 `json:"lts_flow_log_stream_enable"` }
func (LogConfigDto) String ¶ added in v0.1.69
func (o LogConfigDto) 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 PacketMessage ¶ added in v0.1.14
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 ¶ added in v0.1.14
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 QueryFireWallInstanceDto ¶ added in v0.1.62
type QueryFireWallInstanceDto struct { // 企业项目id,用户支持企业项目后,由企业项目生成的id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 查询关键字 KeyWord *string `json:"key_word,omitempty"` // 标签列表 Tags *[]TagInfo `json:"tags,omitempty"` // 每页显示个数,范围为1-1024 Limit int32 `json:"limit"` // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset int32 `json:"offset"` }
func (QueryFireWallInstanceDto) String ¶ added in v0.1.62
func (o QueryFireWallInstanceDto) String() string
type RuleAclListResponseDtoData ¶
type RuleAclListResponseDtoData struct { // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 每页显示个数,范围为1-1024 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 ¶
func (o RuleAclListResponseDtoData) String() 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规则,2:nat规则 Type *RuleAclListResponseDtoDataRecordsType `json:"type,omitempty"` // 创建时间 CreatedDate *string `json:"created_date,omitempty"` // 最后开启时间 LastOpenTime *string `json:"last_open_time,omitempty"` Tag *TagsVo `json:"tag,omitempty"` }
RuleAclListResponseDtoDataRecords items
func (RuleAclListResponseDtoDataRecords) String ¶
func (o RuleAclListResponseDtoDataRecords) String() string
type RuleAclListResponseDtoDataRecordsDirection ¶
type RuleAclListResponseDtoDataRecordsDirection struct {
// contains filtered or unexported fields
}
func (RuleAclListResponseDtoDataRecordsDirection) MarshalJSON ¶
func (c RuleAclListResponseDtoDataRecordsDirection) MarshalJSON() ([]byte, error)
func (*RuleAclListResponseDtoDataRecordsDirection) UnmarshalJSON ¶
func (c *RuleAclListResponseDtoDataRecordsDirection) UnmarshalJSON(b []byte) error
func (RuleAclListResponseDtoDataRecordsDirection) Value ¶
func (c RuleAclListResponseDtoDataRecordsDirection) Value() int32
type RuleAclListResponseDtoDataRecordsDirectionEnum ¶
type RuleAclListResponseDtoDataRecordsDirectionEnum struct { E_0 RuleAclListResponseDtoDataRecordsDirection E_1 RuleAclListResponseDtoDataRecordsDirection }
func GetRuleAclListResponseDtoDataRecordsDirectionEnum ¶
func GetRuleAclListResponseDtoDataRecordsDirectionEnum() RuleAclListResponseDtoDataRecordsDirectionEnum
type RuleAclListResponseDtoDataRecordsType ¶ added in v0.1.14
type RuleAclListResponseDtoDataRecordsType struct {
// contains filtered or unexported fields
}
func (RuleAclListResponseDtoDataRecordsType) MarshalJSON ¶ added in v0.1.14
func (c RuleAclListResponseDtoDataRecordsType) MarshalJSON() ([]byte, error)
func (*RuleAclListResponseDtoDataRecordsType) UnmarshalJSON ¶ added in v0.1.14
func (c *RuleAclListResponseDtoDataRecordsType) UnmarshalJSON(b []byte) error
func (RuleAclListResponseDtoDataRecordsType) Value ¶ added in v0.1.14
func (c RuleAclListResponseDtoDataRecordsType) Value() int32
type RuleAclListResponseDtoDataRecordsTypeEnum ¶ added in v0.1.14
type RuleAclListResponseDtoDataRecordsTypeEnum struct { E_0 RuleAclListResponseDtoDataRecordsType E_1 RuleAclListResponseDtoDataRecordsType E_2 RuleAclListResponseDtoDataRecordsType }
func GetRuleAclListResponseDtoDataRecordsTypeEnum ¶ added in v0.1.14
func GetRuleAclListResponseDtoDataRecordsTypeEnum() RuleAclListResponseDtoDataRecordsTypeEnum
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"` // 规则region列表json值 RegionListJson *string `json:"region_list_json,omitempty"` // 规则region列表 RegionList *[]IpRegionDto `json:"region_list,omitempty"` // 域名组id DomainSetId *string `json:"domain_set_id,omitempty"` // 域名组名称 DomainSetName *string `json:"domain_set_name,omitempty"` // IP地址列表 IpAddress *[]string `json:"ip_address,omitempty"` // 地址组列表 AddressGroup *[]string `json:"address_group,omitempty"` // 地址组名称列表 AddressGroupNames *[]AddressGroupVo `json:"address_group_names,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 { // 每页显示个数,范围为1-1024 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 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"` // 自定义服务 CustomService *[]ServiceItem `json:"custom_service,omitempty"` // 服务组列表 ServiceGroup *[]string `json:"service_group,omitempty"` // 服务组名称列表 ServiceGroupNames *[]AddressGroupVo `json:"service_group_names,omitempty"` }
RuleServiceDto RuleServiceDto
func (RuleServiceDto) String ¶
func (o RuleServiceDto) String() string
type ServiceItem ¶ added in v0.1.62
type ServiceItem struct { // 协议类型: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"` // 服务成员描述 Description *string `json:"description,omitempty"` // 服务成员名称 Name *string `json:"name,omitempty"` }
func (ServiceItem) String ¶ added in v0.1.62
func (o ServiceItem) 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"` // 每页显示个数,范围为1-1024 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 ¶
func (o ServiceItemListResponseDtoData) String() 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 ¶
func (o ServiceItemListResponseDtoDataRecords) String() string
type ServiceSet ¶
type ServiceSet struct { // 服务组id SetId *string `json:"set_id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 服务组类型,0表示自定义服务组,1表示预定义服务组 ServiceSetType *int32 `json:"service_set_type,omitempty"` // 引用次数 RefCount *int32 `json:"ref_count,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 协议类型列表 Protocols *[]int32 `json:"protocols,omitempty"` }
func (ServiceSet) String ¶
func (o ServiceSet) String() string
type ServiceSetDetailResponseDto ¶ added in v0.1.14
type ServiceSetDetailResponseDto struct { // 服务组id Id *string `json:"id,omitempty"` // 服务组名称 Name string `json:"name"` // 服务组描述信息 Description *string `json:"description,omitempty"` // 服务组类型,0表示自定义服务组,1表示预定义服务组 ServiceSetType *int32 `json:"service_set_type,omitempty"` }
ServiceSetDetailResponseDto Query Service Set Detail Response Body
func (ServiceSetDetailResponseDto) String ¶ added in v0.1.14
func (o ServiceSetDetailResponseDto) String() string
type ServiceSetRecords ¶
type ServiceSetRecords struct { // 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0 Offset *int32 `json:"offset,omitempty"` // 每页显示个数,范围为1-1024 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,omitempty"` // 子网名称 Name *string `json:"name,omitempty"` // 子网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"` // 是否支持ipv6,boolean值为true表示是,false表示否 Ipv6Enable *bool `json:"ipv6_enable,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 TagInfo ¶ added in v0.1.62
type TagsVo ¶ added in v0.1.62
type UpdateAclRuleOrderRequest ¶ added in v0.1.62
type UpdateAclRuleOrderRequest 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"` }
UpdateAclRuleOrderRequest Request Object
func (UpdateAclRuleOrderRequest) String ¶ added in v0.1.62
func (o UpdateAclRuleOrderRequest) String() string
type UpdateAclRuleOrderResponse ¶ added in v0.1.62
type UpdateAclRuleOrderResponse struct { Data *RuleId `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAclRuleOrderResponse Response Object
func (UpdateAclRuleOrderResponse) String ¶ added in v0.1.62
func (o UpdateAclRuleOrderResponse) String() string
type UpdateAclRuleRequest ¶ added in v0.1.62
type UpdateAclRuleRequest 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"` }
UpdateAclRuleRequest Request Object
func (UpdateAclRuleRequest) String ¶ added in v0.1.62
func (o UpdateAclRuleRequest) String() string
type UpdateAclRuleResponse ¶ added in v0.1.62
type UpdateAclRuleResponse struct { Data *RuleId `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAclRuleResponse Response Object
func (UpdateAclRuleResponse) String ¶ added in v0.1.62
func (o UpdateAclRuleResponse) 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 ¶ added in v0.1.14
type UpdateAddressSetDtoAddressType struct {
// contains filtered or unexported fields
}
func (UpdateAddressSetDtoAddressType) MarshalJSON ¶ added in v0.1.14
func (c UpdateAddressSetDtoAddressType) MarshalJSON() ([]byte, error)
func (*UpdateAddressSetDtoAddressType) UnmarshalJSON ¶ added in v0.1.14
func (c *UpdateAddressSetDtoAddressType) UnmarshalJSON(b []byte) error
func (UpdateAddressSetDtoAddressType) Value ¶ added in v0.1.14
func (c UpdateAddressSetDtoAddressType) Value() int32
type UpdateAddressSetDtoAddressTypeEnum ¶ added in v0.1.14
type UpdateAddressSetDtoAddressTypeEnum struct { E_0 UpdateAddressSetDtoAddressType E_1 UpdateAddressSetDtoAddressType E_2 UpdateAddressSetDtoAddressType }
func GetUpdateAddressSetDtoAddressTypeEnum ¶ added in v0.1.14
func GetUpdateAddressSetDtoAddressTypeEnum() UpdateAddressSetDtoAddressTypeEnum
type UpdateAddressSetRequest ¶ added in v0.1.62
type UpdateAddressSetRequest 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"` }
UpdateAddressSetRequest Request Object
func (UpdateAddressSetRequest) String ¶ added in v0.1.62
func (o UpdateAddressSetRequest) String() string
type UpdateAddressSetResponse ¶ added in v0.1.62
type UpdateAddressSetResponse struct { Data *UpdateAddressSetResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAddressSetResponse Response Object
func (UpdateAddressSetResponse) String ¶ added in v0.1.62
func (o UpdateAddressSetResponse) String() string
type UpdateAddressSetResponseData ¶ added in v0.1.84
type UpdateAddressSetResponseData struct { // Id Id *string `json:"id,omitempty"` }
func (UpdateAddressSetResponseData) String ¶ added in v0.1.84
func (o UpdateAddressSetResponseData) String() 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"` // 描述 Description *string `json:"description,omitempty"` }
UpdateBlackWhiteListDto UpdateBlackWhiteListDto
func (UpdateBlackWhiteListDto) String ¶
func (o UpdateBlackWhiteListDto) String() string
type UpdateBlackWhiteListDtoListType ¶ added in v0.1.14
type UpdateBlackWhiteListDtoListType struct {
// contains filtered or unexported fields
}
func (UpdateBlackWhiteListDtoListType) MarshalJSON ¶ added in v0.1.14
func (c UpdateBlackWhiteListDtoListType) MarshalJSON() ([]byte, error)
func (*UpdateBlackWhiteListDtoListType) UnmarshalJSON ¶ added in v0.1.14
func (c *UpdateBlackWhiteListDtoListType) UnmarshalJSON(b []byte) error
func (UpdateBlackWhiteListDtoListType) Value ¶ added in v0.1.14
func (c UpdateBlackWhiteListDtoListType) Value() int32
type UpdateBlackWhiteListDtoListTypeEnum ¶ added in v0.1.14
type UpdateBlackWhiteListDtoListTypeEnum struct { E_4 UpdateBlackWhiteListDtoListType E_5 UpdateBlackWhiteListDtoListType }
func GetUpdateBlackWhiteListDtoListTypeEnum ¶ added in v0.1.14
func GetUpdateBlackWhiteListDtoListTypeEnum() UpdateBlackWhiteListDtoListTypeEnum
type UpdateBlackWhiteListRequest ¶ added in v0.1.62
type UpdateBlackWhiteListRequest 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"` }
UpdateBlackWhiteListRequest Request Object
func (UpdateBlackWhiteListRequest) String ¶ added in v0.1.62
func (o UpdateBlackWhiteListRequest) String() string
type UpdateBlackWhiteListResponse ¶ added in v0.1.62
type UpdateBlackWhiteListResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateBlackWhiteListResponse Response Object
func (UpdateBlackWhiteListResponse) String ¶ added in v0.1.62
func (o UpdateBlackWhiteListResponse) String() 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"` // 健康检查域名 HealthCheckDomainName *string `json:"health_check_domain_name,omitempty"` }
func (UpdateDnsServersRequestBody) String ¶
func (o UpdateDnsServersRequestBody) String() 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 ¶
func (o UpdateDnsServersRequestBodyDnsServer) String() 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 UpdateDomainSetInfoDto ¶ added in v0.1.62
type UpdateDomainSetInfoDto struct { // 域名组名称UUID Name string `json:"name"` // 描述 Description *string `json:"description,omitempty"` // 域名组id SetId *string `json:"set_id,omitempty"` // 域名组类型,0表示URL过滤,1表示地址解析 DomainSetType *int32 `json:"domain_set_type,omitempty"` }
func (UpdateDomainSetInfoDto) String ¶ added in v0.1.62
func (o UpdateDomainSetInfoDto) String() string
type UpdateDomainSetRequest ¶ added in v0.1.62
type UpdateDomainSetRequest struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 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 *UpdateDomainSetInfoDto `json:"body,omitempty"` }
UpdateDomainSetRequest Request Object
func (UpdateDomainSetRequest) String ¶ added in v0.1.62
func (o UpdateDomainSetRequest) String() string
type UpdateDomainSetResponse ¶ added in v0.1.62
type UpdateDomainSetResponse struct { Data *DomainSetResponseData `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDomainSetResponse Response Object
func (UpdateDomainSetResponse) String ¶ added in v0.1.62
func (o UpdateDomainSetResponse) String() string
type UpdateLogConfigRequest ¶ added in v0.1.69
type UpdateLogConfigRequest struct { // 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。 FwInstanceId string `json:"fw_instance_id"` // 企业项目id,用户支持企业项目后,由企业项目生成的id。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Body *LogConfigDto `json:"body,omitempty"` }
UpdateLogConfigRequest Request Object
func (UpdateLogConfigRequest) String ¶ added in v0.1.69
func (o UpdateLogConfigRequest) String() string
type UpdateLogConfigResponse ¶ added in v0.1.69
type UpdateLogConfigResponse struct { // 日志配置id Data *string `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateLogConfigResponse Response Object
func (UpdateLogConfigResponse) String ¶ added in v0.1.69
func (o UpdateLogConfigResponse) 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"` // 方向:0表示外到内,1表示内到外【说明:规则type=0:互联网规则 | 2:nat规则时方向值必填】 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"` Tag *TagsVo `json:"tag,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 ¶
func (c UpdateRuleAclDtoActionType) Value() int32
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 ¶
func (c UpdateRuleAclDtoAddressType) Value() int32
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 ¶
func (c UpdateRuleAclDtoLongConnectEnable) Value() int32
type UpdateRuleAclDtoLongConnectEnableEnum ¶
type UpdateRuleAclDtoLongConnectEnableEnum struct { E_0 UpdateRuleAclDtoLongConnectEnable E_1 UpdateRuleAclDtoLongConnectEnable }
func GetUpdateRuleAclDtoLongConnectEnableEnum ¶
func GetUpdateRuleAclDtoLongConnectEnableEnum() UpdateRuleAclDtoLongConnectEnableEnum
type UpdateRuleAclDtoType ¶ added in v0.1.14
type UpdateRuleAclDtoType struct {
// contains filtered or unexported fields
}
func (UpdateRuleAclDtoType) MarshalJSON ¶ added in v0.1.14
func (c UpdateRuleAclDtoType) MarshalJSON() ([]byte, error)
func (*UpdateRuleAclDtoType) UnmarshalJSON ¶ added in v0.1.14
func (c *UpdateRuleAclDtoType) UnmarshalJSON(b []byte) error
func (UpdateRuleAclDtoType) Value ¶ added in v0.1.14
func (c UpdateRuleAclDtoType) Value() int32
type UpdateRuleAclDtoTypeEnum ¶ added in v0.1.14
type UpdateRuleAclDtoTypeEnum struct { E_0 UpdateRuleAclDtoType E_1 UpdateRuleAclDtoType E_2 UpdateRuleAclDtoType }
func GetUpdateRuleAclDtoTypeEnum ¶ added in v0.1.14
func GetUpdateRuleAclDtoTypeEnum() UpdateRuleAclDtoTypeEnum
type UpdateSecurityPolciesActionDto ¶ added in v0.1.62
type UpdateSecurityPolciesActionDto struct { // 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。 ObjectId string `json:"object_id"` // 动作 Action string `json:"action"` // 规则ID列表 RuleIds []string `json:"rule_ids"` }
func (UpdateSecurityPolciesActionDto) String ¶ added in v0.1.62
func (o UpdateSecurityPolciesActionDto) String() string
type UpdateServiceSetRequest ¶ added in v0.1.62
type UpdateServiceSetRequest 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"` }
UpdateServiceSetRequest Request Object
func (UpdateServiceSetRequest) String ¶ added in v0.1.62
func (o UpdateServiceSetRequest) String() string
type UpdateServiceSetResponse ¶ added in v0.1.62
type UpdateServiceSetResponse struct { Data *IdObject `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
UpdateServiceSetResponse Response Object
func (UpdateServiceSetResponse) String ¶ added in v0.1.62
func (o UpdateServiceSetResponse) String() 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 ¶
func (o UpdateServiceSetUsingPutRequestBody) String() 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 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"` // 所有资产数量 TotalAssets *int32 `json:"total_assets,omitempty"` }
VpcProtectsVo vpc protects vo
func (VpcProtectsVo) String ¶
func (o VpcProtectsVo) String() string
Source Files ¶
- model_add_acl_rule_request.go
- model_add_acl_rule_response.go
- model_add_address_item_request.go
- model_add_address_item_response.go
- model_add_address_items_info_dto.go
- model_add_address_items_info_dto_address_items.go
- model_add_address_set_dto.go
- model_add_address_set_request.go
- model_add_address_set_response.go
- model_add_black_white_list_dto.go
- model_add_black_white_list_request.go
- model_add_black_white_list_response.go
- model_add_domain_list_dto.go
- model_add_domain_set_info_dto.go
- model_add_domain_set_request.go
- model_add_domain_set_response.go
- model_add_domains_request.go
- model_add_domains_response.go
- model_add_log_config_request.go
- model_add_log_config_response.go
- model_add_rule_acl_dto.go
- model_add_rule_acl_dto_rules.go
- model_add_service_items_request.go
- model_add_service_items_response.go
- model_add_service_items_using_post_request_body.go
- model_add_service_items_using_post_request_body_service_items.go
- model_add_service_set_request.go
- model_add_service_set_response.go
- model_add_service_set_using_post_request_body.go
- model_address_group_vo.go
- model_address_item_list_response_dto_data.go
- model_address_item_list_response_dto_data_records.go
- model_address_items.go
- model_address_set_detail_response_dto_data.go
- model_address_set_list_response_dto_data.go
- model_address_set_list_response_dto_data_records.go
- model_batch_delete_acl_rules_request.go
- model_batch_delete_acl_rules_response.go
- model_batch_delete_acl_rules_response_data.go
- model_batch_delete_address_items_request.go
- model_batch_delete_address_items_response.go
- model_batch_delete_rule_info.go
- model_batch_delete_service_items_request.go
- model_batch_delete_service_items_response.go
- model_batch_update_acl_rule_actions_request.go
- model_batch_update_acl_rule_actions_response.go
- model_black_white_list_response_data.go
- model_black_white_list_response_data_records.go
- model_change_east_west_firewall_status_request.go
- model_change_east_west_firewall_status_response.go
- model_change_eip_status_request.go
- model_change_eip_status_response.go
- model_change_ips_protect_mode_request.go
- model_change_ips_protect_mode_response.go
- model_change_ips_switch_status_request.go
- model_change_ips_switch_status_response.go
- model_change_protect_status_request_body.go
- model_clear_access_log_rule_hit_counts_dto.go
- model_common_response_dto_data.go
- model_covered_ipvo.go
- model_create_east_west_firewall_request.go
- model_create_east_west_firewall_request_body.go
- model_create_east_west_firewall_response.go
- model_create_firewall_req.go
- model_create_firewall_req_charge_info.go
- model_create_firewall_req_flavor.go
- model_create_firewall_req_tags.go
- model_create_firewall_request.go
- model_create_firewall_response.go
- model_delete_acl_rule_hit_count_request.go
- model_delete_acl_rule_hit_count_response.go
- model_delete_acl_rule_request.go
- model_delete_acl_rule_response.go
- model_delete_address_item_request.go
- model_delete_address_item_response.go
- model_delete_address_items_info_dto.go
- model_delete_address_set_request.go
- model_delete_address_set_response.go
- model_delete_black_white_list_request.go
- model_delete_black_white_list_response.go
- model_delete_domain_dto.go
- model_delete_domain_set_request.go
- model_delete_domain_set_response.go
- model_delete_domains_request.go
- model_delete_domains_response.go
- model_delete_firewall_request.go
- model_delete_firewall_response.go
- model_delete_rule_acl_dto.go
- model_delete_service_item_dto.go
- model_delete_service_item_request.go
- model_delete_service_item_response.go
- model_delete_service_set_request.go
- model_delete_service_set_response.go
- model_dns_servers_response_dto.go
- model_domain_info.go
- model_domain_set_info_dto.go
- model_domain_set_response_data.go
- model_domain_set_vo.go
- model_eip_count_resp_data.go
- model_eip_operate_protect_req.go
- model_eip_operate_protect_req_ip_infos.go
- model_eip_resource.go
- model_eip_response_data.go
- model_eip_switch_status_vo.go
- model_er_instance.go
- model_error_rsp.go
- model_ew_protect_resource_info.go
- model_firewall_instance_resource.go
- model_firewall_instance_vo.go
- model_flavor.go
- model_get_east_west_firewall_response_body.go
- model_get_firewall_instance_data.go
- model_get_firewall_instance_response_record.go
- model_http_firewall_instance_list_response_data.go
- model_http_get_acl_tag_response_data.go
- model_http_query_cfw_access_controller_logs_response_dto_data.go
- model_http_query_cfw_access_controller_logs_response_dto_data_records.go
- model_http_query_cfw_attack_logs_response_dto_data.go
- model_http_query_cfw_attack_logs_response_dto_data_records.go
- model_http_query_cfw_flow_logs_response_dto_data.go
- model_http_query_cfw_flow_logs_response_dto_data_records.go
- model_id_object.go
- model_ip_region_dto.go
- model_ips_protect_dto.go
- model_ips_protect_mode_object.go
- model_ips_switch_dto.go
- model_ips_switch_response_dto.go
- model_list_access_control_logs_request.go
- model_list_access_control_logs_response.go
- model_list_acl_rule_hit_count_request.go
- model_list_acl_rule_hit_count_response.go
- model_list_acl_rules_request.go
- model_list_acl_rules_response.go
- model_list_address_items_request.go
- model_list_address_items_response.go
- model_list_address_set_detail_request.go
- model_list_address_set_detail_response.go
- model_list_address_sets_request.go
- model_list_address_sets_response.go
- model_list_attack_logs_request.go
- model_list_attack_logs_response.go
- model_list_black_white_lists_request.go
- model_list_black_white_lists_response.go
- model_list_dns_servers_request.go
- model_list_dns_servers_response.go
- model_list_domain_parse_detail_request.go
- model_list_domain_parse_detail_response.go
- model_list_domain_response_data.go
- model_list_domain_sets_request.go
- model_list_domain_sets_response.go
- model_list_domains_request.go
- model_list_domains_response.go
- model_list_domainsets_response_data.go
- model_list_east_west_firewall_request.go
- model_list_east_west_firewall_response.go
- model_list_eip_count_request.go
- model_list_eip_count_response.go
- model_list_eips_request.go
- model_list_eips_response.go
- model_list_firewall_detail_request.go
- model_list_firewall_detail_response.go
- model_list_firewall_list_request.go
- model_list_firewall_list_response.go
- model_list_flow_logs_request.go
- model_list_flow_logs_response.go
- model_list_ips_protect_mode_request.go
- model_list_ips_protect_mode_response.go
- model_list_ips_switch_status_request.go
- model_list_ips_switch_status_response.go
- model_list_job_request.go
- model_list_job_response.go
- model_list_log_config_request.go
- model_list_log_config_response.go
- model_list_protected_vpcs_request.go
- model_list_protected_vpcs_response.go
- model_list_rule_acl_tags_request.go
- model_list_rule_acl_tags_response.go
- model_list_rule_hit_count_dto.go
- model_list_service_items_request.go
- model_list_service_items_response.go
- model_list_service_set_detail_request.go
- model_list_service_set_detail_response.go
- model_list_service_sets_request.go
- model_list_service_sets_response.go
- model_log_config_dto.go
- model_order_rule_acl_dto.go
- model_packet_message.go
- model_protect_object_vo.go
- model_query_fire_wall_instance_dto.go
- model_rule_acl_list_response_dto_data.go
- model_rule_acl_list_response_dto_data_records.go
- model_rule_address_dto.go
- model_rule_hit_count_object.go
- model_rule_hit_count_records.go
- model_rule_id.go
- model_rule_id_list.go
- model_rule_service_dto.go
- model_service_item.go
- model_service_item_ids.go
- model_service_item_list_response_dto_data.go
- model_service_item_list_response_dto_data_records.go
- model_service_set.go
- model_service_set_detail_response_dto.go
- model_service_set_records.go
- model_subnet_info.go
- model_success_rsp_data.go
- model_tag.go
- model_tag_info.go
- model_tags_vo.go
- model_update_acl_rule_order_request.go
- model_update_acl_rule_order_response.go
- model_update_acl_rule_request.go
- model_update_acl_rule_response.go
- model_update_address_set_dto.go
- model_update_address_set_request.go
- model_update_address_set_response.go
- model_update_address_set_response_data.go
- model_update_black_white_list_dto.go
- model_update_black_white_list_request.go
- model_update_black_white_list_response.go
- model_update_dns_servers_request.go
- model_update_dns_servers_request_body.go
- model_update_dns_servers_request_body_dns_server.go
- model_update_dns_servers_response.go
- model_update_domain_set_info_dto.go
- model_update_domain_set_request.go
- model_update_domain_set_response.go
- model_update_log_config_request.go
- model_update_log_config_response.go
- model_update_rule_acl_dto.go
- model_update_security_polcies_action_dto.go
- model_update_service_set_request.go
- model_update_service_set_response.go
- model_update_service_set_using_put_request_body.go
- model_vpc_attachment_detail.go
- model_vpc_detail.go
- model_vpc_protects_vo.go