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 GenReqDefForCreateStructConfig() *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 GenReqDefForListBreifStructTemplate() *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 GenReqDefForListStructTemplate() *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 GenReqDefForUpdateStructConfig() *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) CreateStructConfig(request *model.CreateStructConfigRequest) (*model.CreateStructConfigResponse, 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) ListBreifStructTemplate(request *model.ListBreifStructTemplateRequest) (*model.ListBreifStructTemplateResponse, 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) ListStructTemplate(request *model.ListStructTemplateRequest) (*model.ListStructTemplateResponse, 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) UpdateStructConfig(request *model.UpdateStructConfigRequest) (*model.UpdateStructConfigResponse, 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 GenReqDefForCreateStructConfig ¶ added in v0.0.78
func GenReqDefForCreateStructConfig() *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 GenReqDefForListBreifStructTemplate ¶ added in v0.0.78
func GenReqDefForListBreifStructTemplate() *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 GenReqDefForListStructTemplate ¶ added in v0.0.78
func GenReqDefForListStructTemplate() *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 GenReqDefForUpdateStructConfig ¶ added in v0.0.78
func GenReqDefForUpdateStructConfig() *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)
创建日志接入
创建日志接入
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateAomMappingRules ¶ added in v0.0.68
func (c *LtsClient) CreateAomMappingRules(request *model.CreateAomMappingRulesRequest) (*model.CreateAomMappingRulesResponse, error)
创建接入规则
该接口用于创建aom日志接入lts规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateHostGroup ¶ added in v0.0.71
func (c *LtsClient) CreateHostGroup(request *model.CreateHostGroupRequest) (*model.CreateHostGroupResponse, error)
创建主机组
创建主机组
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateKeywordsAlarmRule ¶ added in v0.0.68
func (c *LtsClient) CreateKeywordsAlarmRule(request *model.CreateKeywordsAlarmRuleRequest) (*model.CreateKeywordsAlarmRuleResponse, error)
创建关键词告警规则
该接口用于创建关键词告警,目前每个帐户最多可以创建共200个关键词告警与SQL告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateLogDumpObs ¶
func (c *LtsClient) CreateLogDumpObs(request *model.CreateLogDumpObsRequest) (*model.CreateLogDumpObsResponse, error)
创建日志转储(旧版)
该接口用于将指定的一个或多个日志流的日志转储到OBS服务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateLogGroup ¶
func (c *LtsClient) CreateLogGroup(request *model.CreateLogGroupRequest) (*model.CreateLogGroupResponse, error)
创建日志组
该接口用于创建一个日志组
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateLogStream ¶
func (c *LtsClient) CreateLogStream(request *model.CreateLogStreamRequest) (*model.CreateLogStreamResponse, error)
创建日志流
该接口用于创建某个指定日志组下的日志流
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) CreateNotificationTemplate(request *model.CreateNotificationTemplateRequest) (*model.CreateNotificationTemplateResponse, error)
创建消息模板
该接口用于创建通知模板,目前每个帐户最多可以创建共100个通知模板,创建后名称不可修改。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateSqlAlarmRule ¶ added in v0.0.68
func (c *LtsClient) CreateSqlAlarmRule(request *model.CreateSqlAlarmRuleRequest) (*model.CreateSqlAlarmRuleResponse, error)
创建SQL告警规则
该接口用于创建SQL告警,目前每个帐户最多可以创建共200个关键词告警与SQL告警
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateStructConfig ¶ added in v0.0.78
func (c *LtsClient) CreateStructConfig(request *model.CreateStructConfigRequest) (*model.CreateStructConfigResponse, error)
通过结构化模板创建结构化配置(新)
该接口通过结构化模板创建结构化配置。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateStructTemplate ¶ added in v0.0.68
func (c *LtsClient) CreateStructTemplate(request *model.CreateStructTemplateRequest) (*model.CreateStructTemplateResponse, error)
创建结构化配置
该接口用于创建指定日志流下的结构化配置。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) CreateTransfer ¶ added in v0.0.69
func (c *LtsClient) CreateTransfer(request *model.CreateTransferRequest) (*model.CreateTransferResponse, error)
创建日志转储(新版)
该接口用于创建OBS转储,DIS转储,DMS转储。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteAccessConfig ¶ added in v0.0.71
func (c *LtsClient) DeleteAccessConfig(request *model.DeleteAccessConfigRequest) (*model.DeleteAccessConfigResponse, error)
删除日志接入
删除日志接入
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteActiveAlarms ¶ added in v0.0.68
func (c *LtsClient) DeleteActiveAlarms(request *model.DeleteActiveAlarmsRequest) (*model.DeleteActiveAlarmsResponse, error)
删除活动告警
该接口用于删除活动告警
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteAomMappingRules ¶ added in v0.0.68
func (c *LtsClient) DeleteAomMappingRules(request *model.DeleteAomMappingRulesRequest) (*model.DeleteAomMappingRulesResponse, error)
删除接入规则
该接口用于删除lts接入规则。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteHostGroup ¶ added in v0.0.71
func (c *LtsClient) DeleteHostGroup(request *model.DeleteHostGroupRequest) (*model.DeleteHostGroupResponse, error)
删除主机组
删除主机组
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteKeywordsAlarmRule ¶ added in v0.0.68
func (c *LtsClient) DeleteKeywordsAlarmRule(request *model.DeleteKeywordsAlarmRuleRequest) (*model.DeleteKeywordsAlarmRuleResponse, error)
删除关键词告警规则
该接口用于删除关键词告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteLogGroup ¶
func (c *LtsClient) DeleteLogGroup(request *model.DeleteLogGroupRequest) (*model.DeleteLogGroupResponse, error)
删除日志组
该接口用于删除指定日志组。当日志组中的日志流配置了日志转储,需要取消日志转储后才可删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteLogStream ¶
func (c *LtsClient) DeleteLogStream(request *model.DeleteLogStreamRequest) (*model.DeleteLogStreamResponse, error)
删除日志流
该接口用于删除指定日志组下的指定日志流。当该日志流配置了日志转储,需要取消日志转储后才可删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) DeleteNotificationTemplate(request *model.DeleteNotificationTemplateRequest) (*model.DeleteNotificationTemplateResponse, error)
删除消息模板
该接口用于删除通知模板。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteSqlAlarmRule ¶ added in v0.0.68
func (c *LtsClient) DeleteSqlAlarmRule(request *model.DeleteSqlAlarmRuleRequest) (*model.DeleteSqlAlarmRuleResponse, error)
删除SQL告警规则
该接口用于删除SQL告警
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteStructTemplate ¶ added in v0.0.68
func (c *LtsClient) DeleteStructTemplate(request *model.DeleteStructTemplateRequest) (*model.DeleteStructTemplateResponse, error)
删除结构化配置
该接口用于删除指定日志流下的结构化配置。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DeleteTransfer ¶ added in v0.0.69
func (c *LtsClient) DeleteTransfer(request *model.DeleteTransferRequest) (*model.DeleteTransferResponse, error)
删除日志转储
该接口用于删除OBS转储,DIS转储,DMS转储。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) DisableLogCollection ¶
func (c *LtsClient) DisableLogCollection(request *model.DisableLogCollectionRequest) (*model.DisableLogCollectionResponse, error)
关闭超额采集开关
该接口用于将超额采集日志功能关闭。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) EnableLogCollection ¶
func (c *LtsClient) EnableLogCollection(request *model.EnableLogCollectionRequest) (*model.EnableLogCollectionResponse, error)
打开超额采集开关
该接口用于将超额采集日志功能打开。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListAccessConfig ¶ added in v0.0.71
func (c *LtsClient) ListAccessConfig(request *model.ListAccessConfigRequest) (*model.ListAccessConfigResponse, error)
查询日志接入
查询日志接入列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListActiveOrHistoryAlarms ¶ added in v0.0.68
func (c *LtsClient) ListActiveOrHistoryAlarms(request *model.ListActiveOrHistoryAlarmsRequest) (*model.ListActiveOrHistoryAlarmsResponse, error)
查询活动或历史告警列表
该接口用于查询告警列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListBreifStructTemplate ¶ added in v0.0.78
func (c *LtsClient) ListBreifStructTemplate(request *model.ListBreifStructTemplateRequest) (*model.ListBreifStructTemplateResponse, error)
查询结构化模板简略列表
该接口用于查询结构化模板简略列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListCharts ¶ added in v0.0.68
func (c *LtsClient) ListCharts(request *model.ListChartsRequest) (*model.ListChartsResponse, error)
查询日志流图表
该接口用于查询日志流图表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListHost ¶ added in v0.0.71
func (c *LtsClient) ListHost(request *model.ListHostRequest) (*model.ListHostResponse, error)
查询主机信息
查询主机列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListHostGroup ¶ added in v0.0.71
func (c *LtsClient) ListHostGroup(request *model.ListHostGroupRequest) (*model.ListHostGroupResponse, error)
查询主机组
查询主机组列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListKeywordsAlarmRules ¶ added in v0.0.68
func (c *LtsClient) ListKeywordsAlarmRules(request *model.ListKeywordsAlarmRulesRequest) (*model.ListKeywordsAlarmRulesResponse, error)
查询关键词告警规则
该接口用于查询关键词告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListLogGroups ¶
func (c *LtsClient) ListLogGroups(request *model.ListLogGroupsRequest) (*model.ListLogGroupsResponse, error)
查询账号下所有日志组
该接口用于查询账号下所有日志组。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListLogHistogram ¶ added in v0.0.71
func (c *LtsClient) ListLogHistogram(request *model.ListLogHistogramRequest) (*model.ListLogHistogramResponse, error)
查询日志直方图
查询关键词搜索条数
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListLogStream ¶
func (c *LtsClient) ListLogStream(request *model.ListLogStreamRequest) (*model.ListLogStreamResponse, error)
查询指定日志组下的所有日志流
该接口用于查询指定日志组下的所有日志流信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListLogStreams ¶ added in v0.0.69
func (c *LtsClient) ListLogStreams(request *model.ListLogStreamsRequest) (*model.ListLogStreamsResponse, error)
查询日志流信息
该接口用于查询LTS日志流信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListLogs ¶ added in v0.0.51
func (c *LtsClient) ListLogs(request *model.ListLogsRequest) (*model.ListLogsResponse, error)
查询日志
该接口用于查询指定日志流下的日志内容。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) ListNotificationTemplate(request *model.ListNotificationTemplateRequest) (*model.ListNotificationTemplateResponse, error)
预览消息模板邮件格式
该接口用于预览通知模板邮件格式
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListNotificationTemplates ¶ added in v0.0.69
func (c *LtsClient) ListNotificationTemplates(request *model.ListNotificationTemplatesRequest) (*model.ListNotificationTemplatesResponse, error)
查询消息模板
该接口用于查询通知模板。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListNotificationTopics ¶ added in v0.0.68
func (c *LtsClient) ListNotificationTopics(request *model.ListNotificationTopicsRequest) (*model.ListNotificationTopicsResponse, error)
查询SMN主题
该接口用于查询SMN主题
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListQueryStructuredLogs ¶ added in v0.0.51
func (c *LtsClient) ListQueryStructuredLogs(request *model.ListQueryStructuredLogsRequest) (*model.ListQueryStructuredLogsResponse, error)
查询结构化日志
该接口用于查询指定日志流下的结构化日志内容。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListSqlAlarmRules ¶ added in v0.0.68
func (c *LtsClient) ListSqlAlarmRules(request *model.ListSqlAlarmRulesRequest) (*model.ListSqlAlarmRulesResponse, error)
查询SQL告警规则
该接口用于查询SQL告警
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListStructTemplate ¶ added in v0.0.78
func (c *LtsClient) ListStructTemplate(request *model.ListStructTemplateRequest) (*model.ListStructTemplateResponse, error)
查询结构化模板
该接口用于查询结构化模板。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListStructuredLogsWithTimeRange ¶ added in v0.0.51
func (c *LtsClient) ListStructuredLogsWithTimeRange(request *model.ListStructuredLogsWithTimeRangeRequest) (*model.ListStructuredLogsWithTimeRangeResponse, error)
查询结构化日志(新版)
该接口用于查询指定日志流下的结构化日志内容(新版)。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ListTransfers ¶ added in v0.0.69
func (c *LtsClient) ListTransfers(request *model.ListTransfersRequest) (*model.ListTransfersResponse, error)
查询日志转储
该接口用于查询OBS转储,DIS转储,DMS转储配置。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) RegisterDmsKafkaInstance ¶ added in v0.0.69
func (c *LtsClient) RegisterDmsKafkaInstance(request *model.RegisterDmsKafkaInstanceRequest) (*model.RegisterDmsKafkaInstanceResponse, error)
注册DMS kafka实例
该接口用于注册DMS kafka实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ShowAomMappingRule ¶ added in v0.0.68
func (c *LtsClient) ShowAomMappingRule(request *model.ShowAomMappingRuleRequest) (*model.ShowAomMappingRuleResponse, error)
查询单个接入规则
该接口用于查询单个aom日志接入lts
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ShowAomMappingRules ¶ added in v0.0.68
func (c *LtsClient) ShowAomMappingRules(request *model.ShowAomMappingRulesRequest) (*model.ShowAomMappingRulesResponse, error)
查询所有接入规则
该接口用于查询aom日志所有接入lts规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ShowNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) ShowNotificationTemplate(request *model.ShowNotificationTemplateRequest) (*model.ShowNotificationTemplateResponse, error)
查询单个消息模板
该接口用于查询单个通知模板
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) ShowStructTemplate ¶ added in v0.0.68
func (c *LtsClient) ShowStructTemplate(request *model.ShowStructTemplateRequest) (*model.ShowStructTemplateResponse, error)
查询结构化配置
该接口用于查询指定日志流下的结构化配置内容。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateAccessConfig ¶ added in v0.0.71
func (c *LtsClient) UpdateAccessConfig(request *model.UpdateAccessConfigRequest) (*model.UpdateAccessConfigResponse, error)
修改日志接入
修改日志接入
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateAlarmRuleStatus ¶ added in v0.0.69
func (c *LtsClient) UpdateAlarmRuleStatus(request *model.UpdateAlarmRuleStatusRequest) (*model.UpdateAlarmRuleStatusResponse, error)
切换告警规则状态
改变告警规则状态
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateAomMappingRules ¶ added in v0.0.68
func (c *LtsClient) UpdateAomMappingRules(request *model.UpdateAomMappingRulesRequest) (*model.UpdateAomMappingRulesResponse, error)
修改接入规则
该接口用于修改接入规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateHostGroup ¶ added in v0.0.71
func (c *LtsClient) UpdateHostGroup(request *model.UpdateHostGroupRequest) (*model.UpdateHostGroupResponse, error)
修改主机组
修改主机组
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateKeywordsAlarmRule ¶ added in v0.0.68
func (c *LtsClient) UpdateKeywordsAlarmRule(request *model.UpdateKeywordsAlarmRuleRequest) (*model.UpdateKeywordsAlarmRuleResponse, error)
修改关键词告警规则
该接口用于修改关键词告警。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateLogGroup ¶
func (c *LtsClient) UpdateLogGroup(request *model.UpdateLogGroupRequest) (*model.UpdateLogGroupResponse, error)
修改日志组
该接口用于修改指定日志组下的日志存储时长。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateNotificationTemplate ¶ added in v0.0.69
func (c *LtsClient) UpdateNotificationTemplate(request *model.UpdateNotificationTemplateRequest) (*model.UpdateNotificationTemplateResponse, error)
修改消息模板
该接口用于修改通知模板,根据名称进行修改。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateSqlAlarmRule ¶ added in v0.0.68
func (c *LtsClient) UpdateSqlAlarmRule(request *model.UpdateSqlAlarmRuleRequest) (*model.UpdateSqlAlarmRuleResponse, error)
修改SQL告警规则
该接口用于修改SQL告警
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateStructConfig ¶ added in v0.0.78
func (c *LtsClient) UpdateStructConfig(request *model.UpdateStructConfigRequest) (*model.UpdateStructConfigResponse, error)
通过结构化模板修改结构化配置(新)
该接口通过结构化模板修改结构化配置
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateStructTemplate ¶ added in v0.0.68
func (c *LtsClient) UpdateStructTemplate(request *model.UpdateStructTemplateRequest) (*model.UpdateStructTemplateResponse, error)
修改结构化配置
该接口用于修改指定日志流下的结构化配置。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*LtsClient) UpdateTransfer ¶ added in v0.0.69
func (c *LtsClient) UpdateTransfer(request *model.UpdateTransferRequest) (*model.UpdateTransferResponse, error)
更新日志转储
该接口用于更新OBS转储,DIS转储,DMS转储。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.