model

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 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 BaseUser

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

	Name *string `json:"name,omitempty"`
}

用户信息。

func (BaseUser) String

func (o BaseUser) String() string

type CreateNotificationRequest added in v0.0.68

type CreateNotificationRequest struct {
	Body *CreateNotificationRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateNotificationRequest) String added in v0.0.68

func (o CreateNotificationRequest) String() string

type CreateNotificationRequestBody added in v0.0.68

type CreateNotificationRequestBody struct {
	NotificationName string `json:"notification_name"`

	OperationType CreateNotificationRequestBodyOperationType `json:"operation_type"`

	Operations *[]Operations `json:"operations,omitempty"`

	NotifyUserList *[]NotificationUsers `json:"notify_user_list,omitempty"`

	TopicId *string `json:"topic_id,omitempty"`
}

创建通知规则的请求体

func (CreateNotificationRequestBody) String added in v0.0.68

type CreateNotificationRequestBodyOperationType added in v0.0.68

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

func (CreateNotificationRequestBodyOperationType) MarshalJSON added in v0.0.68

func (*CreateNotificationRequestBodyOperationType) UnmarshalJSON added in v0.0.68

type CreateNotificationRequestBodyOperationTypeEnum added in v0.0.68

type CreateNotificationRequestBodyOperationTypeEnum struct {
	COMPLETE   CreateNotificationRequestBodyOperationType
	CUSTOMIZED CreateNotificationRequestBodyOperationType
}

func GetCreateNotificationRequestBodyOperationTypeEnum added in v0.0.68

func GetCreateNotificationRequestBodyOperationTypeEnum() CreateNotificationRequestBodyOperationTypeEnum

type CreateNotificationResponse added in v0.0.68

type CreateNotificationResponse struct {
	NotificationName *string `json:"notification_name,omitempty"`

	OperationType *CreateNotificationResponseOperationType `json:"operation_type,omitempty"`

	Operations *[]Operations `json:"operations,omitempty"`

	NotifyUserList *[]NotificationUsers `json:"notify_user_list,omitempty"`

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

	TopicId *string `json:"topic_id,omitempty"`

	NotificationId *string `json:"notification_id,omitempty"`

	NotificationType *CreateNotificationResponseNotificationType `json:"notification_type,omitempty"`

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

	CreateTime     *int64 `json:"create_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateNotificationResponse) String added in v0.0.68

type CreateNotificationResponseNotificationType added in v0.0.68

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

func (CreateNotificationResponseNotificationType) MarshalJSON added in v0.0.68

func (*CreateNotificationResponseNotificationType) UnmarshalJSON added in v0.0.68

type CreateNotificationResponseNotificationTypeEnum added in v0.0.68

type CreateNotificationResponseNotificationTypeEnum struct {
	SMN CreateNotificationResponseNotificationType
	FUN CreateNotificationResponseNotificationType
}

func GetCreateNotificationResponseNotificationTypeEnum added in v0.0.68

func GetCreateNotificationResponseNotificationTypeEnum() CreateNotificationResponseNotificationTypeEnum

type CreateNotificationResponseOperationType added in v0.0.68

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

func (CreateNotificationResponseOperationType) MarshalJSON added in v0.0.68

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

func (*CreateNotificationResponseOperationType) UnmarshalJSON added in v0.0.68

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

type CreateNotificationResponseOperationTypeEnum added in v0.0.68

type CreateNotificationResponseOperationTypeEnum struct {
	CUSTOMIZED CreateNotificationResponseOperationType
	COMPLETE   CreateNotificationResponseOperationType
}

func GetCreateNotificationResponseOperationTypeEnum added in v0.0.68

func GetCreateNotificationResponseOperationTypeEnum() CreateNotificationResponseOperationTypeEnum

type CreateNotificationResponseStatus added in v0.0.68

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

func (CreateNotificationResponseStatus) MarshalJSON added in v0.0.68

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

func (*CreateNotificationResponseStatus) UnmarshalJSON added in v0.0.68

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

type CreateNotificationResponseStatusEnum added in v0.0.68

type CreateNotificationResponseStatusEnum struct {
	ENABLED  CreateNotificationResponseStatus
	DISABLED CreateNotificationResponseStatus
}

func GetCreateNotificationResponseStatusEnum added in v0.0.68

func GetCreateNotificationResponseStatusEnum() CreateNotificationResponseStatusEnum

type CreateTrackerRequest

type CreateTrackerRequest struct {
	Body *CreateTrackerRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTrackerRequest) String

func (o CreateTrackerRequest) String() string

type CreateTrackerRequestBody

type CreateTrackerRequestBody struct {
	TrackerType CreateTrackerRequestBodyTrackerType `json:"tracker_type"`

	TrackerName string `json:"tracker_name"`

	IsLtsEnabled *bool `json:"is_lts_enabled,omitempty"`

	ObsInfo *TrackerObsInfo `json:"obs_info,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	DataBucket *DataBucket `json:"data_bucket,omitempty"`
}

func (CreateTrackerRequestBody) String

func (o CreateTrackerRequestBody) String() string

type CreateTrackerRequestBodyTrackerType

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

func (CreateTrackerRequestBodyTrackerType) MarshalJSON

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

func (*CreateTrackerRequestBodyTrackerType) UnmarshalJSON

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

type CreateTrackerRequestBodyTrackerTypeEnum

type CreateTrackerRequestBodyTrackerTypeEnum struct {
	SYSTEM CreateTrackerRequestBodyTrackerType
	DATA   CreateTrackerRequestBodyTrackerType
}

func GetCreateTrackerRequestBodyTrackerTypeEnum

func GetCreateTrackerRequestBodyTrackerTypeEnum() CreateTrackerRequestBodyTrackerTypeEnum

type CreateTrackerResponse

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

	CreateTime *int64 `json:"create_time,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	Lts *Lts `json:"lts,omitempty"`

	TrackerType *CreateTrackerResponseTrackerType `json:"tracker_type,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

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

	TrackerName *string `json:"tracker_name,omitempty"`

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

	Detail *string `json:"detail,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	ObsInfo *ObsInfo `json:"obs_info,omitempty"`

	DataBucket     *DataBucketQuery `json:"data_bucket,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateTrackerResponse) String

func (o CreateTrackerResponse) String() string

type CreateTrackerResponseStatus

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

func (CreateTrackerResponseStatus) MarshalJSON

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

func (*CreateTrackerResponseStatus) UnmarshalJSON

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

type CreateTrackerResponseStatusEnum

type CreateTrackerResponseStatusEnum struct {
	ENABLED  CreateTrackerResponseStatus
	DISABLED CreateTrackerResponseStatus
}

func GetCreateTrackerResponseStatusEnum

func GetCreateTrackerResponseStatusEnum() CreateTrackerResponseStatusEnum

type CreateTrackerResponseTrackerType

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

func (CreateTrackerResponseTrackerType) MarshalJSON

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

func (*CreateTrackerResponseTrackerType) UnmarshalJSON

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

type CreateTrackerResponseTrackerTypeEnum

type CreateTrackerResponseTrackerTypeEnum struct {
	SYSTEM CreateTrackerResponseTrackerType
	DATA   CreateTrackerResponseTrackerType
}

func GetCreateTrackerResponseTrackerTypeEnum

func GetCreateTrackerResponseTrackerTypeEnum() CreateTrackerResponseTrackerTypeEnum

type DataBucket

type DataBucket struct {
	DataBucketName *string `json:"data_bucket_name,omitempty"`

	DataEvent *[]DataBucketDataEvent `json:"data_event,omitempty"`
}

func (DataBucket) String

func (o DataBucket) String() string

type DataBucketDataEvent

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

func (DataBucketDataEvent) MarshalJSON

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

func (*DataBucketDataEvent) UnmarshalJSON

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

type DataBucketDataEventEnum

type DataBucketDataEventEnum struct {
	WRITE DataBucketDataEvent
	READ  DataBucketDataEvent
}

func GetDataBucketDataEventEnum

func GetDataBucketDataEventEnum() DataBucketDataEventEnum

type DataBucketQuery

type DataBucketQuery struct {
	DataBucketName *string `json:"data_bucket_name,omitempty"`

	SearchEnabled *bool `json:"search_enabled,omitempty"`

	DataEvent *[]DataBucketQueryDataEvent `json:"data_event,omitempty"`
}

追踪桶信息。

func (DataBucketQuery) String

func (o DataBucketQuery) String() string

type DataBucketQueryDataEvent

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

func (DataBucketQueryDataEvent) MarshalJSON

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

func (*DataBucketQueryDataEvent) UnmarshalJSON

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

type DataBucketQueryDataEventEnum

type DataBucketQueryDataEventEnum struct {
	WRITE DataBucketQueryDataEvent
	READ  DataBucketQueryDataEvent
}

func GetDataBucketQueryDataEventEnum

func GetDataBucketQueryDataEventEnum() DataBucketQueryDataEventEnum

type DeleteNotificationRequest added in v0.0.68

type DeleteNotificationRequest struct {
	NotificationId string `json:"notification_id"`
}

Request Object

func (DeleteNotificationRequest) String added in v0.0.68

func (o DeleteNotificationRequest) String() string

type DeleteNotificationResponse added in v0.0.68

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

Response Object

func (DeleteNotificationResponse) String added in v0.0.68

type DeleteTrackerRequest

type DeleteTrackerRequest struct {
	TrackerName *string `json:"tracker_name,omitempty"`

	TrackerType *DeleteTrackerRequestTrackerType `json:"tracker_type,omitempty"`
}

Request Object

func (DeleteTrackerRequest) String

func (o DeleteTrackerRequest) String() string

type DeleteTrackerRequestTrackerType

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

func (DeleteTrackerRequestTrackerType) MarshalJSON

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

func (*DeleteTrackerRequestTrackerType) UnmarshalJSON

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

type DeleteTrackerRequestTrackerTypeEnum

type DeleteTrackerRequestTrackerTypeEnum struct {
	DATA DeleteTrackerRequestTrackerType
}

func GetDeleteTrackerRequestTrackerTypeEnum

func GetDeleteTrackerRequestTrackerTypeEnum() DeleteTrackerRequestTrackerTypeEnum

type DeleteTrackerResponse

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

Response Object

func (DeleteTrackerResponse) String

func (o DeleteTrackerResponse) String() string

type ListNotificationsRequest added in v0.0.68

type ListNotificationsRequest struct {
	NotificationType ListNotificationsRequestNotificationType `json:"notification_type"`

	NotificationName *string `json:"notification_name,omitempty"`
}

Request Object

func (ListNotificationsRequest) String added in v0.0.68

func (o ListNotificationsRequest) String() string

type ListNotificationsRequestNotificationType added in v0.0.68

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

func (ListNotificationsRequestNotificationType) MarshalJSON added in v0.0.68

func (*ListNotificationsRequestNotificationType) UnmarshalJSON added in v0.0.68

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

type ListNotificationsRequestNotificationTypeEnum added in v0.0.68

type ListNotificationsRequestNotificationTypeEnum struct {
	SMN ListNotificationsRequestNotificationType
	FUN ListNotificationsRequestNotificationType
}

func GetListNotificationsRequestNotificationTypeEnum added in v0.0.68

func GetListNotificationsRequestNotificationTypeEnum() ListNotificationsRequestNotificationTypeEnum

type ListNotificationsResponse added in v0.0.68

type ListNotificationsResponse struct {
	Notifications  *[]NotificationsResponseBody `json:"notifications,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ListNotificationsResponse) String added in v0.0.68

func (o ListNotificationsResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {
	Resources      *[]Quota `json:"resources,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListTracesRequest

type ListTracesRequest struct {
	TraceType ListTracesRequestTraceType `json:"trace_type"`

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

	From *int64 `json:"from,omitempty"`

	Next *string `json:"next,omitempty"`

	To *int64 `json:"to,omitempty"`

	TrackerName *string `json:"tracker_name,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	User *string `json:"user,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	TraceId *string `json:"trace_id,omitempty"`

	TraceName *string `json:"trace_name,omitempty"`

	TraceRating *ListTracesRequestTraceRating `json:"trace_rating,omitempty"`
}

Request Object

func (ListTracesRequest) String

func (o ListTracesRequest) String() string

type ListTracesRequestTraceRating

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

func (ListTracesRequestTraceRating) MarshalJSON

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

func (*ListTracesRequestTraceRating) UnmarshalJSON

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

type ListTracesRequestTraceRatingEnum

type ListTracesRequestTraceRatingEnum struct {
	NORMAL   ListTracesRequestTraceRating
	WARNING  ListTracesRequestTraceRating
	INCIDENT ListTracesRequestTraceRating
}

func GetListTracesRequestTraceRatingEnum

func GetListTracesRequestTraceRatingEnum() ListTracesRequestTraceRatingEnum

type ListTracesRequestTraceType

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

func (ListTracesRequestTraceType) MarshalJSON

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

func (*ListTracesRequestTraceType) UnmarshalJSON

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

type ListTracesRequestTraceTypeEnum

type ListTracesRequestTraceTypeEnum struct {
	SYSTEM ListTracesRequestTraceType
	DATA   ListTracesRequestTraceType
}

func GetListTracesRequestTraceTypeEnum

func GetListTracesRequestTraceTypeEnum() ListTracesRequestTraceTypeEnum

type ListTracesResponse

type ListTracesResponse struct {
	Traces *[]Traces `json:"traces,omitempty"`

	MetaData       *MetaData `json:"meta_data,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTracesResponse) String

func (o ListTracesResponse) String() string

type ListTrackersRequest

type ListTrackersRequest struct {
	TrackerName *string `json:"tracker_name,omitempty"`

	TrackerType *ListTrackersRequestTrackerType `json:"tracker_type,omitempty"`
}

Request Object

func (ListTrackersRequest) String

func (o ListTrackersRequest) String() string

type ListTrackersRequestTrackerType

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

func (ListTrackersRequestTrackerType) MarshalJSON

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

func (*ListTrackersRequestTrackerType) UnmarshalJSON

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

type ListTrackersRequestTrackerTypeEnum

type ListTrackersRequestTrackerTypeEnum struct {
	SYSTEM ListTrackersRequestTrackerType
	DATA   ListTrackersRequestTrackerType
}

func GetListTrackersRequestTrackerTypeEnum

func GetListTrackersRequestTrackerTypeEnum() ListTrackersRequestTrackerTypeEnum

type ListTrackersResponse

type ListTrackersResponse struct {
	Trackers       *[]TrackerResponseBody `json:"trackers,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListTrackersResponse) String

func (o ListTrackersResponse) String() string

type Lts

type Lts struct {
	IsLtsEnabled *bool `json:"is_lts_enabled,omitempty"`

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

	LogTopicName *string `json:"log_topic_name,omitempty"`
}

云日志服务配置

func (Lts) String

func (o Lts) String() string

type MetaData

type MetaData struct {
	Count *int32 `json:"count,omitempty"`

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

标识为扩展字段,包括count(当前响应中事件记录的个数)和marker(本次查询返回事件列表最后一个事件ID)。

func (MetaData) String

func (o MetaData) String() string

type NotificationUsers added in v0.0.68

type NotificationUsers struct {
	UserGroup string `json:"user_group"`

	UserList []string `json:"user_list"`
}

通知用户列表。

func (NotificationUsers) String added in v0.0.68

func (o NotificationUsers) String() string

type NotificationsResponseBody added in v0.0.68

type NotificationsResponseBody struct {
	NotificationName *string `json:"notification_name,omitempty"`

	OperationType *NotificationsResponseBodyOperationType `json:"operation_type,omitempty"`

	Operations *[]Operations `json:"operations,omitempty"`

	NotifyUserList *[]NotificationUsers `json:"notify_user_list,omitempty"`

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

	TopicId *string `json:"topic_id,omitempty"`

	NotificationId *string `json:"notification_id,omitempty"`

	NotificationType *NotificationsResponseBodyNotificationType `json:"notification_type,omitempty"`

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

	CreateTime *int64 `json:"create_time,omitempty"`
}

func (NotificationsResponseBody) String added in v0.0.68

func (o NotificationsResponseBody) String() string

type NotificationsResponseBodyNotificationType added in v0.0.68

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

func (NotificationsResponseBodyNotificationType) MarshalJSON added in v0.0.68

func (*NotificationsResponseBodyNotificationType) UnmarshalJSON added in v0.0.68

type NotificationsResponseBodyNotificationTypeEnum added in v0.0.68

type NotificationsResponseBodyNotificationTypeEnum struct {
	SMN NotificationsResponseBodyNotificationType
	FUN NotificationsResponseBodyNotificationType
}

func GetNotificationsResponseBodyNotificationTypeEnum added in v0.0.68

func GetNotificationsResponseBodyNotificationTypeEnum() NotificationsResponseBodyNotificationTypeEnum

type NotificationsResponseBodyOperationType added in v0.0.68

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

func (NotificationsResponseBodyOperationType) MarshalJSON added in v0.0.68

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

func (*NotificationsResponseBodyOperationType) UnmarshalJSON added in v0.0.68

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

type NotificationsResponseBodyOperationTypeEnum added in v0.0.68

type NotificationsResponseBodyOperationTypeEnum struct {
	CUSTOMIZED NotificationsResponseBodyOperationType
	COMPLETE   NotificationsResponseBodyOperationType
}

func GetNotificationsResponseBodyOperationTypeEnum added in v0.0.68

func GetNotificationsResponseBodyOperationTypeEnum() NotificationsResponseBodyOperationTypeEnum

type NotificationsResponseBodyStatus added in v0.0.68

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

func (NotificationsResponseBodyStatus) MarshalJSON added in v0.0.68

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

func (*NotificationsResponseBodyStatus) UnmarshalJSON added in v0.0.68

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

type NotificationsResponseBodyStatusEnum added in v0.0.68

type NotificationsResponseBodyStatusEnum struct {
	ENABLED  NotificationsResponseBodyStatus
	DISABLED NotificationsResponseBodyStatus
}

func GetNotificationsResponseBodyStatusEnum added in v0.0.68

func GetNotificationsResponseBodyStatusEnum() NotificationsResponseBodyStatusEnum

type ObsInfo

type ObsInfo struct {
	BucketName *string `json:"bucket_name,omitempty"`

	FilePrefixName *string `json:"file_prefix_name,omitempty"`

	IsObsCreated *bool `json:"is_obs_created,omitempty"`

	IsAuthorizedBucket *bool `json:"is_authorized_bucket,omitempty"`

	BucketLifecycle *int64 `json:"bucket_lifecycle,omitempty"`
}

转储桶信息。

func (ObsInfo) String

func (o ObsInfo) String() string

type Operations added in v0.0.68

type Operations struct {
	ServiceType string `json:"service_type"`

	ResourceType string `json:"resource_type"`

	TraceNames []string `json:"trace_names"`
}

操作事件列表,目前最多支持对100服务的1000个关键操作进行配置。

func (Operations) String added in v0.0.68

func (o Operations) String() string

type Quota

type Quota struct {
	Type *string `json:"type,omitempty"`

	Used *int64 `json:"used,omitempty"`

	Quota *int64 `json:"quota,omitempty"`
}

func (Quota) String

func (o Quota) String() string

type Traces

type Traces struct {
	ResourceId *string `json:"resource_id,omitempty"`

	TraceName *string `json:"trace_name,omitempty"`

	TraceRating *TracesTraceRating `json:"trace_rating,omitempty"`

	TraceType *string `json:"trace_type,omitempty"`

	Request *string `json:"request,omitempty"`

	Response *string `json:"response,omitempty"`

	Code *string `json:"code,omitempty"`

	ApiVersion *string `json:"api_version,omitempty"`

	Message *string `json:"message,omitempty"`

	RecordTime *int64 `json:"record_time,omitempty"`

	TraceId *string `json:"trace_id,omitempty"`

	Time *int64 `json:"time,omitempty"`

	User *UserInfo `json:"user,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	SourceIp *string `json:"source_ip,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	RequestId *string `json:"request_id,omitempty"`

	LocationInfo *string `json:"location_info,omitempty"`

	Endpoint *string `json:"endpoint,omitempty"`

	ResourceUrl *string `json:"resource_url,omitempty"`
}

func (Traces) String

func (o Traces) String() string

type TracesTraceRating

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

func (TracesTraceRating) MarshalJSON

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

func (*TracesTraceRating) UnmarshalJSON

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

type TracesTraceRatingEnum

type TracesTraceRatingEnum struct {
	NORMAL   TracesTraceRating
	WARNING  TracesTraceRating
	INCIDENT TracesTraceRating
}

func GetTracesTraceRatingEnum

func GetTracesTraceRatingEnum() TracesTraceRatingEnum

type TrackerObsInfo

type TrackerObsInfo struct {
	BucketName *string `json:"bucket_name,omitempty"`

	FilePrefixName *string `json:"file_prefix_name,omitempty"`

	IsObsCreated *bool `json:"is_obs_created,omitempty"`

	BucketLifecycle *int32 `json:"bucket_lifecycle,omitempty"`
}

转储桶信息。

func (TrackerObsInfo) String

func (o TrackerObsInfo) String() string

type TrackerResponseBody

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

	CreateTime *int64 `json:"create_time,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	Lts *Lts `json:"lts,omitempty"`

	TrackerType *TrackerResponseBodyTrackerType `json:"tracker_type,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

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

	TrackerName *string `json:"tracker_name,omitempty"`

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

	Detail *string `json:"detail,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	ObsInfo *ObsInfo `json:"obs_info,omitempty"`

	DataBucket *DataBucketQuery `json:"data_bucket,omitempty"`
}

func (TrackerResponseBody) String

func (o TrackerResponseBody) String() string

type TrackerResponseBodyStatus

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

func (TrackerResponseBodyStatus) MarshalJSON

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

func (*TrackerResponseBodyStatus) UnmarshalJSON

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

type TrackerResponseBodyStatusEnum

type TrackerResponseBodyStatusEnum struct {
	ENABLED  TrackerResponseBodyStatus
	DISABLED TrackerResponseBodyStatus
}

func GetTrackerResponseBodyStatusEnum

func GetTrackerResponseBodyStatusEnum() TrackerResponseBodyStatusEnum

type TrackerResponseBodyTrackerType

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

func (TrackerResponseBodyTrackerType) MarshalJSON

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

func (*TrackerResponseBodyTrackerType) UnmarshalJSON

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

type TrackerResponseBodyTrackerTypeEnum

type TrackerResponseBodyTrackerTypeEnum struct {
	SYSTEM TrackerResponseBodyTrackerType
	DATA   TrackerResponseBodyTrackerType
}

func GetTrackerResponseBodyTrackerTypeEnum

func GetTrackerResponseBodyTrackerTypeEnum() TrackerResponseBodyTrackerTypeEnum

type UpdateNotificationRequest added in v0.0.68

type UpdateNotificationRequest struct {
	Body *UpdateNotificationRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateNotificationRequest) String added in v0.0.68

func (o UpdateNotificationRequest) String() string

type UpdateNotificationRequestBody added in v0.0.68

type UpdateNotificationRequestBody struct {
	NotificationName string `json:"notification_name"`

	OperationType UpdateNotificationRequestBodyOperationType `json:"operation_type"`

	Operations *[]Operations `json:"operations,omitempty"`

	NotifyUserList *[]NotificationUsers `json:"notify_user_list,omitempty"`

	Status UpdateNotificationRequestBodyStatus `json:"status"`

	TopicId *string `json:"topic_id,omitempty"`

	NotificationId string `json:"notification_id"`
}

修改关键操作通知规则的请求体。

func (UpdateNotificationRequestBody) String added in v0.0.68

type UpdateNotificationRequestBodyOperationType added in v0.0.68

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

func (UpdateNotificationRequestBodyOperationType) MarshalJSON added in v0.0.68

func (*UpdateNotificationRequestBodyOperationType) UnmarshalJSON added in v0.0.68

type UpdateNotificationRequestBodyOperationTypeEnum added in v0.0.68

type UpdateNotificationRequestBodyOperationTypeEnum struct {
	CUSTOMIZED UpdateNotificationRequestBodyOperationType
	COMPLETE   UpdateNotificationRequestBodyOperationType
}

func GetUpdateNotificationRequestBodyOperationTypeEnum added in v0.0.68

func GetUpdateNotificationRequestBodyOperationTypeEnum() UpdateNotificationRequestBodyOperationTypeEnum

type UpdateNotificationRequestBodyStatus added in v0.0.68

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

func (UpdateNotificationRequestBodyStatus) MarshalJSON added in v0.0.68

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

func (*UpdateNotificationRequestBodyStatus) UnmarshalJSON added in v0.0.68

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

type UpdateNotificationRequestBodyStatusEnum added in v0.0.68

type UpdateNotificationRequestBodyStatusEnum struct {
	ENABLED  UpdateNotificationRequestBodyStatus
	DISABLED UpdateNotificationRequestBodyStatus
}

func GetUpdateNotificationRequestBodyStatusEnum added in v0.0.68

func GetUpdateNotificationRequestBodyStatusEnum() UpdateNotificationRequestBodyStatusEnum

type UpdateNotificationResponse added in v0.0.68

type UpdateNotificationResponse struct {
	NotificationName *string `json:"notification_name,omitempty"`

	OperationType *UpdateNotificationResponseOperationType `json:"operation_type,omitempty"`

	Operations *[]Operations `json:"operations,omitempty"`

	NotifyUserList *[]NotificationUsers `json:"notify_user_list,omitempty"`

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

	TopicId *string `json:"topic_id,omitempty"`

	NotificationId *string `json:"notification_id,omitempty"`

	NotificationType *UpdateNotificationResponseNotificationType `json:"notification_type,omitempty"`

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

	CreateTime     *int64 `json:"create_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateNotificationResponse) String added in v0.0.68

type UpdateNotificationResponseNotificationType added in v0.0.68

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

func (UpdateNotificationResponseNotificationType) MarshalJSON added in v0.0.68

func (*UpdateNotificationResponseNotificationType) UnmarshalJSON added in v0.0.68

type UpdateNotificationResponseNotificationTypeEnum added in v0.0.68

type UpdateNotificationResponseNotificationTypeEnum struct {
	SMN UpdateNotificationResponseNotificationType
	FUN UpdateNotificationResponseNotificationType
}

func GetUpdateNotificationResponseNotificationTypeEnum added in v0.0.68

func GetUpdateNotificationResponseNotificationTypeEnum() UpdateNotificationResponseNotificationTypeEnum

type UpdateNotificationResponseOperationType added in v0.0.68

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

func (UpdateNotificationResponseOperationType) MarshalJSON added in v0.0.68

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

func (*UpdateNotificationResponseOperationType) UnmarshalJSON added in v0.0.68

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

type UpdateNotificationResponseOperationTypeEnum added in v0.0.68

type UpdateNotificationResponseOperationTypeEnum struct {
	CUSTOMIZED UpdateNotificationResponseOperationType
	COMPLETE   UpdateNotificationResponseOperationType
}

func GetUpdateNotificationResponseOperationTypeEnum added in v0.0.68

func GetUpdateNotificationResponseOperationTypeEnum() UpdateNotificationResponseOperationTypeEnum

type UpdateNotificationResponseStatus added in v0.0.68

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

func (UpdateNotificationResponseStatus) MarshalJSON added in v0.0.68

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

func (*UpdateNotificationResponseStatus) UnmarshalJSON added in v0.0.68

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

type UpdateNotificationResponseStatusEnum added in v0.0.68

type UpdateNotificationResponseStatusEnum struct {
	ENABLED  UpdateNotificationResponseStatus
	DISABLED UpdateNotificationResponseStatus
}

func GetUpdateNotificationResponseStatusEnum added in v0.0.68

func GetUpdateNotificationResponseStatusEnum() UpdateNotificationResponseStatusEnum

type UpdateTrackerRequest

type UpdateTrackerRequest struct {
	Body *UpdateTrackerRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTrackerRequest) String

func (o UpdateTrackerRequest) String() string

type UpdateTrackerRequestBody

type UpdateTrackerRequestBody struct {
	TrackerType UpdateTrackerRequestBodyTrackerType `json:"tracker_type"`

	TrackerName string `json:"tracker_name"`

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

	IsLtsEnabled *bool `json:"is_lts_enabled,omitempty"`

	ObsInfo *TrackerObsInfo `json:"obs_info,omitempty"`

	IsSupportTraceFilesEncryption *bool `json:"is_support_trace_files_encryption,omitempty"`

	KmsId *string `json:"kms_id,omitempty"`

	IsSupportValidate *bool `json:"is_support_validate,omitempty"`

	DataBucket *DataBucket `json:"data_bucket,omitempty"`
}

func (UpdateTrackerRequestBody) String

func (o UpdateTrackerRequestBody) String() string

type UpdateTrackerRequestBodyStatus

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

func (UpdateTrackerRequestBodyStatus) MarshalJSON

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

func (*UpdateTrackerRequestBodyStatus) UnmarshalJSON

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

type UpdateTrackerRequestBodyStatusEnum

type UpdateTrackerRequestBodyStatusEnum struct {
	ENABLED  UpdateTrackerRequestBodyStatus
	DISABLED UpdateTrackerRequestBodyStatus
}

func GetUpdateTrackerRequestBodyStatusEnum

func GetUpdateTrackerRequestBodyStatusEnum() UpdateTrackerRequestBodyStatusEnum

type UpdateTrackerRequestBodyTrackerType

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

func (UpdateTrackerRequestBodyTrackerType) MarshalJSON

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

func (*UpdateTrackerRequestBodyTrackerType) UnmarshalJSON

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

type UpdateTrackerRequestBodyTrackerTypeEnum

type UpdateTrackerRequestBodyTrackerTypeEnum struct {
	SYSTEM UpdateTrackerRequestBodyTrackerType
	DATA   UpdateTrackerRequestBodyTrackerType
}

func GetUpdateTrackerRequestBodyTrackerTypeEnum

func GetUpdateTrackerRequestBodyTrackerTypeEnum() UpdateTrackerRequestBodyTrackerTypeEnum

type UpdateTrackerResponse

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

Response Object

func (UpdateTrackerResponse) String

func (o UpdateTrackerResponse) String() string

type UserInfo

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

	Name *string `json:"name,omitempty"`

	Domain *BaseUser `json:"domain,omitempty"`
}

用户信息。

func (UserInfo) String

func (o UserInfo) String() string

Jump to

Keyboard shortcuts

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