Documentation ¶
Index ¶
- type AccessConfigBaseLogInfo
- type AccessConfigBaseLogInfoCreate
- type AccessConfigDeatilCreate
- type AccessConfigDeatilCreatePathType
- type AccessConfigDeatilCreatePathTypeEnum
- type AccessConfigFormatCreate
- type AccessConfigFormatMutilCreate
- type AccessConfigFormatMutilCreateMode
- type AccessConfigFormatMutilCreateModeEnum
- type AccessConfigFormatSingleCreate
- type AccessConfigFormatSingleCreateMode
- type AccessConfigFormatSingleCreateModeEnum
- type AccessConfigHostGroupIdList
- type AccessConfigHostGroupIdListCreate
- type AccessConfigInfo
- type AccessConfigInfoAccessConfigType
- type AccessConfigInfoAccessConfigTypeEnum
- type AccessConfigQueryLogInfo
- type AccessConfigTag
- type AccessConfigTimeOffsetCreate
- type AccessConfigTimeOffsetCreateUnit
- type AccessConfigTimeOffsetCreateUnitEnum
- type AccessConfigWindowsLogInfoCreate
- type AccessConfigWindowsLogInfoCreateCategorys
- type AccessConfigWindowsLogInfoCreateCategorysEnum
- type AccessConfigWindowsLogInfoCreateEventLevel
- type AccessConfigWindowsLogInfoCreateEventLevelEnum
- type Annotations
- type AomMappingLogStreamInfo
- type AomMappingRequestInfo
- type AomMappingRuleInfo
- type AomMappingRuleResp
- type AomMappingfilesInfo
- type BriefStructTemplateModel
- type BriefStructTemplateModelTemplateType
- type BriefStructTemplateModelTemplateTypeEnum
- type ChangeAlarmRuleStatus
- type ChartConfig
- type CreateAccessConfigRequest
- type CreateAccessConfigRequestBody
- type CreateAccessConfigRequestBodyAccessConfigType
- type CreateAccessConfigRequestBodyAccessConfigTypeEnum
- type CreateAccessConfigResponse
- type CreateAccessConfigResponseAccessConfigType
- type CreateAccessConfigResponseAccessConfigTypeEnum
- type CreateAomMappingRulesRequest
- type CreateAomMappingRulesResponse
- type CreateDashBoardReqBody
- type CreateDashBoardRequest
- type CreateDashBoardResponse
- type CreateDashboardGroupReq
- type CreateDashboardGroupRequest
- type CreateDashboardGroupResponse
- type CreateHostGroupRequest
- type CreateHostGroupRequestBody
- type CreateHostGroupRequestBodyHostGroupType
- type CreateHostGroupRequestBodyHostGroupTypeEnum
- type CreateHostGroupResponse
- type CreateHostGroupResponseHostGroupType
- type CreateHostGroupResponseHostGroupTypeEnum
- type CreateKeywordsAlarmRuleRequest
- type CreateKeywordsAlarmRuleRequestBody
- type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel
- type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum
- type CreateKeywordsAlarmRuleResponse
- type CreateLogDumpObsRequest
- type CreateLogDumpObsRequestBody
- type CreateLogDumpObsResponse
- type CreateLogGroupParams
- type CreateLogGroupRequest
- type CreateLogGroupResponse
- type CreateLogStreamParams
- type CreateLogStreamRequest
- type CreateLogStreamResponse
- type CreateNotificationTemplateRequest
- type CreateNotificationTemplateRequestBody
- type CreateNotificationTemplateRequestBodyLocale
- type CreateNotificationTemplateRequestBodyLocaleEnum
- type CreateNotificationTemplateResponse
- type CreateNotificationTemplateResponseLocale
- type CreateNotificationTemplateResponseLocaleEnum
- type CreateSearchCriteriasBody
- type CreateSearchCriteriasRequest
- type CreateSearchCriteriasResponse
- type CreateSqlAlarmRuleRequest
- type CreateSqlAlarmRuleRequestBody
- type CreateSqlAlarmRuleRequestBodySqlAlarmLevel
- type CreateSqlAlarmRuleRequestBodySqlAlarmLevelEnum
- type CreateSqlAlarmRuleResponse
- type CreateStructConfigRequest
- type CreateStructConfigResponse
- type CreateStructTemplateRequest
- type CreateStructTemplateResponse
- type CreateTagsReqbody
- type CreateTagsRequest
- type CreateTagsResponse
- type CreateTransferRequest
- type CreateTransferRequestBody
- type CreateTransferRequestBodyLogStreams
- type CreateTransferRequestBodyLogTransferInfo
- type CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer
- type CreateTransferRequestBodyLogTransferInfoLogStorageFormat
- type CreateTransferRequestBodyLogTransferInfoLogStorageFormatEnum
- type CreateTransferRequestBodyLogTransferInfoLogTransferMode
- type CreateTransferRequestBodyLogTransferInfoLogTransferModeEnum
- type CreateTransferRequestBodyLogTransferInfoLogTransferStatus
- type CreateTransferRequestBodyLogTransferInfoLogTransferStatusEnum
- type CreateTransferResponse
- type CreateTransferResponseBody
- type CreateTransferResponseBodyLogStreams
- type CreateTransferResponseBodyLogTransferInfo
- type CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer
- type CreateTransferResponseBodyLogTransferInfoLogStorageFormat
- type CreateTransferResponseBodyLogTransferInfoLogStorageFormatEnum
- type CreateTransferResponseBodyLogTransferInfoLogTransferMode
- type CreateTransferResponseBodyLogTransferInfoLogTransferModeEnum
- type CreateTransferResponseBodyLogTransferInfoLogTransferStatus
- type CreateTransferResponseBodyLogTransferInfoLogTransferStatusEnum
- type CreateTransferResponseBodyLogTransferInfoLogTransferType
- type CreateTransferResponseBodyLogTransferInfoLogTransferTypeEnum
- type CreatefavoriteReqbody
- type CreatefavoriteRequest
- type CreatefavoriteResponse
- type DeleteAccessConfigRequest
- type DeleteAccessConfigRequestBody
- type DeleteAccessConfigResponse
- type DeleteActiveAlarmsRequest
- type DeleteActiveAlarmsRequestBody
- type DeleteActiveAlarmsResponse
- type DeleteAomMappingRulesRequest
- type DeleteAomMappingRulesResponse
- type DeleteDashboardRequest
- type DeleteDashboardResponse
- type DeleteHostGroupRequest
- type DeleteHostGroupRequestBody
- type DeleteHostGroupResponse
- type DeleteKeywordsAlarmRuleRequest
- type DeleteKeywordsAlarmRuleResponse
- type DeleteLogGroupRequest
- type DeleteLogGroupResponse
- type DeleteLogStreamRequest
- type DeleteLogStreamResponse
- type DeleteNotificationTemplateBody
- type DeleteNotificationTemplateRequest
- type DeleteNotificationTemplateResponse
- type DeleteSearchCriterias
- type DeleteSearchCriteriasRequest
- type DeleteSearchCriteriasResponse
- type DeleteSqlAlarmRuleRequest
- type DeleteSqlAlarmRuleResponse
- type DeleteStructTemplateReqBody
- type DeleteStructTemplateRequest
- type DeleteStructTemplateResponse
- type DeleteTransferRequest
- type DeleteTransferResponse
- type DeletefavoriteRequest
- type DeletefavoriteResponse
- type DemoField
- type DemoFieldType
- type DemoFieldTypeEnum
- type DisableLogCollectionRequest
- type DisableLogCollectionResponse
- type EnableLogCollectionRequest
- type EnableLogCollectionResponse
- type Event
- type Events
- type FieldModel
- type Frequency
- type FrequencyFixedRateUnit
- type FrequencyFixedRateUnitEnum
- type FrequencyType
- type FrequencyTypeEnum
- type GetAccessConfigListRequestBody
- type GetHostGroupInfo
- type GetHostGroupInfoHostGroupType
- type GetHostGroupInfoHostGroupTypeEnum
- type GetHostGroupListFilter
- type GetHostGroupListFilterHostGroupType
- type GetHostGroupListFilterHostGroupTypeEnum
- type GetHostGroupListRequestBody
- type GetHostGroupListTag
- type GetHostGroupListTagTagType
- type GetHostGroupListTagTagTypeEnum
- type GetHostListFilter
- type GetHostListFilterHostStatus
- type GetHostListFilterHostStatusEnum
- type GetHostListInfo
- type GetHostListInfoHostStatus
- type GetHostListInfoHostStatusEnum
- type GetHostListInfoHostType
- type GetHostListInfoHostTypeEnum
- type GetHostListRequestBody
- type GetQuerySearchCriteriasBody
- type HostGroupTag
- type KeywordsAlarmRuleRespList
- type KeywordsAlarmRuleRespListKeywordsAlarmLevel
- type KeywordsAlarmRuleRespListKeywordsAlarmLevelEnum
- type KeywordsAlarmRuleRespListStatus
- type KeywordsAlarmRuleRespListStatusEnum
- type KeywordsRequest
- type KeywordsRequestCondition
- type KeywordsRequestConditionEnum
- type KeywordsRequestSearchTimeRangeUnit
- type KeywordsRequestSearchTimeRangeUnitEnum
- type ListAccessConfigRequest
- type ListAccessConfigResponse
- type ListActiveOrHistoryAlarmsRequest
- type ListActiveOrHistoryAlarmsRequestBody
- type ListActiveOrHistoryAlarmsRequestType
- type ListActiveOrHistoryAlarmsRequestTypeEnum
- type ListActiveOrHistoryAlarmsResponse
- type ListBreifStructTemplateRequest
- type ListBreifStructTemplateResponse
- type ListChartsRequest
- type ListChartsResponse
- type ListChartsResponseType
- type ListChartsResponseTypeEnum
- type ListCriteriasRequest
- type ListCriteriasResponse
- type ListHistorySqlRequest
- type ListHistorySqlResponse
- type ListHostGroupRequest
- type ListHostGroupResponse
- type ListHostRequest
- type ListHostResponse
- type ListKeywordsAlarmRulesRequest
- type ListKeywordsAlarmRulesResponse
- type ListLogGroupsRequest
- type ListLogGroupsResponse
- type ListLogHistogramRequest
- type ListLogHistogramResponse
- type ListLogStreamRequest
- type ListLogStreamResponse
- type ListLogStreamsRequest
- type ListLogStreamsResponse
- type ListLogStreamsResponseBody1LogStreams
- type ListLogsRequest
- type ListLogsResponse
- type ListNotificationTemplateRequest
- type ListNotificationTemplateResponse
- type ListNotificationTemplatesRequest
- type ListNotificationTemplatesResponse
- type ListNotificationTopicsRequest
- type ListNotificationTopicsResponse
- type ListQueryAllSearchCriteriasRequest
- type ListQueryAllSearchCriteriasResponse
- type ListQueryStructuredLogsRequest
- type ListQueryStructuredLogsResponse
- type ListSqlAlarmRulesRequest
- type ListSqlAlarmRulesResponse
- type ListStructTemplateRequest
- type ListStructTemplateResponse
- type ListStructuredLogsWithTimeRangeRequest
- type ListStructuredLogsWithTimeRangeResponse
- type ListTimeLineTrafficStatisticsRequest
- type ListTimeLineTrafficStatisticsResponse
- type ListTopnTrafficStatisticsRequest
- type ListTopnTrafficStatisticsResponse
- type ListTransfersRequest
- type ListTransfersRequestLogTransferType
- type ListTransfersRequestLogTransferTypeEnum
- type ListTransfersResponse
- type LogContents
- type LogGroup
- type LogStream
- type LtsStructTemplateInfo
- type LtsStructTemplateInfoParseType
- type LtsStructTemplateInfoParseTypeEnum
- type Metadata
- type NotificationTemplate
- type NotificationTemplateLocale
- type NotificationTemplateLocaleEnum
- type PageInfo
- type PreviewTemplateBody
- type PreviewTemplateBodyLanguage
- type PreviewTemplateBodyLanguageEnum
- type QuertHistorySqlResultsBody
- type QueryLogKeyWordCountRequestBody
- type QueryLtsLogParams
- type QueryLtsLogParamsSearchType
- type QueryLtsLogParamsSearchTypeEnum
- type QueryLtsStructLogParams
- type QueryLtsStructLogParamsNew
- type RegisterDmsKafkaInstanceRequest
- type RegisterDmsKafkaInstanceRequestBody
- type RegisterDmsKafkaInstanceRequestBodyConnectInfo
- type RegisterDmsKafkaInstanceResponse
- type Resulits
- type ResultsTopnBody
- type Rule
- type SearchCriteriasBody
- type ShowAomMappingRuleRequest
- type ShowAomMappingRuleResponse
- type ShowAomMappingRulesRequest
- type ShowAomMappingRulesResponse
- type ShowNotificationTemplateRequest
- type ShowNotificationTemplateResponse
- type ShowNotificationTemplateResponseLocale
- type ShowNotificationTemplateResponseLocaleEnum
- type ShowStructTemplateRequest
- type ShowStructTemplateResponse
- type ShowStructTemplateRule
- type ShowStructTemplateRuleType
- type ShowStructTemplateRuleTypeEnum
- type ShowStructTemplateclusterInfo
- type Sort
- type SortOrder
- type SortOrderEnum
- type SqlAlarmRuleRespList
- type SqlAlarmRuleRespListSqlAlarmLevel
- type SqlAlarmRuleRespListSqlAlarmLevelEnum
- type SqlAlarmRuleRespListStatus
- type SqlAlarmRuleRespListStatusEnum
- type SqlNotificationSaveRule
- type SqlNotificationSaveRuleLanguage
- type SqlNotificationSaveRuleLanguageEnum
- type SqlRequest
- type SqlRequestSearchTimeRangeUnit
- type SqlRequestSearchTimeRangeUnitEnum
- type StructConfig
- type StructConfigTemplateType
- type StructConfigTemplateTypeEnum
- type StructFieldInfo
- type StructFieldInfoReturn
- type StructLogContents
- type StructTemplate
- type StructTemplateModel
- type StructTemplateModelTemplateType
- type StructTemplateModelTemplateTypeEnum
- type StructTemplateTemplateType
- type StructTemplateTemplateTypeEnum
- type SubTemplate
- type SubTemplateSubType
- type SubTemplateSubTypeEnum
- type TagField
- type TagFieldNew
- type TagFieldNewType
- type TagFieldNewTypeEnum
- type TagFieldsInfo
- type TagsBody
- type TemplateRule
- type TemplateRuleType
- type TemplateRuleTypeEnum
- type TimeRange
- type TimelineTrafficStatisticsRequestBody
- type Topics
- type TopnRequstBody
- type TransferDetail
- type TransferDetailObsPeriod
- type TransferDetailObsPeriodEnum
- type UpdateAccessConfigRequest
- type UpdateAccessConfigRequestBody
- type UpdateAccessConfigResponse
- type UpdateAccessConfigResponseAccessConfigType
- type UpdateAccessConfigResponseAccessConfigTypeEnum
- type UpdateAlarmRuleStatusRequest
- type UpdateAlarmRuleStatusResponse
- type UpdateAomMappingRequest
- type UpdateAomMappingRulesRequest
- type UpdateAomMappingRulesResponse
- type UpdateHostGroupRequest
- type UpdateHostGroupRequestBody
- type UpdateHostGroupResponse
- type UpdateHostGroupResponseHostGroupType
- type UpdateHostGroupResponseHostGroupTypeEnum
- type UpdateKeywordsAlarmRuleRequest
- type UpdateKeywordsAlarmRuleRequestBody
- type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel
- type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum
- type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode
- type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCodeEnum
- type UpdateKeywordsAlarmRuleResponse
- type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel
- type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevelEnum
- type UpdateLogGroupParams
- type UpdateLogGroupRequest
- type UpdateLogGroupResponse
- type UpdateLogStreamParams
- type UpdateLogStreamParamsTtlInDays
- type UpdateLogStreamParamsTtlInDaysEnum
- type UpdateLogStreamRequest
- type UpdateLogStreamResponse
- type UpdateLogStreamResponseTtlInDays
- type UpdateLogStreamResponseTtlInDaysEnum
- type UpdateNotificationTemplateRequest
- type UpdateNotificationTemplateResponse
- type UpdateNotificationTemplateResponseLocale
- type UpdateNotificationTemplateResponseLocaleEnum
- type UpdateSqlAlarmRuleRequest
- type UpdateSqlAlarmRuleRequestBody
- type UpdateSqlAlarmRuleRequestBodySqlAlarmLevel
- type UpdateSqlAlarmRuleRequestBodySqlAlarmLevelEnum
- type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode
- type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCodeEnum
- type UpdateSqlAlarmRuleResponse
- type UpdateSqlAlarmRuleResponseSqlAlarmLevel
- type UpdateSqlAlarmRuleResponseSqlAlarmLevelEnum
- type UpdateStructConfigRequest
- type UpdateStructConfigResponse
- type UpdateStructTemplateRequest
- type UpdateStructTemplateResponse
- type UpdateTransferRequest
- type UpdateTransferRequestBody
- type UpdateTransferRequestBodyLogTransferInfo
- type UpdateTransferRequestBodyLogTransferInfoLogStorageFormat
- type UpdateTransferRequestBodyLogTransferInfoLogStorageFormatEnum
- type UpdateTransferRequestBodyLogTransferInfoLogTransferStatus
- type UpdateTransferRequestBodyLogTransferInfoLogTransferStatusEnum
- type UpdateTransferResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfigBaseLogInfo ¶ added in v0.0.71
type AccessConfigBaseLogInfo struct { // 日志组ID LogGroupId *string `json:"log_group_id,omitempty"` // 日志流ID LogStreamId *string `json:"log_stream_id,omitempty"` }
AccessConfigBaseLogInfo 日志接入基础日志信息。
func (AccessConfigBaseLogInfo) String ¶ added in v0.0.71
func (o AccessConfigBaseLogInfo) String() string
type AccessConfigBaseLogInfoCreate ¶ added in v0.0.71
type AccessConfigBaseLogInfoCreate struct { // 日志组ID LogGroupId string `json:"log_group_id"` // 日志流ID LogStreamId string `json:"log_stream_id"` }
AccessConfigBaseLogInfoCreate 日志接入基础日志信息。
func (AccessConfigBaseLogInfoCreate) String ¶ added in v0.0.71
func (o AccessConfigBaseLogInfoCreate) String() string
type AccessConfigDeatilCreate ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o AccessConfigDeatilCreate) String() string
type AccessConfigDeatilCreatePathType ¶ added in v0.1.47
type AccessConfigDeatilCreatePathType struct {
// contains filtered or unexported fields
}
func (AccessConfigDeatilCreatePathType) MarshalJSON ¶ added in v0.1.47
func (c AccessConfigDeatilCreatePathType) MarshalJSON() ([]byte, error)
func (*AccessConfigDeatilCreatePathType) UnmarshalJSON ¶ added in v0.1.47
func (c *AccessConfigDeatilCreatePathType) UnmarshalJSON(b []byte) error
func (AccessConfigDeatilCreatePathType) Value ¶ added in v0.1.47
func (c AccessConfigDeatilCreatePathType) Value() string
type AccessConfigDeatilCreatePathTypeEnum ¶ added in v0.1.47
type AccessConfigDeatilCreatePathTypeEnum struct { HOST_FILE AccessConfigDeatilCreatePathType CONTAINER_STDOUT AccessConfigDeatilCreatePathType CONTAINER_FILE AccessConfigDeatilCreatePathType }
func GetAccessConfigDeatilCreatePathTypeEnum ¶ added in v0.1.47
func GetAccessConfigDeatilCreatePathTypeEnum() AccessConfigDeatilCreatePathTypeEnum
type AccessConfigFormatCreate ¶ added in v0.0.71
type AccessConfigFormatCreate struct { Single *AccessConfigFormatSingleCreate `json:"single,omitempty"` Multi *AccessConfigFormatMutilCreate `json:"multi,omitempty"` }
AccessConfigFormatCreate 日志格式
func (AccessConfigFormatCreate) String ¶ added in v0.0.71
func (o AccessConfigFormatCreate) String() string
type AccessConfigFormatMutilCreate ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o AccessConfigFormatMutilCreate) String() string
type AccessConfigFormatMutilCreateMode ¶ added in v0.0.71
type AccessConfigFormatMutilCreateMode struct {
// contains filtered or unexported fields
}
func (AccessConfigFormatMutilCreateMode) MarshalJSON ¶ added in v0.0.71
func (c AccessConfigFormatMutilCreateMode) MarshalJSON() ([]byte, error)
func (*AccessConfigFormatMutilCreateMode) UnmarshalJSON ¶ added in v0.0.71
func (c *AccessConfigFormatMutilCreateMode) UnmarshalJSON(b []byte) error
func (AccessConfigFormatMutilCreateMode) Value ¶ added in v0.0.90
func (c AccessConfigFormatMutilCreateMode) Value() string
type AccessConfigFormatMutilCreateModeEnum ¶ added in v0.0.71
type AccessConfigFormatMutilCreateModeEnum struct { TIME AccessConfigFormatMutilCreateMode REGULAR AccessConfigFormatMutilCreateMode }
func GetAccessConfigFormatMutilCreateModeEnum ¶ added in v0.0.71
func GetAccessConfigFormatMutilCreateModeEnum() AccessConfigFormatMutilCreateModeEnum
type AccessConfigFormatSingleCreate ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o AccessConfigFormatSingleCreate) String() string
type AccessConfigFormatSingleCreateMode ¶ added in v0.0.71
type AccessConfigFormatSingleCreateMode struct {
// contains filtered or unexported fields
}
func (AccessConfigFormatSingleCreateMode) MarshalJSON ¶ added in v0.0.71
func (c AccessConfigFormatSingleCreateMode) MarshalJSON() ([]byte, error)
func (*AccessConfigFormatSingleCreateMode) UnmarshalJSON ¶ added in v0.0.71
func (c *AccessConfigFormatSingleCreateMode) UnmarshalJSON(b []byte) error
func (AccessConfigFormatSingleCreateMode) Value ¶ added in v0.0.90
func (c AccessConfigFormatSingleCreateMode) Value() string
type AccessConfigFormatSingleCreateModeEnum ¶ added in v0.0.71
type AccessConfigFormatSingleCreateModeEnum struct { SYSTEM AccessConfigFormatSingleCreateMode WILDCARD AccessConfigFormatSingleCreateMode }
func GetAccessConfigFormatSingleCreateModeEnum ¶ added in v0.0.71
func GetAccessConfigFormatSingleCreateModeEnum() AccessConfigFormatSingleCreateModeEnum
type AccessConfigHostGroupIdList ¶ added in v0.0.71
type AccessConfigHostGroupIdList struct { // 主机组ID列表 HostGroupIdList []string `json:"host_group_id_list"` }
AccessConfigHostGroupIdList 日志接入主机组ID列表
func (AccessConfigHostGroupIdList) String ¶ added in v0.0.71
func (o AccessConfigHostGroupIdList) String() string
type AccessConfigHostGroupIdListCreate ¶ added in v0.0.71
type AccessConfigHostGroupIdListCreate struct { // 主机组ID列表 HostGroupIdList []string `json:"host_group_id_list"` }
AccessConfigHostGroupIdListCreate 日志接入主机组ID列表
func (AccessConfigHostGroupIdListCreate) String ¶ added in v0.0.71
func (o AccessConfigHostGroupIdListCreate) String() string
type AccessConfigInfo ¶ added in v0.0.71
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"` // CCE集群ID ClusterId *string `json:"cluster_id,omitempty"` }
AccessConfigInfo 日志接入配置
func (AccessConfigInfo) String ¶ added in v0.0.71
func (o AccessConfigInfo) String() string
type AccessConfigInfoAccessConfigType ¶ added in v0.0.71
type AccessConfigInfoAccessConfigType struct {
// contains filtered or unexported fields
}
func (AccessConfigInfoAccessConfigType) MarshalJSON ¶ added in v0.0.71
func (c AccessConfigInfoAccessConfigType) MarshalJSON() ([]byte, error)
func (*AccessConfigInfoAccessConfigType) UnmarshalJSON ¶ added in v0.0.71
func (c *AccessConfigInfoAccessConfigType) UnmarshalJSON(b []byte) error
func (AccessConfigInfoAccessConfigType) Value ¶ added in v0.0.90
func (c AccessConfigInfoAccessConfigType) Value() string
type AccessConfigInfoAccessConfigTypeEnum ¶ added in v0.0.71
type AccessConfigInfoAccessConfigTypeEnum struct { AGENT AccessConfigInfoAccessConfigType K8_S_CCE AccessConfigInfoAccessConfigType }
func GetAccessConfigInfoAccessConfigTypeEnum ¶ added in v0.0.71
func GetAccessConfigInfoAccessConfigTypeEnum() AccessConfigInfoAccessConfigTypeEnum
type AccessConfigQueryLogInfo ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o AccessConfigQueryLogInfo) String() string
type AccessConfigTag ¶ added in v0.0.76
type AccessConfigTag struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
func (AccessConfigTag) String ¶ added in v0.0.76
func (o AccessConfigTag) String() string
type AccessConfigTimeOffsetCreate ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o AccessConfigTimeOffsetCreate) String() string
type AccessConfigTimeOffsetCreateUnit ¶ added in v0.0.71
type AccessConfigTimeOffsetCreateUnit struct {
// contains filtered or unexported fields
}
func (AccessConfigTimeOffsetCreateUnit) MarshalJSON ¶ added in v0.0.71
func (c AccessConfigTimeOffsetCreateUnit) MarshalJSON() ([]byte, error)
func (*AccessConfigTimeOffsetCreateUnit) UnmarshalJSON ¶ added in v0.0.71
func (c *AccessConfigTimeOffsetCreateUnit) UnmarshalJSON(b []byte) error
func (AccessConfigTimeOffsetCreateUnit) Value ¶ added in v0.0.90
func (c AccessConfigTimeOffsetCreateUnit) Value() string
type AccessConfigTimeOffsetCreateUnitEnum ¶ added in v0.0.71
type AccessConfigTimeOffsetCreateUnitEnum struct { DAY AccessConfigTimeOffsetCreateUnit HOUR AccessConfigTimeOffsetCreateUnit SEC AccessConfigTimeOffsetCreateUnit }
func GetAccessConfigTimeOffsetCreateUnitEnum ¶ added in v0.0.71
func GetAccessConfigTimeOffsetCreateUnitEnum() AccessConfigTimeOffsetCreateUnitEnum
type AccessConfigWindowsLogInfoCreate ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o AccessConfigWindowsLogInfoCreate) String() string
type AccessConfigWindowsLogInfoCreateCategorys ¶ added in v0.0.71
type AccessConfigWindowsLogInfoCreateCategorys struct {
// contains filtered or unexported fields
}
func (AccessConfigWindowsLogInfoCreateCategorys) MarshalJSON ¶ added in v0.0.71
func (c AccessConfigWindowsLogInfoCreateCategorys) MarshalJSON() ([]byte, error)
func (*AccessConfigWindowsLogInfoCreateCategorys) UnmarshalJSON ¶ added in v0.0.71
func (c *AccessConfigWindowsLogInfoCreateCategorys) UnmarshalJSON(b []byte) error
func (AccessConfigWindowsLogInfoCreateCategorys) Value ¶ added in v0.0.90
func (c AccessConfigWindowsLogInfoCreateCategorys) Value() string
type AccessConfigWindowsLogInfoCreateCategorysEnum ¶ added in v0.0.71
type AccessConfigWindowsLogInfoCreateCategorysEnum struct { APPLICATION AccessConfigWindowsLogInfoCreateCategorys SYSTEM AccessConfigWindowsLogInfoCreateCategorys SECURITY AccessConfigWindowsLogInfoCreateCategorys SETUP AccessConfigWindowsLogInfoCreateCategorys }
func GetAccessConfigWindowsLogInfoCreateCategorysEnum ¶ added in v0.0.71
func GetAccessConfigWindowsLogInfoCreateCategorysEnum() AccessConfigWindowsLogInfoCreateCategorysEnum
type AccessConfigWindowsLogInfoCreateEventLevel ¶ added in v0.0.71
type AccessConfigWindowsLogInfoCreateEventLevel struct {
// contains filtered or unexported fields
}
func (AccessConfigWindowsLogInfoCreateEventLevel) MarshalJSON ¶ added in v0.0.71
func (c AccessConfigWindowsLogInfoCreateEventLevel) MarshalJSON() ([]byte, error)
func (*AccessConfigWindowsLogInfoCreateEventLevel) UnmarshalJSON ¶ added in v0.0.71
func (c *AccessConfigWindowsLogInfoCreateEventLevel) UnmarshalJSON(b []byte) error
func (AccessConfigWindowsLogInfoCreateEventLevel) Value ¶ added in v0.0.90
func (c AccessConfigWindowsLogInfoCreateEventLevel) Value() string
type AccessConfigWindowsLogInfoCreateEventLevelEnum ¶ added in v0.0.71
type AccessConfigWindowsLogInfoCreateEventLevelEnum struct { INFORMATION AccessConfigWindowsLogInfoCreateEventLevel WARNING AccessConfigWindowsLogInfoCreateEventLevel ERROR AccessConfigWindowsLogInfoCreateEventLevel CRITICAL AccessConfigWindowsLogInfoCreateEventLevel VERBOSE AccessConfigWindowsLogInfoCreateEventLevel }
func GetAccessConfigWindowsLogInfoCreateEventLevelEnum ¶ added in v0.0.71
func GetAccessConfigWindowsLogInfoCreateEventLevelEnum() AccessConfigWindowsLogInfoCreateEventLevelEnum
type Annotations ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o Annotations) String() string
type AomMappingLogStreamInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o AomMappingLogStreamInfo) String() string
type AomMappingRequestInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o AomMappingRequestInfo) String() string
type AomMappingRuleInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o AomMappingRuleInfo) String() string
type AomMappingRuleResp ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o AomMappingRuleResp) String() string
type AomMappingfilesInfo ¶ added in v0.0.68
type AomMappingfilesInfo struct { // 路径名 FileName string `json:"file_name"` LogStreamInfo *AomMappingLogStreamInfo `json:"log_stream_info"` }
func (AomMappingfilesInfo) String ¶ added in v0.0.68
func (o AomMappingfilesInfo) String() string
type BriefStructTemplateModel ¶ added in v0.0.78
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 ¶ added in v0.0.78
func (o BriefStructTemplateModel) String() string
type BriefStructTemplateModelTemplateType ¶ added in v0.0.78
type BriefStructTemplateModelTemplateType struct {
// contains filtered or unexported fields
}
func (BriefStructTemplateModelTemplateType) MarshalJSON ¶ added in v0.0.78
func (c BriefStructTemplateModelTemplateType) MarshalJSON() ([]byte, error)
func (*BriefStructTemplateModelTemplateType) UnmarshalJSON ¶ added in v0.0.78
func (c *BriefStructTemplateModelTemplateType) UnmarshalJSON(b []byte) error
func (BriefStructTemplateModelTemplateType) Value ¶ added in v0.0.90
func (c BriefStructTemplateModelTemplateType) Value() string
type BriefStructTemplateModelTemplateTypeEnum ¶ added in v0.0.78
type BriefStructTemplateModelTemplateTypeEnum struct { REGEX BriefStructTemplateModelTemplateType JSON BriefStructTemplateModelTemplateType SPLIT BriefStructTemplateModelTemplateType NGINX BriefStructTemplateModelTemplateType }
func GetBriefStructTemplateModelTemplateTypeEnum ¶ added in v0.0.78
func GetBriefStructTemplateModelTemplateTypeEnum() BriefStructTemplateModelTemplateTypeEnum
type ChangeAlarmRuleStatus ¶ added in v0.0.69
type ChangeAlarmRuleStatus struct { // 告警规则ID AlarmRuleId string `json:"alarm_rule_id"` // 状态(RUNNING/STOPPING) Status string `json:"status"` // 类型 Type string `json:"type"` }
ChangeAlarmRuleStatus 改变告警规则状态
func (ChangeAlarmRuleStatus) String ¶ added in v0.0.69
func (o ChangeAlarmRuleStatus) String() string
type ChartConfig ¶ added in v0.0.68
type ChartConfig struct { // 是否开启排序 CanSort bool `json:"can_sort"` // 是否开启搜索 CanSearch bool `json:"can_search"` // 每页显示数量 PageSize int32 `json:"page_size"` }
func (ChartConfig) String ¶ added in v0.0.68
func (o ChartConfig) String() string
type CreateAccessConfigRequest ¶ added in v0.0.71
type CreateAccessConfigRequest struct {
Body *CreateAccessConfigRequestBody `json:"body,omitempty"`
}
CreateAccessConfigRequest Request Object
func (CreateAccessConfigRequest) String ¶ added in v0.0.71
func (o CreateAccessConfigRequest) String() string
type CreateAccessConfigRequestBody ¶ added in v0.0.71
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"` // CCE集群ID,当CCE类型时,为必填 ClusterId *string `json:"cluster_id,omitempty"` }
CreateAccessConfigRequestBody 创建日志接入请求体
func (CreateAccessConfigRequestBody) String ¶ added in v0.0.71
func (o CreateAccessConfigRequestBody) String() string
type CreateAccessConfigRequestBodyAccessConfigType ¶ added in v0.0.71
type CreateAccessConfigRequestBodyAccessConfigType struct {
// contains filtered or unexported fields
}
func (CreateAccessConfigRequestBodyAccessConfigType) MarshalJSON ¶ added in v0.0.71
func (c CreateAccessConfigRequestBodyAccessConfigType) MarshalJSON() ([]byte, error)
func (*CreateAccessConfigRequestBodyAccessConfigType) UnmarshalJSON ¶ added in v0.0.71
func (c *CreateAccessConfigRequestBodyAccessConfigType) UnmarshalJSON(b []byte) error
func (CreateAccessConfigRequestBodyAccessConfigType) Value ¶ added in v0.0.90
func (c CreateAccessConfigRequestBodyAccessConfigType) Value() string
type CreateAccessConfigRequestBodyAccessConfigTypeEnum ¶ added in v0.0.71
type CreateAccessConfigRequestBodyAccessConfigTypeEnum struct { AGENT CreateAccessConfigRequestBodyAccessConfigType K8_S_CCE CreateAccessConfigRequestBodyAccessConfigType }
func GetCreateAccessConfigRequestBodyAccessConfigTypeEnum ¶ added in v0.0.71
func GetCreateAccessConfigRequestBodyAccessConfigTypeEnum() CreateAccessConfigRequestBodyAccessConfigTypeEnum
type CreateAccessConfigResponse ¶ added in v0.0.71
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"` // CCE集群ID ClusterId *string `json:"cluster_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateAccessConfigResponse Response Object
func (CreateAccessConfigResponse) String ¶ added in v0.0.71
func (o CreateAccessConfigResponse) String() string
type CreateAccessConfigResponseAccessConfigType ¶ added in v0.0.71
type CreateAccessConfigResponseAccessConfigType struct {
// contains filtered or unexported fields
}
func (CreateAccessConfigResponseAccessConfigType) MarshalJSON ¶ added in v0.0.71
func (c CreateAccessConfigResponseAccessConfigType) MarshalJSON() ([]byte, error)
func (*CreateAccessConfigResponseAccessConfigType) UnmarshalJSON ¶ added in v0.0.71
func (c *CreateAccessConfigResponseAccessConfigType) UnmarshalJSON(b []byte) error
func (CreateAccessConfigResponseAccessConfigType) Value ¶ added in v0.0.90
func (c CreateAccessConfigResponseAccessConfigType) Value() string
type CreateAccessConfigResponseAccessConfigTypeEnum ¶ added in v0.0.71
type CreateAccessConfigResponseAccessConfigTypeEnum struct { AGENT CreateAccessConfigResponseAccessConfigType K8_S_CCE CreateAccessConfigResponseAccessConfigType }
func GetCreateAccessConfigResponseAccessConfigTypeEnum ¶ added in v0.0.71
func GetCreateAccessConfigResponseAccessConfigTypeEnum() CreateAccessConfigResponseAccessConfigTypeEnum
type CreateAomMappingRulesRequest ¶ added in v0.0.68
type CreateAomMappingRulesRequest struct { // 是否开启自动映射 IsBatch bool `json:"isBatch"` Body *AomMappingRequestInfo `json:"body,omitempty"` }
CreateAomMappingRulesRequest Request Object
func (CreateAomMappingRulesRequest) String ¶ added in v0.0.68
func (o CreateAomMappingRulesRequest) String() string
type CreateAomMappingRulesResponse ¶ added in v0.0.68
type CreateAomMappingRulesResponse struct { Body *[]AomMappingRuleResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateAomMappingRulesResponse Response Object
func (CreateAomMappingRulesResponse) String ¶ added in v0.0.68
func (o CreateAomMappingRulesResponse) String() string
type CreateDashBoardReqBody ¶ added in v0.1.19
type CreateDashBoardReqBody struct { // 仪表盘分组名称 GroupName *string `json:"group_name,omitempty"` // 仪表盘名称 Title string `json:"title"` }
func (CreateDashBoardReqBody) String ¶ added in v0.1.19
func (o CreateDashBoardReqBody) String() string
type CreateDashBoardRequest ¶ added in v0.1.19
type CreateDashBoardRequest struct {
Body *CreateDashBoardReqBody `json:"body,omitempty"`
}
CreateDashBoardRequest Request Object
func (CreateDashBoardRequest) String ¶ added in v0.1.19
func (o CreateDashBoardRequest) String() string
type CreateDashBoardResponse ¶ added in v0.1.19
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 *int64 `json:"last_update_time,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 仪表盘名称 Title *string `json:"title,omitempty"` // 是否使用模板 UseSystemTemplate *bool `json:"useSystemTemplate,omitempty"` HttpStatusCode int `json:"-"` }
CreateDashBoardResponse Response Object
func (CreateDashBoardResponse) String ¶ added in v0.1.19
func (o CreateDashBoardResponse) String() string
type CreateDashboardGroupReq ¶ added in v0.1.19
type CreateDashboardGroupReq struct { // 仪表盘分组名称 GroupName string `json:"group_name"` }
func (CreateDashboardGroupReq) String ¶ added in v0.1.19
func (o CreateDashboardGroupReq) String() string
type CreateDashboardGroupRequest ¶ added in v0.1.19
type CreateDashboardGroupRequest struct {
Body *CreateDashboardGroupReq `json:"body,omitempty"`
}
CreateDashboardGroupRequest Request Object
func (CreateDashboardGroupRequest) String ¶ added in v0.1.19
func (o CreateDashboardGroupRequest) String() string
type CreateDashboardGroupResponse ¶ added in v0.1.19
type CreateDashboardGroupResponse struct { // 响应结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
CreateDashboardGroupResponse Response Object
func (CreateDashboardGroupResponse) String ¶ added in v0.1.19
func (o CreateDashboardGroupResponse) String() string
type CreateHostGroupRequest ¶ added in v0.0.71
type CreateHostGroupRequest struct {
Body *CreateHostGroupRequestBody `json:"body,omitempty"`
}
CreateHostGroupRequest Request Object
func (CreateHostGroupRequest) String ¶ added in v0.0.71
func (o CreateHostGroupRequest) String() string
type CreateHostGroupRequestBody ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o CreateHostGroupRequestBody) String() string
type CreateHostGroupRequestBodyHostGroupType ¶ added in v0.0.71
type CreateHostGroupRequestBodyHostGroupType struct {
// contains filtered or unexported fields
}
func (CreateHostGroupRequestBodyHostGroupType) MarshalJSON ¶ added in v0.0.71
func (c CreateHostGroupRequestBodyHostGroupType) MarshalJSON() ([]byte, error)
func (*CreateHostGroupRequestBodyHostGroupType) UnmarshalJSON ¶ added in v0.0.71
func (c *CreateHostGroupRequestBodyHostGroupType) UnmarshalJSON(b []byte) error
func (CreateHostGroupRequestBodyHostGroupType) Value ¶ added in v0.0.90
func (c CreateHostGroupRequestBodyHostGroupType) Value() string
type CreateHostGroupRequestBodyHostGroupTypeEnum ¶ added in v0.0.71
type CreateHostGroupRequestBodyHostGroupTypeEnum struct { LINUX CreateHostGroupRequestBodyHostGroupType WINDOWS CreateHostGroupRequestBodyHostGroupType }
func GetCreateHostGroupRequestBodyHostGroupTypeEnum ¶ added in v0.0.71
func GetCreateHostGroupRequestBodyHostGroupTypeEnum() CreateHostGroupRequestBodyHostGroupTypeEnum
type CreateHostGroupResponse ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o CreateHostGroupResponse) String() string
type CreateHostGroupResponseHostGroupType ¶ added in v0.0.71
type CreateHostGroupResponseHostGroupType struct {
// contains filtered or unexported fields
}
func (CreateHostGroupResponseHostGroupType) MarshalJSON ¶ added in v0.0.71
func (c CreateHostGroupResponseHostGroupType) MarshalJSON() ([]byte, error)
func (*CreateHostGroupResponseHostGroupType) UnmarshalJSON ¶ added in v0.0.71
func (c *CreateHostGroupResponseHostGroupType) UnmarshalJSON(b []byte) error
func (CreateHostGroupResponseHostGroupType) Value ¶ added in v0.0.90
func (c CreateHostGroupResponseHostGroupType) Value() string
type CreateHostGroupResponseHostGroupTypeEnum ¶ added in v0.0.71
type CreateHostGroupResponseHostGroupTypeEnum struct { LINUX CreateHostGroupResponseHostGroupType WINDOWS CreateHostGroupResponseHostGroupType }
func GetCreateHostGroupResponseHostGroupTypeEnum ¶ added in v0.0.71
func GetCreateHostGroupResponseHostGroupTypeEnum() CreateHostGroupResponseHostGroupTypeEnum
type CreateKeywordsAlarmRuleRequest ¶ added in v0.0.68
type CreateKeywordsAlarmRuleRequest struct {
Body *CreateKeywordsAlarmRuleRequestBody `json:"body,omitempty"`
}
CreateKeywordsAlarmRuleRequest Request Object
func (CreateKeywordsAlarmRuleRequest) String ¶ added in v0.0.68
func (o CreateKeywordsAlarmRuleRequest) String() string
type CreateKeywordsAlarmRuleRequestBody ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o CreateKeywordsAlarmRuleRequestBody) String() string
type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel ¶ added in v0.0.68
type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel struct {
// contains filtered or unexported fields
}
func (CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON() ([]byte, error)
func (*CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON(b []byte) error
func (CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) Value ¶ added in v0.0.90
func (c CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) Value() string
type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum ¶ added in v0.0.68
type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum struct { INFO CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel MINOR CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel MAJOR CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel CRITICAL CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel }
func GetCreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum ¶ added in v0.0.68
func GetCreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum() CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum
type CreateKeywordsAlarmRuleResponse ¶ added in v0.0.68
type CreateKeywordsAlarmRuleResponse struct { // 告警规则id KeywordsAlarmRuleId *string `json:"keywords_alarm_rule_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateKeywordsAlarmRuleResponse Response Object
func (CreateKeywordsAlarmRuleResponse) String ¶ added in v0.0.68
func (o CreateKeywordsAlarmRuleResponse) String() 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 ¶
func (o CreateLogDumpObsRequestBody) String() 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 string `json:"log_stream_name"` // 日志存储时间 说明: 该参数仅对华东-上海一、华北-北京四、华南-广州用户开放。 TtlInDays *int32 `json:"ttl_in_days,omitempty"` // 标签字段信息 Tags *[]TagsBody `json:"tags,omitempty"` }
CreateLogStreamParams 创建日志流参数。
func (CreateLogStreamParams) String ¶
func (o CreateLogStreamParams) String() string
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 ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateNotificationTemplateRequest) String() string
type CreateNotificationTemplateRequestBody ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateNotificationTemplateRequestBody) String() string
type CreateNotificationTemplateRequestBodyLocale ¶ added in v0.0.69
type CreateNotificationTemplateRequestBodyLocale struct {
// contains filtered or unexported fields
}
func (CreateNotificationTemplateRequestBodyLocale) MarshalJSON ¶ added in v0.0.69
func (c CreateNotificationTemplateRequestBodyLocale) MarshalJSON() ([]byte, error)
func (*CreateNotificationTemplateRequestBodyLocale) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateNotificationTemplateRequestBodyLocale) UnmarshalJSON(b []byte) error
func (CreateNotificationTemplateRequestBodyLocale) Value ¶ added in v0.0.90
func (c CreateNotificationTemplateRequestBodyLocale) Value() string
type CreateNotificationTemplateRequestBodyLocaleEnum ¶ added in v0.0.69
type CreateNotificationTemplateRequestBodyLocaleEnum struct { ZH_CN CreateNotificationTemplateRequestBodyLocale EN_US CreateNotificationTemplateRequestBodyLocale }
func GetCreateNotificationTemplateRequestBodyLocaleEnum ¶ added in v0.0.69
func GetCreateNotificationTemplateRequestBodyLocaleEnum() CreateNotificationTemplateRequestBodyLocaleEnum
type CreateNotificationTemplateResponse ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateNotificationTemplateResponse) String() string
type CreateNotificationTemplateResponseLocale ¶ added in v0.0.69
type CreateNotificationTemplateResponseLocale struct {
// contains filtered or unexported fields
}
func (CreateNotificationTemplateResponseLocale) MarshalJSON ¶ added in v0.0.69
func (c CreateNotificationTemplateResponseLocale) MarshalJSON() ([]byte, error)
func (*CreateNotificationTemplateResponseLocale) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateNotificationTemplateResponseLocale) UnmarshalJSON(b []byte) error
func (CreateNotificationTemplateResponseLocale) Value ¶ added in v0.0.90
func (c CreateNotificationTemplateResponseLocale) Value() string
type CreateNotificationTemplateResponseLocaleEnum ¶ added in v0.0.69
type CreateNotificationTemplateResponseLocaleEnum struct { ZH_CN CreateNotificationTemplateResponseLocale EN_US CreateNotificationTemplateResponseLocale }
func GetCreateNotificationTemplateResponseLocaleEnum ¶ added in v0.0.69
func GetCreateNotificationTemplateResponseLocaleEnum() CreateNotificationTemplateResponseLocaleEnum
type CreateSearchCriteriasBody ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o CreateSearchCriteriasBody) String() string
type CreateSearchCriteriasRequest ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o CreateSearchCriteriasRequest) String() string
type CreateSearchCriteriasResponse ¶ added in v0.1.19
type CreateSearchCriteriasResponse struct { // 快速查询id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
CreateSearchCriteriasResponse Response Object
func (CreateSearchCriteriasResponse) String ¶ added in v0.1.19
func (o CreateSearchCriteriasResponse) String() string
type CreateSqlAlarmRuleRequest ¶ added in v0.0.68
type CreateSqlAlarmRuleRequest struct {
Body *CreateSqlAlarmRuleRequestBody `json:"body,omitempty"`
}
CreateSqlAlarmRuleRequest Request Object
func (CreateSqlAlarmRuleRequest) String ¶ added in v0.0.68
func (o CreateSqlAlarmRuleRequest) String() string
type CreateSqlAlarmRuleRequestBody ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o CreateSqlAlarmRuleRequestBody) String() string
type CreateSqlAlarmRuleRequestBodySqlAlarmLevel ¶ added in v0.0.68
type CreateSqlAlarmRuleRequestBodySqlAlarmLevel struct {
// contains filtered or unexported fields
}
func (CreateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c CreateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON() ([]byte, error)
func (*CreateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *CreateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON(b []byte) error
func (CreateSqlAlarmRuleRequestBodySqlAlarmLevel) Value ¶ added in v0.0.90
func (c CreateSqlAlarmRuleRequestBodySqlAlarmLevel) Value() string
type CreateSqlAlarmRuleRequestBodySqlAlarmLevelEnum ¶ added in v0.0.68
type CreateSqlAlarmRuleRequestBodySqlAlarmLevelEnum struct { INFO CreateSqlAlarmRuleRequestBodySqlAlarmLevel MINOR CreateSqlAlarmRuleRequestBodySqlAlarmLevel MAJOR CreateSqlAlarmRuleRequestBodySqlAlarmLevel CRITICAL CreateSqlAlarmRuleRequestBodySqlAlarmLevel }
func GetCreateSqlAlarmRuleRequestBodySqlAlarmLevelEnum ¶ added in v0.0.68
func GetCreateSqlAlarmRuleRequestBodySqlAlarmLevelEnum() CreateSqlAlarmRuleRequestBodySqlAlarmLevelEnum
type CreateSqlAlarmRuleResponse ¶ added in v0.0.68
type CreateSqlAlarmRuleResponse struct { // 告警规则id SqlAlarmRuleId *string `json:"sql_alarm_rule_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateSqlAlarmRuleResponse Response Object
func (CreateSqlAlarmRuleResponse) String ¶ added in v0.0.68
func (o CreateSqlAlarmRuleResponse) String() string
type CreateStructConfigRequest ¶ added in v0.0.78
type CreateStructConfigRequest struct {
Body *StructConfig `json:"body,omitempty"`
}
CreateStructConfigRequest Request Object
func (CreateStructConfigRequest) String ¶ added in v0.0.78
func (o CreateStructConfigRequest) String() string
type CreateStructConfigResponse ¶ added in v0.0.78
type CreateStructConfigResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateStructConfigResponse Response Object
func (CreateStructConfigResponse) String ¶ added in v0.0.78
func (o CreateStructConfigResponse) String() string
type CreateStructTemplateRequest ¶ added in v0.0.68
type CreateStructTemplateRequest struct {
Body *LtsStructTemplateInfo `json:"body,omitempty"`
}
CreateStructTemplateRequest Request Object
func (CreateStructTemplateRequest) String ¶ added in v0.0.68
func (o CreateStructTemplateRequest) String() string
type CreateStructTemplateResponse ¶ added in v0.0.68
type CreateStructTemplateResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CreateStructTemplateResponse Response Object
func (CreateStructTemplateResponse) String ¶ added in v0.0.68
func (o CreateStructTemplateResponse) String() string
type CreateTagsReqbody ¶ added in v0.1.19
type CreateTagsReqbody struct { // 添加标签方式 Action string `json:"action"` // 是否对外接口调用 IsOpen bool `json:"is_open"` // 标签字段信息 Tags []TagsBody `json:"tags"` }
func (CreateTagsReqbody) String ¶ added in v0.1.19
func (o CreateTagsReqbody) String() string
type CreateTagsRequest ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o CreateTagsRequest) String() string
type CreateTagsResponse ¶ added in v0.1.19
type CreateTagsResponse struct {
HttpStatusCode int `json:"-"`
}
CreateTagsResponse Response Object
func (CreateTagsResponse) String ¶ added in v0.1.19
func (o CreateTagsResponse) String() string
type CreateTransferRequest ¶ added in v0.0.69
type CreateTransferRequest struct {
Body *CreateTransferRequestBody `json:"body,omitempty"`
}
CreateTransferRequest Request Object
func (CreateTransferRequest) String ¶ added in v0.0.69
func (o CreateTransferRequest) String() string
type CreateTransferRequestBody ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferRequestBody) String() string
type CreateTransferRequestBodyLogStreams ¶ added in v0.0.69
type CreateTransferRequestBodyLogStreams struct { // 日志流ID LogStreamId string `json:"log_stream_id"` // 日志流名称 LogStreamName *string `json:"log_stream_name,omitempty"` }
func (CreateTransferRequestBodyLogStreams) String ¶ added in v0.0.69
func (o CreateTransferRequestBodyLogStreams) String() string
type CreateTransferRequestBodyLogTransferInfo ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferRequestBodyLogTransferInfo) String() string
type CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer) String() string
type CreateTransferRequestBodyLogTransferInfoLogStorageFormat ¶ added in v0.0.69
type CreateTransferRequestBodyLogTransferInfoLogStorageFormat struct {
// contains filtered or unexported fields
}
func (CreateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON() ([]byte, error)
func (*CreateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON(b []byte) error
func (CreateTransferRequestBodyLogTransferInfoLogStorageFormat) Value ¶ added in v0.0.90
func (c CreateTransferRequestBodyLogTransferInfoLogStorageFormat) Value() string
type CreateTransferRequestBodyLogTransferInfoLogStorageFormatEnum ¶ added in v0.0.69
type CreateTransferRequestBodyLogTransferInfoLogStorageFormatEnum struct { JSON CreateTransferRequestBodyLogTransferInfoLogStorageFormat RAW CreateTransferRequestBodyLogTransferInfoLogStorageFormat }
func GetCreateTransferRequestBodyLogTransferInfoLogStorageFormatEnum ¶ added in v0.0.69
func GetCreateTransferRequestBodyLogTransferInfoLogStorageFormatEnum() CreateTransferRequestBodyLogTransferInfoLogStorageFormatEnum
type CreateTransferRequestBodyLogTransferInfoLogTransferMode ¶ added in v0.0.69
type CreateTransferRequestBodyLogTransferInfoLogTransferMode struct {
// contains filtered or unexported fields
}
func (CreateTransferRequestBodyLogTransferInfoLogTransferMode) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferRequestBodyLogTransferInfoLogTransferMode) MarshalJSON() ([]byte, error)
func (*CreateTransferRequestBodyLogTransferInfoLogTransferMode) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferRequestBodyLogTransferInfoLogTransferMode) UnmarshalJSON(b []byte) error
func (CreateTransferRequestBodyLogTransferInfoLogTransferMode) Value ¶ added in v0.0.90
func (c CreateTransferRequestBodyLogTransferInfoLogTransferMode) Value() string
type CreateTransferRequestBodyLogTransferInfoLogTransferModeEnum ¶ added in v0.0.69
type CreateTransferRequestBodyLogTransferInfoLogTransferModeEnum struct { CYCLE CreateTransferRequestBodyLogTransferInfoLogTransferMode REAL_TIME CreateTransferRequestBodyLogTransferInfoLogTransferMode }
func GetCreateTransferRequestBodyLogTransferInfoLogTransferModeEnum ¶ added in v0.0.69
func GetCreateTransferRequestBodyLogTransferInfoLogTransferModeEnum() CreateTransferRequestBodyLogTransferInfoLogTransferModeEnum
type CreateTransferRequestBodyLogTransferInfoLogTransferStatus ¶ added in v0.0.69
type CreateTransferRequestBodyLogTransferInfoLogTransferStatus struct {
// contains filtered or unexported fields
}
func (CreateTransferRequestBodyLogTransferInfoLogTransferStatus) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferRequestBodyLogTransferInfoLogTransferStatus) MarshalJSON() ([]byte, error)
func (*CreateTransferRequestBodyLogTransferInfoLogTransferStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferRequestBodyLogTransferInfoLogTransferStatus) UnmarshalJSON(b []byte) error
func (CreateTransferRequestBodyLogTransferInfoLogTransferStatus) Value ¶ added in v0.0.90
func (c CreateTransferRequestBodyLogTransferInfoLogTransferStatus) Value() string
type CreateTransferRequestBodyLogTransferInfoLogTransferStatusEnum ¶ added in v0.0.69
type CreateTransferRequestBodyLogTransferInfoLogTransferStatusEnum struct { ENABLE CreateTransferRequestBodyLogTransferInfoLogTransferStatus DISABLE CreateTransferRequestBodyLogTransferInfoLogTransferStatus EXCEPTION CreateTransferRequestBodyLogTransferInfoLogTransferStatus }
func GetCreateTransferRequestBodyLogTransferInfoLogTransferStatusEnum ¶ added in v0.0.69
func GetCreateTransferRequestBodyLogTransferInfoLogTransferStatusEnum() CreateTransferRequestBodyLogTransferInfoLogTransferStatusEnum
type CreateTransferResponse ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferResponse) String() string
type CreateTransferResponseBody ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferResponseBody) String() string
type CreateTransferResponseBodyLogStreams ¶ added in v0.0.69
type CreateTransferResponseBodyLogStreams struct { // 日志流ID LogStreamId string `json:"log_stream_id"` // 日志流名称 LogStreamName string `json:"log_stream_name"` }
func (CreateTransferResponseBodyLogStreams) String ¶ added in v0.0.69
func (o CreateTransferResponseBodyLogStreams) String() string
type CreateTransferResponseBodyLogTransferInfo ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferResponseBodyLogTransferInfo) String() string
type CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer) String() string
type CreateTransferResponseBodyLogTransferInfoLogStorageFormat ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogStorageFormat struct {
// contains filtered or unexported fields
}
func (CreateTransferResponseBodyLogTransferInfoLogStorageFormat) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferResponseBodyLogTransferInfoLogStorageFormat) MarshalJSON() ([]byte, error)
func (*CreateTransferResponseBodyLogTransferInfoLogStorageFormat) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferResponseBodyLogTransferInfoLogStorageFormat) UnmarshalJSON(b []byte) error
func (CreateTransferResponseBodyLogTransferInfoLogStorageFormat) Value ¶ added in v0.0.90
func (c CreateTransferResponseBodyLogTransferInfoLogStorageFormat) Value() string
type CreateTransferResponseBodyLogTransferInfoLogStorageFormatEnum ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogStorageFormatEnum struct { JSON CreateTransferResponseBodyLogTransferInfoLogStorageFormat RAW CreateTransferResponseBodyLogTransferInfoLogStorageFormat }
func GetCreateTransferResponseBodyLogTransferInfoLogStorageFormatEnum ¶ added in v0.0.69
func GetCreateTransferResponseBodyLogTransferInfoLogStorageFormatEnum() CreateTransferResponseBodyLogTransferInfoLogStorageFormatEnum
type CreateTransferResponseBodyLogTransferInfoLogTransferMode ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogTransferMode struct {
// contains filtered or unexported fields
}
func (CreateTransferResponseBodyLogTransferInfoLogTransferMode) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferResponseBodyLogTransferInfoLogTransferMode) MarshalJSON() ([]byte, error)
func (*CreateTransferResponseBodyLogTransferInfoLogTransferMode) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferResponseBodyLogTransferInfoLogTransferMode) UnmarshalJSON(b []byte) error
func (CreateTransferResponseBodyLogTransferInfoLogTransferMode) Value ¶ added in v0.0.90
func (c CreateTransferResponseBodyLogTransferInfoLogTransferMode) Value() string
type CreateTransferResponseBodyLogTransferInfoLogTransferModeEnum ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogTransferModeEnum struct { CYCLE CreateTransferResponseBodyLogTransferInfoLogTransferMode REAL_TIME CreateTransferResponseBodyLogTransferInfoLogTransferMode }
func GetCreateTransferResponseBodyLogTransferInfoLogTransferModeEnum ¶ added in v0.0.69
func GetCreateTransferResponseBodyLogTransferInfoLogTransferModeEnum() CreateTransferResponseBodyLogTransferInfoLogTransferModeEnum
type CreateTransferResponseBodyLogTransferInfoLogTransferStatus ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogTransferStatus struct {
// contains filtered or unexported fields
}
func (CreateTransferResponseBodyLogTransferInfoLogTransferStatus) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferResponseBodyLogTransferInfoLogTransferStatus) MarshalJSON() ([]byte, error)
func (*CreateTransferResponseBodyLogTransferInfoLogTransferStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferResponseBodyLogTransferInfoLogTransferStatus) UnmarshalJSON(b []byte) error
func (CreateTransferResponseBodyLogTransferInfoLogTransferStatus) Value ¶ added in v0.0.90
func (c CreateTransferResponseBodyLogTransferInfoLogTransferStatus) Value() string
type CreateTransferResponseBodyLogTransferInfoLogTransferStatusEnum ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogTransferStatusEnum struct { ENABLE CreateTransferResponseBodyLogTransferInfoLogTransferStatus DISABLE CreateTransferResponseBodyLogTransferInfoLogTransferStatus EXCEPTION CreateTransferResponseBodyLogTransferInfoLogTransferStatus }
func GetCreateTransferResponseBodyLogTransferInfoLogTransferStatusEnum ¶ added in v0.0.69
func GetCreateTransferResponseBodyLogTransferInfoLogTransferStatusEnum() CreateTransferResponseBodyLogTransferInfoLogTransferStatusEnum
type CreateTransferResponseBodyLogTransferInfoLogTransferType ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogTransferType struct {
// contains filtered or unexported fields
}
func (CreateTransferResponseBodyLogTransferInfoLogTransferType) MarshalJSON ¶ added in v0.0.69
func (c CreateTransferResponseBodyLogTransferInfoLogTransferType) MarshalJSON() ([]byte, error)
func (*CreateTransferResponseBodyLogTransferInfoLogTransferType) UnmarshalJSON ¶ added in v0.0.69
func (c *CreateTransferResponseBodyLogTransferInfoLogTransferType) UnmarshalJSON(b []byte) error
func (CreateTransferResponseBodyLogTransferInfoLogTransferType) Value ¶ added in v0.0.90
func (c CreateTransferResponseBodyLogTransferInfoLogTransferType) Value() string
type CreateTransferResponseBodyLogTransferInfoLogTransferTypeEnum ¶ added in v0.0.69
type CreateTransferResponseBodyLogTransferInfoLogTransferTypeEnum struct { OBS CreateTransferResponseBodyLogTransferInfoLogTransferType DIS CreateTransferResponseBodyLogTransferInfoLogTransferType DMS CreateTransferResponseBodyLogTransferInfoLogTransferType }
func GetCreateTransferResponseBodyLogTransferInfoLogTransferTypeEnum ¶ added in v0.0.69
func GetCreateTransferResponseBodyLogTransferInfoLogTransferTypeEnum() CreateTransferResponseBodyLogTransferInfoLogTransferTypeEnum
type CreatefavoriteReqbody ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o CreatefavoriteReqbody) String() string
type CreatefavoriteRequest ¶ added in v0.1.19
type CreatefavoriteRequest struct {
Body *CreatefavoriteReqbody `json:"body,omitempty"`
}
CreatefavoriteRequest Request Object
func (CreatefavoriteRequest) String ¶ added in v0.1.19
func (o CreatefavoriteRequest) String() string
type CreatefavoriteResponse ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o CreatefavoriteResponse) String() string
type DeleteAccessConfigRequest ¶ added in v0.0.71
type DeleteAccessConfigRequest struct {
Body *DeleteAccessConfigRequestBody `json:"body,omitempty"`
}
DeleteAccessConfigRequest Request Object
func (DeleteAccessConfigRequest) String ¶ added in v0.0.71
func (o DeleteAccessConfigRequest) String() string
type DeleteAccessConfigRequestBody ¶ added in v0.0.71
type DeleteAccessConfigRequestBody struct { // 日志接入ID列表 AccessConfigIdList []string `json:"access_config_id_list"` }
DeleteAccessConfigRequestBody 删除日志接入请求体
func (DeleteAccessConfigRequestBody) String ¶ added in v0.0.71
func (o DeleteAccessConfigRequestBody) String() string
type DeleteAccessConfigResponse ¶ added in v0.0.71
type DeleteAccessConfigResponse struct { // 日志接入列表 Result *[]AccessConfigInfo `json:"result,omitempty"` // 日志接入总数 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAccessConfigResponse Response Object
func (DeleteAccessConfigResponse) String ¶ added in v0.0.71
func (o DeleteAccessConfigResponse) String() string
type DeleteActiveAlarmsRequest ¶ added in v0.0.68
type DeleteActiveAlarmsRequest struct { // domainId DomainId string `json:"domain_id"` Body *DeleteActiveAlarmsRequestBody `json:"body,omitempty"` }
DeleteActiveAlarmsRequest Request Object
func (DeleteActiveAlarmsRequest) String ¶ added in v0.0.68
func (o DeleteActiveAlarmsRequest) String() string
type DeleteActiveAlarmsRequestBody ¶ added in v0.0.68
type DeleteActiveAlarmsRequestBody struct { // 主题信息 Events []Event `json:"events"` }
func (DeleteActiveAlarmsRequestBody) String ¶ added in v0.0.68
func (o DeleteActiveAlarmsRequestBody) String() string
type DeleteActiveAlarmsResponse ¶ added in v0.0.68
type DeleteActiveAlarmsResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteActiveAlarmsResponse Response Object
func (DeleteActiveAlarmsResponse) String ¶ added in v0.0.68
func (o DeleteActiveAlarmsResponse) String() string
type DeleteAomMappingRulesRequest ¶ added in v0.0.68
type DeleteAomMappingRulesRequest struct { // 接入lts规则id Id string `json:"id"` }
DeleteAomMappingRulesRequest Request Object
func (DeleteAomMappingRulesRequest) String ¶ added in v0.0.68
func (o DeleteAomMappingRulesRequest) String() string
type DeleteAomMappingRulesResponse ¶ added in v0.0.68
type DeleteAomMappingRulesResponse struct { Body *[]string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAomMappingRulesResponse Response Object
func (DeleteAomMappingRulesResponse) String ¶ added in v0.0.68
func (o DeleteAomMappingRulesResponse) String() string
type DeleteDashboardRequest ¶ added in v0.1.55
type DeleteDashboardRequest struct { // 仪表盘id Id string `json:"id"` // 是否删除图表 IsDeleteCharts bool `json:"is_delete_charts"` }
DeleteDashboardRequest Request Object
func (DeleteDashboardRequest) String ¶ added in v0.1.55
func (o DeleteDashboardRequest) String() string
type DeleteDashboardResponse ¶ added in v0.1.55
type DeleteDashboardResponse struct { // 删除仪表盘结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDashboardResponse Response Object
func (DeleteDashboardResponse) String ¶ added in v0.1.55
func (o DeleteDashboardResponse) String() string
type DeleteHostGroupRequest ¶ added in v0.0.71
type DeleteHostGroupRequest struct {
Body *DeleteHostGroupRequestBody `json:"body,omitempty"`
}
DeleteHostGroupRequest Request Object
func (DeleteHostGroupRequest) String ¶ added in v0.0.71
func (o DeleteHostGroupRequest) String() string
type DeleteHostGroupRequestBody ¶ added in v0.0.71
type DeleteHostGroupRequestBody struct { // 主机组ID列表 HostGroupIdList []string `json:"host_group_id_list"` }
DeleteHostGroupRequestBody 删除主机组请求体
func (DeleteHostGroupRequestBody) String ¶ added in v0.0.71
func (o DeleteHostGroupRequestBody) String() string
type DeleteHostGroupResponse ¶ added in v0.0.71
type DeleteHostGroupResponse struct { // 主机组详细信息 Result *[]GetHostGroupInfo `json:"result,omitempty"` // 删除主机组数量 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
DeleteHostGroupResponse Response Object
func (DeleteHostGroupResponse) String ¶ added in v0.0.71
func (o DeleteHostGroupResponse) String() string
type DeleteKeywordsAlarmRuleRequest ¶ added in v0.0.68
type DeleteKeywordsAlarmRuleRequest struct { // 关键词告警规则id KeywordsAlarmRuleId string `json:"keywords_alarm_rule_id"` }
DeleteKeywordsAlarmRuleRequest Request Object
func (DeleteKeywordsAlarmRuleRequest) String ¶ added in v0.0.68
func (o DeleteKeywordsAlarmRuleRequest) String() string
type DeleteKeywordsAlarmRuleResponse ¶ added in v0.0.68
type DeleteKeywordsAlarmRuleResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteKeywordsAlarmRuleResponse Response Object
func (DeleteKeywordsAlarmRuleResponse) String ¶ added in v0.0.68
func (o DeleteKeywordsAlarmRuleResponse) String() 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 ¶ added in v0.0.69
type DeleteNotificationTemplateBody struct { // 待删除模板名称数组 TemplateNames []string `json:"template_names"` }
DeleteNotificationTemplateBody 删除通知模板参数体
func (DeleteNotificationTemplateBody) String ¶ added in v0.0.69
func (o DeleteNotificationTemplateBody) String() string
type DeleteNotificationTemplateRequest ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o DeleteNotificationTemplateRequest) String() string
type DeleteNotificationTemplateResponse ¶ added in v0.0.69
type DeleteNotificationTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteNotificationTemplateResponse Response Object
func (DeleteNotificationTemplateResponse) String ¶ added in v0.0.69
func (o DeleteNotificationTemplateResponse) String() string
type DeleteSearchCriterias ¶ added in v0.1.19
type DeleteSearchCriterias struct { // 企业项目id EpsId *string `json:"eps_id,omitempty"` // 快速查询id Id string `json:"id"` }
func (DeleteSearchCriterias) String ¶ added in v0.1.19
func (o DeleteSearchCriterias) String() string
type DeleteSearchCriteriasRequest ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o DeleteSearchCriteriasRequest) String() string
type DeleteSearchCriteriasResponse ¶ added in v0.1.19
type DeleteSearchCriteriasResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSearchCriteriasResponse Response Object
func (DeleteSearchCriteriasResponse) String ¶ added in v0.1.19
func (o DeleteSearchCriteriasResponse) String() string
type DeleteSqlAlarmRuleRequest ¶ added in v0.0.68
type DeleteSqlAlarmRuleRequest struct { // Sql告警规则id SqlAlarmRuleId string `json:"sql_alarm_rule_id"` }
DeleteSqlAlarmRuleRequest Request Object
func (DeleteSqlAlarmRuleRequest) String ¶ added in v0.0.68
func (o DeleteSqlAlarmRuleRequest) String() string
type DeleteSqlAlarmRuleResponse ¶ added in v0.0.68
type DeleteSqlAlarmRuleResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSqlAlarmRuleResponse Response Object
func (DeleteSqlAlarmRuleResponse) String ¶ added in v0.0.68
func (o DeleteSqlAlarmRuleResponse) String() string
type DeleteStructTemplateReqBody ¶ added in v0.0.68
type DeleteStructTemplateReqBody struct { // 结构化规则ID Id string `json:"id"` }
DeleteStructTemplateReqBody 删除结构化配置参数
func (DeleteStructTemplateReqBody) String ¶ added in v0.0.68
func (o DeleteStructTemplateReqBody) String() string
type DeleteStructTemplateRequest ¶ added in v0.0.68
type DeleteStructTemplateRequest struct {
Body *DeleteStructTemplateReqBody `json:"body,omitempty"`
}
DeleteStructTemplateRequest Request Object
func (DeleteStructTemplateRequest) String ¶ added in v0.0.68
func (o DeleteStructTemplateRequest) String() string
type DeleteStructTemplateResponse ¶ added in v0.0.68
type DeleteStructTemplateResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteStructTemplateResponse Response Object
func (DeleteStructTemplateResponse) String ¶ added in v0.0.68
func (o DeleteStructTemplateResponse) String() string
type DeleteTransferRequest ¶ added in v0.0.69
type DeleteTransferRequest struct { // 日志转储ID。获取ID有3种方式: 1. 调用查询日志转储接口,返回值有日志转储ID 2. 调用新增日志转储接口,返回值有日志转储ID 3. 调用删除日志转储接口,返回值有日志转储ID LogTransferId string `json:"log_transfer_id"` }
DeleteTransferRequest Request Object
func (DeleteTransferRequest) String ¶ added in v0.0.69
func (o DeleteTransferRequest) String() string
type DeleteTransferResponse ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o DeleteTransferResponse) String() string
type DeletefavoriteRequest ¶ added in v0.1.19
type DeletefavoriteRequest struct { // 收藏资源id FavResId string `json:"fav_res_id"` }
DeletefavoriteRequest Request Object
func (DeletefavoriteRequest) String ¶ added in v0.1.19
func (o DeletefavoriteRequest) String() string
type DeletefavoriteResponse ¶ added in v0.1.19
type DeletefavoriteResponse struct {
HttpStatusCode int `json:"-"`
}
DeletefavoriteResponse Response Object
func (DeletefavoriteResponse) String ¶ added in v0.1.19
func (o DeletefavoriteResponse) String() string
type DemoField ¶ added in v0.0.78
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 示例字段对象
type DemoFieldType ¶ added in v0.0.78
type DemoFieldType struct {
// contains filtered or unexported fields
}
func (DemoFieldType) MarshalJSON ¶ added in v0.0.78
func (c DemoFieldType) MarshalJSON() ([]byte, error)
func (*DemoFieldType) UnmarshalJSON ¶ added in v0.0.78
func (c *DemoFieldType) UnmarshalJSON(b []byte) error
func (DemoFieldType) Value ¶ added in v0.0.90
func (c DemoFieldType) Value() string
type DemoFieldTypeEnum ¶ added in v0.0.78
type DemoFieldTypeEnum struct { STRING DemoFieldType LONG DemoFieldType FLOAT DemoFieldType }
func GetDemoFieldTypeEnum ¶ added in v0.0.78
func GetDemoFieldTypeEnum() DemoFieldTypeEnum
type DisableLogCollectionRequest ¶
type DisableLogCollectionRequest struct { }
DisableLogCollectionRequest Request Object
func (DisableLogCollectionRequest) String ¶
func (o DisableLogCollectionRequest) String() string
type DisableLogCollectionResponse ¶
type DisableLogCollectionResponse struct {
HttpStatusCode int `json:"-"`
}
DisableLogCollectionResponse Response Object
func (DisableLogCollectionResponse) String ¶
func (o DisableLogCollectionResponse) String() string
type EnableLogCollectionRequest ¶
type EnableLogCollectionRequest struct { }
EnableLogCollectionRequest Request Object
func (EnableLogCollectionRequest) String ¶
func (o EnableLogCollectionRequest) String() string
type EnableLogCollectionResponse ¶
type EnableLogCollectionResponse struct {
HttpStatusCode int `json:"-"`
}
EnableLogCollectionResponse Response Object
func (EnableLogCollectionResponse) String ¶
func (o EnableLogCollectionResponse) String() string
type Event ¶ added in v0.0.68
type Events ¶ added in v0.0.68
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"` }
type FieldModel ¶ added in v0.0.78
type FieldModel struct { // 字段名称 FieldName string `json:"field_name"` // 是否开启快速分析。 IsAnalysis *bool `json:"is_analysis,omitempty"` }
FieldModel 创建结构化模板中的字段模型
func (FieldModel) String ¶ added in v0.0.78
func (o FieldModel) String() string
type Frequency ¶ added in v0.0.68
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"` }
type FrequencyFixedRateUnit ¶ added in v0.0.68
type FrequencyFixedRateUnit struct {
// contains filtered or unexported fields
}
func (FrequencyFixedRateUnit) MarshalJSON ¶ added in v0.0.68
func (c FrequencyFixedRateUnit) MarshalJSON() ([]byte, error)
func (*FrequencyFixedRateUnit) UnmarshalJSON ¶ added in v0.0.68
func (c *FrequencyFixedRateUnit) UnmarshalJSON(b []byte) error
func (FrequencyFixedRateUnit) Value ¶ added in v0.0.90
func (c FrequencyFixedRateUnit) Value() string
type FrequencyFixedRateUnitEnum ¶ added in v0.0.68
type FrequencyFixedRateUnitEnum struct { MINUTE FrequencyFixedRateUnit HOUR FrequencyFixedRateUnit }
func GetFrequencyFixedRateUnitEnum ¶ added in v0.0.68
func GetFrequencyFixedRateUnitEnum() FrequencyFixedRateUnitEnum
type FrequencyType ¶ added in v0.0.68
type FrequencyType struct {
// contains filtered or unexported fields
}
func (FrequencyType) MarshalJSON ¶ added in v0.0.68
func (c FrequencyType) MarshalJSON() ([]byte, error)
func (*FrequencyType) UnmarshalJSON ¶ added in v0.0.68
func (c *FrequencyType) UnmarshalJSON(b []byte) error
func (FrequencyType) Value ¶ added in v0.0.90
func (c FrequencyType) Value() string
type FrequencyTypeEnum ¶ added in v0.0.68
type FrequencyTypeEnum struct { CRON FrequencyType HOURLY FrequencyType DAILY FrequencyType WEEKLY FrequencyType FIXED_RATE FrequencyType }
func GetFrequencyTypeEnum ¶ added in v0.0.68
func GetFrequencyTypeEnum() FrequencyTypeEnum
type GetAccessConfigListRequestBody ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o GetAccessConfigListRequestBody) String() string
type GetHostGroupInfo ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o GetHostGroupInfo) String() string
type GetHostGroupInfoHostGroupType ¶ added in v0.0.71
type GetHostGroupInfoHostGroupType struct {
// contains filtered or unexported fields
}
func (GetHostGroupInfoHostGroupType) MarshalJSON ¶ added in v0.0.71
func (c GetHostGroupInfoHostGroupType) MarshalJSON() ([]byte, error)
func (*GetHostGroupInfoHostGroupType) UnmarshalJSON ¶ added in v0.0.71
func (c *GetHostGroupInfoHostGroupType) UnmarshalJSON(b []byte) error
func (GetHostGroupInfoHostGroupType) Value ¶ added in v0.0.90
func (c GetHostGroupInfoHostGroupType) Value() string
type GetHostGroupInfoHostGroupTypeEnum ¶ added in v0.0.71
type GetHostGroupInfoHostGroupTypeEnum struct { LINUX GetHostGroupInfoHostGroupType WINDOWS GetHostGroupInfoHostGroupType }
func GetGetHostGroupInfoHostGroupTypeEnum ¶ added in v0.0.71
func GetGetHostGroupInfoHostGroupTypeEnum() GetHostGroupInfoHostGroupTypeEnum
type GetHostGroupListFilter ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o GetHostGroupListFilter) String() string
type GetHostGroupListFilterHostGroupType ¶ added in v0.0.71
type GetHostGroupListFilterHostGroupType struct {
// contains filtered or unexported fields
}
func (GetHostGroupListFilterHostGroupType) MarshalJSON ¶ added in v0.0.71
func (c GetHostGroupListFilterHostGroupType) MarshalJSON() ([]byte, error)
func (*GetHostGroupListFilterHostGroupType) UnmarshalJSON ¶ added in v0.0.71
func (c *GetHostGroupListFilterHostGroupType) UnmarshalJSON(b []byte) error
func (GetHostGroupListFilterHostGroupType) Value ¶ added in v0.0.90
func (c GetHostGroupListFilterHostGroupType) Value() string
type GetHostGroupListFilterHostGroupTypeEnum ¶ added in v0.0.71
type GetHostGroupListFilterHostGroupTypeEnum struct { WINDOWS GetHostGroupListFilterHostGroupType LINUX GetHostGroupListFilterHostGroupType }
func GetGetHostGroupListFilterHostGroupTypeEnum ¶ added in v0.0.71
func GetGetHostGroupListFilterHostGroupTypeEnum() GetHostGroupListFilterHostGroupTypeEnum
type GetHostGroupListRequestBody ¶ added in v0.0.71
type GetHostGroupListRequestBody struct { // 主机组ID HostGroupIdList *[]string `json:"host_group_id_list,omitempty"` Filter *GetHostGroupListFilter `json:"filter"` }
func (GetHostGroupListRequestBody) String ¶ added in v0.0.71
func (o GetHostGroupListRequestBody) String() string
type GetHostGroupListTag ¶ added in v0.0.71
type GetHostGroupListTag struct { // 标签类型。AND:标签过滤的逻辑为与,OR:标签过滤的逻辑为或 TagType *GetHostGroupListTagTagType `json:"tag_type,omitempty"` // 主机组标签 TagList *[]HostGroupTag `json:"tag_list,omitempty"` }
GetHostGroupListTag 主机组标签信息
func (GetHostGroupListTag) String ¶ added in v0.0.71
func (o GetHostGroupListTag) String() string
type GetHostGroupListTagTagType ¶ added in v0.0.71
type GetHostGroupListTagTagType struct {
// contains filtered or unexported fields
}
func (GetHostGroupListTagTagType) MarshalJSON ¶ added in v0.0.71
func (c GetHostGroupListTagTagType) MarshalJSON() ([]byte, error)
func (*GetHostGroupListTagTagType) UnmarshalJSON ¶ added in v0.0.71
func (c *GetHostGroupListTagTagType) UnmarshalJSON(b []byte) error
func (GetHostGroupListTagTagType) Value ¶ added in v0.0.90
func (c GetHostGroupListTagTagType) Value() string
type GetHostGroupListTagTagTypeEnum ¶ added in v0.0.71
type GetHostGroupListTagTagTypeEnum struct { AND GetHostGroupListTagTagType OR GetHostGroupListTagTagType }
func GetGetHostGroupListTagTagTypeEnum ¶ added in v0.0.71
func GetGetHostGroupListTagTagTypeEnum() GetHostGroupListTagTagTypeEnum
type GetHostListFilter ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o GetHostListFilter) String() string
type GetHostListFilterHostStatus ¶ added in v0.0.71
type GetHostListFilterHostStatus struct {
// contains filtered or unexported fields
}
func (GetHostListFilterHostStatus) MarshalJSON ¶ added in v0.0.71
func (c GetHostListFilterHostStatus) MarshalJSON() ([]byte, error)
func (*GetHostListFilterHostStatus) UnmarshalJSON ¶ added in v0.0.71
func (c *GetHostListFilterHostStatus) UnmarshalJSON(b []byte) error
func (GetHostListFilterHostStatus) Value ¶ added in v0.0.90
func (c GetHostListFilterHostStatus) Value() string
type GetHostListFilterHostStatusEnum ¶ added in v0.0.71
type GetHostListFilterHostStatusEnum struct { UNINSTALL GetHostListFilterHostStatus RUNNING GetHostListFilterHostStatus OFFLINE GetHostListFilterHostStatus ERROR GetHostListFilterHostStatus PLUGIN_ERROR GetHostListFilterHostStatus INSTALLING GetHostListFilterHostStatus INSTALL_FAIL GetHostListFilterHostStatus UPGRADING GetHostListFilterHostStatus UPGRADING_TRANSIENT GetHostListFilterHostStatus UPGRADE_FAILED GetHostListFilterHostStatus UPGRADE_FAIL GetHostListFilterHostStatus UNINSTALLING GetHostListFilterHostStatus UNINSTALLING_TRANSIENT GetHostListFilterHostStatus AUTHENTICATION_ERROR GetHostListFilterHostStatus }
func GetGetHostListFilterHostStatusEnum ¶ added in v0.0.71
func GetGetHostListFilterHostStatusEnum() GetHostListFilterHostStatusEnum
type GetHostListInfo ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o GetHostListInfo) String() string
type GetHostListInfoHostStatus ¶ added in v0.0.71
type GetHostListInfoHostStatus struct {
// contains filtered or unexported fields
}
func (GetHostListInfoHostStatus) MarshalJSON ¶ added in v0.0.71
func (c GetHostListInfoHostStatus) MarshalJSON() ([]byte, error)
func (*GetHostListInfoHostStatus) UnmarshalJSON ¶ added in v0.0.71
func (c *GetHostListInfoHostStatus) UnmarshalJSON(b []byte) error
func (GetHostListInfoHostStatus) Value ¶ added in v0.0.90
func (c GetHostListInfoHostStatus) Value() string
type GetHostListInfoHostStatusEnum ¶ added in v0.0.71
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 ¶ added in v0.0.71
func GetGetHostListInfoHostStatusEnum() GetHostListInfoHostStatusEnum
type GetHostListInfoHostType ¶ added in v0.0.71
type GetHostListInfoHostType struct {
// contains filtered or unexported fields
}
func (GetHostListInfoHostType) MarshalJSON ¶ added in v0.0.71
func (c GetHostListInfoHostType) MarshalJSON() ([]byte, error)
func (*GetHostListInfoHostType) UnmarshalJSON ¶ added in v0.0.71
func (c *GetHostListInfoHostType) UnmarshalJSON(b []byte) error
func (GetHostListInfoHostType) Value ¶ added in v0.0.90
func (c GetHostListInfoHostType) Value() string
type GetHostListInfoHostTypeEnum ¶ added in v0.0.71
type GetHostListInfoHostTypeEnum struct { LINUX GetHostListInfoHostType WINDOWS GetHostListInfoHostType }
func GetGetHostListInfoHostTypeEnum ¶ added in v0.0.71
func GetGetHostListInfoHostTypeEnum() GetHostListInfoHostTypeEnum
type GetHostListRequestBody ¶ added in v0.0.71
type GetHostListRequestBody struct { // 主机ID列表。可以根据主机ID列表进行批量过滤 HostIdList *[]string `json:"host_id_list,omitempty"` Filter *GetHostListFilter `json:"filter"` }
GetHostListRequestBody 查询主机信息请求体
func (GetHostListRequestBody) String ¶ added in v0.0.71
func (o GetHostListRequestBody) String() string
type GetQuerySearchCriteriasBody ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o GetQuerySearchCriteriasBody) String() string
type HostGroupTag ¶ added in v0.0.71
type HostGroupTag struct { // 标签Key Key *string `json:"key,omitempty"` // 标签Value Value *string `json:"value,omitempty"` }
HostGroupTag 标签信息
func (HostGroupTag) String ¶ added in v0.0.71
func (o HostGroupTag) String() string
type KeywordsAlarmRuleRespList ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o KeywordsAlarmRuleRespList) String() string
type KeywordsAlarmRuleRespListKeywordsAlarmLevel ¶ added in v0.0.68
type KeywordsAlarmRuleRespListKeywordsAlarmLevel struct {
// contains filtered or unexported fields
}
func (KeywordsAlarmRuleRespListKeywordsAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c KeywordsAlarmRuleRespListKeywordsAlarmLevel) MarshalJSON() ([]byte, error)
func (*KeywordsAlarmRuleRespListKeywordsAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *KeywordsAlarmRuleRespListKeywordsAlarmLevel) UnmarshalJSON(b []byte) error
func (KeywordsAlarmRuleRespListKeywordsAlarmLevel) Value ¶ added in v0.0.90
func (c KeywordsAlarmRuleRespListKeywordsAlarmLevel) Value() string
type KeywordsAlarmRuleRespListKeywordsAlarmLevelEnum ¶ added in v0.0.68
type KeywordsAlarmRuleRespListKeywordsAlarmLevelEnum struct { INFO KeywordsAlarmRuleRespListKeywordsAlarmLevel MINOR KeywordsAlarmRuleRespListKeywordsAlarmLevel MAJOR KeywordsAlarmRuleRespListKeywordsAlarmLevel CRITICAL KeywordsAlarmRuleRespListKeywordsAlarmLevel }
func GetKeywordsAlarmRuleRespListKeywordsAlarmLevelEnum ¶ added in v0.0.68
func GetKeywordsAlarmRuleRespListKeywordsAlarmLevelEnum() KeywordsAlarmRuleRespListKeywordsAlarmLevelEnum
type KeywordsAlarmRuleRespListStatus ¶ added in v0.0.76
type KeywordsAlarmRuleRespListStatus struct {
// contains filtered or unexported fields
}
func (KeywordsAlarmRuleRespListStatus) MarshalJSON ¶ added in v0.0.76
func (c KeywordsAlarmRuleRespListStatus) MarshalJSON() ([]byte, error)
func (*KeywordsAlarmRuleRespListStatus) UnmarshalJSON ¶ added in v0.0.76
func (c *KeywordsAlarmRuleRespListStatus) UnmarshalJSON(b []byte) error
func (KeywordsAlarmRuleRespListStatus) Value ¶ added in v0.0.90
func (c KeywordsAlarmRuleRespListStatus) Value() string
type KeywordsAlarmRuleRespListStatusEnum ¶ added in v0.0.76
type KeywordsAlarmRuleRespListStatusEnum struct { RUNNING KeywordsAlarmRuleRespListStatus STOPPING KeywordsAlarmRuleRespListStatus }
func GetKeywordsAlarmRuleRespListStatusEnum ¶ added in v0.0.76
func GetKeywordsAlarmRuleRespListStatusEnum() KeywordsAlarmRuleRespListStatusEnum
type KeywordsRequest ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o KeywordsRequest) String() string
type KeywordsRequestCondition ¶ added in v0.0.68
type KeywordsRequestCondition struct {
// contains filtered or unexported fields
}
func (KeywordsRequestCondition) MarshalJSON ¶ added in v0.0.68
func (c KeywordsRequestCondition) MarshalJSON() ([]byte, error)
func (*KeywordsRequestCondition) UnmarshalJSON ¶ added in v0.0.68
func (c *KeywordsRequestCondition) UnmarshalJSON(b []byte) error
func (KeywordsRequestCondition) Value ¶ added in v0.0.90
func (c KeywordsRequestCondition) Value() string
type KeywordsRequestConditionEnum ¶ added in v0.0.68
type KeywordsRequestConditionEnum struct { GREATER_THAN_OR_EQUAL_TO KeywordsRequestCondition LESS_THAN_OR_EQUAL_TO KeywordsRequestCondition LESS_THAN KeywordsRequestCondition GREATER_THAN KeywordsRequestCondition }
func GetKeywordsRequestConditionEnum ¶ added in v0.0.68
func GetKeywordsRequestConditionEnum() KeywordsRequestConditionEnum
type KeywordsRequestSearchTimeRangeUnit ¶ added in v0.0.68
type KeywordsRequestSearchTimeRangeUnit struct {
// contains filtered or unexported fields
}
func (KeywordsRequestSearchTimeRangeUnit) MarshalJSON ¶ added in v0.0.68
func (c KeywordsRequestSearchTimeRangeUnit) MarshalJSON() ([]byte, error)
func (*KeywordsRequestSearchTimeRangeUnit) UnmarshalJSON ¶ added in v0.0.68
func (c *KeywordsRequestSearchTimeRangeUnit) UnmarshalJSON(b []byte) error
func (KeywordsRequestSearchTimeRangeUnit) Value ¶ added in v0.0.90
func (c KeywordsRequestSearchTimeRangeUnit) Value() string
type KeywordsRequestSearchTimeRangeUnitEnum ¶ added in v0.0.68
type KeywordsRequestSearchTimeRangeUnitEnum struct {
MINUTE KeywordsRequestSearchTimeRangeUnit
}
func GetKeywordsRequestSearchTimeRangeUnitEnum ¶ added in v0.0.68
func GetKeywordsRequestSearchTimeRangeUnitEnum() KeywordsRequestSearchTimeRangeUnitEnum
type ListAccessConfigRequest ¶ added in v0.0.71
type ListAccessConfigRequest struct {
Body *GetAccessConfigListRequestBody `json:"body,omitempty"`
}
ListAccessConfigRequest Request Object
func (ListAccessConfigRequest) String ¶ added in v0.0.71
func (o ListAccessConfigRequest) String() string
type ListAccessConfigResponse ¶ added in v0.0.71
type ListAccessConfigResponse struct { // 日志接入列表 Result *[]AccessConfigInfo `json:"result,omitempty"` // 日志接入总数 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListAccessConfigResponse Response Object
func (ListAccessConfigResponse) String ¶ added in v0.0.71
func (o ListAccessConfigResponse) String() string
type ListActiveOrHistoryAlarmsRequest ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ListActiveOrHistoryAlarmsRequest) String() string
type ListActiveOrHistoryAlarmsRequestBody ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ListActiveOrHistoryAlarmsRequestBody) String() string
type ListActiveOrHistoryAlarmsRequestType ¶ added in v0.0.68
type ListActiveOrHistoryAlarmsRequestType struct {
// contains filtered or unexported fields
}
func (ListActiveOrHistoryAlarmsRequestType) MarshalJSON ¶ added in v0.0.68
func (c ListActiveOrHistoryAlarmsRequestType) MarshalJSON() ([]byte, error)
func (*ListActiveOrHistoryAlarmsRequestType) UnmarshalJSON ¶ added in v0.0.68
func (c *ListActiveOrHistoryAlarmsRequestType) UnmarshalJSON(b []byte) error
func (ListActiveOrHistoryAlarmsRequestType) Value ¶ added in v0.0.90
func (c ListActiveOrHistoryAlarmsRequestType) Value() string
type ListActiveOrHistoryAlarmsRequestTypeEnum ¶ added in v0.0.68
type ListActiveOrHistoryAlarmsRequestTypeEnum struct { ACTIVE_ALERT ListActiveOrHistoryAlarmsRequestType HISTORY_ALERT ListActiveOrHistoryAlarmsRequestType }
func GetListActiveOrHistoryAlarmsRequestTypeEnum ¶ added in v0.0.68
func GetListActiveOrHistoryAlarmsRequestTypeEnum() ListActiveOrHistoryAlarmsRequestTypeEnum
type ListActiveOrHistoryAlarmsResponse ¶ added in v0.0.68
type ListActiveOrHistoryAlarmsResponse struct { // 告警信息 Events *[]Events `json:"events,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListActiveOrHistoryAlarmsResponse Response Object
func (ListActiveOrHistoryAlarmsResponse) String ¶ added in v0.0.68
func (o ListActiveOrHistoryAlarmsResponse) String() string
type ListBreifStructTemplateRequest ¶ added in v0.0.78
type ListBreifStructTemplateRequest struct { }
ListBreifStructTemplateRequest Request Object
func (ListBreifStructTemplateRequest) String ¶ added in v0.0.78
func (o ListBreifStructTemplateRequest) String() string
type ListBreifStructTemplateResponse ¶ added in v0.0.78
type ListBreifStructTemplateResponse struct { // 结构化模板缩略信息列表 Results *[]BriefStructTemplateModel `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ListBreifStructTemplateResponse Response Object
func (ListBreifStructTemplateResponse) String ¶ added in v0.0.78
func (o ListBreifStructTemplateResponse) String() string
type ListChartsRequest ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ListChartsRequest) String() string
type ListChartsResponse ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ListChartsResponse) String() string
type ListChartsResponseType ¶ added in v0.0.68
type ListChartsResponseType struct {
// contains filtered or unexported fields
}
func (ListChartsResponseType) MarshalJSON ¶ added in v0.0.68
func (c ListChartsResponseType) MarshalJSON() ([]byte, error)
func (*ListChartsResponseType) UnmarshalJSON ¶ added in v0.0.68
func (c *ListChartsResponseType) UnmarshalJSON(b []byte) error
func (ListChartsResponseType) Value ¶ added in v0.0.90
func (c ListChartsResponseType) Value() string
type ListChartsResponseTypeEnum ¶ added in v0.0.68
type ListChartsResponseTypeEnum struct { TABLE ListChartsResponseType BAR ListChartsResponseType LINE ListChartsResponseType PIE ListChartsResponseType NUMBER ListChartsResponseType }
func GetListChartsResponseTypeEnum ¶ added in v0.0.68
func GetListChartsResponseTypeEnum() ListChartsResponseTypeEnum
type ListCriteriasRequest ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o ListCriteriasRequest) String() string
type ListCriteriasResponse ¶ added in v0.1.19
type ListCriteriasResponse struct { SearchCriterias *[]GetQuerySearchCriteriasBody `json:"search_criterias,omitempty"` HttpStatusCode int `json:"-"` }
ListCriteriasResponse Response Object
func (ListCriteriasResponse) String ¶ added in v0.1.19
func (o ListCriteriasResponse) String() string
type ListHistorySqlRequest ¶ added in v0.1.19
type ListHistorySqlRequest struct { // 日志组id LogGroupId string `json:"log_group_id"` // 日志流id LogStreamId string `json:"log_stream_id"` }
ListHistorySqlRequest Request Object
func (ListHistorySqlRequest) String ¶ added in v0.1.19
func (o ListHistorySqlRequest) String() string
type ListHistorySqlResponse ¶ added in v0.1.19
type ListHistorySqlResponse struct { Results *[]QuertHistorySqlResultsBody `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ListHistorySqlResponse Response Object
func (ListHistorySqlResponse) String ¶ added in v0.1.19
func (o ListHistorySqlResponse) String() string
type ListHostGroupRequest ¶ added in v0.0.71
type ListHostGroupRequest struct {
Body *GetHostGroupListRequestBody `json:"body,omitempty"`
}
ListHostGroupRequest Request Object
func (ListHostGroupRequest) String ¶ added in v0.0.71
func (o ListHostGroupRequest) String() string
type ListHostGroupResponse ¶ added in v0.0.71
type ListHostGroupResponse struct { // 主机组列表 Result *[]GetHostGroupInfo `json:"result,omitempty"` // 主机组信息总数量 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListHostGroupResponse Response Object
func (ListHostGroupResponse) String ¶ added in v0.0.71
func (o ListHostGroupResponse) String() string
type ListHostRequest ¶ added in v0.0.71
type ListHostRequest struct {
Body *GetHostListRequestBody `json:"body,omitempty"`
}
ListHostRequest Request Object
func (ListHostRequest) String ¶ added in v0.0.71
func (o ListHostRequest) String() string
type ListHostResponse ¶ added in v0.0.71
type ListHostResponse struct { // 主机列表 Result *[]GetHostListInfo `json:"result,omitempty"` // 主机信息总数量 Total *int64 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListHostResponse Response Object
func (ListHostResponse) String ¶ added in v0.0.71
func (o ListHostResponse) String() string
type ListKeywordsAlarmRulesRequest ¶ added in v0.0.68
type ListKeywordsAlarmRulesRequest struct { }
ListKeywordsAlarmRulesRequest Request Object
func (ListKeywordsAlarmRulesRequest) String ¶ added in v0.0.68
func (o ListKeywordsAlarmRulesRequest) String() string
type ListKeywordsAlarmRulesResponse ¶ added in v0.0.68
type ListKeywordsAlarmRulesResponse struct { // 项目id KeywordsAlarmRules *[]KeywordsAlarmRuleRespList `json:"keywords_alarm_rules,omitempty"` HttpStatusCode int `json:"-"` }
ListKeywordsAlarmRulesResponse Response Object
func (ListKeywordsAlarmRulesResponse) String ¶ added in v0.0.68
func (o ListKeywordsAlarmRulesResponse) String() 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 ¶ added in v0.0.71
type ListLogHistogramRequest struct {
Body *QueryLogKeyWordCountRequestBody `json:"body,omitempty"`
}
ListLogHistogramRequest Request Object
func (ListLogHistogramRequest) String ¶ added in v0.0.71
func (o ListLogHistogramRequest) String() string
type ListLogHistogramResponse ¶ added in v0.0.71
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 ¶ added in v0.0.71
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 ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ListLogStreamsRequest) String() string
type ListLogStreamsResponse ¶ added in v0.0.69
type ListLogStreamsResponse struct { // 日志流数组 LogStreams *[]ListLogStreamsResponseBody1LogStreams `json:"log_streams,omitempty"` HttpStatusCode int `json:"-"` }
ListLogStreamsResponse Response Object
func (ListLogStreamsResponse) String ¶ added in v0.0.69
func (o ListLogStreamsResponse) String() string
type ListLogStreamsResponseBody1LogStreams ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ListLogStreamsResponseBody1LogStreams) String() string
type ListLogsRequest ¶ added in v0.0.51
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 ¶ added in v0.0.51
func (o ListLogsRequest) String() string
type ListLogsResponse ¶ added in v0.0.51
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 ¶ added in v0.0.51
func (o ListLogsResponse) String() string
type ListNotificationTemplateRequest ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ListNotificationTemplateRequest) String() string
type ListNotificationTemplateResponse ¶ added in v0.0.69
type ListNotificationTemplateResponse struct { // 为一个html文本,需要进行相应的解析后展示 Template *string `json:"template,omitempty"` HttpStatusCode int `json:"-"` }
ListNotificationTemplateResponse Response Object
func (ListNotificationTemplateResponse) String ¶ added in v0.0.69
func (o ListNotificationTemplateResponse) String() string
type ListNotificationTemplatesRequest ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ListNotificationTemplatesRequest) String() string
type ListNotificationTemplatesResponse ¶ added in v0.0.69
type ListNotificationTemplatesResponse struct { // 模板数组 Results *[]NotificationTemplate `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ListNotificationTemplatesResponse Response Object
func (ListNotificationTemplatesResponse) String ¶ added in v0.0.69
func (o ListNotificationTemplatesResponse) String() string
type ListNotificationTopicsRequest ¶ added in v0.0.68
type ListNotificationTopicsRequest struct { // 查询游标,初始传入0,后续从上一次的返回值中获取 Offset int32 `json:"offset"` // 每页数据量,最大值为100 Limit int32 `json:"limit"` }
ListNotificationTopicsRequest Request Object
func (ListNotificationTopicsRequest) String ¶ added in v0.0.68
func (o ListNotificationTopicsRequest) String() string
type ListNotificationTopicsResponse ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ListNotificationTopicsResponse) String() string
type ListQueryAllSearchCriteriasRequest ¶ added in v0.1.19
type ListQueryAllSearchCriteriasRequest struct { // 租户想查询的日志流所在的日志组的groupid,一般为36位字符串。 缺省值:None 最小长度:36 最大长度:36 GroupId string `json:"group_id"` }
ListQueryAllSearchCriteriasRequest Request Object
func (ListQueryAllSearchCriteriasRequest) String ¶ added in v0.1.19
func (o ListQueryAllSearchCriteriasRequest) String() string
type ListQueryAllSearchCriteriasResponse ¶ added in v0.1.19
type ListQueryAllSearchCriteriasResponse struct { // 快速查询 SearchCriterias *[]SearchCriteriasBody `json:"search_criterias,omitempty"` HttpStatusCode int `json:"-"` }
ListQueryAllSearchCriteriasResponse Response Object
func (ListQueryAllSearchCriteriasResponse) String ¶ added in v0.1.19
func (o ListQueryAllSearchCriteriasResponse) String() string
type ListQueryStructuredLogsRequest ¶ added in v0.0.51
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 ¶ added in v0.0.51
func (o ListQueryStructuredLogsRequest) String() string
type ListQueryStructuredLogsResponse ¶ added in v0.0.51
type ListQueryStructuredLogsResponse struct { // 日志信息。 StructLogs *[]StructLogContents `json:"struct_logs,omitempty"` HttpStatusCode int `json:"-"` }
ListQueryStructuredLogsResponse Response Object
func (ListQueryStructuredLogsResponse) String ¶ added in v0.0.51
func (o ListQueryStructuredLogsResponse) String() string
type ListSqlAlarmRulesRequest ¶ added in v0.0.68
type ListSqlAlarmRulesRequest struct { }
ListSqlAlarmRulesRequest Request Object
func (ListSqlAlarmRulesRequest) String ¶ added in v0.0.68
func (o ListSqlAlarmRulesRequest) String() string
type ListSqlAlarmRulesResponse ¶ added in v0.0.68
type ListSqlAlarmRulesResponse struct { // SQL告警 SqlAlarmRules *[]SqlAlarmRuleRespList `json:"sql_alarm_rules,omitempty"` HttpStatusCode int `json:"-"` }
ListSqlAlarmRulesResponse Response Object
func (ListSqlAlarmRulesResponse) String ¶ added in v0.0.68
func (o ListSqlAlarmRulesResponse) String() string
type ListStructTemplateRequest ¶ added in v0.0.78
type ListStructTemplateRequest struct { // 待查询模板id,非必填,不传时返回项目下所有自定义结构化模板 Id *string `json:"id,omitempty"` }
ListStructTemplateRequest Request Object
func (ListStructTemplateRequest) String ¶ added in v0.0.78
func (o ListStructTemplateRequest) String() string
type ListStructTemplateResponse ¶ added in v0.0.78
type ListStructTemplateResponse struct { // 查询的自定义结构化模板数组 Results *[]StructTemplateModel `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ListStructTemplateResponse Response Object
func (ListStructTemplateResponse) String ¶ added in v0.0.78
func (o ListStructTemplateResponse) String() string
type ListStructuredLogsWithTimeRangeRequest ¶ added in v0.0.51
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 ¶ added in v0.0.51
func (o ListStructuredLogsWithTimeRangeRequest) String() string
type ListStructuredLogsWithTimeRangeResponse ¶ added in v0.0.51
type ListStructuredLogsWithTimeRangeResponse struct { // 此参数在请求实体中,采用json字符串格式。 Body map[string][]interface{} `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListStructuredLogsWithTimeRangeResponse Response Object
func (ListStructuredLogsWithTimeRangeResponse) String ¶ added in v0.0.51
func (o ListStructuredLogsWithTimeRangeResponse) String() string
type ListTimeLineTrafficStatisticsRequest ¶ added in v0.1.15
type ListTimeLineTrafficStatisticsRequest struct { // 时区 Timezone string `json:"timezone"` Body *TimelineTrafficStatisticsRequestBody `json:"body,omitempty"` }
ListTimeLineTrafficStatisticsRequest Request Object
func (ListTimeLineTrafficStatisticsRequest) String ¶ added in v0.1.15
func (o ListTimeLineTrafficStatisticsRequest) String() string
type ListTimeLineTrafficStatisticsResponse ¶ added in v0.1.15
type ListTimeLineTrafficStatisticsResponse struct { // 响应结果 Results *[]Resulits `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ListTimeLineTrafficStatisticsResponse Response Object
func (ListTimeLineTrafficStatisticsResponse) String ¶ added in v0.1.15
func (o ListTimeLineTrafficStatisticsResponse) String() string
type ListTopnTrafficStatisticsRequest ¶ added in v0.1.19
type ListTopnTrafficStatisticsRequest struct {
Body *TopnRequstBody `json:"body,omitempty"`
}
ListTopnTrafficStatisticsRequest Request Object
func (ListTopnTrafficStatisticsRequest) String ¶ added in v0.1.19
func (o ListTopnTrafficStatisticsRequest) String() string
type ListTopnTrafficStatisticsResponse ¶ added in v0.1.19
type ListTopnTrafficStatisticsResponse struct { // 响应结果 Results *[]ResultsTopnBody `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ListTopnTrafficStatisticsResponse Response Object
func (ListTopnTrafficStatisticsResponse) String ¶ added in v0.1.19
func (o ListTopnTrafficStatisticsResponse) String() string
type ListTransfersRequest ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ListTransfersRequest) String() string
type ListTransfersRequestLogTransferType ¶ added in v0.0.69
type ListTransfersRequestLogTransferType struct {
// contains filtered or unexported fields
}
func (ListTransfersRequestLogTransferType) MarshalJSON ¶ added in v0.0.69
func (c ListTransfersRequestLogTransferType) MarshalJSON() ([]byte, error)
func (*ListTransfersRequestLogTransferType) UnmarshalJSON ¶ added in v0.0.69
func (c *ListTransfersRequestLogTransferType) UnmarshalJSON(b []byte) error
func (ListTransfersRequestLogTransferType) Value ¶ added in v0.0.90
func (c ListTransfersRequestLogTransferType) Value() string
type ListTransfersRequestLogTransferTypeEnum ¶ added in v0.0.69
type ListTransfersRequestLogTransferTypeEnum struct { OBS ListTransfersRequestLogTransferType DIS ListTransfersRequestLogTransferType DMS ListTransfersRequestLogTransferType }
func GetListTransfersRequestLogTransferTypeEnum ¶ added in v0.0.69
func GetListTransfersRequestLogTransferTypeEnum() ListTransfersRequestLogTransferTypeEnum
type ListTransfersResponse ¶ added in v0.0.69
type ListTransfersResponse struct { // 查询日志转储信息数组 LogTransfers *[]CreateTransferResponseBody `json:"log_transfers,omitempty"` HttpStatusCode int `json:"-"` }
ListTransfersResponse Response Object
func (ListTransfersResponse) String ¶ added in v0.0.69
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 返回的日志组信息
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 返回的日志流信息
type LtsStructTemplateInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o LtsStructTemplateInfo) String() string
type LtsStructTemplateInfoParseType ¶ added in v0.0.68
type LtsStructTemplateInfoParseType struct {
// contains filtered or unexported fields
}
func (LtsStructTemplateInfoParseType) MarshalJSON ¶ added in v0.0.68
func (c LtsStructTemplateInfoParseType) MarshalJSON() ([]byte, error)
func (*LtsStructTemplateInfoParseType) UnmarshalJSON ¶ added in v0.0.68
func (c *LtsStructTemplateInfoParseType) UnmarshalJSON(b []byte) error
func (LtsStructTemplateInfoParseType) Value ¶ added in v0.0.90
func (c LtsStructTemplateInfoParseType) Value() string
type LtsStructTemplateInfoParseTypeEnum ¶ added in v0.0.68
type LtsStructTemplateInfoParseTypeEnum struct { BUILT_IN LtsStructTemplateInfoParseType JSON LtsStructTemplateInfoParseType CUSTOM_REGEX LtsStructTemplateInfoParseType SPLIT LtsStructTemplateInfoParseType NGINX LtsStructTemplateInfoParseType }
func GetLtsStructTemplateInfoParseTypeEnum ¶ added in v0.0.68
func GetLtsStructTemplateInfoParseTypeEnum() LtsStructTemplateInfoParseTypeEnum
type Metadata ¶ added in v0.0.68
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"` }
type NotificationTemplate ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o NotificationTemplate) String() string
type NotificationTemplateLocale ¶ added in v0.0.69
type NotificationTemplateLocale struct {
// contains filtered or unexported fields
}
func (NotificationTemplateLocale) MarshalJSON ¶ added in v0.0.69
func (c NotificationTemplateLocale) MarshalJSON() ([]byte, error)
func (*NotificationTemplateLocale) UnmarshalJSON ¶ added in v0.0.69
func (c *NotificationTemplateLocale) UnmarshalJSON(b []byte) error
func (NotificationTemplateLocale) Value ¶ added in v0.0.90
func (c NotificationTemplateLocale) Value() string
type NotificationTemplateLocaleEnum ¶ added in v0.0.69
type NotificationTemplateLocaleEnum struct { ZH_CN NotificationTemplateLocale EN_US NotificationTemplateLocale }
func GetNotificationTemplateLocaleEnum ¶ added in v0.0.69
func GetNotificationTemplateLocaleEnum() NotificationTemplateLocaleEnum
type PageInfo ¶ added in v0.0.68
type PreviewTemplateBody ¶ added in v0.0.69
type PreviewTemplateBody struct { // 邮件模板内容 Templates string `json:"templates"` // 语言 zh-cn中文,en-us英文 Language PreviewTemplateBodyLanguage `json:"language"` // 来源,只能填LTS Source string `json:"source"` }
PreviewTemplateBody 预览邮件格式请求体
func (PreviewTemplateBody) String ¶ added in v0.0.69
func (o PreviewTemplateBody) String() string
type PreviewTemplateBodyLanguage ¶ added in v0.0.69
type PreviewTemplateBodyLanguage struct {
// contains filtered or unexported fields
}
func (PreviewTemplateBodyLanguage) MarshalJSON ¶ added in v0.0.69
func (c PreviewTemplateBodyLanguage) MarshalJSON() ([]byte, error)
func (*PreviewTemplateBodyLanguage) UnmarshalJSON ¶ added in v0.0.69
func (c *PreviewTemplateBodyLanguage) UnmarshalJSON(b []byte) error
func (PreviewTemplateBodyLanguage) Value ¶ added in v0.0.90
func (c PreviewTemplateBodyLanguage) Value() string
type PreviewTemplateBodyLanguageEnum ¶ added in v0.0.69
type PreviewTemplateBodyLanguageEnum struct { ZH_CN PreviewTemplateBodyLanguage EN_US PreviewTemplateBodyLanguage }
func GetPreviewTemplateBodyLanguageEnum ¶ added in v0.0.69
func GetPreviewTemplateBodyLanguageEnum() PreviewTemplateBodyLanguageEnum
type QuertHistorySqlResultsBody ¶ added in v0.1.19
type QuertHistorySqlResultsBody struct { // 上次修改时间,时间戳,毫秒数 LastUseTime *int64 `json:"last_use_time,omitempty"` // 历史sql语句 SqlStatement *string `json:"sql_statement,omitempty"` }
func (QuertHistorySqlResultsBody) String ¶ added in v0.1.19
func (o QuertHistorySqlResultsBody) String() string
type QueryLogKeyWordCountRequestBody ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o QueryLogKeyWordCountRequestBody) String() 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 ¶ added in v0.0.90
func (c QueryLtsLogParamsSearchType) Value() string
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 ¶
func (o QueryLtsStructLogParamsNew) String() string
type RegisterDmsKafkaInstanceRequest ¶ added in v0.0.69
type RegisterDmsKafkaInstanceRequest struct {
Body *RegisterDmsKafkaInstanceRequestBody `json:"body,omitempty"`
}
RegisterDmsKafkaInstanceRequest Request Object
func (RegisterDmsKafkaInstanceRequest) String ¶ added in v0.0.69
func (o RegisterDmsKafkaInstanceRequest) String() string
type RegisterDmsKafkaInstanceRequestBody ¶ added in v0.0.69
type RegisterDmsKafkaInstanceRequestBody struct { // kafka ID InstanceId string `json:"instance_id"` // kafka 名称 KafkaName string `json:"kafka_name"` ConnectInfo *RegisterDmsKafkaInstanceRequestBodyConnectInfo `json:"connect_info"` }
func (RegisterDmsKafkaInstanceRequestBody) String ¶ added in v0.0.69
func (o RegisterDmsKafkaInstanceRequestBody) String() string
type RegisterDmsKafkaInstanceRequestBodyConnectInfo ¶ added in v0.0.69
type RegisterDmsKafkaInstanceRequestBodyConnectInfo struct { // 账号 UserName *string `json:"user_name,omitempty"` // 密码 Pwd *string `json:"pwd,omitempty"` }
RegisterDmsKafkaInstanceRequestBodyConnectInfo kafka连接信息。购买kafka时,SASL_SSL是否配置,如果有,则需要填写账号密码
func (RegisterDmsKafkaInstanceRequestBodyConnectInfo) String ¶ added in v0.0.69
func (o RegisterDmsKafkaInstanceRequestBodyConnectInfo) String() string
type RegisterDmsKafkaInstanceResponse ¶ added in v0.0.69
type RegisterDmsKafkaInstanceResponse struct { // kafka ID InstanceId *string `json:"instance_id,omitempty"` HttpStatusCode int `json:"-"` }
RegisterDmsKafkaInstanceResponse Response Object
func (RegisterDmsKafkaInstanceResponse) String ¶ added in v0.0.69
func (o RegisterDmsKafkaInstanceResponse) String() string
type Resulits ¶ added in v0.1.15
type ResultsTopnBody ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o ResultsTopnBody) String() string
type Rule ¶ added in v0.1.2
type SearchCriteriasBody ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o SearchCriteriasBody) String() string
type ShowAomMappingRuleRequest ¶ added in v0.0.68
type ShowAomMappingRuleRequest struct { // 接入规则ID RuleId string `json:"rule_id"` }
ShowAomMappingRuleRequest Request Object
func (ShowAomMappingRuleRequest) String ¶ added in v0.0.68
func (o ShowAomMappingRuleRequest) String() string
type ShowAomMappingRuleResponse ¶ added in v0.0.68
type ShowAomMappingRuleResponse struct { Body *[]AomMappingRuleResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowAomMappingRuleResponse Response Object
func (ShowAomMappingRuleResponse) String ¶ added in v0.0.68
func (o ShowAomMappingRuleResponse) String() string
type ShowAomMappingRulesRequest ¶ added in v0.0.68
type ShowAomMappingRulesRequest struct { }
ShowAomMappingRulesRequest Request Object
func (ShowAomMappingRulesRequest) String ¶ added in v0.0.68
func (o ShowAomMappingRulesRequest) String() string
type ShowAomMappingRulesResponse ¶ added in v0.0.68
type ShowAomMappingRulesResponse struct { Body *[]AomMappingRuleResp `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowAomMappingRulesResponse Response Object
func (ShowAomMappingRulesResponse) String ¶ added in v0.0.68
func (o ShowAomMappingRulesResponse) String() string
type ShowNotificationTemplateRequest ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ShowNotificationTemplateRequest) String() string
type ShowNotificationTemplateResponse ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o ShowNotificationTemplateResponse) String() string
type ShowNotificationTemplateResponseLocale ¶ added in v0.0.69
type ShowNotificationTemplateResponseLocale struct {
// contains filtered or unexported fields
}
func (ShowNotificationTemplateResponseLocale) MarshalJSON ¶ added in v0.0.69
func (c ShowNotificationTemplateResponseLocale) MarshalJSON() ([]byte, error)
func (*ShowNotificationTemplateResponseLocale) UnmarshalJSON ¶ added in v0.0.69
func (c *ShowNotificationTemplateResponseLocale) UnmarshalJSON(b []byte) error
func (ShowNotificationTemplateResponseLocale) Value ¶ added in v0.0.90
func (c ShowNotificationTemplateResponseLocale) Value() string
type ShowNotificationTemplateResponseLocaleEnum ¶ added in v0.0.69
type ShowNotificationTemplateResponseLocaleEnum struct { ZH_CN ShowNotificationTemplateResponseLocale EN_US ShowNotificationTemplateResponseLocale }
func GetShowNotificationTemplateResponseLocaleEnum ¶ added in v0.0.69
func GetShowNotificationTemplateResponseLocaleEnum() ShowNotificationTemplateResponseLocaleEnum
type ShowStructTemplateRequest ¶ added in v0.0.68
type ShowStructTemplateRequest struct { // 日志组ID LogGroupId string `json:"logGroupId"` // 日志流ID LogStreamId string `json:"logStreamId"` }
ShowStructTemplateRequest Request Object
func (ShowStructTemplateRequest) String ¶ added in v0.0.68
func (o ShowStructTemplateRequest) String() string
type ShowStructTemplateResponse ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ShowStructTemplateResponse) String() string
type ShowStructTemplateRule ¶ added in v0.0.68
type ShowStructTemplateRule struct { // 测试 Param *string `json:"param,omitempty"` // 结构化类型 Type *ShowStructTemplateRuleType `json:"type,omitempty"` }
ShowStructTemplateRule 结构化类型。
func (ShowStructTemplateRule) String ¶ added in v0.0.68
func (o ShowStructTemplateRule) String() string
type ShowStructTemplateRuleType ¶ added in v0.0.68
type ShowStructTemplateRuleType struct {
// contains filtered or unexported fields
}
func (ShowStructTemplateRuleType) MarshalJSON ¶ added in v0.0.68
func (c ShowStructTemplateRuleType) MarshalJSON() ([]byte, error)
func (*ShowStructTemplateRuleType) UnmarshalJSON ¶ added in v0.0.68
func (c *ShowStructTemplateRuleType) UnmarshalJSON(b []byte) error
func (ShowStructTemplateRuleType) Value ¶ added in v0.0.90
func (c ShowStructTemplateRuleType) Value() string
type ShowStructTemplateRuleTypeEnum ¶ added in v0.0.68
type ShowStructTemplateRuleTypeEnum struct { JSON ShowStructTemplateRuleType SPLIT ShowStructTemplateRuleType NGINX ShowStructTemplateRuleType BUILT_IN ShowStructTemplateRuleType CUSTOM_REGEX ShowStructTemplateRuleType }
func GetShowStructTemplateRuleTypeEnum ¶ added in v0.0.68
func GetShowStructTemplateRuleTypeEnum() ShowStructTemplateRuleTypeEnum
type ShowStructTemplateclusterInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o ShowStructTemplateclusterInfo) String() string
type Sort ¶ added in v0.0.68
type SortOrder ¶ added in v0.0.68
type SortOrder struct {
// contains filtered or unexported fields
}
func (SortOrder) MarshalJSON ¶ added in v0.0.68
func (*SortOrder) UnmarshalJSON ¶ added in v0.0.68
type SortOrderEnum ¶ added in v0.0.68
func GetSortOrderEnum ¶ added in v0.0.68
func GetSortOrderEnum() SortOrderEnum
type SqlAlarmRuleRespList ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o SqlAlarmRuleRespList) String() string
type SqlAlarmRuleRespListSqlAlarmLevel ¶ added in v0.0.68
type SqlAlarmRuleRespListSqlAlarmLevel struct {
// contains filtered or unexported fields
}
func (SqlAlarmRuleRespListSqlAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c SqlAlarmRuleRespListSqlAlarmLevel) MarshalJSON() ([]byte, error)
func (*SqlAlarmRuleRespListSqlAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *SqlAlarmRuleRespListSqlAlarmLevel) UnmarshalJSON(b []byte) error
func (SqlAlarmRuleRespListSqlAlarmLevel) Value ¶ added in v0.0.90
func (c SqlAlarmRuleRespListSqlAlarmLevel) Value() string
type SqlAlarmRuleRespListSqlAlarmLevelEnum ¶ added in v0.0.68
type SqlAlarmRuleRespListSqlAlarmLevelEnum struct { INFO SqlAlarmRuleRespListSqlAlarmLevel MINOR SqlAlarmRuleRespListSqlAlarmLevel MAJOR SqlAlarmRuleRespListSqlAlarmLevel CRITICAL SqlAlarmRuleRespListSqlAlarmLevel }
func GetSqlAlarmRuleRespListSqlAlarmLevelEnum ¶ added in v0.0.68
func GetSqlAlarmRuleRespListSqlAlarmLevelEnum() SqlAlarmRuleRespListSqlAlarmLevelEnum
type SqlAlarmRuleRespListStatus ¶ added in v0.0.76
type SqlAlarmRuleRespListStatus struct {
// contains filtered or unexported fields
}
func (SqlAlarmRuleRespListStatus) MarshalJSON ¶ added in v0.0.76
func (c SqlAlarmRuleRespListStatus) MarshalJSON() ([]byte, error)
func (*SqlAlarmRuleRespListStatus) UnmarshalJSON ¶ added in v0.0.76
func (c *SqlAlarmRuleRespListStatus) UnmarshalJSON(b []byte) error
func (SqlAlarmRuleRespListStatus) Value ¶ added in v0.0.90
func (c SqlAlarmRuleRespListStatus) Value() string
type SqlAlarmRuleRespListStatusEnum ¶ added in v0.0.76
type SqlAlarmRuleRespListStatusEnum struct { RUNNING SqlAlarmRuleRespListStatus STOPPING SqlAlarmRuleRespListStatus }
func GetSqlAlarmRuleRespListStatusEnum ¶ added in v0.0.76
func GetSqlAlarmRuleRespListStatusEnum() SqlAlarmRuleRespListStatusEnum
type SqlNotificationSaveRule ¶ added in v0.1.47
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 ¶ added in v0.1.47
func (o SqlNotificationSaveRule) String() string
type SqlNotificationSaveRuleLanguage ¶ added in v0.1.47
type SqlNotificationSaveRuleLanguage struct {
// contains filtered or unexported fields
}
func (SqlNotificationSaveRuleLanguage) MarshalJSON ¶ added in v0.1.47
func (c SqlNotificationSaveRuleLanguage) MarshalJSON() ([]byte, error)
func (*SqlNotificationSaveRuleLanguage) UnmarshalJSON ¶ added in v0.1.47
func (c *SqlNotificationSaveRuleLanguage) UnmarshalJSON(b []byte) error
func (SqlNotificationSaveRuleLanguage) Value ¶ added in v0.1.47
func (c SqlNotificationSaveRuleLanguage) Value() string
type SqlNotificationSaveRuleLanguageEnum ¶ added in v0.1.47
type SqlNotificationSaveRuleLanguageEnum struct { ZH_CN SqlNotificationSaveRuleLanguage EN_US SqlNotificationSaveRuleLanguage }
func GetSqlNotificationSaveRuleLanguageEnum ¶ added in v0.1.47
func GetSqlNotificationSaveRuleLanguageEnum() SqlNotificationSaveRuleLanguageEnum
type SqlRequest ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o SqlRequest) String() string
type SqlRequestSearchTimeRangeUnit ¶ added in v0.0.68
type SqlRequestSearchTimeRangeUnit struct {
// contains filtered or unexported fields
}
func (SqlRequestSearchTimeRangeUnit) MarshalJSON ¶ added in v0.0.68
func (c SqlRequestSearchTimeRangeUnit) MarshalJSON() ([]byte, error)
func (*SqlRequestSearchTimeRangeUnit) UnmarshalJSON ¶ added in v0.0.68
func (c *SqlRequestSearchTimeRangeUnit) UnmarshalJSON(b []byte) error
func (SqlRequestSearchTimeRangeUnit) Value ¶ added in v0.0.90
func (c SqlRequestSearchTimeRangeUnit) Value() string
type SqlRequestSearchTimeRangeUnitEnum ¶ added in v0.0.68
type SqlRequestSearchTimeRangeUnitEnum struct { MINUTE SqlRequestSearchTimeRangeUnit HOUR SqlRequestSearchTimeRangeUnit }
func GetSqlRequestSearchTimeRangeUnitEnum ¶ added in v0.0.68
func GetSqlRequestSearchTimeRangeUnitEnum() SqlRequestSearchTimeRangeUnitEnum
type StructConfig ¶ added in v0.0.78
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 ¶ added in v0.0.78
func (o StructConfig) String() string
type StructConfigTemplateType ¶ added in v0.0.78
type StructConfigTemplateType struct {
// contains filtered or unexported fields
}
func (StructConfigTemplateType) MarshalJSON ¶ added in v0.0.78
func (c StructConfigTemplateType) MarshalJSON() ([]byte, error)
func (*StructConfigTemplateType) UnmarshalJSON ¶ added in v0.0.78
func (c *StructConfigTemplateType) UnmarshalJSON(b []byte) error
func (StructConfigTemplateType) Value ¶ added in v0.0.90
func (c StructConfigTemplateType) Value() string
type StructConfigTemplateTypeEnum ¶ added in v0.0.78
type StructConfigTemplateTypeEnum struct { BUILT_IN StructConfigTemplateType CUSTOM StructConfigTemplateType }
func GetStructConfigTemplateTypeEnum ¶ added in v0.0.78
func GetStructConfigTemplateTypeEnum() StructConfigTemplateTypeEnum
type StructFieldInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o StructFieldInfo) String() string
type StructFieldInfoReturn ¶ added in v0.0.68
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 ¶ added in v0.0.68
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 ¶ added in v0.0.78
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 ¶ added in v0.0.78
func (o StructTemplate) String() string
type StructTemplateModel ¶ added in v0.0.78
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 ¶ added in v0.0.78
func (o StructTemplateModel) String() string
type StructTemplateModelTemplateType ¶ added in v0.0.78
type StructTemplateModelTemplateType struct {
// contains filtered or unexported fields
}
func (StructTemplateModelTemplateType) MarshalJSON ¶ added in v0.0.78
func (c StructTemplateModelTemplateType) MarshalJSON() ([]byte, error)
func (*StructTemplateModelTemplateType) UnmarshalJSON ¶ added in v0.0.78
func (c *StructTemplateModelTemplateType) UnmarshalJSON(b []byte) error
func (StructTemplateModelTemplateType) Value ¶ added in v0.0.90
func (c StructTemplateModelTemplateType) Value() string
type StructTemplateModelTemplateTypeEnum ¶ added in v0.0.78
type StructTemplateModelTemplateTypeEnum struct { REGEX StructTemplateModelTemplateType JSON StructTemplateModelTemplateType SPLIT StructTemplateModelTemplateType NGINX StructTemplateModelTemplateType }
func GetStructTemplateModelTemplateTypeEnum ¶ added in v0.0.78
func GetStructTemplateModelTemplateTypeEnum() StructTemplateModelTemplateTypeEnum
type StructTemplateTemplateType ¶ added in v0.0.78
type StructTemplateTemplateType struct {
// contains filtered or unexported fields
}
func (StructTemplateTemplateType) MarshalJSON ¶ added in v0.0.78
func (c StructTemplateTemplateType) MarshalJSON() ([]byte, error)
func (*StructTemplateTemplateType) UnmarshalJSON ¶ added in v0.0.78
func (c *StructTemplateTemplateType) UnmarshalJSON(b []byte) error
func (StructTemplateTemplateType) Value ¶ added in v0.0.90
func (c StructTemplateTemplateType) Value() string
type StructTemplateTemplateTypeEnum ¶ added in v0.0.78
type StructTemplateTemplateTypeEnum struct { REGEX StructTemplateTemplateType JSON StructTemplateTemplateType SPLIT StructTemplateTemplateType NGINX StructTemplateTemplateType }
func GetStructTemplateTemplateTypeEnum ¶ added in v0.0.78
func GetStructTemplateTemplateTypeEnum() StructTemplateTemplateTypeEnum
type SubTemplate ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o SubTemplate) String() string
type SubTemplateSubType ¶ added in v0.0.69
type SubTemplateSubType struct {
// contains filtered or unexported fields
}
func (SubTemplateSubType) MarshalJSON ¶ added in v0.0.69
func (c SubTemplateSubType) MarshalJSON() ([]byte, error)
func (*SubTemplateSubType) UnmarshalJSON ¶ added in v0.0.69
func (c *SubTemplateSubType) UnmarshalJSON(b []byte) error
func (SubTemplateSubType) Value ¶ added in v0.0.90
func (c SubTemplateSubType) Value() string
type SubTemplateSubTypeEnum ¶ added in v0.0.69
type SubTemplateSubTypeEnum struct { SMS SubTemplateSubType DINGDING SubTemplateSubType WECHAT SubTemplateSubType WEBHOOK SubTemplateSubType EMAIL SubTemplateSubType }
func GetSubTemplateSubTypeEnum ¶ added in v0.0.69
func GetSubTemplateSubTypeEnum() SubTemplateSubTypeEnum
type TagField ¶ added in v0.0.71
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信息。
type TagFieldNew ¶ added in v0.0.78
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 ¶ added in v0.0.78
func (o TagFieldNew) String() string
type TagFieldNewType ¶ added in v0.0.78
type TagFieldNewType struct {
// contains filtered or unexported fields
}
func (TagFieldNewType) MarshalJSON ¶ added in v0.0.78
func (c TagFieldNewType) MarshalJSON() ([]byte, error)
func (*TagFieldNewType) UnmarshalJSON ¶ added in v0.0.78
func (c *TagFieldNewType) UnmarshalJSON(b []byte) error
func (TagFieldNewType) Value ¶ added in v0.0.90
func (c TagFieldNewType) Value() string
type TagFieldNewTypeEnum ¶ added in v0.0.78
type TagFieldNewTypeEnum struct { STRING TagFieldNewType LONG TagFieldNewType FLOAT TagFieldNewType }
func GetTagFieldNewTypeEnum ¶ added in v0.0.78
func GetTagFieldNewTypeEnum() TagFieldNewTypeEnum
type TagFieldsInfo ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o TagFieldsInfo) String() string
type TagsBody ¶ added in v0.1.19
type TagsBody struct { // 标签键 Key *string `json:"key,omitempty"` // 标签值 Value *string `json:"value,omitempty"` }
TagsBody 标签字段信息
type TemplateRule ¶ added in v0.0.78
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 ¶ added in v0.0.78
func (o TemplateRule) String() string
type TemplateRuleType ¶ added in v0.0.78
type TemplateRuleType struct {
// contains filtered or unexported fields
}
func (TemplateRuleType) MarshalJSON ¶ added in v0.0.78
func (c TemplateRuleType) MarshalJSON() ([]byte, error)
func (*TemplateRuleType) UnmarshalJSON ¶ added in v0.0.78
func (c *TemplateRuleType) UnmarshalJSON(b []byte) error
func (TemplateRuleType) Value ¶ added in v0.0.90
func (c TemplateRuleType) Value() string
type TemplateRuleTypeEnum ¶ added in v0.0.78
type TemplateRuleTypeEnum struct { CUSTOM_REGEX TemplateRuleType JSON TemplateRuleType SPLIT TemplateRuleType NGINX TemplateRuleType }
func GetTemplateRuleTypeEnum ¶ added in v0.0.78
func GetTemplateRuleTypeEnum() TemplateRuleTypeEnum
type TimeRange ¶ added in v0.0.51
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字符串格式。
type TimelineTrafficStatisticsRequestBody ¶ added in v0.1.15
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 ¶ added in v0.1.15
func (o TimelineTrafficStatisticsRequestBody) String() string
type Topics ¶ added in v0.0.68
type TopnRequstBody ¶ added in v0.1.19
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 ¶ added in v0.1.19
func (o TopnRequstBody) String() string
type TransferDetail ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o TransferDetail) String() string
type TransferDetailObsPeriod ¶ added in v0.0.69
type TransferDetailObsPeriod struct {
// contains filtered or unexported fields
}
func (TransferDetailObsPeriod) MarshalJSON ¶ added in v0.0.69
func (c TransferDetailObsPeriod) MarshalJSON() ([]byte, error)
func (*TransferDetailObsPeriod) UnmarshalJSON ¶ added in v0.0.69
func (c *TransferDetailObsPeriod) UnmarshalJSON(b []byte) error
func (TransferDetailObsPeriod) Value ¶ added in v0.0.90
func (c TransferDetailObsPeriod) Value() int32
type TransferDetailObsPeriodEnum ¶ added in v0.0.69
type TransferDetailObsPeriodEnum struct { E_1 TransferDetailObsPeriod E_2 TransferDetailObsPeriod E_3 TransferDetailObsPeriod E_5 TransferDetailObsPeriod E_6 TransferDetailObsPeriod E_12 TransferDetailObsPeriod E_30 TransferDetailObsPeriod }
func GetTransferDetailObsPeriodEnum ¶ added in v0.0.69
func GetTransferDetailObsPeriodEnum() TransferDetailObsPeriodEnum
type UpdateAccessConfigRequest ¶ added in v0.0.71
type UpdateAccessConfigRequest struct {
Body *UpdateAccessConfigRequestBody `json:"body,omitempty"`
}
UpdateAccessConfigRequest Request Object
func (UpdateAccessConfigRequest) String ¶ added in v0.0.71
func (o UpdateAccessConfigRequest) String() string
type UpdateAccessConfigRequestBody ¶ added in v0.0.71
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"` // CCE集群ID,CCE类型时,为必填 ClusterId *string `json:"cluster_id,omitempty"` }
UpdateAccessConfigRequestBody 修改日志接入请求体
func (UpdateAccessConfigRequestBody) String ¶ added in v0.0.71
func (o UpdateAccessConfigRequestBody) String() string
type UpdateAccessConfigResponse ¶ added in v0.0.71
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"` // CCE集群ID ClusterId *string `json:"cluster_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAccessConfigResponse Response Object
func (UpdateAccessConfigResponse) String ¶ added in v0.0.71
func (o UpdateAccessConfigResponse) String() string
type UpdateAccessConfigResponseAccessConfigType ¶ added in v0.0.71
type UpdateAccessConfigResponseAccessConfigType struct {
// contains filtered or unexported fields
}
func (UpdateAccessConfigResponseAccessConfigType) MarshalJSON ¶ added in v0.0.71
func (c UpdateAccessConfigResponseAccessConfigType) MarshalJSON() ([]byte, error)
func (*UpdateAccessConfigResponseAccessConfigType) UnmarshalJSON ¶ added in v0.0.71
func (c *UpdateAccessConfigResponseAccessConfigType) UnmarshalJSON(b []byte) error
func (UpdateAccessConfigResponseAccessConfigType) Value ¶ added in v0.0.90
func (c UpdateAccessConfigResponseAccessConfigType) Value() string
type UpdateAccessConfigResponseAccessConfigTypeEnum ¶ added in v0.0.71
type UpdateAccessConfigResponseAccessConfigTypeEnum struct { AGENT UpdateAccessConfigResponseAccessConfigType K8_S_CCE UpdateAccessConfigResponseAccessConfigType }
func GetUpdateAccessConfigResponseAccessConfigTypeEnum ¶ added in v0.0.71
func GetUpdateAccessConfigResponseAccessConfigTypeEnum() UpdateAccessConfigResponseAccessConfigTypeEnum
type UpdateAlarmRuleStatusRequest ¶ added in v0.0.69
type UpdateAlarmRuleStatusRequest struct {
Body *ChangeAlarmRuleStatus `json:"body,omitempty"`
}
UpdateAlarmRuleStatusRequest Request Object
func (UpdateAlarmRuleStatusRequest) String ¶ added in v0.0.69
func (o UpdateAlarmRuleStatusRequest) String() string
type UpdateAlarmRuleStatusResponse ¶ added in v0.0.69
type UpdateAlarmRuleStatusResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAlarmRuleStatusResponse Response Object
func (UpdateAlarmRuleStatusResponse) String ¶ added in v0.0.69
func (o UpdateAlarmRuleStatusResponse) String() string
type UpdateAomMappingRequest ¶ added in v0.1.39
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 ¶ added in v0.1.39
func (o UpdateAomMappingRequest) String() string
type UpdateAomMappingRulesRequest ¶ added in v0.0.68
type UpdateAomMappingRulesRequest struct {
Body *UpdateAomMappingRequest `json:"body,omitempty"`
}
UpdateAomMappingRulesRequest Request Object
func (UpdateAomMappingRulesRequest) String ¶ added in v0.0.68
func (o UpdateAomMappingRulesRequest) String() string
type UpdateAomMappingRulesResponse ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o UpdateAomMappingRulesResponse) String() string
type UpdateHostGroupRequest ¶ added in v0.0.71
type UpdateHostGroupRequest struct {
Body *UpdateHostGroupRequestBody `json:"body,omitempty"`
}
UpdateHostGroupRequest Request Object
func (UpdateHostGroupRequest) String ¶ added in v0.0.71
func (o UpdateHostGroupRequest) String() string
type UpdateHostGroupRequestBody ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o UpdateHostGroupRequestBody) String() string
type UpdateHostGroupResponse ¶ added in v0.0.71
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 ¶ added in v0.0.71
func (o UpdateHostGroupResponse) String() string
type UpdateHostGroupResponseHostGroupType ¶ added in v0.0.71
type UpdateHostGroupResponseHostGroupType struct {
// contains filtered or unexported fields
}
func (UpdateHostGroupResponseHostGroupType) MarshalJSON ¶ added in v0.0.71
func (c UpdateHostGroupResponseHostGroupType) MarshalJSON() ([]byte, error)
func (*UpdateHostGroupResponseHostGroupType) UnmarshalJSON ¶ added in v0.0.71
func (c *UpdateHostGroupResponseHostGroupType) UnmarshalJSON(b []byte) error
func (UpdateHostGroupResponseHostGroupType) Value ¶ added in v0.0.90
func (c UpdateHostGroupResponseHostGroupType) Value() string
type UpdateHostGroupResponseHostGroupTypeEnum ¶ added in v0.0.71
type UpdateHostGroupResponseHostGroupTypeEnum struct { LINUX UpdateHostGroupResponseHostGroupType WINDOWS UpdateHostGroupResponseHostGroupType }
func GetUpdateHostGroupResponseHostGroupTypeEnum ¶ added in v0.0.71
func GetUpdateHostGroupResponseHostGroupTypeEnum() UpdateHostGroupResponseHostGroupTypeEnum
type UpdateKeywordsAlarmRuleRequest ¶ added in v0.0.68
type UpdateKeywordsAlarmRuleRequest struct {
Body *UpdateKeywordsAlarmRuleRequestBody `json:"body,omitempty"`
}
UpdateKeywordsAlarmRuleRequest Request Object
func (UpdateKeywordsAlarmRuleRequest) String ¶ added in v0.0.68
func (o UpdateKeywordsAlarmRuleRequest) String() string
type UpdateKeywordsAlarmRuleRequestBody ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o UpdateKeywordsAlarmRuleRequestBody) String() string
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel ¶ added in v0.0.68
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel struct {
// contains filtered or unexported fields
}
func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON() ([]byte, error)
func (*UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON(b []byte) error
func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) Value ¶ added in v0.0.90
func (c UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) Value() string
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum ¶ added in v0.0.68
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum struct { INFO UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel MINOR UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel MAJOR UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel CRITICAL UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel }
func GetUpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum ¶ added in v0.0.68
func GetUpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum() UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevelEnum
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode ¶ added in v0.0.69
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode struct {
// contains filtered or unexported fields
}
func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) MarshalJSON ¶ added in v0.0.69
func (c UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) MarshalJSON() ([]byte, error)
func (*UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) UnmarshalJSON(b []byte) error
func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) Value ¶ added in v0.0.90
func (c UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) Value() int32
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCodeEnum ¶ added in v0.0.69
type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCodeEnum struct { E_0 UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode E_1 UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode E_2 UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode E_3 UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode }
func GetUpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCodeEnum ¶ added in v0.0.69
func GetUpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCodeEnum() UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCodeEnum
type UpdateKeywordsAlarmRuleResponse ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o UpdateKeywordsAlarmRuleResponse) String() string
type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel ¶ added in v0.0.68
type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel struct {
// contains filtered or unexported fields
}
func (UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) MarshalJSON() ([]byte, error)
func (*UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) UnmarshalJSON(b []byte) error
func (UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) Value ¶ added in v0.0.90
func (c UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) Value() string
type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevelEnum ¶ added in v0.0.68
type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevelEnum struct { INFO UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel MINOR UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel MAJOR UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel CRITICAL UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel }
func GetUpdateKeywordsAlarmRuleResponseKeywordsAlarmLevelEnum ¶ added in v0.0.68
func GetUpdateKeywordsAlarmRuleResponseKeywordsAlarmLevelEnum() UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevelEnum
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 ¶ added in v0.1.50
type UpdateLogStreamParams struct { // 日志存储时间(天)。 该参数仅对华东-上海一、华北-北京四、华南-广州用户开放。 TtlInDays UpdateLogStreamParamsTtlInDays `json:"ttl_in_days"` // 标签字段信息 Tags *[]TagsBody `json:"tags,omitempty"` }
func (UpdateLogStreamParams) String ¶ added in v0.1.50
func (o UpdateLogStreamParams) String() string
type UpdateLogStreamParamsTtlInDays ¶ added in v0.1.50
type UpdateLogStreamParamsTtlInDays struct {
// contains filtered or unexported fields
}
func (UpdateLogStreamParamsTtlInDays) MarshalJSON ¶ added in v0.1.50
func (c UpdateLogStreamParamsTtlInDays) MarshalJSON() ([]byte, error)
func (*UpdateLogStreamParamsTtlInDays) UnmarshalJSON ¶ added in v0.1.50
func (c *UpdateLogStreamParamsTtlInDays) UnmarshalJSON(b []byte) error
func (UpdateLogStreamParamsTtlInDays) Value ¶ added in v0.1.50
func (c UpdateLogStreamParamsTtlInDays) Value() int32
type UpdateLogStreamParamsTtlInDaysEnum ¶ added in v0.1.50
type UpdateLogStreamParamsTtlInDaysEnum struct {
E_7 UpdateLogStreamParamsTtlInDays
}
func GetUpdateLogStreamParamsTtlInDaysEnum ¶ added in v0.1.50
func GetUpdateLogStreamParamsTtlInDaysEnum() UpdateLogStreamParamsTtlInDaysEnum
type UpdateLogStreamRequest ¶ added in v0.1.50
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 ¶ added in v0.1.50
func (o UpdateLogStreamRequest) String() string
type UpdateLogStreamResponse ¶ added in v0.1.50
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 ¶ added in v0.1.50
func (o UpdateLogStreamResponse) String() string
type UpdateLogStreamResponseTtlInDays ¶ added in v0.1.50
type UpdateLogStreamResponseTtlInDays struct {
// contains filtered or unexported fields
}
func (UpdateLogStreamResponseTtlInDays) MarshalJSON ¶ added in v0.1.50
func (c UpdateLogStreamResponseTtlInDays) MarshalJSON() ([]byte, error)
func (*UpdateLogStreamResponseTtlInDays) UnmarshalJSON ¶ added in v0.1.50
func (c *UpdateLogStreamResponseTtlInDays) UnmarshalJSON(b []byte) error
func (UpdateLogStreamResponseTtlInDays) Value ¶ added in v0.1.50
func (c UpdateLogStreamResponseTtlInDays) Value() int32
type UpdateLogStreamResponseTtlInDaysEnum ¶ added in v0.1.50
type UpdateLogStreamResponseTtlInDaysEnum struct {
E_7 UpdateLogStreamResponseTtlInDays
}
func GetUpdateLogStreamResponseTtlInDaysEnum ¶ added in v0.1.50
func GetUpdateLogStreamResponseTtlInDaysEnum() UpdateLogStreamResponseTtlInDaysEnum
type UpdateNotificationTemplateRequest ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o UpdateNotificationTemplateRequest) String() string
type UpdateNotificationTemplateResponse ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o UpdateNotificationTemplateResponse) String() string
type UpdateNotificationTemplateResponseLocale ¶ added in v0.0.69
type UpdateNotificationTemplateResponseLocale struct {
// contains filtered or unexported fields
}
func (UpdateNotificationTemplateResponseLocale) MarshalJSON ¶ added in v0.0.69
func (c UpdateNotificationTemplateResponseLocale) MarshalJSON() ([]byte, error)
func (*UpdateNotificationTemplateResponseLocale) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateNotificationTemplateResponseLocale) UnmarshalJSON(b []byte) error
func (UpdateNotificationTemplateResponseLocale) Value ¶ added in v0.0.90
func (c UpdateNotificationTemplateResponseLocale) Value() string
type UpdateNotificationTemplateResponseLocaleEnum ¶ added in v0.0.69
type UpdateNotificationTemplateResponseLocaleEnum struct { ZH_CN UpdateNotificationTemplateResponseLocale EN_US UpdateNotificationTemplateResponseLocale }
func GetUpdateNotificationTemplateResponseLocaleEnum ¶ added in v0.0.69
func GetUpdateNotificationTemplateResponseLocaleEnum() UpdateNotificationTemplateResponseLocaleEnum
type UpdateSqlAlarmRuleRequest ¶ added in v0.0.68
type UpdateSqlAlarmRuleRequest struct {
Body *UpdateSqlAlarmRuleRequestBody `json:"body,omitempty"`
}
UpdateSqlAlarmRuleRequest Request Object
func (UpdateSqlAlarmRuleRequest) String ¶ added in v0.0.68
func (o UpdateSqlAlarmRuleRequest) String() string
type UpdateSqlAlarmRuleRequestBody ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o UpdateSqlAlarmRuleRequestBody) String() string
type UpdateSqlAlarmRuleRequestBodySqlAlarmLevel ¶ added in v0.0.68
type UpdateSqlAlarmRuleRequestBodySqlAlarmLevel struct {
// contains filtered or unexported fields
}
func (UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON() ([]byte, error)
func (*UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON(b []byte) error
func (UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) Value ¶ added in v0.0.90
func (c UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) Value() string
type UpdateSqlAlarmRuleRequestBodySqlAlarmLevelEnum ¶ added in v0.0.68
type UpdateSqlAlarmRuleRequestBodySqlAlarmLevelEnum struct { INFO UpdateSqlAlarmRuleRequestBodySqlAlarmLevel MINOR UpdateSqlAlarmRuleRequestBodySqlAlarmLevel MAJOR UpdateSqlAlarmRuleRequestBodySqlAlarmLevel CRITICAL UpdateSqlAlarmRuleRequestBodySqlAlarmLevel }
func GetUpdateSqlAlarmRuleRequestBodySqlAlarmLevelEnum ¶ added in v0.0.68
func GetUpdateSqlAlarmRuleRequestBodySqlAlarmLevelEnum() UpdateSqlAlarmRuleRequestBodySqlAlarmLevelEnum
type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode ¶ added in v0.0.69
type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode struct {
// contains filtered or unexported fields
}
func (UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) MarshalJSON ¶ added in v0.0.69
func (c UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) MarshalJSON() ([]byte, error)
func (*UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) UnmarshalJSON(b []byte) error
func (UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) Value ¶ added in v0.0.90
func (c UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) Value() int32
type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCodeEnum ¶ added in v0.0.69
type UpdateSqlAlarmRuleRequestBodySqlAlarmSendCodeEnum struct { E_0 UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode E_1 UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode E_2 UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode E_3 UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode }
func GetUpdateSqlAlarmRuleRequestBodySqlAlarmSendCodeEnum ¶ added in v0.0.69
func GetUpdateSqlAlarmRuleRequestBodySqlAlarmSendCodeEnum() UpdateSqlAlarmRuleRequestBodySqlAlarmSendCodeEnum
type UpdateSqlAlarmRuleResponse ¶ added in v0.0.68
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 ¶ added in v0.0.68
func (o UpdateSqlAlarmRuleResponse) String() string
type UpdateSqlAlarmRuleResponseSqlAlarmLevel ¶ added in v0.0.68
type UpdateSqlAlarmRuleResponseSqlAlarmLevel struct {
// contains filtered or unexported fields
}
func (UpdateSqlAlarmRuleResponseSqlAlarmLevel) MarshalJSON ¶ added in v0.0.68
func (c UpdateSqlAlarmRuleResponseSqlAlarmLevel) MarshalJSON() ([]byte, error)
func (*UpdateSqlAlarmRuleResponseSqlAlarmLevel) UnmarshalJSON ¶ added in v0.0.68
func (c *UpdateSqlAlarmRuleResponseSqlAlarmLevel) UnmarshalJSON(b []byte) error
func (UpdateSqlAlarmRuleResponseSqlAlarmLevel) Value ¶ added in v0.0.90
func (c UpdateSqlAlarmRuleResponseSqlAlarmLevel) Value() string
type UpdateSqlAlarmRuleResponseSqlAlarmLevelEnum ¶ added in v0.0.68
type UpdateSqlAlarmRuleResponseSqlAlarmLevelEnum struct { INFO UpdateSqlAlarmRuleResponseSqlAlarmLevel MINOR UpdateSqlAlarmRuleResponseSqlAlarmLevel MAJOR UpdateSqlAlarmRuleResponseSqlAlarmLevel CRITICAL UpdateSqlAlarmRuleResponseSqlAlarmLevel }
func GetUpdateSqlAlarmRuleResponseSqlAlarmLevelEnum ¶ added in v0.0.68
func GetUpdateSqlAlarmRuleResponseSqlAlarmLevelEnum() UpdateSqlAlarmRuleResponseSqlAlarmLevelEnum
type UpdateStructConfigRequest ¶ added in v0.0.78
type UpdateStructConfigRequest struct {
Body *StructConfig `json:"body,omitempty"`
}
UpdateStructConfigRequest Request Object
func (UpdateStructConfigRequest) String ¶ added in v0.0.78
func (o UpdateStructConfigRequest) String() string
type UpdateStructConfigResponse ¶ added in v0.0.78
type UpdateStructConfigResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateStructConfigResponse Response Object
func (UpdateStructConfigResponse) String ¶ added in v0.0.78
func (o UpdateStructConfigResponse) String() string
type UpdateStructTemplateRequest ¶ added in v0.0.68
type UpdateStructTemplateRequest struct {
Body *LtsStructTemplateInfo `json:"body,omitempty"`
}
UpdateStructTemplateRequest Request Object
func (UpdateStructTemplateRequest) String ¶ added in v0.0.68
func (o UpdateStructTemplateRequest) String() string
type UpdateStructTemplateResponse ¶ added in v0.0.68
type UpdateStructTemplateResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
UpdateStructTemplateResponse Response Object
func (UpdateStructTemplateResponse) String ¶ added in v0.0.68
func (o UpdateStructTemplateResponse) String() string
type UpdateTransferRequest ¶ added in v0.0.69
type UpdateTransferRequest struct {
Body *UpdateTransferRequestBody `json:"body,omitempty"`
}
UpdateTransferRequest Request Object
func (UpdateTransferRequest) String ¶ added in v0.0.69
func (o UpdateTransferRequest) String() string
type UpdateTransferRequestBody ¶ added in v0.0.69
type UpdateTransferRequestBody struct { // 日志转储ID LogTransferId string `json:"log_transfer_id"` LogTransferInfo *UpdateTransferRequestBodyLogTransferInfo `json:"log_transfer_info"` }
func (UpdateTransferRequestBody) String ¶ added in v0.0.69
func (o UpdateTransferRequestBody) String() string
type UpdateTransferRequestBodyLogTransferInfo ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o UpdateTransferRequestBodyLogTransferInfo) String() string
type UpdateTransferRequestBodyLogTransferInfoLogStorageFormat ¶ added in v0.0.69
type UpdateTransferRequestBodyLogTransferInfoLogStorageFormat struct {
// contains filtered or unexported fields
}
func (UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON ¶ added in v0.0.69
func (c UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON() ([]byte, error)
func (*UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON(b []byte) error
func (UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) Value ¶ added in v0.0.90
func (c UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) Value() string
type UpdateTransferRequestBodyLogTransferInfoLogStorageFormatEnum ¶ added in v0.0.69
type UpdateTransferRequestBodyLogTransferInfoLogStorageFormatEnum struct { JSON UpdateTransferRequestBodyLogTransferInfoLogStorageFormat RAW UpdateTransferRequestBodyLogTransferInfoLogStorageFormat }
func GetUpdateTransferRequestBodyLogTransferInfoLogStorageFormatEnum ¶ added in v0.0.69
func GetUpdateTransferRequestBodyLogTransferInfoLogStorageFormatEnum() UpdateTransferRequestBodyLogTransferInfoLogStorageFormatEnum
type UpdateTransferRequestBodyLogTransferInfoLogTransferStatus ¶ added in v0.0.69
type UpdateTransferRequestBodyLogTransferInfoLogTransferStatus struct {
// contains filtered or unexported fields
}
func (UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) MarshalJSON ¶ added in v0.0.69
func (c UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) MarshalJSON() ([]byte, error)
func (*UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) UnmarshalJSON(b []byte) error
func (UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) Value ¶ added in v0.0.90
func (c UpdateTransferRequestBodyLogTransferInfoLogTransferStatus) Value() string
type UpdateTransferRequestBodyLogTransferInfoLogTransferStatusEnum ¶ added in v0.0.69
type UpdateTransferRequestBodyLogTransferInfoLogTransferStatusEnum struct { ENABLE UpdateTransferRequestBodyLogTransferInfoLogTransferStatus DISABLE UpdateTransferRequestBodyLogTransferInfoLogTransferStatus EXCEPTION UpdateTransferRequestBodyLogTransferInfoLogTransferStatus }
func GetUpdateTransferRequestBodyLogTransferInfoLogTransferStatusEnum ¶ added in v0.0.69
func GetUpdateTransferRequestBodyLogTransferInfoLogTransferStatusEnum() UpdateTransferRequestBodyLogTransferInfoLogTransferStatusEnum
type UpdateTransferResponse ¶ added in v0.0.69
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 ¶ added in v0.0.69
func (o UpdateTransferResponse) String() string
Source Files ¶
- model_access_config_base_log_info.go
- model_access_config_base_log_info_create.go
- model_access_config_deatil_create.go
- model_access_config_format_create.go
- model_access_config_format_mutil_create.go
- model_access_config_format_single_create.go
- model_access_config_host_group_id_list.go
- model_access_config_host_group_id_list_create.go
- model_access_config_info.go
- model_access_config_query_log_info.go
- model_access_config_tag.go
- model_access_config_time_offset_create.go
- model_access_config_windows_log_info_create.go
- model_annotations.go
- model_aom_mapping_log_stream_info.go
- model_aom_mapping_request_info.go
- model_aom_mapping_rule_info.go
- model_aom_mapping_rule_resp.go
- model_aom_mappingfiles_info.go
- model_brief_struct_template_model.go
- model_change_alarm_rule_status.go
- model_chart_config.go
- model_create_access_config_request.go
- model_create_access_config_request_body.go
- model_create_access_config_response.go
- model_create_aom_mapping_rules_request.go
- model_create_aom_mapping_rules_response.go
- model_create_dash_board_req_body.go
- model_create_dash_board_request.go
- model_create_dash_board_response.go
- model_create_dashboard_group_req.go
- model_create_dashboard_group_request.go
- model_create_dashboard_group_response.go
- model_create_host_group_request.go
- model_create_host_group_request_body.go
- model_create_host_group_response.go
- model_create_keywords_alarm_rule_request.go
- model_create_keywords_alarm_rule_request_body.go
- model_create_keywords_alarm_rule_response.go
- model_create_log_dump_obs_request.go
- model_create_log_dump_obs_request_body.go
- model_create_log_dump_obs_response.go
- model_create_log_group_params.go
- model_create_log_group_request.go
- model_create_log_group_response.go
- model_create_log_stream_params.go
- model_create_log_stream_request.go
- model_create_log_stream_response.go
- model_create_notification_template_request.go
- model_create_notification_template_request_body.go
- model_create_notification_template_response.go
- model_create_search_criterias_body.go
- model_create_search_criterias_request.go
- model_create_search_criterias_response.go
- model_create_sql_alarm_rule_request.go
- model_create_sql_alarm_rule_request_body.go
- model_create_sql_alarm_rule_response.go
- model_create_struct_config_request.go
- model_create_struct_config_response.go
- model_create_struct_template_request.go
- model_create_struct_template_response.go
- model_create_tags_reqbody.go
- model_create_tags_request.go
- model_create_tags_response.go
- model_create_transfer_request.go
- model_create_transfer_request_body.go
- model_create_transfer_request_body_log_streams.go
- model_create_transfer_request_body_log_transfer_info.go
- model_create_transfer_request_body_log_transfer_info_log_agency_transfer.go
- model_create_transfer_response.go
- model_create_transfer_response_body.go
- model_create_transfer_response_body_log_streams.go
- model_create_transfer_response_body_log_transfer_info.go
- model_create_transfer_response_body_log_transfer_info_log_agency_transfer.go
- model_createfavorite_reqbody.go
- model_createfavorite_request.go
- model_createfavorite_response.go
- model_delete_access_config_request.go
- model_delete_access_config_request_body.go
- model_delete_access_config_response.go
- model_delete_active_alarms_request.go
- model_delete_active_alarms_request_body.go
- model_delete_active_alarms_response.go
- model_delete_aom_mapping_rules_request.go
- model_delete_aom_mapping_rules_response.go
- model_delete_dashboard_request.go
- model_delete_dashboard_response.go
- model_delete_host_group_request.go
- model_delete_host_group_request_body.go
- model_delete_host_group_response.go
- model_delete_keywords_alarm_rule_request.go
- model_delete_keywords_alarm_rule_response.go
- model_delete_log_group_request.go
- model_delete_log_group_response.go
- model_delete_log_stream_request.go
- model_delete_log_stream_response.go
- model_delete_notification_template_body.go
- model_delete_notification_template_request.go
- model_delete_notification_template_response.go
- model_delete_search_criterias.go
- model_delete_search_criterias_request.go
- model_delete_search_criterias_response.go
- model_delete_sql_alarm_rule_request.go
- model_delete_sql_alarm_rule_response.go
- model_delete_struct_template_req_body.go
- model_delete_struct_template_request.go
- model_delete_struct_template_response.go
- model_delete_transfer_request.go
- model_delete_transfer_response.go
- model_deletefavorite_request.go
- model_deletefavorite_response.go
- model_demo_field.go
- model_disable_log_collection_request.go
- model_disable_log_collection_response.go
- model_enable_log_collection_request.go
- model_enable_log_collection_response.go
- model_event.go
- model_events.go
- model_field_model.go
- model_frequency.go
- model_get_access_config_list_request_body.go
- model_get_host_group_info.go
- model_get_host_group_list_filter.go
- model_get_host_group_list_request_body.go
- model_get_host_group_list_tag.go
- model_get_host_list_filter.go
- model_get_host_list_info.go
- model_get_host_list_request_body.go
- model_get_query_search_criterias_body.go
- model_host_group_tag.go
- model_keywords_alarm_rule_resp_list.go
- model_keywords_request.go
- model_list_access_config_request.go
- model_list_access_config_response.go
- model_list_active_or_history_alarms_request.go
- model_list_active_or_history_alarms_request_body.go
- model_list_active_or_history_alarms_response.go
- model_list_breif_struct_template_request.go
- model_list_breif_struct_template_response.go
- model_list_charts_request.go
- model_list_charts_response.go
- model_list_criterias_request.go
- model_list_criterias_response.go
- model_list_history_sql_request.go
- model_list_history_sql_response.go
- model_list_host_group_request.go
- model_list_host_group_response.go
- model_list_host_request.go
- model_list_host_response.go
- model_list_keywords_alarm_rules_request.go
- model_list_keywords_alarm_rules_response.go
- model_list_log_groups_request.go
- model_list_log_groups_response.go
- model_list_log_histogram_request.go
- model_list_log_histogram_response.go
- model_list_log_stream_request.go
- model_list_log_stream_response.go
- model_list_log_streams_request.go
- model_list_log_streams_response.go
- model_list_log_streams_response_body1_log_streams.go
- model_list_logs_request.go
- model_list_logs_response.go
- model_list_notification_template_request.go
- model_list_notification_template_response.go
- model_list_notification_templates_request.go
- model_list_notification_templates_response.go
- model_list_notification_topics_request.go
- model_list_notification_topics_response.go
- model_list_query_all_search_criterias_request.go
- model_list_query_all_search_criterias_response.go
- model_list_query_structured_logs_request.go
- model_list_query_structured_logs_response.go
- model_list_sql_alarm_rules_request.go
- model_list_sql_alarm_rules_response.go
- model_list_struct_template_request.go
- model_list_struct_template_response.go
- model_list_structured_logs_with_time_range_request.go
- model_list_structured_logs_with_time_range_response.go
- model_list_time_line_traffic_statistics_request.go
- model_list_time_line_traffic_statistics_response.go
- model_list_topn_traffic_statistics_request.go
- model_list_topn_traffic_statistics_response.go
- model_list_transfers_request.go
- model_list_transfers_response.go
- model_log_contents.go
- model_log_group.go
- model_log_stream.go
- model_lts_struct_template_info.go
- model_metadata.go
- model_notification_template.go
- model_page_info.go
- model_preview_template_body.go
- model_quert_history_sql_results_body.go
- model_query_log_key_word_count_request_body.go
- model_query_lts_log_params.go
- model_query_lts_struct_log_params.go
- model_query_lts_struct_log_params_new.go
- model_register_dms_kafka_instance_request.go
- model_register_dms_kafka_instance_request_body.go
- model_register_dms_kafka_instance_request_body_connect_info.go
- model_register_dms_kafka_instance_response.go
- model_resulits.go
- model_results_topn_body.go
- model_rule.go
- model_search_criterias_body.go
- model_show_aom_mapping_rule_request.go
- model_show_aom_mapping_rule_response.go
- model_show_aom_mapping_rules_request.go
- model_show_aom_mapping_rules_response.go
- model_show_notification_template_request.go
- model_show_notification_template_response.go
- model_show_struct_template_request.go
- model_show_struct_template_response.go
- model_show_struct_template_rule.go
- model_show_struct_templatecluster_info.go
- model_sort.go
- model_sql_alarm_rule_resp_list.go
- model_sql_notification_save_rule.go
- model_sql_request.go
- model_struct_config.go
- model_struct_field_info.go
- model_struct_field_info_return.go
- model_struct_log_contents.go
- model_struct_template.go
- model_struct_template_model.go
- model_sub_template.go
- model_tag_field.go
- model_tag_field_new.go
- model_tag_fields_info.go
- model_tags_body.go
- model_template_rule.go
- model_time_range.go
- model_timeline_traffic_statistics_request_body.go
- model_topics.go
- model_topn_requst_body.go
- model_transfer_detail.go
- model_update_access_config_request.go
- model_update_access_config_request_body.go
- model_update_access_config_response.go
- model_update_alarm_rule_status_request.go
- model_update_alarm_rule_status_response.go
- model_update_aom_mapping_request.go
- model_update_aom_mapping_rules_request.go
- model_update_aom_mapping_rules_response.go
- model_update_host_group_request.go
- model_update_host_group_request_body.go
- model_update_host_group_response.go
- model_update_keywords_alarm_rule_request.go
- model_update_keywords_alarm_rule_request_body.go
- model_update_keywords_alarm_rule_response.go
- model_update_log_group_params.go
- model_update_log_group_request.go
- model_update_log_group_response.go
- model_update_log_stream_params.go
- model_update_log_stream_request.go
- model_update_log_stream_response.go
- model_update_notification_template_request.go
- model_update_notification_template_response.go
- model_update_sql_alarm_rule_request.go
- model_update_sql_alarm_rule_request_body.go
- model_update_sql_alarm_rule_response.go
- model_update_struct_config_request.go
- model_update_struct_config_response.go
- model_update_struct_template_request.go
- model_update_struct_template_response.go
- model_update_transfer_request.go
- model_update_transfer_request_body.go
- model_update_transfer_request_body_log_transfer_info.go
- model_update_transfer_response.go