v2

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCreateAccessConfig added in v0.0.71

func GenReqDefForCreateAccessConfig() *def.HttpRequestDef

func GenReqDefForCreateAomMappingRules added in v0.0.68

func GenReqDefForCreateAomMappingRules() *def.HttpRequestDef

func GenReqDefForCreateHostGroup added in v0.0.71

func GenReqDefForCreateHostGroup() *def.HttpRequestDef

func GenReqDefForCreateKeywordsAlarmRule added in v0.0.68

func GenReqDefForCreateKeywordsAlarmRule() *def.HttpRequestDef

func GenReqDefForCreateLogDumpObs

func GenReqDefForCreateLogDumpObs() *def.HttpRequestDef

func GenReqDefForCreateLogGroup

func GenReqDefForCreateLogGroup() *def.HttpRequestDef

func GenReqDefForCreateLogStream

func GenReqDefForCreateLogStream() *def.HttpRequestDef

func GenReqDefForCreateNotificationTemplate added in v0.0.69

func GenReqDefForCreateNotificationTemplate() *def.HttpRequestDef

func GenReqDefForCreateSqlAlarmRule added in v0.0.68

func GenReqDefForCreateSqlAlarmRule() *def.HttpRequestDef

func GenReqDefForCreateStructTemplate added in v0.0.68

func GenReqDefForCreateStructTemplate() *def.HttpRequestDef

func GenReqDefForCreateTransfer added in v0.0.69

func GenReqDefForCreateTransfer() *def.HttpRequestDef

func GenReqDefForDeleteAccessConfig added in v0.0.71

func GenReqDefForDeleteAccessConfig() *def.HttpRequestDef

func GenReqDefForDeleteActiveAlarms added in v0.0.68

func GenReqDefForDeleteActiveAlarms() *def.HttpRequestDef

func GenReqDefForDeleteAomMappingRules added in v0.0.68

func GenReqDefForDeleteAomMappingRules() *def.HttpRequestDef

func GenReqDefForDeleteHostGroup added in v0.0.71

func GenReqDefForDeleteHostGroup() *def.HttpRequestDef

func GenReqDefForDeleteKeywordsAlarmRule added in v0.0.68

func GenReqDefForDeleteKeywordsAlarmRule() *def.HttpRequestDef

func GenReqDefForDeleteLogGroup

func GenReqDefForDeleteLogGroup() *def.HttpRequestDef

func GenReqDefForDeleteLogStream

func GenReqDefForDeleteLogStream() *def.HttpRequestDef

func GenReqDefForDeleteNotificationTemplate added in v0.0.69

func GenReqDefForDeleteNotificationTemplate() *def.HttpRequestDef

func GenReqDefForDeleteSqlAlarmRule added in v0.0.68

func GenReqDefForDeleteSqlAlarmRule() *def.HttpRequestDef

func GenReqDefForDeleteStructTemplate added in v0.0.68

func GenReqDefForDeleteStructTemplate() *def.HttpRequestDef

func GenReqDefForDeleteTransfer added in v0.0.69

func GenReqDefForDeleteTransfer() *def.HttpRequestDef

func GenReqDefForDisableLogCollection

func GenReqDefForDisableLogCollection() *def.HttpRequestDef

func GenReqDefForEnableLogCollection

func GenReqDefForEnableLogCollection() *def.HttpRequestDef

func GenReqDefForListAccessConfig added in v0.0.71

func GenReqDefForListAccessConfig() *def.HttpRequestDef

func GenReqDefForListActiveOrHistoryAlarms added in v0.0.68

func GenReqDefForListActiveOrHistoryAlarms() *def.HttpRequestDef

func GenReqDefForListCharts added in v0.0.68

func GenReqDefForListCharts() *def.HttpRequestDef

func GenReqDefForListHost added in v0.0.71

func GenReqDefForListHost() *def.HttpRequestDef

func GenReqDefForListHostGroup added in v0.0.71

func GenReqDefForListHostGroup() *def.HttpRequestDef

func GenReqDefForListKeywordsAlarmRules added in v0.0.68

func GenReqDefForListKeywordsAlarmRules() *def.HttpRequestDef

func GenReqDefForListLogGroups

func GenReqDefForListLogGroups() *def.HttpRequestDef

func GenReqDefForListLogHistogram added in v0.0.71

func GenReqDefForListLogHistogram() *def.HttpRequestDef

func GenReqDefForListLogStream

func GenReqDefForListLogStream() *def.HttpRequestDef

func GenReqDefForListLogStreams added in v0.0.69

func GenReqDefForListLogStreams() *def.HttpRequestDef

func GenReqDefForListLogs added in v0.0.51

func GenReqDefForListLogs() *def.HttpRequestDef

func GenReqDefForListNotificationTemplate added in v0.0.69

func GenReqDefForListNotificationTemplate() *def.HttpRequestDef

func GenReqDefForListNotificationTemplates added in v0.0.69

func GenReqDefForListNotificationTemplates() *def.HttpRequestDef

func GenReqDefForListNotificationTopics added in v0.0.68

func GenReqDefForListNotificationTopics() *def.HttpRequestDef

func GenReqDefForListQueryStructuredLogs added in v0.0.51

func GenReqDefForListQueryStructuredLogs() *def.HttpRequestDef

func GenReqDefForListSqlAlarmRules added in v0.0.68

func GenReqDefForListSqlAlarmRules() *def.HttpRequestDef

func GenReqDefForListStructuredLogsWithTimeRange added in v0.0.51

func GenReqDefForListStructuredLogsWithTimeRange() *def.HttpRequestDef

func GenReqDefForListTransfers added in v0.0.69

func GenReqDefForListTransfers() *def.HttpRequestDef

func GenReqDefForRegisterDmsKafkaInstance added in v0.0.69

func GenReqDefForRegisterDmsKafkaInstance() *def.HttpRequestDef

func GenReqDefForShowAomMappingRule added in v0.0.68

func GenReqDefForShowAomMappingRule() *def.HttpRequestDef

func GenReqDefForShowAomMappingRules added in v0.0.68

func GenReqDefForShowAomMappingRules() *def.HttpRequestDef

func GenReqDefForShowNotificationTemplate added in v0.0.69

func GenReqDefForShowNotificationTemplate() *def.HttpRequestDef

func GenReqDefForShowStructTemplate added in v0.0.68

func GenReqDefForShowStructTemplate() *def.HttpRequestDef

func GenReqDefForUpdateAccessConfig added in v0.0.71

func GenReqDefForUpdateAccessConfig() *def.HttpRequestDef

func GenReqDefForUpdateAlarmRuleStatus added in v0.0.69

func GenReqDefForUpdateAlarmRuleStatus() *def.HttpRequestDef

func GenReqDefForUpdateAomMappingRules added in v0.0.68

func GenReqDefForUpdateAomMappingRules() *def.HttpRequestDef

func GenReqDefForUpdateHostGroup added in v0.0.71

func GenReqDefForUpdateHostGroup() *def.HttpRequestDef

func GenReqDefForUpdateKeywordsAlarmRule added in v0.0.68

func GenReqDefForUpdateKeywordsAlarmRule() *def.HttpRequestDef

func GenReqDefForUpdateLogGroup

func GenReqDefForUpdateLogGroup() *def.HttpRequestDef

func GenReqDefForUpdateNotificationTemplate added in v0.0.69

func GenReqDefForUpdateNotificationTemplate() *def.HttpRequestDef

func GenReqDefForUpdateSqlAlarmRule added in v0.0.68

func GenReqDefForUpdateSqlAlarmRule() *def.HttpRequestDef

func GenReqDefForUpdateStructTemplate added in v0.0.68

func GenReqDefForUpdateStructTemplate() *def.HttpRequestDef

func GenReqDefForUpdateTransfer added in v0.0.69

func GenReqDefForUpdateTransfer() *def.HttpRequestDef

func LtsClientBuilder

func LtsClientBuilder() *http_client.HcHttpClientBuilder

Types

type LtsClient

type LtsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewLtsClient

func NewLtsClient(hcClient *http_client.HcHttpClient) *LtsClient

func (*LtsClient) CreateAccessConfig added in v0.0.71

func (c *LtsClient) CreateAccessConfig(request *model.CreateAccessConfigRequest) (*model.CreateAccessConfigResponse, error)

创建日志接入

func (*LtsClient) CreateAomMappingRules added in v0.0.68

该接口用于创建aom日志接入lts规则

func (*LtsClient) CreateHostGroup added in v0.0.71

func (c *LtsClient) CreateHostGroup(request *model.CreateHostGroupRequest) (*model.CreateHostGroupResponse, error)

创建主机组

func (*LtsClient) CreateKeywordsAlarmRule added in v0.0.68

该接口用于创建关键词告警,目前每个帐户最多可以创建共200个关键词告警与SQL告警。

func (*LtsClient) CreateLogDumpObs

func (c *LtsClient) CreateLogDumpObs(request *model.CreateLogDumpObsRequest) (*model.CreateLogDumpObsResponse, error)

该接口用于将指定的一个或多个日志流的日志转储到OBS服务。

func (*LtsClient) CreateLogGroup

func (c *LtsClient) CreateLogGroup(request *model.CreateLogGroupRequest) (*model.CreateLogGroupResponse, error)

该接口用于创建一个日志组

func (*LtsClient) CreateLogStream

func (c *LtsClient) CreateLogStream(request *model.CreateLogStreamRequest) (*model.CreateLogStreamResponse, error)

该接口用于创建某个指定日志组下的日志流

func (*LtsClient) CreateNotificationTemplate added in v0.0.69

该接口用于创建通知模板,目前每个帐户最多可以创建共100个通知模板,创建后名称不可修改。

func (*LtsClient) CreateSqlAlarmRule added in v0.0.68

func (c *LtsClient) CreateSqlAlarmRule(request *model.CreateSqlAlarmRuleRequest) (*model.CreateSqlAlarmRuleResponse, error)

该接口用于创建SQL告警,目前每个帐户最多可以创建共200个关键词告警与SQL告警

func (*LtsClient) CreateStructTemplate added in v0.0.68

该接口用于创建指定日志流下的结构化配置。

func (*LtsClient) CreateTransfer added in v0.0.69

func (c *LtsClient) CreateTransfer(request *model.CreateTransferRequest) (*model.CreateTransferResponse, error)

该接口用于创建OBS转储,DIS转储,DMS转储。

func (*LtsClient) DeleteAccessConfig added in v0.0.71

func (c *LtsClient) DeleteAccessConfig(request *model.DeleteAccessConfigRequest) (*model.DeleteAccessConfigResponse, error)

删除日志接入

func (*LtsClient) DeleteActiveAlarms added in v0.0.68

func (c *LtsClient) DeleteActiveAlarms(request *model.DeleteActiveAlarmsRequest) (*model.DeleteActiveAlarmsResponse, error)

该接口用于删除活动告警

func (*LtsClient) DeleteAomMappingRules added in v0.0.68

该接口用于删除lts接入规则。

func (*LtsClient) DeleteHostGroup added in v0.0.71

func (c *LtsClient) DeleteHostGroup(request *model.DeleteHostGroupRequest) (*model.DeleteHostGroupResponse, error)

删除主机组

func (*LtsClient) DeleteKeywordsAlarmRule added in v0.0.68

该接口用于删除关键词告警。

func (*LtsClient) DeleteLogGroup

func (c *LtsClient) DeleteLogGroup(request *model.DeleteLogGroupRequest) (*model.DeleteLogGroupResponse, error)

该接口用于删除指定日志组。当日志组中的日志流配置了日志转储,需要取消日志转储后才可删除。

func (*LtsClient) DeleteLogStream

func (c *LtsClient) DeleteLogStream(request *model.DeleteLogStreamRequest) (*model.DeleteLogStreamResponse, error)

该接口用于删除指定日志组下的指定日志流。当该日志流配置了日志转储,需要取消日志转储后才可删除。

func (*LtsClient) DeleteNotificationTemplate added in v0.0.69

该接口用于删除通知模板。

func (*LtsClient) DeleteSqlAlarmRule added in v0.0.68

func (c *LtsClient) DeleteSqlAlarmRule(request *model.DeleteSqlAlarmRuleRequest) (*model.DeleteSqlAlarmRuleResponse, error)

该接口用于删除SQL告警

func (*LtsClient) DeleteStructTemplate added in v0.0.68

该接口用于删除指定日志流下的结构化配置。

func (*LtsClient) DeleteTransfer added in v0.0.69

func (c *LtsClient) DeleteTransfer(request *model.DeleteTransferRequest) (*model.DeleteTransferResponse, error)

该接口用于删除OBS转储,DIS转储,DMS转储。

func (*LtsClient) DisableLogCollection

该接口用于将超额采集日志功能关闭。

func (*LtsClient) EnableLogCollection

该接口用于将超额采集日志功能打开。

func (*LtsClient) ListAccessConfig added in v0.0.71

func (c *LtsClient) ListAccessConfig(request *model.ListAccessConfigRequest) (*model.ListAccessConfigResponse, error)

查询日志接入列表

func (*LtsClient) ListActiveOrHistoryAlarms added in v0.0.68

该接口用于查询告警列表

func (*LtsClient) ListCharts added in v0.0.68

func (c *LtsClient) ListCharts(request *model.ListChartsRequest) (*model.ListChartsResponse, error)

该接口用于查询日志流图表

func (*LtsClient) ListHost added in v0.0.71

func (c *LtsClient) ListHost(request *model.ListHostRequest) (*model.ListHostResponse, error)

查询主机列表

func (*LtsClient) ListHostGroup added in v0.0.71

func (c *LtsClient) ListHostGroup(request *model.ListHostGroupRequest) (*model.ListHostGroupResponse, error)

查询主机组列表

func (*LtsClient) ListKeywordsAlarmRules added in v0.0.68

该接口用于查询关键词告警。

func (*LtsClient) ListLogGroups

func (c *LtsClient) ListLogGroups(request *model.ListLogGroupsRequest) (*model.ListLogGroupsResponse, error)

该接口用于查询账号下所有日志组。

func (*LtsClient) ListLogHistogram added in v0.0.71

func (c *LtsClient) ListLogHistogram(request *model.ListLogHistogramRequest) (*model.ListLogHistogramResponse, error)

查询关键词搜索条数

func (*LtsClient) ListLogStream

func (c *LtsClient) ListLogStream(request *model.ListLogStreamRequest) (*model.ListLogStreamResponse, error)

该接口用于查询指定日志组下的所有日志流信息。

func (*LtsClient) ListLogStreams added in v0.0.69

func (c *LtsClient) ListLogStreams(request *model.ListLogStreamsRequest) (*model.ListLogStreamsResponse, error)

该接口用于查询LTS日志流信息。

func (*LtsClient) ListLogs added in v0.0.51

func (c *LtsClient) ListLogs(request *model.ListLogsRequest) (*model.ListLogsResponse, error)

该接口用于查询指定日志流下的日志内容。

func (*LtsClient) ListNotificationTemplate added in v0.0.69

该接口用于预览通知模板邮件格式

func (*LtsClient) ListNotificationTemplates added in v0.0.69

该接口用于查询通知模板。

func (*LtsClient) ListNotificationTopics added in v0.0.68

该接口用于查询SMN主题

func (*LtsClient) ListQueryStructuredLogs added in v0.0.51

该接口用于查询指定日志流下的结构化日志内容。

func (*LtsClient) ListSqlAlarmRules added in v0.0.68

func (c *LtsClient) ListSqlAlarmRules(request *model.ListSqlAlarmRulesRequest) (*model.ListSqlAlarmRulesResponse, error)

该接口用于查询SQL告警

func (*LtsClient) ListStructuredLogsWithTimeRange added in v0.0.51

该接口用于查询指定日志流下的结构化日志内容(新版)。

func (*LtsClient) ListTransfers added in v0.0.69

func (c *LtsClient) ListTransfers(request *model.ListTransfersRequest) (*model.ListTransfersResponse, error)

该接口用于查询OBS转储,DIS转储,DMS转储配置。

func (*LtsClient) RegisterDmsKafkaInstance added in v0.0.69

该接口用于注册DMS kafka实例。

func (*LtsClient) ShowAomMappingRule added in v0.0.68

func (c *LtsClient) ShowAomMappingRule(request *model.ShowAomMappingRuleRequest) (*model.ShowAomMappingRuleResponse, error)

该接口用于查询单个aom日志接入lts

func (*LtsClient) ShowAomMappingRules added in v0.0.68

该接口用于查询aom日志所有接入lts规则

func (*LtsClient) ShowNotificationTemplate added in v0.0.69

该接口用于查询单个通知模板

func (*LtsClient) ShowStructTemplate added in v0.0.68

func (c *LtsClient) ShowStructTemplate(request *model.ShowStructTemplateRequest) (*model.ShowStructTemplateResponse, error)

该接口用于查询指定日志流下的结构化配置内容。

func (*LtsClient) UpdateAccessConfig added in v0.0.71

func (c *LtsClient) UpdateAccessConfig(request *model.UpdateAccessConfigRequest) (*model.UpdateAccessConfigResponse, error)

修改日志接入

func (*LtsClient) UpdateAlarmRuleStatus added in v0.0.69

改变告警规则状态

func (*LtsClient) UpdateAomMappingRules added in v0.0.68

该接口用于修改接入规则

func (*LtsClient) UpdateHostGroup added in v0.0.71

func (c *LtsClient) UpdateHostGroup(request *model.UpdateHostGroupRequest) (*model.UpdateHostGroupResponse, error)

更新主机组

func (*LtsClient) UpdateKeywordsAlarmRule added in v0.0.68

该接口用于修改关键词告警。

func (*LtsClient) UpdateLogGroup

func (c *LtsClient) UpdateLogGroup(request *model.UpdateLogGroupRequest) (*model.UpdateLogGroupResponse, error)

该接口用于修改指定日志组下的日志存储时长。

func (*LtsClient) UpdateNotificationTemplate added in v0.0.69

该接口用于修改通知模板,根据名称进行修改。

func (*LtsClient) UpdateSqlAlarmRule added in v0.0.68

func (c *LtsClient) UpdateSqlAlarmRule(request *model.UpdateSqlAlarmRuleRequest) (*model.UpdateSqlAlarmRuleResponse, error)

该接口用于修改SQL告警

func (*LtsClient) UpdateStructTemplate added in v0.0.68

该接口用于修改指定日志流下的结构化配置。

func (*LtsClient) UpdateTransfer added in v0.0.69

func (c *LtsClient) UpdateTransfer(request *model.UpdateTransferRequest) (*model.UpdateTransferResponse, error)

该接口用于更新OBS转储,DIS转储,DMS转储。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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