model

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessConfigBaseLogInfo

type AccessConfigBaseLogInfo struct {

	// 日志组ID
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志流ID
	LogStreamId *string `json:"log_stream_id,omitempty"`
}

AccessConfigBaseLogInfo 日志接入基础日志信息。

func (AccessConfigBaseLogInfo) String

func (o AccessConfigBaseLogInfo) String() string

type AccessConfigBaseLogInfoCreate

type AccessConfigBaseLogInfoCreate struct {

	// 日志组ID
	LogGroupId string `json:"log_group_id"`

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`
}

AccessConfigBaseLogInfoCreate 日志接入基础日志信息。

func (AccessConfigBaseLogInfoCreate) String

type AccessConfigDeatilCreate

type AccessConfigDeatilCreate struct {

	// 采集路径。 1. 路径必须以/或者字母:\\\\开头 2. 不能包含特殊字符<> ' | \" 且不能只输入/ 3. 第一级目录不支持通配符*:不能以/_**   /_*开头 4.**只能出现一次“ CCE类型中 容器路径和主机路径必填,标准输出不用
	Paths *[]string `json:"paths,omitempty"`

	// 采集路径黑名单。 1. 路径必须以/或者字母:\\\\开头 2. 不能包含特殊字符<> ' | \" 且不能只输入/ 3. 第一级目录不支持通配符*:不能以/_**   /_*开头 4.**只能出现一次
	BlackPaths *[]string `json:"black_paths,omitempty"`

	Format *AccessConfigFormatCreate `json:"format,omitempty"`

	WindowsLogInfo *AccessConfigWindowsLogInfoCreate `json:"windows_log_info,omitempty"`

	// 标准输出开关,仅CCE接入类型时使用
	Stdout *bool `json:"stdout,omitempty"`

	// 标准输出开关标准错误开关,仅CCE接入类型时使用
	Stderr *bool `json:"stderr,omitempty"`

	// CCE接入类型,仅CCE接入类型时使用
	PathType *AccessConfigDeatilCreatePathType `json:"pathType,omitempty"`

	// K8s Namespace正则匹配,仅CCE接入类型时使用
	NamespaceRegex *string `json:"namespaceRegex,omitempty"`

	// K8s Pod正则匹配,仅CCE接入类型时使用
	PodNameRegex *string `json:"podNameRegex,omitempty"`

	// K8s 容器名称正则匹配,仅CCE接入类型时使用
	ContainerNameRegex *string `json:"containerNameRegex,omitempty"`

	// 容器 Label白名单,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	IncludeLabels map[string]string `json:"includeLabels,omitempty"`

	// 容器 Label黑名单,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	ExcludeLabels map[string]string `json:"excludeLabels,omitempty"`

	// 环境变量白名单,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	IncludeEnvs map[string]string `json:"includeEnvs,omitempty"`

	// 环境变量黑名单,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	ExcludeEnvs map[string]string `json:"excludeEnvs,omitempty"`

	// 容器 Label日志标签,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	LogLabels map[string]string `json:"logLabels,omitempty"`

	// 环境变量日志标签,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	LogEnvs map[string]string `json:"logEnvs,omitempty"`

	// K8s Label白名单,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	IncludeK8sLabels map[string]string `json:"includeK8sLabels,omitempty"`

	// K8s Label黑名单,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	ExcludeK8sLabels map[string]string `json:"excludeK8sLabels,omitempty"`

	// K8s Label日志标签,最多支持创建30个,keyname不支持重名,仅CCE接入类型时使用
	LogK8s map[string]string `json:"logK8s,omitempty"`
}

AccessConfigDeatilCreate 日志接入详细信息

func (AccessConfigDeatilCreate) String

func (o AccessConfigDeatilCreate) String() string

type AccessConfigDeatilCreatePathType

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

func (AccessConfigDeatilCreatePathType) MarshalJSON

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

func (*AccessConfigDeatilCreatePathType) UnmarshalJSON

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

func (AccessConfigDeatilCreatePathType) Value

type AccessConfigDeatilCreatePathTypeEnum

type AccessConfigDeatilCreatePathTypeEnum struct {
	HOST_FILE        AccessConfigDeatilCreatePathType
	CONTAINER_STDOUT AccessConfigDeatilCreatePathType
	CONTAINER_FILE   AccessConfigDeatilCreatePathType
}

func GetAccessConfigDeatilCreatePathTypeEnum

func GetAccessConfigDeatilCreatePathTypeEnum() AccessConfigDeatilCreatePathTypeEnum

type AccessConfigFormatCreate

type AccessConfigFormatCreate struct {
	Single *AccessConfigFormatSingleCreate `json:"single,omitempty"`

	Multi *AccessConfigFormatMutilCreate `json:"multi,omitempty"`
}

AccessConfigFormatCreate 日志格式

func (AccessConfigFormatCreate) String

func (o AccessConfigFormatCreate) String() string

type AccessConfigFormatMutilCreate

type AccessConfigFormatMutilCreate struct {

	// 单行日志。time:日志时间,regular:正则模式。
	Mode AccessConfigFormatMutilCreateMode `json:"mode"`

	// 日志时间。 当mode为\"regular\",则输入正则表达式 当mode为\"time\",则时间通配符:用日志打印时间来标识一条日志数据,通过时间通配符来匹配日志,每条日志的行首显示日志的打印时间;如果日志中的时间格式为:2019-01-01 23:59:59,时间通配符应该填写为:YYYY-MM-DD hh:mm:ss;如果日志中的时间格式为:19-1-1 23:59:59,时间通配符应该填写为:YY-M-D hh:mm:ss
	Value string `json:"value"`
}

AccessConfigFormatMutilCreate 日志接入格式多行日志

func (AccessConfigFormatMutilCreate) String

type AccessConfigFormatMutilCreateMode

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

func (AccessConfigFormatMutilCreateMode) MarshalJSON

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

func (*AccessConfigFormatMutilCreateMode) UnmarshalJSON

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

func (AccessConfigFormatMutilCreateMode) Value

type AccessConfigFormatMutilCreateModeEnum

type AccessConfigFormatMutilCreateModeEnum struct {
	TIME    AccessConfigFormatMutilCreateMode
	REGULAR AccessConfigFormatMutilCreateMode
}

func GetAccessConfigFormatMutilCreateModeEnum

func GetAccessConfigFormatMutilCreateModeEnum() AccessConfigFormatMutilCreateModeEnum

type AccessConfigFormatSingleCreate

type AccessConfigFormatSingleCreate struct {

	// 单行日志。system:系统时间,wildcard:时间通配符。
	Mode AccessConfigFormatSingleCreateMode `json:"mode"`

	// 日志时间。 当mode为”system”,则填入当前时间戳。 当mode为\"wildcard\",则时间通配符:用日志打印时间来标识一条日志数据,通过时间通配符来匹配日志,每条日志的行首显示日志的打印时间;如果日志中的时间格式为:2019-01-01 23:59:59,时间通配符应该填写为:YYYY-MM-DD hh:mm:ss;如果日志中的时间格式为:19-1-1 23:59:59,时间通配符应该填写为:YY-M-D hh:mm:ss
	Value string `json:"value"`
}

AccessConfigFormatSingleCreate 日志接入格式单行日志

func (AccessConfigFormatSingleCreate) String

type AccessConfigFormatSingleCreateMode

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

func (AccessConfigFormatSingleCreateMode) MarshalJSON

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

func (*AccessConfigFormatSingleCreateMode) UnmarshalJSON

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

func (AccessConfigFormatSingleCreateMode) Value

type AccessConfigFormatSingleCreateModeEnum

type AccessConfigFormatSingleCreateModeEnum struct {
	SYSTEM   AccessConfigFormatSingleCreateMode
	WILDCARD AccessConfigFormatSingleCreateMode
}

func GetAccessConfigFormatSingleCreateModeEnum

func GetAccessConfigFormatSingleCreateModeEnum() AccessConfigFormatSingleCreateModeEnum

type AccessConfigHostGroupIdList

type AccessConfigHostGroupIdList struct {

	// 主机组ID列表
	HostGroupIdList []string `json:"host_group_id_list"`
}

AccessConfigHostGroupIdList 日志接入主机组ID列表

func (AccessConfigHostGroupIdList) String

type AccessConfigHostGroupIdListCreate

type AccessConfigHostGroupIdListCreate struct {

	// 主机组ID列表
	HostGroupIdList []string `json:"host_group_id_list"`
}

AccessConfigHostGroupIdListCreate 日志接入主机组ID列表

func (AccessConfigHostGroupIdListCreate) String

type AccessConfigInfo

type AccessConfigInfo struct {

	// 日志接入ID
	AccessConfigId *string `json:"access_config_id,omitempty"`

	// 日志接入名称
	AccessConfigName *string `json:"access_config_name,omitempty"`

	// 日志接入类型。AGENT:ECS接入  K8S_CCE: CCE接入
	AccessConfigType *AccessConfigInfoAccessConfigType `json:"access_config_type,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	AccessConfigDetail *AccessConfigDeatilCreate `json:"access_config_detail,omitempty"`

	LogInfo *AccessConfigQueryLogInfo `json:"log_info,omitempty"`

	HostGroupInfo *AccessConfigHostGroupIdList `json:"host_group_info,omitempty"`

	// 标签信息。KEY不能重复,最多20个标签
	AccessConfigTag *[]AccessConfigTag `json:"access_config_tag,omitempty"`

	// 二进制采集
	LogSplit *bool `json:"log_split,omitempty"`

	// 日志拆分
	BinaryCollect *bool `json:"binary_collect,omitempty"`
}

AccessConfigInfo 日志接入配置

func (AccessConfigInfo) String

func (o AccessConfigInfo) String() string

type AccessConfigInfoAccessConfigType

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

func (AccessConfigInfoAccessConfigType) MarshalJSON

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

func (*AccessConfigInfoAccessConfigType) UnmarshalJSON

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

func (AccessConfigInfoAccessConfigType) Value

type AccessConfigInfoAccessConfigTypeEnum

type AccessConfigInfoAccessConfigTypeEnum struct {
	AGENT    AccessConfigInfoAccessConfigType
	K8_S_CCE AccessConfigInfoAccessConfigType
}

func GetAccessConfigInfoAccessConfigTypeEnum

func GetAccessConfigInfoAccessConfigTypeEnum() AccessConfigInfoAccessConfigTypeEnum

type AccessConfigQueryLogInfo

type AccessConfigQueryLogInfo struct {

	// 日志组ID
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志流ID
	LogStreamId *string `json:"log_stream_id,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`
}

AccessConfigQueryLogInfo 日志接入日志详情

func (AccessConfigQueryLogInfo) String

func (o AccessConfigQueryLogInfo) String() string

type AccessConfigTag

type AccessConfigTag struct {
	Key *string `json:"key,omitempty"`

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

func (AccessConfigTag) String

func (o AccessConfigTag) String() string

type AccessConfigTimeOffsetCreate

type AccessConfigTimeOffsetCreate struct {

	// 偏移时间。 当\"unit\"选择\"day\"时,范围为1~7天。 当\"unit\"选择\"hour\"时,范围为1~168小时。 当\"unit\"选择\"sec\"时,范围为1~604800秒。
	Offset int64 `json:"offset"`

	// 偏移时间单位。day :天,hour:小时,sec:秒
	Unit AccessConfigTimeOffsetCreateUnit `json:"unit"`
}

AccessConfigTimeOffsetCreate 日志接入偏移时间

func (AccessConfigTimeOffsetCreate) String

type AccessConfigTimeOffsetCreateUnit

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

func (AccessConfigTimeOffsetCreateUnit) MarshalJSON

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

func (*AccessConfigTimeOffsetCreateUnit) UnmarshalJSON

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

func (AccessConfigTimeOffsetCreateUnit) Value

type AccessConfigWindowsLogInfoCreate

type AccessConfigWindowsLogInfoCreate struct {

	// 采集Windows事件日志类型。Application:应用系统,System:系统,Security:安全,Setup:启动
	Categorys *[]AccessConfigWindowsLogInfoCreateCategorys `json:"categorys,omitempty"`

	TimeOffset *AccessConfigTimeOffsetCreate `json:"time_offset,omitempty"`

	// 事件等级。information:info,warning:告警,error:错误,critical:关键,verbose:冗长
	EventLevel *[]AccessConfigWindowsLogInfoCreateEventLevel `json:"event_level,omitempty"`
}

AccessConfigWindowsLogInfoCreate 日志接入采集Windows事件日志

func (AccessConfigWindowsLogInfoCreate) String

type AccessConfigWindowsLogInfoCreateCategorys

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

func (AccessConfigWindowsLogInfoCreateCategorys) MarshalJSON

func (*AccessConfigWindowsLogInfoCreateCategorys) UnmarshalJSON

func (AccessConfigWindowsLogInfoCreateCategorys) Value

type AccessConfigWindowsLogInfoCreateEventLevel

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

func (AccessConfigWindowsLogInfoCreateEventLevel) MarshalJSON

func (*AccessConfigWindowsLogInfoCreateEventLevel) UnmarshalJSON

func (AccessConfigWindowsLogInfoCreateEventLevel) Value

type Annotations

type Annotations struct {

	// 告警列表详情
	Message string `json:"message"`

	// 日志组/流id,名称
	LogInfo string `json:"log_info"`

	// 当前值
	CurrentValue string `json:"current_value"`

	// (sql/关键词)告警详情原始数据
	OldAnnotations string `json:"old_annotations"`
}

func (Annotations) String

func (o Annotations) String() string

type AomMappingLogStreamInfo

type AomMappingLogStreamInfo struct {

	// 日志组id
	TargetLogGroupId string `json:"target_log_group_id"`

	// 目标日志组名称。
	TargetLogGroupName string `json:"target_log_group_name"`

	// 日志流id
	TargetLogStreamId string `json:"target_log_stream_id"`

	// 目标日志组名称。
	TargetLogStreamName string `json:"target_log_stream_name"`
}

func (AomMappingLogStreamInfo) String

func (o AomMappingLogStreamInfo) String() string

type AomMappingRequestInfo

type AomMappingRequestInfo struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 接入规则名称
	RuleName string `json:"rule_name"`

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

	RuleInfo *AomMappingRuleInfo `json:"rule_info"`
}

func (AomMappingRequestInfo) String

func (o AomMappingRequestInfo) String() string

type AomMappingRuleInfo

type AomMappingRuleInfo struct {

	// 集群id
	ClusterId string `json:"cluster_id"`

	// 集群名称
	ClusterName string `json:"cluster_name"`

	// 日志流前缀
	DeploymentsPrefix *string `json:"deployments_prefix,omitempty"`

	// 工作负载
	Deployments []string `json:"deployments"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 容器名称
	ContainerName *string `json:"container_name,omitempty"`

	// 接入规则详情
	Files []AomMappingfilesInfo `json:"files"`
}

func (AomMappingRuleInfo) String

func (o AomMappingRuleInfo) String() string

type AomMappingRuleResp

type AomMappingRuleResp struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 接入规则名称
	RuleName string `json:"rule_name"`

	// 接入规则id
	RuleId string `json:"rule_id"`

	RuleInfo *AomMappingRuleInfo `json:"rule_info"`
}

func (AomMappingRuleResp) String

func (o AomMappingRuleResp) String() string

type AomMappingfilesInfo

type AomMappingfilesInfo struct {

	// 路径名
	FileName string `json:"file_name"`

	LogStreamInfo *AomMappingLogStreamInfo `json:"log_stream_info"`
}

func (AomMappingfilesInfo) String

func (o AomMappingfilesInfo) String() string

type BriefStructTemplateModel

type BriefStructTemplateModel struct {

	// 模板创建/更新时间
	CreateTime int64 `json:"create_time"`

	// 模板id
	Id string `json:"id"`

	// 模板名称
	TemplateName string `json:"template_name"`

	// 结构化类型,当前支持regex,json,split,nginx
	TemplateType BriefStructTemplateModelTemplateType `json:"template_type"`

	// 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	ProjectId string `json:"project_id"`
}

BriefStructTemplateModel 结构化模板简略对象

func (BriefStructTemplateModel) String

func (o BriefStructTemplateModel) String() string

type BriefStructTemplateModelTemplateType

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

func (BriefStructTemplateModelTemplateType) MarshalJSON

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

func (*BriefStructTemplateModelTemplateType) UnmarshalJSON

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

func (BriefStructTemplateModelTemplateType) Value

type ChangeAlarmRuleStatus

type ChangeAlarmRuleStatus struct {

	// 告警规则ID
	AlarmRuleId string `json:"alarm_rule_id"`

	// 状态(RUNNING/STOPPING)
	Status string `json:"status"`

	// 类型
	Type string `json:"type"`
}

ChangeAlarmRuleStatus 改变告警规则状态

func (ChangeAlarmRuleStatus) String

func (o ChangeAlarmRuleStatus) String() string

type ChartConfig

type ChartConfig struct {

	// 是否开启排序
	CanSort bool `json:"can_sort"`

	// 是否开启搜索
	CanSearch bool `json:"can_search"`

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

func (ChartConfig) String

func (o ChartConfig) String() string

type CreateAccessConfigRequest

type CreateAccessConfigRequest struct {
	Body *CreateAccessConfigRequestBody `json:"body,omitempty"`
}

CreateAccessConfigRequest Request Object

func (CreateAccessConfigRequest) String

func (o CreateAccessConfigRequest) String() string

type CreateAccessConfigRequestBody

type CreateAccessConfigRequestBody struct {

	// 日志接入名称。 满足正则表达式:^(?!\\.)(?!_)(?!.*?\\.$)[\\u4e00-\\u9fa5a-zA-Z0-9-_.]{1,64}$
	AccessConfigName string `json:"access_config_name"`

	// 日志接入类型。AGENT:ECS接入,K8S_CCE:CCE接入
	AccessConfigType CreateAccessConfigRequestBodyAccessConfigType `json:"access_config_type"`

	AccessConfigDetail *AccessConfigDeatilCreate `json:"access_config_detail"`

	LogInfo *AccessConfigBaseLogInfoCreate `json:"log_info"`

	HostGroupInfo *AccessConfigHostGroupIdListCreate `json:"host_group_info,omitempty"`

	// 标签信息。KEY不能重复,最多20个标签
	AccessConfigTag *[]AccessConfigTag `json:"access_config_tag,omitempty"`

	// 二进制采集
	BinaryCollect *bool `json:"binary_collect,omitempty"`

	// 日志拆分
	LogSplit *bool `json:"log_split,omitempty"`
}

CreateAccessConfigRequestBody 创建日志接入请求体

func (CreateAccessConfigRequestBody) String

type CreateAccessConfigRequestBodyAccessConfigType

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

func (CreateAccessConfigRequestBodyAccessConfigType) MarshalJSON

func (*CreateAccessConfigRequestBodyAccessConfigType) UnmarshalJSON

func (CreateAccessConfigRequestBodyAccessConfigType) Value

type CreateAccessConfigResponse

type CreateAccessConfigResponse struct {

	// 日志接入ID
	AccessConfigId *string `json:"access_config_id,omitempty"`

	// 日志接入名称
	AccessConfigName *string `json:"access_config_name,omitempty"`

	// 日志接入类型。AGENT:ECS接入  K8S_CCE: CCE接入
	AccessConfigType *CreateAccessConfigResponseAccessConfigType `json:"access_config_type,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	AccessConfigDetail *AccessConfigDeatilCreate `json:"access_config_detail,omitempty"`

	LogInfo *AccessConfigQueryLogInfo `json:"log_info,omitempty"`

	HostGroupInfo *AccessConfigHostGroupIdList `json:"host_group_info,omitempty"`

	// 标签信息。KEY不能重复,最多20个标签
	AccessConfigTag *[]AccessConfigTag `json:"access_config_tag,omitempty"`

	// 二进制采集
	LogSplit *bool `json:"log_split,omitempty"`

	// 日志拆分
	BinaryCollect  *bool `json:"binary_collect,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateAccessConfigResponse Response Object

func (CreateAccessConfigResponse) String

type CreateAccessConfigResponseAccessConfigType

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

func (CreateAccessConfigResponseAccessConfigType) MarshalJSON

func (*CreateAccessConfigResponseAccessConfigType) UnmarshalJSON

func (CreateAccessConfigResponseAccessConfigType) Value

type CreateAccessConfigResponseAccessConfigTypeEnum

type CreateAccessConfigResponseAccessConfigTypeEnum struct {
	AGENT    CreateAccessConfigResponseAccessConfigType
	K8_S_CCE CreateAccessConfigResponseAccessConfigType
}

func GetCreateAccessConfigResponseAccessConfigTypeEnum

func GetCreateAccessConfigResponseAccessConfigTypeEnum() CreateAccessConfigResponseAccessConfigTypeEnum

type CreateAomMappingRulesRequest

type CreateAomMappingRulesRequest struct {

	// 是否开启自动映射
	IsBatch bool `json:"isBatch"`

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

CreateAomMappingRulesRequest Request Object

func (CreateAomMappingRulesRequest) String

type CreateAomMappingRulesResponse

type CreateAomMappingRulesResponse struct {
	Body           *[]AomMappingRuleResp `json:"body,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

CreateAomMappingRulesResponse Response Object

func (CreateAomMappingRulesResponse) String

type CreateDashBoardReqBody

type CreateDashBoardReqBody struct {

	// 仪表盘分组名称
	GroupName *string `json:"group_name,omitempty"`

	// 仪表盘名称
	Title string `json:"title"`
}

func (CreateDashBoardReqBody) String

func (o CreateDashBoardReqBody) String() string

type CreateDashBoardRequest

type CreateDashBoardRequest struct {
	Body *CreateDashBoardReqBody `json:"body,omitempty"`
}

CreateDashBoardRequest Request Object

func (CreateDashBoardRequest) String

func (o CreateDashBoardRequest) String() string

type CreateDashBoardResponse

type CreateDashBoardResponse struct {

	// 仪表盘图表
	Charts *[]string `json:"charts,omitempty"`

	// 过滤条件
	Filters *[]string `json:"filters,omitempty"`

	// 日志组名称
	GroupName *string `json:"group_name,omitempty"`

	// 仪表盘id
	Id *string `json:"id,omitempty"`

	// 最近修改时间
	LastUpdateTime *string `json:"last_update_time,omitempty"`

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

	// 仪表盘名称
	Title *string `json:"title,omitempty"`

	// 是否使用模板
	UseSystemTemplate *string `json:"useSystemTemplate,omitempty"`
	HttpStatusCode    int     `json:"-"`
}

CreateDashBoardResponse Response Object

func (CreateDashBoardResponse) String

func (o CreateDashBoardResponse) String() string

type CreateDashboardGroupReq

type CreateDashboardGroupReq struct {

	// 仪表盘分组名称
	GroupName string `json:"group_name"`
}

func (CreateDashboardGroupReq) String

func (o CreateDashboardGroupReq) String() string

type CreateDashboardGroupRequest

type CreateDashboardGroupRequest struct {
	Body *CreateDashboardGroupReq `json:"body,omitempty"`
}

CreateDashboardGroupRequest Request Object

func (CreateDashboardGroupRequest) String

type CreateDashboardGroupResponse

type CreateDashboardGroupResponse struct {

	// 响应结果
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDashboardGroupResponse Response Object

func (CreateDashboardGroupResponse) String

type CreateHostGroupRequest

type CreateHostGroupRequest struct {
	Body *CreateHostGroupRequestBody `json:"body,omitempty"`
}

CreateHostGroupRequest Request Object

func (CreateHostGroupRequest) String

func (o CreateHostGroupRequest) String() string

type CreateHostGroupRequestBody

type CreateHostGroupRequestBody struct {

	// 主机组名称
	HostGroupName string `json:"host_group_name"`

	// 主机组类型。windows:windows类型,linux:linux类型
	HostGroupType CreateHostGroupRequestBodyHostGroupType `json:"host_group_type"`

	// 主机组ID列表。主机类型必须与主机组类型一致
	HostIdList *[]string `json:"host_id_list,omitempty"`

	// 标签信息。KEY不能重复
	HostGroupTag *[]HostGroupTag `json:"host_group_tag,omitempty"`
}

CreateHostGroupRequestBody 创建主机组请求体

func (CreateHostGroupRequestBody) String

type CreateHostGroupRequestBodyHostGroupType

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

func (CreateHostGroupRequestBodyHostGroupType) MarshalJSON

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

func (*CreateHostGroupRequestBodyHostGroupType) UnmarshalJSON

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

func (CreateHostGroupRequestBodyHostGroupType) Value

type CreateHostGroupRequestBodyHostGroupTypeEnum

type CreateHostGroupRequestBodyHostGroupTypeEnum struct {
	LINUX   CreateHostGroupRequestBodyHostGroupType
	WINDOWS CreateHostGroupRequestBodyHostGroupType
}

func GetCreateHostGroupRequestBodyHostGroupTypeEnum

func GetCreateHostGroupRequestBodyHostGroupTypeEnum() CreateHostGroupRequestBodyHostGroupTypeEnum

type CreateHostGroupResponse

type CreateHostGroupResponse struct {

	// 主机组ID
	HostGroupId *string `json:"host_group_id,omitempty"`

	// 主机组名称
	HostGroupName *string `json:"host_group_name,omitempty"`

	// 主机组类型。linux:linux类型,windows:windows类型
	HostGroupType *CreateHostGroupResponseHostGroupType `json:"host_group_type,omitempty"`

	// 主机ID列表
	HostIdList *[]string `json:"host_id_list,omitempty"`

	// 标签信息
	HostGroupTag *[]HostGroupTag `json:"host_group_tag,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateHostGroupResponse Response Object

func (CreateHostGroupResponse) String

func (o CreateHostGroupResponse) String() string

type CreateHostGroupResponseHostGroupType

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

func (CreateHostGroupResponseHostGroupType) MarshalJSON

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

func (*CreateHostGroupResponseHostGroupType) UnmarshalJSON

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

func (CreateHostGroupResponseHostGroupType) Value

type CreateHostGroupResponseHostGroupTypeEnum

type CreateHostGroupResponseHostGroupTypeEnum struct {
	LINUX   CreateHostGroupResponseHostGroupType
	WINDOWS CreateHostGroupResponseHostGroupType
}

func GetCreateHostGroupResponseHostGroupTypeEnum

func GetCreateHostGroupResponseHostGroupTypeEnum() CreateHostGroupResponseHostGroupTypeEnum

type CreateKeywordsAlarmRuleRequest

type CreateKeywordsAlarmRuleRequest struct {
	Body *CreateKeywordsAlarmRuleRequestBody `json:"body,omitempty"`
}

CreateKeywordsAlarmRuleRequest Request Object

func (CreateKeywordsAlarmRuleRequest) String

type CreateKeywordsAlarmRuleRequestBody

type CreateKeywordsAlarmRuleRequestBody struct {

	// 关键词告警名称
	KeywordsAlarmRuleName string `json:"keywords_alarm_rule_name"`

	// 关键词告警信息描述
	KeywordsAlarmRuleDescription *string `json:"keywords_alarm_rule_description,omitempty"`

	// 关键词详细信息
	KeywordsRequests []KeywordsRequest `json:"keywords_requests"`

	Frequency *Frequency `json:"frequency"`

	// 告警级别
	KeywordsAlarmLevel CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel `json:"keywords_alarm_level"`

	// 是否发送
	KeywordsAlarmSend bool `json:"keywords_alarm_send"`

	// domainId
	DomainId string `json:"domain_id"`

	// 通知主题
	NotificationSaveRule *SqlNotificationSaveRule `json:"notification_save_rule,omitempty"`

	// 触发条件:触发次数;默认为1
	TriggerConditionCount *int32 `json:"trigger_condition_count,omitempty"`

	// 触发条件:触发周期;默认为1
	TriggerConditionFrequency *int32 `json:"trigger_condition_frequency,omitempty"`

	// 是否打开恢复通知;默认false
	WhetherRecoveryPolicy *bool `json:"whether_recovery_policy,omitempty"`

	// 恢复策略周期;默认为3
	RecoveryPolicy *int32 `json:"recovery_policy,omitempty"`
}

func (CreateKeywordsAlarmRuleRequestBody) String

type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel

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

func (CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON

func (*CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON

func (CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) Value

type CreateKeywordsAlarmRuleResponse

type CreateKeywordsAlarmRuleResponse struct {

	// 告警规则id
	KeywordsAlarmRuleId *string `json:"keywords_alarm_rule_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateKeywordsAlarmRuleResponse Response Object

func (CreateKeywordsAlarmRuleResponse) String

type CreateLogDumpObsRequest

type CreateLogDumpObsRequest struct {
	Body *CreateLogDumpObsRequestBody `json:"body,omitempty"`
}

CreateLogDumpObsRequest Request Object

func (CreateLogDumpObsRequest) String

func (o CreateLogDumpObsRequest) String() string

type CreateLogDumpObsRequestBody

type CreateLogDumpObsRequestBody struct {

	// 日志组id。
	LogGroupId string `json:"log_group_id"`

	// 日志流id列表, 可以指定一个或多个日志流进行obs周期性转储
	LogStreamIds []string `json:"log_stream_ids"`

	// obs 桶名称。
	ObsBucketName string `json:"obs_bucket_name"`

	// 周期性转储, 必须填 cycle。
	Type string `json:"type"`

	// 转储格式 RAW/JSON, 默认为 RAW。
	StorageFormat string `json:"storage_format"`

	// 是否开启转储 true/false, 默认为 true
	SwitchOn *bool `json:"switch_on,omitempty"`

	// 转储至OBS桶中的日志文件前缀。
	PrefixName *string `json:"prefix_name,omitempty"`

	// 自定义文件夹路径。
	DirPrefixName *string `json:"dir_prefix_name,omitempty"`

	// 转储周期的长度, 与 period_unit 拼接后必须在该列表中 [\"2min\",\"5min\",\"30min\",\"1hour\",\"3hour\",\"6hour\",\"12hour\"]。
	Period int32 `json:"period"`

	// 转储周期的单位, 与 period 拼接后必须在该列表中 [\"2min\",\"5min\",\"30min\",\"1hour\",\"3hour\",\"6hour\",\"12hour\"]。
	PeriodUnit string `json:"period_unit"`
}

CreateLogDumpObsRequestBody 此参数在请求实体中,采用json字符串格式

func (CreateLogDumpObsRequestBody) String

type CreateLogDumpObsResponse

type CreateLogDumpObsResponse struct {

	// 转储id。
	LogDumpObsId   *string `json:"log_dump_obs_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateLogDumpObsResponse Response Object

func (CreateLogDumpObsResponse) String

func (o CreateLogDumpObsResponse) String() string

type CreateLogGroupParams

type CreateLogGroupParams struct {

	// 需要创建的日志组名称。
	LogGroupName string `json:"log_group_name"`

	// 日志存储时间(天),取值范围:1-30。
	TtlInDays int32 `json:"ttl_in_days"`

	// 标签字段信息
	Tags *[]TagsBody `json:"tags,omitempty"`
}

CreateLogGroupParams 创建日志组参数。

func (CreateLogGroupParams) String

func (o CreateLogGroupParams) String() string

type CreateLogGroupRequest

type CreateLogGroupRequest struct {
	Body *CreateLogGroupParams `json:"body,omitempty"`
}

CreateLogGroupRequest Request Object

func (CreateLogGroupRequest) String

func (o CreateLogGroupRequest) String() string

type CreateLogGroupResponse

type CreateLogGroupResponse struct {

	// 创建的日志组的Id。
	LogGroupId     *string `json:"log_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateLogGroupResponse Response Object

func (CreateLogGroupResponse) String

func (o CreateLogGroupResponse) String() string

type CreateLogStreamParams

type CreateLogStreamParams struct {

	// 需要创建的日志流名称。
	LogStreamName CreateLogStreamParamsLogStreamName `json:"log_stream_name"`

	// 企业项目名称。
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

	// 日志存储时间  最小值:1 最大值:365 说明: 该参数仅对华东-上海一、华北-北京四、华南-广州用户开放。
	TtlInDays *CreateLogStreamParamsTtlInDays `json:"ttl_in_days,omitempty"`

	// 标签字段信息
	Tags *[]TagsBody `json:"tags,omitempty"`
}

CreateLogStreamParams 创建日志流参数。

func (CreateLogStreamParams) String

func (o CreateLogStreamParams) String() string

type CreateLogStreamParamsLogStreamName

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

func (CreateLogStreamParamsLogStreamName) MarshalJSON

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

func (*CreateLogStreamParamsLogStreamName) UnmarshalJSON

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

func (CreateLogStreamParamsLogStreamName) Value

type CreateLogStreamParamsLogStreamNameEnum

type CreateLogStreamParamsLogStreamNameEnum struct {
	LTS_STREAM_13CI CreateLogStreamParamsLogStreamName
}

func GetCreateLogStreamParamsLogStreamNameEnum

func GetCreateLogStreamParamsLogStreamNameEnum() CreateLogStreamParamsLogStreamNameEnum

type CreateLogStreamParamsTtlInDays

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

func (CreateLogStreamParamsTtlInDays) MarshalJSON

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

func (*CreateLogStreamParamsTtlInDays) UnmarshalJSON

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

func (CreateLogStreamParamsTtlInDays) Value

type CreateLogStreamParamsTtlInDaysEnum

type CreateLogStreamParamsTtlInDaysEnum struct {
	E_7 CreateLogStreamParamsTtlInDays
}

func GetCreateLogStreamParamsTtlInDaysEnum

func GetCreateLogStreamParamsTtlInDaysEnum() CreateLogStreamParamsTtlInDaysEnum

type CreateLogStreamRequest

type CreateLogStreamRequest struct {

	// 租户想创建的日志流所在的日志组的groupid,一般为36位字符串。
	LogGroupId string `json:"log_group_id"`

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

CreateLogStreamRequest Request Object

func (CreateLogStreamRequest) String

func (o CreateLogStreamRequest) String() string

type CreateLogStreamResponse

type CreateLogStreamResponse struct {

	// 创建的日志流的Id。
	LogStreamId    *string `json:"log_stream_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateLogStreamResponse Response Object

func (CreateLogStreamResponse) String

func (o CreateLogStreamResponse) String() string

type CreateNotificationTemplateRequest

type CreateNotificationTemplateRequest struct {

	// 租户id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	DomainId string `json:"domain_id"`

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

CreateNotificationTemplateRequest Request Object

func (CreateNotificationTemplateRequest) String

type CreateNotificationTemplateRequestBody

type CreateNotificationTemplateRequestBody struct {

	// 通知规则名称,必填,只含有汉字、数字、字母、下划线、中划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100,创建后不可修改
	Name string `json:"name"`

	// 保留字段,非必填,只支持sms(短信),dingding(钉钉),wechat(企业微信),email(邮件)和webhook(网络钩子)
	Type *[]string `json:"type,omitempty"`

	// 模板描述,必填,只含有汉字、数字、字母、下划线不能以下划线开头和结尾,长度为0--1024
	Desc string `json:"desc"`

	// 模板来源,目前必填为LTS,否则会筛选不出来
	Source string `json:"source"`

	// 语言,必填,目前可填zh-cn和en-us
	Locale CreateNotificationTemplateRequestBodyLocale `json:"locale"`

	// 模板正文,为一个数组
	Templates []SubTemplate `json:"templates"`
}

CreateNotificationTemplateRequestBody 创建通知规则请求体

func (CreateNotificationTemplateRequestBody) String

type CreateNotificationTemplateRequestBodyLocale

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

func (CreateNotificationTemplateRequestBodyLocale) MarshalJSON

func (*CreateNotificationTemplateRequestBodyLocale) UnmarshalJSON

func (CreateNotificationTemplateRequestBodyLocale) Value

type CreateNotificationTemplateResponse

type CreateNotificationTemplateResponse struct {

	// 通知规则名称,必填,只含有汉字、数字、字母、下划线、中划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100,创建后不可修改
	Name *string `json:"name,omitempty"`

	// 保留字段,非必填,只支持sms(短信),dingding(钉钉),wechat(企业微信),email(邮件)和webhook(网络钩子)
	Type *[]string `json:"type,omitempty"`

	// 模板描述,必填,只含有汉字、数字、字母、下划线不能以下划线开头和结尾,长度为0--1024
	Desc *string `json:"desc,omitempty"`

	// 模板来源,目前必填为LTS,否则会筛选不出来
	Source *string `json:"source,omitempty"`

	// 语言,必填,目前可填zh-cn和en-us
	Locale *CreateNotificationTemplateResponseLocale `json:"locale,omitempty"`

	// 模板正文,为一个数组
	Templates      *[]SubTemplate `json:"templates,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateNotificationTemplateResponse Response Object

func (CreateNotificationTemplateResponse) String

type CreateNotificationTemplateResponseLocale

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

func (CreateNotificationTemplateResponseLocale) MarshalJSON

func (*CreateNotificationTemplateResponseLocale) UnmarshalJSON

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

func (CreateNotificationTemplateResponseLocale) Value

type CreateNotificationTemplateResponseLocaleEnum

type CreateNotificationTemplateResponseLocaleEnum struct {
	ZH_CN CreateNotificationTemplateResponseLocale
	EN_US CreateNotificationTemplateResponseLocale
}

func GetCreateNotificationTemplateResponseLocaleEnum

func GetCreateNotificationTemplateResponseLocaleEnum() CreateNotificationTemplateResponseLocaleEnum

type CreateSearchCriteriasBody

type CreateSearchCriteriasBody struct {

	// 快速查询字段
	Criteria string `json:"criteria"`

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

	// 创建快速查询名称
	Name string `json:"name"`

	// 查询类型 原始日志:ORIGINALLOG 可视化日志: VISUALIZATION
	SearchType string `json:"search_type"`
}

func (CreateSearchCriteriasBody) String

func (o CreateSearchCriteriasBody) String() string

type CreateSearchCriteriasRequest

type CreateSearchCriteriasRequest struct {

	// 租户想查询的日志流所在的日志组的groupid,一般为36位字符串。  缺省值:None  最小长度:36  最大长度:36
	GroupId string `json:"group_id"`

	// 日志流id
	TopicId string `json:"topic_id"`

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

CreateSearchCriteriasRequest Request Object

func (CreateSearchCriteriasRequest) String

type CreateSearchCriteriasResponse

type CreateSearchCriteriasResponse struct {

	// 快速查询id
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateSearchCriteriasResponse Response Object

func (CreateSearchCriteriasResponse) String

type CreateSqlAlarmRuleRequest

type CreateSqlAlarmRuleRequest struct {
	Body *CreateSqlAlarmRuleRequestBody `json:"body,omitempty"`
}

CreateSqlAlarmRuleRequest Request Object

func (CreateSqlAlarmRuleRequest) String

func (o CreateSqlAlarmRuleRequest) String() string

type CreateSqlAlarmRuleRequestBody

type CreateSqlAlarmRuleRequestBody struct {

	// SQL告警名称
	SqlAlarmRuleName string `json:"sql_alarm_rule_name"`

	// SQL告警信息描述
	SqlAlarmRuleDescription *string `json:"sql_alarm_rule_description,omitempty"`

	// SQL详细信息
	SqlRequests []SqlRequest `json:"sql_requests"`

	// 告警统计周期
	Frequency *Frequency `json:"frequency"`

	// 条件表达式
	ConditionExpression string `json:"condition_expression"`

	// 告警级别
	SqlAlarmLevel CreateSqlAlarmRuleRequestBodySqlAlarmLevel `json:"sql_alarm_level"`

	// 是否发送
	SqlAlarmSend bool `json:"sql_alarm_send"`

	// domainId
	DomainId string `json:"domain_id"`

	// 通知主题
	NotificationSaveRule *SqlNotificationSaveRule `json:"notification_save_rule,omitempty"`

	// 触发条件:触发次数;默认为1
	TriggerConditionCount *int32 `json:"trigger_condition_count,omitempty"`

	// 触发条件:触发周期;默认为1
	TriggerConditionFrequency *int32 `json:"trigger_condition_frequency,omitempty"`

	// 是否打开恢复通知;默认false
	WhetherRecoveryPolicy *bool `json:"whether_recovery_policy,omitempty"`

	// 恢复策略周期;默认为3
	RecoveryPolicy *int32 `json:"recovery_policy,omitempty"`
}

func (CreateSqlAlarmRuleRequestBody) String

type CreateSqlAlarmRuleRequestBodySqlAlarmLevel

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

func (CreateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON

func (*CreateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON

func (CreateSqlAlarmRuleRequestBodySqlAlarmLevel) Value

type CreateSqlAlarmRuleResponse

type CreateSqlAlarmRuleResponse struct {

	// 告警规则id
	SqlAlarmRuleId *string `json:"sql_alarm_rule_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateSqlAlarmRuleResponse Response Object

func (CreateSqlAlarmRuleResponse) String

type CreateStructConfigRequest

type CreateStructConfigRequest struct {
	Body *StructConfig `json:"body,omitempty"`
}

CreateStructConfigRequest Request Object

func (CreateStructConfigRequest) String

func (o CreateStructConfigRequest) String() string

type CreateStructConfigResponse

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

CreateStructConfigResponse Response Object

func (CreateStructConfigResponse) String

type CreateStructTemplateRequest

type CreateStructTemplateRequest struct {
	Body *LtsStructTemplateInfo `json:"body,omitempty"`
}

CreateStructTemplateRequest Request Object

func (CreateStructTemplateRequest) String

type CreateStructTemplateResponse

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

CreateStructTemplateResponse Response Object

func (CreateStructTemplateResponse) String

type CreateTagsReqbody

type CreateTagsReqbody struct {

	// 添加标签方式
	Action string `json:"action"`

	// 是否对外接口调用
	IsOpen bool `json:"is_open"`

	// 标签字段信息
	Tags []TagsBody `json:"tags"`
}

func (CreateTagsReqbody) String

func (o CreateTagsReqbody) String() string

type CreateTagsRequest

type CreateTagsRequest struct {

	// 资源类型
	ResourceType string `json:"resource_type"`

	// 资源id
	ResourceId string `json:"resource_id"`

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

CreateTagsRequest Request Object

func (CreateTagsRequest) String

func (o CreateTagsRequest) String() string

type CreateTagsResponse

type CreateTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateTagsResponse Response Object

func (CreateTagsResponse) String

func (o CreateTagsResponse) String() string

type CreateTransferRequest

type CreateTransferRequest struct {
	Body *CreateTransferRequestBody `json:"body,omitempty"`
}

CreateTransferRequest Request Object

func (CreateTransferRequest) String

func (o CreateTransferRequest) String() string

type CreateTransferRequestBody

type CreateTransferRequestBody struct {

	// 日志组ID
	LogGroupId string `json:"log_group_id"`

	// 日志流ID集合
	LogStreams []CreateTransferRequestBodyLogStreams `json:"log_streams"`

	LogTransferInfo *CreateTransferRequestBodyLogTransferInfo `json:"log_transfer_info"`
}

CreateTransferRequestBody 创建OBS转储,DIS转储,DMS转储

func (CreateTransferRequestBody) String

func (o CreateTransferRequestBody) String() string

type CreateTransferRequestBodyLogStreams

type CreateTransferRequestBodyLogStreams struct {

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`
}

func (CreateTransferRequestBodyLogStreams) String

type CreateTransferRequestBodyLogTransferInfo

type CreateTransferRequestBodyLogTransferInfo struct {

	// 日志转储类型。OBS指OBS日志转储,DIS指DIS日志转储,DMS指DMS日志转储
	LogTransferType string `json:"log_transfer_type"`

	// 日志转储方式。cycle是指周期性转储,realTime是指实时转储。OBS转储只支持\"cycle\",DIS转储和DMS转储只支持\"realTime\"。
	LogTransferMode CreateTransferRequestBodyLogTransferInfoLogTransferMode `json:"log_transfer_mode"`

	// 日志转储格式。只支持\"RAW\", \"JSON\"。RAW是指原始日志格式,JSON是指JSON日志格式。OBS转储和DIS转储支持JSON和RAW,DMS转储仅支持RAW
	LogStorageFormat CreateTransferRequestBodyLogTransferInfoLogStorageFormat `json:"log_storage_format"`

	// 日志转储状态,只支持\"ENABLE\",\"DISABLE\",\"EXCEPTION\"。ENABLE是指日志转储开启状态,DISABLE是指日志转储关闭状态,EXCEPTION是指日志转储异常状态
	LogTransferStatus CreateTransferRequestBodyLogTransferInfoLogTransferStatus `json:"log_transfer_status"`

	LogAgencyTransfer *CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer `json:"log_agency_transfer,omitempty"`

	LogTransferDetail *TransferDetail `json:"log_transfer_detail"`
}

CreateTransferRequestBodyLogTransferInfo 日志转储信息

func (CreateTransferRequestBodyLogTransferInfo) String

type CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer

type CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer struct {

	// 委托方账号ID
	AgencyDomainId string `json:"agency_domain_id"`

	// 委托方账号名称
	AgencyDomainName string `json:"agency_domain_name"`

	// 委托方配置的委托名称
	AgencyName string `json:"agency_name"`

	// 委托方项目ID
	AgencyProjectId string `json:"agency_project_id"`

	// 被委托方账号ID,实际配置转储的账号ID
	BeAgencyDomainId string `json:"be_agency_domain_id"`

	// 被委托方项目ID,实际配置转储的账号的项目ID
	BeAgencyProjectId string `json:"be_agency_project_id"`
}

CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer 委托转储信息。若配置委托转储,则需要输入该参数

func (CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer) String

type CreateTransferRequestBodyLogTransferInfoLogStorageFormat

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

func (CreateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON

func (*CreateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON

func (CreateTransferRequestBodyLogTransferInfoLogStorageFormat) Value

type CreateTransferRequestBodyLogTransferInfoLogTransferMode

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

func (CreateTransferRequestBodyLogTransferInfoLogTransferMode) MarshalJSON

func (*CreateTransferRequestBodyLogTransferInfoLogTransferMode) UnmarshalJSON

func (CreateTransferRequestBodyLogTransferInfoLogTransferMode) Value

type CreateTransferRequestBodyLogTransferInfoLogTransferStatus

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

func (CreateTransferRequestBodyLogTransferInfoLogTransferStatus) MarshalJSON

func (*CreateTransferRequestBodyLogTransferInfoLogTransferStatus) UnmarshalJSON

func (CreateTransferRequestBodyLogTransferInfoLogTransferStatus) Value

type CreateTransferResponse

type CreateTransferResponse struct {

	// 日志组ID
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流ID集合
	LogStreams *[]CreateTransferResponseBodyLogStreams `json:"log_streams,omitempty"`

	// 日志转储ID
	LogTransferId *string `json:"log_transfer_id,omitempty"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info,omitempty"`
	HttpStatusCode  int                                        `json:"-"`
}

CreateTransferResponse Response Object

func (CreateTransferResponse) String

func (o CreateTransferResponse) String() string

type CreateTransferResponseBody

type CreateTransferResponseBody struct {

	// 日志组ID
	LogGroupId string `json:"log_group_id"`

	// 日志组名称
	LogGroupName string `json:"log_group_name"`

	// 日志流ID集合
	LogStreams []CreateTransferResponseBodyLogStreams `json:"log_streams"`

	// 日志转储ID
	LogTransferId string `json:"log_transfer_id"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info"`
}

func (CreateTransferResponseBody) String

type CreateTransferResponseBodyLogStreams

type CreateTransferResponseBodyLogStreams struct {

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`

	// 日志流名称
	LogStreamName string `json:"log_stream_name"`
}

func (CreateTransferResponseBodyLogStreams) String

type CreateTransferResponseBodyLogTransferInfo

type CreateTransferResponseBodyLogTransferInfo struct {
	LogAgencyTransfer *CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer `json:"log_agency_transfer,omitempty"`

	// 日志转储创建时间
	LogCreateTime int64 `json:"log_create_time"`

	// 日志转储格式。只支持\"RAW\", \"JSON\"。RAW是指原始日志格式,JSON是指JSON日志格式。OBS转储和DIS转储支持JSON和RAW,DMS转储仅支持RAW
	LogStorageFormat CreateTransferResponseBodyLogTransferInfoLogStorageFormat `json:"log_storage_format"`

	// 日志转储详细信息
	LogTransferDetail *TransferDetail `json:"log_transfer_detail"`

	// 日志转储方式。cycle是指周期性转储,realTime是指实时转储。OBS转储只支持\"cycle\",DIS转储和DMS转储只支持\"realTime\"。
	LogTransferMode CreateTransferResponseBodyLogTransferInfoLogTransferMode `json:"log_transfer_mode"`

	// 日志转储状态,ENABLE是指日志转储开启状态,DISABLE是指日志转储关闭状态,EXCEPTION是指日志转储异常状态
	LogTransferStatus CreateTransferResponseBodyLogTransferInfoLogTransferStatus `json:"log_transfer_status"`

	// 日志转储类型。OBS指OBS日志转储,DIS指DIS日志转储,DMS指DMS日志转储
	LogTransferType CreateTransferResponseBodyLogTransferInfoLogTransferType `json:"log_transfer_type"`
}

CreateTransferResponseBodyLogTransferInfo 日志转储信息

func (CreateTransferResponseBodyLogTransferInfo) String

type CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer

type CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer struct {

	// 委托方账号ID
	AgencyDomainId string `json:"agency_domain_id"`

	// 委托方账号名称
	AgencyDomainName string `json:"agency_domain_name"`

	// 委托方配置的委托名称
	AgencyName string `json:"agency_name"`

	// 委托方项目ID
	AgencyProjectId string `json:"agency_project_id"`

	// 被委托方账号ID,实际配置转储的账号ID
	BeAgencyDomainId string `json:"be_agency_domain_id"`

	// 被委托方项目ID,实际配置转储的账号的项目ID
	BeAgencyProjectId string `json:"be_agency_project_id"`
}

CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer 委托转储信息。若转储为委托转储,则会返回该参数

func (CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer) String

type CreateTransferResponseBodyLogTransferInfoLogStorageFormat

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

func (CreateTransferResponseBodyLogTransferInfoLogStorageFormat) MarshalJSON

func (*CreateTransferResponseBodyLogTransferInfoLogStorageFormat) UnmarshalJSON

func (CreateTransferResponseBodyLogTransferInfoLogStorageFormat) Value

type CreateTransferResponseBodyLogTransferInfoLogTransferMode

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

func (CreateTransferResponseBodyLogTransferInfoLogTransferMode) MarshalJSON

func (*CreateTransferResponseBodyLogTransferInfoLogTransferMode) UnmarshalJSON

func (CreateTransferResponseBodyLogTransferInfoLogTransferMode) Value

type CreateTransferResponseBodyLogTransferInfoLogTransferStatus

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

func (CreateTransferResponseBodyLogTransferInfoLogTransferStatus) MarshalJSON

func (*CreateTransferResponseBodyLogTransferInfoLogTransferStatus) UnmarshalJSON

func (CreateTransferResponseBodyLogTransferInfoLogTransferStatus) Value

type CreateTransferResponseBodyLogTransferInfoLogTransferType

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

func (CreateTransferResponseBodyLogTransferInfoLogTransferType) MarshalJSON

func (*CreateTransferResponseBodyLogTransferInfoLogTransferType) UnmarshalJSON

func (CreateTransferResponseBodyLogTransferInfoLogTransferType) Value

type CreatefavoriteReqbody

type CreatefavoriteReqbody struct {

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

	// 收藏资源id
	FavoriteResourceId string `json:"favorite_resource_id"`

	// 收藏资源类型
	FavoriteResourceType string `json:"favorite_resource_type"`

	// 日志组id
	LogGroupId string `json:"log_group_id"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流id
	LogStreamId string `json:"log_stream_id"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`
}

func (CreatefavoriteReqbody) String

func (o CreatefavoriteReqbody) String() string

type CreatefavoriteRequest

type CreatefavoriteRequest struct {
	Body *CreatefavoriteReqbody `json:"body,omitempty"`
}

CreatefavoriteRequest Request Object

func (CreatefavoriteRequest) String

func (o CreatefavoriteRequest) String() string

type CreatefavoriteResponse

type CreatefavoriteResponse struct {

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

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

	// 收藏资源id
	FavoriteResourceId *string `json:"favorite_resource_id,omitempty"`

	// 收藏资源类型
	FavoriteResourceType *string `json:"favorite_resource_type,omitempty"`

	// 日志组id
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流id
	LogStreamId *string `json:"log_stream_id,omitempty"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`

	// 项目id
	ProjectId      *string `json:"project_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatefavoriteResponse Response Object

func (CreatefavoriteResponse) String

func (o CreatefavoriteResponse) String() string

type DeleteAccessConfigRequest

type DeleteAccessConfigRequest struct {
	Body *DeleteAccessConfigRequestBody `json:"body,omitempty"`
}

DeleteAccessConfigRequest Request Object

func (DeleteAccessConfigRequest) String

func (o DeleteAccessConfigRequest) String() string

type DeleteAccessConfigRequestBody

type DeleteAccessConfigRequestBody struct {

	// 日志接入ID列表
	AccessConfigIdList []string `json:"access_config_id_list"`
}

DeleteAccessConfigRequestBody 删除日志接入请求体

func (DeleteAccessConfigRequestBody) String

type DeleteAccessConfigResponse

type DeleteAccessConfigResponse struct {

	// 日志接入列表
	Result *[]AccessConfigInfo `json:"result,omitempty"`

	// 日志接入总数
	Total          *int64 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

DeleteAccessConfigResponse Response Object

func (DeleteAccessConfigResponse) String

type DeleteActiveAlarmsRequest

type DeleteActiveAlarmsRequest struct {

	// domainId
	DomainId string `json:"domain_id"`

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

DeleteActiveAlarmsRequest Request Object

func (DeleteActiveAlarmsRequest) String

func (o DeleteActiveAlarmsRequest) String() string

type DeleteActiveAlarmsRequestBody

type DeleteActiveAlarmsRequestBody struct {

	// 主题信息
	Events []Event `json:"events"`
}

func (DeleteActiveAlarmsRequestBody) String

type DeleteActiveAlarmsResponse

type DeleteActiveAlarmsResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteActiveAlarmsResponse Response Object

func (DeleteActiveAlarmsResponse) String

type DeleteAomMappingRulesRequest

type DeleteAomMappingRulesRequest struct {

	// 接入lts规则id
	Id string `json:"id"`
}

DeleteAomMappingRulesRequest Request Object

func (DeleteAomMappingRulesRequest) String

type DeleteAomMappingRulesResponse

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

DeleteAomMappingRulesResponse Response Object

func (DeleteAomMappingRulesResponse) String

type DeleteHostGroupRequest

type DeleteHostGroupRequest struct {
	Body *DeleteHostGroupRequestBody `json:"body,omitempty"`
}

DeleteHostGroupRequest Request Object

func (DeleteHostGroupRequest) String

func (o DeleteHostGroupRequest) String() string

type DeleteHostGroupRequestBody

type DeleteHostGroupRequestBody struct {

	// 主机组ID列表
	HostGroupIdList []string `json:"host_group_id_list"`
}

DeleteHostGroupRequestBody 删除主机组请求体

func (DeleteHostGroupRequestBody) String

type DeleteHostGroupResponse

type DeleteHostGroupResponse struct {

	// 主机组详细信息
	Result *[]GetHostGroupInfo `json:"result,omitempty"`

	// 删除主机组数量
	Total          *int64 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

DeleteHostGroupResponse Response Object

func (DeleteHostGroupResponse) String

func (o DeleteHostGroupResponse) String() string

type DeleteKeywordsAlarmRuleRequest

type DeleteKeywordsAlarmRuleRequest struct {

	// 关键词告警规则id
	KeywordsAlarmRuleId string `json:"keywords_alarm_rule_id"`
}

DeleteKeywordsAlarmRuleRequest Request Object

func (DeleteKeywordsAlarmRuleRequest) String

type DeleteKeywordsAlarmRuleResponse

type DeleteKeywordsAlarmRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteKeywordsAlarmRuleResponse Response Object

func (DeleteKeywordsAlarmRuleResponse) String

type DeleteLogGroupRequest

type DeleteLogGroupRequest struct {

	// 日志组ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html
	LogGroupId string `json:"log_group_id"`
}

DeleteLogGroupRequest Request Object

func (DeleteLogGroupRequest) String

func (o DeleteLogGroupRequest) String() string

type DeleteLogGroupResponse

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

DeleteLogGroupResponse Response Object

func (DeleteLogGroupResponse) String

func (o DeleteLogGroupResponse) String() string

type DeleteLogStreamRequest

type DeleteLogStreamRequest struct {

	// 租户想删除的日志流所在的日志组的groupid,一般为36位字符串。
	LogGroupId string `json:"log_group_id"`

	// 需要删除的日志流ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	LogStreamId string `json:"log_stream_id"`
}

DeleteLogStreamRequest Request Object

func (DeleteLogStreamRequest) String

func (o DeleteLogStreamRequest) String() string

type DeleteLogStreamResponse

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

DeleteLogStreamResponse Response Object

func (DeleteLogStreamResponse) String

func (o DeleteLogStreamResponse) String() string

type DeleteNotificationTemplateBody

type DeleteNotificationTemplateBody struct {

	// 待删除模板名称数组
	TemplateNames []string `json:"template_names"`
}

DeleteNotificationTemplateBody 删除通知模板参数体

func (DeleteNotificationTemplateBody) String

type DeleteNotificationTemplateRequest

type DeleteNotificationTemplateRequest struct {

	// 账号id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	DomainId string `json:"domain_id"`

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

DeleteNotificationTemplateRequest Request Object

func (DeleteNotificationTemplateRequest) String

type DeleteNotificationTemplateResponse

type DeleteNotificationTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteNotificationTemplateResponse Response Object

func (DeleteNotificationTemplateResponse) String

type DeleteSearchCriterias

type DeleteSearchCriterias struct {

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

	// 快速查询id
	Id string `json:"id"`
}

func (DeleteSearchCriterias) String

func (o DeleteSearchCriterias) String() string

type DeleteSearchCriteriasRequest

type DeleteSearchCriteriasRequest struct {

	// 租户想查询的日志流所在的日志组的groupid,一般为36位字符串。  缺省值:None  最小长度:36  最大长度:36
	GroupId string `json:"group_id"`

	// 日志流id
	TopicId string `json:"topic_id"`

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

DeleteSearchCriteriasRequest Request Object

func (DeleteSearchCriteriasRequest) String

type DeleteSearchCriteriasResponse

type DeleteSearchCriteriasResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSearchCriteriasResponse Response Object

func (DeleteSearchCriteriasResponse) String

type DeleteSqlAlarmRuleRequest

type DeleteSqlAlarmRuleRequest struct {

	// Sql告警规则id
	SqlAlarmRuleId string `json:"sql_alarm_rule_id"`
}

DeleteSqlAlarmRuleRequest Request Object

func (DeleteSqlAlarmRuleRequest) String

func (o DeleteSqlAlarmRuleRequest) String() string

type DeleteSqlAlarmRuleResponse

type DeleteSqlAlarmRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSqlAlarmRuleResponse Response Object

func (DeleteSqlAlarmRuleResponse) String

type DeleteStructTemplateReqBody

type DeleteStructTemplateReqBody struct {

	// 结构化规则ID
	Id string `json:"id"`
}

DeleteStructTemplateReqBody 删除结构化配置参数

func (DeleteStructTemplateReqBody) String

type DeleteStructTemplateRequest

type DeleteStructTemplateRequest struct {
	Body *DeleteStructTemplateReqBody `json:"body,omitempty"`
}

DeleteStructTemplateRequest Request Object

func (DeleteStructTemplateRequest) String

type DeleteStructTemplateResponse

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

DeleteStructTemplateResponse Response Object

func (DeleteStructTemplateResponse) String

type DeleteTransferRequest

type DeleteTransferRequest struct {

	// 日志转储ID。获取ID有3种方式: 1. 调用查询日志转储接口,返回值有日志转储ID  2. 调用新增日志转储接口,返回值有日志转储ID 3. 调用删除日志转储接口,返回值有日志转储ID
	LogTransferId string `json:"log_transfer_id"`
}

DeleteTransferRequest Request Object

func (DeleteTransferRequest) String

func (o DeleteTransferRequest) String() string

type DeleteTransferResponse

type DeleteTransferResponse struct {

	// 日志组ID
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流ID集合
	LogStreams *[]CreateTransferResponseBodyLogStreams `json:"log_streams,omitempty"`

	// 日志转储ID
	LogTransferId *string `json:"log_transfer_id,omitempty"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info,omitempty"`
	HttpStatusCode  int                                        `json:"-"`
}

DeleteTransferResponse Response Object

func (DeleteTransferResponse) String

func (o DeleteTransferResponse) String() string

type DeletefavoriteRequest

type DeletefavoriteRequest struct {

	// 收藏资源id
	FavResId string `json:"fav_res_id"`
}

DeletefavoriteRequest Request Object

func (DeletefavoriteRequest) String

func (o DeletefavoriteRequest) String() string

type DeletefavoriteResponse

type DeletefavoriteResponse struct {
	HttpStatusCode int `json:"-"`
}

DeletefavoriteResponse Response Object

func (DeletefavoriteResponse) String

func (o DeletefavoriteResponse) String() string

type DemoField

type DemoField struct {

	// 字段名称
	FieldName string `json:"field_name"`

	// 字段示例内容
	Content *string `json:"content,omitempty"`

	// 字段数据类型。 可选范围:string、long、float
	Type DemoFieldType `json:"type"`

	// 是否开启快速分析
	IsAnalysis *bool `json:"is_analysis,omitempty"`

	// 手动正则及分隔符方式中字段序号
	Index *int32 `json:"index,omitempty"`

	// 描叙多层级json中字段间的层级关系
	Relation *string `json:"relation,omitempty"`

	// json及nginx方式中字段自定义别名
	UserDefinedName *string `json:"user_defined_name,omitempty"`
}

DemoField 示例字段对象

func (DemoField) String

func (o DemoField) String() string

type DemoFieldType

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

func (DemoFieldType) MarshalJSON

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

func (*DemoFieldType) UnmarshalJSON

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

func (DemoFieldType) Value

func (c DemoFieldType) Value() string

type DemoFieldTypeEnum

type DemoFieldTypeEnum struct {
	STRING DemoFieldType
	LONG   DemoFieldType
	FLOAT  DemoFieldType
}

func GetDemoFieldTypeEnum

func GetDemoFieldTypeEnum() DemoFieldTypeEnum

type DisableLogCollectionRequest

type DisableLogCollectionRequest struct {
}

DisableLogCollectionRequest Request Object

func (DisableLogCollectionRequest) String

type DisableLogCollectionResponse

type DisableLogCollectionResponse struct {
	HttpStatusCode int `json:"-"`
}

DisableLogCollectionResponse Response Object

func (DisableLogCollectionResponse) String

type EnableLogCollectionRequest

type EnableLogCollectionRequest struct {
}

EnableLogCollectionRequest Request Object

func (EnableLogCollectionRequest) String

type EnableLogCollectionResponse

type EnableLogCollectionResponse struct {
	HttpStatusCode int `json:"-"`
}

EnableLogCollectionResponse Response Object

func (EnableLogCollectionResponse) String

type Event

type Event struct {
	Metadata *Metadata `json:"metadata"`

	// 告警产生时间(时间戳)
	StartsAt int64 `json:"starts_at"`
}

func (Event) String

func (o Event) String() string

type Events

type Events struct {
	Annotations *Annotations `json:"annotations"`

	Metadata *Metadata `json:"metadata"`

	// 到达时间(时间戳)
	ArrivesAt int64 `json:"arrives_at"`

	// 告警清除时间(时间戳)
	EndsAt int64 `json:"ends_at"`

	// 告警id
	Id string `json:"id"`

	// 告警产生时间(时间戳)
	StartsAt int64 `json:"starts_at"`

	// 告警自动清除时间(时间戳)
	Timeout int64 `json:"timeout"`

	// 告警规则类型(SQL/关键词)
	Type string `json:"type"`
}

func (Events) String

func (o Events) String() string

type FieldModel

type FieldModel struct {

	// 字段名称
	FieldName string `json:"field_name"`

	// 是否开启快速分析。
	IsAnalysis *bool `json:"is_analysis,omitempty"`
}

FieldModel 创建结构化模板中的字段模型

func (FieldModel) String

func (o FieldModel) String() string

type Frequency

type Frequency struct {

	// 时间类型
	Type FrequencyType `json:"type"`

	// 当字段type为\"CRON\"时取该字段
	CronExpr *string `json:"cron_expr,omitempty"`

	// 当字段type为\"DAILY\"或者\"WEEKLY\"时取该字段
	HourOfDay *int32 `json:"hour_of_day,omitempty"`

	// 当字段type为\"WEEKLY\"时取该字段(周日~周六)
	DayOfWeek *int32 `json:"day_of_week,omitempty"`

	// 当字段type为\"FIXED_RATE\"时取该字段(当fixed_rate_unit单位为minute,最大值60;当fixed_rate_unit单位为hour,最大值24)
	FixedRate *int32 `json:"fixed_rate,omitempty"`

	// 时间单位
	FixedRateUnit *FrequencyFixedRateUnit `json:"fixed_rate_unit,omitempty"`
}

func (Frequency) String

func (o Frequency) String() string

type FrequencyFixedRateUnit

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

func (FrequencyFixedRateUnit) MarshalJSON

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

func (*FrequencyFixedRateUnit) UnmarshalJSON

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

func (FrequencyFixedRateUnit) Value

func (c FrequencyFixedRateUnit) Value() string

type FrequencyFixedRateUnitEnum

type FrequencyFixedRateUnitEnum struct {
	MINUTE FrequencyFixedRateUnit
	HOUR   FrequencyFixedRateUnit
}

func GetFrequencyFixedRateUnitEnum

func GetFrequencyFixedRateUnitEnum() FrequencyFixedRateUnitEnum

type FrequencyType

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

func (FrequencyType) MarshalJSON

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

func (*FrequencyType) UnmarshalJSON

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

func (FrequencyType) Value

func (c FrequencyType) Value() string

type FrequencyTypeEnum

type FrequencyTypeEnum struct {
	CRON       FrequencyType
	HOURLY     FrequencyType
	DAILY      FrequencyType
	WEEKLY     FrequencyType
	FIXED_RATE FrequencyType
}

func GetFrequencyTypeEnum

func GetFrequencyTypeEnum() FrequencyTypeEnum

type GetAccessConfigListRequestBody

type GetAccessConfigListRequestBody struct {

	// 接入配置名称列表
	AccessConfigNameList []string `json:"access_config_name_list"`

	// 主机组名称列表
	HostGroupNameList []string `json:"host_group_name_list"`

	// 日志组名称列表
	LogGroupNameList []string `json:"log_group_name_list"`

	// 日志流名称列表
	LogStreamNameList []string `json:"log_stream_name_list"`

	// 接入配置标签,KEY不能重复,最多20个标签
	AccessConfigTagList *[]AccessConfigTag `json:"access_config_tag_list,omitempty"`
}

GetAccessConfigListRequestBody 查询日志接入列表请求体

func (GetAccessConfigListRequestBody) String

type GetHostGroupInfo

type GetHostGroupInfo struct {

	// 主机组ID
	HostGroupId *string `json:"host_group_id,omitempty"`

	// 主机组名称
	HostGroupName *string `json:"host_group_name,omitempty"`

	// 主机组类型。linux:linux类型,windows:windows类型
	HostGroupType *GetHostGroupInfoHostGroupType `json:"host_group_type,omitempty"`

	// 主机ID列表
	HostIdList *[]string `json:"host_id_list,omitempty"`

	// 标签信息
	HostGroupTag *[]HostGroupTag `json:"host_group_tag,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`
}

GetHostGroupInfo 主机组详细信息

func (GetHostGroupInfo) String

func (o GetHostGroupInfo) String() string

type GetHostGroupInfoHostGroupType

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

func (GetHostGroupInfoHostGroupType) MarshalJSON

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

func (*GetHostGroupInfoHostGroupType) UnmarshalJSON

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

func (GetHostGroupInfoHostGroupType) Value

type GetHostGroupInfoHostGroupTypeEnum

type GetHostGroupInfoHostGroupTypeEnum struct {
	LINUX   GetHostGroupInfoHostGroupType
	WINDOWS GetHostGroupInfoHostGroupType
}

func GetGetHostGroupInfoHostGroupTypeEnum

func GetGetHostGroupInfoHostGroupTypeEnum() GetHostGroupInfoHostGroupTypeEnum

type GetHostGroupListFilter

type GetHostGroupListFilter struct {

	// 主机组类型。windows:windows类型,linux:linux类型
	HostGroupType *GetHostGroupListFilterHostGroupType `json:"host_group_type,omitempty"`

	// 主机组名称列表。
	HostGroupNameList *[]string `json:"host_group_name_list,omitempty"`

	// 主机名称列表。
	HostNameList *[]string `json:"host_name_list,omitempty"`

	HostGroupTag *GetHostGroupListTag `json:"host_group_tag,omitempty"`
}

GetHostGroupListFilter 主机组过滤参数

func (GetHostGroupListFilter) String

func (o GetHostGroupListFilter) String() string

type GetHostGroupListFilterHostGroupType

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

func (GetHostGroupListFilterHostGroupType) MarshalJSON

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

func (*GetHostGroupListFilterHostGroupType) UnmarshalJSON

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

func (GetHostGroupListFilterHostGroupType) Value

type GetHostGroupListFilterHostGroupTypeEnum

type GetHostGroupListFilterHostGroupTypeEnum struct {
	WINDOWS GetHostGroupListFilterHostGroupType
	LINUX   GetHostGroupListFilterHostGroupType
}

func GetGetHostGroupListFilterHostGroupTypeEnum

func GetGetHostGroupListFilterHostGroupTypeEnum() GetHostGroupListFilterHostGroupTypeEnum

type GetHostGroupListRequestBody

type GetHostGroupListRequestBody struct {

	// 主机组ID
	HostGroupIdList *[]string `json:"host_group_id_list,omitempty"`

	Filter *GetHostGroupListFilter `json:"filter"`
}

func (GetHostGroupListRequestBody) String

type GetHostGroupListTag

type GetHostGroupListTag struct {

	// 标签类型。AND:标签过滤的逻辑为与,OR:标签过滤的逻辑为或
	TagType *GetHostGroupListTagTagType `json:"tag_type,omitempty"`

	// 主机组标签
	TagList *[]HostGroupTag `json:"tag_list,omitempty"`
}

GetHostGroupListTag 主机组标签信息

func (GetHostGroupListTag) String

func (o GetHostGroupListTag) String() string

type GetHostGroupListTagTagType

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

func (GetHostGroupListTagTagType) MarshalJSON

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

func (*GetHostGroupListTagTagType) UnmarshalJSON

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

func (GetHostGroupListTagTagType) Value

type GetHostGroupListTagTagTypeEnum

type GetHostGroupListTagTagTypeEnum struct {
	AND GetHostGroupListTagTagType
	OR  GetHostGroupListTagTagType
}

func GetGetHostGroupListTagTagTypeEnum

func GetGetHostGroupListTagTagTypeEnum() GetHostGroupListTagTagTypeEnum

type GetHostListFilter

type GetHostListFilter struct {

	// 主机名称列表。可以根据主机名称列表,进行批量过滤。
	HostNameList *[]string `json:"host_name_list,omitempty"`

	// 主机ID列表。可以根据主机IP列表,进行批量过滤。
	HostIpList *[]string `json:"host_ip_list,omitempty"`

	// 主机状态。可以根据主机状态进行过滤。 uninstall:未安装 running:运行 offline:离线 error:异常 plugin error:插件错误 installing:安装中 install-fail:安装失败 upgrading:升级中 upgrading-transient:升级中 upgrade failed:升级失败 upgrade-fail:升级失败 uninstalling:卸载中 uninstalling-transient:卸载中 authentication error:鉴权失败
	HostStatus *GetHostListFilterHostStatus `json:"host_status,omitempty"`

	// 主机版本。可以根据主机版本进行过滤。
	HostVersion *string `json:"host_version,omitempty"`
}

GetHostListFilter 查询主机信息过滤参数

func (GetHostListFilter) String

func (o GetHostListFilter) String() string

type GetHostListFilterHostStatus

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

func (GetHostListFilterHostStatus) MarshalJSON

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

func (*GetHostListFilterHostStatus) UnmarshalJSON

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

func (GetHostListFilterHostStatus) Value

type GetHostListInfo

type GetHostListInfo struct {

	// 主机ID
	HostId *string `json:"host_id,omitempty"`

	// 主机IP
	HostIp *string `json:"host_ip,omitempty"`

	// 主机名称
	HostName *string `json:"host_name,omitempty"`

	// 主机状态。 uninstall:未安装 running:运行 offline:离线 error:异常 plugin error:插件错误 installing:安装中 install-fail:安装失败 upgrading:升级中 upgrading-transient:升级中 upgrade failed:升级失败 upgrade-fail:升级失败 uninstalling:卸载中 uninstalling-transient:卸载中 authentication error:鉴权失败
	HostStatus *GetHostListInfoHostStatus `json:"host_status,omitempty"`

	// 主机类型。linux:linux类型,windows:windows类型
	HostType *GetHostListInfoHostType `json:"host_type,omitempty"`

	// 主机版本
	HostVersion *string `json:"host_version,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`
}

GetHostListInfo 主机详细信息

func (GetHostListInfo) String

func (o GetHostListInfo) String() string

type GetHostListInfoHostStatus

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

func (GetHostListInfoHostStatus) MarshalJSON

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

func (*GetHostListInfoHostStatus) UnmarshalJSON

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

func (GetHostListInfoHostStatus) Value

type GetHostListInfoHostStatusEnum

type GetHostListInfoHostStatusEnum struct {
	UNINSTALL              GetHostListInfoHostStatus
	RUNNING                GetHostListInfoHostStatus
	OFFLINE                GetHostListInfoHostStatus
	ERROR                  GetHostListInfoHostStatus
	PLUGIN_ERROR           GetHostListInfoHostStatus
	INSTALLING             GetHostListInfoHostStatus
	INSTALL_FAIL           GetHostListInfoHostStatus
	UPGRADING              GetHostListInfoHostStatus
	UPGRADING_TRANSIENT    GetHostListInfoHostStatus
	UPGRADE_FAILED         GetHostListInfoHostStatus
	UPGRADE_FAIL           GetHostListInfoHostStatus
	UNINSTALLING           GetHostListInfoHostStatus
	UNINSTALLING_TRANSIENT GetHostListInfoHostStatus
	AUTHENTICATION_ERROR   GetHostListInfoHostStatus
}

func GetGetHostListInfoHostStatusEnum

func GetGetHostListInfoHostStatusEnum() GetHostListInfoHostStatusEnum

type GetHostListInfoHostType

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

func (GetHostListInfoHostType) MarshalJSON

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

func (*GetHostListInfoHostType) UnmarshalJSON

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

func (GetHostListInfoHostType) Value

func (c GetHostListInfoHostType) Value() string

type GetHostListInfoHostTypeEnum

type GetHostListInfoHostTypeEnum struct {
	LINUX   GetHostListInfoHostType
	WINDOWS GetHostListInfoHostType
}

func GetGetHostListInfoHostTypeEnum

func GetGetHostListInfoHostTypeEnum() GetHostListInfoHostTypeEnum

type GetHostListRequestBody

type GetHostListRequestBody struct {

	// 主机ID列表。可以根据主机ID列表进行批量过滤
	HostIdList *[]string `json:"host_id_list,omitempty"`

	Filter *GetHostListFilter `json:"filter"`
}

GetHostListRequestBody 查询主机信息请求体

func (GetHostListRequestBody) String

func (o GetHostListRequestBody) String() string

type GetQuerySearchCriteriasBody

type GetQuerySearchCriteriasBody struct {

	// 快速查询字段
	Criteria *string `json:"criteria,omitempty"`

	// 快速查询名称
	Name *string `json:"name,omitempty"`

	// 快速查询id
	Id *string `json:"id,omitempty"`

	// 快速查询类型: 原始日志:ORIGINALLOG 可视化日志: VISUALIZATION
	SearchType *string `json:"search_type,omitempty"`
}

func (GetQuerySearchCriteriasBody) String

type HostGroupTag

type HostGroupTag struct {

	// 标签Key
	Key *string `json:"key,omitempty"`

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

HostGroupTag 标签信息

func (HostGroupTag) String

func (o HostGroupTag) String() string

type KeywordsAlarmRuleRespList

type KeywordsAlarmRuleRespList struct {

	// 项目id
	ProjectId string `json:"projectId"`

	// 关键词告警id
	KeywordsAlarmRuleId string `json:"keywords_alarm_rule_id"`

	// 关键词告警名称
	KeywordsAlarmRuleName string `json:"keywords_alarm_rule_name"`

	// 关键词告警信息描述
	KeywordsAlarmRuleDescription string `json:"keywords_alarm_rule_description"`

	// 条件
	ConditionExpression string `json:"condition_expression"`

	// 关键词详细信息
	KeywordsRequests []KeywordsRequest `json:"keywords_requests"`

	// 告警统计周期
	Frequency *Frequency `json:"frequency"`

	// 告警级别
	KeywordsAlarmLevel KeywordsAlarmRuleRespListKeywordsAlarmLevel `json:"keywords_alarm_level"`

	// 是否发送
	KeywordsAlarmSend bool `json:"keywords_alarm_send"`

	// domainId
	DomainId string `json:"domain_id"`

	// 创建时间(毫秒时间戳)
	CreateTime int64 `json:"create_time"`

	// 更新时间(毫秒时间戳)
	UpdateTime int64 `json:"update_time"`

	// 主题
	Topics []Topics `json:"topics"`

	TemplateName *string `json:"template_name,omitempty"`

	Status *KeywordsAlarmRuleRespListStatus `json:"status,omitempty"`

	// 触发条件:触发次数;默认为1
	TriggerConditionCount *int32 `json:"trigger_condition_count,omitempty"`

	// 触发条件:触发周期;默认为1
	TriggerConditionFrequency *int32 `json:"trigger_condition_frequency,omitempty"`

	// 是否打开恢复通知;默认false
	WhetherRecoveryPolicy *bool `json:"whether_recovery_policy,omitempty"`

	// 恢复策略周期;默认为3
	RecoveryPolicy *int32 `json:"recovery_policy,omitempty"`
}

func (KeywordsAlarmRuleRespList) String

func (o KeywordsAlarmRuleRespList) String() string

type KeywordsAlarmRuleRespListKeywordsAlarmLevel

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

func (KeywordsAlarmRuleRespListKeywordsAlarmLevel) MarshalJSON

func (*KeywordsAlarmRuleRespListKeywordsAlarmLevel) UnmarshalJSON

func (KeywordsAlarmRuleRespListKeywordsAlarmLevel) Value

type KeywordsAlarmRuleRespListStatus

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

func (KeywordsAlarmRuleRespListStatus) MarshalJSON

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

func (*KeywordsAlarmRuleRespListStatus) UnmarshalJSON

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

func (KeywordsAlarmRuleRespListStatus) Value

type KeywordsAlarmRuleRespListStatusEnum

type KeywordsAlarmRuleRespListStatusEnum struct {
	RUNNING  KeywordsAlarmRuleRespListStatus
	STOPPING KeywordsAlarmRuleRespListStatus
}

func GetKeywordsAlarmRuleRespListStatusEnum

func GetKeywordsAlarmRuleRespListStatusEnum() KeywordsAlarmRuleRespListStatusEnum

type KeywordsRequest

type KeywordsRequest struct {

	// 日志流id
	LogStreamId string `json:"log_stream_id"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`

	// 日志组id
	LogGroupId string `json:"log_group_id"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 关键词
	Keywords string `json:"keywords"`

	// 条件
	Condition KeywordsRequestCondition `json:"condition"`

	// 行数
	Number int32 `json:"number"`

	// 查询执行任务时最近数据的时间范围,最大值为60
	SearchTimeRange int32 `json:"search_time_range"`

	// 查询时间单位
	SearchTimeRangeUnit KeywordsRequestSearchTimeRangeUnit `json:"search_time_range_unit"`
}

func (KeywordsRequest) String

func (o KeywordsRequest) String() string

type KeywordsRequestCondition

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

func (KeywordsRequestCondition) MarshalJSON

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

func (*KeywordsRequestCondition) UnmarshalJSON

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

func (KeywordsRequestCondition) Value

func (c KeywordsRequestCondition) Value() string

type KeywordsRequestConditionEnum

type KeywordsRequestConditionEnum struct {
	GREATER_THAN_OR_EQUAL_TO KeywordsRequestCondition
	LESS_THAN_OR_EQUAL_TO    KeywordsRequestCondition
	LESS_THAN                KeywordsRequestCondition
	GREATER_THAN             KeywordsRequestCondition
}

func GetKeywordsRequestConditionEnum

func GetKeywordsRequestConditionEnum() KeywordsRequestConditionEnum

type KeywordsRequestSearchTimeRangeUnit

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

func (KeywordsRequestSearchTimeRangeUnit) MarshalJSON

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

func (*KeywordsRequestSearchTimeRangeUnit) UnmarshalJSON

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

func (KeywordsRequestSearchTimeRangeUnit) Value

type KeywordsRequestSearchTimeRangeUnitEnum

type KeywordsRequestSearchTimeRangeUnitEnum struct {
	MINUTE KeywordsRequestSearchTimeRangeUnit
}

func GetKeywordsRequestSearchTimeRangeUnitEnum

func GetKeywordsRequestSearchTimeRangeUnitEnum() KeywordsRequestSearchTimeRangeUnitEnum

type ListAccessConfigRequest

type ListAccessConfigRequest struct {
	Body *GetAccessConfigListRequestBody `json:"body,omitempty"`
}

ListAccessConfigRequest Request Object

func (ListAccessConfigRequest) String

func (o ListAccessConfigRequest) String() string

type ListAccessConfigResponse

type ListAccessConfigResponse struct {

	// 日志接入列表
	Result *[]AccessConfigInfo `json:"result,omitempty"`

	// 日志接入总数
	Total          *int64 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAccessConfigResponse Response Object

func (ListAccessConfigResponse) String

func (o ListAccessConfigResponse) String() string

type ListActiveOrHistoryAlarmsRequest

type ListActiveOrHistoryAlarmsRequest struct {

	// domainId
	DomainId string `json:"domain_id"`

	// 是活动告警还是历史告警
	Type ListActiveOrHistoryAlarmsRequestType `json:"type"`

	// 取值为上一页数据的最后一条记录的id(填写上一页数据返回得previous_marker或者next_marker值。)
	Marker *string `json:"marker,omitempty"`

	// 每页数据量
	Limit *int32 `json:"limit,omitempty"`

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

ListActiveOrHistoryAlarmsRequest Request Object

func (ListActiveOrHistoryAlarmsRequest) String

type ListActiveOrHistoryAlarmsRequestBody

type ListActiveOrHistoryAlarmsRequestBody struct {

	// 关键字检索条件
	Step *int32 `json:"step,omitempty"`

	// 是否自定义查询时间段
	WhetherCustomField bool `json:"whether_custom_field"`

	// 自定义时间段开始时间(时间戳)
	StartTime *int64 `json:"start_time,omitempty"`

	// 自定义时间段结束时间(时间戳)
	EndTime *int64 `json:"end_time,omitempty"`

	// 非自定义时间段时间范围(单位为分钟)
	TimeRange *string `json:"time_range,omitempty"`

	// 关键字检索条件
	Search *string `json:"search,omitempty"`

	// 告警级别(\"Critical\",\"Major\",\"Minor\",\"Info\")
	AlarmLevelIds *[]string `json:"alarm_level_ids,omitempty"`

	Sort *Sort `json:"sort,omitempty"`
}

func (ListActiveOrHistoryAlarmsRequestBody) String

type ListActiveOrHistoryAlarmsRequestType

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

func (ListActiveOrHistoryAlarmsRequestType) MarshalJSON

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

func (*ListActiveOrHistoryAlarmsRequestType) UnmarshalJSON

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

func (ListActiveOrHistoryAlarmsRequestType) Value

type ListActiveOrHistoryAlarmsRequestTypeEnum

type ListActiveOrHistoryAlarmsRequestTypeEnum struct {
	ACTIVE_ALERT  ListActiveOrHistoryAlarmsRequestType
	HISTORY_ALERT ListActiveOrHistoryAlarmsRequestType
}

func GetListActiveOrHistoryAlarmsRequestTypeEnum

func GetListActiveOrHistoryAlarmsRequestTypeEnum() ListActiveOrHistoryAlarmsRequestTypeEnum

type ListActiveOrHistoryAlarmsResponse

type ListActiveOrHistoryAlarmsResponse struct {

	// 告警信息
	Events *[]Events `json:"events,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListActiveOrHistoryAlarmsResponse Response Object

func (ListActiveOrHistoryAlarmsResponse) String

type ListBreifStructTemplateRequest

type ListBreifStructTemplateRequest struct {
}

ListBreifStructTemplateRequest Request Object

func (ListBreifStructTemplateRequest) String

type ListBreifStructTemplateResponse

type ListBreifStructTemplateResponse struct {

	// 结构化模板缩略信息列表
	Results        *[]BriefStructTemplateModel `json:"results,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListBreifStructTemplateResponse Response Object

func (ListBreifStructTemplateResponse) String

type ListChartsRequest

type ListChartsRequest struct {

	// 日志组ID
	LogGroupId string `json:"log_group_id"`

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`

	// 查询游标,初始传入0,后续从上一次的返回值中获取
	Offset *int32 `json:"offset,omitempty"`

	// 每页数据量,最大值为100
	Limit *int32 `json:"limit,omitempty"`
}

ListChartsRequest Request Object

func (ListChartsRequest) String

func (o ListChartsRequest) String() string

type ListChartsResponse

type ListChartsResponse struct {

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

	// sql语句
	Sql *string `json:"sql,omitempty"`

	// 图表名称
	Title *string `json:"title,omitempty"`

	// 图表类型
	Type *ListChartsResponseType `json:"type,omitempty"`

	// 日志组id
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志组id
	LogStreamId *string `json:"log_stream_id,omitempty"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`

	// 图表配置详情
	Config         *ChartConfig `json:"config,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListChartsResponse Response Object

func (ListChartsResponse) String

func (o ListChartsResponse) String() string

type ListChartsResponseType

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

func (ListChartsResponseType) MarshalJSON

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

func (*ListChartsResponseType) UnmarshalJSON

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

func (ListChartsResponseType) Value

func (c ListChartsResponseType) Value() string

type ListCriteriasRequest

type ListCriteriasRequest struct {

	// 租户想查询的日志流所在的日志组的groupid,一般为36位字符串。  缺省值:None  最小长度:36  最大长度:36
	GroupId string `json:"group_id"`

	// 日志流id
	TopicId string `json:"topic_id"`

	// 原始日志:ORIGINALLOG 可视化日志: VISUALIZATION
	SearchType *string `json:"search_type,omitempty"`
}

ListCriteriasRequest Request Object

func (ListCriteriasRequest) String

func (o ListCriteriasRequest) String() string

type ListCriteriasResponse

type ListCriteriasResponse struct {
	SearchCriterias *[]GetQuerySearchCriteriasBody `json:"search_criterias,omitempty"`
	HttpStatusCode  int                            `json:"-"`
}

ListCriteriasResponse Response Object

func (ListCriteriasResponse) String

func (o ListCriteriasResponse) String() string

type ListHistorySqlRequest

type ListHistorySqlRequest struct {

	// 日志组id
	LogGroupId string `json:"log_group_id"`

	// 日志流id
	LogStreamId string `json:"log_stream_id"`
}

ListHistorySqlRequest Request Object

func (ListHistorySqlRequest) String

func (o ListHistorySqlRequest) String() string

type ListHistorySqlResponse

type ListHistorySqlResponse struct {
	Results        *[]QuertHistorySqlResultsBody `json:"results,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ListHistorySqlResponse Response Object

func (ListHistorySqlResponse) String

func (o ListHistorySqlResponse) String() string

type ListHostGroupRequest

type ListHostGroupRequest struct {
	Body *GetHostGroupListRequestBody `json:"body,omitempty"`
}

ListHostGroupRequest Request Object

func (ListHostGroupRequest) String

func (o ListHostGroupRequest) String() string

type ListHostGroupResponse

type ListHostGroupResponse struct {

	// 主机组列表
	Result *[]GetHostGroupInfo `json:"result,omitempty"`

	// 主机组信息总数量
	Total          *int64 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListHostGroupResponse Response Object

func (ListHostGroupResponse) String

func (o ListHostGroupResponse) String() string

type ListHostRequest

type ListHostRequest struct {
	Body *GetHostListRequestBody `json:"body,omitempty"`
}

ListHostRequest Request Object

func (ListHostRequest) String

func (o ListHostRequest) String() string

type ListHostResponse

type ListHostResponse struct {

	// 主机列表
	Result *[]GetHostListInfo `json:"result,omitempty"`

	// 主机信息总数量
	Total          *int64 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListHostResponse Response Object

func (ListHostResponse) String

func (o ListHostResponse) String() string

type ListKeywordsAlarmRulesRequest

type ListKeywordsAlarmRulesRequest struct {
}

ListKeywordsAlarmRulesRequest Request Object

func (ListKeywordsAlarmRulesRequest) String

type ListKeywordsAlarmRulesResponse

type ListKeywordsAlarmRulesResponse struct {

	// 项目id
	KeywordsAlarmRules *[]KeywordsAlarmRuleRespList `json:"keywords_alarm_rules,omitempty"`
	HttpStatusCode     int                          `json:"-"`
}

ListKeywordsAlarmRulesResponse Response Object

func (ListKeywordsAlarmRulesResponse) String

type ListLogGroupsRequest

type ListLogGroupsRequest struct {
}

ListLogGroupsRequest Request Object

func (ListLogGroupsRequest) String

func (o ListLogGroupsRequest) String() string

type ListLogGroupsResponse

type ListLogGroupsResponse struct {

	// 日志组信息。
	LogGroups      *[]LogGroup `json:"log_groups,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListLogGroupsResponse Response Object

func (ListLogGroupsResponse) String

func (o ListLogGroupsResponse) String() string

type ListLogHistogramRequest

type ListLogHistogramRequest struct {
	Body *QueryLogKeyWordCountRequestBody `json:"body,omitempty"`
}

ListLogHistogramRequest Request Object

func (ListLogHistogramRequest) String

func (o ListLogHistogramRequest) String() string

type ListLogHistogramResponse

type ListLogHistogramResponse struct {

	// 直方图结果
	Histogram *string `json:"histogram,omitempty"`

	// 日志条数
	Count *int64 `json:"count,omitempty"`

	// 是否查询完成。
	IsQueryComplete *bool `json:"isQueryComplete,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

ListLogHistogramResponse Response Object

func (ListLogHistogramResponse) String

func (o ListLogHistogramResponse) String() string

type ListLogStreamRequest

type ListLogStreamRequest struct {

	// 租户想查询的日志流所在的日志组的groupid,一般为36位字符串。
	LogGroupId string `json:"log_group_id"`

	// 按条件搜索,内容设置为日志流的tag键值对,比如k1=v1;
	Tag *string `json:"tag,omitempty"`
}

ListLogStreamRequest Request Object

func (ListLogStreamRequest) String

func (o ListLogStreamRequest) String() string

type ListLogStreamResponse

type ListLogStreamResponse struct {

	// 日志组数组。
	LogStreams     *[]LogStream `json:"log_streams,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListLogStreamResponse Response Object

func (ListLogStreamResponse) String

func (o ListLogStreamResponse) String() string

type ListLogStreamsRequest

type ListLogStreamsRequest struct {

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`

	// 查询游标,初始传入0,后续从上一次的返回值中获取
	Offset *int32 `json:"offset,omitempty"`

	// 每页数据量,最大值为100
	Limit *int32 `json:"limit,omitempty"`
}

ListLogStreamsRequest Request Object

func (ListLogStreamsRequest) String

func (o ListLogStreamsRequest) String() string

type ListLogStreamsResponse

type ListLogStreamsResponse struct {

	// 日志流数组
	LogStreams     *[]ListLogStreamsResponseBody1LogStreams `json:"log_streams,omitempty"`
	HttpStatusCode int                                      `json:"-"`
}

ListLogStreamsResponse Response Object

func (ListLogStreamsResponse) String

func (o ListLogStreamsResponse) String() string

type ListLogStreamsResponseBody1LogStreams

type ListLogStreamsResponseBody1LogStreams struct {

	// 日志流创建时间
	CreationTime int64 `json:"creation_time"`

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`

	// 日志流名称
	LogStreamName string `json:"log_stream_name"`

	// 日志流所属标签
	Tag map[string]string `json:"tag"`

	// 过滤器个数
	FilterCount int32 `json:"filter_count"`
}

func (ListLogStreamsResponseBody1LogStreams) String

type ListLogsRequest

type ListLogsRequest struct {

	// 日志组id。
	LogGroupId string `json:"log_group_id"`

	// 日志流id。
	LogStreamId string `json:"log_stream_id"`

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

ListLogsRequest Request Object

func (ListLogsRequest) String

func (o ListLogsRequest) String() string

type ListLogsResponse

type ListLogsResponse struct {

	// 日志条数。
	Count *int32 `json:"count,omitempty"`

	// 日志信息。
	Logs *[]LogContents `json:"logs,omitempty"`

	// 是否查询完成。
	IsQueryComplete *bool `json:"isQueryComplete,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

ListLogsResponse Response Object

func (ListLogsResponse) String

func (o ListLogsResponse) String() string

type ListNotificationTemplateRequest

type ListNotificationTemplateRequest struct {

	// 账号id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	DomainId string `json:"domain_id"`

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

ListNotificationTemplateRequest Request Object

func (ListNotificationTemplateRequest) String

type ListNotificationTemplateResponse

type ListNotificationTemplateResponse struct {

	// 为一个html文本,需要进行相应的解析后展示
	Template       *string `json:"template,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListNotificationTemplateResponse Response Object

func (ListNotificationTemplateResponse) String

type ListNotificationTemplatesRequest

type ListNotificationTemplatesRequest struct {

	// 账号id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	DomainId string `json:"domain_id"`

	// 查询游标,初始传入0,后续从上一次的返回值中获取
	Offset *int32 `json:"offset,omitempty"`

	// 每页数据量,最大值为100
	Limit *int32 `json:"limit,omitempty"`
}

ListNotificationTemplatesRequest Request Object

func (ListNotificationTemplatesRequest) String

type ListNotificationTemplatesResponse

type ListNotificationTemplatesResponse struct {

	// 模板数组
	Results        *[]NotificationTemplate `json:"results,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListNotificationTemplatesResponse Response Object

func (ListNotificationTemplatesResponse) String

type ListNotificationTopicsRequest

type ListNotificationTopicsRequest struct {

	// 查询游标,初始传入0,后续从上一次的返回值中获取
	Offset int32 `json:"offset"`

	// 每页数据量,最大值为100
	Limit int32 `json:"limit"`
}

ListNotificationTopicsRequest Request Object

func (ListNotificationTopicsRequest) String

type ListNotificationTopicsResponse

type ListNotificationTopicsResponse struct {

	// request_id
	RequestId *string `json:"request_id,omitempty"`

	// topics数量
	TopicCount *int32 `json:"topic_count,omitempty"`

	// 主题信息
	Topics         *[]Topics `json:"topics,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListNotificationTopicsResponse Response Object

func (ListNotificationTopicsResponse) String

type ListQueryAllSearchCriteriasRequest

type ListQueryAllSearchCriteriasRequest struct {

	// 租户想查询的日志流所在的日志组的groupid,一般为36位字符串。  缺省值:None  最小长度:36  最大长度:36
	GroupId string `json:"group_id"`
}

ListQueryAllSearchCriteriasRequest Request Object

func (ListQueryAllSearchCriteriasRequest) String

type ListQueryAllSearchCriteriasResponse

type ListQueryAllSearchCriteriasResponse struct {

	// 快速查询
	SearchCriterias *[]SearchCriteriasBody `json:"search_criterias,omitempty"`
	HttpStatusCode  int                    `json:"-"`
}

ListQueryAllSearchCriteriasResponse Response Object

func (ListQueryAllSearchCriteriasResponse) String

type ListQueryStructuredLogsRequest

type ListQueryStructuredLogsRequest struct {

	// 日志组id。
	LogGroupId string `json:"log_group_id"`

	// 日志流id。
	LogStreamId string `json:"log_stream_id"`

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

ListQueryStructuredLogsRequest Request Object

func (ListQueryStructuredLogsRequest) String

type ListQueryStructuredLogsResponse

type ListQueryStructuredLogsResponse struct {

	// 日志信息。
	StructLogs     *[]StructLogContents `json:"struct_logs,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListQueryStructuredLogsResponse Response Object

func (ListQueryStructuredLogsResponse) String

type ListSqlAlarmRulesRequest

type ListSqlAlarmRulesRequest struct {
}

ListSqlAlarmRulesRequest Request Object

func (ListSqlAlarmRulesRequest) String

func (o ListSqlAlarmRulesRequest) String() string

type ListSqlAlarmRulesResponse

type ListSqlAlarmRulesResponse struct {

	// SQL告警
	SqlAlarmRules  *[]SqlAlarmRuleRespList `json:"sql_alarm_rules,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListSqlAlarmRulesResponse Response Object

func (ListSqlAlarmRulesResponse) String

func (o ListSqlAlarmRulesResponse) String() string

type ListStructTemplateRequest

type ListStructTemplateRequest struct {

	// 待查询模板id,非必填,不传时返回项目下所有自定义结构化模板
	Id *string `json:"id,omitempty"`
}

ListStructTemplateRequest Request Object

func (ListStructTemplateRequest) String

func (o ListStructTemplateRequest) String() string

type ListStructTemplateResponse

type ListStructTemplateResponse struct {

	// 查询的自定义结构化模板数组
	Results        *[]StructTemplateModel `json:"results,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ListStructTemplateResponse Response Object

func (ListStructTemplateResponse) String

type ListStructuredLogsWithTimeRangeRequest

type ListStructuredLogsWithTimeRangeRequest struct {

	// 日志流id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	LogStreamId string `json:"log_stream_id"`

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

ListStructuredLogsWithTimeRangeRequest Request Object

func (ListStructuredLogsWithTimeRangeRequest) String

type ListStructuredLogsWithTimeRangeResponse

type ListStructuredLogsWithTimeRangeResponse struct {

	// 此参数在请求实体中,采用json字符串格式。
	Body           map[string][]interface{} `json:"body,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListStructuredLogsWithTimeRangeResponse Response Object

func (ListStructuredLogsWithTimeRangeResponse) String

type ListTimeLineTrafficStatisticsRequest

type ListTimeLineTrafficStatisticsRequest struct {

	// 时区
	Timezone string `json:"timezone"`

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

ListTimeLineTrafficStatisticsRequest Request Object

func (ListTimeLineTrafficStatisticsRequest) String

type ListTimeLineTrafficStatisticsResponse

type ListTimeLineTrafficStatisticsResponse struct {

	// 响应结果
	Results        *[]Resulits `json:"results,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListTimeLineTrafficStatisticsResponse Response Object

func (ListTimeLineTrafficStatisticsResponse) String

type ListTopnTrafficStatisticsRequest

type ListTopnTrafficStatisticsRequest struct {
	Body *TopnRequstBody `json:"body,omitempty"`
}

ListTopnTrafficStatisticsRequest Request Object

func (ListTopnTrafficStatisticsRequest) String

type ListTopnTrafficStatisticsResponse

type ListTopnTrafficStatisticsResponse struct {

	// 响应结果
	Results        *[]ResultsTopnBody `json:"results,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListTopnTrafficStatisticsResponse Response Object

func (ListTopnTrafficStatisticsResponse) String

type ListTransfersRequest

type ListTransfersRequest struct {

	// 日志转储类型。OBS指OBS日志转储,DIS指DIS日志转储,DMS指DMS日志转储
	LogTransferType *ListTransfersRequestLogTransferType `json:"log_transfer_type,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`

	// 查询游标,初始传入0,后续从上一次的返回值中获取
	Offset *int32 `json:"offset,omitempty"`

	// 每页数据量,最大值为100
	Limit *int32 `json:"limit,omitempty"`
}

ListTransfersRequest Request Object

func (ListTransfersRequest) String

func (o ListTransfersRequest) String() string

type ListTransfersRequestLogTransferType

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

func (ListTransfersRequestLogTransferType) MarshalJSON

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

func (*ListTransfersRequestLogTransferType) UnmarshalJSON

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

func (ListTransfersRequestLogTransferType) Value

type ListTransfersResponse

type ListTransfersResponse struct {

	// 查询日志转储信息数组
	LogTransfers   *[]CreateTransferResponseBody `json:"log_transfers,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ListTransfersResponse Response Object

func (ListTransfersResponse) String

func (o ListTransfersResponse) String() string

type LogContents

type LogContents struct {

	// 日志原数据。
	Content *string `json:"content,omitempty"`

	// 日志单行序列号。
	LineNum *string `json:"line_num,omitempty"`

	// 该条日志包含的 labels。
	Labels map[string]string `json:"labels,omitempty"`
}

LogContents 参数集

func (LogContents) String

func (o LogContents) String() string

type LogGroup

type LogGroup struct {

	// 创建时间
	CreationTime int64 `json:"creation_time"`

	// 日志组名称
	LogGroupName string `json:"log_group_name"`

	// 日志组ID
	LogGroupId string `json:"log_group_id"`

	// 日志存储时间 天
	TtlInDays int32 `json:"ttl_in_days"`

	// 日志流所属标签
	Tag map[string]string `json:"tag,omitempty"`
}

LogGroup 返回的日志组信息

func (LogGroup) String

func (o LogGroup) String() string

type LogStream

type LogStream struct {

	// 创建时间
	CreationTime int64 `json:"creation_time"`

	// 日志流名称
	LogStreamName string `json:"log_stream_name"`

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`

	// 过滤器个数
	FilterCount int32 `json:"filter_count"`

	// 日志流所属标签
	Tag map[string]string `json:"tag,omitempty"`

	// 是否收藏日志流
	IsFavorite *bool `json:"is_favorite,omitempty"`
}

LogStream 返回的日志流信息

func (LogStream) String

func (o LogStream) String() string

type LtsStructTemplateInfo

type LtsStructTemplateInfo struct {

	// 结构化字段
	DemoFields []StructFieldInfo `json:"demo_fields"`

	// tag字段列表(使用tag字段解析时需要,其中系统模板不支持使用tag字段)。
	TagFields []TagField `json:"tag_fields"`

	// 示例日志
	Content string `json:"content"`

	// 日志组ID
	LogGroupId string `json:"log_group_id"`

	// 结构化方式
	ParseType LtsStructTemplateInfoParseType `json:"parse_type"`

	// 日志流ID
	LogStreamId string `json:"log_stream_id"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// parse_type为custom_regex类型时必填,regex提取规则
	RegexRules *string `json:"regex_rules,omitempty"`

	// parse_type为json类型时必填,解析层数,目前固定是3
	Layers *int32 `json:"layers,omitempty"`

	// parse_type为split类型时必填,分隔符,分词符号
	Tokenizer *string `json:"tokenizer,omitempty"`

	// parse_type为nginx类型时必填,nginx日志格式模板
	LogFormat *string `json:"log_format,omitempty"`

	Rule *Rule `json:"rule,omitempty"`
}

func (LtsStructTemplateInfo) String

func (o LtsStructTemplateInfo) String() string

type LtsStructTemplateInfoParseType

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

func (LtsStructTemplateInfoParseType) MarshalJSON

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

func (*LtsStructTemplateInfoParseType) UnmarshalJSON

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

func (LtsStructTemplateInfoParseType) Value

type Metadata

type Metadata struct {

	// 告警类型
	EventType string `json:"event_type"`

	// 告警id
	EventId string `json:"event_id"`

	// 告警级别
	EventSeverity string `json:"event_severity"`

	// 告警名称
	EventName string `json:"event_name"`

	// 资源类型
	ResourceType string `json:"resource_type"`

	// 日志组/流名称
	ResourceId string `json:"resource_id"`

	// 告警源
	ResourceProvider string `json:"resource_provider"`

	// 告警规则类型(SQL/关键词)
	LtsAlarmType string `json:"lts_alarm_type"`
}

func (Metadata) String

func (o Metadata) String() string

type NotificationTemplate

type NotificationTemplate struct {

	// 通知规则名称,必填,只含有汉字、数字、字母、下划线、中划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100,创建后不可修改
	Name string `json:"name"`

	// 保留字段,非必填,只支持sms(短信),dingding(钉钉),wechat(企业微信),email(邮件)和webhook(网络钩子)
	Type *[]string `json:"type,omitempty"`

	// 模板描述,必填,只含有汉字、数字、字母、下划线不能以下划线开头和结尾,长度为0--1024
	Desc string `json:"desc"`

	// 模板来源,目前必填为LTS,否则会筛选不出来
	Source string `json:"source"`

	// 语言,必填,目前可填zh-cn和en-us
	Locale NotificationTemplateLocale `json:"locale"`

	// 模板正文,为一个数组
	Templates []SubTemplate `json:"templates"`

	// 创建时间,为毫秒时间戳
	CreateTime int64 `json:"create_time"`

	// 更新时间,为毫秒时间戳
	ModifyTime int64 `json:"modify_time"`

	// 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	ProjectId string `json:"project_id"`
}

func (NotificationTemplate) String

func (o NotificationTemplate) String() string

type NotificationTemplateLocale

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

func (NotificationTemplateLocale) MarshalJSON

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

func (*NotificationTemplateLocale) UnmarshalJSON

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

func (NotificationTemplateLocale) Value

type NotificationTemplateLocaleEnum

type NotificationTemplateLocaleEnum struct {
	ZH_CN NotificationTemplateLocale
	EN_US NotificationTemplateLocale
}

func GetNotificationTemplateLocaleEnum

func GetNotificationTemplateLocaleEnum() NotificationTemplateLocaleEnum

type PageInfo

type PageInfo struct {

	// 返回下一页查询地址(为空时,代表后面没有数据)
	NextMarker string `json:"next_marker"`

	// 返回前一页查询地址
	PreviousMarker string `json:"previous_marker"`

	// 本页返回条目数量
	CurrentCount string `json:"current_count"`
}

func (PageInfo) String

func (o PageInfo) String() string

type PreviewTemplateBody

type PreviewTemplateBody struct {

	// 邮件模板内容
	Templates string `json:"templates"`

	// 语言 zh-cn中文,en-us英文
	Language PreviewTemplateBodyLanguage `json:"language"`

	// 来源,只能填LTS
	Source string `json:"source"`
}

PreviewTemplateBody 预览邮件格式请求体

func (PreviewTemplateBody) String

func (o PreviewTemplateBody) String() string

type PreviewTemplateBodyLanguage

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

func (PreviewTemplateBodyLanguage) MarshalJSON

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

func (*PreviewTemplateBodyLanguage) UnmarshalJSON

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

func (PreviewTemplateBodyLanguage) Value

type PreviewTemplateBodyLanguageEnum

type PreviewTemplateBodyLanguageEnum struct {
	ZH_CN PreviewTemplateBodyLanguage
	EN_US PreviewTemplateBodyLanguage
}

func GetPreviewTemplateBodyLanguageEnum

func GetPreviewTemplateBodyLanguageEnum() PreviewTemplateBodyLanguageEnum

type QuertHistorySqlResultsBody

type QuertHistorySqlResultsBody struct {

	// 上次修改时间,时间戳,毫秒数
	LastUseTime *int64 `json:"last_use_time,omitempty"`

	// 历史sql语句
	SqlStatement *string `json:"sql_statement,omitempty"`
}

func (QuertHistorySqlResultsBody) String

type QueryLogKeyWordCountRequestBody

type QueryLogKeyWordCountRequestBody struct {

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

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

	// 步长间隔
	StepInterval int64 `json:"step_interval"`

	// 日志组ID
	GroupId string `json:"group_id"`

	// 日志流ID
	StreamId string `json:"stream_id"`

	// 关键词
	KeyWord string `json:"key_word"`

	// 日志迭代查询,默认为false(不开启迭代),true为开启迭代。
	IsIterative *bool `json:"is_iterative,omitempty"`
}

QueryLogKeyWordCountRequestBody 日志关键词统计请求体。

func (QueryLogKeyWordCountRequestBody) String

type QueryLtsLogParams

type QueryLtsLogParams struct {

	// 搜索起始时间(UTC时间,毫秒级)。
	StartTime string `json:"start_time"`

	// 搜索结束时间(UTC时间,毫秒级)。
	EndTime string `json:"end_time"`

	// 日志过滤条件集合,不同日志来源所需字段不同。
	Labels map[string]string `json:"labels,omitempty"`

	// 日志条数统计。默认为false(不统计),true为统计日志条数。
	IsCount *bool `json:"is_count,omitempty"`

	// 支持关键词精确搜索。关键词指相邻两个分词符之间的单词,例:error
	Keywords *string `json:"keywords,omitempty"`

	// 日志单行序列号,第一次查询时不需要此参数,后续分页查询时需要使用,可从上次查询的返回信息中获取。line_num应在start_time 和 end_time 之间。
	LineNum *string `json:"line_num,omitempty"`

	// 顺序或者倒序查询, 默认为false(顺序查询)
	IsDesc *bool `json:"is_desc,omitempty"`

	// 首次查询为 “init”, 分页查询时为 “forwards”或者“backwards”, 默认为首次查询“init”, 与 is_desc 参数配合进行分页查询。
	SearchType *QueryLtsLogParamsSearchType `json:"search_type,omitempty"`

	// 表示每次查询的日志条数,不填时默认为50,建议您设置为100。
	Limit *int32 `json:"limit,omitempty"`

	// 日志关键词高亮显示,默认为true(高亮显示),false为取消高亮显示。
	Highlight *bool `json:"highlight,omitempty"`

	// 日志迭代查询,默认为false(不开启迭代),true为开启迭代。
	IsIterative *bool `json:"is_iterative,omitempty"`
}

QueryLtsLogParams 此参数在请求实体中,采用json字符串格式

func (QueryLtsLogParams) String

func (o QueryLtsLogParams) String() string

type QueryLtsLogParamsSearchType

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

func (QueryLtsLogParamsSearchType) MarshalJSON

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

func (*QueryLtsLogParamsSearchType) UnmarshalJSON

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

func (QueryLtsLogParamsSearchType) Value

type QueryLtsLogParamsSearchTypeEnum

type QueryLtsLogParamsSearchTypeEnum struct {
	FORWARDS  QueryLtsLogParamsSearchType
	BACKWARDS QueryLtsLogParamsSearchType
}

func GetQueryLtsLogParamsSearchTypeEnum

func GetQueryLtsLogParamsSearchTypeEnum() QueryLtsLogParamsSearchTypeEnum

type QueryLtsStructLogParams

type QueryLtsStructLogParams struct {

	// 搜索起始时间(UTC时间,毫秒级)。
	StartTime string `json:"start_time"`

	// 搜索结束时间(UTC时间,毫秒级)。
	EndTime string `json:"end_time"`

	// 支持SQL语句搜索, 目前支持\"GROUP BY\", \"LIKE\"和\"WHERE\"。
	SqlExpression *string `json:"sql_expression,omitempty"`

	// 返回内容中是否包含原始日志, 默认为false。
	OriginalContent *bool `json:"original_content,omitempty"`
}

QueryLtsStructLogParams 此参数在请求实体中,采用json字符串格式

func (QueryLtsStructLogParams) String

func (o QueryLtsStructLogParams) String() string

type QueryLtsStructLogParamsNew

type QueryLtsStructLogParamsNew struct {

	// sql语句字符串。
	Query string `json:"query"`

	// 查询结果格式。当前仅支持:\"k-v\"。
	Format string `json:"format"`

	TimeRange *TimeRange `json:"time_range"`

	// 返回数据格式,是否为行数据,默认为false。
	WhetherToRows *bool `json:"whether_to_rows,omitempty"`
}

QueryLtsStructLogParamsNew 此参数在请求实体中,采用json字符串格式

func (QueryLtsStructLogParamsNew) String

type RegisterDmsKafkaInstanceRequest

type RegisterDmsKafkaInstanceRequest struct {
	Body *RegisterDmsKafkaInstanceRequestBody `json:"body,omitempty"`
}

RegisterDmsKafkaInstanceRequest Request Object

func (RegisterDmsKafkaInstanceRequest) String

type RegisterDmsKafkaInstanceRequestBody

type RegisterDmsKafkaInstanceRequestBody struct {

	// kafka ID
	InstanceId string `json:"instance_id"`

	// kafka 名称
	KafkaName string `json:"kafka_name"`

	ConnectInfo *RegisterDmsKafkaInstanceRequestBodyConnectInfo `json:"connect_info"`
}

func (RegisterDmsKafkaInstanceRequestBody) String

type RegisterDmsKafkaInstanceRequestBodyConnectInfo

type RegisterDmsKafkaInstanceRequestBodyConnectInfo struct {

	// 账号
	UserName *string `json:"user_name,omitempty"`

	// 密码
	Pwd *string `json:"pwd,omitempty"`
}

RegisterDmsKafkaInstanceRequestBodyConnectInfo kafka连接信息。购买kafka时,SASL_SSL是否配置,如果有,则需要填写账号密码

func (RegisterDmsKafkaInstanceRequestBodyConnectInfo) String

type RegisterDmsKafkaInstanceResponse

type RegisterDmsKafkaInstanceResponse struct {

	// kafka ID
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RegisterDmsKafkaInstanceResponse Response Object

func (RegisterDmsKafkaInstanceResponse) String

type Resulits

type Resulits struct {

	// 时间戳,毫秒时间
	Timestamp *int64 `json:"timestamp,omitempty"`

	// 流量,byte
	Value *float64 `json:"value,omitempty"`
}

func (Resulits) String

func (o Resulits) String() string

type ResultsTopnBody

type ResultsTopnBody struct {

	// 索引流量,byte, 查询数据类型中包含index时返回
	IndexTraffic float64 `json:"index_traffic"`

	// 存储量,byte, 查询数据类型中包含storage时返回
	Storage float64 `json:"storage"`

	// 写入流量,byte, 查询数据类型中包含write时返回
	WriteTraffic float64 `json:"write_traffic"`

	// 日志组id,资源类型为日志组时返回
	LogGroupId string `json:"log_group_id"`

	// 日志组名称,资源类型为日志组时返回
	LogGroupName string `json:"log_group_name"`

	// 日志流id,资源类型为日志流时返回
	LogStreamId *string `json:"log_stream_id,omitempty"`

	// 日志流名称,资源类型为日志流时返回
	LogStreamName *string `json:"log_stream_name,omitempty"`
}

func (ResultsTopnBody) String

func (o ResultsTopnBody) String() string

type Rule

type Rule struct {

	// 内置系统模板类型。
	Type string `json:"type"`

	// 系统iton模板名称。
	Param string `json:"param"`
}

func (Rule) String

func (o Rule) String() string

type SearchCriteriasBody

type SearchCriteriasBody struct {

	// 单个日志流的快速查询
	Criterias []GetQuerySearchCriteriasBody `json:"criterias"`

	// 日志流id
	LogStreamId *string `json:"log_stream_id,omitempty"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`
}

func (SearchCriteriasBody) String

func (o SearchCriteriasBody) String() string

type ShowAomMappingRuleRequest

type ShowAomMappingRuleRequest struct {

	// 接入规则ID
	RuleId string `json:"rule_id"`
}

ShowAomMappingRuleRequest Request Object

func (ShowAomMappingRuleRequest) String

func (o ShowAomMappingRuleRequest) String() string

type ShowAomMappingRuleResponse

type ShowAomMappingRuleResponse struct {
	Body           *[]AomMappingRuleResp `json:"body,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ShowAomMappingRuleResponse Response Object

func (ShowAomMappingRuleResponse) String

type ShowAomMappingRulesRequest

type ShowAomMappingRulesRequest struct {
}

ShowAomMappingRulesRequest Request Object

func (ShowAomMappingRulesRequest) String

type ShowAomMappingRulesResponse

type ShowAomMappingRulesResponse struct {
	Body           *[]AomMappingRuleResp `json:"body,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ShowAomMappingRulesResponse Response Object

func (ShowAomMappingRulesResponse) String

type ShowNotificationTemplateRequest

type ShowNotificationTemplateRequest struct {

	// 账号id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	DomainId string `json:"domain_id"`

	// template_name
	TemplateName string `json:"template_name"`
}

ShowNotificationTemplateRequest Request Object

func (ShowNotificationTemplateRequest) String

type ShowNotificationTemplateResponse

type ShowNotificationTemplateResponse struct {

	// 通知规则名称,必填,只含有汉字、数字、字母、下划线、中划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100,创建后不可修改
	Name string `json:"name"`

	// 保留字段,非必填,只支持sms(短信),dingding(钉钉),wechat(企业微信),email(邮件)和webhook(网络钩子)
	Type *[]string `json:"type,omitempty"`

	// 模板描述,必填,只含有汉字、数字、字母、下划线不能以下划线开头和结尾,长度为0--1024
	Desc string `json:"desc"`

	// 模板来源,目前必填为LTS,否则会筛选不出来
	Source string `json:"source"`

	// 语言,必填,目前可填zh-cn和en-us
	Locale ShowNotificationTemplateResponseLocale `json:"locale"`

	// 模板正文,为一个数组
	Templates []SubTemplate `json:"templates"`

	// 创建时间,为毫秒时间戳
	CreateTime int64 `json:"create_time"`

	// 更新时间,为毫秒时间戳
	ModifyTime int64 `json:"modify_time"`

	// 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	ProjectId      string `json:"project_id"`
	HttpStatusCode int    `json:"-"`
}

ShowNotificationTemplateResponse Response Object

func (ShowNotificationTemplateResponse) String

type ShowNotificationTemplateResponseLocale

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

func (ShowNotificationTemplateResponseLocale) MarshalJSON

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

func (*ShowNotificationTemplateResponseLocale) UnmarshalJSON

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

func (ShowNotificationTemplateResponseLocale) Value

type ShowNotificationTemplateResponseLocaleEnum

type ShowNotificationTemplateResponseLocaleEnum struct {
	ZH_CN ShowNotificationTemplateResponseLocale
	EN_US ShowNotificationTemplateResponseLocale
}

func GetShowNotificationTemplateResponseLocaleEnum

func GetShowNotificationTemplateResponseLocaleEnum() ShowNotificationTemplateResponseLocaleEnum

type ShowStructTemplateRequest

type ShowStructTemplateRequest struct {

	// 日志组ID
	LogGroupId string `json:"logGroupId"`

	// 日志流ID
	LogStreamId string `json:"logStreamId"`
}

ShowStructTemplateRequest Request Object

func (ShowStructTemplateRequest) String

func (o ShowStructTemplateRequest) String() string

type ShowStructTemplateResponse

type ShowStructTemplateResponse struct {

	// 结构化字段
	DemoFields *[]StructFieldInfoReturn `json:"demoFields,omitempty"`

	// 关键词详细信息
	TagFields *[]TagFieldsInfo `json:"tagFields,omitempty"`

	// 示例日志
	DemoLog *string `json:"demoLog,omitempty"`

	// 测试
	DemoLabel *string `json:"demoLabel,omitempty"`

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

	// 日志组ID
	LogGroupId *string `json:"logGroupId,omitempty"`

	Rule *ShowStructTemplateRule `json:"rule,omitempty"`

	ClusterInfo *ShowStructTemplateclusterInfo `json:"cluster_info,omitempty"`

	// 日志流ID
	LogStreamId *string `json:"logStreamId,omitempty"`

	// 项目ID
	ProjectId *string `json:"projectId,omitempty"`

	// 测试
	TemplateName *string `json:"templateName,omitempty"`

	// 为了兼容前台数据格式
	Regex          *string `json:"regex,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowStructTemplateResponse Response Object

func (ShowStructTemplateResponse) String

type ShowStructTemplateRule

type ShowStructTemplateRule struct {

	// 测试
	Param *string `json:"param,omitempty"`

	// 结构化类型
	Type *ShowStructTemplateRuleType `json:"type,omitempty"`
}

ShowStructTemplateRule 结构化类型。

func (ShowStructTemplateRule) String

func (o ShowStructTemplateRule) String() string

type ShowStructTemplateRuleType

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

func (ShowStructTemplateRuleType) MarshalJSON

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

func (*ShowStructTemplateRuleType) UnmarshalJSON

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

func (ShowStructTemplateRuleType) Value

type ShowStructTemplateclusterInfo

type ShowStructTemplateclusterInfo struct {

	// 测试
	ClusterName *string `json:"cluster_name,omitempty"`

	// 测试
	KafkaBootstrapServers *string `json:"kafka_bootstrap_servers,omitempty"`

	// 测试
	KafkaSslEnable *bool `json:"kafka_ssl_enable,omitempty"`
}

ShowStructTemplateclusterInfo 结构化类型。

func (ShowStructTemplateclusterInfo) String

type Sort

type Sort struct {

	// 排序字段
	OrderBy []string `json:"order_by"`

	// 排序顺序
	Order SortOrder `json:"order"`
}

func (Sort) String

func (o Sort) String() string

type SortOrder

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

func (SortOrder) MarshalJSON

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

func (*SortOrder) UnmarshalJSON

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

func (SortOrder) Value

func (c SortOrder) Value() string

type SortOrderEnum

type SortOrderEnum struct {
	DESC SortOrder
	ASC  SortOrder
}

func GetSortOrderEnum

func GetSortOrderEnum() SortOrderEnum

type SqlAlarmRuleRespList

type SqlAlarmRuleRespList struct {

	// SQL告警名称
	SqlAlarmRuleName string `json:"sql_alarm_rule_name"`

	// SQL告警规则id
	SqlAlarmRuleId string `json:"sql_alarm_rule_id"`

	// SQL告警信息描述
	SqlAlarmRuleDescription string `json:"sql_alarm_rule_description"`

	// SQL详细信息
	SqlRequests []SqlRequest `json:"sql_requests"`

	// 告警统计周期
	Frequency *Frequency `json:"frequency"`

	// 条件表达式
	ConditionExpression string `json:"condition_expression"`

	// 主题信息
	Topics []Topics `json:"topics"`

	// 告警级别
	SqlAlarmLevel SqlAlarmRuleRespListSqlAlarmLevel `json:"sql_alarm_level"`

	// 是否发送
	SqlAlarmSend bool `json:"sql_alarm_send"`

	// domainId
	DomainId string `json:"domain_id"`

	// 创建时间(毫秒时间戳)
	CreateTime int64 `json:"create_time"`

	// 更新时间(毫秒时间戳)
	UpdateTime int64 `json:"update_time"`

	TemplateName *string `json:"template_name,omitempty"`

	Status *SqlAlarmRuleRespListStatus `json:"status,omitempty"`

	// 触发条件:触发次数;默认为1
	TriggerConditionCount *int32 `json:"trigger_condition_count,omitempty"`

	// 触发条件:触发周期;默认为1
	TriggerConditionFrequency *int32 `json:"trigger_condition_frequency,omitempty"`

	// 是否打开恢复通知;默认false
	WhetherRecoveryPolicy *bool `json:"whether_recovery_policy,omitempty"`

	// 恢复策略周期;默认为3
	RecoveryPolicy *int32 `json:"recovery_policy,omitempty"`
}

func (SqlAlarmRuleRespList) String

func (o SqlAlarmRuleRespList) String() string

type SqlAlarmRuleRespListSqlAlarmLevel

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

func (SqlAlarmRuleRespListSqlAlarmLevel) MarshalJSON

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

func (*SqlAlarmRuleRespListSqlAlarmLevel) UnmarshalJSON

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

func (SqlAlarmRuleRespListSqlAlarmLevel) Value

type SqlAlarmRuleRespListStatus

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

func (SqlAlarmRuleRespListStatus) MarshalJSON

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

func (*SqlAlarmRuleRespListStatus) UnmarshalJSON

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

func (SqlAlarmRuleRespListStatus) Value

type SqlAlarmRuleRespListStatusEnum

type SqlAlarmRuleRespListStatusEnum struct {
	RUNNING  SqlAlarmRuleRespListStatus
	STOPPING SqlAlarmRuleRespListStatus
}

func GetSqlAlarmRuleRespListStatusEnum

func GetSqlAlarmRuleRespListStatusEnum() SqlAlarmRuleRespListStatusEnum

type SqlNotificationSaveRule

type SqlNotificationSaveRule struct {

	// 首选项对应的语言
	Language SqlNotificationSaveRuleLanguage `json:"language"`

	// 首选项对应的时区信息
	Timezone *string `json:"timezone,omitempty"`

	// 用户名
	UserName string `json:"user_name"`

	// 主题信息
	Topics []Topics `json:"topics"`

	// 消息模板名称
	TemplateName string `json:"template_name"`
}

func (SqlNotificationSaveRule) String

func (o SqlNotificationSaveRule) String() string

type SqlNotificationSaveRuleLanguage

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

func (SqlNotificationSaveRuleLanguage) MarshalJSON

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

func (*SqlNotificationSaveRuleLanguage) UnmarshalJSON

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

func (SqlNotificationSaveRuleLanguage) Value

type SqlNotificationSaveRuleLanguageEnum

type SqlNotificationSaveRuleLanguageEnum struct {
	ZH_CN SqlNotificationSaveRuleLanguage
	EN_US SqlNotificationSaveRuleLanguage
}

func GetSqlNotificationSaveRuleLanguageEnum

func GetSqlNotificationSaveRuleLanguageEnum() SqlNotificationSaveRuleLanguageEnum

type SqlRequest

type SqlRequest struct {

	// 是时间范围相对
	IsTimeRangeRelative *bool `json:"is_time_range_relative,omitempty"`

	// 日志流id
	LogStreamId string `json:"log_stream_id"`

	// 日志流名称
	LogStreamName *string `json:"log_stream_name,omitempty"`

	// 日志组id
	LogGroupId string `json:"log_group_id"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// sql语句
	Sql string `json:"sql"`

	// 图表名称
	SqlRequestTitle string `json:"sql_request_title"`

	// 查询执行任务时最近数据的时间范围(当search_time_range_unit为minute,则最大值为60;当search_time_range_unit为hour,则最大值为24)
	SearchTimeRange int32 `json:"search_time_range"`

	// 查询时间单位
	SearchTimeRangeUnit SqlRequestSearchTimeRangeUnit `json:"search_time_range_unit"`
}

func (SqlRequest) String

func (o SqlRequest) String() string

type SqlRequestSearchTimeRangeUnit

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

func (SqlRequestSearchTimeRangeUnit) MarshalJSON

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

func (*SqlRequestSearchTimeRangeUnit) UnmarshalJSON

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

func (SqlRequestSearchTimeRangeUnit) Value

type SqlRequestSearchTimeRangeUnitEnum

type SqlRequestSearchTimeRangeUnitEnum struct {
	MINUTE SqlRequestSearchTimeRangeUnit
	HOUR   SqlRequestSearchTimeRangeUnit
}

func GetSqlRequestSearchTimeRangeUnitEnum

func GetSqlRequestSearchTimeRangeUnitEnum() SqlRequestSearchTimeRangeUnitEnum

type StructConfig

type StructConfig struct {

	// 日志组ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	LogGroupId string `json:"log_group_id"`

	// 日志流ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	LogStreamId string `json:"log_stream_id"`

	// 所用模板id。当使用系统模板时,当前属性可以为空
	TemplateId string `json:"template_id"`

	// 所用模板名称,会对模板名称及id进行校验
	TemplateName string `json:"template_name"`

	// 所用模板类型,分为built_in及custom两种类型,对应系统模板和自定义模板,系统模板分为CTS,VPC和ELB三种。
	TemplateType StructConfigTemplateType `json:"template_type"`

	// 示例字段数组,只需要填写与模板中is_analysis状态不同的字段
	DemoFields *[]FieldModel `json:"demo_fields,omitempty"`

	// Tag字段数组,只需要填写与模板中is_analysis状态不同的字段
	TagFields *[]FieldModel `json:"tag_fields,omitempty"`

	// 是否开启demo_fields和tag_fields快速分析,为true时,所有的demo_fields和tag_fields全部字段均打开快速分析;不填或者为false,以模板中的demo_fields和tag_fields中的is_analysis决定是否开启快速分析。
	QuickAnalysis *bool `json:"quick_analysis,omitempty"`
}

StructConfig 结构化配置参数体

func (StructConfig) String

func (o StructConfig) String() string

type StructConfigTemplateType

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

func (StructConfigTemplateType) MarshalJSON

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

func (*StructConfigTemplateType) UnmarshalJSON

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

func (StructConfigTemplateType) Value

func (c StructConfigTemplateType) Value() string

type StructConfigTemplateTypeEnum

type StructConfigTemplateTypeEnum struct {
	BUILT_IN StructConfigTemplateType
	CUSTOM   StructConfigTemplateType
}

func GetStructConfigTemplateTypeEnum

func GetStructConfigTemplateTypeEnum() StructConfigTemplateTypeEnum

type StructFieldInfo

type StructFieldInfo struct {

	// 结构化方式
	IsAnalysis *bool `json:"isAnalysis,omitempty"`

	// 字段内容
	Content *string `json:"content,omitempty"`

	// 字段名称
	FieldName *string `json:"fieldName,omitempty"`

	// 字段数据类型,例:string,long,float
	Type string `json:"type"`

	// 自定义别名(json方式中按需添加)
	UserDefinedName *string `json:"userDefinedName,omitempty"`

	// 序号
	Index *int32 `json:"index,omitempty"`
}

func (StructFieldInfo) String

func (o StructFieldInfo) String() string

type StructFieldInfoReturn

type StructFieldInfoReturn struct {

	// 字段名称
	FieldName *string `json:"fieldName,omitempty"`

	// 字段数据类型
	Type *string `json:"type,omitempty"`

	// 字段内容
	Content *string `json:"content,omitempty"`

	// 结构化方式
	IsAnalysis *bool `json:"isAnalysis,omitempty"`

	// 序号
	Index *int32 `json:"index,omitempty"`
}

func (StructFieldInfoReturn) String

func (o StructFieldInfoReturn) String() string

type StructLogContents

type StructLogContents struct {

	// 日志原数据。
	LogContent *string `json:"log_content,omitempty"`

	// 日志单行序列号。
	LineNum *string `json:"line_num,omitempty"`
}

StructLogContents 参数集

func (StructLogContents) String

func (o StructLogContents) String() string

type StructTemplate

type StructTemplate struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 模板名称
	TemplateName string `json:"template_name"`

	// 模板类型,regex,json,split,nginx
	TemplateType StructTemplateTemplateType `json:"template_type"`

	// 示例日志
	DemoLog string `json:"demo_log"`

	// 示例字段数组
	DemoFields []DemoField `json:"demo_fields"`

	// Tag字段数组
	TagFields []TagFieldNew `json:"tag_fields"`

	Rule *TemplateRule `json:"rule"`

	// 示例日志标签
	DemoLabel *string `json:"demo_label,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`
}

StructTemplate 结构化模板实体

func (StructTemplate) String

func (o StructTemplate) String() string

type StructTemplateModel

type StructTemplateModel struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 模板名称
	TemplateName string `json:"template_name"`

	// 模板类型,regex,json,split,nginx
	TemplateType StructTemplateModelTemplateType `json:"template_type"`

	// 示例日志
	DemoLog string `json:"demo_log"`

	// 示例字段数组
	DemoFields []DemoField `json:"demo_fields"`

	// Tag字段数组
	TagFields []TagFieldNew `json:"tag_fields"`

	Rule *TemplateRule `json:"rule"`

	// 示例日志标签
	DemoLabel *string `json:"demo_label,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

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

StructTemplateModel 更新或者查询结构化模板对象

func (StructTemplateModel) String

func (o StructTemplateModel) String() string

type StructTemplateModelTemplateType

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

func (StructTemplateModelTemplateType) MarshalJSON

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

func (*StructTemplateModelTemplateType) UnmarshalJSON

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

func (StructTemplateModelTemplateType) Value

type StructTemplateTemplateType

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

func (StructTemplateTemplateType) MarshalJSON

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

func (*StructTemplateTemplateType) UnmarshalJSON

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

func (StructTemplateTemplateType) Value

type SubTemplate

type SubTemplate struct {

	// 模板子类型,只支持以下5种类型:sms,dingding,wechat,webhook,email
	SubType SubTemplateSubType `json:"sub_type"`

	// 子模版正文,$符号后所跟变量仅支持以下变量,根据不同告警类型(关键词告警和sql告警),所支持的变量亦不相同。 目前两种告警类型有共同变量如下:告警级别:${event_severity};发生时间:${starts_at};告警源:$event.metadata.resource_provider;资源类型:$event.metadata.resource_type;资源标识:${resources};统计类型:关键词统计;表达式:$event.annotations.condition_expression;当前值: $event.annotations.current_value;统计周期:$event.annotations.frequency; 关键词告警特有变量:查询时间:$event.annotations.results[0].time;查询日志:$event.annotations.results[0].raw_results; sql告警特有变量:日志组/流名称:$event.annotations.results[0].resource_id;查询语句:$event.annotations.results[0].sql;查询时间:$event.annotations.results[0].time;查询URL:$event.annotations.results[0].url;查询日志:$event.annotations.results[0].raw_results; 变量后面的分号\";\"为英文符号,必须添加,否则模板会出现替换失败的情况
	Content string `json:"content"`
}

SubTemplate 子模版数据结构

func (SubTemplate) String

func (o SubTemplate) String() string

type SubTemplateSubType

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

func (SubTemplateSubType) MarshalJSON

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

func (*SubTemplateSubType) UnmarshalJSON

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

func (SubTemplateSubType) Value

func (c SubTemplateSubType) Value() string

type SubTemplateSubTypeEnum

type SubTemplateSubTypeEnum struct {
	SMS      SubTemplateSubType
	DINGDING SubTemplateSubType
	WECHAT   SubTemplateSubType
	WEBHOOK  SubTemplateSubType
	EMAIL    SubTemplateSubType
}

func GetSubTemplateSubTypeEnum

func GetSubTemplateSubTypeEnum() SubTemplateSubTypeEnum

type TagField

type TagField struct {

	// 字段名称
	FieldName string `json:"fieldName"`

	// 字段数据类型,例:string,long,float
	Type string `json:"type"`

	// 内容
	Content *string `json:"content,omitempty"`

	// 是否开启快速分析
	IsAnalysis *bool `json:"isAnalysis,omitempty"`
}

TagField tag信息。

func (TagField) String

func (o TagField) String() string

type TagFieldNew

type TagFieldNew struct {

	// 字段名称
	FieldName string `json:"field_name"`

	// 字段示例内容
	Content *string `json:"content,omitempty"`

	// 字段数据类型。 可选范围:string、long、float
	Type TagFieldNewType `json:"type"`

	// 是否开启快速分析
	IsAnalysis *bool `json:"is_analysis,omitempty"`

	// 序号,从0开始
	Index *int32 `json:"index,omitempty"`
}

TagFieldNew Tag字段对象

func (TagFieldNew) String

func (o TagFieldNew) String() string

type TagFieldNewType

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

func (TagFieldNewType) MarshalJSON

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

func (*TagFieldNewType) UnmarshalJSON

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

func (TagFieldNewType) Value

func (c TagFieldNewType) Value() string

type TagFieldNewTypeEnum

type TagFieldNewTypeEnum struct {
	STRING TagFieldNewType
	LONG   TagFieldNewType
	FLOAT  TagFieldNewType
}

func GetTagFieldNewTypeEnum

func GetTagFieldNewTypeEnum() TagFieldNewTypeEnum

type TagFieldsInfo

type TagFieldsInfo struct {

	// 字段名称
	FieldName *string `json:"fieldName,omitempty"`

	// 字段类型
	Type *string `json:"type,omitempty"`

	// 内容
	Content *string `json:"content,omitempty"`

	// 是否解析
	IsAnalysis *bool `json:"isAnalysis,omitempty"`

	// 字段名称
	Index *int32 `json:"index,omitempty"`
}

TagFieldsInfo 调用成功时的返回值。

func (TagFieldsInfo) String

func (o TagFieldsInfo) String() string

type TagsBody

type TagsBody struct {

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

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

TagsBody 标签字段信息

func (TagsBody) String

func (o TagsBody) String() string

type TemplateRule

type TemplateRule struct {

	// 结构化类型,只支持custom_regex,json,split,nginx
	Type TemplateRuleType `json:"type"`

	// 具体结构化规则,每种结构化类型都有自己独有的结构,具体结构如下: 手动正则为json字符串,包含keyObject对象和regex_rules对象,keyObject内为键值对,键为demo_fields数组中元素的index,值为field_name,regex_rules对象为正则表达式字符串,整体例子为{\\\"keyObject\\\":{\\\"1\\\":\\\"date\\\",\\\"2\\\":\\\"num\\\"},\\\"regex_rules\\\":\\\"^(?<date>[^/]+)(?:[^ ]* ){8}(?<num>\\\\\\\\d+)\\\"}; json方式时param为一个json字符串,包含keyObject对象和layers对象,keyObject内为键值对,键为demo_fields数组中元素的field_name,值为user_defined_name,layers为最大解析层数,当前最大值为4,整体例子为{\\\"keyObject\\\":{\\\"metadata.dimention\\\":\\\"dimention\\\",\\\"metadata.value\\\":\\\"\\\",\\\"metadata.unit\\\":\\\"\\\",\\\"collectionTime\\\":\\\"\\\"},\\\"layers\\\":3}; 分隔符方式时为json字符串,包含keyObject对象和tokenizer对象,keyObject内为键值对,键为demo_fields数组中元素的index,值为field_name,tokenizer对象为所用分隔符,整体例子为{\\\"keyObject\\\":{\\\"0\\\":\\\"field1\\\",\\\"1\\\":\\\"field2\\\",\\\"2\\\":\\\"field3\\\",\\\"3\\\":\\\"field4\\\",\\\"4\\\":\\\"field5\\\",\\\"5\\\":\\\"field6\\\",\\\"6\\\":\\\"field7\\\",\\\"7\\\":\\\"field8\\\",\\\"8\\\":\\\"field9\\\"},\\\"tokenizer\\\":\\\" \\\"}; nginx方式时为json字符串,包含keyObject对象,regex对象,field_names对象及log_format对象,keyObject内为键值对,键为demo_fields数组中元素的field_name,值为user_defined_name,regex为正则表达式字符串,field_names对象为demo_fields数组中各元素的field_name的拼接字符串,每个field_name以','分隔,log_format对象为nginx日志格式化方式,具体方式参考https://support.huaweicloud.com/usermanual-lts/lts_0820.html#lts_0820__section1151119552549进行配置,整体例子为\"{\\\"keyObject\\\":{\\\"http_host\\\":\\\"host\\\",\\\"remote_addr\\\":\\\"\\\",\\\"request_method\\\":\\\"\\\",\\\"request_uri\\\":\\\"\\\",\\\"time_local\\\":\\\"\\\"},\\\"regex\\\":\\\"(\\\\\\\\d+/\\\\\\\\S+/\\\\\\\\d+:\\\\\\\\d+:\\\\\\\\d+:\\\\\\\\d+)\\\\\\\\s+\\\\\\\\S+\\\\\\\\s+(\\\\\\\\S*)\\\\\\\\s+(\\\\\\\\S*)\\\\\\\\s+(\\\\\\\\S*)\\\\\\\\s+\\\\\\\"([^\\\\\\\"]*)\\\\\\\".*\\\",\\\"fieldNames\\\":\\\"time_local,remote_addr,request_method,http_host,request_uri\\\",\\\"log_format\\\":\\\"log_format upstreaminfo '$time_local $remote_addr  $request_method $http_host \\\\\\\"$request_uri\\\\\\\"';\\\"}\"
	Param string `json:"param"`
}

TemplateRule 结构化模板规则对象

func (TemplateRule) String

func (o TemplateRule) String() string

type TemplateRuleType

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

func (TemplateRuleType) MarshalJSON

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

func (*TemplateRuleType) UnmarshalJSON

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

func (TemplateRuleType) Value

func (c TemplateRuleType) Value() string

type TemplateRuleTypeEnum

type TemplateRuleTypeEnum struct {
	CUSTOM_REGEX TemplateRuleType
	JSON         TemplateRuleType
	SPLIT        TemplateRuleType
	NGINX        TemplateRuleType
}

func GetTemplateRuleTypeEnum

func GetTemplateRuleTypeEnum() TemplateRuleTypeEnum

type TimeRange

type TimeRange struct {

	// 时区信息,默认为“UTC”。
	SqlTimeZone *string `json:"sql_time_zone,omitempty"`

	// 搜索起始时间(UTC时间,毫秒级)。
	StartTime string `json:"start_time"`

	// 搜索起始时间(UTC时间,毫秒级)。
	EndTime string `json:"end_time"`

	// 搜索是否包含起始时间点,默认为false。
	StartTimeGt *bool `json:"start_time_gt,omitempty"`

	// 搜索是否包含结束时间点,默认为false。
	EndTimeLt *bool `json:"end_time_lt,omitempty"`
}

TimeRange 此参数在请求实体中,采用json字符串格式。

func (TimeRange) String

func (o TimeRange) String() string

type TimelineTrafficStatisticsRequestBody

type TimelineTrafficStatisticsRequestBody struct {

	// 开始时间时间戳,毫秒时间,最多支持30天范围内的查询
	StartTime int64 `json:"start_time"`

	// 结束时间时间戳,毫秒时间
	EndTime int64 `json:"end_time"`

	// 查询时间间隔,单位为小时,范围为1-24
	Period int32 `json:"period"`

	// 资源类型,log_group / log_stream / tenant
	ResourceType string `json:"resource_type"`

	// 查询流量类型值为:write,index,storage
	SearchType string `json:"search_type"`

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

func (TimelineTrafficStatisticsRequestBody) String

type Topics

type Topics struct {

	// 主题名称
	Name string `json:"name"`

	// Topic的唯一的资源标识。
	TopicUrn string `json:"topic_urn"`

	// Topic的显示名,推送邮件消息时,作为邮件发件人显示
	DisplayName *string `json:"display_name,omitempty"`

	// 消息推送的策略
	PushPolicy *int32 `json:"push_policy,omitempty"`
}

func (Topics) String

func (o Topics) String() string

type TopnRequstBody

type TopnRequstBody struct {

	// 结束时间时间戳,毫秒时间
	EndTime int64 `json:"end_time"`

	// 是否降序  true / false
	IsDesc bool `json:"is_desc"`

	// 资源类型,log_group / log_stream / tenant
	ResourceType string `json:"resource_type"`

	// 排序依据,index/write/storage,必须是search_list中存在的数据
	SortBy string `json:"sort_by"`

	// 开始时间时间戳,毫秒时间,最多支持30天范围内的查询
	StartTime int64 `json:"start_time"`

	// 查询前多少数据,范围1~100
	Topn int32 `json:"topn"`

	// 过滤条件 {     \"log_group_id\": \"xxxxxx\" }过滤器,为一个map结构,键为过滤属性,值为属性值,不支持模糊匹配
	Filter map[string]string `json:"filter"`

	// 查询数据类型,字符串数组可多种搭配,只能在index/write/storage中选填
	SearchList []string `json:"search_list"`
}

func (TopnRequstBody) String

func (o TopnRequstBody) String() string

type TransferDetail

type TransferDetail struct {

	// OBS转储时间
	ObsPeriod TransferDetailObsPeriod `json:"obs_period"`

	// OBS转储KMS秘钥ID。若OBS转储未加密则不返回此字段
	ObsEncryptedId *string `json:"obs_encrypted_id,omitempty"`

	// OBS转储日志文件前缀
	ObsPrefixName *string `json:"obs_prefix_name,omitempty"`

	// OBS转储单位
	ObsPeriodUnit string `json:"obs_period_unit"`

	// OBS转储路径,指OBS日志桶中的路径
	ObsTransferPath *string `json:"obs_transfer_path,omitempty"`

	// OBS企业项目ID
	ObsEpsId *string `json:"obs_eps_id,omitempty"`

	// OBS日志桶名称
	ObsBucketName string `json:"obs_bucket_name"`

	// OBS是否开启加密。
	ObsEncryptedEnable *bool `json:"obs_encrypted_enable,omitempty"`

	// OBS转储自定义转储路径
	ObsDirPreFixName *string `json:"obs_dir_pre_fix_name,omitempty"`

	// DIS转储通道ID
	DisId *string `json:"dis_id,omitempty"`

	// DIS转储通道名称
	DisName *string `json:"dis_name,omitempty"`

	// DMS转储kafka ID
	KafkaId *string `json:"kafka_id,omitempty"`

	// DMS转储kafka topic
	KafkaTopic *string `json:"kafka_topic,omitempty"`

	// OBS转储时区。如果选择该参数,则必须选择obs_time_zone_id。
	ObsTimeZone *string `json:"obs_time_zone,omitempty"`

	// OBS转储时区ID。参数选择参考OBS转储时区表。如果选择该参数,则必须选择obs_time_zone。
	ObsTimeZoneId *string `json:"obs_time_zone_id,omitempty"`

	// 若开启tag投递,该字段必须包含主机信息:hostIP、hostId、hostName、pathFile、collectTime;  公共字段有:logStreamName、regionName、logGroupName、projectId,为可选填;  开启转储标签:streamTag,可选填
	Tags *[]string `json:"tags,omitempty"`
}

TransferDetail 日志转储详细信息

func (TransferDetail) String

func (o TransferDetail) String() string

type TransferDetailObsPeriod

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

func (TransferDetailObsPeriod) MarshalJSON

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

func (*TransferDetailObsPeriod) UnmarshalJSON

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

func (TransferDetailObsPeriod) Value

func (c TransferDetailObsPeriod) Value() int32

type UpdateAccessConfigRequest

type UpdateAccessConfigRequest struct {
	Body *UpdateAccessConfigRequestBody `json:"body,omitempty"`
}

UpdateAccessConfigRequest Request Object

func (UpdateAccessConfigRequest) String

func (o UpdateAccessConfigRequest) String() string

type UpdateAccessConfigRequestBody

type UpdateAccessConfigRequestBody struct {

	// 日志接入ID
	AccessConfigId string `json:"access_config_id"`

	AccessConfigDetail *AccessConfigDeatilCreate `json:"access_config_detail,omitempty"`

	HostGroupInfo *AccessConfigHostGroupIdList `json:"host_group_info,omitempty"`

	// 标签信息。KEY不能重复,最多20个标签
	AccessConfigTag *[]AccessConfigTag `json:"access_config_tag,omitempty"`

	// 日志拆分
	LogSplit *bool `json:"log_split,omitempty"`

	// 二进制采集
	BinaryCollect *bool `json:"binary_collect,omitempty"`
}

UpdateAccessConfigRequestBody 修改日志接入请求体

func (UpdateAccessConfigRequestBody) String

type UpdateAccessConfigResponse

type UpdateAccessConfigResponse struct {

	// 日志接入ID
	AccessConfigId *string `json:"access_config_id,omitempty"`

	// 日志接入名称
	AccessConfigName *string `json:"access_config_name,omitempty"`

	// 日志接入类型。AGENT:ECS接入  K8S_CCE: CCE接入
	AccessConfigType *UpdateAccessConfigResponseAccessConfigType `json:"access_config_type,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	AccessConfigDetail *AccessConfigDeatilCreate `json:"access_config_detail,omitempty"`

	LogInfo *AccessConfigQueryLogInfo `json:"log_info,omitempty"`

	HostGroupInfo *AccessConfigHostGroupIdList `json:"host_group_info,omitempty"`

	// 标签信息。KEY不能重复,最多20个标签
	AccessConfigTag *[]AccessConfigTag `json:"access_config_tag,omitempty"`

	// 二进制采集
	LogSplit *bool `json:"log_split,omitempty"`

	// 日志拆分
	BinaryCollect  *bool `json:"binary_collect,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateAccessConfigResponse Response Object

func (UpdateAccessConfigResponse) String

type UpdateAccessConfigResponseAccessConfigType

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

func (UpdateAccessConfigResponseAccessConfigType) MarshalJSON

func (*UpdateAccessConfigResponseAccessConfigType) UnmarshalJSON

func (UpdateAccessConfigResponseAccessConfigType) Value

type UpdateAccessConfigResponseAccessConfigTypeEnum

type UpdateAccessConfigResponseAccessConfigTypeEnum struct {
	AGENT    UpdateAccessConfigResponseAccessConfigType
	K8_S_CCE UpdateAccessConfigResponseAccessConfigType
}

func GetUpdateAccessConfigResponseAccessConfigTypeEnum

func GetUpdateAccessConfigResponseAccessConfigTypeEnum() UpdateAccessConfigResponseAccessConfigTypeEnum

type UpdateAlarmRuleStatusRequest

type UpdateAlarmRuleStatusRequest struct {
	Body *ChangeAlarmRuleStatus `json:"body,omitempty"`
}

UpdateAlarmRuleStatusRequest Request Object

func (UpdateAlarmRuleStatusRequest) String

type UpdateAlarmRuleStatusResponse

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

UpdateAlarmRuleStatusResponse Response Object

func (UpdateAlarmRuleStatusResponse) String

type UpdateAomMappingRequest

type UpdateAomMappingRequest struct {

	// 接入规则id
	RuleId string `json:"rule_id"`

	// 项目id
	ProjectId string `json:"project_id"`

	// 接入规则名称
	RuleName string `json:"rule_name"`

	RuleInfo *AomMappingRuleInfo `json:"rule_info"`
}

func (UpdateAomMappingRequest) String

func (o UpdateAomMappingRequest) String() string

type UpdateAomMappingRulesRequest

type UpdateAomMappingRulesRequest struct {
	Body *UpdateAomMappingRequest `json:"body,omitempty"`
}

UpdateAomMappingRulesRequest Request Object

func (UpdateAomMappingRulesRequest) String

type UpdateAomMappingRulesResponse

type UpdateAomMappingRulesResponse struct {

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

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

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

	RuleInfo       *AomMappingRuleInfo `json:"rule_info,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

UpdateAomMappingRulesResponse Response Object

func (UpdateAomMappingRulesResponse) String

type UpdateHostGroupRequest

type UpdateHostGroupRequest struct {
	Body *UpdateHostGroupRequestBody `json:"body,omitempty"`
}

UpdateHostGroupRequest Request Object

func (UpdateHostGroupRequest) String

func (o UpdateHostGroupRequest) String() string

type UpdateHostGroupRequestBody

type UpdateHostGroupRequestBody struct {

	// 主机组ID
	HostGroupId string `json:"host_group_id"`

	// 主机组名称
	HostGroupName *string `json:"host_group_name,omitempty"`

	// 主机ID列表。主机类型必须与主机组类型一致
	HostIdList *[]string `json:"host_id_list,omitempty"`

	// 主机组标签。KEY不能重复
	HostGroupTag *[]HostGroupTag `json:"host_group_tag,omitempty"`
}

UpdateHostGroupRequestBody 更新主机组请求体

func (UpdateHostGroupRequestBody) String

type UpdateHostGroupResponse

type UpdateHostGroupResponse struct {

	// 主机组ID
	HostGroupId *string `json:"host_group_id,omitempty"`

	// 主机组名称
	HostGroupName *string `json:"host_group_name,omitempty"`

	// 主机组类型。linux:linux类型,windows:windows类型
	HostGroupType *UpdateHostGroupResponseHostGroupType `json:"host_group_type,omitempty"`

	// 主机ID列表
	HostIdList *[]string `json:"host_id_list,omitempty"`

	// 标签信息
	HostGroupTag *[]HostGroupTag `json:"host_group_tag,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

UpdateHostGroupResponse Response Object

func (UpdateHostGroupResponse) String

func (o UpdateHostGroupResponse) String() string

type UpdateHostGroupResponseHostGroupType

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

func (UpdateHostGroupResponseHostGroupType) MarshalJSON

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

func (*UpdateHostGroupResponseHostGroupType) UnmarshalJSON

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

func (UpdateHostGroupResponseHostGroupType) Value

type UpdateHostGroupResponseHostGroupTypeEnum

type UpdateHostGroupResponseHostGroupTypeEnum struct {
	LINUX   UpdateHostGroupResponseHostGroupType
	WINDOWS UpdateHostGroupResponseHostGroupType
}

func GetUpdateHostGroupResponseHostGroupTypeEnum

func GetUpdateHostGroupResponseHostGroupTypeEnum() UpdateHostGroupResponseHostGroupTypeEnum

type UpdateKeywordsAlarmRuleRequest

type UpdateKeywordsAlarmRuleRequest struct {
	Body *UpdateKeywordsAlarmRuleRequestBody `json:"body,omitempty"`
}

UpdateKeywordsAlarmRuleRequest Request Object

func (UpdateKeywordsAlarmRuleRequest) String

type UpdateKeywordsAlarmRuleRequestBody

type UpdateKeywordsAlarmRuleRequestBody struct {

	// 关键词告警规则id
	KeywordsAlarmRuleId string `json:"keywords_alarm_rule_id"`

	// 关键词告警名称
	KeywordsAlarmRuleName string `json:"keywords_alarm_rule_name"`

	// 关键词告警信息描述
	KeywordsAlarmRuleDescription *string `json:"keywords_alarm_rule_description,omitempty"`

	// 关键词详细信息
	KeywordsRequests []KeywordsRequest `json:"keywords_requests"`

	// 告警统计周期
	Frequency *Frequency `json:"frequency"`

	// 告警级别
	KeywordsAlarmLevel UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel `json:"keywords_alarm_level"`

	// 是否发送
	KeywordsAlarmSend bool `json:"keywords_alarm_send"`

	// 发送主题 0:不变 1:新增 2:修改 3:删除
	KeywordsAlarmSendCode UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode `json:"keywords_alarm_send_code"`

	// domainId
	DomainId string `json:"domain_id"`

	// 通知主题
	NotificationSaveRule *SqlNotificationSaveRule `json:"notification_save_rule,omitempty"`

	// 触发条件:触发次数;默认为1
	TriggerConditionCount *int32 `json:"trigger_condition_count,omitempty"`

	// 触发条件:触发周期;默认为1
	TriggerConditionFrequency *int32 `json:"trigger_condition_frequency,omitempty"`

	// 是否打开恢复通知;默认false
	WhetherRecoveryPolicy *bool `json:"whether_recovery_policy,omitempty"`

	// 恢复策略周期;默认为3
	RecoveryPolicy *int32 `json:"recovery_policy,omitempty"`
}

func (UpdateKeywordsAlarmRuleRequestBody) String

type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel

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

func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON

func (*UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON

func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) Value

type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode

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

func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) MarshalJSON

func (*UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) UnmarshalJSON

func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) Value

type UpdateKeywordsAlarmRuleResponse

type UpdateKeywordsAlarmRuleResponse struct {

	// 关键词告警id
	KeywordsAlarmRuleId *string `json:"keywords_alarm_rule_id,omitempty"`

	// 关键词告警名称
	KeywordsAlarmRuleName *string `json:"keywords_alarm_rule_name,omitempty"`

	// 关键词告警信息描述
	KeywordsAlarmRuleDescription *string `json:"keywords_alarm_rule_description,omitempty"`

	// 关键词详细信息
	KeywordsRequests *[]KeywordsRequest `json:"keywords_requests,omitempty"`

	Frequency *Frequency `json:"frequency,omitempty"`

	// 告警级别
	KeywordsAlarmLevel *UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel `json:"keywords_alarm_level,omitempty"`

	// 是否发送
	KeywordsAlarmSend *bool `json:"keywords_alarm_send,omitempty"`

	// domainId
	DomainId *string `json:"domain_id,omitempty"`

	// 创建时间(毫秒时间戳)
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间(毫秒时间戳)
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

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

	// 主题信息
	Topics *[]Topics `json:"topics,omitempty"`

	// 暂无
	ConditionExpression *string `json:"condition_expression,omitempty"`

	// 暂无
	IndexId        *string `json:"indexId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateKeywordsAlarmRuleResponse Response Object

func (UpdateKeywordsAlarmRuleResponse) String

type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel

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

func (UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) MarshalJSON

func (*UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) UnmarshalJSON

func (UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) Value

type UpdateLogGroupParams

type UpdateLogGroupParams struct {

	// 日志存储时间 天。 取值范围为 [1, 30]
	TtlInDays int32 `json:"ttl_in_days"`

	// 标签字段信息
	Tags *[]TagsBody `json:"tags,omitempty"`
}

UpdateLogGroupParams 修改日志组的参数。

func (UpdateLogGroupParams) String

func (o UpdateLogGroupParams) String() string

type UpdateLogGroupRequest

type UpdateLogGroupRequest struct {

	// 日志组ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html
	LogGroupId string `json:"log_group_id"`

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

UpdateLogGroupRequest Request Object

func (UpdateLogGroupRequest) String

func (o UpdateLogGroupRequest) String() string

type UpdateLogGroupResponse

type UpdateLogGroupResponse struct {

	// 创建该日志组的时间, 毫秒级。
	CreationTime *int64 `json:"creation_time,omitempty"`

	// 日志组的名称。
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志组ID。
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志存储时间(天)。
	TtlInDays      *int32 `json:"ttl_in_days,omitempty"`
	HttpStatusCode int    `json:"-"`
}

UpdateLogGroupResponse Response Object

func (UpdateLogGroupResponse) String

func (o UpdateLogGroupResponse) String() string

type UpdateLogStreamParams

type UpdateLogStreamParams struct {

	// 日志存储时间(天)。   该参数仅对华东-上海一、华北-北京四、华南-广州用户开放。
	TtlInDays UpdateLogStreamParamsTtlInDays `json:"ttl_in_days"`

	// 标签字段信息
	Tags *[]TagsBody `json:"tags,omitempty"`
}

func (UpdateLogStreamParams) String

func (o UpdateLogStreamParams) String() string

type UpdateLogStreamParamsTtlInDays

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

func (UpdateLogStreamParamsTtlInDays) MarshalJSON

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

func (*UpdateLogStreamParamsTtlInDays) UnmarshalJSON

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

func (UpdateLogStreamParamsTtlInDays) Value

type UpdateLogStreamParamsTtlInDaysEnum

type UpdateLogStreamParamsTtlInDaysEnum struct {
	E_7 UpdateLogStreamParamsTtlInDays
}

func GetUpdateLogStreamParamsTtlInDaysEnum

func GetUpdateLogStreamParamsTtlInDaysEnum() UpdateLogStreamParamsTtlInDaysEnum

type UpdateLogStreamRequest

type UpdateLogStreamRequest struct {

	// 日志组ID,获取方式请参见:获取帐号ID、项目ID、日志组ID、日志流ID。  缺省值:None 最小长度:36 最大长度:36
	LogGroupId string `json:"log_group_id"`

	// 日志流ID,获取方式请参见:获取帐号ID、项目ID、日志组ID、日志流ID。  缺省值:None 最小长度:36 最大长度:36
	LogStreamId string `json:"log_stream_id"`

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

UpdateLogStreamRequest Request Object

func (UpdateLogStreamRequest) String

func (o UpdateLogStreamRequest) String() string

type UpdateLogStreamResponse

type UpdateLogStreamResponse struct {

	// 创建该日志流的时间
	CreationTime *int64 `json:"creation_time,omitempty"`

	// 日志流的名称。
	LogTopicName *string `json:"log_topic_name,omitempty"`

	// 日志流ID。
	LogTopicId *string `json:"log_topic_id,omitempty"`

	// 日志存储时间(天)。
	TtlInDays      *UpdateLogStreamResponseTtlInDays `json:"ttl_in_days,omitempty"`
	HttpStatusCode int                               `json:"-"`
}

UpdateLogStreamResponse Response Object

func (UpdateLogStreamResponse) String

func (o UpdateLogStreamResponse) String() string

type UpdateLogStreamResponseTtlInDays

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

func (UpdateLogStreamResponseTtlInDays) MarshalJSON

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

func (*UpdateLogStreamResponseTtlInDays) UnmarshalJSON

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

func (UpdateLogStreamResponseTtlInDays) Value

type UpdateLogStreamResponseTtlInDaysEnum

type UpdateLogStreamResponseTtlInDaysEnum struct {
	E_7 UpdateLogStreamResponseTtlInDays
}

func GetUpdateLogStreamResponseTtlInDaysEnum

func GetUpdateLogStreamResponseTtlInDaysEnum() UpdateLogStreamResponseTtlInDaysEnum

type UpdateNotificationTemplateRequest

type UpdateNotificationTemplateRequest struct {

	// 账号id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
	DomainId string `json:"domain_id"`

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

UpdateNotificationTemplateRequest Request Object

func (UpdateNotificationTemplateRequest) String

type UpdateNotificationTemplateResponse

type UpdateNotificationTemplateResponse struct {

	// 通知规则名称,必填,只含有汉字、数字、字母、下划线、中划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100,创建后不可修改
	Name *string `json:"name,omitempty"`

	// 保留字段,非必填,只支持sms(短信),dingding(钉钉),wechat(企业微信),email(邮件)和webhook(网络钩子)
	Type *[]string `json:"type,omitempty"`

	// 模板描述,必填,只含有汉字、数字、字母、下划线不能以下划线开头和结尾,长度为0--1024
	Desc *string `json:"desc,omitempty"`

	// 模板来源,目前必填为LTS,否则会筛选不出来
	Source *string `json:"source,omitempty"`

	// 语言,必填,目前可填zh-cn和en-us
	Locale *UpdateNotificationTemplateResponseLocale `json:"locale,omitempty"`

	// 模板正文,为一个数组
	Templates      *[]SubTemplate `json:"templates,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateNotificationTemplateResponse Response Object

func (UpdateNotificationTemplateResponse) String

type UpdateNotificationTemplateResponseLocale

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

func (UpdateNotificationTemplateResponseLocale) MarshalJSON

func (*UpdateNotificationTemplateResponseLocale) UnmarshalJSON

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

func (UpdateNotificationTemplateResponseLocale) Value

type UpdateNotificationTemplateResponseLocaleEnum

type UpdateNotificationTemplateResponseLocaleEnum struct {
	ZH_CN UpdateNotificationTemplateResponseLocale
	EN_US UpdateNotificationTemplateResponseLocale
}

func GetUpdateNotificationTemplateResponseLocaleEnum

func GetUpdateNotificationTemplateResponseLocaleEnum() UpdateNotificationTemplateResponseLocaleEnum

type UpdateSqlAlarmRuleRequest

type UpdateSqlAlarmRuleRequest struct {
	Body *UpdateSqlAlarmRuleRequestBody `json:"body,omitempty"`
}

UpdateSqlAlarmRuleRequest Request Object

func (UpdateSqlAlarmRuleRequest) String

func (o UpdateSqlAlarmRuleRequest) String() string

type UpdateSqlAlarmRuleRequestBody

type UpdateSqlAlarmRuleRequestBody struct {

	// SQL告警id
	SqlAlarmRuleId string `json:"sql_alarm_rule_id"`

	// SQL告警名称
	SqlAlarmRuleName string `json:"sql_alarm_rule_name"`

	// SQL告警信息描述
	SqlAlarmRuleDescription *string `json:"sql_alarm_rule_description,omitempty"`

	// SQL详细信息
	SqlRequests []SqlRequest `json:"sql_requests"`

	// 告警统计周期
	Frequency *Frequency `json:"frequency"`

	// 条件表达式
	ConditionExpression string `json:"condition_expression"`

	// 告警级别
	SqlAlarmLevel UpdateSqlAlarmRuleRequestBodySqlAlarmLevel `json:"sql_alarm_level"`

	// 是否发送
	SqlAlarmSend bool `json:"sql_alarm_send"`

	// 发送主题 0:不变 1:新增 2:修改 3:删除
	SqlAlarmSendCode UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode `json:"sql_alarm_send_code"`

	// domainId
	DomainId string `json:"domain_id"`

	// 通知主题
	NotificationSaveRule *SqlNotificationSaveRule `json:"notification_save_rule,omitempty"`

	// 触发条件:触发次数;默认为1
	TriggerConditionCount *int32 `json:"trigger_condition_count,omitempty"`

	// 触发条件:触发周期;默认为1
	TriggerConditionFrequency *int32 `json:"trigger_condition_frequency,omitempty"`

	// 是否打开恢复通知;默认false
	WhetherRecoveryPolicy *bool `json:"whether_recovery_policy,omitempty"`

	// 恢复策略周期;默认为3
	RecoveryPolicy *int32 `json:"recovery_policy,omitempty"`
}

func (UpdateSqlAlarmRuleRequestBody) String

type UpdateSqlAlarmRuleRequestBodySqlAlarmLevel

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

func (UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON

func (*UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON

func (UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) Value

type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode

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

func (UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) MarshalJSON

func (*UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) UnmarshalJSON

func (UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) Value

type UpdateSqlAlarmRuleResponse

type UpdateSqlAlarmRuleResponse struct {

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

	// 测试
	IndexId *string `json:"indexId,omitempty"`

	// 测试
	Language *string `json:"language,omitempty"`

	// 测试
	ProjectId *string `json:"projectId,omitempty"`

	// SQL告警名称
	SqlAlarmRuleName *string `json:"sql_alarm_rule_name,omitempty"`

	// SQL告警规则id
	SqlAlarmRuleId *string `json:"sql_alarm_rule_id,omitempty"`

	// SQL告警信息描述
	SqlAlarmRuleDescription *string `json:"sql_alarm_rule_description,omitempty"`

	// SQL详细信息
	SqlRequests *[]SqlRequest `json:"sql_requests,omitempty"`

	// 告警统计周期
	Frequency *Frequency `json:"frequency,omitempty"`

	// 条件表达式
	ConditionExpression *string `json:"condition_expression,omitempty"`

	// 告警级别
	SqlAlarmLevel *UpdateSqlAlarmRuleResponseSqlAlarmLevel `json:"sql_alarm_level,omitempty"`

	// 是否发送
	SqlAlarmSend *bool `json:"sql_alarm_send,omitempty"`

	// domainId
	DomainId *string `json:"domain_id,omitempty"`

	// 创建时间(毫秒时间戳)
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间(毫秒时间戳)
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 主题
	Topics         *[]Topics `json:"topics,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateSqlAlarmRuleResponse Response Object

func (UpdateSqlAlarmRuleResponse) String

type UpdateSqlAlarmRuleResponseSqlAlarmLevel

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

func (UpdateSqlAlarmRuleResponseSqlAlarmLevel) MarshalJSON

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

func (*UpdateSqlAlarmRuleResponseSqlAlarmLevel) UnmarshalJSON

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

func (UpdateSqlAlarmRuleResponseSqlAlarmLevel) Value

type UpdateStructConfigRequest

type UpdateStructConfigRequest struct {
	Body *StructConfig `json:"body,omitempty"`
}

UpdateStructConfigRequest Request Object

func (UpdateStructConfigRequest) String

func (o UpdateStructConfigRequest) String() string

type UpdateStructConfigResponse

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

UpdateStructConfigResponse Response Object

func (UpdateStructConfigResponse) String

type UpdateStructTemplateRequest

type UpdateStructTemplateRequest struct {
	Body *LtsStructTemplateInfo `json:"body,omitempty"`
}

UpdateStructTemplateRequest Request Object

func (UpdateStructTemplateRequest) String

type UpdateStructTemplateResponse

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

UpdateStructTemplateResponse Response Object

func (UpdateStructTemplateResponse) String

type UpdateTransferRequest

type UpdateTransferRequest struct {
	Body *UpdateTransferRequestBody `json:"body,omitempty"`
}

UpdateTransferRequest Request Object

func (UpdateTransferRequest) String

func (o UpdateTransferRequest) String() string

type UpdateTransferRequestBody

type UpdateTransferRequestBody struct {

	// 日志转储ID
	LogTransferId string `json:"log_transfer_id"`

	LogTransferInfo *UpdateTransferRequestBodyLogTransferInfo `json:"log_transfer_info"`
}

func (UpdateTransferRequestBody) String

func (o UpdateTransferRequestBody) String() string

type UpdateTransferRequestBodyLogTransferInfo

type UpdateTransferRequestBodyLogTransferInfo struct {

	// 日志转储格式。只支持\"RAW\", \"JSON\"。RAW是指原始日志格式,JSON是指JSON日志格式。OBS转储和DIS转储支持JSON和RAW,DMS转储仅支持RAW
	LogStorageFormat UpdateTransferRequestBodyLogTransferInfoLogStorageFormat `json:"log_storage_format"`

	// 日志转储状态,ENABLE是指日志转储开启状态,DISABLE是指日志转储关闭状态,EXCEPTION是指日志转储异常状态
	LogTransferStatus UpdateTransferRequestBodyLogTransferInfoLogTransferStatus `json:"log_transfer_status"`

	LogTransferDetail *TransferDetail `json:"log_transfer_detail"`
}

UpdateTransferRequestBodyLogTransferInfo 日志转储信息

func (UpdateTransferRequestBodyLogTransferInfo) String

type UpdateTransferRequestBodyLogTransferInfoLogStorageFormat

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

func (UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON

func (*UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON

func (UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) Value

type UpdateTransferRequestBodyLogTransferInfoLogTransferStatus

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

func (UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) MarshalJSON

func (*UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) UnmarshalJSON

func (UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) Value

type UpdateTransferResponse

type UpdateTransferResponse struct {

	// 日志组ID
	LogGroupId *string `json:"log_group_id,omitempty"`

	// 日志组名称
	LogGroupName *string `json:"log_group_name,omitempty"`

	// 日志流ID集合
	LogStreams *[]CreateTransferResponseBodyLogStreams `json:"log_streams,omitempty"`

	// 日志转储ID
	LogTransferId *string `json:"log_transfer_id,omitempty"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info,omitempty"`
	HttpStatusCode  int                                        `json:"-"`
}

UpdateTransferResponse Response Object

func (UpdateTransferResponse) String

func (o UpdateTransferResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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