model

package
v0.0.99 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAkskVo added in v0.0.71

type AccessAkskVo struct {

	// ak/sk的id
	Id *int32 `json:"id,omitempty"`

	// ak/sk的生成时间
	GmtCreate *string `json:"gmt_create,omitempty"`

	// ak/sk的修改时间
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 内部租户id
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 生成的ak
	Ak *string `json:"ak,omitempty"`

	// 生成的sk
	Sk *string `json:"sk,omitempty"`

	// ak/sk的状态
	Status *string `json:"status,omitempty"`

	// ak/sk的描述信息
	Descp *string `json:"descp,omitempty"`
}

ak/sk数据模型。

func (AccessAkskVo) String added in v0.0.71

func (o AccessAkskVo) String() string

type AppInfo added in v0.0.97

type AppInfo struct {

	// 环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 环境id
	EnvId *int64 `json:"env_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 应用id
	AppId *int64 `json:"app_id,omitempty"`

	// 在线探针数
	OnlineCount *int32 `json:"online_count,omitempty"`

	// 手动停止探针数
	DisableCount *int32 `json:"disable_count,omitempty"`

	// 离线探针数
	OfflineCount *int32 `json:"offline_count,omitempty"`
}

应用信息

func (AppInfo) String added in v0.0.97

func (o AppInfo) String() string

type AppSearchParam added in v0.0.97

type AppSearchParam struct {

	// 业务id
	BusinessId int64 `json:"business_id"`

	// 区域名称
	Region string `json:"region"`

	// 页码
	Page int32 `json:"page"`

	// 每页条数
	PageSize int32 `json:"page_size"`

	// 关键字
	Keyword *string `json:"keyword,omitempty"`
}

应用查询返回的数据结构

func (AppSearchParam) String added in v0.0.97

func (o AppSearchParam) String() string

type BusinessNodeModel

type BusinessNodeModel struct {

	// 默认业务
	Default *bool `json:"default,omitempty"`

	// 业务展示名称
	DisplayName *string `json:"display_name,omitempty"`

	// 企业项目的id
	EpsId *string `json:"eps_id,omitempty"`

	// 创建时间
	GmtCreate *string `json:"gmt_create,omitempty"`

	// 修改时间
	GmtModify *string `json:"gmt_modify,omitempty"`

	// 业务id
	Id *int64 `json:"id,omitempty"`

	// 内部租户id
	InnerDomainId *int32 `json:"inner_domain_id,omitempty"`

	// 是否是默认的业务
	IsDefault *bool `json:"is_default,omitempty"`

	// 业务的英文名称
	Name *string `json:"name,omitempty"`
}

业务数据结构

func (BusinessNodeModel) String

func (o BusinessNodeModel) String() string

type ConfigItem added in v0.0.97

type ConfigItem struct {

	// 配置项名称
	ConfigName *string `json:"config_name,omitempty"`

	// 配置项值
	ConfigValue *string `json:"config_value,omitempty"`

	// 是否重写
	ShouldOverride *bool `json:"should_override,omitempty"`
}

func (ConfigItem) String added in v0.0.97

func (o ConfigItem) String() string

type GetEnvMonitorItemListParam added in v0.0.97

type GetEnvMonitorItemListParam struct {

	// 环境id
	EnvId int64 `json:"env_id"`

	// 页码
	Page int32 `json:"page"`

	// 每页数量
	PageSize int32 `json:"page_size"`
}

查询特定环境下监控项参数模型

func (GetEnvMonitorItemListParam) String added in v0.0.97

type ListAkSkRequest added in v0.0.71

type ListAkSkRequest struct {
}

Request Object

func (ListAkSkRequest) String added in v0.0.71

func (o ListAkSkRequest) String() string

type ListAkSkResponse added in v0.0.71

type ListAkSkResponse struct {
	AccessAkSkModels *[]AccessAkskVo `json:"access_ak_sk_models,omitempty"`
	HttpStatusCode   int             `json:"-"`
}

Response Object

func (ListAkSkResponse) String added in v0.0.71

func (o ListAkSkResponse) String() string

type ListBusinessRequest

type ListBusinessRequest struct {
}

Request Object

func (ListBusinessRequest) String

func (o ListBusinessRequest) String() string

type ListBusinessResponse

type ListBusinessResponse struct {

	// 获取业务列表数据结构
	BusinessNodes  *[]BusinessNodeModel `json:"business_nodes,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListBusinessResponse) String

func (o ListBusinessResponse) String() string

type ListEnvMonitorItemRequest added in v0.0.97

type ListEnvMonitorItemRequest struct {
	XBusinessId *int64 `json:"x-business-id,omitempty"`

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

Request Object

func (ListEnvMonitorItemRequest) String added in v0.0.97

func (o ListEnvMonitorItemRequest) String() string

type ListEnvMonitorItemResponse added in v0.0.97

type ListEnvMonitorItemResponse struct {

	// 监控项列表
	MonitorItemList *[]MonitorItem `json:"monitor_item_list,omitempty"`

	// 总数
	TotalCount *int32 `json:"total_count,omitempty"`

	// 总页数
	TotalPage      *int32 `json:"totalPage,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEnvMonitorItemResponse) String added in v0.0.97

type MonitorItem added in v0.0.97

type MonitorItem struct {

	// 监控项id
	Id *int64 `json:"id,omitempty"`

	// 环境id
	EnvId *int64 `json:"env_id,omitempty"`

	// 采集器id
	CollectorId *int32 `json:"collector_id,omitempty"`

	// 采集器名称
	CollectorName *string `json:"collector_name,omitempty"`

	// 采集器展示名称
	DisplayName *string `json:"display_name,omitempty"`

	// 采集间隔
	CollectInterval *int32 `json:"collect_interval,omitempty"`

	// 是否禁用
	Disabled *bool `json:"disabled,omitempty"`

	// 修改采集状态用户id
	StatusChangeUserId *string `json:"status_change_user_id,omitempty"`

	// 修改采集状态用户名称
	StatusChangeUserName *string `json:"status_change_user_name,omitempty"`

	// 修改采集状态时间
	StatusChangeTime *string `json:"status_change_time,omitempty"`

	// 修改采集配置用户id
	ConfigChangeUserId *string `json:"config_change_user_id,omitempty"`

	// 修改采集配置用户名称
	ConfigChangeUserName *string `json:"config_change_user_name,omitempty"`

	// 修改采集配置时间
	ConfigChangeTime *string `json:"config_change_time,omitempty"`
}

监控项数据结构

func (MonitorItem) String added in v0.0.97

func (o MonitorItem) String() string

type SaveMonitorItemConfigRequest added in v0.0.97

type SaveMonitorItemConfigRequest struct {

	// 业务id
	XBusinessId int64 `json:"x-business-id"`

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

Request Object

func (SaveMonitorItemConfigRequest) String added in v0.0.97

type SaveMonitorItemConfigResponse added in v0.0.97

type SaveMonitorItemConfigResponse struct {

	// 保存监控系项返回状态
	Flag           *string `json:"flag,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SaveMonitorItemConfigResponse) String added in v0.0.97

type SaveMonitorItemParam added in v0.0.97

type SaveMonitorItemParam struct {

	// 监控项id
	MonitorItemId *int64 `json:"monitor_item_id,omitempty"`

	// 采集间隔
	Interval *int32 `json:"interval,omitempty"`

	// 环境id
	EnvId *int32 `json:"env_id,omitempty"`

	// 配置项列表
	ConfigValueList *[]ConfigItem `json:"config_value_list,omitempty"`
}

func (SaveMonitorItemParam) String added in v0.0.97

func (o SaveMonitorItemParam) String() string

type SearchApplicationRequest added in v0.0.97

type SearchApplicationRequest struct {

	// 应用id
	XBusinessId int64 `json:"x-business-id"`

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

Request Object

func (SearchApplicationRequest) String added in v0.0.97

func (o SearchApplicationRequest) String() string

type SearchApplicationResponse added in v0.0.97

type SearchApplicationResponse struct {

	// 应用列表
	AppInfoList *[]AppInfo `json:"app_info_list,omitempty"`

	// 应用总数目
	AppTotalCount *int32 `json:"app_total_count,omitempty"`

	// 应用名称和应用详情map表
	AppInfoMap     map[string]AppInfo `json:"app_info_map,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (SearchApplicationResponse) String added in v0.0.97

func (o SearchApplicationResponse) String() string

type ShowMasterAddressRequest added in v0.0.71

type ShowMasterAddressRequest struct {

	// region英文名称
	RegionName string `json:"region_name"`
}

Request Object

func (ShowMasterAddressRequest) String added in v0.0.71

func (o ShowMasterAddressRequest) String() string

type ShowMasterAddressResponse added in v0.0.71

type ShowMasterAddressResponse struct {

	// region的id,英文名称。
	RegionName *string `json:"region_name,omitempty"`

	// APMmaster服务对对外暴露的地址,提供服务注册和心跳上报。
	MasterAddress  *string `json:"master_address,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowMasterAddressResponse) String added in v0.0.71

func (o ShowMasterAddressResponse) String() string

Jump to

Keyboard shortcuts

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