model

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations added in v0.0.68

type Annotations struct {
	Message string `json:"message"`

	LogInfo string `json:"log_info"`

	CurrentValue string `json:"current_value"`

	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 {
	TargetLogGroupId string `json:"target_log_group_id"`

	TargetLogGroupName string `json:"target_log_group_name"`

	TargetLogStreamId *string `json:"target_log_stream_id,omitempty"`

	TargetLogStreamName *string `json:"target_log_stream_name,omitempty"`
}

func (AomMappingLogStreamInfo) String added in v0.0.68

func (o AomMappingLogStreamInfo) String() string

type AomMappingRequestInfo added in v0.0.68

type AomMappingRequestInfo struct {
	ProjectId string `json:"project_id"`

	RuleName string `json:"rule_name"`

	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 {
	ClusterId string `json:"cluster_id"`

	ClusterName string `json:"cluster_name"`

	Deployments []string `json:"deployments"`

	Namespace string `json:"namespace"`

	ContainerName string `json:"container_name"`

	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 {
	ProjectId string `json:"project_id"`

	RuleName string `json:"rule_name"`

	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 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 CreateAomMappingRulesRequest added in v0.0.68

type CreateAomMappingRulesRequest struct {
	IsBatch bool `json:"isBatch"`

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

Request Object

func (CreateAomMappingRulesRequest) String added in v0.0.68

type CreateAomMappingRulesResponse added in v0.0.68

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

Response Object

func (CreateAomMappingRulesResponse) String added in v0.0.68

type CreateKeywordsAlarmRuleRequest added in v0.0.68

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

Request Object

func (CreateKeywordsAlarmRuleRequest) String added in v0.0.68

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 string `json:"domain_id"`

	NotificationSaveRule *NotificationSaveRule `json:"notification_save_rule,omitempty"`

	WhetherEnglish bool `json:"whether_english"`
}

func (CreateKeywordsAlarmRuleRequestBody) String added in v0.0.68

type CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel added in v0.0.68

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

func (CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON added in v0.0.68

func (*CreateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON added in v0.0.68

type CreateKeywordsAlarmRuleResponse added in v0.0.68

type CreateKeywordsAlarmRuleResponse struct {
	KeywordsAlarmRuleId *string `json:"keywords_alarm_rule_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

Response Object

func (CreateKeywordsAlarmRuleResponse) String added in v0.0.68

type CreateLogDumpObsRequest

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

Request Object

func (CreateLogDumpObsRequest) String

func (o CreateLogDumpObsRequest) String() string

type CreateLogDumpObsRequestBody

type CreateLogDumpObsRequestBody struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamIds []string `json:"log_stream_ids"`

	ObsBucketName string `json:"obs_bucket_name"`

	Type string `json:"type"`

	StorageFormat string `json:"storage_format"`

	SwitchOn *bool `json:"switch_on,omitempty"`

	PrefixName *string `json:"prefix_name,omitempty"`

	DirPrefixName *string `json:"dir_prefix_name,omitempty"`

	Period int32 `json:"period"`

	PeriodUnit string `json:"period_unit"`
}

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

func (CreateLogDumpObsRequestBody) String

type CreateLogDumpObsResponse

type CreateLogDumpObsResponse struct {
	LogDumpObsId   *string `json:"log_dump_obs_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateLogDumpObsResponse) String

func (o CreateLogDumpObsResponse) String() string

type CreateLogGroupParams

type CreateLogGroupParams struct {
	LogGroupName string `json:"log_group_name"`

	TtlInDays int32 `json:"ttl_in_days"`
}

创建日志组参数。

func (CreateLogGroupParams) String

func (o CreateLogGroupParams) String() string

type CreateLogGroupRequest

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

Request Object

func (CreateLogGroupRequest) String

func (o CreateLogGroupRequest) String() string

type CreateLogGroupResponse

type CreateLogGroupResponse struct {
	LogGroupId     *string `json:"log_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateLogGroupResponse) String

func (o CreateLogGroupResponse) String() string

type CreateLogStreamParams

type CreateLogStreamParams struct {
	LogStreamName string `json:"log_stream_name"`
}

创建日志流参数。

func (CreateLogStreamParams) String

func (o CreateLogStreamParams) String() string

type CreateLogStreamRequest

type CreateLogStreamRequest struct {
	LogGroupId string `json:"log_group_id"`

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

Request Object

func (CreateLogStreamRequest) String

func (o CreateLogStreamRequest) String() string

type CreateLogStreamResponse

type CreateLogStreamResponse struct {
	LogStreamId    *string `json:"log_stream_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateLogStreamResponse) String

func (o CreateLogStreamResponse) String() string

type CreateSqlAlarmRuleRequest added in v0.0.68

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

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 {
	SqlAlarmRuleName string `json:"sql_alarm_rule_name"`

	SqlAlarmRuleDescription *string `json:"sql_alarm_rule_description,omitempty"`

	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 string `json:"domain_id"`

	NotificationSaveRule *NotificationSaveRule `json:"notification_save_rule,omitempty"`

	WhetherEnglish bool `json:"whether_english"`
}

func (CreateSqlAlarmRuleRequestBody) String added in v0.0.68

type CreateSqlAlarmRuleRequestBodySqlAlarmLevel added in v0.0.68

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

func (CreateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON added in v0.0.68

func (*CreateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON added in v0.0.68

type CreateSqlAlarmRuleResponse added in v0.0.68

type CreateSqlAlarmRuleResponse struct {
	SqlAlarmRuleId *string `json:"sql_alarm_rule_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSqlAlarmRuleResponse) String added in v0.0.68

type CreateStructTemplateRequest added in v0.0.68

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

Request Object

func (CreateStructTemplateRequest) String added in v0.0.68

type CreateStructTemplateResponse added in v0.0.68

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

Response Object

func (CreateStructTemplateResponse) String added in v0.0.68

type DeleteActiveAlarmsRequest added in v0.0.68

type DeleteActiveAlarmsRequest struct {
	DomainId string `json:"domain_id"`

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

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

type DeleteActiveAlarmsResponse added in v0.0.68

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

Response Object

func (DeleteActiveAlarmsResponse) String added in v0.0.68

type DeleteAomMappingRulesRequest added in v0.0.68

type DeleteAomMappingRulesRequest struct {
	Id string `json:"id"`
}

Request Object

func (DeleteAomMappingRulesRequest) String added in v0.0.68

type DeleteAomMappingRulesResponse added in v0.0.68

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

Response Object

func (DeleteAomMappingRulesResponse) String added in v0.0.68

type DeleteKeywordsAlarmRuleRequest added in v0.0.68

type DeleteKeywordsAlarmRuleRequest struct {
	KeywordsAlarmRuleId string `json:"keywords_alarm_rule_id"`
}

Request Object

func (DeleteKeywordsAlarmRuleRequest) String added in v0.0.68

type DeleteKeywordsAlarmRuleResponse added in v0.0.68

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

Response Object

func (DeleteKeywordsAlarmRuleResponse) String added in v0.0.68

type DeleteLogGroupRequest

type DeleteLogGroupRequest struct {
	LogGroupId string `json:"log_group_id"`
}

Request Object

func (DeleteLogGroupRequest) String

func (o DeleteLogGroupRequest) String() string

type DeleteLogGroupResponse

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

Response Object

func (DeleteLogGroupResponse) String

func (o DeleteLogGroupResponse) String() string

type DeleteLogStreamRequest

type DeleteLogStreamRequest struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamId string `json:"log_stream_id"`
}

Request Object

func (DeleteLogStreamRequest) String

func (o DeleteLogStreamRequest) String() string

type DeleteLogStreamResponse

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

Response Object

func (DeleteLogStreamResponse) String

func (o DeleteLogStreamResponse) String() string

type DeleteSqlAlarmRuleRequest added in v0.0.68

type DeleteSqlAlarmRuleRequest struct {
	SqlAlarmRuleId string `json:"sql_alarm_rule_id"`
}

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:"-"`
}

Response Object

func (DeleteSqlAlarmRuleResponse) String added in v0.0.68

type DeleteStructTemplateReqBody added in v0.0.68

type DeleteStructTemplateReqBody struct {
	StructTemplateId *string `json:"struct_template_id,omitempty"`
}

结构化配置

func (DeleteStructTemplateReqBody) String added in v0.0.68

type DeleteStructTemplateRequest added in v0.0.68

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

Request Object

func (DeleteStructTemplateRequest) String added in v0.0.68

type DeleteStructTemplateResponse added in v0.0.68

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

Response Object

func (DeleteStructTemplateResponse) String added in v0.0.68

type DisableLogCollectionRequest

type DisableLogCollectionRequest struct {
}

Request Object

func (DisableLogCollectionRequest) String

type DisableLogCollectionResponse

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

Response Object

func (DisableLogCollectionResponse) String

type EnableLogCollectionRequest

type EnableLogCollectionRequest struct {
}

Request Object

func (EnableLogCollectionRequest) String

type EnableLogCollectionResponse

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

Response Object

func (EnableLogCollectionResponse) String

type Event added in v0.0.68

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

	StartsAt *interface{} `json:"starts_at"`
}

func (Event) String added in v0.0.68

func (o Event) String() string

type Events added in v0.0.68

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

	Metadata *Metadata `json:"metadata"`

	ArrivesAt *interface{} `json:"arrives_at"`

	EndsAt *interface{} `json:"ends_at"`

	Id string `json:"id"`

	StartsAt *interface{} `json:"starts_at"`

	Timeout *interface{} `json:"timeout"`

	Type string `json:"type"`
}

func (Events) String added in v0.0.68

func (o Events) String() string

type Frequency added in v0.0.68

type Frequency struct {
	Type FrequencyType `json:"type"`

	CronExpr *string `json:"cron_expr,omitempty"`

	HourOfDay *int32 `json:"hour_of_day,omitempty"`

	DayOfWeek *int32 `json:"day_of_week,omitempty"`

	FixedRate *int32 `json:"fixed_rate,omitempty"`

	FixedRateUnit *FrequencyFixedRateUnit `json:"fixed_rate_unit,omitempty"`
}

func (Frequency) String added in v0.0.68

func (o Frequency) String() string

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

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

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 KeywordsAlarmRuleRespList added in v0.0.68

type KeywordsAlarmRuleRespList struct {
	ProjectId string `json:"project_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 string `json:"domain_id"`

	CreateTime *interface{} `json:"create_time"`

	UpdateTime *interface{} `json:"update_time"`

	Topics []Topics `json:"topics"`

	WhetherEnglish bool `json:"whether_english"`
}

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 (*KeywordsAlarmRuleRespListKeywordsAlarmLevel) UnmarshalJSON added in v0.0.68

type KeywordsRequest added in v0.0.68

type KeywordsRequest struct {
	EpsId *string `json:"eps_id,omitempty"`

	EpsName *string `json:"eps_name,omitempty"`

	LogStreamId string `json:"log_stream_id"`

	LogStreamName *string `json:"log_stream_name,omitempty"`

	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"`

	SearchTimeRange int32 `json:"search_time_range"`

	SearchTimeRangeUnit KeywordsRequestSearchTimeRangeUnit `json:"search_time_range_unit"`

	IsTimeRangeRelative *bool `json:"is_time_range_relative,omitempty"`
}

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

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

type KeywordsRequestSearchTimeRangeUnitEnum added in v0.0.68

type KeywordsRequestSearchTimeRangeUnitEnum struct {
	MINUTE KeywordsRequestSearchTimeRangeUnit
}

func GetKeywordsRequestSearchTimeRangeUnitEnum added in v0.0.68

func GetKeywordsRequestSearchTimeRangeUnitEnum() KeywordsRequestSearchTimeRangeUnitEnum

type ListActiveOrHistoryAlarmsRequest added in v0.0.68

type ListActiveOrHistoryAlarmsRequest struct {
	DomainId string `json:"domain_id"`

	Type ListActiveOrHistoryAlarmsRequestType `json:"type"`

	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

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

Request Object

func (ListActiveOrHistoryAlarmsRequest) String added in v0.0.68

type ListActiveOrHistoryAlarmsRequestBody added in v0.0.68

type ListActiveOrHistoryAlarmsRequestBody struct {
	Step *int32 `json:"step,omitempty"`

	WhetherCustomField bool `json:"whether_custom_field"`

	StartTime *interface{} `json:"start_time,omitempty"`

	EndTime *interface{} `json:"end_time,omitempty"`

	TimeRange *int32 `json:"time_range,omitempty"`

	Search *string `json:"search,omitempty"`

	AlarmLevelIds *[]string `json:"alarmLevelIds,omitempty"`

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

func (ListActiveOrHistoryAlarmsRequestBody) String added in v0.0.68

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

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:"-"`
}

Response Object

func (ListActiveOrHistoryAlarmsResponse) String added in v0.0.68

type ListChartsRequest added in v0.0.68

type ListChartsRequest struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamId string `json:"log_stream_id"`
}

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 *string `json:"id,omitempty"`

	Sql *string `json:"sql,omitempty"`

	Title *string `json:"title,omitempty"`

	Type *ListChartsResponseType `json:"type,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogGroupName *string `json:"log_group_name,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	LogStreamName *string `json:"log_stream_name,omitempty"`

	Config         *ChartConfig `json:"config,omitempty"`
	HttpStatusCode int          `json:"-"`
}

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

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 ListKeywordsAlarmRulesRequest added in v0.0.68

type ListKeywordsAlarmRulesRequest struct {
}

Request Object

func (ListKeywordsAlarmRulesRequest) String added in v0.0.68

type ListKeywordsAlarmRulesResponse added in v0.0.68

type ListKeywordsAlarmRulesResponse struct {
	KeywordsAlarmRules *[]KeywordsAlarmRuleRespList `json:"keywords_alarm_rules,omitempty"`
	HttpStatusCode     int                          `json:"-"`
}

Response Object

func (ListKeywordsAlarmRulesResponse) String added in v0.0.68

type ListLogGroupsRequest

type ListLogGroupsRequest struct {
}

Request Object

func (ListLogGroupsRequest) String

func (o ListLogGroupsRequest) String() string

type ListLogGroupsResponse

type ListLogGroupsResponse struct {
	LogGroups      *[]LogGroup `json:"log_groups,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListLogGroupsResponse) String

func (o ListLogGroupsResponse) String() string

type ListLogStreamRequest

type ListLogStreamRequest struct {
	LogGroupId string `json:"log_group_id"`

	Tag *string `json:"tag,omitempty"`
}

Request Object

func (ListLogStreamRequest) String

func (o ListLogStreamRequest) String() string

type ListLogStreamResponse

type ListLogStreamResponse struct {
	LogStreams     *[]LogStream `json:"log_streams,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListLogStreamResponse) String

func (o ListLogStreamResponse) String() string

type ListLogsRequest added in v0.0.51

type ListLogsRequest struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamId string `json:"log_stream_id"`

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

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 {
	Logs           *[]LogContents `json:"logs,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListLogsResponse) String added in v0.0.51

func (o ListLogsResponse) String() string

type ListNotificationTopicsRequest added in v0.0.68

type ListNotificationTopicsRequest struct {
	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`
}

Request Object

func (ListNotificationTopicsRequest) String added in v0.0.68

type ListNotificationTopicsResponse added in v0.0.68

type ListNotificationTopicsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	TopicCount *int32 `json:"topic_count,omitempty"`

	Topics         *[]Topics `json:"topics,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListNotificationTopicsResponse) String added in v0.0.68

type ListQueryStructuredLogsRequest added in v0.0.51

type ListQueryStructuredLogsRequest struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamId string `json:"log_stream_id"`

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

Request Object

func (ListQueryStructuredLogsRequest) String added in v0.0.51

type ListQueryStructuredLogsResponse added in v0.0.51

type ListQueryStructuredLogsResponse struct {
	StructLogs     *[]StructLogContents `json:"struct_logs,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListQueryStructuredLogsResponse) String added in v0.0.51

type ListSqlAlarmRulesRequest added in v0.0.68

type ListSqlAlarmRulesRequest struct {
}

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 {
	SqlAlarmRule   *[]SqlAlarmRuleRespList `json:"sql_alarm_rule,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListSqlAlarmRulesResponse) String added in v0.0.68

func (o ListSqlAlarmRulesResponse) String() string

type ListStructuredLogsWithTimeRangeRequest added in v0.0.51

type ListStructuredLogsWithTimeRangeRequest struct {
	LogStreamId string `json:"log_stream_id"`

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

Request Object

func (ListStructuredLogsWithTimeRangeRequest) String added in v0.0.51

type ListStructuredLogsWithTimeRangeResponse added in v0.0.51

type ListStructuredLogsWithTimeRangeResponse struct {
	Body           map[string][]interface{} `json:"body,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListStructuredLogsWithTimeRangeResponse) String added in v0.0.51

type LogContents

type LogContents struct {
	Content *string `json:"content,omitempty"`

	LineNum *string `json:"line_num,omitempty"`

	Labels map[string]string `json:"labels,omitempty"`
}

参数集

func (LogContents) String

func (o LogContents) String() string

type LogGroup

type LogGroup struct {
	CreationTime int64 `json:"creation_time"`

	LogGroupName string `json:"log_group_name"`

	LogGroupId string `json:"log_group_id"`

	TtlInDays int32 `json:"ttl_in_days"`
}

返回的日志组信息

func (LogGroup) String

func (o LogGroup) String() string

type LogStream

type LogStream struct {
	CreationTime int64 `json:"creation_time"`

	LogStreamName string `json:"log_stream_name"`

	LogStreamId string `json:"log_stream_id"`

	FilterCount int32 `json:"filter_count"`
}

返回的日志流信息

func (LogStream) String

func (o LogStream) String() string

type LtsStructTemplateInfo added in v0.0.68

type LtsStructTemplateInfo struct {
	DemoFields []StructFieldInfo `json:"demo_fields"`

	Content string `json:"content"`

	LogGroupId string `json:"log_group_id"`

	ParseType LtsStructTemplateInfoParseType `json:"parse_type"`

	LogStreamId string `json:"log_stream_id"`

	ProjectId string `json:"project_id"`

	RegexRules *string `json:"regex_rules,omitempty"`

	Layers *int32 `json:"layers,omitempty"`

	Tokenizer *string `json:"tokenizer,omitempty"`

	LogFormat *string `json:"log_format,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

type LtsStructTemplateInfoParseTypeEnum added in v0.0.68

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"`

	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"`

	LtsAlarmType string `json:"lts_alarm_type"`
}

func (Metadata) String added in v0.0.68

func (o Metadata) String() string

type NotificationSaveRule added in v0.0.68

type NotificationSaveRule struct {
	Language NotificationSaveRuleLanguage `json:"language"`

	Timezone *string `json:"timezone,omitempty"`

	UserName string `json:"user_name"`

	Topics []Topics `json:"topics"`
}

func (NotificationSaveRule) String added in v0.0.68

func (o NotificationSaveRule) String() string

type NotificationSaveRuleLanguage added in v0.0.68

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

func (NotificationSaveRuleLanguage) MarshalJSON added in v0.0.68

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

func (*NotificationSaveRuleLanguage) UnmarshalJSON added in v0.0.68

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

type NotificationSaveRuleLanguageEnum added in v0.0.68

type NotificationSaveRuleLanguageEnum struct {
	ZH_CN NotificationSaveRuleLanguage
	EN_US NotificationSaveRuleLanguage
}

func GetNotificationSaveRuleLanguageEnum added in v0.0.68

func GetNotificationSaveRuleLanguageEnum() NotificationSaveRuleLanguageEnum

type PageInfo added in v0.0.68

type PageInfo struct {
	NextMarker string `json:"next_marker"`

	PreviousMarker string `json:"previous_marker"`

	CurrentCount string `json:"current_count"`
}

func (PageInfo) String added in v0.0.68

func (o PageInfo) String() string

type QueryLtsLogParams

type QueryLtsLogParams struct {
	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	Labels map[string]string `json:"labels,omitempty"`

	Keywords *QueryLtsLogParamsKeywords `json:"keywords,omitempty"`

	LineNum *string `json:"line_num,omitempty"`

	IsDesc *bool `json:"is_desc,omitempty"`

	SearchType *QueryLtsLogParamsSearchType `json:"search_type,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Highlight *bool `json:"highlight,omitempty"`
}

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

func (QueryLtsLogParams) String

func (o QueryLtsLogParams) String() string

type QueryLtsLogParamsKeywords

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

func (QueryLtsLogParamsKeywords) MarshalJSON

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

func (*QueryLtsLogParamsKeywords) UnmarshalJSON

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

type QueryLtsLogParamsKeywordsEnum

type QueryLtsLogParamsKeywordsEnum struct {
	ERROR QueryLtsLogParamsKeywords
}

func GetQueryLtsLogParamsKeywordsEnum

func GetQueryLtsLogParamsKeywordsEnum() QueryLtsLogParamsKeywordsEnum

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

type QueryLtsLogParamsSearchTypeEnum

type QueryLtsLogParamsSearchTypeEnum struct {
	FORWARDS  QueryLtsLogParamsSearchType
	BACKWARDS QueryLtsLogParamsSearchType
}

func GetQueryLtsLogParamsSearchTypeEnum

func GetQueryLtsLogParamsSearchTypeEnum() QueryLtsLogParamsSearchTypeEnum

type QueryLtsStructLogParams

type QueryLtsStructLogParams struct {
	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	SqlExpression *string `json:"sql_expression,omitempty"`

	OriginalContent *bool `json:"original_content,omitempty"`
}

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

func (QueryLtsStructLogParams) String

func (o QueryLtsStructLogParams) String() string

type QueryLtsStructLogParamsNew

type QueryLtsStructLogParamsNew struct {
	Query string `json:"query"`

	Format string `json:"format"`

	TimeRange *TimeRange `json:"time_range"`
}

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

func (QueryLtsStructLogParamsNew) String

type ShowAomMappingRuleRequest added in v0.0.68

type ShowAomMappingRuleRequest struct {
	RuleId string `json:"rule_id"`
}

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:"-"`
}

Response Object

func (ShowAomMappingRuleResponse) String added in v0.0.68

type ShowAomMappingRulesRequest added in v0.0.68

type ShowAomMappingRulesRequest struct {
}

Request Object

func (ShowAomMappingRulesRequest) String added in v0.0.68

type ShowAomMappingRulesResponse added in v0.0.68

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

Response Object

func (ShowAomMappingRulesResponse) String added in v0.0.68

type ShowStructTemplateRequest added in v0.0.68

type ShowStructTemplateRequest struct {
	LogGroupId string `json:"logGroupId"`

	LogStreamId string `json:"logStreamId"`
}

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 *string `json:"id,omitempty"`

	LogGroupId *string `json:"logGroupId,omitempty"`

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

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

	LogStreamId *string `json:"logStreamId,omitempty"`

	ProjectId *string `json:"projectId,omitempty"`

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

	Regex          *string `json:"regex,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowStructTemplateResponse) String added in v0.0.68

type ShowStructTemplateRule added in v0.0.68

type ShowStructTemplateRule struct {
	Param *string `json:"param,omitempty"`

	Type *ShowStructTemplateRuleType `json:"type,omitempty"`
}

结构化类型。

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

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"`
}

结构化类型。

func (ShowStructTemplateclusterInfo) String added in v0.0.68

type Sort added in v0.0.68

type Sort struct {
	OrderBy []string `json:"order_by"`

	Order SortOrder `json:"order"`
}

func (Sort) String added in v0.0.68

func (o Sort) String() string

type SortOrder added in v0.0.68

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

func (SortOrder) MarshalJSON added in v0.0.68

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

func (*SortOrder) UnmarshalJSON added in v0.0.68

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

type SortOrderEnum added in v0.0.68

type SortOrderEnum struct {
	DESC SortOrder
	ASC  SortOrder
}

func GetSortOrderEnum added in v0.0.68

func GetSortOrderEnum() SortOrderEnum

type SqlAlarmRuleRespList added in v0.0.68

type SqlAlarmRuleRespList struct {
	SqlAlarmRuleName string `json:"sql_alarm_rule_name"`

	SqlAlarmRuleId string `json:"sql_alarm_rule_id"`

	SqlAlarmRuleDescription string `json:"sql_alarm_rule_description"`

	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 string `json:"domain_id"`

	CreateTime *interface{} `json:"create_time"`

	UpdateTime *interface{} `json:"update_time"`

	WhetherEnglish bool `json:"whether_english"`
}

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

type SqlAlarmRuleRespListSqlAlarmLevelEnum added in v0.0.68

func GetSqlAlarmRuleRespListSqlAlarmLevelEnum added in v0.0.68

func GetSqlAlarmRuleRespListSqlAlarmLevelEnum() SqlAlarmRuleRespListSqlAlarmLevelEnum

type SqlRequest added in v0.0.68

type SqlRequest struct {
	IsTimeRangeRelative *bool `json:"is_time_range_relative,omitempty"`

	LogStreamId string `json:"log_stream_id"`

	LogStreamName *string `json:"log_stream_name,omitempty"`

	LogGroupId string `json:"log_group_id"`

	LogGroupName *string `json:"log_group_name,omitempty"`

	Sql string `json:"sql"`

	SqlRequestTitle string `json:"sql_request_title"`

	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

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 StructFieldInfo added in v0.0.68

type StructFieldInfo struct {
	IsAnalysis bool `json:"isAnalysis"`

	Content *string `json:"content,omitempty"`

	FieldName *string `json:"fieldName,omitempty"`

	Type string `json:"type"`

	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"`
}

参数集

func (StructLogContents) String

func (o StructLogContents) String() string

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"`
}

调用成功时的返回值。

func (TagFieldsInfo) String added in v0.0.68

func (o TagFieldsInfo) String() string

type TimeRange added in v0.0.51

type TimeRange struct {
	SqlTimeZone *string `json:"sql_time_zone,omitempty"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	StartTimeGt *bool `json:"start_time_gt,omitempty"`

	EndTimeLt *bool `json:"end_time_lt,omitempty"`
}

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

func (TimeRange) String added in v0.0.51

func (o TimeRange) String() string

type Topics added in v0.0.68

type Topics struct {
	Name string `json:"name"`

	TopicUrn string `json:"topic_urn"`

	DisplayName *string `json:"display_name,omitempty"`

	PushPolicy *int32 `json:"push_policy,omitempty"`
}

func (Topics) String added in v0.0.68

func (o Topics) String() string

type UpdateAomMappingRulesRequest added in v0.0.68

type UpdateAomMappingRulesRequest struct {
	Body *AomMappingRequestInfo `json:"body,omitempty"`
}

Request Object

func (UpdateAomMappingRulesRequest) String added in v0.0.68

type UpdateAomMappingRulesResponse added in v0.0.68

type UpdateAomMappingRulesResponse struct {
	ProjectId *string `json:"project_id,omitempty"`

	RuleName *string `json:"rule_name,omitempty"`

	RuleId *string `json:"rule_id,omitempty"`

	RuleInfo       *AomMappingRuleInfo `json:"rule_info,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (UpdateAomMappingRulesResponse) String added in v0.0.68

type UpdateKeywordsAlarmRuleRequest added in v0.0.68

type UpdateKeywordsAlarmRuleRequest struct {
	Body *UpdateKeywordsAlarmRuleRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateKeywordsAlarmRuleRequest) String added in v0.0.68

type UpdateKeywordsAlarmRuleRequestBody added in v0.0.68

type UpdateKeywordsAlarmRuleRequestBody struct {
	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"`

	KeywordsAlarmSendCode int32 `json:"keywords_alarm_send_code"`

	DomainId string `json:"domain_id"`

	NotificationSaveRule *NotificationSaveRule `json:"notification_save_rule,omitempty"`

	WhetherEnglish bool `json:"whether_english"`
}

func (UpdateKeywordsAlarmRuleRequestBody) String added in v0.0.68

type UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel added in v0.0.68

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

func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) MarshalJSON added in v0.0.68

func (*UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmLevel) UnmarshalJSON added in v0.0.68

type UpdateKeywordsAlarmRuleResponse added in v0.0.68

type UpdateKeywordsAlarmRuleResponse struct {
	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 *string `json:"domain_id,omitempty"`

	CreateTime *interface{} `json:"create_time,omitempty"`

	UpdateTime *interface{} `json:"update_time,omitempty"`

	NotificationSaveRule *NotificationSaveRule `json:"notification_save_rule,omitempty"`

	WhetherEnglish *bool `json:"whether_english,omitempty"`

	Language *string `json:"language,omitempty"`

	ProjectId *string `json:"projectId,omitempty"`

	Topics *[]Topics `json:"topics,omitempty"`

	ConditionExpression *string `json:"condition_expression,omitempty"`

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

	IndexId *string `json:"indexId,omitempty"`

	Key            *string `json:"key,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateKeywordsAlarmRuleResponse) String added in v0.0.68

type UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel added in v0.0.68

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

func (UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) MarshalJSON added in v0.0.68

func (*UpdateKeywordsAlarmRuleResponseKeywordsAlarmLevel) UnmarshalJSON added in v0.0.68

type UpdateLogGroupParams

type UpdateLogGroupParams struct {
	TtlInDays int32 `json:"ttl_in_days"`
}

修改日志组的参数。

func (UpdateLogGroupParams) String

func (o UpdateLogGroupParams) String() string

type UpdateLogGroupRequest

type UpdateLogGroupRequest struct {
	LogGroupId string `json:"log_group_id"`

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

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"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	TtlInDays      *int32 `json:"ttl_in_days,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateLogGroupResponse) String

func (o UpdateLogGroupResponse) String() string

type UpdateSqlAlarmRuleRequest added in v0.0.68

type UpdateSqlAlarmRuleRequest struct {
	Body *UpdateSqlAlarmRuleRequestBody `json:"body,omitempty"`
}

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 {
	SqlAlarmRuleId string `json:"sql_alarm_rule_id"`

	SqlAlarmRuleName string `json:"sql_alarm_rule_name"`

	SqlAlarmRuleDescription *string `json:"sql_alarm_rule_description,omitempty"`

	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"`

	SqlAlarmSendCode int32 `json:"sql_alarm_send_code"`

	DomainId string `json:"domain_id"`

	NotificationSaveRule *NotificationSaveRule `json:"notification_save_rule,omitempty"`

	WhetherEnglish bool `json:"whether_english"`
}

func (UpdateSqlAlarmRuleRequestBody) String added in v0.0.68

type UpdateSqlAlarmRuleRequestBodySqlAlarmLevel added in v0.0.68

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

func (UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) MarshalJSON added in v0.0.68

func (*UpdateSqlAlarmRuleRequestBodySqlAlarmLevel) UnmarshalJSON added in v0.0.68

type UpdateSqlAlarmRuleResponse added in v0.0.68

type UpdateSqlAlarmRuleResponse struct {
	Id *string `json:"id,omitempty"`

	IndexId *string `json:"indexId,omitempty"`

	Key *string `json:"key,omitempty"`

	Language *string `json:"language,omitempty"`

	ProjectId *string `json:"projectId,omitempty"`

	SqlAlarmRuleName *string `json:"sql_alarm_rule_name,omitempty"`

	SqlAlarmRuleId *string `json:"sql_alarm_rule_id,omitempty"`

	SqlAlarmRuleDescription *string `json:"sql_alarm_rule_description,omitempty"`

	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 *string `json:"domain_id,omitempty"`

	CreateTime *interface{} `json:"create_time,omitempty"`

	UpdateTime *interface{} `json:"update_time,omitempty"`

	Topics         *[]Topics `json:"topics,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateSqlAlarmRuleResponse) String added in v0.0.68

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

type UpdateStructTemplateRequest added in v0.0.68

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

Request Object

func (UpdateStructTemplateRequest) String added in v0.0.68

type UpdateStructTemplateResponse added in v0.0.68

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

Response Object

func (UpdateStructTemplateResponse) String added in v0.0.68

Source Files

Jump to

Keyboard shortcuts

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