Documentation ¶
Index ¶
- type Host
- type HostAgentStatus
- type HostAgentStatusEnum
- type HostChargingMode
- type HostChargingModeEnum
- type HostDetectResult
- type HostDetectResultEnum
- type HostHostStatus
- type HostHostStatusEnum
- type HostProtectStatus
- type HostProtectStatusEnum
- type HostVersion
- type HostVersionEnum
- type ListHostsRequest
- type ListHostsRequestAgentStatus
- type ListHostsRequestAgentStatusEnum
- type ListHostsRequestChargingMode
- type ListHostsRequestChargingModeEnum
- type ListHostsRequestDetectResult
- type ListHostsRequestDetectResultEnum
- type ListHostsRequestHostStatus
- type ListHostsRequestHostStatusEnum
- type ListHostsRequestProtectStatus
- type ListHostsRequestProtectStatusEnum
- type ListHostsRequestVersion
- type ListHostsRequestVersionEnum
- type ListHostsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct { AgentId *string `json:"agent_id,omitempty"` HostId *string `json:"host_id,omitempty"` HostName *string `json:"host_name,omitempty"` HostIp *string `json:"host_ip,omitempty"` PublicIp *string `json:"public_ip,omitempty"` EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` GroupName *string `json:"group_name,omitempty"` ExpireTime *int64 `json:"expire_time,omitempty"` PolicyGroupName *string `json:"policy_group_name,omitempty"` HostStatus *HostHostStatus `json:"host_status,omitempty"` AgentStatus *HostAgentStatus `json:"agent_status,omitempty"` Version *HostVersion `json:"version,omitempty"` ProtectStatus *HostProtectStatus `json:"protect_status,omitempty"` OsImage *string `json:"os_image,omitempty"` OsType *string `json:"os_type,omitempty"` OsBit *string `json:"os_bit,omitempty"` DetectResult *HostDetectResult `json:"detect_result,omitempty"` RiskPortNum *int32 `json:"risk_port_num,omitempty"` RiskVulNum *int32 `json:"risk_vul_num,omitempty"` RiskIntrusionNum *int32 `json:"risk_intrusion_num,omitempty"` RiskBaselineNum *int32 `json:"risk_baseline_num,omitempty"` ChargingMode *HostChargingMode `json:"charging_mode,omitempty"` ResourceId *string `json:"resource_id,omitempty"` }
type HostAgentStatus ¶
type HostAgentStatus struct {
// contains filtered or unexported fields
}
func (HostAgentStatus) MarshalJSON ¶
func (c HostAgentStatus) MarshalJSON() ([]byte, error)
func (*HostAgentStatus) UnmarshalJSON ¶
func (c *HostAgentStatus) UnmarshalJSON(b []byte) error
type HostAgentStatusEnum ¶
type HostAgentStatusEnum struct { UNINSTALLAGENT_STATUS_UNINSTALL HostAgentStatus ONLINEAGENT_STATUS_ONLINE HostAgentStatus OFFLINEAGENT_STATUS_OFFLINE HostAgentStatus }
func GetHostAgentStatusEnum ¶
func GetHostAgentStatusEnum() HostAgentStatusEnum
type HostChargingMode ¶
type HostChargingMode struct {
// contains filtered or unexported fields
}
func (HostChargingMode) MarshalJSON ¶
func (c HostChargingMode) MarshalJSON() ([]byte, error)
func (*HostChargingMode) UnmarshalJSON ¶
func (c *HostChargingMode) UnmarshalJSON(b []byte) error
type HostChargingModeEnum ¶
type HostChargingModeEnum struct { PACKET_CYCLECHARGING_MODE_PACKET_CYCLE HostChargingMode ON_DEMANDCHARGING_MODE_ON_DEMAND HostChargingMode }
func GetHostChargingModeEnum ¶
func GetHostChargingModeEnum() HostChargingModeEnum
type HostDetectResult ¶
type HostDetectResult struct {
// contains filtered or unexported fields
}
func (HostDetectResult) MarshalJSON ¶
func (c HostDetectResult) MarshalJSON() ([]byte, error)
func (*HostDetectResult) UnmarshalJSON ¶
func (c *HostDetectResult) UnmarshalJSON(b []byte) error
type HostDetectResultEnum ¶
type HostDetectResultEnum struct { UNDETECTDETECT_RESULT_UNDETECT HostDetectResult CLEANDETECT_RESULT_CLEAN HostDetectResult RISKDETECT_RESULT_RISK HostDetectResult }
func GetHostDetectResultEnum ¶
func GetHostDetectResultEnum() HostDetectResultEnum
type HostHostStatus ¶
type HostHostStatus struct {
// contains filtered or unexported fields
}
func (HostHostStatus) MarshalJSON ¶
func (c HostHostStatus) MarshalJSON() ([]byte, error)
func (*HostHostStatus) UnmarshalJSON ¶
func (c *HostHostStatus) UnmarshalJSON(b []byte) error
type HostHostStatusEnum ¶
type HostHostStatusEnum struct { ACTIVEHOST_STATUS_ACTIVE HostHostStatus SHUTOFFHOST_STATUS_SHUTOFF HostHostStatus BUILDINGHOST_STATUS_BUILDING HostHostStatus ERRORHOST_STATUS_ERROR HostHostStatus }
func GetHostHostStatusEnum ¶
func GetHostHostStatusEnum() HostHostStatusEnum
type HostProtectStatus ¶
type HostProtectStatus struct {
// contains filtered or unexported fields
}
func (HostProtectStatus) MarshalJSON ¶
func (c HostProtectStatus) MarshalJSON() ([]byte, error)
func (*HostProtectStatus) UnmarshalJSON ¶
func (c *HostProtectStatus) UnmarshalJSON(b []byte) error
type HostProtectStatusEnum ¶
type HostProtectStatusEnum struct { CLOSEDPROTECT_STATUS_CLOSED HostProtectStatus OPENEDPROTECT_STATUS_OPENED HostProtectStatus }
func GetHostProtectStatusEnum ¶
func GetHostProtectStatusEnum() HostProtectStatusEnum
type HostVersion ¶
type HostVersion struct {
// contains filtered or unexported fields
}
func (HostVersion) MarshalJSON ¶
func (c HostVersion) MarshalJSON() ([]byte, error)
func (*HostVersion) UnmarshalJSON ¶
func (c *HostVersion) UnmarshalJSON(b []byte) error
type HostVersionEnum ¶
type HostVersionEnum struct { HSS_VERSION_NULLVERSION_NULL HostVersion HSS_VERSION_BASICVERSION_BASIC HostVersion HSS_VERSION_ENTERPRISEVERSION_ENTERPRISE HostVersion HSS_VERSION_PREMIUMVERSION_PREMIUM HostVersion HSS_VERSION_WTPVERSION_WTP HostVersion }
func GetHostVersionEnum ¶
func GetHostVersionEnum() HostVersionEnum
type ListHostsRequest ¶
type ListHostsRequest struct { Version *ListHostsRequestVersion `json:"version,omitempty"` AgentStatus *ListHostsRequestAgentStatus `json:"agent_status,omitempty"` HostStatus *ListHostsRequestHostStatus `json:"host_status,omitempty"` ProtectStatus *ListHostsRequestProtectStatus `json:"protect_status,omitempty"` DetectResult *ListHostsRequestDetectResult `json:"detect_result,omitempty"` HostName *string `json:"host_name,omitempty"` HostIp *string `json:"host_ip,omitempty"` PublicIp *string `json:"public_ip,omitempty"` OsType *string `json:"os_type,omitempty"` ChargingMode *ListHostsRequestChargingMode `json:"charging_mode,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListHostsRequest) String ¶
func (o ListHostsRequest) String() string
type ListHostsRequestAgentStatus ¶
type ListHostsRequestAgentStatus struct {
// contains filtered or unexported fields
}
func (ListHostsRequestAgentStatus) MarshalJSON ¶
func (c ListHostsRequestAgentStatus) MarshalJSON() ([]byte, error)
func (*ListHostsRequestAgentStatus) UnmarshalJSON ¶
func (c *ListHostsRequestAgentStatus) UnmarshalJSON(b []byte) error
type ListHostsRequestAgentStatusEnum ¶
type ListHostsRequestAgentStatusEnum struct { UNINSTALLAGENT_STATUS_UNINSTALL ListHostsRequestAgentStatus ONLINEAGENT_STATUS_ONLINE ListHostsRequestAgentStatus OFFLINEAGENT_STATUS_OFFLINE ListHostsRequestAgentStatus }
func GetListHostsRequestAgentStatusEnum ¶
func GetListHostsRequestAgentStatusEnum() ListHostsRequestAgentStatusEnum
type ListHostsRequestChargingMode ¶
type ListHostsRequestChargingMode struct {
// contains filtered or unexported fields
}
func (ListHostsRequestChargingMode) MarshalJSON ¶
func (c ListHostsRequestChargingMode) MarshalJSON() ([]byte, error)
func (*ListHostsRequestChargingMode) UnmarshalJSON ¶
func (c *ListHostsRequestChargingMode) UnmarshalJSON(b []byte) error
type ListHostsRequestChargingModeEnum ¶
type ListHostsRequestChargingModeEnum struct { PACKET_CYCLECHARGING_MODE_PACKET_CYCLE ListHostsRequestChargingMode ON_DEMANDCHARGING_MODE_ON_DEMAND ListHostsRequestChargingMode }
func GetListHostsRequestChargingModeEnum ¶
func GetListHostsRequestChargingModeEnum() ListHostsRequestChargingModeEnum
type ListHostsRequestDetectResult ¶
type ListHostsRequestDetectResult struct {
// contains filtered or unexported fields
}
func (ListHostsRequestDetectResult) MarshalJSON ¶
func (c ListHostsRequestDetectResult) MarshalJSON() ([]byte, error)
func (*ListHostsRequestDetectResult) UnmarshalJSON ¶
func (c *ListHostsRequestDetectResult) UnmarshalJSON(b []byte) error
type ListHostsRequestDetectResultEnum ¶
type ListHostsRequestDetectResultEnum struct { UNDETECTDETECT_RESULT_UNDETECT ListHostsRequestDetectResult CLEANDETECT_RESULT_CLEAN ListHostsRequestDetectResult RISKDETECT_RESULT_RISK ListHostsRequestDetectResult }
func GetListHostsRequestDetectResultEnum ¶
func GetListHostsRequestDetectResultEnum() ListHostsRequestDetectResultEnum
type ListHostsRequestHostStatus ¶
type ListHostsRequestHostStatus struct {
// contains filtered or unexported fields
}
func (ListHostsRequestHostStatus) MarshalJSON ¶
func (c ListHostsRequestHostStatus) MarshalJSON() ([]byte, error)
func (*ListHostsRequestHostStatus) UnmarshalJSON ¶
func (c *ListHostsRequestHostStatus) UnmarshalJSON(b []byte) error
type ListHostsRequestHostStatusEnum ¶
type ListHostsRequestHostStatusEnum struct { ACTIVEHOST_STATUS_ACTIVE ListHostsRequestHostStatus SHUTOFFHOST_STATUS_SHUTOFF ListHostsRequestHostStatus BUILDINGHOST_STATUS_BUILDING ListHostsRequestHostStatus ERRORHOST_STATUS_ERROR ListHostsRequestHostStatus }
func GetListHostsRequestHostStatusEnum ¶
func GetListHostsRequestHostStatusEnum() ListHostsRequestHostStatusEnum
type ListHostsRequestProtectStatus ¶
type ListHostsRequestProtectStatus struct {
// contains filtered or unexported fields
}
func (ListHostsRequestProtectStatus) MarshalJSON ¶
func (c ListHostsRequestProtectStatus) MarshalJSON() ([]byte, error)
func (*ListHostsRequestProtectStatus) UnmarshalJSON ¶
func (c *ListHostsRequestProtectStatus) UnmarshalJSON(b []byte) error
type ListHostsRequestProtectStatusEnum ¶
type ListHostsRequestProtectStatusEnum struct { CLOSEDPROTECT_STATUS_CLOSED ListHostsRequestProtectStatus OPENEDPROTECT_STATUS_OPENED ListHostsRequestProtectStatus }
func GetListHostsRequestProtectStatusEnum ¶
func GetListHostsRequestProtectStatusEnum() ListHostsRequestProtectStatusEnum
type ListHostsRequestVersion ¶
type ListHostsRequestVersion struct {
// contains filtered or unexported fields
}
func (ListHostsRequestVersion) MarshalJSON ¶
func (c ListHostsRequestVersion) MarshalJSON() ([]byte, error)
func (*ListHostsRequestVersion) UnmarshalJSON ¶
func (c *ListHostsRequestVersion) UnmarshalJSON(b []byte) error
type ListHostsRequestVersionEnum ¶
type ListHostsRequestVersionEnum struct { HSS_VERSION_NULLVERSION_NULL ListHostsRequestVersion HSS_VERSION_BASICVERSION_BASIC ListHostsRequestVersion HSS_VERSION_ENTERPRISEVERSION_ENTERPRISE ListHostsRequestVersion HSS_VERSION_PREMIUMVERSION_PREMIUM ListHostsRequestVersion HSS_VERSION_WTPVERSION_WTP ListHostsRequestVersion }
func GetListHostsRequestVersionEnum ¶
func GetListHostsRequestVersionEnum() ListHostsRequestVersionEnum
type ListHostsResponse ¶
type ListHostsResponse struct { TotalNum *int32 `json:"total_num,omitempty"` DataList *[]Host `json:"data_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListHostsResponse) String ¶
func (o ListHostsResponse) String() string
Click to show internal directories.
Click to hide internal directories.