model

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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 ChangeAlarmRuleStatus added in v0.0.69

type ChangeAlarmRuleStatus struct {
	AlarmRuleId *string `json:"alarm_rule_id,omitempty"`

	Status *string `json:"status,omitempty"`

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

改变告警规则状态

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 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 CreateNotificationTemplateRequest added in v0.0.69

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

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

Request Object

func (CreateNotificationTemplateRequest) String added in v0.0.69

type CreateNotificationTemplateRequestBody added in v0.0.69

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

	Type *[]string `json:"type,omitempty"`

	Desc string `json:"desc"`

	Source string `json:"source"`

	Locale CreateNotificationTemplateRequestBodyLocale `json:"locale"`

	Templates []SubTemplate `json:"templates"`
}

创建通知规则请求体

func (CreateNotificationTemplateRequestBody) String added in v0.0.69

type CreateNotificationTemplateRequestBodyLocale added in v0.0.69

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

func (CreateNotificationTemplateRequestBodyLocale) MarshalJSON added in v0.0.69

func (*CreateNotificationTemplateRequestBodyLocale) UnmarshalJSON added in v0.0.69

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

	Type *[]string `json:"type,omitempty"`

	Desc *string `json:"desc,omitempty"`

	Source *string `json:"source,omitempty"`

	Locale *CreateNotificationTemplateResponseLocale `json:"locale,omitempty"`

	Templates      *[]SubTemplate `json:"templates,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (CreateNotificationTemplateResponse) String added in v0.0.69

type CreateNotificationTemplateResponseLocale added in v0.0.69

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

func (CreateNotificationTemplateResponseLocale) MarshalJSON added in v0.0.69

func (*CreateNotificationTemplateResponseLocale) UnmarshalJSON added in v0.0.69

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

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 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 CreateTransferRequest added in v0.0.69

type CreateTransferRequest struct {
	Body *CreateTransferRequestBody `json:"body,omitempty"`
}

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 {
	LogGroupId string `json:"log_group_id"`

	LogStreams []CreateTransferRequestBodyLogStreams `json:"log_streams"`

	LogTransferInfo *CreateTransferRequestBodyLogTransferInfo `json:"log_transfer_info"`
}

创建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 {
	LogStreamId string `json:"log_stream_id"`
}

func (CreateTransferRequestBodyLogStreams) String added in v0.0.69

type CreateTransferRequestBodyLogTransferInfo added in v0.0.69

type CreateTransferRequestBodyLogTransferInfo struct {
	LogTransferType string `json:"log_transfer_type"`

	LogTransferMode CreateTransferRequestBodyLogTransferInfoLogTransferMode `json:"log_transfer_mode"`

	LogStorageFormat CreateTransferRequestBodyLogTransferInfoLogStorageFormat `json:"log_storage_format"`

	LogTransferStatus CreateTransferRequestBodyLogTransferInfoLogTransferStatus `json:"log_transfer_status"`

	LogAgencyTransfer *CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer `json:"log_agency_transfer,omitempty"`

	LogTransferDetail *TransferDetail `json:"log_transfer_detail"`
}

日志转储信息

func (CreateTransferRequestBodyLogTransferInfo) String added in v0.0.69

type CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer added in v0.0.69

type CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer struct {
	AgencyDomainId string `json:"agency_domain_id"`

	AgencyDomainName string `json:"agency_domain_name"`

	AgencyName string `json:"agency_name"`

	AgencyProjectId string `json:"agency_project_id"`

	BeAgencyDomainId string `json:"be_agency_domain_id"`

	BeAgencyProjectId string `json:"be_agency_project_id"`
}

委托转储信息。若配置委托转储,则需要输入该参数

func (CreateTransferRequestBodyLogTransferInfoLogAgencyTransfer) String added in v0.0.69

type CreateTransferRequestBodyLogTransferInfoLogStorageFormat added in v0.0.69

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

func (CreateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON added in v0.0.69

func (*CreateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON added in v0.0.69

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

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

type CreateTransferResponse added in v0.0.69

type CreateTransferResponse struct {
	LogGroupId *string `json:"log_group_id,omitempty"`

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

	LogStreams *[]CreateTransferResponseBodyLogStreams `json:"log_streams,omitempty"`

	LogTransferId *string `json:"log_transfer_id,omitempty"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info,omitempty"`
	HttpStatusCode  int                                        `json:"-"`
}

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 {
	LogGroupId string `json:"log_group_id"`

	LogGroupName string `json:"log_group_name"`

	LogStreams []CreateTransferResponseBodyLogStreams `json:"log_streams"`

	LogTransferId string `json:"log_transfer_id"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info"`
}

func (CreateTransferResponseBody) String added in v0.0.69

type CreateTransferResponseBodyLogStreams added in v0.0.69

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

	LogStreamName string `json:"log_stream_name"`
}

func (CreateTransferResponseBodyLogStreams) String added in v0.0.69

type CreateTransferResponseBodyLogTransferInfo added in v0.0.69

type CreateTransferResponseBodyLogTransferInfo struct {
	LogAgencyTransfer *CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer `json:"log_agency_transfer,omitempty"`

	LogCreateTime int64 `json:"log_create_time"`

	LogStorageFormat CreateTransferResponseBodyLogTransferInfoLogStorageFormat `json:"log_storage_format"`

	LogTransferDetail *TransferDetail `json:"log_transfer_detail"`

	LogTransferMode CreateTransferResponseBodyLogTransferInfoLogTransferMode `json:"log_transfer_mode"`

	LogTransferStatus CreateTransferResponseBodyLogTransferInfoLogTransferStatus `json:"log_transfer_status"`

	LogTransferType CreateTransferResponseBodyLogTransferInfoLogTransferType `json:"log_transfer_type"`
}

日志转储信息

func (CreateTransferResponseBodyLogTransferInfo) String added in v0.0.69

type CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer added in v0.0.69

type CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer struct {
	AgencyDomainId string `json:"agency_domain_id"`

	AgencyDomainName string `json:"agency_domain_name"`

	AgencyName string `json:"agency_name"`

	AgencyProjectId string `json:"agency_project_id"`

	BeAgencyDomainId string `json:"be_agency_domain_id"`

	BeAgencyProjectId string `json:"be_agency_project_id"`
}

委托转储信息。若转储为委托转储,则会返回该参数

func (CreateTransferResponseBodyLogTransferInfoLogAgencyTransfer) String added in v0.0.69

type CreateTransferResponseBodyLogTransferInfoLogStorageFormat added in v0.0.69

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

func (CreateTransferResponseBodyLogTransferInfoLogStorageFormat) MarshalJSON added in v0.0.69

func (*CreateTransferResponseBodyLogTransferInfoLogStorageFormat) UnmarshalJSON added in v0.0.69

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

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

type CreateTransferResponseBodyLogTransferInfoLogTransferType added in v0.0.69

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

func (CreateTransferResponseBodyLogTransferInfoLogTransferType) MarshalJSON added in v0.0.69

func (*CreateTransferResponseBodyLogTransferInfoLogTransferType) UnmarshalJSON added in v0.0.69

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 DeleteNotificationTemplateBody added in v0.0.69

type DeleteNotificationTemplateBody struct {
	TemplateNames []string `json:"template_names"`
}

删除通知模板参数体

func (DeleteNotificationTemplateBody) String added in v0.0.69

type DeleteNotificationTemplateRequest added in v0.0.69

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

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

Request Object

func (DeleteNotificationTemplateRequest) String added in v0.0.69

type DeleteNotificationTemplateResponse added in v0.0.69

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

Response Object

func (DeleteNotificationTemplateResponse) String added in v0.0.69

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 DeleteTransferRequest added in v0.0.69

type DeleteTransferRequest struct {
	LogTransferId string `json:"log_transfer_id"`
}

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

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

	LogStreams *[]CreateTransferResponseBodyLogStreams `json:"log_streams,omitempty"`

	LogTransferId *string `json:"log_transfer_id,omitempty"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info,omitempty"`
	HttpStatusCode  int                                        `json:"-"`
}

Response Object

func (DeleteTransferResponse) String added in v0.0.69

func (o DeleteTransferResponse) String() string

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 ListLogStreamsRequest added in v0.0.69

type ListLogStreamsRequest struct {
	LogGroupName *string `json:"log_group_name,omitempty"`

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

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

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

	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

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 ListNotificationTemplateRequest added in v0.0.69

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

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

Request Object

func (ListNotificationTemplateRequest) String added in v0.0.69

type ListNotificationTemplateResponse added in v0.0.69

type ListNotificationTemplateResponse struct {
	Template       *string `json:"template,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListNotificationTemplateResponse) String added in v0.0.69

type ListNotificationTemplatesRequest added in v0.0.69

type ListNotificationTemplatesRequest struct {
	DomainId string `json:"domain_id"`
}

Request Object

func (ListNotificationTemplatesRequest) String added in v0.0.69

type ListNotificationTemplatesResponse added in v0.0.69

type ListNotificationTemplatesResponse struct {
	Results        *[]NotificationTemplate `json:"results,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListNotificationTemplatesResponse) String added in v0.0.69

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 ListTransfersRequest added in v0.0.69

type ListTransfersRequest struct {
	LogTransferType *ListTransfersRequestLogTransferType `json:"log_transfer_type,omitempty"`

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

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

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

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

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 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 NotificationTemplate added in v0.0.69

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

	Type *[]string `json:"type,omitempty"`

	Desc string `json:"desc"`

	Source string `json:"source"`

	Locale NotificationTemplateLocale `json:"locale"`

	Templates []SubTemplate `json:"templates"`

	CreateTime int64 `json:"create_time"`

	ModifyTime int64 `json:"modify_time"`

	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

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 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 PreviewTemplateBody added in v0.0.69

type PreviewTemplateBody struct {
	Templates string `json:"templates"`

	Language PreviewTemplateBodyLanguage `json:"language"`

	Source string `json:"source"`
}

预览邮件格式请求体

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

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 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 RegisterDmsKafkaInstanceRequest added in v0.0.69

type RegisterDmsKafkaInstanceRequest struct {
	Body *RegisterDmsKafkaInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (RegisterDmsKafkaInstanceRequest) String added in v0.0.69

type RegisterDmsKafkaInstanceRequestBody added in v0.0.69

type RegisterDmsKafkaInstanceRequestBody struct {
	InstanceId string `json:"instance_id"`

	KafkaName string `json:"kafka_name"`

	ConnectInfo *RegisterDmsKafkaInstanceRequestBodyConnectInfo `json:"connect_info"`
}

func (RegisterDmsKafkaInstanceRequestBody) String added in v0.0.69

type RegisterDmsKafkaInstanceRequestBodyConnectInfo added in v0.0.69

type RegisterDmsKafkaInstanceRequestBodyConnectInfo struct {
	UserName *string `json:"user_name,omitempty"`

	Pwd *string `json:"pwd,omitempty"`
}

kafka连接信息。购买kafka时,SASL_SSL是否配置,如果有,则需要填写账号密码

func (RegisterDmsKafkaInstanceRequestBodyConnectInfo) String added in v0.0.69

type RegisterDmsKafkaInstanceResponse added in v0.0.69

type RegisterDmsKafkaInstanceResponse struct {
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RegisterDmsKafkaInstanceResponse) String added in v0.0.69

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 ShowNotificationTemplateRequest added in v0.0.69

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

	TemplateName string `json:"template_name"`
}

Request Object

func (ShowNotificationTemplateRequest) String added in v0.0.69

type ShowNotificationTemplateResponse added in v0.0.69

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

	Type *[]string `json:"type,omitempty"`

	Desc string `json:"desc"`

	Source string `json:"source"`

	Locale ShowNotificationTemplateResponseLocale `json:"locale"`

	Templates []SubTemplate `json:"templates"`

	CreateTime int64 `json:"create_time"`

	ModifyTime int64 `json:"modify_time"`

	ProjectId      string `json:"project_id"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowNotificationTemplateResponse) String added in v0.0.69

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

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 {
	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 SubTemplate added in v0.0.69

type SubTemplate struct {
	SubType SubTemplateSubType `json:"sub_type"`

	Content string `json:"content"`
}

子模版数据结构

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

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 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 TransferDetail added in v0.0.69

type TransferDetail struct {
	ObsPeriod *TransferDetailObsPeriod `json:"obs_period,omitempty"`

	ObsEncryptedId *string `json:"obs_encrypted_id,omitempty"`

	ObsPrefixName *string `json:"obs_prefix_name,omitempty"`

	ObsPeriodUnit *string `json:"obs_period_unit,omitempty"`

	ObsTransferPath *string `json:"obs_transfer_path,omitempty"`

	ObsEpsId *string `json:"obs_eps_id,omitempty"`

	ObsBucketName *string `json:"obs_bucket_name,omitempty"`

	ObsEncryptedEnable *bool `json:"obs_encrypted_enable,omitempty"`

	ObsDirPreFixName *string `json:"obs_dir_pre_fix_name,omitempty"`

	DisId *string `json:"dis_id,omitempty"`

	DisName *string `json:"dis_name,omitempty"`

	KafkaId *string `json:"kafka_id,omitempty"`

	KafkaTopic *string `json:"kafka_topic,omitempty"`
}

日志转储详细信息

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

type TransferDetailObsPeriodEnum added in v0.0.69

func GetTransferDetailObsPeriodEnum added in v0.0.69

func GetTransferDetailObsPeriodEnum() TransferDetailObsPeriodEnum

type UpdateAlarmRuleStatusRequest added in v0.0.69

type UpdateAlarmRuleStatusRequest struct {
	Body *ChangeAlarmRuleStatus `json:"body,omitempty"`
}

Request Object

func (UpdateAlarmRuleStatusRequest) String added in v0.0.69

type UpdateAlarmRuleStatusResponse added in v0.0.69

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

Response Object

func (UpdateAlarmRuleStatusResponse) String added in v0.0.69

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 UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode `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 UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode added in v0.0.69

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

func (UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) MarshalJSON added in v0.0.69

func (*UpdateKeywordsAlarmRuleRequestBodyKeywordsAlarmSendCode) UnmarshalJSON added in v0.0.69

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 UpdateNotificationTemplateRequest added in v0.0.69

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

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

Request Object

func (UpdateNotificationTemplateRequest) String added in v0.0.69

type UpdateNotificationTemplateResponse added in v0.0.69

type UpdateNotificationTemplateResponse struct {
	Name *string `json:"name,omitempty"`

	Type *[]string `json:"type,omitempty"`

	Desc *string `json:"desc,omitempty"`

	Source *string `json:"source,omitempty"`

	Locale *UpdateNotificationTemplateResponseLocale `json:"locale,omitempty"`

	Templates      *[]SubTemplate `json:"templates,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (UpdateNotificationTemplateResponse) String added in v0.0.69

type UpdateNotificationTemplateResponseLocale added in v0.0.69

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

func (UpdateNotificationTemplateResponseLocale) MarshalJSON added in v0.0.69

func (*UpdateNotificationTemplateResponseLocale) UnmarshalJSON added in v0.0.69

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

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

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 UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode `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 UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode added in v0.0.69

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

func (UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) MarshalJSON added in v0.0.69

func (*UpdateSqlAlarmRuleRequestBodySqlAlarmSendCode) UnmarshalJSON added in v0.0.69

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

type UpdateTransferRequest added in v0.0.69

type UpdateTransferRequest struct {
	Body *UpdateTransferRequestBody `json:"body,omitempty"`
}

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 {
	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 {
	LogStorageFormat UpdateTransferRequestBodyLogTransferInfoLogStorageFormat `json:"log_storage_format"`

	LogTransferStatus UpdateTransferRequestBodyLogTransferInfoLogTransferStatus `json:"log_transfer_status"`

	LogTransferDetail *TransferDetail `json:"log_transfer_detail"`
}

日志转储信息

func (UpdateTransferRequestBodyLogTransferInfo) String added in v0.0.69

type UpdateTransferRequestBodyLogTransferInfoLogStorageFormat added in v0.0.69

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

func (UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) MarshalJSON added in v0.0.69

func (*UpdateTransferRequestBodyLogTransferInfoLogStorageFormat) UnmarshalJSON added in v0.0.69

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

type UpdateTransferResponse added in v0.0.69

type UpdateTransferResponse struct {
	LogGroupId *string `json:"log_group_id,omitempty"`

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

	LogStreams *[]CreateTransferResponseBodyLogStreams `json:"log_streams,omitempty"`

	LogTransferId *string `json:"log_transfer_id,omitempty"`

	LogTransferInfo *CreateTransferResponseBodyLogTransferInfo `json:"log_transfer_info,omitempty"`
	HttpStatusCode  int                                        `json:"-"`
}

Response Object

func (UpdateTransferResponse) String added in v0.0.69

func (o UpdateTransferResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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