Documentation ¶
Index ¶
- func GenReqDefForCreateAccessConfig() *def.HttpRequestDef
- func GenReqDefForCreateAomMappingRules() *def.HttpRequestDef
- func GenReqDefForCreateHostGroup() *def.HttpRequestDef
- func GenReqDefForCreateKeywordsAlarmRule() *def.HttpRequestDef
- func GenReqDefForCreateLogDumpObs() *def.HttpRequestDef
- func GenReqDefForCreateLogGroup() *def.HttpRequestDef
- func GenReqDefForCreateLogStream() *def.HttpRequestDef
- func GenReqDefForCreateNotificationTemplate() *def.HttpRequestDef
- func GenReqDefForCreateSqlAlarmRule() *def.HttpRequestDef
- func GenReqDefForCreateStructTemplate() *def.HttpRequestDef
- func GenReqDefForCreateTransfer() *def.HttpRequestDef
- func GenReqDefForDeleteAccessConfig() *def.HttpRequestDef
- func GenReqDefForDeleteActiveAlarms() *def.HttpRequestDef
- func GenReqDefForDeleteAomMappingRules() *def.HttpRequestDef
- func GenReqDefForDeleteHostGroup() *def.HttpRequestDef
- func GenReqDefForDeleteKeywordsAlarmRule() *def.HttpRequestDef
- func GenReqDefForDeleteLogGroup() *def.HttpRequestDef
- func GenReqDefForDeleteLogStream() *def.HttpRequestDef
- func GenReqDefForDeleteNotificationTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteSqlAlarmRule() *def.HttpRequestDef
- func GenReqDefForDeleteStructTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteTransfer() *def.HttpRequestDef
- func GenReqDefForDisableLogCollection() *def.HttpRequestDef
- func GenReqDefForEnableLogCollection() *def.HttpRequestDef
- func GenReqDefForListAccessConfig() *def.HttpRequestDef
- func GenReqDefForListActiveOrHistoryAlarms() *def.HttpRequestDef
- func GenReqDefForListCharts() *def.HttpRequestDef
- func GenReqDefForListHost() *def.HttpRequestDef
- func GenReqDefForListHostGroup() *def.HttpRequestDef
- func GenReqDefForListKeywordsAlarmRules() *def.HttpRequestDef
- func GenReqDefForListLogGroups() *def.HttpRequestDef
- func GenReqDefForListLogHistogram() *def.HttpRequestDef
- func GenReqDefForListLogStream() *def.HttpRequestDef
- func GenReqDefForListLogStreams() *def.HttpRequestDef
- func GenReqDefForListLogs() *def.HttpRequestDef
- func GenReqDefForListNotificationTemplate() *def.HttpRequestDef
- func GenReqDefForListNotificationTemplates() *def.HttpRequestDef
- func GenReqDefForListNotificationTopics() *def.HttpRequestDef
- func GenReqDefForListQueryStructuredLogs() *def.HttpRequestDef
- func GenReqDefForListSqlAlarmRules() *def.HttpRequestDef
- func GenReqDefForListStructuredLogsWithTimeRange() *def.HttpRequestDef
- func GenReqDefForListTransfers() *def.HttpRequestDef
- func GenReqDefForRegisterDmsKafkaInstance() *def.HttpRequestDef
- func GenReqDefForShowAomMappingRule() *def.HttpRequestDef
- func GenReqDefForShowAomMappingRules() *def.HttpRequestDef
- func GenReqDefForShowNotificationTemplate() *def.HttpRequestDef
- func GenReqDefForShowStructTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateAccessConfig() *def.HttpRequestDef
- func GenReqDefForUpdateAlarmRuleStatus() *def.HttpRequestDef
- func GenReqDefForUpdateAomMappingRules() *def.HttpRequestDef
- func GenReqDefForUpdateHostGroup() *def.HttpRequestDef
- func GenReqDefForUpdateKeywordsAlarmRule() *def.HttpRequestDef
- func GenReqDefForUpdateLogGroup() *def.HttpRequestDef
- func GenReqDefForUpdateNotificationTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateSqlAlarmRule() *def.HttpRequestDef
- func GenReqDefForUpdateStructTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateTransfer() *def.HttpRequestDef
- func LtsClientBuilder() *http_client.HcHttpClientBuilder
- type LtsClient
- func (c *LtsClient) CreateAccessConfig(request *model.CreateAccessConfigRequest) (*model.CreateAccessConfigResponse, error)
- func (c *LtsClient) CreateAomMappingRules(request *model.CreateAomMappingRulesRequest) (*model.CreateAomMappingRulesResponse, error)
- func (c *LtsClient) CreateHostGroup(request *model.CreateHostGroupRequest) (*model.CreateHostGroupResponse, error)
- func (c *LtsClient) CreateKeywordsAlarmRule(request *model.CreateKeywordsAlarmRuleRequest) (*model.CreateKeywordsAlarmRuleResponse, error)
- func (c *LtsClient) CreateLogDumpObs(request *model.CreateLogDumpObsRequest) (*model.CreateLogDumpObsResponse, error)
- func (c *LtsClient) CreateLogGroup(request *model.CreateLogGroupRequest) (*model.CreateLogGroupResponse, error)
- func (c *LtsClient) CreateLogStream(request *model.CreateLogStreamRequest) (*model.CreateLogStreamResponse, error)
- func (c *LtsClient) CreateNotificationTemplate(request *model.CreateNotificationTemplateRequest) (*model.CreateNotificationTemplateResponse, error)
- func (c *LtsClient) CreateSqlAlarmRule(request *model.CreateSqlAlarmRuleRequest) (*model.CreateSqlAlarmRuleResponse, error)
- func (c *LtsClient) CreateStructTemplate(request *model.CreateStructTemplateRequest) (*model.CreateStructTemplateResponse, error)
- func (c *LtsClient) CreateTransfer(request *model.CreateTransferRequest) (*model.CreateTransferResponse, error)
- func (c *LtsClient) DeleteAccessConfig(request *model.DeleteAccessConfigRequest) (*model.DeleteAccessConfigResponse, error)
- func (c *LtsClient) DeleteActiveAlarms(request *model.DeleteActiveAlarmsRequest) (*model.DeleteActiveAlarmsResponse, error)
- func (c *LtsClient) DeleteAomMappingRules(request *model.DeleteAomMappingRulesRequest) (*model.DeleteAomMappingRulesResponse, error)
- func (c *LtsClient) DeleteHostGroup(request *model.DeleteHostGroupRequest) (*model.DeleteHostGroupResponse, error)
- func (c *LtsClient) DeleteKeywordsAlarmRule(request *model.DeleteKeywordsAlarmRuleRequest) (*model.DeleteKeywordsAlarmRuleResponse, error)
- func (c *LtsClient) DeleteLogGroup(request *model.DeleteLogGroupRequest) (*model.DeleteLogGroupResponse, error)
- func (c *LtsClient) DeleteLogStream(request *model.DeleteLogStreamRequest) (*model.DeleteLogStreamResponse, error)
- func (c *LtsClient) DeleteNotificationTemplate(request *model.DeleteNotificationTemplateRequest) (*model.DeleteNotificationTemplateResponse, error)
- func (c *LtsClient) DeleteSqlAlarmRule(request *model.DeleteSqlAlarmRuleRequest) (*model.DeleteSqlAlarmRuleResponse, error)
- func (c *LtsClient) DeleteStructTemplate(request *model.DeleteStructTemplateRequest) (*model.DeleteStructTemplateResponse, error)
- func (c *LtsClient) DeleteTransfer(request *model.DeleteTransferRequest) (*model.DeleteTransferResponse, error)
- func (c *LtsClient) DisableLogCollection(request *model.DisableLogCollectionRequest) (*model.DisableLogCollectionResponse, error)
- func (c *LtsClient) EnableLogCollection(request *model.EnableLogCollectionRequest) (*model.EnableLogCollectionResponse, error)
- func (c *LtsClient) ListAccessConfig(request *model.ListAccessConfigRequest) (*model.ListAccessConfigResponse, error)
- func (c *LtsClient) ListActiveOrHistoryAlarms(request *model.ListActiveOrHistoryAlarmsRequest) (*model.ListActiveOrHistoryAlarmsResponse, error)
- func (c *LtsClient) ListCharts(request *model.ListChartsRequest) (*model.ListChartsResponse, error)
- func (c *LtsClient) ListHost(request *model.ListHostRequest) (*model.ListHostResponse, error)
- func (c *LtsClient) ListHostGroup(request *model.ListHostGroupRequest) (*model.ListHostGroupResponse, error)
- func (c *LtsClient) ListKeywordsAlarmRules(request *model.ListKeywordsAlarmRulesRequest) (*model.ListKeywordsAlarmRulesResponse, error)
- func (c *LtsClient) ListLogGroups(request *model.ListLogGroupsRequest) (*model.ListLogGroupsResponse, error)
- func (c *LtsClient) ListLogHistogram(request *model.ListLogHistogramRequest) (*model.ListLogHistogramResponse, error)
- func (c *LtsClient) ListLogStream(request *model.ListLogStreamRequest) (*model.ListLogStreamResponse, error)
- func (c *LtsClient) ListLogStreams(request *model.ListLogStreamsRequest) (*model.ListLogStreamsResponse, error)
- func (c *LtsClient) ListLogs(request *model.ListLogsRequest) (*model.ListLogsResponse, error)
- func (c *LtsClient) ListNotificationTemplate(request *model.ListNotificationTemplateRequest) (*model.ListNotificationTemplateResponse, error)
- func (c *LtsClient) ListNotificationTemplates(request *model.ListNotificationTemplatesRequest) (*model.ListNotificationTemplatesResponse, error)
- func (c *LtsClient) ListNotificationTopics(request *model.ListNotificationTopicsRequest) (*model.ListNotificationTopicsResponse, error)
- func (c *LtsClient) ListQueryStructuredLogs(request *model.ListQueryStructuredLogsRequest) (*model.ListQueryStructuredLogsResponse, error)
- func (c *LtsClient) ListSqlAlarmRules(request *model.ListSqlAlarmRulesRequest) (*model.ListSqlAlarmRulesResponse, error)
- func (c *LtsClient) ListStructuredLogsWithTimeRange(request *model.ListStructuredLogsWithTimeRangeRequest) (*model.ListStructuredLogsWithTimeRangeResponse, error)
- func (c *LtsClient) ListTransfers(request *model.ListTransfersRequest) (*model.ListTransfersResponse, error)
- func (c *LtsClient) RegisterDmsKafkaInstance(request *model.RegisterDmsKafkaInstanceRequest) (*model.RegisterDmsKafkaInstanceResponse, error)
- func (c *LtsClient) ShowAomMappingRule(request *model.ShowAomMappingRuleRequest) (*model.ShowAomMappingRuleResponse, error)
- func (c *LtsClient) ShowAomMappingRules(request *model.ShowAomMappingRulesRequest) (*model.ShowAomMappingRulesResponse, error)
- func (c *LtsClient) ShowNotificationTemplate(request *model.ShowNotificationTemplateRequest) (*model.ShowNotificationTemplateResponse, error)
- func (c *LtsClient) ShowStructTemplate(request *model.ShowStructTemplateRequest) (*model.ShowStructTemplateResponse, error)
- func (c *LtsClient) UpdateAccessConfig(request *model.UpdateAccessConfigRequest) (*model.UpdateAccessConfigResponse, error)
- func (c *LtsClient) UpdateAlarmRuleStatus(request *model.UpdateAlarmRuleStatusRequest) (*model.UpdateAlarmRuleStatusResponse, error)
- func (c *LtsClient) UpdateAomMappingRules(request *model.UpdateAomMappingRulesRequest) (*model.UpdateAomMappingRulesResponse, error)
- func (c *LtsClient) UpdateHostGroup(request *model.UpdateHostGroupRequest) (*model.UpdateHostGroupResponse, error)
- func (c *LtsClient) UpdateKeywordsAlarmRule(request *model.UpdateKeywordsAlarmRuleRequest) (*model.UpdateKeywordsAlarmRuleResponse, error)
- func (c *LtsClient) UpdateLogGroup(request *model.UpdateLogGroupRequest) (*model.UpdateLogGroupResponse, error)
- func (c *LtsClient) UpdateNotificationTemplate(request *model.UpdateNotificationTemplateRequest) (*model.UpdateNotificationTemplateResponse, error)
- func (c *LtsClient) UpdateSqlAlarmRule(request *model.UpdateSqlAlarmRuleRequest) (*model.UpdateSqlAlarmRuleResponse, error)
- func (c *LtsClient) UpdateStructTemplate(request *model.UpdateStructTemplateRequest) (*model.UpdateStructTemplateResponse, error)
- func (c *LtsClient) UpdateTransfer(request *model.UpdateTransferRequest) (*model.UpdateTransferResponse, error)
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
func (c *LtsClient) CreateAomMappingRules(request *model.CreateAomMappingRulesRequest) (*model.CreateAomMappingRulesResponse, error)
该接口用于创建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
func (c *LtsClient) CreateKeywordsAlarmRule(request *model.CreateKeywordsAlarmRuleRequest) (*model.CreateKeywordsAlarmRuleResponse, error)
该接口用于创建关键词告警,目前每个帐户最多可以创建共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
func (c *LtsClient) CreateNotificationTemplate(request *model.CreateNotificationTemplateRequest) (*model.CreateNotificationTemplateResponse, error)
该接口用于创建通知模板,目前每个帐户最多可以创建共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 (c *LtsClient) CreateStructTemplate(request *model.CreateStructTemplateRequest) (*model.CreateStructTemplateResponse, error)
该接口用于创建指定日志流下的结构化配置。
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
func (c *LtsClient) DeleteAomMappingRules(request *model.DeleteAomMappingRulesRequest) (*model.DeleteAomMappingRulesResponse, error)
该接口用于删除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 (c *LtsClient) DeleteKeywordsAlarmRule(request *model.DeleteKeywordsAlarmRuleRequest) (*model.DeleteKeywordsAlarmRuleResponse, error)
该接口用于删除关键词告警。
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 (c *LtsClient) DeleteNotificationTemplate(request *model.DeleteNotificationTemplateRequest) (*model.DeleteNotificationTemplateResponse, error)
该接口用于删除通知模板。
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 (c *LtsClient) DeleteStructTemplate(request *model.DeleteStructTemplateRequest) (*model.DeleteStructTemplateResponse, error)
该接口用于删除指定日志流下的结构化配置。
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 (c *LtsClient) DisableLogCollection(request *model.DisableLogCollectionRequest) (*model.DisableLogCollectionResponse, error)
该接口用于将超额采集日志功能关闭。
func (*LtsClient) EnableLogCollection ¶
func (c *LtsClient) EnableLogCollection(request *model.EnableLogCollectionRequest) (*model.EnableLogCollectionResponse, error)
该接口用于将超额采集日志功能打开。
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 (c *LtsClient) ListActiveOrHistoryAlarms(request *model.ListActiveOrHistoryAlarmsRequest) (*model.ListActiveOrHistoryAlarmsResponse, error)
该接口用于查询告警列表
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 (c *LtsClient) ListKeywordsAlarmRules(request *model.ListKeywordsAlarmRulesRequest) (*model.ListKeywordsAlarmRulesResponse, error)
该接口用于查询关键词告警。
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 (c *LtsClient) ListNotificationTemplate(request *model.ListNotificationTemplateRequest) (*model.ListNotificationTemplateResponse, error)
该接口用于预览通知模板邮件格式
func (*LtsClient) ListNotificationTemplates ¶ added in v0.0.69
func (c *LtsClient) ListNotificationTemplates(request *model.ListNotificationTemplatesRequest) (*model.ListNotificationTemplatesResponse, error)
该接口用于查询通知模板。
func (*LtsClient) ListNotificationTopics ¶ added in v0.0.68
func (c *LtsClient) ListNotificationTopics(request *model.ListNotificationTopicsRequest) (*model.ListNotificationTopicsResponse, error)
该接口用于查询SMN主题
func (*LtsClient) ListQueryStructuredLogs ¶ added in v0.0.51
func (c *LtsClient) ListQueryStructuredLogs(request *model.ListQueryStructuredLogsRequest) (*model.ListQueryStructuredLogsResponse, error)
该接口用于查询指定日志流下的结构化日志内容。
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 (c *LtsClient) ListStructuredLogsWithTimeRange(request *model.ListStructuredLogsWithTimeRangeRequest) (*model.ListStructuredLogsWithTimeRangeResponse, error)
该接口用于查询指定日志流下的结构化日志内容(新版)。
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
func (c *LtsClient) RegisterDmsKafkaInstance(request *model.RegisterDmsKafkaInstanceRequest) (*model.RegisterDmsKafkaInstanceResponse, error)
该接口用于注册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
func (c *LtsClient) ShowAomMappingRules(request *model.ShowAomMappingRulesRequest) (*model.ShowAomMappingRulesResponse, error)
该接口用于查询aom日志所有接入lts规则
func (*LtsClient) ShowNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) ShowNotificationTemplate(request *model.ShowNotificationTemplateRequest) (*model.ShowNotificationTemplateResponse, error)
该接口用于查询单个通知模板
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 (c *LtsClient) UpdateAlarmRuleStatus(request *model.UpdateAlarmRuleStatusRequest) (*model.UpdateAlarmRuleStatusResponse, error)
改变告警规则状态
func (*LtsClient) UpdateAomMappingRules ¶ added in v0.0.68
func (c *LtsClient) UpdateAomMappingRules(request *model.UpdateAomMappingRulesRequest) (*model.UpdateAomMappingRulesResponse, error)
该接口用于修改接入规则
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 (c *LtsClient) UpdateKeywordsAlarmRule(request *model.UpdateKeywordsAlarmRuleRequest) (*model.UpdateKeywordsAlarmRuleResponse, error)
该接口用于修改关键词告警。
func (*LtsClient) UpdateLogGroup ¶
func (c *LtsClient) UpdateLogGroup(request *model.UpdateLogGroupRequest) (*model.UpdateLogGroupResponse, error)
该接口用于修改指定日志组下的日志存储时长。
func (*LtsClient) UpdateNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) UpdateNotificationTemplate(request *model.UpdateNotificationTemplateRequest) (*model.UpdateNotificationTemplateResponse, error)
该接口用于修改通知模板,根据名称进行修改。
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 (c *LtsClient) UpdateStructTemplate(request *model.UpdateStructTemplateRequest) (*model.UpdateStructTemplateResponse, error)
该接口用于修改指定日志流下的结构化配置。
func (*LtsClient) UpdateTransfer ¶ added in v0.0.69
func (c *LtsClient) UpdateTransfer(request *model.UpdateTransferRequest) (*model.UpdateTransferResponse, error)
该接口用于更新OBS转储,DIS转储,DMS转储。